/*
Theme Name: Storefront Child - CampNameStickers
Template: storefront
Description: Child theme for CampNameStickers.com
Author: StickerHUB
Version: 1.2.0
*/

/* =====================
   PREVENT FORCED DARK MODE
   ===================== */
/* Tells browsers this site is light-only — prevents Chrome Android / Samsung Internet
   from auto-inverting colors when the user has system-wide dark mode enabled. */
:root {
    color-scheme: light only;
}

/* =====================
   SHARED STYLES
   ===================== */

/* Widen Storefront's default .col-full container (was ~66.5em / ~1064px) */
.col-full {
    max-width: 80em !important;
}

/* Override Storefront purple focus outline (#7f54b3) with subtle gray */
a:focus,
input:focus,
textarea:focus,
button:focus {
    outline: 2px solid #ccc;
}

/* Base typography + background */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    background-color: #f9fafb !important;
}

h1 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
}

/* Smaller H1 on product & cart pages */
.single-product h1,
.post-type-archive-product h1,
.tax-product_cat h1,
.tax-product_tag h1,
.woocommerce-cart h1,
.woocommerce-checkout h1 {
    font-size: 2.2em;
}

h2 {
    color: #333333;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
}

/* Clean button styles */
.button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
    border-radius: 4px;
    text-transform: none;
    font-weight: 600;
}

/* =====================
   SHOP LOOP - Product Cards
   ===================== */

/* Full-width layout for shop & category pages (sidebar already removed in PHP) */
.post-type-archive-product .col-full,
.tax-product_cat .col-full {
    max-width: 1200px !important;
}

.post-type-archive-product .content-area,
.tax-product_cat .content-area,
.woocommerce-cart .content-area,
.woocommerce-checkout .content-area {
    width: 100% !important;
    float: none !important;
    margin-right: 0 !important;
}

/* Product grid - wider cards, tighter gaps */
.woocommerce ul.products.columns-3 li.product {
    width: 30.66% !important;
    margin-right: 4% !important;
}

.woocommerce ul.products.columns-3 li.product:nth-child(3n) {
    margin-right: 0 !important;
}

/* Card container */
.woocommerce ul.products li.product {
    background: #fff;
    border-radius: 16px;
    border: 1px solid #e5e7eb;
    overflow: hidden;
    padding: 0;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.woocommerce ul.products li.product:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    border-color: #d1d5db;
}

/* Product image - full width, fixed height 250px, cover to fill */
.woocommerce ul.products li.product a img {
    margin: 0;
    border-radius: 16px 16px 0 0;
    width: 100%;
    height: 250px;
    object-fit: cover;
    object-position: center;
}

/* Card body - the inner <a> wrapping image through price */
.woocommerce ul.products li.product > a {
    flex: 1;
    display: flex;
    flex-direction: column;
    text-decoration: none;
}

/* Product title */
.woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #1f2937;
    padding: 16px 20px 0;
    margin: 0;
}

/* Descriptor line */
.sns-loop-descriptor {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.4;
    padding: 6px 20px 0;
    margin: 0;
}

/* Use-case chips */
.sns-loop-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 10px 20px 0;
}

.sns-loop-chip {
    display: inline-block;
    padding: 4px 12px;
    background: #ecfdf5;
    color: #065f46;
    font-size: 12px;
    font-weight: 600;
    border-radius: 20px;
    border: 1px solid #a7f3d0;
    line-height: 1.3;
}

/* Price line */
.sns-loop-price-line {
    padding: 12px 20px 0;
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0;
}

.sns-loop-price {
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: #1f2937;
}

.sns-loop-price .woocommerce-Price-amount {
    color: #1f2937;
}

.sns-loop-price-dot {
    font-size: 14px;
    color: #9ca3af;
    margin: 0 2px;
}

.sns-loop-price-note {
    font-size: 13px;
    color: #9ca3af;
    font-weight: 400;
}

/* Hide default WC price in loop (we use custom .sns-loop-price-line) */
.woocommerce ul.products li.product .price {
    display: none !important;
}

/* Custom sort bar */
.sns-sort-bar {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    margin-bottom: 20px;
}

.sns-sort-label {
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: #9ca3af;
}

.sns-sort-select {
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: #4b5563;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    padding: 6px 28px 6px 12px;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%239ca3af' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 10px;
    transition: border-color 0.2s ease;
}

.sns-sort-select:hover,
.sns-sort-select:focus {
    border-color: #d1d5db;
    outline: none;
}

/* Category filter tabs */
.sns-category-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 8px;
}

.sns-category-tab {
    display: inline-block;
    padding: 8px 20px;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #4b5563;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 24px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.sns-category-tab:hover {
    border-color: #10b981;
    color: #065f46;
    text-decoration: none;
}

.sns-category-tab--active {
    background: #10b981;
    color: #fff;
    border-color: #10b981;
}

.sns-category-tab--active:hover {
    background: #059669;
    color: #fff;
    border-color: #059669;
}

/* "Customize" CTA button */
.sns-loop-cta {
    display: block;
    margin: auto 20px 20px;
    padding: 12px 24px;
    background: #10b981;
    color: #fff;
    text-align: center;
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    font-weight: 600;
    border-radius: 8px;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
    margin-top: auto;
}

.sns-loop-cta:hover,
.sns-loop-cta:focus {
    background: #059669;
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
    text-decoration: none;
}

/* Shop loop responsive - tablet: switch to 2-column grid */
@media (max-width: 992px) {
    .woocommerce ul.products.columns-3 li.product {
        width: 48% !important;
        margin-right: 4% !important;
    }

    .woocommerce ul.products.columns-3 li.product:nth-child(3n) {
        margin-right: 4% !important;
    }

    .woocommerce ul.products.columns-3 li.product:nth-child(2n) {
        margin-right: 0 !important;
    }

    .woocommerce ul.products li.product .woocommerce-loop-product__title {
        font-size: 15px;
        padding: 14px 16px 0;
    }

    .sns-loop-descriptor {
        padding: 6px 16px 0;
        font-size: 13px;
    }

    .sns-loop-chips {
        padding: 8px 16px 0;
    }

    .sns-loop-price-line {
        padding: 10px 16px 0;
    }

    .sns-loop-cta {
        margin: 14px 16px 16px;
        margin-top: auto;
    }
}

/* Shop loop responsive - mobile: full-width single column */
@media (max-width: 768px) {
    .woocommerce ul.products.columns-3 li.product {
        width: 100% !important;
        margin-right: 0 !important;
    }

    /* Collapse sort to compact button-like element */
    .sns-sort-bar {
        justify-content: flex-start;
        margin-bottom: 16px;
    }

    .sns-sort-label {
        display: none;
    }

    .sns-sort-select {
        font-size: 12px;
        padding: 5px 24px 5px 10px;
    }

    .woocommerce ul.products li.product .woocommerce-loop-product__title {
        font-size: 16px;
        padding: 16px 16px 0;
    }

    .sns-loop-descriptor {
        font-size: 14px;
    }

    .sns-loop-chip {
        font-size: 12px;
        padding: 4px 10px;
    }

    .sns-loop-price-line {
        flex-direction: column;
        gap: 2px;
    }

    .sns-loop-cta {
        min-height: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 16px;
    }
}

/* Shop loop responsive - small mobile */
@media (max-width: 480px) {
    .sns-loop-chips {
        gap: 4px;
    }

    .sns-loop-chip {
        font-size: 11px;
        padding: 3px 8px;
    }
}

/* =====================
   HEADER - Logo & Menu Inline
   ===================== */

/* Full-width white header. No max-width on <header> so white background
   always reaches the viewport edges (avoids Storefront's overflow-x:hidden
   clipping box-shadow tricks). Inner content stays capped via padding that
   grows on ultra-wide screens: 40px at ≤1780px, scales up beyond that. */
#masthead.site-header {
    display: flex !important;
    align-items: center !important;
    padding: 15px max(40px, calc((100vw - 1700px) / 2)) !important;
    width: 100% !important;
    max-width: none !important;
    box-sizing: border-box !important;
    background: #fff !important;
}

/* Ensure nav wrapper inherits header white background
   (Storefront Customizer may inject its own background-color) */
.storefront-primary-navigation {
    background: transparent !important;
}

/* First col-full contains branding */
#masthead.site-header > .col-full {
    flex: 0 0 auto !important;
    padding: 0 !important;
    margin: 0 !important;
    width: auto !important;
    max-width: none !important;
}

#masthead .site-branding {
    margin: 0 !important;
    float: none !important;
    width: auto !important;
    padding-left: 0 !important;
}

/* Breadcrumbs — same content alignment as header */
.single-product .storefront-breadcrumb .col-full,
.storefront-breadcrumb .col-full {
    max-width: none !important;
    padding-left: max(40px, calc((100vw - 1700px) / 2)) !important;
    padding-right: max(40px, calc((100vw - 1700px) / 2)) !important;
}

