/*
Theme Name: Storefront Child
Theme URI: https://yourwebsite.com
Description: Child theme for Storefront
Author: Your Name
Author URI: https://yourwebsite.com
Template: storefront
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: storefront-child
*/

/* Add your custom styles here */

.header-section {
    margin-top: 40px;
    margin-bottom: 40px;
    text-align: left;
    background: #fff;
    font-family: 'Avenir Next', Avenir, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    width: 100%;
    padding-left: 80px;
    padding-right: 80px;
}
.header-section p {
    font-family: 'Avenir Next', Avenir, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    font-size: 28px;
    color: #000;
    margin-bottom: 0.7em;
    line-height: 1.2;
}

.header-section .no-space-after {
    margin-bottom: 0;
}

.header-section .bold-text {
    font-weight: bold;
    font-size: 34px;
    color: #000;
    margin-top: 0.7em;
    font-family: 'Avenir Next', Avenir, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
}

/* Hide all default WordPress and WooCommerce elements */
.site-header, header, .page-header, .site-info, .site-footer, .footer, .storefront-handheld-footer-bar {
    display: none !important;
}

.woocommerce-message,
.woocommerce-error,
.woocommerce-info,
.woocommerce-notices-wrapper {
    display: none !important;
}
/* Hide product image in checkout order summary */
.woocommerce-checkout-review-order-table .product-thumbnail,
.woocommerce-checkout-review-order-table img,
.woocommerce-checkout-review-order-table .product-thumbnail img {
    display: none !important;
}

/* Hide stock message */
.woocommerce-checkout-review-order-table .product-quantity,
.woocommerce-checkout-review-order-table .stock,
.woocommerce-checkout-review-order-table .in-stock,
.woocommerce-checkout-review-order-table .out-of-stock,
.woocommerce-checkout-review-order-table .backorder_notification,
.woocommerce-checkout-review-order-table .product-availability {
    display: none !important;
}

/* Hide duplicate product name if present (may need adjustment based on theme) */
.woocommerce-checkout-review-order-table .product-name {
    /* If you want to hide all product names, uncomment the next line: */
    /* display: none !important; */
}

/* Hide SKU if shown */
.woocommerce-checkout-review-order-table .product-sku {
    display: none !important;
}
.wc-block-components-product-badge,
.wc-block-components-product-low-stock-badge {
    display: none !important;
}
.wc-block-components-order-summary-item__quantity {
    display: none !important;
}
.wc-block-components-product-name {
    /* display: none !important; */
}
img[alt=""] {
    display: none !important;
}
.wc-block-components-order-summary-item__total-price {
    display: none !important;
}
.wc-block-components-totals-coupon {
    display: none !important;
}
/* Add a label to the first payment method radio button if missing */
.wc-block-components-payment-method-options > div:first-child label::before {
    content: "PayPal";
    display: inline-block;
    font-weight: bold;
    margin-right: 8px;
    color: #222;
}
/* Insert "PayPal" label if missing */
#radio-control-wc-payment-method-options-yith_paypal_payments + .wc-block-components-radio-control__option-layout .wc-block-components-payment-method-label:empty::before {
    content: "PayPal";
    font-weight: bold;
    color: #222;
}
.wc-block-checkout__add-note {
    display: none !important;
}
/* Hide broken credit card icons on checkout */
label[for="payment_method_yith_paypal_payments_custom_card"] img {
    display: none !important;
}
/* Remove background, border, and shadow from product boxes */
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product,
.woocommerce .products .product,
.woocommerce-page .products .product {
    background: none !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    border-radius: 0 !important;
}

/* Remove padding from main container if present */
.site-main, .content-area, .col-full {
    padding-left: 0 !important;
    margin-left: 0 !important;
}
/* Remove padding/margin from parent containers */
#primary.content-area,
.site-main,
.woocommerce .site-main,
.woocommerce-page .site-main {
    padding-left: 0 !important;
    margin-left: 0 !important;
    max-width: 100% !important;
}
/* Align WooCommerce product grid with header-section and keep gap */

