/* Scoped finishing layer. Background opacity never affects foreground text. */
body.woocommerce-checkout .wc-block-components-order-summary-item__quantity,
body.woocommerce-checkout .wc-block-components-order-summary-item__quantity span {
    background: #fff !important; color: #171717 !important; font-weight: 700;
}
body.woocommerce-checkout .wc-block-components-text-input input:focus {
    background: #111 !important; color: #fff !important;
}
/* Woo Cart Blocks briefly renders a loading tree before hydration.
   Do not resize product imagery in that transient tree: it caused oversized/flashing
   thumbnails and unnecessary paint work. Keep a neutral lightweight loading surface. */
body.woocommerce-cart .wp-block-woocommerce-cart.is-loading {
    position:relative; min-height:260px; overflow:hidden;
}
body.woocommerce-cart .wp-block-woocommerce-cart.is-loading > * { visibility:hidden; }
body.woocommerce-cart .wp-block-woocommerce-cart.is-loading::before {
    content:''; position:absolute; inset:0; visibility:visible;
    background:linear-gradient(100deg,#0b0b0b 20%,#121212 38%,#0b0b0b 56%);
    background-size:220% 100%; animation:ss-cart-loading 1.2s ease-in-out infinite;
    border:1px solid #242424; border-radius:10px;
}
@keyframes ss-cart-loading { to { background-position:-120% 0; } }
body.woocommerce-cart .wp-block-woocommerce-cart:not(.is-loading) .wc-block-cart-item__image img {
    display:block; max-width:100%;
}
body.home .ss-home-text-link {
    display: inline-flex; align-items: center; justify-content: center;
    min-height: 44px; padding: 10px 16px; border: 1px solid currentColor;
    border-radius: 6px; font-size: 13px; font-weight: 800;
    letter-spacing: .08em; color: inherit; opacity: 1; text-decoration: none;
}
body.home .ss-home-text-link:hover, body.home .ss-home-text-link:focus-visible {
    color: #fff; background: #85122b; border-color: #85122b;
}
.ss-mobile-account { padding: 16px 0; border-bottom: 1px solid #333; font-weight: 700; }
.ss-mobile-category-tree { margin: 22px 0 4px; padding-top: 4px; border-top: 1px solid #202020; }
.ss-mobile-category-title { margin: 0; padding: 18px 0 10px; color: #777; font: 700 10px/1.2 var(--ss-sans); letter-spacing: .16em; text-transform: uppercase; }
.ss-mobile-category-root { display: block; }
.ss-mobile-category-item { border-bottom: 1px solid #202020; }
.ss-mobile-category-item > summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 15px 0; cursor: pointer; color: #f1f1f1; font-size: 14px; font-weight: 650; }
.ss-mobile-category-item > summary::-webkit-details-marker { display: none; }
.ss-mobile-category-chevron { color: #777; font-size: 20px; line-height: 1; transition: transform .2s ease, color .2s ease; }
.ss-mobile-category-item[open] > summary .ss-mobile-category-chevron { transform: rotate(90deg); color: var(--ss-neon); }
.ss-mobile-category-submenu { padding: 0 0 12px 14px; border-left: 1px solid #2b2023; }
.ss-mobile-category-all, .ss-mobile-category-leaf { display: block; padding: 10px 0; color: #c8c8c8; font-size: 13px; line-height: 1.4; }
.ss-mobile-category-all { color: #e4a0ad; font-size: 12px; }
.ss-mobile-category-children > .ss-mobile-category-item { border-bottom: 0; }
.ss-mobile-category-children > .ss-mobile-category-item > summary { padding: 10px 0; color: #d3d3d3; font-size: 13px; font-weight: 550; }
.ss-mobile-category-children .ss-mobile-category-submenu { margin-bottom: 4px; }
.ss-mobile-category-root > .ss-mobile-category-leaf { padding: 15px 0; border-bottom: 1px solid #202020; color: #f1f1f1; font-size: 14px; font-weight: 650; }
.ss-benefit-mobile { display: none; }
@media (max-width: 1000px) {
    body.ss-theme .ss-header .ss-header__inner {
        display: grid; grid-template-columns: 108px minmax(0,1fr) 108px;
        gap: 0; padding: 10px 12px; width: 100%; min-height: 68px;
    }
    body.ss-theme .ss-header .ss-category-nav, body.ss-theme .ss-header .ss-nav { display: none; }
    body.ss-theme .ss-header .ss-menu-toggle {
        display: block; grid-column: 1; grid-row: 1; margin: 0;
        width: 44px; height: 44px; justify-self: start;
    }
    body.ss-theme .ss-header .ss-logo {
        grid-column: 2; grid-row: 1; justify-self: center;
        margin: 0; width: min(120px,100%); flex: none;
    }
    body.ss-theme .ss-header .ss-actions {
        display: flex; grid-column: 3; grid-row: 1;
        gap: 0; margin: 0; justify-content: flex-end;
    }
    body.ss-theme .ss-header .ss-actions .ss-action { width: 32px; height: 44px; }
    body.ss-theme .ss-header .ss-actions .ss-action svg { width: 23px; height: 23px; }
    body.ss-theme .ss-header .ss-actions .ss-account-action { display: none; }
    body.ss-theme .ss-mobile-menu { max-height: calc(100dvh - 115px); overflow-y: auto; overscroll-behavior: contain; }
}
@media (max-width: 760px) {
    body.home .ss-home-benefits--featured .ss-home-benefits__grid {
        display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); width: calc(100% - 16px); gap: 0;
    }
    body.home .ss-home-benefits--featured .ss-home-benefit {
        display: flex; flex-direction: column; justify-content: flex-start;
        text-align: center; gap: 6px; min-height: 0; padding: 12px 4px;
        border: 0; border-right: 1px solid #2c2024;
    }
    body.home .ss-home-benefits--featured .ss-home-benefit:last-child { border-right: 0; }
    body.home .ss-home-benefits--featured .ss-home-benefit__icon { width: 26px; height: 26px; flex: 0 0 26px; }
    body.home .ss-home-benefits--featured .ss-home-benefit h3 { font-size: 11px; line-height: 1.35; letter-spacing: 0; margin: 0; }
    body.home .ss-home-benefits--featured .ss-home-benefit p { display: none; }
    body.home .ss-home-benefits--featured .ss-home-benefit p.ss-benefit-description-mobile { display: block; font-size: 10px; line-height: 1.3; color: #ccc; margin-top: 4px; }
    .ss-benefit-desktop { display: none; }
    .ss-benefit-mobile { display: inline; }
    body.home .ss-home-categories {
        display: grid; grid-template-columns: none; grid-auto-flow: column;
        grid-auto-columns: 82%; gap: 12px; overflow-x: auto;
        scroll-snap-type: x mandatory; scroll-padding-inline: 0;
        overscroll-behavior-x: contain; padding-bottom: 16px; scrollbar-width: thin;
    }
    body.home .ss-home-categories .ss-home-category { scroll-snap-align: start; min-width: 0; min-height: 0; }
    body.home .ss-home-categories .ss-home-category h3 { font-size: clamp(23px,6vw,30px); }
    body.home .ss-home-section-head { flex-wrap: wrap; gap: 20px; }
    body.home .ss-home-text-link { font-size: 12px; padding: 10px 14px; }
}
@media (max-width: 700px) {
}
@media (max-width: 430px) {
    body.ss-theme .ss-header .ss-header__inner { grid-template-columns: 96px minmax(0,1fr) 96px; padding-inline: 8px; }
    body.ss-theme .ss-header .ss-actions .ss-action { width: 29px; }
    body.ss-theme .ss-header .ss-actions .ss-action svg { width: 21px; height: 21px; }
    body.ss-theme .ss-header .ss-logo { width: min(104px,100%); }
}
@media (prefers-reduced-motion: reduce) { body.woocommerce-cart .wp-block-woocommerce-cart.is-loading::before { animation:none; } }

/* v17.3 — mobile cart badge alignment. The badge overlaps the cart glyph, not the header edge. */
@media (max-width:1000px) {
  body.ss-theme .ss-header .ss-cart-action .ss-cart-count,
  body.ss-theme .ss-header .ss-favorites-action .ss-favorites-count {
    top:5px; right:0; min-width:15px; height:15px; padding:0 3px;
    font-size:8px; line-height:15px; transform:none;
  }
}
@media (max-width:430px) {
  body.ss-theme .ss-header .ss-cart-action .ss-cart-count,
  body.ss-theme .ss-header .ss-favorites-action .ss-favorites-count { top:6px; right:-1px; }
}

body.home .ss-home-benefit .ss-benefit-description-mobile{display:none}
@media(max-width:760px){body.home .ss-home-benefits--featured{padding-block:0;margin-block:0}body.home .ss-home-benefits--featured .ss-home-benefit p.ss-benefit-description-desktop{display:none}}


/* Checkout legal notice: keep policy links visible without turning the note into a CTA. */
.wp-block-woocommerce-checkout-terms-block a,
.wc-block-checkout__terms a {
    color: inherit;
    font-weight: 600;
    text-decoration-line: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
    text-decoration-color: currentColor;
}
.wp-block-woocommerce-checkout-terms-block a:hover,
.wp-block-woocommerce-checkout-terms-block a:focus-visible,
.wc-block-checkout__terms a:hover,
.wc-block-checkout__terms a:focus-visible {
    text-decoration-thickness: 2px;
}