.woocommerce-breadcrumb {
    text-align: left !important;
    margin: 0 !important;
}

#masthead .site-branding .logo,
#masthead .site-branding h1 {
    margin: 0 !important;
}

/* Navigation link styling */
#masthead .main-navigation ul.menu > li > a,
#masthead .main-navigation ul.nav-menu > li > a {
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: #1f2937;
    letter-spacing: 0.01em;
    padding: 10px 10px;
    white-space: nowrap;
    transition: color 0.2s ease;
}

#masthead .main-navigation ul.menu > li > a:hover,
#masthead .main-navigation ul.nav-menu > li > a:hover,
#masthead .main-navigation ul.menu > li > a:focus,
#masthead .main-navigation ul.nav-menu > li > a:focus {
    color: #10b981;
}

/* Active / current menu item */
#masthead .main-navigation ul.menu > li.current-menu-item > a,
#masthead .main-navigation ul.nav-menu > li.current-menu-item > a,
#masthead .main-navigation ul.menu > li.current-menu-ancestor > a,
#masthead .main-navigation ul.nav-menu > li.current-menu-ancestor > a {
    color: #10b981;
    font-weight: 700;
}

/* Dropdown sub-menu items */
#masthead .main-navigation ul ul li a {
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #374151;
    padding: 10px 16px;
}

#masthead .main-navigation ul ul li a:hover {
    color: #10b981;
    background: #f3f4f6;
}

/* =====================
   DESKTOP HORIZONTAL NAV (>1200px only)
   ALL layout rules for the horizontal nav are scoped here.
   Below 1200px the tablet/mobile hamburger blocks take over.
   ===================== */
@media (min-width: 1201px) {

    /* Navigation section — fills all space after logo */
    #masthead .storefront-primary-navigation {
        flex: 1 1 0% !important;
        display: flex !important;
        align-items: center !important;
        min-width: 0 !important;
    }

    /* Inner col-full: full width row */
    #masthead .storefront-primary-navigation > .col-full {
        display: flex !important;
        align-items: center !important;
        width: 100% !important;
        padding: 0 !important;
        max-width: none !important;
    }

    /* Override Storefront's float-based layout:
       Parent sets .main-navigation { width: 73.9%; float: left } on desktop.
       flex:1 fills space between logo and cart. */
    #masthead .main-navigation {
        margin: 0 !important;
        width: auto !important;
        float: none !important;
        flex: 1 1 0% !important;
        display: flex !important;
    }

    /* .primary-navigation is the <div> wrapping the desktop <ul>.
       Must grow to fill .main-navigation so the <ul> inside can distribute items. */
    #masthead .main-navigation .primary-navigation {
        flex: 1 1 0% !important;
        display: flex !important;
    }

    /* Desktop nav list — fills .primary-navigation, items left-aligned.
       Override Storefront's mobile-first overflow:hidden / max-height:0. */
    #masthead .main-navigation ul.menu,
    #masthead .main-navigation ul.nav-menu {
        display: flex !important;
        flex-wrap: wrap !important;
        align-items: center !important;
        justify-content: flex-start !important;
        flex: 1 1 0% !important;
        max-height: none !important;
        overflow: visible !important;
        padding-left: 50px !important;
    }

    /* Nav list items — override Storefront's inline-block + float */
    #masthead .main-navigation ul.menu > li,
    #masthead .main-navigation ul.nav-menu > li {
        float: none !important;
        display: flex !important;
        align-items: center !important;
    }

    /* Cart — pushed to far right edge, never shrinks */
    #masthead .site-header-cart {
        margin-left: auto !important;
        flex-shrink: 0 !important;
    }
}

/* Hide Storefront's sticky "Add to cart" top bar on PrintCore builder pages.
   The builder has its own save/add-to-cart flow — this bar is redundant. */
body.printcore-product .storefront-sticky-add-to-cart {
    display: none !important;
}

/* Override Storefront's fixed 21.7% cart width */
#masthead .site-header-cart {
    width: auto !important;
    float: none !important;
}

/* Hide Storefront's mini-cart dropdown widget — we only use the custom cart link */
#masthead .site-header-cart .widget_shopping_cart,
#masthead .site-header-cart > li:not(:first-child) {
    display: none !important;
}

/* Hide parent theme Font Awesome cart icon — we use custom SVG */
#masthead .site-header-cart .cart-contents::after {
    display: none !important;
}

/* Cart icon + price styling */
#masthead .site-header-cart .cart-contents {
    display: flex !important;
    align-items: center !important;
    gap: 6px;
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: #1f2937;
    text-decoration: none !important;
    transition: color 0.2s ease;
}

#masthead .site-header-cart .cart-contents:hover {
    color: #10b981;
}

/* Hide Storefront's default text "item/items" count */
#masthead .site-header-cart .cart-contents .count {
    display: none !important;
}

/* Cart icon wrapper — holds the SVG + badge */
.sns-cart-icon-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.sns-cart-icon {
    width: 22px;
    height: 22px;
    stroke: currentColor;
}

/* Item count badge — small green circle */
.sns-cart-count {
    position: absolute;
    top: -6px;
    right: -8px;
    background: #10b981;
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-size: 10px;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    border-radius: 9px;
    line-height: 18px;
    text-align: center;
    padding: 0 4px;
    box-sizing: border-box;
    letter-spacing: 0;
    text-indent: 0;
    display: block;
}

/* Mobile header — single row: [Logo · · · Cart  Menu] */
@media (max-width: 768px) {

    #masthead.site-header {
        display: flex !important;
        flex-wrap: wrap !important;
        align-items: center !important;
        padding: 10px 16px !important;
    }

    /* Logo — left side, shrink to fit */
    #masthead.site-header > .col-full {
        width: auto !important;
        flex: 1 1 0% !important;
        padding: 0 !important;
        margin: 0 !important;
        max-width: none !important;
    }

    #masthead .site-branding {
        padding-left: 0 !important;
    }

    #masthead .site-branding img {
        max-height: 40px;
        width: auto;
        display: block;
    }

    /* Nav section — right side, shrink to fit, same row as logo */
    #masthead .storefront-primary-navigation {
        width: auto !important;
        flex: 0 0 auto !important;
    }

    #masthead .storefront-primary-navigation > .col-full {
        display: flex !important;
        align-items: center !important;
        gap: 16px;
        padding: 0 !important;
        width: auto !important;
    }

    /* Reorder: Cart first, Menu (hamburger) last on the right */
    #masthead .main-navigation {
        order: 2;
        width: auto !important;
        flex: 0 0 auto !important;
    }

    #masthead .site-header-cart {
        order: 1;
        margin-left: 0 !important;
    }

    /* Hide cart price text on mobile — icon only */
    #masthead .site-header-cart .cart-contents .woocommerce-Price-amount,
    #masthead .site-header-cart .cart-contents .woocommerce-Price-currencySymbol {
        display: none !important;
    }

    /* Mobile dropdown menu — full width below the header bar */
    #masthead .main-navigation .handheld-navigation {
        position: absolute;
        left: 0;
        right: 0;
        top: 100%;
        background: #fff;
        z-index: 999;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        padding: 0 16px;
    }

    /* Constrain open menu to viewport height */
    #masthead .main-navigation.toggled .handheld-navigation {
        max-height: calc(100vh - 60px) !important;
        max-height: calc(100dvh - 60px) !important;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    /* Make the header bar a positioning context for the dropdown.
       overflow: visible ensures the absolutely-positioned dropdown
       is not clipped by the flex container. */
    #masthead.site-header {
        position: relative;
        z-index: 100003;
        overflow: visible !important;
    }

    /* Ensure nav wrapper also allows dropdown overflow */
    #masthead .storefront-primary-navigation,
    #masthead .main-navigation {
        overflow: visible !important;
    }

    /* Hamburger button — ensure tappable on mobile */
    #masthead .main-navigation button.menu-toggle {
        position: relative;
        z-index: 10;
        touch-action: manipulation;
        cursor: pointer;
    }

    /* Mobile nav links: thumb-friendly */
    #masthead .main-navigation ul.menu > li > a,
    #masthead .main-navigation ul.nav-menu > li > a,
    #masthead .handheld-navigation ul.menu > li > a {
        font-size: 15px;
        padding: 12px 14px;
        min-height: 44px;
        display: flex;
        align-items: center;
        font-family: 'Poppins', sans-serif;
        font-weight: 600;
        color: #1f2937;
        border-bottom: 1px solid #f3f4f6;
    }

    #masthead .handheld-navigation ul.menu > li:last-child > a {
        border-bottom: none;
    }

    /* Reset breadcrumb left-padding on mobile */
    .single-product .storefront-breadcrumb .col-full,
    .storefront-breadcrumb .col-full {
        padding-left: 20px !important;
    }

    /* Hide breadcrumbs entirely on mobile (all pages) */
    .storefront-breadcrumb {
        display: none !important;
    }

    /* Reduce product title size on mobile */
    .single-product .product_title,
    .single-product .entry-title {
        font-size: 1.5em;
        line-height: 1.3;
        letter-spacing: -0.5px;
    }
}