.col-full,
#primary.content-area,
.site-main {
    margin-left: 0 !important;
    margin-right: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
}
/* Make WooCommerce product grid narrow and left-aligned under header */
.woocommerce ul.products {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding-left: 80px !important; /* aligns with header-section */
    margin-left: 0 !important;
    margin-right: 0 !important;
    max-width: 700px; /* adjust this width to match your header-section's text block if needed */
    width: auto !important;
    box-sizing: border-box;
    align-items: flex-start !important;
}

.woocommerce ul.products li.product {
    text-align: left !important;
    margin-left: 0 !important;
}
.top-sticky-bar {
  position: sticky;
  top: 0;
  width: 100%;
  height: 200px;
  background: #000;
  display: flex;
  flex-direction: row;
  padding: 20px;
  z-index: 1000;
}
.instagram-link {
    align-self: flex-end;
    margin-right: auto;
}
.instagram-icon {
    width: 30px;
    height: 30px;
    object-fit: contain;
}

.tagline {
    font-family: "Avenir Next", Avenir, "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 50px;
    color: white;
    font-weight: normal;
    margin-left: 200px;
    margin-right: 1px;
    margin-top: 100px;
    margin-bottom: 10px;
}

@media (max-width: 600px) {
  .top-sticky-bar {
    flex-direction: column;
    align-items: stretch;
    height: 120px; /* Much smaller height */
    padding: 10px 15px; /* Reduced padding */
  }
  
  .tagline {
    font-size: 35px !important; /* Much smaller text */
    margin-top: 20px !important; /* Remove the large top margin */
    margin-bottom: 0 !important; /* Remove bottom margin */
    margin-left: 0 !important; /* Reset left margin */
    margin-right: 0 !important; /* Reset right margin */
  }
  
  .instagram-icon {
    width: 20px !important; /* Smaller icon */
    height: 20px !important;
  }
}

/* Intermediate size - between mobile and desktop */
@media (min-width: 601px) and (max-width: 700px) {
  .top-sticky-bar {
    height: 200px !important; /* match desktop height */
    align-items: flex-end !important; /* Align items to bottom */
  }
  
  .tagline {
    font-size: 40px !important; /* Smaller text to fit */
    margin-top: 0 !important; /* Remove margin, let flexbox handle positioning */
    margin-bottom: 0px !important; /* Small bottom margin for spacing */
  }
  
  .instagram-link {
    align-self: flex-end !important; /* Align to bottom */
    margin-bottom: 20px !important; /* Match tagline's bottom margin */
  }
  
  .instagram-icon {
    width: 25px !important; /* Slightly smaller icon */
    height: 25px !important;
  }
}
.faq-section {
  background: none;
  padding: 0;
  font-family: 'Avenir Next', Avenir, 'Segoe UI', Arial, sans-serif;
  color: #000;
}

.faq-title {
  font-family: 'Avenir Next', Avenir, 'Segoe UI', Arial, sans-serif;
  font-weight: bold;
  font-size: 16pt;
  margin-bottom: 28px;
  letter-spacing: 1px;
}

.faq-question {
  display: flex;
  align-items: center;
  width: 100%;
  background: none;
  color: #000;
  cursor: pointer;
  padding: 0;
  margin: 0 0 10px 0;
  border: none;
  outline: none;
  font-size: 14pt;
  font-family: 'Avenir Next', Avenir, 'Segoe UI', Arial, sans-serif;
  font-weight: bold;
  text-align: left;
  transition: background 0.2s;
}

.faq-toggle {
  display: inline-block;
  width: 32px;
  font-size: 14pt;
  font-weight: normal;
  margin-right: 8px;
  color: #000;
  text-align: center;
}

.faq-answer {
  display: none;
  color: #000;
  background: none;
  font-size: 14pt;
  font-family: 'Avenir Next', Avenir, 'Segoe UI', Arial, sans-serif;
  font-weight: normal;
  text-align: justify;
  margin: 0 0 24px 40px;
  padding: 0;
  border: none;
}

.faq-question.active + .faq-answer {
  display: block;
}

/* Remove any box, border, or background from FAQ area */
.faq-sticky, .faq-section, .faq-answer, .faq-question {
  background: none !important;
  border: none !important;
  box-shadow: none !important;
}
.main-content-grid {
  display: grid;
  grid-template-columns: 400px 400px;
  gap: 10px;
  max-width: 1400px;
  margin: 0 auto;
  padding-left: 0;
  padding-right: 20px; /* keep right padding as you prefer */
  box-sizing: border-box;
}