/* Phone landscape: force mobile/hamburger header layout.
   Phones in landscape exceed 768px width (e.g. iPhone 844px) which triggers
   Storefront's desktop nav. max-height: 500px ensures this only hits phones,
   not tablets in landscape (which have 700px+ height). */
@media (orientation: landscape) and (max-height: 500px) {

    /* Force mobile header layout (same as max-width: 768px block above) */
    #masthead.site-header {
        display: flex !important;
        flex-wrap: wrap !important;
        align-items: center !important;
        padding: 10px 16px !important;
        position: relative;
        z-index: 100003;
        overflow: visible !important;
    }

    #masthead.site-header > .col-full {
        width: auto !important;
        flex: 1 1 0% !important;
        padding: 0 !important;
        margin: 0 !important;
        max-width: none !important;
    }

    #masthead .site-branding img {
        max-height: 40px;
        width: auto;
    }

    #masthead .storefront-primary-navigation {
        width: auto !important;
        flex: 0 0 auto !important;
        overflow: visible !important;
    }

    #masthead .storefront-primary-navigation > .col-full {
        display: flex !important;
        align-items: center !important;
        gap: 16px;
        padding: 0 !important;
        width: auto !important;
    }

    /* Ensure nav wrapper allows dropdown overflow */
    #masthead .main-navigation {
        overflow: visible !important;
    }

    /* Hide the desktop nav container — NOT ul.menu (which is also used
       inside .handheld-navigation and would hide the mobile dropdown). */
    #masthead .main-navigation .primary-navigation {
        display: none !important;
    }

    #masthead .main-navigation button.menu-toggle {
        display: block !important;
        position: relative;
        z-index: 10;
        touch-action: manipulation;
        cursor: pointer;
    }

    /* Handheld nav base — hidden via max-height:0 (inherited from Storefront),
       but display:block so it participates in the DOM for the toggle. */
    #masthead .main-navigation .handheld-navigation {
        display: block !important;
        position: absolute;
        left: 0;
        right: 0;
        top: 100%;
        background: #fff;
        z-index: 999;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        padding: 0 16px;
    }

    /* When toggled open: override Storefront's display:none AND the base
       max-height:0 / overflow:hidden so the dropdown actually appears.
       Uses 9999px (Storefront's own value) and overflow shorthand (x=hidden, y=auto)
       to properly override the base overflow:hidden. */
    #masthead .main-navigation.toggled .handheld-navigation {
        display: block !important;
        max-height: 9999px !important;
        overflow: hidden auto !important;
        -webkit-overflow-scrolling: touch;
    }

    /* Hide cart price on landscape phone */
    #masthead .site-header-cart .cart-contents .woocommerce-Price-amount,
    #masthead .site-header-cart .cart-contents .woocommerce-Price-currencySymbol {
        display: none !important;
    }
}

/* Tablet / small desktop: hamburger menu up to 1200px.
   Covers iPads, laptops, and mid-size screens where nav items
   don't comfortably fit in a single horizontal row. */
@media (min-width: 768px) and (max-width: 1200px) {

    /* Header: flex row — logo left, cart + hamburger right */
    #masthead.site-header {
        display: flex !important;
        flex-wrap: wrap !important;
        align-items: center !important;
        padding: 12px 20px !important;
        position: relative;
        z-index: 100003;
        overflow: visible !important;
    }

    #masthead.site-header > .col-full {
        width: auto !important;
        flex: 1 1 0% !important;
        padding: 0 !important;
        margin: 0 !important;
        max-width: none !important;
    }

    #masthead .site-branding {
        padding-left: 0 !important;
    }

    #masthead .site-branding img {
        max-height: 48px;
        width: auto;
    }

    /* Nav section — right side */
    #masthead .storefront-primary-navigation {
        width: auto !important;
        flex: 0 0 auto !important;
        overflow: visible !important;
    }

    #masthead .storefront-primary-navigation > .col-full {
        display: flex !important;
        align-items: center !important;
        gap: 16px;
        padding: 0 !important;
        width: auto !important;
    }

    /* Shrink-wrap to hamburger button, push right of cart */
    #masthead .main-navigation {
        overflow: visible !important;
        flex: 0 0 auto !important;
        width: auto !important;
        display: block !important;
        margin-left: 16px !important;
    }

    /* Hide desktop nav container, show hamburger */
    #masthead .main-navigation .primary-navigation {
        display: none !important;
    }

    #masthead .main-navigation button.menu-toggle {
        display: block !important;
        position: relative;
        z-index: 10;
        touch-action: manipulation;
        cursor: pointer;
    }

    /* Handheld nav — position rules ready for when toggled open.
       Don't force display:block here — Storefront keeps it hidden via
       max-height:0. The toggled state below handles showing it. */
    #masthead .main-navigation .handheld-navigation {
        position: absolute;
        left: 0;
        right: 0;
        top: 100%;
        background: #fff;
        z-index: 999;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        padding: 0 20px;
    }

    /* When toggled open */
    #masthead .main-navigation.toggled .handheld-navigation {
        display: block !important;
        max-height: 9999px !important;
        overflow: hidden auto !important;
        -webkit-overflow-scrolling: touch;
    }

    /* Tablet nav links: readable, thumb-friendly */
    #masthead .handheld-navigation ul.menu > li > a {
        font-size: 16px;
        padding: 14px 16px;
        min-height: 48px;
        display: flex;
        align-items: center;
        font-family: 'Poppins', sans-serif;
        font-weight: 600;
        color: #1f2937;
        border-bottom: 1px solid #f3f4f6;
    }

    #masthead .handheld-navigation ul.menu > li:last-child > a {
        border-bottom: none;
    }

    /* Reorder: Cart first (left), Hamburger last (right) */
    #masthead .main-navigation {
        order: 2;
    }

    #masthead .site-header-cart {
        order: 1;
        margin-left: 0 !important;
        flex-shrink: 0 !important;
    }
}


/* =====================
   SINGLE PRODUCT - Full Width (no sidebar)
   ===================== */

/* Hide the sidebar on single product pages */
.single-product #secondary {
    display: none !important;
}

/* Make content area full width */
.single-product #primary {
    width: 100% !important;
    float: none !important;
}

/* Product layout within full width */
@media (min-width: 768px) {
    .single-product div.product .summary {
        width: 100% !important;
        float: right;
        margin-right: 0;
    }

    .single-product div.product .woocommerce-product-gallery {
        width: 35% !important;
    }
}

/* =====================
   BREADCRUMB BACKGROUND — Colored header area
   Default sage-green (#d1dccc). Overridden per-category or per-product
   via inline <style id="sns-breadcrumb-color"> from breadcrumb-color.php.
   ===================== */

/* Category archive: breadcrumb bar gets bg color (set via category editor) */
.tax-product_cat .storefront-breadcrumb {
    margin-bottom: 0;
}

/* =====================
   SINGLE PRODUCT — Green header background + wave
   Same sage-green (#d1dccc) as homepage trust strip and landing page hero.
   Covers breadcrumb + product title area, then wave to normal #f9fafb.
   ===================== */

/* Green background on the breadcrumb bar — starts the green from the very top */
.single-product .storefront-breadcrumb {
    background-color: #d1dccc;
    margin-bottom: 0;
}

/* Green panel continues below breadcrumb into #content */
.single-product #content {
    position: relative;
}

.single-product #content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 220px;                     /* covers title + short desc + price hint */
    background-color: #d1dccc;
    z-index: 0;
}

/* SVG wave at bottom of green area — same arch as homepage/landing pages */
.single-product #content::after {
    content: '';
    position: absolute;
    top: 220px;                        /* starts right where the green ends */
    left: 0;
    width: 100%;
    height: 60px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80' preserveAspectRatio='none'%3E%3Crect width='1440' height='80' fill='%23f9fafb'/%3E%3Cpath d='M0,0 L0,0 Q720,80 1440,0 L1440,0 L0,0 Z' fill='%23d1dccc'/%3E%3C/svg%3E");
    background-size: 100% 100%;
    background-repeat: no-repeat;
    z-index: 0;
}

/* Keep all content above the green background */
.single-product .storefront-breadcrumb,
.single-product #primary {
    position: relative;
    z-index: 1;
}

/* =====================
   GLOBAL TYPOGRAPHY
   ===================== */

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: #f9fafb;
}

/* Homepage styles are in css/homepage.css (loaded conditionally) */

/* =====================
   FOOTER
   ===================== */

.site-footer {
    background: #1f2937 !important;
    color: #d1d5db;
    padding: 0 !important;
    margin: 0 !important;
}

.site-footer .col-full {
    max-width: 100% !important;
    padding: 0 !important;
}

.sns-footer {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.sns-footer-inner {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr 0.8fr 1.4fr;
    gap: 40px;
    padding: 48px 0 40px;
    border-bottom: 1px solid #374151;
}

/* Brand column */
.sns-footer-logo {
    font-family: 'Poppins', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    display: block;
    margin-bottom: 12px;
}

.sns-footer-tagline {
    font-size: 14px;
    color: #9ca3af;
    line-height: 1.6;
    margin: 0;
}

/* Column headings */
.sns-footer-heading {
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0 0 16px;
}

/* Link lists */
.sns-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sns-footer-links li {
    margin-bottom: 10px;
}

.sns-footer-links a {
    color: #9ca3af;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s ease;
    padding: 4px 0;
    display: inline-block;
}

.sns-footer-links a:hover {
    color: #fff;
}

/* Email signup */
.sns-footer-signup-text {
    font-size: 13px;
    color: #9ca3af;
    line-height: 1.5;
    margin: 0 0 14px;
}

.sns-footer-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sns-footer-form-fields {
    display: flex;
    gap: 0;
    border-radius: 8px;
    overflow: hidden;
}

.sns-footer-input {
    flex: 1;
    padding: 12px 14px;
    border: 1px solid #4b5563;
    border-right: none;
    background: #374151;
    color: #fff;
    font-size: 14px;
    font-family: 'Poppins', sans-serif;
    outline: none;
    min-height: 44px;
    box-sizing: border-box;
}

.sns-footer-input:first-child {
    border-radius: 8px 0 0 8px;
    max-width: 130px;
}

.sns-footer-input::placeholder {
    color: #6b7280;
}

.sns-footer-input:focus {
    border-color: #10b981;
}

.sns-footer-submit {
    padding: 12px 20px;
    background: #10b981;
    color: #fff;
    border: none;
    border-radius: 0 8px 8px 0;
    font-size: 14px;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    transition: background 0.2s ease;
    white-space: nowrap;
    min-height: 44px;
}

.sns-footer-submit:hover {
    background: #059669;
}

.sns-footer-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.sns-footer-form-msg {
    font-size: 13px;
    line-height: 1.4;
    min-height: 0;
}

.sns-footer-form-msg:empty {
    display: none;
}

.sns-footer-form-msg--success {
    color: #34d399;
}

.sns-footer-form-msg--error {
    color: #f87171;
}

.sns-footer-form .cf-turnstile {
    margin-top: 2px;
}

/* Bottom bar */
.sns-footer-bottom {
    padding: 20px 0;
    text-align: center;
}

.sns-footer-copyright {
    font-size: 13px;
    color: #6b7280;
    margin: 0 0 8px 0;
}

.sns-footer-links {
    font-size: 13px;
    color: #6b7280;
    margin: 0;
}

.sns-footer-links a {
    color: #6b7280;
    text-decoration: none;
    transition: color 0.2s ease;
}

.sns-footer-links a:hover {
    color: #ffffff;
}

.sns-footer-sep {
    margin: 0 8px;
    color: #4b5563;
}

/* Footer tablet */
@media (max-width: 992px) {
    .sns-footer-inner {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
}

/* Footer mobile */
@media (max-width: 768px) {
    .sns-footer-inner {
        grid-template-columns: 1fr;
        gap: 28px;
        padding: 36px 0 28px;
    }

    .sns-footer-links a {
        padding: 6px 0;
        font-size: 15px;
        min-height: 44px;
        display: flex;
        align-items: center;
    }

    .sns-footer-form-fields {
        flex-direction: column;
        gap: 8px;
        border-radius: 0;
    }

    .sns-footer-input {
        border-right: 1px solid #4b5563;
        border-radius: 8px;
        min-height: 48px;
        font-size: 16px;
    }

    .sns-footer-input:first-child {
        border-radius: 8px;
        max-width: none;
    }

    .sns-footer-submit {
        border-radius: 8px;
        min-height: 48px;
        font-size: 16px;
    }

    /* Hide Storefront handheld footer bar site-wide on mobile */
    .storefront-handheld-footer-bar {
        display: none !important;
    }
}

/* =====================
   CONTACT FORM - [sns_contact_form]
   ===================== */

.sns-contact-wrap {
    max-width: 640px;
    margin: 0 auto;
    padding: 0 0 40px;
}

.sns-contact-heading {
    font-size: 28px;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 8px;
}

.sns-contact-subtext {
    font-size: 15px;
    color: #6b7280;
    margin: 0 0 28px;
    line-height: 1.5;
}

.sns-contact-faq-hint {
    font-size: 14px;
    color: #6b7280;
    margin: -16px 0 24px;
    line-height: 1.5;
}

.sns-contact-faq-hint a {
    color: #10b981;
    font-weight: 600;
    text-decoration: none;
}

.sns-contact-faq-hint a:hover {
    text-decoration: underline;
}

.sns-contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sns-contact-row {
    display: flex;
    gap: 16px;
}

.sns-contact-field {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.sns-contact-field label {
    font-size: 14px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 6px;
}

.sns-contact-field label .required {
    color: #ef4444;
}

.sns-contact-field input,
.sns-contact-field textarea,
.sns-contact-field select {
    padding: 12px 14px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    background: #fff;
    color: #1f2937;
    font-size: 15px;
    font-family: 'Poppins', sans-serif;
    outline: none;
    transition: border-color 0.2s ease;
    box-sizing: border-box;
    width: 100%;
}

.sns-contact-field select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236b7280' stroke-width='2' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
    cursor: pointer;
}

.sns-contact-field input:focus,
.sns-contact-field textarea:focus,
.sns-contact-field select:focus {
    border-color: #10b981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.sns-contact-field input::placeholder,
.sns-contact-field textarea::placeholder {
    color: #9ca3af;
}

.sns-contact-field textarea {
    resize: vertical;
    min-height: 120px;
}

.sns-contact-submit {
    padding: 14px 28px;
    background: #10b981;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    transition: background 0.2s ease;
    align-self: flex-start;
    min-height: 48px;
}

.sns-contact-submit:hover {
    background: #059669;
}

.sns-contact-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.sns-contact-msg {
    font-size: 14px;
    line-height: 1.5;
}

.sns-contact-msg:empty {
    display: none;
}

.sns-contact-msg--success {
    color: #059669;
    background: #ecfdf5;
    padding: 12px 16px;
    border-radius: 8px;
    border: 1px solid #a7f3d0;
}

.sns-contact-msg--error {
    color: #dc2626;
    background: #fef2f2;
    padding: 12px 16px;
    border-radius: 8px;
    border: 1px solid #fecaca;
}

.sns-contact-form .cf-turnstile {
    margin-top: -4px;
}

@media (max-width: 768px) {
    .sns-contact-wrap {
        padding: 0 0 28px;
    }

    .sns-contact-heading {
        font-size: 24px;
    }

    .sns-contact-row {
        flex-direction: column;
        gap: 20px;
    }

    .sns-contact-field input,
    .sns-contact-field textarea {
        font-size: 16px;
    }

    .sns-contact-submit {
        width: 100%;
    }
}

/* =====================
   FAQ PAGE
   ===================== */

.sns-faq-layout {
    display: flex;
    gap: 40px;
    max-width: 960px;
    margin: 0 auto;
    padding: 0 0 40px;
    align-items: flex-start;
}

.sns-faq-wrap {
    flex: 1;
    min-width: 0;
}

.sns-faq-sidebar {
    width: 260px;
    flex-shrink: 0;
    position: sticky;
    top: 40px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 28px 24px;
    text-align: center;
}

.sns-faq-sidebar-heading {
    font-size: 17px;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 10px;
    line-height: 1.4;
}

.sns-faq-sidebar-text {
    font-size: 14px;
    color: #6b7280;
    margin: 0 0 20px;
    line-height: 1.5;
}

.sns-faq-sidebar-btn {
    display: inline-block;
    padding: 12px 24px;
    background: #10b981;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    text-decoration: none;
    border-radius: 8px;
    transition: background 0.2s ease;
}

.sns-faq-sidebar-btn:hover {
    background: #059669;
    color: #fff;
    text-decoration: none;
}

.sns-faq-heading {
    font-size: 28px;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 28px;
}

.sns-faq-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.sns-faq-item {
    border-bottom: 1px solid #e5e7eb;
}

.sns-faq-item:first-child {
    border-top: 1px solid #e5e7eb;
}

.sns-faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 0;
    font-size: 16px;
    font-weight: 600;
    color: #1f2937;
    cursor: pointer;
    list-style: none;
    user-select: none;
    transition: color 0.2s ease;
}

.sns-faq-question::-webkit-details-marker {
    display: none;
}

.sns-faq-question::after {
    content: '+';
    font-size: 22px;
    font-weight: 400;
    color: #9ca3af;
    flex-shrink: 0;
    margin-left: 16px;
    transition: transform 0.2s ease;
}

.sns-faq-item[open] .sns-faq-question::after {
    content: '−';
    color: #10b981;
}

.sns-faq-question:hover {
    color: #10b981;
}

.sns-faq-answer {
    padding: 0 0 20px;
    font-size: 15px;
    color: #4b5563;
    line-height: 1.7;
}

.sns-faq-answer p {
    margin: 0 0 12px;
}

.sns-faq-answer p:last-child {
    margin-bottom: 0;
}

.sns-faq-answer ul {
    margin: 8px 0 12px;
    padding-left: 20px;
}

.sns-faq-answer li {
    margin-bottom: 6px;
}

.sns-faq-answer li:last-child {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .sns-faq-layout {
        flex-direction: column;
        padding: 0 0 28px;
        gap: 32px;
    }

    .sns-faq-sidebar {
        width: 100%;
        position: static;
    }

    .sns-faq-heading {
        font-size: 24px;
    }

    .sns-faq-question {
        font-size: 15px;
        padding: 16px 0;
    }

    .sns-faq-answer {
        font-size: 14px;
    }
}

/* =====================
   INSTRUCTIONS PAGE
   ===================== */

.sns-instructions-layout {
    display: flex;
    gap: 40px;
    max-width: 960px;
    margin: 0 auto;
    padding: 0 0 40px;
    align-items: flex-start;
}

.sns-instructions-wrap {
    flex: 1;
    min-width: 0;
}

.sns-instructions-heading {
    font-size: 28px;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 28px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.sns-instructions-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.sns-instructions-item {
    border-bottom: 1px solid #e5e7eb;
}

.sns-instructions-item:first-child {
    border-top: 1px solid #e5e7eb;
}

.sns-instructions-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 0;
    font-size: 16px;
    font-weight: 600;
    color: #1f2937;
    cursor: pointer;
    list-style: none;
    user-select: none;
    transition: color 0.2s ease;
}

.sns-instructions-question::-webkit-details-marker {
    display: none;
}

.sns-instructions-question::after {
    content: '+';
    font-size: 22px;
    font-weight: 400;
    color: #9ca3af;
    flex-shrink: 0;
    margin-left: 16px;
    transition: transform 0.2s ease;
}

.sns-instructions-item[open] .sns-instructions-question::after {
    content: '−';
    color: #10b981;
}

.sns-instructions-question:hover {
    color: #10b981;
}

.sns-instructions-answer {
    padding: 0 0 20px;
    font-size: 15px;
    color: #4b5563;
    line-height: 1.7;
}

.sns-instructions-answer p {
    margin: 0 0 12px;
}

.sns-instructions-answer p:last-child {
    margin-bottom: 0;
}

.sns-instructions-answer ul,
.sns-instructions-answer ol {
    margin: 8px 0 12px;
    padding-left: 20px;
}

.sns-instructions-answer li {
    margin-bottom: 6px;
}

.sns-instructions-answer li:last-child {
    margin-bottom: 0;
}

.sns-instructions-subtitle {
    font-size: 13px;
    font-weight: 400;
    color: #6b7280;
    display: block;
    margin-top: 2px;
}

.sns-instructions-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.sns-instructions-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 12px;
    background: #ecfdf5;
    color: #059669;
    font-size: 13px;
    font-weight: 600;
    border-radius: 20px;
    border: 1px solid #a7f3d0;
}

.sns-instructions-note {
    margin-top: 16px;
    padding: 14px 16px;
    background: #fffbeb;
    border: 1px solid #fde68a;
    border-radius: 8px;
    font-size: 14px;
    color: #92400e;
    line-height: 1.5;
}

.sns-instructions-steps {
    counter-reset: step-counter;
    list-style: none;
    padding-left: 0;
    margin: 8px 0 12px;
}

.sns-instructions-steps li {
    counter-increment: step-counter;
    padding-left: 28px;
    position: relative;
    margin-bottom: 8px;
}

.sns-instructions-steps li::before {
    content: counter(step-counter);
    position: absolute;
    left: 0;
    top: 1px;
    width: 20px;
    height: 20px;
    background: #10b981;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sns-instructions-steps li:last-child {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .sns-instructions-layout {
        flex-direction: column;
        padding: 0 0 28px;
        gap: 32px;
    }

    .sns-instructions-heading {
        font-size: 24px;
    }

    .sns-instructions-question {
        font-size: 15px;
        padding: 16px 0;
    }

    .sns-instructions-answer {
        font-size: 14px;
    }
}