.faq-sticky {
  min-width: 280px;
  max-width: 400px;
  position: sticky;
  top: 220px;
  align-self: flex-start;
  z-index: 900;
}

/* Mobile: FAQ stacks ABOVE numbers on mobile */
@media (max-width: 600px) {
  .main-content-grid {
    display: flex !important;
    flex-direction: column-reverse !important;
    gap: 2px !important; /* Controls spacing between FAQ and products */
    padding: 0 10px !important;
  }
  .faq-sticky {
    position: static !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin-top: 0 !important;
    display: none !important; /* Hide FAQ on mobile initially */
  }
  
.mobile-inline-faq {
  display: block !important; /* Show FAQ on mobile */
  margin: 0 !important; /* Remove conflicting margin */
}
  
  .woocommerce ul.products {
    margin-top: 0 !important; /* Remove margin-top, let gap handle spacing */
    padding: 5px 10px !important; /* Adjust padding for mobile */
  }
  
 /* Adjust header-section (ad copy) for mobile */
.header-section {
  padding-left: 20px !important;
  padding-right: 20px !important;
  text-align: left !important;
}
  .header-section p {
    font-size: 20px !important;
  }
  .header-section .bold-text {
    font-size: 24px !important;
  }
}

.faq-question:focus {
  outline: none !important;
  box-shadow: none !important;
}
/* Inline Expandable FAQ for Mobile */
.mobile-inline-faq {
  display: none;
  margin: 20px 0;
  padding: 0 20px;
  font-family: 'Avenir Next', Avenir, 'Segoe UI', Arial, sans-serif;
}

.mobile-faq-trigger {
  display: flex;
  align-items: center;
  cursor: pointer;
  font-size: 18px;
  font-weight: bold;
  color: #000;
  margin-bottom: 15px;
}

.mobile-faq-trigger .plus-sign {
  margin-left: 8px;
  font-size: 20px;
  transition: transform 0.3s ease;
}

.mobile-faq-trigger.expanded .plus-sign {
  transform: rotate(45deg);
}

.mobile-faq-content {
  display: none;
  margin-top: 15px;
}

.mobile-faq-content.show {
  display: block;
}

/* Make mobile FAQ trigger bigger */
@media (max-width: 600px) {
  .mobile-faq-trigger {
    font-size: 22px !important;
    font-weight: bold !important;
    padding: 12px 0 !important;
  }
  
  .mobile-faq-trigger .plus-sign {
    font-size: 24px !important;
    margin-left: 12px !important;
  }
}
  /* Hide FAQ title on mobile since we have the FAQ+ button */
  .mobile-inline-faq .faq-title {
    display: none !important;
  }
/* Hide FAQ answers by default */
.mobile-inline-faq .faq-answer {
    display: none;
}
/* WooCommerce Product Styling - Moved from functions.php */

/* Hide all WooCommerce default elements */
.woocommerce ul.products li.product .woocommerce-LoopProduct-link,
.woocommerce ul.products li.product .woocommerce-product-gallery,
.woocommerce ul.products li.product .woocommerce-product-gallery__wrapper,
.woocommerce ul.products li.product .woocommerce-product-gallery__image,
.woocommerce ul.products li.product .woocommerce-product-gallery__image-link,
.woocommerce ul.products li.product .woocommerce-product-gallery__image-wrapper,
.woocommerce ul.products li.product .woocommerce-placeholder,
.woocommerce ul.products li.product .price,
.woocommerce ul.products li.product .woocommerce-Price-amount,
.woocommerce ul.products li.product .woocommerce-Price-currencySymbol,
.woocommerce ul.products li.product .woocommerce-Price-currencySymbol::before,
.woocommerce ul.products li.product .woocommerce-Price-currencySymbol::after,
.woocommerce ul.products li.product .stock,
.woocommerce ul.products li.product .availability,
.woocommerce ul.products li.product .product-type,
.woocommerce ul.products li.product .category,
.woocommerce ul.products li.product .tag {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
}