/* =====================
   TERMS & CONDITIONS PAGE
   ===================== */

.sns-terms-wrap {
    max-width: 640px;
    margin: 0 auto;
    padding: 0 0 40px;
}

.sns-terms-heading {
    font-size: 28px;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 8px;
}

.sns-terms-subtext {
    font-size: 15px;
    color: #6b7280;
    margin: 0 0 28px;
    line-height: 1.5;
}

.sns-terms-content hr {
    border: none;
    border-top: 1px solid #e5e7eb;
    margin: 32px 0;
}

.sns-terms-content h2 {
    font-size: 20px;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 12px;
    line-height: 1.4;
}

.sns-terms-content h3 {
    font-size: 16px;
    font-weight: 600;
    color: #1f2937;
    margin: 16px 0 8px;
    line-height: 1.4;
}

.sns-terms-content p {
    font-size: 15px;
    color: #4b5563;
    line-height: 1.7;
    margin: 0 0 12px;
}

.sns-terms-content p:last-child {
    margin-bottom: 0;
}

.sns-terms-content ul {
    margin: 8px 0 12px;
    padding-left: 20px;
}

.sns-terms-content li {
    font-size: 15px;
    color: #4b5563;
    line-height: 1.7;
    margin-bottom: 6px;
}

.sns-terms-content li:last-child {
    margin-bottom: 0;
}

.sns-terms-content strong {
    color: #1f2937;
}

.sns-terms-content a {
    color: #10b981;
    font-weight: 600;
    text-decoration: none;
}

.sns-terms-content a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .sns-terms-wrap {
        padding: 0 0 28px;
    }

    .sns-terms-heading {
        font-size: 24px;
    }

    .sns-terms-content h2 {
        font-size: 18px;
    }

    .sns-terms-content p,
    .sns-terms-content li {
        font-size: 14px;
    }
}

/* =====================
   SINGLE PRODUCT PAGE - Layout Reorder
   ===================== */

/* Hide default prominent price - we use micro-hint instead */
.single-product .summary > .price {
    display: none !important;
}

/* Hide category/tags meta below customizer */
.single-product .product_meta {
    display: none !important;
}

/* Hide default WooCommerce quantity field - we use our own in metadata band */
.single-product .quantity {
    display: none !important;
}

/* Hide default WooCommerce Add to Cart button - we use Save Design flow */
.single-product .single_add_to_cart_button {
    display: none !important;
}

/* Hide admin edit links on product page for cleaner preview */
.single-product .edit-link,
.single-product .post-edit-link,
.single-product a[href*="vc_action=vc_inline"],
.single-product .vc_inline-link {
    display: none !important;
}

/* Product Identity Block - subtitle from short description */
.single-product .woocommerce-product-details__short-description {
    margin: -10px 0 5px 0;
}

.single-product .woocommerce-product-details__short-description p {
    font-size: 16px;
    color: #6b7280;
    margin: 0 0 4px 0;
    line-height: 1.5;
}

/* Micro price hint */
.sns-price-hint {
    font-size: 14px;
    color: #9ca3af;
    margin: 0 0 20px 0;
}

.sns-price-hint .price-from {
    color: #6b7280;
}

/* Hide default tabs - description renders inline */
.single-product .woocommerce-tabs {
    display: none !important;
}

/* =====================
   PRODUCT DESCRIPTION CONTENT BLOCKS
   ===================== */

/* Container for description content below customizer */
.sns-product-content {
    clear: both !important;
    width: 100% !important;
    float: none !important;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #e5e7eb;
}

/* Section 6: Trust Signals Strip */
.sns-trust-signals {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: center;
    /* padding: 20px 0;
    margin: 30px 0; */
    background: #f9fafb;
    border-radius: 12px;
}

.sns-trust-signals .trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #374151;
    font-weight: 500;
}

.sns-trust-signals .trust-item img {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.sns-trust-signals .trust-item .trust-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
}

/* Section 7 & 8: Product Details + Use-Cases (side by side) */
.sns-details-row {
    display: flex;
    gap: 30px;
    margin: 30px 0;
    align-items: flex-start;
}

.sns-product-details {
    flex: 1;
    padding: 20px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
}

.sns-product-details .details-heading {
    font-weight: 600;
    font-size: 14px;
    color: #1f2937;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0 0 12px 0;
}

.sns-product-details .details-content {
    font-size: 14px;
    color: #4b5563;
    line-height: 1.7;
}

.sns-product-details .details-content ul {
    margin: 0;
    padding-left: 18px;
}

.sns-product-details .details-content li {
    margin-bottom: 6px;
}

/* Section 8: Use-Case Badges */
.sns-use-cases {
    flex: 1;
    padding: 20px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
}

.sns-use-cases .use-cases-heading {
    font-weight: 600;
    font-size: 14px;
    color: #1f2937;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0 0 12px 0;
}

.sns-use-cases .use-cases-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.sns-use-cases .use-case {
    padding: 6px 14px;
    background: #ecfdf5;
    color: #065f46;
    font-size: 13px;
    font-weight: 600;
    border-radius: 20px;
    border: 1px solid #a7f3d0;
}

/* Section 9: Reviews Summary */
.sns-reviews-summary {
    text-align: center;
    padding: 30px 20px;
    margin: 30px 0;
    background: #fffbeb;
    border-radius: 12px;
    border: 1px solid #fde68a;
}

.sns-reviews-summary .stars {
    font-size: 24px;
    color: #f59e0b;
    margin-bottom: 8px;
}

.sns-reviews-summary .rating-text {
    font-size: 14px;
    color: #92400e;
    font-weight: 500;
}

.sns-reviews-summary .review-quote {
    font-size: 14px;
    color: #78716c;
    font-style: italic;
    margin-top: 12px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* Hide product navigation arrows (prev/next product thumbnails on sides) */
.storefront-product-pagination {
    display: none !important;
}

/* Section 10: Related Products - ensure below fold */
.single-product .related.products {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid #e5e7eb;
}

/* Mobile adjustments for content blocks */
@media (max-width: 768px) {
    .sns-trust-signals {
        gap: 16px;
        padding: 16px;
    }

    .sns-trust-signals .trust-item {
        flex: 0 0 calc(50% - 8px);
        justify-content: center;
        font-size: 12px;
    }

    .sns-trust-signals .trust-item img,
    .sns-trust-signals .trust-item .trust-icon {
        width: 36px;
        height: 36px;
        font-size: 22px;
    }

    /* Stack details + use-cases on mobile */
    .sns-details-row {
        flex-direction: column;
        gap: 16px;
    }

    .sns-use-cases .use-case {
        padding: 5px 12px;
        font-size: 12px;
    }
}

/* =====================
   PRINTCORE - Cart Summary Styles
   ===================== */

/* Edit design link button */
.printcore-edit-design-link {
    display: inline-block;
    padding: 6px 14px;
    background: #f3f4f6;
    color: #374151;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 6px;
    border: 1px solid #d1d5db;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
    margin-top: 8px;
}

.printcore-edit-design-link:hover {
    background: #e5e7eb;
    color: #1f2937;
    border-color: #9ca3af;
}

.printcore-edit-design-link:active {
    background: #d1d5db;
}

.woocommerce-cart-form .cart_item .product-name dl.variation dd:has(.printcore-edit-design-link) {
    margin-top: 8px;
}

/* Cart page: stack cart table + totals vertically on tablet (783–1024px).
   WooCommerce floats them side-by-side at 768px+ but there's not enough
   room for the sticker detail text alongside the cart totals column. */
@media (min-width: 768px) and (max-width: 1024px) {
    .woocommerce-cart .woocommerce-cart-form,
    .woocommerce-cart .cart-collaterals {
        width: 100% !important;
        float: none !important;
        clear: both !important;
    }

    .woocommerce-cart .cart-collaterals {
        margin-top: 2em;
    }

    .woocommerce-cart .cart-collaterals .cart_totals {
        width: 100% !important;
        float: none !important;
    }
}

/* Main summary container */
.printcore-cart-summary {
    margin: 8px 0 4px 0;
    font-size: 13px;
    line-height: 1.5;
    color: #4b5563;
}

/* Type heading — "Stickers", "Peel & Stick" */
.printcore-cart-summary__type-heading {
    font-weight: 700;
    font-size: 12px;
    color: #1f2937;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin: 10px 0 4px 0;
    padding-bottom: 3px;
    border-bottom: 2px solid #e5e7eb;
}

.printcore-cart-summary__type-heading:first-child {
    margin-top: 0;
}

/* Sticker block card — one per size */
.printcore-cart-summary__block {
    margin: 6px 0;
    padding: 6px 8px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
}

/* Block header: "18 × 2.36″×0.34″" */
.printcore-cart-summary__block-header {
    font-size: 12px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 4px;
    padding-bottom: 3px;
    border-bottom: 1px solid #e5e7eb;
}

/* Field rows */
.printcore-cart-summary__field {
    margin-bottom: 4px;
    padding: 3px 0;
    border-bottom: 1px solid #f3f4f6;
}

.printcore-cart-summary__field:last-child {
    border-bottom: none;
}

.printcore-cart-summary__label {
    font-weight: 600;
    font-size: 11px;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin-bottom: 1px;
}

.printcore-cart-summary__value {
    color: #1f2937;
    font-size: 13px;
    font-weight: 500;
}

/* Multiline values */
.printcore-cart-summary__line {
    line-height: 1.4;
}

/* Design settings — font, color swatches */
.printcore-cart-summary__design {
    margin-top: 4px;
    padding-top: 4px;
    border-top: 1px dashed #d1d5db;
    font-size: 11px;
    color: #6b7280;
}

.printcore-cart-summary__design-item {
    margin-right: 8px;
    white-space: nowrap;
}

.printcore-cart-summary__design-key {
    font-weight: 600;
    color: #6b7280;
}

.printcore-cart-summary__swatch {
    width: 14px;
    height: 14px;
    border-radius: 3px;
    border: 1px solid #d1d5db;
    margin-right: 2px;
}

/* Edit link inside summary */
.printcore-cart-summary .printcore-edit-design-link {
    margin-top: 4px;
}

/* Mini-cart / widget cart — smaller sizing */
.woocommerce-mini-cart .printcore-cart-summary,
.widget_shopping_cart .printcore-cart-summary {
    font-size: 11px;
    margin-top: 4px;
}

.woocommerce-mini-cart .printcore-cart-summary .printcore-edit-design-link,
.widget_shopping_cart .printcore-cart-summary .printcore-edit-design-link {
    font-size: 11px;
    padding: 3px 10px;
}

.woocommerce-mini-cart .printcore-cart-summary__field,
.widget_shopping_cart .printcore-cart-summary__field {
    margin-bottom: 2px;
    padding: 1px 0;
}

/* =====================
   PRINTCORE - Order Page Summary
   (My Account → View Order)
   ===================== */
.printcore-order-summary {
    margin: 8px 0 4px 0;
    font-size: 13px;
    line-height: 1.5;
    color: #4b5563;
}

/* =====================
   COUPON CODE - WooCommerce Block Cart & Checkout
   ===================== */

/* "Add a coupon" panel in block cart/checkout */
.wc-block-components-totals-coupon__content {
    background: #f0fdf4;
    border: 1px solid #a7f3d0;
    border-radius: 8px;
    padding: 16px;
    margin-top: 8px;
}

/* Coupon input field */
.wc-block-components-totals-coupon__content input[type="text"] {
    border: 2px solid #a7f3d0 !important;
    border-radius: 8px !important;
    background: #fff !important;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    transition: border-color 0.2s ease;
}

.wc-block-components-totals-coupon__content input[type="text"]:focus {
    border-color: #10b981 !important;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1) !important;
    outline: none !important;
}

/* "Apply" coupon button */
.wc-block-components-totals-coupon__content .wc-block-components-button {
    background: #10b981 !important;
    color: #fff !important;
    border: none !important;
    border-radius: 8px !important;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    transition: background 0.2s ease;
}

.wc-block-components-totals-coupon__content .wc-block-components-button:hover {
    background: #059669 !important;
}

/* "Add a coupon" toggle link */
.wc-block-components-totals-coupon a,
.wc-block-components-totals-coupon__title a,
.wc-block-components-panel__button {
    color: #10b981 !important;
    font-weight: 600;
}

.wc-block-components-totals-coupon a:hover,
.wc-block-components-totals-coupon__title a:hover {
    color: #059669 !important;
}

/* Highlight the coupon row in the totals summary */
.wc-block-components-totals-coupon {
    background: #ecfdf5;
    border-radius: 8px;
    padding: 12px 16px;
    margin: 8px 0;
    border: 1px solid #a7f3d0;
}

/* Hide express payment block errors when no methods are configured */
.wp-block-woocommerce-cart-express-payment-block:empty,
.wp-block-woocommerce-checkout-express-payment-block:empty,
.wc-block-components-express-payment--cart:empty,
.wc-block-components-express-payment--checkout:empty {
    display: none !important;
}

/* Hide WooCommerce Blocks "notices" JS error rendered in cart totals slot.
   Root cause: WC Blocks bug — update WooCommerce to fix properly. */
.wc-block-components-totals-wrapper.slot-wrapper .wc-block-components-order-meta {
    display: none !important;
}

/* =====================
   CHECKOUT - Collapse product details in order summary
   ===================== */

/* Hide the product details (sticker specs) by default on checkout */
.wc-block-checkout .wc-block-components-order-summary-item__description .wc-block-components-product-details {
    display: none;
}

/* Show when toggled open */
.wc-block-checkout .wc-block-components-order-summary-item__description.sns-details-open .wc-block-components-product-details {
    display: block;
}

/* Also collapse the printcore summary */
.wc-block-checkout .wc-block-components-order-summary-item__description .printcore-cart-summary {
    display: none;
}

.wc-block-checkout .wc-block-components-order-summary-item__description.sns-details-open .printcore-cart-summary {
    display: block;
}

/* Toggle button */
.sns-details-toggle {
    font-size: 12px;
    color: #10b981;
    cursor: pointer;
    border: none;
    background: none;
    padding: 4px 0;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 4px;
}

.sns-details-toggle:hover {
    color: #059669;
}

.sns-details-toggle::after {
    content: '+';
    font-size: 14px;
}

.sns-details-open .sns-details-toggle::after {
    content: '−';
}

/* =====================
   ORDER TRACKING - My Account Orders List
   ===================== */

/* "Track" button in orders table actions */
.woocommerce-orders-table .track a,
.woocommerce-MyAccount-content .track a {
    background: #10b981 !important;
    color: #fff !important;
    border: none !important;
}

.woocommerce-orders-table .track a:hover,
.woocommerce-MyAccount-content .track a:hover {
    background: #059669 !important;
}

/* =====================
   ORDER TRACKING - My Account View Order
   ===================== */

.sns-tracking-info {
    margin: 24px 0;
    padding: 20px 24px;
    background: #f0fdf4;
    border: 1px solid #a7f3d0;
    border-radius: 12px;
}

.sns-tracking-info h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #065f46;
    margin: 0 0 14px;
}