/* Style for many products */
.woocommerce ul.products {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 20px;
    max-width: 100%;
    margin: 0 auto;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.woocommerce ul.products li.product {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    padding: 20px;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.2s;
}

.woocommerce ul.products li.product:hover {
    transform: translateY(-2px);
}

/* Style for product number */
.woocommerce ul.products li.product .product-number {
    font-size: 40px !important;
    font-weight: bold;
    margin: 0 6px 0 0 !important;
    color: #333;
    display: inline-block !important;
    vertical-align: middle;
    text-align: right;
    width: 100px;
    min-width: 100px;
}

/* Style for buy button */
.woocommerce ul.products li.product .button.add_to_cart_button,
.woocommerce .single-product .button.single_add_to_cart_button {
    background-color: #000;
    color: white;
    text-transform: uppercase;
    font-weight: bold;
    padding: 6px 16px !important;
    border-radius: 4px;
    transition: background-color 0.3s;
    width: auto !important;
    min-width: 0 !important;
    margin: 0 !important;
    display: inline-block !important;
    text-align: center;
    font-size: 1em;
    vertical-align: middle;
}

.woocommerce ul.products li.product .button.add_to_cart_button:hover,
.woocommerce .single-product .button.single_add_to_cart_button:hover {
    background-color: #333;
}
/* Mobile Checkout Optimization */
@media (max-width: 600px) {
    /* Make checkout form mobile-friendly */
    .woocommerce-checkout {
        padding: 0 15px !important;
    }
    
    /* Make all form fields full width on mobile */
    .woocommerce-checkout input[type="text"],
    .woocommerce-checkout input[type="email"],
    .woocommerce-checkout input[type="tel"],
    .woocommerce-checkout input[type="password"],
    .woocommerce-checkout select,
    .woocommerce-checkout textarea {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        font-size: 16px !important; /* Prevents zoom on iOS */
    }
    
    /* Fix form row spacing on mobile */
    .form-row {
        margin-bottom: 15px !important;
    }
    
    /* Make buttons touch-friendly */
    .woocommerce-checkout button {
        width: 100% !important;
        height: 44px !important; /* Minimum touch target size */
        font-size: 16px !important;
    }
    
    /* Adjust checkout container padding */
    .woocommerce-checkout .col2-set,
    .woocommerce-checkout .woocommerce-checkout-review-order {
        padding: 0 !important;
    }
}
/* Hide checkout navigation icons */
.woocommerce-checkout .woocommerce-breadcrumb,
.woocommerce-checkout .woocommerce-breadcrumb a,
.woocommerce-checkout .woocommerce-breadcrumb span,
.woocommerce-checkout .woocommerce-breadcrumb .delimiter {
    display: none !important;
}

/* Also hide any other checkout navigation elements */
.woocommerce-checkout .woocommerce-checkout-header,
.woocommerce-checkout .checkout-header,
.woocommerce-checkout .breadcrumb {
    display: none !important;
}
/* Hide search bar */
.woocommerce-product-search,
.woocommerce .product-search,
.woocommerce-page .product-search,
.widget_product_search,
.widget_search,
.search-form,
form[role="search"],
input[type="search"],
.woocommerce-products-header .woocommerce-products-header__title + form,
.woocommerce-products-header form {
    display: none !important;
}
/* Add padding to checkout page content */
.woocommerce-checkout,
.woocommerce-page .woocommerce {
    padding-left: 20px;
    padding-right: 20px;
    max-width: 100%;
    box-sizing: border-box;
}

/* Ensure checkout form has proper spacing */
.woocommerce-checkout .col2-set,
.woocommerce-checkout #customer_details,
.woocommerce-checkout #order_review {
    padding-left: 15px;
    padding-right: 15px;
}