/* Shipment label for multi-tracking orders */
.sns-tracking-shipment-label {
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: #065f46;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 16px 0 6px;
    padding-top: 12px;
    border-top: 1px dashed #a7f3d0;
}

.sns-tracking-shipment-label:first-of-type {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

.sns-tracking-table {
    width: 100%;
    border-collapse: collapse;
}

.sns-tracking-table th,
.sns-tracking-table td {
    padding: 10px 0;
    border-bottom: 1px solid #a7f3d0;
    font-size: 14px;
    text-align: left;
    vertical-align: middle;
}

.sns-tracking-table tr:last-child th,
.sns-tracking-table tr:last-child td {
    border-bottom: none;
}

.sns-tracking-table th {
    font-weight: 600;
    color: #065f46;
    width: 140px;
    white-space: nowrap;
    padding-right: 16px;
}

.sns-tracking-table td {
    color: #1f2937;
}

.sns-tracking-link {
    color: #10b981;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: color 0.2s ease;
}

.sns-tracking-link:hover {
    color: #059669;
    text-decoration: underline;
}

.sns-tracking-external {
    font-size: 12px;
    opacity: 0.7;
}

@media (max-width: 768px) {
    .sns-tracking-info {
        padding: 16px;
    }

    .sns-tracking-info h2 {
        font-size: 16px;
    }

    .sns-tracking-table th {
        width: 120px;
        font-size: 13px;
    }

    .sns-tracking-table td {
        font-size: 13px;
    }
}

/* =====================
   MY ACCOUNT — Modern dashboard styling
   ===================== */

/* Full-width layout (no sidebar) */
.woocommerce-account .content-area {
    width: 100% !important;
    float: none !important;
    margin-right: 0 !important;
}

.woocommerce-account #secondary {
    display: none !important;
}

/* Tighten breadcrumb spacing */
.woocommerce-account .storefront-breadcrumb {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

/* Kill the empty .woocommerce div Storefront puts before #primary */
.woocommerce-account .col-full > .woocommerce:empty {
    display: none;
}

/* Reduce .col-full top padding on my-account */
.woocommerce-account .col-full {
    padding-top: 0 !important;
}

/* Reduce top spacing on content area */
.woocommerce-account #primary {
    padding-top: 8px !important;
    margin-top: 0 !important;
}

/* Page title — compact */
.woocommerce-account .entry-header {
    margin: 0 0 16px !important;
    padding: 0 !important;
}

.woocommerce-account .entry-header .entry-title {
    font-family: 'Poppins', sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: #1f2937;
    margin: 0;
}

/* Wrapper — center + constrain width */
.woocommerce-account .entry-content > .woocommerce {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px 60px;
}

/* ---- SIDE NAVIGATION ---- */

/* On desktop: nav + content side-by-side */
@media (min-width: 769px) {
    .woocommerce-account .entry-content > .woocommerce {
        display: flex;
        gap: 40px;
        align-items: flex-start;
    }

    .woocommerce-MyAccount-navigation {
        flex: 0 0 220px;
        position: sticky;
        top: 32px;
    }

    .woocommerce-MyAccount-content {
        flex: 1;
        min-width: 0;
    }
}

.woocommerce-MyAccount-navigation {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 8px;
    margin-bottom: 24px;
}

.woocommerce-MyAccount-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.woocommerce-MyAccount-navigation ul li {
    margin: 0;
}

.woocommerce-MyAccount-navigation ul li a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #4b5563;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.15s ease;
}

.woocommerce-MyAccount-navigation ul li a:hover {
    background: #f3f4f6;
    color: #1f2937;
    text-decoration: none;
}

.woocommerce-MyAccount-navigation ul li.is-active a,
.woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--dashboard.is-active a {
    background: #ecfdf5;
    color: #065f46;
    font-weight: 600;
}

/* Prepend icons via ::before */
.woocommerce-MyAccount-navigation ul li a::before {
    font-size: 16px;
    width: 20px;
    text-align: center;
    flex-shrink: 0;
}

.woocommerce-MyAccount-navigation-link--dashboard a::before { content: '📊'; }
.woocommerce-MyAccount-navigation-link--orders a::before { content: '📦'; }
.woocommerce-MyAccount-navigation-link--downloads a::before { content: '⬇️'; }
.woocommerce-MyAccount-navigation-link--edit-address a::before { content: '📍'; }
.woocommerce-MyAccount-navigation-link--edit-account a::before { content: '👤'; }
.woocommerce-MyAccount-navigation-link--customer-logout a::before { content: '🚪'; }
.woocommerce-MyAccount-navigation-link--payment-methods a::before { content: '💳'; }

/* Logout — subtle separator */
.woocommerce-MyAccount-navigation-link--customer-logout {
    border-top: 1px solid #e5e7eb;
    margin-top: 4px;
    padding-top: 4px;
}

/* ---- CONTENT AREA ---- */

.woocommerce-MyAccount-content {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 32px;
}

/* Greeting paragraph */
.woocommerce-MyAccount-content > p:first-child {
    font-size: 15px;
    color: #4b5563;
    line-height: 1.6;
    margin-bottom: 20px;
}

.woocommerce-MyAccount-content > p:first-child strong {
    color: #1f2937;
    font-weight: 600;
}

/* Links inside content */
.woocommerce-MyAccount-content a {
    color: #10b981;
    font-weight: 500;
    transition: color 0.2s ease;
}

.woocommerce-MyAccount-content a:hover {
    color: #059669;
}

/* ---- ORDERS TABLE ---- */

.woocommerce-MyAccount-content .woocommerce-orders-table,
.woocommerce-MyAccount-content table.shop_table {
    border: 1px solid #e5e7eb !important;
    border-radius: 8px !important;
    border-collapse: separate !important;
    border-spacing: 0;
    overflow: hidden;
    width: 100%;
    font-size: 14px;
}

.woocommerce-MyAccount-content .woocommerce-orders-table thead th,
.woocommerce-MyAccount-content table.shop_table thead th {
    background: #f9fafb;
    font-family: 'Poppins', sans-serif;
    font-size: 12px;
    font-weight: 700;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 12px 16px;
    border-bottom: 1px solid #e5e7eb;
}

.woocommerce-MyAccount-content .woocommerce-orders-table tbody td,
.woocommerce-MyAccount-content table.shop_table tbody td {
    padding: 14px 16px;
    border-bottom: 1px solid #f3f4f6;
    color: #374151;
    vertical-align: middle;
}

.woocommerce-MyAccount-content .woocommerce-orders-table tbody tr:last-child td,
.woocommerce-MyAccount-content table.shop_table tbody tr:last-child td {
    border-bottom: none;
}

.woocommerce-MyAccount-content .woocommerce-orders-table tbody tr:hover td,
.woocommerce-MyAccount-content table.shop_table tbody tr:hover td {
    background: #f9fafb;
}

/* Order number link */
.woocommerce-MyAccount-content .woocommerce-orders-table td a,
.woocommerce-MyAccount-content table.shop_table td a {
    font-weight: 600;
}

/* Action buttons in orders table */
.woocommerce-MyAccount-content .woocommerce-orders-table td .woocommerce-button,
.woocommerce-MyAccount-content .woocommerce-orders-table td .button,
.woocommerce-MyAccount-content table.shop_table td .woocommerce-button,
.woocommerce-MyAccount-content table.shop_table td .button {
    display: inline-block;
    padding: 8px 16px;
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    font-weight: 600;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.15s ease;
    margin: 2px 4px 2px 0;
}

/* "View" button */
.woocommerce-MyAccount-content .woocommerce-orders-table td .woocommerce-button.button.view,
.woocommerce-MyAccount-content table.shop_table td .woocommerce-button.button.view {
    background: #f3f4f6;
    color: #374151;
    border: 1px solid #d1d5db;
}

.woocommerce-MyAccount-content .woocommerce-orders-table td .woocommerce-button.button.view:hover,
.woocommerce-MyAccount-content table.shop_table td .woocommerce-button.button.view:hover {
    background: #e5e7eb;
    color: #1f2937;
    border-color: #9ca3af;
}

/* "Pay" button */
.woocommerce-MyAccount-content .woocommerce-orders-table td .woocommerce-button.button.pay,
.woocommerce-MyAccount-content table.shop_table td .woocommerce-button.button.pay {
    background: #10b981;
    color: #fff;
    border: 1px solid #10b981;
}

.woocommerce-MyAccount-content .woocommerce-orders-table td .woocommerce-button.button.pay:hover,
.woocommerce-MyAccount-content table.shop_table td .woocommerce-button.button.pay:hover {
    background: #059669;
    border-color: #059669;
}

/* ---- ADDRESSES ---- */

.woocommerce-MyAccount-content .woocommerce-Addresses {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.woocommerce-MyAccount-content .woocommerce-Address {
    flex: 1;
    min-width: 250px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 20px;
}

.woocommerce-MyAccount-content .woocommerce-Address header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e5e7eb;
}

.woocommerce-MyAccount-content .woocommerce-Address header h3,
.woocommerce-MyAccount-content .woocommerce-Address .woocommerce-Address-title h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: #1f2937;
    margin: 0;
}

.woocommerce-MyAccount-content .woocommerce-Address header a,
.woocommerce-MyAccount-content .woocommerce-Address .woocommerce-Address-title a {
    font-size: 13px;
    font-weight: 600;
}

.woocommerce-MyAccount-content .woocommerce-Address address {
    font-size: 14px;
    color: #4b5563;
    line-height: 1.7;
    font-style: normal;
}

/* ---- FORM FIELDS (edit account, edit address) ---- */

.woocommerce-MyAccount-content .woocommerce-EditAccountForm .form-row,
.woocommerce-MyAccount-content .woocommerce-address-fields .form-row {
    margin-bottom: 16px;
}

.woocommerce-MyAccount-content label {
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 6px;
    display: block;
}

.woocommerce-MyAccount-content label .required {
    color: #ef4444;
}

.woocommerce-MyAccount-content input[type="text"],
.woocommerce-MyAccount-content input[type="email"],
.woocommerce-MyAccount-content input[type="tel"],
.woocommerce-MyAccount-content input[type="password"],
.woocommerce-MyAccount-content select,
.woocommerce-MyAccount-content textarea {
    padding: 12px 14px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    background: #fff;
    color: #1f2937;
    font-size: 15px;
    font-family: 'Poppins', sans-serif;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    width: 100%;
    box-sizing: border-box;
}

.woocommerce-MyAccount-content input[type="text"]:focus,
.woocommerce-MyAccount-content input[type="email"]:focus,
.woocommerce-MyAccount-content input[type="tel"]:focus,
.woocommerce-MyAccount-content input[type="password"]:focus,
.woocommerce-MyAccount-content select:focus,
.woocommerce-MyAccount-content textarea:focus {
    border-color: #10b981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

/* Save button */
.woocommerce-MyAccount-content button[type="submit"],
.woocommerce-MyAccount-content input[type="submit"],
.woocommerce-MyAccount-content .button:not(.view):not(.pay):not(.track):not(.cancel) {
    padding: 12px 28px;
    background: #10b981;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
    min-height: 44px;
}

.woocommerce-MyAccount-content button[type="submit"]:hover,
.woocommerce-MyAccount-content input[type="submit"]:hover {
    background: #059669;
    transform: translateY(-1px);
}

/* ---- NOTICES / MESSAGES ---- */

.woocommerce-account .woocommerce-message,
.woocommerce-account .woocommerce-info {
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    border-radius: 8px;
    color: #065f46;
    padding: 14px 20px;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 20px;
}

.woocommerce-account .woocommerce-message::before,
.woocommerce-account .woocommerce-info::before {
    color: #10b981;
}

.woocommerce-account .woocommerce-error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 8px;
    color: #991b1b;
    padding: 14px 20px;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 20px;
}

/* ---- "No order" empty state ---- */

.woocommerce-MyAccount-content .woocommerce-message--info,
.woocommerce-MyAccount-content .woocommerce-info {
    text-align: center;
    padding: 40px 20px;
    border-radius: 8px;
}

.woocommerce-MyAccount-content .woocommerce-info .woocommerce-Button,
.woocommerce-MyAccount-content .woocommerce-message .woocommerce-Button {
    display: inline-block;
    margin-top: 12px;
    padding: 12px 24px;
    background: #10b981;
    color: #fff !important;
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
}

.woocommerce-MyAccount-content .woocommerce-info .woocommerce-Button:hover,
.woocommerce-MyAccount-content .woocommerce-message .woocommerce-Button:hover {
    background: #059669;
}

/* ---- MOBILE ---- */

@media (max-width: 768px) {

    .woocommerce-account .woocommerce {
        padding: 20px 16px 40px;
    }

    .woocommerce-MyAccount-navigation {
        padding: 6px;
    }

    .woocommerce-MyAccount-navigation ul {
        display: flex;
        flex-wrap: wrap;
        gap: 4px;
    }

    .woocommerce-MyAccount-navigation ul li {
        flex: 1 1 auto;
    }

    .woocommerce-MyAccount-navigation ul li a {
        font-size: 13px;
        padding: 10px 12px;
        justify-content: center;
        text-align: center;
        min-height: 44px;
    }

    /* Hide icons on mobile to save space */
    .woocommerce-MyAccount-navigation ul li a::before {
        display: none;
    }

    /* Logout separator not needed in flex */
    .woocommerce-MyAccount-navigation-link--customer-logout {
        border-top: none;
        margin-top: 0;
        padding-top: 0;
    }

    .woocommerce-MyAccount-content {
        padding: 20px 16px;
    }

    /* Orders table responsive */
    .woocommerce-MyAccount-content .woocommerce-orders-table,
    .woocommerce-MyAccount-content table.shop_table {
        font-size: 13px;
    }

    .woocommerce-MyAccount-content .woocommerce-orders-table thead,
    .woocommerce-MyAccount-content table.shop_table thead {
        display: none;
    }

    .woocommerce-MyAccount-content .woocommerce-orders-table tbody tr,
    .woocommerce-MyAccount-content table.shop_table tbody tr {
        display: block;
        padding: 16px;
        border-bottom: 1px solid #e5e7eb;
        position: relative;
    }

    .woocommerce-MyAccount-content .woocommerce-orders-table tbody tr:last-child,
    .woocommerce-MyAccount-content table.shop_table tbody tr:last-child {
        border-bottom: none;
    }

    .woocommerce-MyAccount-content .woocommerce-orders-table tbody td,
    .woocommerce-MyAccount-content table.shop_table tbody td {
        display: block;
        padding: 4px 0;
        border-bottom: none;
        text-align: left;
    }

    .woocommerce-MyAccount-content .woocommerce-orders-table tbody td::before,
    .woocommerce-MyAccount-content table.shop_table tbody td::before {
        content: attr(data-title);
        font-weight: 700;
        font-size: 11px;
        color: #9ca3af;
        text-transform: uppercase;
        letter-spacing: 0.04em;
        display: block;
        margin-bottom: 2px;
    }

    /* Addresses stack on mobile */
    .woocommerce-MyAccount-content .woocommerce-Addresses {
        flex-direction: column;
    }

    .woocommerce-MyAccount-content .woocommerce-Address {
        min-width: 0;
    }
}

/* =====================
   HIDE WPBAKERY EDIT LINKS ON FRONTEND
   ===================== */

/* WPBakery "Edit with WPBakery" / inline edit links shown to admins */
.vc_inline-link,
a[href*="vc_action=vc_inline"],
.entry-content .vc_edit-link,
.woocommerce-MyAccount-content .vc_inline-link,
.woocommerce-MyAccount-content a[href*="vc_action=vc_inline"] {
    display: none !important;
}