/* Mobile-specific padding (more generous on small screens) */
@media (max-width: 600px) {
    .woocommerce-checkout,
    .woocommerce-page .woocommerce {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .woocommerce-checkout .col2-set,
    .woocommerce-checkout #customer_details,
    .woocommerce-checkout #order_review {
        padding-left: 10px;
        padding-right: 10px;
    }
}
/* Ensure name options section is visible on mobile checkout */
@media (max-width: 600px) {
    /* Make sure the checkout form and all its sections are visible */
    .woocommerce-checkout form.woocommerce-checkout,
    .woocommerce-checkout #order_review,
    .woocommerce-checkout #customer_details {
        display: block !important;
        visibility: visible !important;
    }
    
    /* Ensure the name options section is visible and properly styled */
    .woocommerce-checkout h3,
    .woocommerce-checkout .woocommerce-checkout-review-order h3 {
        display: block !important;
        margin-top: 20px;
        margin-bottom: 15px;
        font-size: 18px;
    }
    
    /* Style the name options radio buttons and labels for mobile */
    .woocommerce-checkout label {
        display: block !important;
        margin-bottom: 10px;
        font-size: 16px;
        line-height: 1.5;
    }
    
    .woocommerce-checkout input[type="radio"] {
        margin-right: 8px;
        margin-top: 2px;
    }
    
    /* Ensure custom name input field is visible when selected */
    .woocommerce-checkout #numbergoose_custom_name {
        display: inline-block !important;
        width: calc(100% - 20px);
        max-width: 300px;
        margin-left: 10px;
        margin-top: 10px;
        padding: 8px;
        font-size: 16px;
    }
    
    /* Make sure the entire checkout form wrapper is visible */
    .woocommerce-checkout .col2-set {
        display: block !important;
    }
}
/* Constrain SOLD message to stay in right column when wrapping */
.sold-label {
    display: inline-block;
    max-width: 200px; /* Adjust this width as needed */
    vertical-align: middle;
    word-wrap: break-word;
    text-align: left; /* Text aligns left within its constrained box */
    line-height: 1.2; /* Tighter line height for wrapped lines */
    font-weight: normal !important; /* Add this line to remove bold */
}

/* Ensure product items use flexbox for proper layout */
.woocommerce ul.products li.product {
    display: flex;
    align-items: center; /* Center align vertically - keeps buttons/text aligned with numbers */
    gap: 12px;
}

/* Keep product number fixed width */
.woocommerce ul.products li.product .product-number {
    flex-shrink: 0; /* Don't shrink */
}

/* Make sold label and buy button container flexible */
.woocommerce ul.products li.product .sold-label,
.woocommerce ul.products li.product .button {
    flex-shrink: 0;
}
/* ========== CHECKOUT: Banner full width, content inset ========== */
/* Only on checkout page */
body.woocommerce-checkout .top-sticky-bar {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    box-sizing: border-box;
}

/* Keep checkout content (below banner) with horizontal padding so it doesn't run to edges */
body.woocommerce-checkout .woocommerce-checkout {
    padding-left: 24px;
    padding-right: 24px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
}
/* Checkout purchase header (below banner) */
.numbergoose-checkout-purchase-header {
    font-weight: bold;
    color: #000;
    margin: 1em 0;
    font-size: 1.75em;
    padding-left: 1.0em;
}
/* Display name box (checkout) – black border, heading, subhead, even spacing */
.numbergoose-display-name-box {
    border: 2px solid #000;
    padding: 1.25em 1.5em;
    margin: 1em 0;
    background: #fff;
}

.numbergoose-display-name-box-title {
    font-size: 1.25em;
    font-weight: bold;
    color: #000;
    margin: 0 0 0.35em 0;
}

.numbergoose-display-name-box-subhead {
    font-size: 0.9em;
    color: #555;
    margin: 0 0 1em 0;
    line-height: 1.4;
}

.numbergoose-display-name-options {
    display: flex;
    flex-direction: column;
    gap: 0.75em;
}

.numbergoose-radio-option {
    display: block;
    margin: 0;
    cursor: pointer;
}

.numbergoose-custom-name-wrapper {
    display: none;
    margin-top: 0.5em;
    margin-left: 0;
}

.numbergoose-custom-name-wrapper input {
    width: 100%;
    max-width: 280px;
    padding: 6px 8px;
}

.numbergoose-custom-name-hint {
    display: block;
    margin-top: 4px;
    color: #666;
    font-size: 12px;
}
/* Nudge "Your Number" heading slightly right */
#order_review_heading {
    padding-left: 1em;
}
/* Hide redundant "Pay via PayPal." text for PayPal option */
.woocommerce-checkout .payment_method_ppcp-gateway .payment_box {
    display: none !important;
}
.page-id-1042 .entry-content {
    padding-left: 60px;
    padding-right: 60px;
}
.page-id-1046 .entry-content {
    padding-left: 60px;
    padding-right: 60px;
}
.page-id-1039 .entry-content {
    padding-left: 60px;
    padding-right: 60px;
}