/* ====================================================================
   STEP31 — WooCommerce Custom Styles
   Version: 2.0
   Fonts: Manrope (logo + everything) · Cormorant Garamond (hero headlines only)
   Accent: #B9A35A gold · Background: #F9F7F2 cream · Dark: #121212
   ==================================================================== */


/* ====================================================================
   1. DESIGN TOKENS
   ==================================================================== */

:root {
  /* Primary accent */
  --step31-gold:             #B9A35A;
  --step31-gold-hover:       #A48D44;
  --step31-gold-soft:        rgba(185, 163, 90, 0.12);
  --step31-gold-border:      rgba(185, 163, 90, 0.28);

  /* Light mode surfaces */
  --step31-bg:               #F9F7F2;
  --step31-surface:          #FFFFFF;
  --step31-cream:            #F5F0E0;
  --step31-cream-soft:       #FBF7EF;
  --step31-footer-bg:        #F2EEE5;
  --step31-newsletter-bg:    #F5F0E0;

  /* Light mode text */
  --step31-text-primary:     #1A1A1A;
  --step31-text-body:        #5F5F5F;
  --step31-text-secondary:   #8A8A8A;

  /* Aliases used throughout the file */
  --step31-text:             #1A1A1A;
  --step31-charcoal:         #1A1A1A;
  --step31-muted:            #5F5F5F;
  --step31-muted-2:          #8A8A8A;
  --step31-white:            #ffffff;

  /* Borders */
  --step31-border:           #EAE6DC;

  /* Typography */
  --step31-font-sans:        'Manrope', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --step31-font-serif:       'Cormorant Garamond', Georgia, serif;

  /* Border radius
     All CTA buttons use 0.
     Cards / modals / panels use md–xl. */
  --step31-radius-sm:        0px;
  --step31-radius-md:        10px;
  --step31-radius-lg:        14px;
  --step31-radius-xl:        18px;

  /* Shadows */
  --step31-shadow-soft:      0 18px 45px rgba(15, 23, 42, 0.06);
  --step31-shadow-card:      0 2px 18px rgba(0, 0, 0, 0.06);

  /* Semantic */
  --step31-error:            #b91c1c;
  --step31-success:          #0d7a44;
}

.dark {
  --step31-bg:               #121212;
  --step31-surface:          #1B1B1B;
  --step31-cream:            rgba(185, 163, 90, 0.10);
  --step31-cream-soft:       rgba(185, 163, 90, 0.07);
  --step31-footer-bg:        #0D0D0D;
  --step31-newsletter-bg:    #181818;

  --step31-text-primary:     #F5F3EE;
  --step31-text-body:        #C6C2B8;
  --step31-text-secondary:   #9B978E;

  --step31-text:             #F5F3EE;
  --step31-charcoal:         #F5F3EE;
  --step31-muted:            #C6C2B8;
  --step31-muted-2:          #9B978E;

  --step31-border:           rgba(255, 255, 255, 0.08);
  --step31-gold-border:      rgba(185, 163, 90, 0.22);
  --step31-shadow-soft:      0 18px 45px rgba(0, 0, 0, 0.28);
  --step31-shadow-card:      0 2px 18px rgba(0, 0, 0, 0.22);
}


/* ====================================================================
   2. GLOBAL RESET & BASE
   ==================================================================== */

html,
body {
  background: var(--step31-bg) !important;
  color: var(--step31-text-body) !important;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  scrollbar-color: rgba(148, 163, 184, 0.55) transparent;
}

@supports (overflow: clip) {
  html,
  body {
    overflow-x: clip;
  }
}

body {
  position: relative;
  scrollbar-color: rgba(148, 163, 184, 0.55) transparent;
}

html,
body,
button,
input,
optgroup,
select,
textarea {
  font-family: var(--step31-font-sans) !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

h1,
h2,
h3,
h4,
h5,
h6,
.font-display {
  font-family: var(--step31-font-sans) !important;
  color: var(--step31-text-primary) !important;
}

p {
  color: var(--step31-text-body);
}

img,
video,
iframe,
canvas,
svg {
  max-width: 100%;
}

footer {
  margin-bottom: 0 !important;
}

body > div.min-h-screen {
  width: 100%;
  max-width: 100vw;
  overflow-x: clip;
  min-height: 0 !important;
}

#page,
#content,
main,
header,
footer,
section,
.site,
.site-content,
.mobile-nav-panel,
.mini-cart-panel,
.search-modal {
  max-width: 100vw;
}

.swiper,
.swiper-wrapper,
.swiper-slide {
  max-width: 100%;
}

#quick-view-base {
  height: 0;
  min-height: 0;
  overflow: visible;
}


/* ====================================================================
   3. TYPOGRAPHY — FONT ROLES
   ==================================================================== */

/* Hero headlines only — homepage slider, editorial, campaign sections */
#hero-swiper h1,
body.home #hero-swiper h1,
body.page-template-page-home #hero-swiper h1,
#hero-swiper .hero-slide-copy h1,
.dark #hero-swiper .hero-slide-copy h1,
.woocommerce-order-received h1,
.woocommerce-order-received .entry-title,
.step31-thankyou-title,
.fasco-cart-empty__title {
  font-family: var(--step31-font-serif) !important;
  font-weight: 600 !important;
  letter-spacing: 0.01em !important;
  line-height: 1.05 !important;
}

/* Logo / brand mark */
header .site-header-brand a,
.search-modal-brand a,
.search-modal-brand span {
  font-family: var(--step31-font-sans) !important;
  font-weight: 600 !important;
  letter-spacing: 0.15em !important;
  text-transform: uppercase;
  color: var(--step31-text-primary) !important;
}


/* ====================================================================
   4. PAGE ANIMATIONS
   ==================================================================== */

html {
  background: #fdfcfb;
}

html.dark {
  background: #121212;
}

body {
  animation: step31-page-enter 520ms ease both;
}

html.is-page-loading body {
  cursor: progress;
}

html.is-page-loading::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  background:
    radial-gradient(circle at center, rgba(185, 163, 90, 0.16), transparent 34%),
    rgba(249, 247, 242, 0.92);
  animation: step31-loader-fade 900ms ease forwards;
}

html.dark.is-page-loading::before {
  background:
    radial-gradient(circle at center, rgba(185, 163, 90, 0.20), transparent 34%),
    rgba(18, 18, 18, 0.94);
}

html.is-page-loading::after {
  content: "";
  position: fixed;
  left: 50%;
  top: 50%;
  z-index: 10000;
  width: 42px;
  height: 42px;
  margin: -21px 0 0 -21px;
  border: 1px solid rgba(185, 163, 90, 0.25);
  border-top-color: var(--step31-gold);
  border-radius: 999px;
  pointer-events: none;
  animation: step31-loader-spin 780ms linear infinite, step31-loader-fade 900ms ease forwards;
}

html.is-theme-switching *,
html.is-theme-switching *::before,
html.is-theme-switching *::after {
  transition-duration: 420ms !important;
  transition-property: background-color, border-color, color, fill, stroke, box-shadow, opacity, transform !important;
  transition-timing-function: ease !important;
}

@keyframes step31-page-enter {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes step31-loader-spin {
  to { transform: rotate(360deg); }
}

@keyframes step31-loader-fade {
  0%, 58% { opacity: 1; }
  100%    { opacity: 0; visibility: hidden; }
}

@media (prefers-reduced-motion: reduce) {
  body,
  html.is-page-loading::before,
  html.is-page-loading::after {
    animation: none !important;
  }

  html.is-theme-switching *,
  html.is-theme-switching *::before,
  html.is-theme-switching *::after {
    transition-duration: 0ms !important;
  }
}


/* ====================================================================
   5. SCROLL REVEAL
   ==================================================================== */

.scroll-reveal-ready .scroll-reveal {
  opacity: 0;
  transform: translate3d(0, 24px, 0);
  transition:
    opacity 720ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 720ms cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

.scroll-reveal-ready .scroll-reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.scroll-reveal-ready .product-card-index.scroll-reveal,
.scroll-reveal-ready .home-product-card.scroll-reveal {
  transform: translate3d(0, 18px, 0) scale(0.985);
}

.scroll-reveal-ready .product-card-index.scroll-reveal.is-visible,
.scroll-reveal-ready .home-product-card.scroll-reveal.is-visible {
  transform: translate3d(0, 0, 0) scale(1);
}

@media (prefers-reduced-motion: reduce) {
  .scroll-reveal-ready .scroll-reveal,
  .scroll-reveal-ready .scroll-reveal.is-visible {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}


/* ====================================================================
   6. HEADER
   ==================================================================== */

header {
  background: rgba(249, 247, 242, 0.95) !important;
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--step31-border) !important;
  transition: background 0.35s ease, border-color 0.35s ease;
}

.dark header {
  background: rgba(18, 18, 18, 0.95) !important;
}

body.post-type-archive-product > header,
body.tax-product_cat > header,
body.post-type-archive-product #page > header,
body.tax-product_cat #page > header {
  position: sticky !important;
  top: 0 !important;
  z-index: 140 !important;
}

/* Desktop header layout */
@media (min-width: 768px) {
  header .site-header-brand {
    flex: 0 0 220px !important;
    justify-content: flex-start !important;
    min-width: 220px !important;
  }

  header .desktop-header-nav {
    flex: 1 1 auto !important;
    justify-content: center !important;
    padding-left: 32px !important;
    padding-right: 32px !important;
  }

  header .desktop-header-actions {
    flex: 0 0 220px !important;
    justify-content: flex-end !important;
    min-width: 220px !important;
  }
}

/* Mobile header layout */
@media (max-width: 767px) {
  header > .container {
    align-items: center !important;
    display: flex !important;
    height: 64px !important;
    justify-content: center !important;
    position: relative !important;
  }

  header .mobile-header-left,
  header .mobile-header-right {
    align-items: center !important;
    display: flex !important;
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    z-index: 2 !important;
  }

  header .mobile-header-left {
    gap: 0 !important;
    left: 12px !important;
  }

  header .mobile-header-right {
    gap: 2px !important;
    right: 12px !important;
  }

  header .site-header-brand {
    align-items: center !important;
    display: flex !important;
    justify-content: center !important;
    left: 50% !important;
    max-width: 36vw !important;
    min-width: 0 !important;
    position: absolute !important;
    top: 50% !important;
    transform: translate(-50%, -50%) !important;
    z-index: 1 !important;
  }

  header .site-header-brand a,
  header .site-header-brand img,
  header .custom-logo-link {
    display: block !important;
    max-width: 100% !important;
    white-space: nowrap !important;
  }
}

/* Header icon buttons — no background boxes */
header button,
header .mini-cart-trigger,
header .search-modal-trigger,
#dark-mode-toggle,
#dark-mode-toggle-mobile {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  color: var(--step31-text-body) !important;
  transition: color 0.2s ease, transform 0.2s ease;
}

header button:hover,
header .mini-cart-trigger:hover,
header .search-modal-trigger:hover,
#dark-mode-toggle:hover,
#dark-mode-toggle-mobile:hover {
  background: transparent !important;
  color: var(--step31-gold) !important;
}

/* Dark mode toggle animation */
#dark-mode-toggle,
#dark-mode-toggle-mobile,
#dark-mode-toggle-floating {
  background: transparent !important;
  border-color: transparent !important;
  box-shadow: none !important;
}

#dark-mode-toggle:hover,
#dark-mode-toggle-mobile:hover,
#dark-mode-toggle-floating:hover {
  transform: translateY(-2px) scale(1.03);
}

#dark-mode-toggle svg,
#dark-mode-toggle-mobile svg,
#dark-mode-toggle-floating svg {
  transition: transform 360ms ease, opacity 260ms ease;
}

html.is-theme-switching #dark-mode-toggle svg,
html.is-theme-switching #dark-mode-toggle-mobile svg,
html.is-theme-switching #dark-mode-toggle-floating svg {
  transform: rotate(180deg) scale(0.92);
}

/* Cart count badge */
header .mini-cart-count {
  background: var(--step31-gold) !important;
  color: #ffffff !important;
}

/* Navigation links */
header .desktop-header-nav a {
  font-family: var(--step31-font-sans) !important;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--step31-text-body) !important;
  transition: color 0.2s;
}

header .desktop-header-nav a:hover,
header .desktop-header-nav a.current-menu-item {
  color: var(--step31-gold) !important;
}


/* ====================================================================
   7. ANNOUNCEMENT BAR
   ==================================================================== */

#announcement-bar,
#announcement-bar:hover,
#announcement-bar:focus-within,
#announcement-bar:active,
.dark #announcement-bar,
.dark #announcement-bar:hover,
.dark #announcement-bar:focus-within,
.dark #announcement-bar:active {
  background: var(--step31-gold) !important;
  background-color: var(--step31-gold) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 32px !important;
  min-height: 32px !important;
  padding: 0 !important;
  overflow: hidden !important;
}

#announcement-bar .announcement-slides {
  align-items: center !important;
  display: grid !important;
  grid-template-areas: "announcement" !important;
  justify-items: center !important;
  height: 32px !important;
  min-height: 32px !important;
  position: relative !important;
  width: 100% !important;
}

#announcement-bar .announcement-slide {
  align-items: center !important;
  display: flex !important;
  grid-area: announcement !important;
  justify-content: center !important;
  min-width: 100% !important;
  opacity: 0 !important;
  pointer-events: none !important;
  position: relative !important;
  transform: translate3d(0, 6px, 0) !important;
  transition:
    opacity 420ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 420ms cubic-bezier(0.22, 1, 0.36, 1) !important;
  visibility: hidden !important;
  white-space: nowrap !important;
  height: 32px !important;
  z-index: 0 !important;
}

#announcement-bar .announcement-slide.announcement-slide-active {
  opacity: 1 !important;
  pointer-events: auto !important;
  transform: translate3d(0, 0, 0) !important;
  visibility: visible !important;
  z-index: 1 !important;
}

#announcement-bar .announcement-link,
#announcement-bar a.announcement-link,
#announcement-bar a.announcement-link:hover,
#announcement-bar a.announcement-link:focus-visible,
#announcement-bar a.announcement-link:active,
.dark #announcement-bar .announcement-link,
.dark #announcement-bar a.announcement-link {
  align-items: center !important;
  background: transparent !important;
  border: 0 !important;
  color: #ffffff !important;
  display: inline-flex !important;
  gap: 0.45em !important;
  justify-content: center !important;
  line-height: 1 !important;
  max-width: calc(100vw - 32px) !important;
  min-height: 32px !important;
  opacity: 1 !important;
  text-decoration: none !important;
  text-decoration-line: none !important;
}

#announcement-bar a.announcement-link:hover,
#announcement-bar a.announcement-link:focus-visible {
  opacity: 0.88 !important;
}

#announcement-bar .announcement-link span,
.dark #announcement-bar .announcement-link span {
  color: rgba(255, 255, 255, 0.72) !important;
  opacity: 1 !important;
}

@media (max-width: 480px) {
  #announcement-bar,
  #announcement-bar .announcement-slides,
  #announcement-bar .announcement-slide,
  #announcement-bar .announcement-slide.announcement-slide-active {
    height: 30px !important;
    min-height: 30px !important;
  }

  #announcement-bar .announcement-link {
    font-size: 9px !important;
    letter-spacing: 0.16em !important;
    min-height: 30px !important;
  }
}


/* ====================================================================
   8. HERO SECTION
   ==================================================================== */

@media (max-width: 767px) {
  body.home #hero-swiper,
  body.page-template-page-home #hero-swiper,
  #hero-swiper {
    height: 92svh !important;
    min-height: 651px !important;
    max-height: 820px !important;
  }

  #hero-swiper .swiper-wrapper,
  #hero-swiper .swiper-slide {
    height: 100% !important;
  }

  #hero-swiper img,
  #hero-swiper video.hero-slide-video {
    height: 100% !important;
    object-fit: cover !important;
  }

  #hero-swiper .hero-gradient {
    background:
      linear-gradient(to bottom, rgba(0,0,0,0.18) 0%, rgba(0,0,0,0.1) 38%, rgba(0,0,0,0.58) 100%),
      linear-gradient(to right, rgba(0,0,0,0.5), transparent 72%) !important;
  }
}

@media (min-width: 768px) {
  body.home #hero-swiper,
  body.page-template-page-home #hero-swiper {
    height: 89vh !important;
  }
}

/* Hero copy positioning */
body.home #hero-swiper .swiper-slide > .relative,
body.page-template-page-home #hero-swiper .swiper-slide > .relative,
#hero-swiper .swiper-slide > .relative {
  position: relative !important;
  justify-content: center !important;
  align-items: center !important;
  text-align: center !important;
}

body.home #hero-swiper .hero-slide-copy,
body.page-template-page-home #hero-swiper .hero-slide-copy,
#hero-swiper .hero-slide-copy {
  position: absolute !important;
  left: 50% !important;
  top: 50% !important;
  width: min(92vw, 920px) !important;
  transform: translate(-50%, -50%) !important;
  text-align: center !important;
  z-index: 2;
}

body.home #hero-swiper h1,
body.page-template-page-home #hero-swiper h1,
#hero-swiper h1 {
  font-size: clamp(46px, 5.8vw, 96px) !important;
  line-height: 0.98 !important;
  margin: 0 auto !important;
  max-width: 920px !important;
}

/* Hero copy text */
#hero-swiper .hero-slide-copy h1,
.dark #hero-swiper .hero-slide-copy h1 {
  color: #ffffff !important;
  text-shadow: 0 3px 24px rgba(0, 0, 0, 0.28);
}

#hero-swiper .hero-slide-copy p,
.dark #hero-swiper .hero-slide-copy p {
  color: rgba(255, 255, 255, 0.9) !important;
  opacity: 1 !important;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.24);
}

/* Hero CTA buttons */
body.home #hero-swiper .hero-slide-actions,
body.page-template-page-home #hero-swiper .hero-slide-actions,
#hero-swiper .hero-slide-actions {
  position: absolute !important;
  left: 50% !important;
  bottom: clamp(56px, 12vh, 150px) !important;
  width: min(78vw, 880px) !important;
  max-width: 880px !important;
  justify-content: center !important;
  transform: translateX(-50%) !important;
  z-index: 3;
}

#hero-swiper .hero-slide-actions a {
  min-width: min(280px, 42vw);
  border-radius: 0 !important;
}

@media (max-width: 767px) {
  body.home #hero-swiper .hero-slide-copy,
  body.page-template-page-home #hero-swiper .hero-slide-copy,
  #hero-swiper .hero-slide-copy {
    top: 50% !important;
    width: min(86vw, 460px) !important;
  }

  body.home #hero-swiper h1,
  body.page-template-page-home #hero-swiper h1,
  #hero-swiper h1 {
    font-size: clamp(34px, 9.6vw, 48px) !important;
    line-height: 1.08 !important;
    max-width: 460px !important;
  }

  body.home #hero-swiper .hero-slide-actions,
  body.page-template-page-home #hero-swiper .hero-slide-actions,
  #hero-swiper .hero-slide-actions {
    bottom: calc(env(safe-area-inset-bottom, 0px) + clamp(72px, 9svh, 112px)) !important;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    width: calc(100% - 32px) !important;
    max-width: 620px !important;
    gap: 10px !important;
  }

  #hero-swiper .hero-slide-actions a {
    align-items: center !important;
    display: flex !important;
    font-size: clamp(9px, 2.65vw, 11px) !important;
    justify-content: center !important;
    letter-spacing: clamp(0.08em, 0.7vw, 0.16em) !important;
    line-height: 1.15 !important;
    min-height: 50px !important;
    min-width: 0 !important;
    overflow-wrap: anywhere !important;
    padding: 12px 8px !important;
    text-align: center !important;
    white-space: normal !important;
    width: 100% !important;
  }
}

@media (max-width: 767px) and (max-height: 700px) {
  body.home #hero-swiper .hero-slide-actions,
  body.page-template-page-home #hero-swiper .hero-slide-actions,
  #hero-swiper .hero-slide-actions {
    bottom: calc(env(safe-area-inset-bottom, 0px) + 58px) !important;
  }
}

@media (max-width: 360px) {
  body.home #hero-swiper .hero-slide-actions,
  body.page-template-page-home #hero-swiper .hero-slide-actions,
  #hero-swiper .hero-slide-actions {
    grid-template-columns: 1fr !important;
    max-width: 280px !important;
  }
}


/* ====================================================================
   9. CATEGORY PANELS
   ==================================================================== */

.category-panel-title,
.dark .category-panel-title {
  color: #ffffff !important;
}

.group:hover .category-panel-title,
.dark .group:hover .category-panel-title {
  color: #d7c37b !important;
}

.archive-category-cover-gradient {
  background: linear-gradient(to top, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.2) 24%, rgba(0,0,0,0.05) 48%, rgba(0,0,0,0) 68%) !important;
}

.group:hover .archive-category-cover-gradient {
  background: linear-gradient(to top, rgba(0,0,0,0.58) 0%, rgba(0,0,0,0.24) 28%, rgba(0,0,0,0.06) 52%, rgba(0,0,0,0) 72%) !important;
}

.category-panel-title::after,
.dark .category-panel-title::after {
  background-color: #d7c37b !important;
}

.archive-category-cover-title,
.dark .archive-category-cover-title {
  color: #f6efe1 !important;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.36);
}


/* ====================================================================
   10. PRODUCT CARDS (Homepage + Archive)
   ==================================================================== */

.product-card-index {
  display: block;
}

/* Image area */
.product-card-index .home-product-media {
  background: #ffffff !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  isolation: isolate;
  transition: transform 260ms ease;
}

.product-card-index .home-product-media img {
  background: #ffffff !important;
  object-fit: contain !important;
}

/* Hover overlay gradient */
.product-card-index .home-product-media::after {
  background: linear-gradient(180deg, rgba(17,17,18,0) 42%, rgba(17,17,18,0.64) 100%);
  content: "";
  inset: 0;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  transition: opacity 260ms ease;
  z-index: 12;
}

@media (min-width: 768px) {
  .product-card-index:hover .home-product-media {
    transform: translateY(-2px);
  }

  .product-card-index:hover .home-product-media::after,
  .product-card-index:focus-within .home-product-media::after {
    opacity: 1;
  }
}

@media (max-width: 767px) {
  .product-card-index .home-product-media::after {
    display: none !important;
  }
}

/* Info area */
.product-card-index .home-product-info {
  padding-top: 12px !important;
}

.product-card-index .home-product-title-row {
  align-items: flex-start !important;
  display: grid !important;
  gap: 10px !important;
  grid-template-columns: minmax(0, 1fr) auto;
}

.product-card-index .home-product-title {
  color: var(--step31-text-primary) !important;
  font-family: var(--step31-font-sans);
  font-size: clamp(14px, 1.05vw, 17px);
  font-weight: 400 !important;
  letter-spacing: 0;
  line-height: 1.2;
  margin: 0;
  min-width: 0;
}

.product-card-index .home-product-price {
  color: var(--step31-gold) !important;
  flex-shrink: 0;
  font-family: var(--step31-font-sans);
  font-size: clamp(12px, 0.9vw, 14px);
  font-weight: 700 !important;
  line-height: 1.2;
  margin: 0;
  text-align: right;
  white-space: nowrap;
}

.product-card-index .home-product-price .amount,
.product-card-index .home-product-price bdi {
  color: inherit !important;
}

/* Swatches */
.product-card-index .home-product-swatches {
  gap: 7px !important;
  min-height: 12px;
  margin-top: 8px !important;
}

.product-card-index .home-product-swatch {
  border: 1px solid rgba(17,17,18,0.14) !important;
  height: 10px !important;
  width: 10px !important;
}

.product-card-index .home-product-more-colors {
  color: var(--step31-text-secondary);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

/* Dark mode card overrides */
.dark .product-card-index .home-product-media {
  background: #ffffff !important;
}

.dark .product-card-index .home-product-title {
  color: var(--step31-text-primary) !important;
}

/* Quick View button — desktop hover */
@media (min-width: 768px) {
  .product-card-index .home-product-quick-view {
    bottom: 50% !important;
    left: 50% !important;
    opacity: 0 !important;
    pointer-events: none !important;
    right: auto !important;
    transform: translate(-50%, 20px) !important;
    transition: opacity 260ms ease, transform 300ms cubic-bezier(0.22, 1, 0.36, 1) !important;
    width: max-content;
  }

  .product-card-index:hover .home-product-quick-view,
  .product-card-index:focus-within .home-product-quick-view {
    opacity: 1 !important;
    pointer-events: auto !important;
    transform: translate(-50%, 50%) !important;
  }

  .product-card-index .quick-view-btn {
    align-items: center;
    background: rgba(17, 17, 18, 0.94) !important;
    border: 1px solid rgba(17, 17, 18, 0.94) !important;
    border-radius: 0 !important;
    box-shadow: 0 18px 34px rgba(17, 17, 18, 0.18) !important;
    color: #ffffff !important;
    cursor: pointer;
    display: inline-flex;
    gap: 10px;
    min-height: 44px;
    padding: 0 22px !important;
    position: relative;
  }

  .product-card-index .quick-view-btn::before {
    content: "+" !important;
    font-family: var(--step31-font-sans) !important;
    font-size: 20px !important;
    font-weight: 300 !important;
    line-height: 1 !important;
    margin-top: -1px !important;
  }

  .product-card-index .quick-view-btn::after,
  .product-card-index .quick-view-btn-icon {
    display: none !important;
  }

  .product-card-index .quick-view-btn-label {
    color: inherit !important;
    font-size: 10px !important;
    letter-spacing: 0.2em !important;
  }

  .product-card-index .quick-view-btn:hover,
  .product-card-index .quick-view-btn:focus-visible,
  body.home .product-card-index .quick-view-btn:hover,
  body.home .product-card-index .quick-view-btn:focus-visible,
  body.page-template-page-home .product-card-index .quick-view-btn:hover,
  body.page-template-page-home .product-card-index .quick-view-btn:focus-visible {
    background: var(--step31-gold) !important;
    border-color: var(--step31-gold) !important;
    color: #ffffff !important;
    transform: translateY(-2px) !important;
  }

  .dark .product-card-index .quick-view-btn {
    background: rgba(17, 17, 18, 0.96) !important;
    border-color: rgba(245, 241, 232, 0.72) !important;
    color: #ffffff !important;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.42) !important;
  }

  .dark .product-card-index .quick-view-btn:hover,
  .dark .product-card-index .quick-view-btn:focus-visible {
    background: var(--step31-gold) !important;
    border-color: var(--step31-gold) !important;
    color: #ffffff !important;
  }
}

/* Quick View button — mobile pill */
@media (max-width: 767px) {
  .product-card-index .home-product-quick-view {
    bottom: 12px !important;
    display: flex !important;
    justify-content: flex-end !important;
    left: auto !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    right: 12px !important;
    transform: none !important;
    width: auto !important;
  }

  .product-card-index .quick-view-btn {
    align-items: center !important;
    background: #111112 !important;
    border: 1px solid #111112 !important;
    border-radius: 999px !important;
    box-shadow: 0 12px 24px rgba(17, 17, 18, 0.18) !important;
    color: #ffffff !important;
    cursor: pointer;
    display: inline-flex !important;
    height: 38px !important;
    justify-content: center !important;
    min-height: 38px !important;
    padding: 0 !important;
    width: 38px !important;
  }

  .product-card-index .quick-view-btn::before {
    content: "+" !important;
    font-size: 24px !important;
    font-weight: 300 !important;
    line-height: 1 !important;
    margin-top: -2px !important;
  }

  .product-card-index .quick-view-btn::after,
  .product-card-index .quick-view-btn-icon,
  .product-card-index .quick-view-btn-label {
    display: none !important;
  }

  .dark .product-card-index .quick-view-btn {
    background: #ffffff !important;
    border-color: #ffffff !important;
    color: #111112 !important;
  }

  .product-card-index .quick-view-btn:hover,
  .product-card-index .quick-view-btn:focus-visible,
  .dark .product-card-index .quick-view-btn:hover,
  .dark .product-card-index .quick-view-btn:focus-visible {
    background: var(--step31-gold) !important;
    border-color: var(--step31-gold) !important;
    color: #ffffff !important;
  }

  .product-card-index .home-product-info {
    padding-top: 10px !important;
  }

  .product-card-index .home-product-title {
    font-size: 14px;
  }

  .product-card-index .home-product-price {
    font-size: 12px;
  }

  .product-card-index .home-product-swatch {
    height: 8px !important;
    width: 8px !important;
  }
}


/* ====================================================================
   11. QUICK VIEW MODAL
   ==================================================================== */

/* Open states */
.quick-view-overlay.open {
  opacity: 1 !important;
  pointer-events: auto !important;
}

#quick-view-modal.quick-view-modal.open {
  opacity: 1 !important;
  pointer-events: auto !important;
  visibility: visible !important;
  transform: translate(-50%, -50%) scale(1) !important;
}

@media (max-width: 767px) {
  #quick-view-modal.quick-view-modal.open {
    transform: translateY(0) !important;
  }
}

/* Desktop layout */
@media (min-width: 768px) {
  #quick-view-modal.quick-view-modal {
    max-width: min(96vw, 1240px) !important;
    width: 92vw !important;
  }

  #quick-view-modal .quick-buy-header {
    min-height: 66px !important;
    padding-left: 28px !important;
    padding-right: 28px !important;
  }

  #quick-view-modal .quick-buy-body {
    display: grid !important;
    grid-template-columns: minmax(0, 1.28fr) minmax(390px, 0.95fr) !important;
    min-height: 600px !important;
  }

  #quick-view-modal .quick-buy-body > div:first-child {
    align-items: center !important;
    display: flex !important;
    height: auto !important;
    justify-content: center !important;
    padding: 30px 30px 34px !important;
    width: 100% !important;
  }

  #quick-view-image-area {
    aspect-ratio: 1 / 1 !important;
    background: #ffffff !important;
    border: 1px solid rgba(17, 17, 18, 0.04) !important;
    box-sizing: border-box !important;
    max-height: calc(88vh - 150px) !important;
    max-width: min(100%, 610px) !important;
    overflow: hidden !important;
    width: 100% !important;
  }

  #quick-view-modal .quick-view-swiper,
  #quick-view-modal .quick-view-swiper .swiper-wrapper,
  #quick-view-modal .quick-view-swiper .swiper-slide {
    background: #ffffff !important;
    height: 100% !important;
  }

  #quick-view-modal .quick-view-swiper img {
    height: 100% !important;
    object-fit: contain !important;
    padding: 22px 18px 46px !important;
    width: 100% !important;
  }

  #quick-view-modal .quick-view-swiper-pagination {
    bottom: 18px !important;
  }

  #quick-view-modal .quick-buy-body > div:last-child {
    display: flex !important;
    padding: 26px 28px 24px !important;
    width: 100% !important;
  }

  #quick-view-title {
    font-size: clamp(30px, 2.35vw, 42px) !important;
    line-height: 1.02 !important;
    margin-bottom: 8px !important;
    max-width: 12.5em !important;
  }

  #quick-view-price {
    font-size: 19px !important;
    line-height: 1.1 !important;
    margin-bottom: 8px !important;
  }

  #quick-view-description {
    display: block !important;
    font-size: 14px !important;
    line-height: 1.45 !important;
    margin-top: 8px !important;
    max-width: 54ch !important;
  }

  #quick-view-modal .space-y-6 > :not([hidden]) ~ :not([hidden]) {
    margin-top: 14px !important;
  }

  #quick-view-colors { gap: 10px !important; }
  #quick-view-modal .qv-color { height: 30px !important; width: 30px !important; }
  #quick-view-sizes {
    gap: 8px !important;
    grid-template-columns: repeat(4, minmax(62px, 1fr)) !important;
  }

  #quick-view-modal .qv-size { min-height: 38px !important; padding: 0 8px !important; }
  #quick-view-modal .mt-6.pt-4 { margin-top: 18px !important; padding-top: 14px !important; }

  #quick-view-modal .quick-view-add-cart,
  #quick-view-cta,
  #quick-view-view-details {
    align-items: center !important;
    display: flex !important;
    justify-content: center !important;
    min-height: 44px !important;
  }
}

/* Mobile layout */
@media (max-width: 767px) {
  #quick-view-modal.quick-view-modal {
    max-height: calc(100dvh - 20px) !important;
  }

  #quick-view-image-area,
  #quick-view-modal .quick-buy-body > div:first-child {
    min-height: 285px !important;
    background: #f3f4f4 !important;
  }

  #quick-view-image-area {
    width: 100% !important;
    max-width: none !important;
    height: clamp(190px, 30dvh, 285px) !important;
    aspect-ratio: auto !important;
    overflow: hidden !important;
    border-radius: 0 !important;
  }

  #quick-view-modal .quick-view-swiper,
  #quick-view-modal .quick-view-swiper .swiper-wrapper,
  #quick-view-modal .quick-view-swiper .swiper-slide {
    height: 100% !important;
    min-height: 285px !important;
  }

  #quick-view-modal .quick-view-swiper .swiper-slide {
    background: #f3f4f4 !important;
  }

  #quick-view-modal .quick-view-swiper img {
    width: min(68vw, 340px) !important;
    height: auto !important;
    max-height: 235px !important;
    object-fit: contain !important;
    padding: 18px 44px 60px !important;
  }

  #quick-view-modal .quick-view-swiper-pagination {
    bottom: 22px !important;
  }

  #quick-view-modal .quick-buy-header {
    justify-content: center !important;
    min-height: 58px !important;
    position: relative !important;
    text-align: center !important;
  }

  #quick-view-modal .quick-buy-header p {
    color: #111112 !important;
    font-size: 12px !important;
    letter-spacing: 0.28em !important;
  }

  #quick-view-close {
    position: absolute !important;
    right: 18px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
  }

  #quick-view-modal .quick-buy-body > div:last-child {
    background: #f3f4f4 !important;
    border-top-color: rgba(17, 17, 18, 0.12) !important;
    padding: 0 20px 16px !important;
  }

  #quick-view-modal .quick-buy-body > div:last-child > .mb-4 {
    margin: 0 -20px !important;
    padding: 10px 20px 12px !important;
    text-align: center !important;
    border-bottom: 1px solid rgba(17, 17, 18, 0.14) !important;
  }

  #quick-view-title {
    font-family: var(--step31-font-serif) !important;
    font-size: 24px !important;
    letter-spacing: 0 !important;
    line-height: 1.12 !important;
    text-transform: none !important;
  }

  #quick-view-price {
    color: var(--step31-gold) !important;
    font-size: 15px !important;
    font-weight: 800 !important;
    letter-spacing: 0.06em !important;
  }

  #quick-view-description,
  #quick-view-modal .quick-buy-body > div:last-child > hr {
    display: none !important;
  }

  #quick-view-modal .space-y-6 { padding-top: 12px !important; }
  #quick-view-modal .space-y-6 > :not([hidden]) ~ :not([hidden]) { margin-top: 12px !important; }
  #quick-view-modal .mt-6.pt-4 { margin-top: 12px !important; padding-top: 12px !important; }
  #quick-view-colors { gap: 10px !important; }
  #quick-view-modal .qv-color { height: 34px !important; width: 34px !important; }
  #quick-view-sizes { gap: 8px !important; }
  #quick-view-modal .qv-size { min-height: 44px !important; padding: 0 !important; }

  .dark #quick-view-modal .quick-buy-header,
  .dark #quick-view-modal .quick-buy-body > div:first-child,
  .dark #quick-view-image-area,
  .dark #quick-view-modal .quick-view-swiper .swiper-slide,
  .dark #quick-view-modal .quick-buy-body > div:last-child {
    background: #171719 !important;
  }

  .dark #quick-view-modal .quick-buy-header p,
  .dark #quick-view-modal .quick-view-swiper-prev,
  .dark #quick-view-modal .quick-view-swiper-next {
    color: #ffffff !important;
  }
}

/* QV arrows */
#quick-view-modal .quick-view-swiper-prev,
#quick-view-modal .quick-view-swiper-next {
  width: 38px !important;
  height: 38px !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, 0.92) !important;
  border: 1px solid rgba(17, 17, 18, 0.12) !important;
  color: #111112 !important;
  box-shadow: 0 12px 28px rgba(17, 17, 18, 0.16) !important;
  margin-top: 0 !important;
  transform: translateY(-50%) !important;
}

#quick-view-modal .quick-view-swiper-prev::after,
#quick-view-modal .quick-view-swiper-next::after {
  font-size: 16px !important;
  font-weight: 700 !important;
}

#quick-view-modal .quick-view-swiper-prev { left: 12px !important; }
#quick-view-modal .quick-view-swiper-next { right: 12px !important; }

@media (max-width: 767px) {
  #quick-view-modal .quick-view-swiper-prev,
  #quick-view-modal .quick-view-swiper-next {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    color: #111112 !important;
    top: 50% !important;
  }

  #quick-view-modal .quick-view-swiper-prev { left: 16px !important; }
  #quick-view-modal .quick-view-swiper-next { right: 16px !important; }
}

/* QV pagination dots */
#quick-view-modal .quick-view-swiper-pagination .swiper-pagination-bullet {
  background: #9aa1aa !important;
  box-shadow: 0 0 0 1px rgba(17, 17, 18, 0.12) !important;
  opacity: 1 !important;
}

#quick-view-modal .quick-view-swiper-pagination .swiper-pagination-bullet-active,
.dark #quick-view-modal .quick-view-swiper-pagination .swiper-pagination-bullet-active {
  background: var(--step31-gold) !important;
  box-shadow: 0 0 0 1px rgba(17, 17, 18, 0.08) !important;
  opacity: 1 !important;
}

.dark #quick-view-modal .quick-view-swiper-pagination .swiper-pagination-bullet {
  background: #a7adb6 !important;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.22) !important;
  opacity: 1 !important;
}

/* QV price & description */
#quick-view-price,
#quick-view-price .amount,
#quick-view-price bdi,
.dark #quick-view-price,
.dark #quick-view-price .amount,
.dark #quick-view-price bdi {
  color: var(--step31-gold) !important;
}

#quick-view-description {
  color: var(--step31-text-body) !important;
}

/* QV color swatches */
.qv-color,
.dark .qv-color,
button.qv-color,
.dark button.qv-color {
  background: var(--qv-swatch-color) !important;
  background-color: var(--qv-swatch-color) !important;
  border: 1px solid rgba(255, 255, 255, 0.28) !important;
  box-shadow: none !important;
  transition: transform 0.15s ease !important;
}

.qv-color:hover,
button.qv-color:hover {
  transform: scale(1.05);
}

.qv-color.ring-2,
.dark .qv-color.ring-2 {
  box-shadow: 0 0 0 2px var(--qv-swatch-color), 0 0 0 5px var(--step31-gold) !important;
}

/* QV size buttons */
.qv-size {
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    transform 120ms ease !important;
}

.qv-size {
  background: transparent !important;
  color: var(--step31-text-primary) !important;
}

.qv-size:hover {
  border-color: var(--step31-gold) !important;
  background: rgba(185, 163, 90, 0.10) !important;
  transform: translateY(-1px);
}

.qv-size.border-primary,
.qv-size.bg-primary,
.qv-size.ring-2,
.qv-size.border-2 {
  background: var(--step31-gold) !important;
  border-color: var(--step31-gold) !important;
  color: #ffffff !important;
}

.dark .qv-size {
  background: transparent !important;
  border: 1px solid rgba(185, 163, 90, 0.35) !important;
  color: var(--step31-text-primary) !important;
}

.dark .qv-size.border-primary,
.dark .qv-size.bg-primary,
.dark .qv-size.ring-2,
.dark .qv-size.border-2 {
  background: var(--step31-gold) !important;
  border-color: var(--step31-gold) !important;
  color: #ffffff !important;
}

/* QV CTA buttons */
#quick-view-modal .quick-view-add-cart,
#quick-view-cta,
.dark #quick-view-modal .quick-view-add-cart,
.dark #quick-view-cta {
  background: var(--step31-gold) !important;
  border: 1px solid var(--step31-gold) !important;
  border-radius: 0 !important;
  color: #ffffff !important;
}

#quick-view-modal .quick-view-add-cart:hover,
#quick-view-modal .quick-view-add-cart:focus-visible,
#quick-view-cta:hover,
#quick-view-cta:focus-visible {
  background: #1A1A1A !important;
  border-color: #1A1A1A !important;
  color: #ffffff !important;
}

.dark #quick-view-modal .quick-view-add-cart:hover,
.dark #quick-view-modal .quick-view-add-cart:focus-visible,
.dark #quick-view-cta:hover,
.dark #quick-view-cta:focus-visible {
  background: #ffffff !important;
  border-color: #ffffff !important;
  color: #111112 !important;
}

#quick-view-view-details {
  align-items: center !important;
  display: flex !important;
  justify-content: center !important;
  line-height: 1 !important;
  min-height: 44px !important;
  padding: 0 18px !important;
  border-radius: 0 !important;
  transition: all 0.2s ease !important;
}

#quick-view-view-details:hover,
#quick-view-view-details:focus-visible {
  background: #1A1A1A !important;
  border-color: #1A1A1A !important;
  color: #ffffff !important;
  box-shadow: 0 14px 32px rgba(17, 17, 18, 0.16) !important;
  transform: translateY(-1px);
}

.dark #quick-view-view-details:hover,
.dark #quick-view-view-details:focus-visible {
  background: #ffffff !important;
  border-color: #ffffff !important;
  color: #111112 !important;
}

#quick-view-size-guide:hover {
  background: transparent !important;
  border-color: currentColor !important;
  color: inherit !important;
  box-shadow: none !important;
}


/* ====================================================================
   12. SHOP ARCHIVE — TOOLBAR
   ==================================================================== */

body.post-type-archive-product main > section:first-of-type,
body.tax-product_cat main > section:first-of-type {
  padding-top: clamp(34px, 4vw, 58px) !important;
  padding-bottom: clamp(34px, 4vw, 58px) !important;
}

@media (min-width: 768px) {
  body.post-type-archive-product main > section:nth-of-type(2),
  body.tax-product_cat main > section:nth-of-type(2) {
    background: #ffffff !important;
    border-top: 1px solid rgba(17, 17, 18, 0.10) !important;
    border-bottom: 1px solid rgba(17, 17, 18, 0.10) !important;
    margin-bottom: 32px !important;
    padding: 0 !important;
  }

  .dark body.post-type-archive-product main > section:nth-of-type(2),
  .dark body.tax-product_cat main > section:nth-of-type(2) {
    background: #121212 !important;
    border-color: rgba(245, 241, 232, 0.13) !important;
  }

  body.post-type-archive-product .archive-shop-toolbar,
  body.tax-product_cat .archive-shop-toolbar {
    align-items: stretch !important;
    background: #ffffff !important;
    display: grid !important;
    grid-template-columns: minmax(240px, 320px) minmax(0, 1fr) minmax(240px, 360px) !important;
    min-height: 68px !important;
    width: 100%;
  }

  .dark body.post-type-archive-product .archive-shop-toolbar,
  .dark body.tax-product_cat .archive-shop-toolbar {
    background: #121212 !important;
  }

  /* View switcher */
  body.post-type-archive-product .archive-view-switcher,
  body.tax-product_cat .archive-view-switcher {
    align-items: center !important;
    align-self: stretch !important;
    border-right: 1px solid rgba(17, 17, 18, 0.10) !important;
    display: flex !important;
    justify-content: flex-start !important;
    padding: 0 16px !important;
  }

  .dark body.post-type-archive-product .archive-view-switcher,
  .dark body.tax-product_cat .archive-view-switcher {
    border-color: rgba(245, 241, 232, 0.13) !important;
  }

  body.post-type-archive-product .archive-view-options,
  body.tax-product_cat .archive-view-options {
    align-items: stretch !important;
    display: flex !important;
    gap: 4px !important;
    height: 100% !important;
  }

  body.post-type-archive-product .archive-layout-btn,
  body.tax-product_cat .archive-layout-btn {
    align-items: center !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    color: rgba(17, 17, 18, 0.36) !important;
    cursor: pointer;
    display: inline-flex !important;
    height: 68px !important;
    justify-content: center !important;
    min-width: 56px !important;
    padding: 0 !important;
    transform: none !important;
    width: 56px !important;
  }

  body.post-type-archive-product .archive-layout-btn.is-active,
  body.tax-product_cat .archive-layout-btn.is-active {
    background: rgba(185, 163, 90, 0.08) !important;
    box-shadow: inset 0 0 0 1px rgba(185, 163, 90, 0.38) !important;
    color: var(--step31-gold) !important;
  }

  body.post-type-archive-product .archive-layout-btn:hover,
  body.post-type-archive-product .archive-layout-btn:focus-visible,
  body.tax-product_cat .archive-layout-btn:hover,
  body.tax-product_cat .archive-layout-btn:focus-visible {
    background: rgba(185, 163, 90, 0.06) !important;
    box-shadow: inset 0 0 0 1px rgba(185, 163, 90, 0.30) !important;
    color: var(--step31-gold) !important;
    outline: 0 !important;
    transform: none !important;
  }

  .dark body.post-type-archive-product .archive-layout-btn,
  .dark body.tax-product_cat .archive-layout-btn {
    color: rgba(245, 241, 232, 0.38) !important;
  }

  /* Products count — centered */
  body.post-type-archive-product .archive-products-count,
  body.tax-product_cat .archive-products-count {
    align-items: center !important;
    align-self: stretch !important;
    color: rgba(17, 17, 18, 0.74) !important;
    display: flex !important;
    font-family: var(--step31-font-sans) !important;
    font-size: 11px !important;
    font-weight: 400 !important;
    gap: 0.55em !important;
    justify-content: center !important;
    letter-spacing: 0.14em !important;
    line-height: 1 !important;
    padding: 0 24px !important;
    text-align: center !important;
    text-transform: uppercase !important;
    white-space: nowrap !important;
  }

  .dark body.post-type-archive-product .archive-products-count,
  .dark body.tax-product_cat .archive-products-count {
    color: rgba(245, 241, 232, 0.74) !important;
  }

  body.post-type-archive-product .archive-products-count span,
  body.tax-product_cat .archive-products-count span {
    color: inherit !important;
    font: inherit !important;
    letter-spacing: inherit !important;
    padding: 0 !important;
  }

  /* Toolbar actions */
  body.post-type-archive-product .archive-toolbar-actions,
  body.tax-product_cat .archive-toolbar-actions {
    align-items: stretch !important;
    align-self: stretch !important;
    border-left: 1px solid rgba(17, 17, 18, 0.10) !important;
    display: flex !important;
    justify-content: flex-end !important;
  }

  .dark body.post-type-archive-product .archive-toolbar-actions,
  .dark body.tax-product_cat .archive-toolbar-actions {
    border-color: rgba(245, 241, 232, 0.13) !important;
  }

  body.post-type-archive-product .archive-toolbar-action,
  body.tax-product_cat .archive-toolbar-action {
    align-items: center !important;
    align-self: stretch !important;
    background: transparent !important;
    border: 0 !important;
    border-left: 1px solid rgba(17, 17, 18, 0.10) !important;
    border-radius: 0 !important;
    color: var(--step31-text-body) !important;
    cursor: pointer;
    display: inline-flex;
    font-family: var(--step31-font-sans) !important;
    font-weight: 400 !important;
    gap: 11px !important;
    min-height: 68px !important;
    min-width: 138px !important;
    padding: 0 20px !important;
    transition: color 0.18s ease;
  }

  .dark body.post-type-archive-product .archive-toolbar-action,
  .dark body.tax-product_cat .archive-toolbar-action {
    border-color: rgba(245, 241, 232, 0.13) !important;
    color: rgba(245, 241, 232, 0.78) !important;
  }

  body.post-type-archive-product .archive-toolbar-action:hover,
  body.post-type-archive-product .archive-toolbar-action:focus-visible,
  body.tax-product_cat .archive-toolbar-action:hover,
  body.tax-product_cat .archive-toolbar-action:focus-visible {
    color: var(--step31-gold) !important;
    outline: 0 !important;
  }

  body.post-type-archive-product .archive-action-label,
  body.tax-product_cat .archive-action-label,
  body.post-type-archive-product .archive-sort-current,
  body.tax-product_cat .archive-sort-current {
    font-family: var(--step31-font-sans) !important;
    font-size: 11px !important;
    font-weight: 400 !important;
    letter-spacing: 0.14em !important;
  }
}

/* Sort dropdown */
body.post-type-archive-product .sort-dropdown-menu,
body.tax-product_cat .sort-dropdown-menu {
  border-radius: 0 !important;
  min-width: 260px !important;
  padding: 6px 0 !important;
  z-index: 130 !important;
}

.dark body.post-type-archive-product .sort-dropdown-menu,
.dark body.tax-product_cat .sort-dropdown-menu {
  background: #141416 !important;
  border-color: rgba(245, 241, 232, 0.14) !important;
}

body.post-type-archive-product .sort-dropdown-menu a,
body.tax-product_cat .sort-dropdown-menu a {
  background: transparent !important;
  color: rgba(17, 17, 18, 0.76) !important;
  display: block !important;
  font-family: var(--step31-font-sans) !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  letter-spacing: 0 !important;
  line-height: 1.35 !important;
  padding: 12px 20px !important;
  transition: background-color 160ms ease, color 160ms ease !important;
}

.dark body.post-type-archive-product .sort-dropdown-menu a,
.dark body.tax-product_cat .sort-dropdown-menu a {
  color: rgba(245, 241, 232, 0.78) !important;
}

body.post-type-archive-product .sort-dropdown-menu a:hover,
body.post-type-archive-product .sort-dropdown-menu a:focus-visible,
body.tax-product_cat .sort-dropdown-menu a:hover,
body.tax-product_cat .sort-dropdown-menu a:focus-visible {
  background: rgba(185, 163, 90, 0.10) !important;
  color: #111112 !important;
  outline: 0 !important;
}

.dark body.post-type-archive-product .sort-dropdown-menu a:hover,
.dark body.tax-product_cat .sort-dropdown-menu a:hover {
  background: rgba(185, 163, 90, 0.14) !important;
  color: #f5f1e8 !important;
}

body.post-type-archive-product .sort-dropdown-menu a.is-active,
body.tax-product_cat .sort-dropdown-menu a.is-active {
  background: transparent !important;
  color: var(--step31-gold) !important;
}

/* Archive product grid */
body.post-type-archive-product #archive-product-grid,
body.tax-product_cat #archive-product-grid {
  row-gap: clamp(42px, 4vw, 72px) !important;
  position: relative;
  z-index: 1;
}

body.post-type-archive-product #archive-product-grid .product-card-index .home-product-media,
body.tax-product_cat #archive-product-grid .product-card-index .home-product-media {
  background: #ffffff !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
}

body.post-type-archive-product #archive-product-grid .product-card-index .home-product-media img,
body.tax-product_cat #archive-product-grid .product-card-index .home-product-media img {
  background: transparent !important;
  object-fit: contain !important;
  padding: 0 !important;
}

@media (min-width: 1280px) {
  body.post-type-archive-product #archive-product-grid.archive-layout-four,
  body.tax-product_cat #archive-product-grid.archive-layout-four {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }

  body.post-type-archive-product #archive-product-grid.archive-layout-six,
  body.tax-product_cat #archive-product-grid.archive-layout-six {
    grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
  }
}

/* Archive loading overlay */
#archive-grid-loading {
  align-items: flex-start !important;
  background: rgba(255, 255, 255, 0.20) !important;
  backdrop-filter: blur(1px) !important;
  justify-content: center !important;
  padding-top: 30vh !important;
}

.dark #archive-grid-loading {
  background: rgba(0, 0, 0, 0.18) !important;
}

#archive-grid-loading .archive-loading-panel {
  align-items: center !important;
  background: rgba(255, 255, 255, 0.96) !important;
  border: 1px solid rgba(17, 17, 18, 0.10) !important;
  border-radius: 0 !important;
  box-shadow: 0 18px 42px rgba(17, 17, 18, 0.10) !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
  min-width: 184px !important;
  padding: 18px 22px !important;
}

.dark #archive-grid-loading .archive-loading-panel {
  background: rgba(20, 20, 22, 0.96) !important;
  border-color: rgba(245, 241, 232, 0.14) !important;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.30) !important;
}

/* Loading line animation */
.archive-loading-line {
  background: rgba(17, 17, 18, 0.12);
  display: block;
  height: 1px;
  overflow: hidden;
  position: relative;
  width: 78px;
}

.dark .archive-loading-line {
  background: rgba(245, 241, 232, 0.18);
}

.archive-loading-line::after {
  animation: step31-loading-line 900ms ease-in-out infinite;
  background: var(--step31-gold);
  content: "";
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  transform: translateX(-110%);
  width: 54%;
}

.archive-loading-label {
  color: rgba(17, 17, 18, 0.70);
  font-family: var(--step31-font-sans);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.dark .archive-loading-label {
  color: rgba(245, 241, 232, 0.78);
}

@keyframes step31-loading-line {
  0%   { transform: translateX(-110%); }
  100% { transform: translateX(210%); }
}

/* Filter drawer */
#filter-drawer-panel [data-archive-collection-link],
#filter-drawer-panel .filter-option-label,
#filter-drawer-panel .accordion-trigger {
  border-radius: 0 !important;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease !important;
}

#filter-drawer-panel [data-archive-collection-link]:hover,
#filter-drawer-panel [data-archive-collection-link]:focus-visible,
#filter-drawer-panel .filter-option-type:hover,
#filter-drawer-panel .filter-option-type:focus-within,
#filter-drawer-panel .accordion-trigger:hover,
#filter-drawer-panel .accordion-trigger:focus-visible {
  background: rgba(185, 163, 90, 0.08) !important;
  color: var(--step31-gold) !important;
  outline: 0 !important;
}

#filter-drawer-apply {
  background: var(--step31-gold) !important;
  border-radius: 0 !important;
  color: #ffffff !important;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s !important;
}

#filter-drawer-apply:hover {
  background: #1A1A1A !important;
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(21, 24, 33, 0.16) !important;
}

/* Prevent card hover behind open filter drawer */
body.filter-drawer-is-open #filter-drawer-overlay {
  z-index: 9998 !important;
  background: rgba(0, 0, 0, 0.55) !important;
}

body.filter-drawer-is-open #filter-drawer-panel {
  z-index: 9999 !important;
}

body.filter-drawer-is-open #archive-product-grid,
body.filter-drawer-is-open #archive-product-grid * {
  pointer-events: none !important;
}

body.filter-drawer-is-open #archive-product-grid .home-product-quick-view,
body.filter-drawer-is-open #archive-product-grid .quick-view-btn,
body.filter-drawer-is-open #archive-product-grid .button {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

/* Archive: shop/category white background in light mode */
body.post-type-archive-product:not(.dark),
body.tax-product_cat:not(.dark),
html:not(.dark) body.post-type-archive-product,
html:not(.dark) body.tax-product_cat,
html:not(.dark) body.post-type-archive-product #page,
html:not(.dark) body.tax-product_cat #page,
html:not(.dark) body.post-type-archive-product main,
html:not(.dark) body.tax-product_cat main,
html:not(.dark) body.post-type-archive-product section,
html:not(.dark) body.tax-product_cat section {
  background: #FFFFFF !important;
}

html.dark body.post-type-archive-product,
html.dark body.tax-product_cat,
html.dark body.post-type-archive-product #page,
html.dark body.tax-product_cat #page,
html.dark body.post-type-archive-product main,
html.dark body.tax-product_cat main,
html.dark body.post-type-archive-product section,
html.dark body.tax-product_cat section {
  background: #121212 !important;
  background-color: #121212 !important;
}

/* Mobile archive toolbar */
@media (max-width: 767px) {
  #archive-toolbar-section .archive-mobile-toolbar {
    background: rgba(249, 247, 242, 0.92) !important;
    border-color: rgba(17, 17, 18, 0.12) !important;
    border-left: 0 !important;
    border-radius: 0 !important;
    border-right: 0 !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 116px !important;
    min-height: 56px !important;
  }

  .dark #archive-toolbar-section .archive-mobile-toolbar {
    background: rgba(18, 18, 18, 0.92) !important;
    border-color: rgba(245, 241, 232, 0.14) !important;
  }

  #archive-toolbar-section .archive-mobile-view-switcher .archive-layout-btn.is-active,
  .dark #archive-toolbar-section .archive-mobile-view-switcher .archive-layout-btn.is-active {
    color: var(--step31-gold) !important;
  }

  body.post-type-archive-product #archive-product-grid.archive-layout-list,
  body.tax-product_cat #archive-product-grid.archive-layout-list {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  body.post-type-archive-product #archive-product-grid.archive-layout-grid,
  body.tax-product_cat #archive-product-grid.archive-layout-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}


/* ====================================================================
   13. SINGLE PRODUCT PAGE
   ==================================================================== */

.single-product .step31-single-product {
  color: var(--step31-text-primary);
  max-width: 1420px !important;
}

.dark .single-product,
.dark .step31-single-product {
  background: var(--step31-bg) !important;
  color: var(--step31-text-primary) !important;
}

.single-product .product_title {
  font-size: clamp(30px, 2.4vw, 42px) !important;
  line-height: 1.05 !important;
  margin-bottom: 8px !important;
  color: var(--step31-text-primary) !important;
  letter-spacing: -0.02em;
}

.single-product .price {
  font-size: clamp(18px, 1.35vw, 24px) !important;
  font-weight: 700 !important;
  color: var(--step31-gold) !important;
}

.single-product .price del {
  font-size: 0.78em !important;
  opacity: 0.38 !important;
  text-decoration-thickness: 1px !important;
  margin-right: 12px !important;
  color: var(--step31-text-secondary) !important;
}

.single-product .price ins {
  text-decoration: none !important;
  color: var(--step31-gold) !important;
}

/* Gallery */
.step31-product-gallery,
.step31-product-slide,
.step31-gallery-thumb {
  background: #f8f8f6 !important;
}

.dark .step31-product-gallery,
.dark .step31-product-slide,
.dark .step31-gallery-thumb {
  background: #151516 !important;
}

.step31-gallery-thumb {
  border: 1px solid var(--step31-border) !important;
  transition: border-color 180ms ease, opacity 180ms ease, transform 180ms ease;
}

.step31-gallery-thumb:hover {
  border-color: var(--step31-gold) !important;
  transform: translateY(-1px);
}

.step31-gallery-thumb.active {
  border: 2px solid var(--step31-gold) !important;
}

/* Single product color swatches */
.single-color-btn.step31-color-swatch,
.dark .single-color-btn.step31-color-swatch {
  background: var(--single-swatch-color) !important;
  background-color: var(--single-swatch-color) !important;
  border: 1px solid rgba(255, 255, 255, 0.30) !important;
  box-shadow: none !important;
  transition: transform 180ms ease, box-shadow 180ms ease !important;
}

.single-color-btn.step31-color-swatch:hover {
  transform: scale(1.08);
}

.single-color-btn.step31-color-swatch.selected,
.dark .single-color-btn.step31-color-swatch.selected {
  box-shadow: 0 0 0 2px var(--step31-bg), 0 0 0 4px var(--step31-gold) !important;
}

/* Single product size buttons */
.single-size-btn {
  background: transparent !important;
  border: 1px solid var(--step31-border) !important;
  color: var(--step31-text-primary) !important;
  min-height: 46px !important;
  transition: all 180ms ease !important;
}

.single-size-btn:hover {
  border-color: var(--step31-gold) !important;
  background: rgba(185, 163, 90, 0.08) !important;
  transform: translateY(-1px);
}

.single-size-btn.selected,
.single-size-btn[aria-pressed="true"] {
  background: var(--step31-gold) !important;
  border-color: var(--step31-gold) !important;
  color: #ffffff !important;
}

.dark .single-size-btn {
  border-color: rgba(185, 163, 90, 0.32) !important;
  color: var(--step31-text-primary) !important;
}

/* Single product CTAs */
.step31-cta-primary,
.dark .step31-cta-primary {
  background: var(--step31-gold) !important;
  border: 1px solid var(--step31-gold) !important;
  border-radius: 0 !important;
  color: #ffffff !important;
  box-shadow: 0 14px 28px rgba(185, 163, 90, 0.18) !important;
  min-height: 48px !important;
  transition: all 220ms ease !important;
}

.step31-cta-primary:hover,
.dark .step31-cta-primary:hover {
  background: #1A1A1A !important;
  border-color: #1A1A1A !important;
  color: #ffffff !important;
  transform: translateY(-1px);
}

.step31-cta-secondary {
  background: transparent !important;
  border: 1px solid rgba(26, 26, 26, 0.22) !important;
  border-radius: 0 !important;
  color: var(--step31-text-primary) !important;
  min-height: 48px !important;
  transition: all 220ms ease !important;
}

.step31-cta-secondary:hover {
  border-color: var(--step31-gold) !important;
  color: var(--step31-gold) !important;
  background: rgba(185, 163, 90, 0.06) !important;
  transform: translateY(-1px);
}

.dark .step31-cta-secondary {
  border-color: rgba(255, 255, 255, 0.20) !important;
  color: var(--step31-text-primary) !important;
}

/* Related products */
.step31-related-card {
  background: #ffffff !important;
  border: 1px solid #eee7d6 !important;
  padding: 18px !important;
  transition: all 220ms ease !important;
}

.step31-related-card:hover {
  transform: translateY(-4px);
  border-color: rgba(185, 163, 90, 0.36);
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.08);
}

.dark .step31-related-card {
  background: #171718 !important;
  border-color: rgba(185, 163, 90, 0.18) !important;
}

/* Stock badge */
.step31-stock-badge {
  display: none !important;
}


/* ====================================================================
   14. FULLSCREEN GALLERY MODAL
   ==================================================================== */

.step31-gallery-modal {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(17, 17, 18, 0.82);
  backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
}

.step31-gallery-modal.open {
  opacity: 1;
  pointer-events: auto;
}

.step31-gallery-close,
.step31-gallery-prev,
.step31-gallery-next {
  width: 56px;
  height: 56px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: #1A1A1A;
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  transition: all 0.22s ease;
  position: absolute;
  z-index: 20;
  padding: 0 !important;
  cursor: pointer;
}

.step31-gallery-close:hover,
.step31-gallery-prev:hover,
.step31-gallery-next:hover {
  background: #ffffff;
  transform: scale(1.04);
}

.step31-gallery-close {
  top: calc(7vh + 18px);
  right: calc((100vw - min(760px, 82vw)) / 2 + 18px);
}

.step31-gallery-prev,
.step31-gallery-next {
  top: 50%;
  transform: translateY(-50%);
}

.step31-gallery-prev:hover,
.step31-gallery-next:hover {
  transform: translateY(-50%) scale(1.04);
}

.step31-gallery-prev { left: calc((100vw - min(760px, 82vw)) / 2 + 28px); }
.step31-gallery-next { right: calc((100vw - min(760px, 82vw)) / 2 + 28px); }

@media (max-width: 768px) {
  .step31-gallery-close { top: 24px; right: 20px; }
  .step31-gallery-prev  { left: 20px; }
  .step31-gallery-next  { right: 20px; }
}


/* ====================================================================
   15. MINI CART PANEL
   ==================================================================== */

/* Panel shell */
#mini-cart-panel {
  background: #ffffff !important;
  display: flex !important;
  flex-direction: column !important;
  overflow: hidden !important;
  max-width: 473px !important;
  width: min(38vw, 473px) !important;
}

@media (max-width: 767px) {
  #mini-cart-panel {
    width: 90vw !important;
    max-width: 90vw !important;
  }
}

/* Panel header */
#mini-cart-panel > div:first-of-type {
  background: #ffffff !important;
  border-bottom: 1px solid rgba(17, 17, 18, 0.08) !important;
  flex: 0 0 auto !important;
  padding: 16px 22px 12px !important;
}

#mini-cart-panel h2 {
  color: #111112 !important;
  font-size: clamp(20px, 1.3vw, 24px) !important;
  font-weight: 400 !important;
  line-height: 1 !important;
  margin: 0 !important;
}

/* Close button */
#mini-cart-close {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  color: #111112 !important;
  min-height: 44px !important;
  min-width: 44px !important;
  transition: color 0.2s !important;
}

#mini-cart-close:hover,
#mini-cart-close:focus-visible {
  color: var(--step31-gold) !important;
}

/* Scrollable product list */
#mini-cart-content {
  display: flex !important;
  flex: 1 1 auto !important;
  flex-direction: column !important;
  min-height: 0 !important;
  overflow: hidden !important;
  padding: 0 !important;
}

#mini-cart-content > .woocommerce-mini-cart {
  flex: 1 1 auto !important;
  min-height: 0 !important;
  overflow-y: auto !important;
  overscroll-behavior: contain;
  padding: 18px 22px 12px !important;
  scrollbar-color: rgba(148, 163, 184, 0.55) transparent;
  scrollbar-width: thin;
}

#mini-cart-content > .woocommerce-mini-cart::-webkit-scrollbar { width: 6px; }
#mini-cart-content > .woocommerce-mini-cart::-webkit-scrollbar-thumb {
  background: rgba(148, 163, 184, 0.5);
  border-radius: 999px;
}

/* Cart items */
#mini-cart-panel .woocommerce-mini-cart-item {
  align-items: center !important;
  border-bottom: 1px solid rgba(17, 17, 18, 0.08) !important;
  display: grid !important;
  gap: 18px !important;
  grid-template-columns: 112px minmax(0, 1fr) !important;
  margin: 0 !important;
  padding: 0 0 18px !important;
}

#mini-cart-panel .woocommerce-mini-cart-item + .woocommerce-mini-cart-item {
  margin-top: 18px !important;
}

#mini-cart-panel .woocommerce-mini-cart-item > div:first-child {
  background: #f7f7f7 !important;
  align-self: center !important;
  height: 112px !important;
  width: 112px !important;
}

#mini-cart-panel .woocommerce-mini-cart-item img {
  height: 100% !important;
  object-fit: contain !important;
  padding: 8px !important;
  width: 100% !important;
}

#mini-cart-panel .woocommerce-mini-cart-item h3 {
  color: #111112 !important;
  font-family: var(--step31-font-sans) !important;
  font-size: 15px !important;
  font-weight: 500 !important;
  line-height: 1.18 !important;
  margin: 0 0 5px !important;
}

#mini-cart-panel .woocommerce-mini-cart-item h3 a { color: inherit !important; }

#mini-cart-panel .woocommerce-mini-cart-item p.text-\[11px\] {
  color: #737373 !important;
  font-size: 10px !important;
  letter-spacing: 0.18em !important;
  text-transform: uppercase !important;
}

#mini-cart-panel .woocommerce-mini-cart-item p.font-bold {
  color: var(--step31-gold) !important;
  font-size: 12px !important;
  font-weight: 700 !important;
}

/* Quantity control */
#mini-cart-panel .mini-cart-qty-control {
  border-color: rgba(17, 17, 18, 0.18) !important;
  height: 34px !important;
}

#mini-cart-panel .mini-cart-qty-btn,
#mini-cart-panel .mini-cart-qty-control span {
  align-items: center !important;
  color: #111112 !important;
  display: inline-flex !important;
  height: 32px !important;
  justify-content: center !important;
  min-width: 32px !important;
  padding: 0 !important;
}

#mini-cart-panel .mini-cart-qty-btn:hover,
#mini-cart-panel .mini-cart-qty-btn:focus-visible {
  background: #111112 !important;
  color: #ffffff !important;
}

/* Remove button */
#mini-cart-panel .woocommerce-mini-cart .remove.remove_from_cart_button {
  border-bottom: 1px solid rgba(17, 17, 18, 0.32) !important;
  color: #525252 !important;
  display: inline-flex !important;
  font-size: 11px !important;
  margin-left: auto !important;
  padding: 8px 0 3px !important;
  text-decoration: none !important;
  transition: color 180ms ease, border-color 180ms ease !important;
}

#mini-cart-panel .woocommerce-mini-cart .remove.remove_from_cart_button:hover {
  color: #111112 !important;
  border-color: #111112 !important;
}

/* Fixed footer / totals */
#mini-cart-content > div:last-child {
  background: #ffffff !important;
  border-top: 1px solid rgba(17, 17, 18, 0.1) !important;
  box-shadow: 0 -18px 40px rgba(17, 17, 18, 0.06) !important;
  flex: 0 0 auto !important;
  margin: 0 !important;
  padding: 16px 22px 20px !important;
}

#mini-cart-panel .woocommerce-mini-cart__total {
  align-items: center !important;
  display: flex !important;
  flex-direction: row !important;
  gap: 16px !important;
  justify-content: space-between !important;
  margin: 0 0 14px !important;
}

#mini-cart-panel .woocommerce-mini-cart__total span:first-child {
  color: var(--step31-text-secondary) !important;
  font-size: 11px !important;
  letter-spacing: 0.2em !important;
  text-transform: uppercase !important;
}

#mini-cart-panel .woocommerce-mini-cart__total span:last-child,
#mini-cart-panel .woocommerce-mini-cart__total .amount,
#mini-cart-panel .woocommerce-mini-cart__total bdi,
.dark #mini-cart-panel .woocommerce-mini-cart__total span:last-child,
.dark #mini-cart-panel .woocommerce-mini-cart__total .amount,
.dark #mini-cart-panel .woocommerce-mini-cart__total bdi {
  color: var(--step31-gold) !important;
  font-size: 18px !important;
  font-weight: 700 !important;
}

/* Buttons */
#mini-cart-panel .woocommerce-mini-cart__buttons {
  display: grid !important;
  gap: 9px !important;
}

#mini-cart-panel a.mini-cart-checkout-btn,
#mini-cart-panel a.mini-cart-checkout-btn.woocommerce-mini-cart__button.button,
.dark #mini-cart-panel a.mini-cart-checkout-btn,
.dark #mini-cart-panel a.mini-cart-checkout-btn.woocommerce-mini-cart__button.button {
  align-items: center !important;
  background: var(--step31-gold) !important;
  border: 1px solid var(--step31-gold) !important;
  border-radius: 0 !important;
  color: #ffffff !important;
  display: flex !important;
  justify-content: center !important;
  min-height: 44px !important;
  padding: 0 16px !important;
  transition: background 0.2s, border-color 0.2s !important;
}

#mini-cart-panel a.mini-cart-checkout-btn:hover,
#mini-cart-panel a.mini-cart-checkout-btn:focus-visible {
  background: #1A1A1A !important;
  border-color: #1A1A1A !important;
  color: #ffffff !important;
}

.dark #mini-cart-panel a.mini-cart-checkout-btn:hover,
.dark #mini-cart-panel a.mini-cart-checkout-btn:focus-visible {
  background: #ffffff !important;
  border-color: #ffffff !important;
  color: #111112 !important;
}

#mini-cart-panel .woocommerce-mini-cart__buttons .text-center a.button {
  align-items: center !important;
  background: #ffffff !important;
  border: 1px solid rgba(17, 17, 18, 0.8) !important;
  border-radius: 0 !important;
  color: #111112 !important;
  display: flex !important;
  justify-content: center !important;
  min-height: 44px !important;
  padding: 0 16px !important;
  transition: all 0.2s !important;
}

#mini-cart-panel .woocommerce-mini-cart__buttons .text-center a.button:hover {
  background: #111112 !important;
  border-color: #111112 !important;
  color: #ffffff !important;
}

/* Dark mode mini cart */
.dark #mini-cart-panel,
.dark #mini-cart-panel > div:first-of-type,
.dark #mini-cart-content > div:last-child {
  background: #121212 !important;
}

.dark #mini-cart-panel > div:first-of-type,
.dark #mini-cart-content > div:last-child,
.dark #mini-cart-panel .woocommerce-mini-cart-item {
  border-color: var(--step31-border) !important;
}

.dark #mini-cart-panel h2,
.dark #mini-cart-close,
.dark #mini-cart-panel .woocommerce-mini-cart-item h3,
.dark #mini-cart-panel .woocommerce-mini-cart-item h3 a,
.dark #mini-cart-panel .mini-cart-qty-btn,
.dark #mini-cart-panel .mini-cart-qty-control span {
  color: var(--step31-text-primary) !important;
}

.dark #mini-cart-panel .woocommerce-mini-cart-item > div:first-child {
  background: #1A1A1A !important;
}

.dark #mini-cart-panel .woocommerce-mini-cart-item p.text-\[11px\],
.dark #mini-cart-panel .woocommerce-mini-cart__total span:first-child {
  color: var(--step31-text-secondary) !important;
}

.dark #mini-cart-panel .woocommerce-mini-cart .remove.remove_from_cart_button {
  border-color: var(--step31-border) !important;
  color: var(--step31-text-secondary) !important;
}

.dark #mini-cart-panel .mini-cart-qty-control {
  border-color: var(--step31-border) !important;
}

.dark #mini-cart-panel .mini-cart-qty-btn:hover {
  background: #ffffff !important;
  color: #111112 !important;
}

.dark #mini-cart-panel .woocommerce-mini-cart__buttons .text-center a.button {
  background: transparent !important;
  border-color: rgba(255, 255, 255, 0.8) !important;
  color: #ffffff !important;
}

.dark #mini-cart-panel .woocommerce-mini-cart__buttons .text-center a.button:hover {
  background: #ffffff !important;
  border-color: #ffffff !important;
  color: #111112 !important;
}

/* Mobile mini cart sizing */
@media (max-width: 767px) {
  #mini-cart-panel > div:first-of-type { padding: 14px 16px 10px !important; }
  #mini-cart-panel h2 { font-size: 20px !important; }
  #mini-cart-content > .woocommerce-mini-cart { padding: 16px 16px 10px !important; }

  #mini-cart-panel .woocommerce-mini-cart-item {
    gap: 13px !important;
    grid-template-columns: 82px minmax(0, 1fr) !important;
    padding-bottom: 15px !important;
  }

  #mini-cart-panel .woocommerce-mini-cart-item > div:first-child {
    height: 82px !important;
    width: 82px !important;
  }

  #mini-cart-content > div:last-child { padding: 15px 16px 18px !important; }
}

/* Mini cart scrollbar */
#mini-cart-content {
  scrollbar-color: rgba(148, 163, 184, 0.55) transparent;
  scrollbar-width: thin;
}

#mini-cart-content::-webkit-scrollbar { width: 6px; }
#mini-cart-content::-webkit-scrollbar-track { background: transparent; }
#mini-cart-content::-webkit-scrollbar-thumb {
  background: rgba(148, 163, 184, 0.5);
  border-radius: 999px;
}


/* ====================================================================
   16. DRAWERS & OVERLAYS
   ==================================================================== */

#mobile-nav-overlay,
#filter-drawer-overlay,
#mini-cart-overlay,
#quick-view-overlay {
  height: 100dvh !important;
  max-height: 100dvh !important;
}

#mobile-nav-panel,
#filter-drawer-panel,
#mini-cart-panel {
  height: 100dvh !important;
  max-height: 100dvh !important;
  min-height: 0 !important;
}

@media (max-width: 767px) {
  #mobile-nav-panel,
  #filter-drawer-panel {
    width: 70vw !important;
    max-width: 70vw !important;
    overflow-y: auto !important;
    overscroll-behavior: contain;
  }

  #filter-drawer-panel form,
  #mini-cart-content {
    overflow-y: auto !important;
    overscroll-behavior: contain;
  }
}

/* Mobile nav panel buttons */
#mobile-nav-panel button,
#mobile-nav-panel .search-modal-trigger,
#mobile-nav-panel .mini-cart-trigger,
#mobile-menu-close {
  background: transparent !important;
  border-color: transparent !important;
  box-shadow: none !important;
  color: var(--step31-text-primary) !important;
}

.dark #mobile-nav-panel button,
.dark #mobile-menu-close {
  color: var(--step31-text-primary) !important;
}

#mobile-nav-panel button:hover,
#mobile-menu-close:hover {
  background: rgba(15, 23, 42, 0.06) !important;
  color: var(--step31-text-primary) !important;
}

.dark #mobile-nav-panel button:hover,
.dark #mobile-menu-close:hover {
  background: rgba(255, 255, 255, 0.07) !important;
}

/* Search modal */
.dark #search-modal button,
.dark #search-modal-close {
  background: transparent !important;
  border-color: transparent !important;
  box-shadow: none !important;
  color: var(--step31-text-primary) !important;
}


/* ====================================================================
   17. CART PAGE
   ==================================================================== */

.woocommerce-cart,
.woocommerce-checkout,
.woocommerce-order-received {
  color: var(--step31-text);
}

.fasco-cart-layout {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px 80px;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  align-items: flex-start;
}

@media (min-width: 1024px) {
  .fasco-cart-layout {
    flex-direction: row;
    gap: 4.5rem;
  }
}

.fasco-cart-main {
  width: 100%;
  flex: 1 1 100%;
  min-width: 0;
}

/* Cart summary panel */
.fasco-cart-side {
  width: 100%;
  flex: 1 1 100%;
  min-width: 0;
  box-sizing: border-box;
  background: var(--step31-cream) !important;
  border: 1px solid var(--step31-gold-border);
  border-radius: var(--step31-radius-xl);
  padding: 2rem;
  box-shadow: var(--step31-shadow-soft);
}

@media (min-width: 768px) {
  .fasco-cart-side { padding: 3rem; }
}

@media (min-width: 1024px) {
  .fasco-cart-main { flex: 2 1 0%; width: auto; }
  .fasco-cart-side { flex: 1 1 0%; width: auto; }
}

/* Cart header row */
.fasco-cart__header {
  display: none;
  border-bottom: 1px solid rgba(185, 163, 90, 0.18) !important;
  padding-bottom: 1rem;
  margin-bottom: 2rem;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1rem;
}

@media (min-width: 768px) { .fasco-cart__header { display: grid; } }

.fasco-cart__header > div {
  font-family: var(--step31-font-sans);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 700;
  color: var(--step31-muted-2);
}

.fasco-cart__header .h-product { grid-column: span 6 / span 6; }
.fasco-cart__header .h-qty    { grid-column: span 2 / span 2; text-align: center; }
.fasco-cart__header .h-price  { grid-column: span 2 / span 2; text-align: center; }
.fasco-cart__header .h-total  { grid-column: span 2 / span 2; text-align: right; }

/* Cart items */
.fasco-cart__items { display: flex; flex-direction: column; gap: 2.5rem; }

.fasco-cart__item {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  align-items: center;
  border-bottom: 1px solid #eef0f3 !important;
  padding-bottom: 2.5rem;
}

@media (min-width: 768px) {
  .fasco-cart__item {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 1.5rem;
  }
}

.fasco-cart__item-product {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

@media (min-width: 768px) {
  .fasco-cart__item-product { grid-column: span 6 / span 6; }
}

.fasco-cart__item-thumb {
  width: 8rem;
  aspect-ratio: 4 / 5;
  flex-shrink: 0;
  overflow: hidden;
  background: var(--step31-cream) !important;
  border-radius: var(--step31-radius-md);
}

.fasco-cart__item-thumb img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}

.fasco-cart__item-info { min-width: 0; flex: 1; }

.fasco-cart__item-title {
  font-family: var(--step31-font-sans) !important;
  font-size: 16px !important;
  line-height: 1.35;
  margin: 0 0 0.35rem;
  color: var(--step31-text) !important;
  font-weight: 600 !important;
  letter-spacing: 0 !important;
}

.fasco-cart__item-title a { color: inherit; text-decoration: none; }
.fasco-cart__item-title a:hover { color: var(--step31-gold) !important; }

.fasco-cart__item-meta {
  font-size: 12px;
  color: var(--step31-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0 0 1rem;
}

.fasco-cart__item-remove {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--step31-muted-2);
  text-decoration: none;
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
  transition: color 200ms ease;
}

.fasco-cart__item-remove::before { content: '×'; font-size: 14px; line-height: 1; }
.fasco-cart__item-remove:hover { color: #ef4444; }

/* Qty stepper */
.fasco-cart__item-qty {
  display: flex;
  justify-content: flex-start;
}

@media (min-width: 768px) {
  .fasco-cart__item-qty { grid-column: span 2 / span 2; justify-content: center; }
}

.fasco-cart__stepper {
  display: inline-flex;
  align-items: center;
  background: transparent !important;
  border: 1px solid var(--step31-border) !important;
  border-radius: 8px;
  overflow: hidden;
}

.fasco-cart__stepper-btn {
  width: 2.5rem;
  height: 2.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 0;
  cursor: pointer;
  color: var(--step31-text) !important;
  font-size: 16px;
  transition: background-color 200ms ease;
}

.fasco-cart__stepper-btn:hover { background: rgba(148, 163, 184, 0.14) !important; }
.fasco-cart__stepper-btn:disabled { opacity: 0.4; cursor: not-allowed; }

.fasco-cart__stepper-display {
  width: 2.5rem;
  text-align: center;
  font-size: 12px;
  font-weight: 600;
}

input.fasco-cart__stepper-input {
  height: 2.5rem;
  line-height: 2.5rem;
  background: transparent;
  border: 0;
  padding: 0;
  color: inherit;
  font-family: inherit;
  -moz-appearance: textfield;
  appearance: textfield;
  text-align: center;
  width: 2.5rem;
}

input.fasco-cart__stepper-input:focus { outline: none; box-shadow: none; }
input.fasco-cart__stepper-input::-webkit-outer-spin-button,
input.fasco-cart__stepper-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.fasco-cart__item-price,
.fasco-cart__item-total {
  font-family: var(--step31-font-sans) !important;
  font-size: 14px;
}

.fasco-cart__item-price { color: var(--step31-muted); }
.fasco-cart__item-total { color: var(--step31-text) !important; font-weight: 700 !important; }

@media (min-width: 768px) {
  .fasco-cart__item-price { grid-column: span 2 / span 2; text-align: center; }
  .fasco-cart__item-total { grid-column: span 2 / span 2; text-align: right; }
}

/* Coupon row */
.fasco-cart__promo {
  margin-top: 3rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 28rem;
}

@media (min-width: 640px) { .fasco-cart__promo { flex-direction: row; } }

.fasco-cart__promo-input {
  flex: 1;
  min-height: 52px;
  padding: 0.75rem 1rem;
  border: 1px solid var(--step31-border) !important;
  border-radius: 0 !important;
  background: var(--step31-surface) !important;
  color: var(--step31-text);
  font-family: var(--step31-font-sans);
  font-size: 14px;
}

.fasco-cart__promo-input:focus {
  outline: none;
  border-color: var(--step31-gold) !important;
  box-shadow: 0 0 0 3px rgba(185, 163, 90, 0.14);
}

.fasco-cart__promo-btn {
  min-height: 52px;
  padding: 0.75rem 2rem;
  border: 0;
  border-radius: 0 !important;
  background: var(--step31-cream) !important;
  color: var(--step31-text) !important;
  font-family: var(--step31-font-sans);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 200ms ease, color 200ms ease;
}

.fasco-cart__promo-btn:hover {
  background: var(--step31-gold) !important;
  color: #ffffff !important;
}

/* Continue shopping */
.fasco-cart__continue {
  margin-top: 3rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--step31-muted);
  text-decoration: none;
  font-family: var(--step31-font-sans);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 700;
  transition: color 200ms ease;
}

.fasco-cart__continue::before { content: '\2190'; }
.fasco-cart__continue:hover { color: var(--step31-gold); }

/* Cart summary sidebar */
.fasco-cart-summary__title {
  font-family: var(--step31-font-sans) !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  letter-spacing: 0.26em !important;
  text-transform: uppercase !important;
  color: var(--step31-text) !important;
  margin: 0 0 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(185, 163, 90, 0.22) !important;
}

.fasco-cart-summary__rows { display: flex; flex-direction: column; gap: 1.5rem; margin-bottom: 2.5rem; }

.fasco-cart-summary__row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1.25rem;
  font-family: var(--step31-font-sans) !important;
  font-size: 14px !important;
}

.fasco-cart-summary__row-label { color: var(--step31-muted) !important; }
.fasco-cart-summary__row-value { color: var(--step31-text) !important; font-weight: 600 !important; text-align: right; }

.fasco-cart-summary__total {
  padding-top: 1.5rem;
  border-top: 1px solid rgba(185, 163, 90, 0.24) !important;
}

.fasco-cart-summary__total .fasco-cart-summary__row-label {
  color: var(--step31-text) !important;
  font-size: 1rem;
  font-weight: 700;
}

.fasco-cart-summary__total .fasco-cart-summary__row-value {
  color: var(--step31-gold) !important;
  font-family: var(--step31-font-sans) !important;
  font-size: 20px !important;
  font-weight: 800 !important;
}

/* Checkout button */
.fasco-cart-summary__checkout,
.woocommerce-cart .fasco-cart-summary__checkout.checkout-button {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 54px;
  padding: 1rem !important;
  background: var(--step31-text) !important;
  border: 0 !important;
  border-radius: 0 !important;
  color: #ffffff !important;
  font-family: var(--step31-font-sans) !important;
  font-size: 12px !important;
  text-transform: uppercase;
  letter-spacing: 0.22em !important;
  font-weight: 700 !important;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 220ms ease, transform 120ms ease;
}

.fasco-cart-summary__checkout:hover,
.woocommerce-cart .fasco-cart-summary__checkout.checkout-button:hover {
  background: var(--step31-gold) !important;
  transform: translateY(-1px);
}

/* Trust badges */
.fasco-cart-summary__badges { margin-top: 3rem; display: flex; flex-direction: column; gap: 1.5rem; }

.fasco-cart-summary__badge {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-family: var(--step31-font-sans);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 600;
  color: var(--step31-text);
}

.fasco-cart-summary__badge svg {
  width: 1.5rem;
  height: 1.5rem;
  flex-shrink: 0;
  color: var(--step31-gold) !important;
}

/* Empty cart */
.fasco-cart-empty { text-align: center; padding: 4rem 1rem; }

.fasco-cart-empty__icon {
  width: 4rem; height: 4rem; margin: 0 auto 1.5rem;
  color: var(--step31-gold); display: block;
}

.fasco-cart-empty__title {
  font-family: var(--step31-font-serif);
  font-size: 1.75rem; margin: 0 0 1rem;
}

.fasco-cart-empty__text { color: var(--step31-muted); margin: 0 0 2rem; font-size: 14px; }

.fasco-cart-empty__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 1rem 2.5rem;
  background: var(--step31-text);
  color: #fff !important;
  border-radius: 0;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 220ms ease;
}

.fasco-cart-empty__cta:hover { background: var(--step31-gold); }

/* Cart mobile */
@media (max-width: 767px) {
  .woocommerce-cart .fasco-cart-layout { padding: 0 16px 56px; gap: 2rem; }
  .fasco-cart__items { gap: 1.5rem; }

  .fasco-cart__item {
    grid-template-columns: 5.25rem 1fr auto;
    grid-template-areas:
      'thumb title title'
      'thumb total total'
      'thumb meta meta'
      'thumb qty remove';
    column-gap: 1rem;
    row-gap: 0.3rem;
    align-items: start;
    background: var(--step31-surface);
    border: 1px solid #eef0f3 !important;
    border-radius: var(--step31-radius-lg);
    padding: 16px;
  }

  .fasco-cart__item-product,
  .fasco-cart__item-info { display: contents; }
  .fasco-cart__item-thumb { grid-area: thumb; width: 5.25rem; align-self: start; }
  .fasco-cart__item-title { grid-area: title; font-size: 13px !important; margin: 0; }
  .fasco-cart__item-total { grid-area: total; text-align: left; }
  .fasco-cart__item-price { display: none; }
  .fasco-cart__item-meta { grid-area: meta; font-size: 11px; margin: 0.15rem 0 0; }
  .fasco-cart__item-qty  { grid-area: qty; justify-self: start; margin-top: 0.75rem; }

  .fasco-cart__item-remove {
    grid-area: remove;
    justify-self: end;
    align-self: center;
    margin-top: 0.75rem;
    color: var(--step31-gold);
    text-transform: none;
    letter-spacing: 0;
    font-size: 13px;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 4px;
    gap: 0;
  }

  .fasco-cart__item-remove::before { display: none; }
  .fasco-cart__promo { margin-top: 2rem; max-width: 100%; }
  .fasco-cart-side { padding: 24px 20px !important; }
  .fasco-cart-summary__badges { margin-top: 1.75rem; gap: 1rem; }
  .fasco-cart-empty { padding: 2.5rem 1rem; }
  .fasco-cart-empty__title { font-size: 1.35rem; }
}


/* ====================================================================
   18. CHECKOUT PAGE
   ==================================================================== */

.fasco-checkout-layout {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

@media (min-width: 1024px) {
  .fasco-checkout-layout {
    display: grid;
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    align-items: start;
    gap: 2.5rem;
  }
}

/* Main form panel */
.fasco-checkout-main {
  background: var(--step31-surface);
  border: 1px solid var(--step31-border);
  border-radius: var(--step31-radius-lg);
  padding: 1.5rem;
}

@media (min-width: 768px) { .fasco-checkout-main { padding: 2rem 2.25rem; } }

/* Section headings */
.fasco-checkout-section h3,
.fasco-checkout-side__title {
  font-family: var(--step31-font-sans);
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 800;
  color: var(--step31-gold) !important;
  margin: 0 0 1.5rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(185, 163, 90, 0.25);
}

/* Form grid */
.fasco-checkout-form .woocommerce-billing-fields__field-wrapper,
.fasco-checkout-form .woocommerce-shipping-fields__field-wrapper,
.fasco-checkout-form .woocommerce-additional-fields__field-wrapper {
  display: grid;
  grid-template-columns: 1fr;
  column-gap: 1.25rem;
  row-gap: 0.25rem;
}

@media (min-width: 640px) {
  .fasco-checkout-form .woocommerce-billing-fields__field-wrapper,
  .fasco-checkout-form .woocommerce-shipping-fields__field-wrapper {
    grid-template-columns: 1fr 1fr;
  }

  .fasco-checkout-form .form-row-wide,
  .fasco-checkout-form .form-row.notes,
  .fasco-checkout-form #order_comments_field { grid-column: 1 / -1; }
}

.fasco-checkout-form .form-row {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin: 0 0 1.4rem;
  font-family: var(--step31-font-sans);
}

/* Labels */
.fasco-checkout-form .form-row label,
.woocommerce-checkout .form-row label {
  font-family: var(--step31-font-sans);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--step31-text) !important;
  line-height: 1.2;
}

.fasco-checkout-form .form-row .required {
  color: var(--step31-gold);
  text-decoration: none;
  margin-left: 2px;
}

/* Inputs */
.fasco-checkout-form .form-row input.input-text,
.fasco-checkout-form .form-row textarea,
.fasco-checkout-form .form-row select,
.fasco-checkout-form .select2-container--default .select2-selection--single,
.woocommerce-checkout .form-row input.input-text,
.woocommerce-checkout .form-row textarea,
.woocommerce-checkout .form-row select {
  width: 100%;
  min-height: 48px;
  padding: 0.85rem 1rem;
  border: 1px solid var(--step31-border);
  border-radius: 0 !important;
  background: var(--step31-surface);
  color: var(--step31-text);
  font-family: var(--step31-font-sans);
  font-size: 14px;
  line-height: 1.4;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}

.fasco-checkout-form .form-row input.input-text:focus,
.fasco-checkout-form .form-row textarea:focus,
.fasco-checkout-form .form-row select:focus,
.woocommerce-checkout .form-row input.input-text:focus {
  outline: none;
  border-color: var(--step31-gold) !important;
  box-shadow: 0 0 0 3px rgba(185, 163, 90, 0.15);
}

/* Checkout radio / checkbox */
.woocommerce-checkout #payment input[type='radio'],
.woocommerce-checkout input[type='checkbox'] {
  accent-color: var(--step31-gold) !important;
}

/* Inline field errors */
.fasco-checkout-form .step31-field-has-error input,
.fasco-checkout-form .step31-field-has-error textarea,
.fasco-checkout-form .step31-field-has-error select {
  border-color: var(--step31-error) !important;
  background: #fff7f7 !important;
}

.step31-field-error {
  display: block;
  margin-top: 7px;
  font-size: 12px;
  font-weight: 600;
  color: var(--step31-error);
}

/* Order summary panel (sticky) */
.fasco-checkout-side { position: relative; align-self: flex-start; }

@media (min-width: 1024px) {
  .fasco-checkout-side { position: sticky; top: 1.5rem; }
}

.fasco-checkout-side__inner {
  background: var(--step31-cream) !important;
  border: 1px solid var(--step31-gold-border) !important;
  border-radius: var(--step31-radius-lg) !important;
  padding: 1.5rem 1.5rem 1.75rem;
  box-shadow: var(--step31-shadow-soft) !important;
}

@media (min-width: 768px) { .fasco-checkout-side__inner { padding: 2rem 2rem 2.25rem; } }

/* Review order table */
.fasco-checkout-side .shop_table,
.woocommerce-checkout-review-order-table {
  width: 100%;
  border-collapse: collapse;
  border: none !important;
  background: transparent;
  margin: 0 0 1.5rem !important;
}

.fasco-checkout-side .shop_table th,
.fasco-checkout-side .shop_table td,
.woocommerce-checkout-review-order-table th,
.woocommerce-checkout-review-order-table td {
  padding: 0.85rem 0 !important;
  border: 0 !important;
  border-bottom: 1px solid rgba(185, 163, 90, 0.18) !important;
  font-size: 14px;
  color: var(--step31-text);
  vertical-align: top;
}

.fasco-checkout-side .shop_table thead th.product-name,
.fasco-checkout-side .shop_table tfoot th { text-align: left; }

.fasco-checkout-side .shop_table thead th.product-total,
.fasco-checkout-side .shop_table tfoot td,
.fasco-checkout-side .shop_table .product-total { text-align: right; }

.fasco-checkout-side .shop_table .product-name { font-weight: 600; }

.fasco-checkout-side .shop_table .order-total th,
.fasco-checkout-side .shop_table .order-total td {
  font-size: 15px;
  font-weight: 800;
  padding-top: 1rem !important;
  border-bottom: none !important;
  border-top: 1px solid rgba(185, 163, 90, 0.35) !important;
}

.fasco-checkout-side .shop_table .amount,
.fasco-checkout-side .shop_table .order-total .amount,
.woocommerce-checkout .showcoupon,
.woocommerce-checkout a {
  color: var(--step31-gold) !important;
}

/* Coupon toggle */
.fasco-checkout-shell .woocommerce-form-coupon-toggle .woocommerce-info,
.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info {
  background: var(--step31-surface);
  border: 1px dashed rgba(185, 163, 90, 0.5);
  border-radius: var(--step31-radius-md);
  padding: 0.85rem 1rem;
  color: var(--step31-muted);
  font-family: var(--step31-font-sans);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.fasco-checkout-shell .woocommerce-form-coupon-toggle .woocommerce-info::before,
.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info::before {
  content: '%';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--step31-gold);
  color: #ffffff;
  font-weight: 800;
  font-size: 12px;
  flex-shrink: 0;
}

/* Place Order button */
.fasco-checkout-side #place_order,
.woocommerce-checkout #place_order,
.woocommerce-checkout .fasco-checkout-side #place_order {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 100% !important;
  min-height: 54px !important;
  margin-top: 24px !important;
  padding: 1rem 1.25rem !important;
  background: var(--step31-text) !important;
  border: 1px solid var(--step31-text) !important;
  border-radius: 0 !important;
  color: #ffffff !important;
  font-family: var(--step31-font-sans) !important;
  text-transform: uppercase;
  letter-spacing: 0.2em !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  box-shadow: 0 14px 28px rgba(26, 26, 26, 0.16) !important;
  transition: background-color 200ms ease, border-color 200ms ease, transform 100ms ease;
}

.fasco-checkout-side #place_order:hover,
.woocommerce-checkout #place_order:hover,
.woocommerce-checkout .fasco-checkout-side #place_order:hover {
  background: var(--step31-gold) !important;
  border-color: var(--step31-gold) !important;
  color: #ffffff !important;
  transform: translateY(-1px);
}

/* Dark checkout overrides */
.dark .fasco-checkout-main {
  background: #1B1B1B !important;
  border-color: var(--step31-border) !important;
}

.dark .fasco-checkout-side__inner {
  background: rgba(24, 24, 27, 0.92) !important;
  border-color: rgba(185, 163, 90, 0.35) !important;
}

.dark .fasco-checkout-form .form-row input.input-text,
.dark .fasco-checkout-form .form-row textarea,
.dark .fasco-checkout-form .form-row select,
.dark .woocommerce-checkout .form-row input.input-text {
  background: #111112 !important;
  border-color: rgba(185, 163, 90, 0.22) !important;
  color: var(--step31-text-primary) !important;
}

.dark .woocommerce-checkout #place_order,
.dark .fasco-checkout-side #place_order {
  background: #ffffff !important;
  border-color: #ffffff !important;
  color: #111112 !important;
}

.dark .woocommerce-checkout #place_order:hover,
.dark .fasco-checkout-side #place_order:hover {
  background: var(--step31-gold) !important;
  border-color: var(--step31-gold) !important;
  color: #ffffff !important;
}

/* Payment methods */
.fasco-checkout-side #payment ul.payment_methods { margin: 0; padding: 0; list-style: none; border: 0; background: transparent; }

.fasco-checkout-side #payment ul.payment_methods > li {
  background: var(--step31-surface) !important;
  border: 1px solid var(--step31-border) !important;
  border-radius: var(--step31-radius-md) !important;
  padding: 18px !important;
  margin-bottom: 12px !important;
}

.fasco-checkout-side #payment ul.payment_methods > li label {
  font-size: 14px !important;
  font-weight: 700 !important;
  color: var(--step31-text) !important;
}

.fasco-checkout-side #payment .payment_box {
  background: transparent !important;
  padding: 12px 0 0 30px !important;
  margin: 0 !important;
  font-size: 13px !important;
  line-height: 1.6 !important;
  color: var(--step31-muted) !important;
}

.fasco-checkout-side #payment .payment_box::before { display: none; }

/* Bank selector */
#step31-bank-selector {
  background: var(--step31-surface) !important;
  border: 1px solid rgba(185, 163, 90, 0.25) !important;
  border-radius: var(--step31-radius-md) !important;
  padding: 18px !important;
  margin: 18px 0 0 !important;
}

#step31-bank-selector p {
  margin: 0 0 14px !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  color: var(--step31-text) !important;
}

#step31-bank-selector label {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  background: var(--step31-surface) !important;
  border: 1px solid var(--step31-border) !important;
  border-radius: var(--step31-radius-md) !important;
  padding: 14px 16px !important;
  margin-bottom: 10px !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  letter-spacing: 0.22em !important;
  text-transform: uppercase !important;
  color: var(--step31-text) !important;
  cursor: pointer !important;
  transition: border-color 200ms ease, background-color 200ms ease, box-shadow 200ms ease;
}

#step31-bank-selector label:hover,
#step31-bank-selector label:has(input:checked) {
  border-color: var(--step31-gold) !important;
  background: var(--step31-cream) !important;
  box-shadow: 0 0 0 2px rgba(185, 163, 90, 0.12) !important;
}

#step31-bank-selector input[type='radio'],
.fasco-checkout-side #payment input[type='radio'] {
  accent-color: var(--step31-gold) !important;
}

/* Payment instruction cards (COD / prepaid) */
.step31-cod-card {
  background: var(--step31-cream) !important;
  border: 1px solid var(--step31-gold-border) !important;
  border-radius: var(--step31-radius-xl) !important;
  padding: 30px !important;
  margin: 0 0 32px !important;
}

.step31-prepaid-steps,
.step31-cod-steps { display: grid; gap: 10px; margin: 20px 0; }

.step31-prepaid-steps div,
.step31-cod-steps div {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 16px;
  background: var(--step31-surface);
  border: 1px solid rgba(185, 163, 90, 0.18);
  border-radius: 10px;
}

.step31-prepaid-steps strong,
.step31-cod-steps strong {
  width: 28px; height: 28px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--step31-gold);
  color: #ffffff;
  border-radius: 50%;
  font-size: 12px; font-weight: 800; flex-shrink: 0;
}

.step31-prepaid-steps span,
.step31-cod-steps span {
  font-size: 14px; font-weight: 600; color: var(--step31-text);
}


/* ====================================================================
   19. THANK YOU PAGE
   ==================================================================== */

.woocommerce-order {
  max-width: 1180px !important;
  margin: 0 auto !important;
  padding: 0 24px 80px !important;
  font-family: var(--step31-font-sans) !important;
  color: var(--step31-text) !important;
}

.woocommerce-order-received h1,
.woocommerce-order-received .entry-title,
.step31-thankyou-title {
  font-size: clamp(2.4rem, 4vw, 4.4rem) !important;
  line-height: 1.05 !important;
  text-align: center !important;
  margin: 60px 0 44px !important;
  color: var(--step31-text) !important;
}

.woocommerce-thankyou-order-received {
  margin: 0 0 18px !important;
  padding: 18px 22px !important;
  background: var(--step31-cream) !important;
  border: 1px solid var(--step31-gold-border) !important;
  border-radius: 14px !important;
  font-size: 14px !important;
  line-height: 1.6 !important;
  color: var(--step31-text-body) !important;
}

.woocommerce-order-overview {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  margin: 0 0 28px !important;
  padding: 0 !important;
  background: var(--step31-cream) !important;
  border: 1px solid var(--step31-gold-border) !important;
  border-radius: var(--step31-radius-lg) !important;
  overflow: hidden !important;
}

.woocommerce-order-overview li {
  list-style: none !important;
  margin: 0 !important;
  padding: 22px 24px !important;
  border-right: 1px solid rgba(185, 163, 90, 0.18) !important;
  font-size: 10px !important;
  font-weight: 800 !important;
  letter-spacing: 0.18em !important;
  text-transform: uppercase !important;
  color: var(--step31-muted) !important;
}

.woocommerce-order-overview li:last-child { border-right: 0 !important; }

.woocommerce-order-overview strong {
  display: block !important;
  margin-top: 8px !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  color: var(--step31-text) !important;
}

/* Copy row (bank transfer details) */
.step31-copy-row {
  display: grid !important;
  grid-template-columns: 1fr auto !important;
  align-items: center !important;
  gap: 14px !important;
  padding: 14px 0 !important;
  border-bottom: 1px solid rgba(185, 163, 90, 0.18);
  font-size: 15px;
  color: var(--step31-text);
}

.step31-copy-row strong { color: var(--step31-gold) !important; font-weight: 800 !important; }
.step31-copy-row span   { color: var(--step31-text) !important; font-weight: 600 !important; word-break: break-word; }

.step31-copy-btn {
  min-width: 92px; min-height: 38px;
  border: 1px solid var(--step31-gold);
  background: transparent;
  color: var(--step31-gold);
  border-radius: 0;
  padding: 7px 12px;
  font-size: 10px; font-weight: 800;
  letter-spacing: 0.16em; text-transform: uppercase;
  cursor: pointer;
  transition: background-color 200ms ease, color 200ms ease;
}

.step31-copy-btn:hover,
.step31-copy-btn.is-copied {
  background: var(--step31-gold);
  color: #ffffff;
}

/* WhatsApp button */
.step31-whatsapp-btn {
  display: flex !important;
  align-items: center;
  justify-content: center;
  margin-top: 20px !important;
  min-height: 54px;
  padding: 0 22px;
  background: var(--step31-text);
  color: #ffffff !important;
  border-radius: 0;
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  text-decoration: none !important;
  transition: background-color 200ms ease, transform 120ms ease;
}

.step31-whatsapp-btn:hover {
  background: var(--step31-gold);
  color: #ffffff !important;
  transform: translateY(-1px);
}

/* Order details table */
.woocommerce-order-details,
.woocommerce-customer-details {
  background: var(--step31-surface) !important;
  border: 1px solid var(--step31-border) !important;
  border-radius: var(--step31-radius-lg) !important;
  padding: 34px !important;
  margin: 0 0 34px !important;
}

.woocommerce-order-details__title,
.woocommerce-column__title,
.woocommerce-order h2,
.woocommerce-order h3 {
  font-family: var(--step31-font-sans) !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  letter-spacing: 0.28em !important;
  text-transform: uppercase !important;
  color: var(--step31-text) !important;
  margin: 0 0 28px !important;
}

.woocommerce-order-details table.shop_table th,
.woocommerce-order-details table.shop_table td {
  border: 0 !important;
  border-bottom: 1px solid #eef0f3 !important;
  padding: 16px 0 !important;
  font-size: 14px !important;
  color: var(--step31-text) !important;
  text-align: left !important;
}

.woocommerce-order-details table.shop_table th {
  font-size: 10px !important;
  font-weight: 800 !important;
  letter-spacing: 0.18em !important;
  text-transform: uppercase !important;
  color: var(--step31-muted) !important;
}

.woocommerce-order-details table.shop_table td:last-child,
.woocommerce-order-details table.shop_table th:last-child { text-align: right !important; }

.woocommerce-order-details .amount,
.woocommerce-order .amount { color: var(--step31-gold) !important; font-weight: 800 !important; }

/* Thank you CTA buttons */
.step31-thankyou-btn {
  min-width: 230px !important;
  min-height: 56px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: var(--step31-gold) !important;
  border: 1px solid var(--step31-gold) !important;
  color: #ffffff !important;
  border-radius: 0 !important;
  font-size: 11px !important; font-weight: 800 !important;
  letter-spacing: 0.22em !important; text-transform: uppercase !important;
  text-decoration: none !important;
  transition: all 220ms ease;
}

.step31-thankyou-btn:hover {
  background: var(--step31-text) !important;
  border-color: var(--step31-text) !important;
  color: #ffffff !important;
  transform: translateY(-1px);
}

.step31-thankyou-btn--outline {
  background: transparent !important;
  border-color: var(--step31-text) !important;
  color: var(--step31-text) !important;
}

.step31-thankyou-btn--outline:hover {
  background: var(--step31-gold) !important;
  border-color: var(--step31-gold) !important;
  color: #ffffff !important;
}

/* Thank you mobile */
@media (max-width: 768px) {
  .woocommerce-order { padding: 0 16px 56px !important; }
  .woocommerce-order-received h1 { font-size: 2.1rem !important; margin: 34px 0 28px !important; }
  .woocommerce-order-overview { grid-template-columns: 1fr !important; }
  .woocommerce-order-overview li { border-right: 0 !important; border-bottom: 1px solid rgba(185, 163, 90, 0.18) !important; padding: 18px !important; }
  .woocommerce-order-overview li:last-child { border-bottom: 0 !important; }
  .step31-copy-row { grid-template-columns: 1fr !important; gap: 10px !important; }
  .step31-copy-btn, .step31-whatsapp-btn { width: 100%; }
  .step31-thankyou-actions { flex-direction: column !important; }
  .step31-thankyou-btn { width: 100% !important; min-width: 100% !important; }
}


/* ====================================================================
   20. WOOCOMMERCE NOTICES
   ==================================================================== */

.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0.95rem 1.15rem;
  border-radius: var(--step31-radius-md);
  font-family: var(--step31-font-sans);
  font-size: 13px;
  line-height: 1.5;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.woocommerce-message::before,
.woocommerce-info::before,
.woocommerce-error::before { display: none; }

.woocommerce-message {
  background: rgba(185, 163, 90, 0.10);
  border: 1px solid rgba(185, 163, 90, 0.35);
  color: #6e5a2a;
}

.woocommerce-info {
  background: var(--step31-surface);
  border: 1px solid var(--step31-border);
  color: var(--step31-text-body);
}

.woocommerce-error {
  background: #fff1f2;
  border: 1px solid #fecdd3;
  color: var(--step31-error);
}

.dark .woocommerce-message {
  background: rgba(185, 163, 90, 0.10);
  border-color: rgba(185, 163, 90, 0.4);
  color: #d6bf85;
}

.dark .woocommerce-info {
  background: #1e293b;
  border-color: #334155;
  color: #cbd5e1;
}

.dark .woocommerce-error {
  background: rgba(127, 29, 29, 0.25);
  border-color: #991b1b;
  color: #fecaca;
}


/* ====================================================================
   21. TOASTS & LOADING STATES
   ==================================================================== */

.fasco-toast-stack {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 200;
  display: flex;
  flex-direction: column-reverse;
  gap: 0.6rem;
  pointer-events: none;
  max-width: calc(100vw - 2rem);
}

.fasco-toast {
  pointer-events: auto;
  min-width: 240px;
  max-width: 360px;
  padding: 0.85rem 1.1rem;
  background: var(--step31-surface);
  border: 1px solid var(--step31-border);
  border-left: 3px solid var(--step31-gold);
  border-radius: 0;
  box-shadow: 0 12px 28px -10px rgba(15, 23, 42, 0.25);
  display: flex;
  align-items: center;
  gap: 0.65rem;
  transform: translateX(110%);
  opacity: 0;
  color: var(--step31-text);
  font-family: var(--step31-font-sans);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  transition: transform 280ms ease, opacity 220ms ease;
}

.fasco-toast::before {
  content: '';
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--step31-gold);
  flex-shrink: 0;
}

.fasco-toast--visible { transform: translateX(0); opacity: 1; }

.fasco-toast--error {
  background: #fef2f2;
  border-color: #fecaca;
  border-left-color: #dc2626;
  color: #991b1b;
}

.fasco-toast--error::before { background: #dc2626; }

/* Cart loading spinner */
.fasco-cart-shell--loading .fasco-cart-layout,
.fasco-cart-shell--loading .fasco-cart-empty,
.mini-cart-panel--loading #mini-cart-content {
  opacity: 0.45;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.fasco-cart-shell--loading::after {
  content: '';
  position: fixed;
  top: 50%; left: 50%;
  width: 40px; height: 40px;
  margin: -20px 0 0 -20px;
  border: 3px solid var(--step31-border);
  border-top-color: var(--step31-gold);
  border-radius: 50%;
  animation: fasco-cart-spin 0.7s linear infinite;
  z-index: 9999;
  pointer-events: none;
}

.qv-cta-loading {
  opacity: 0.85;
  cursor: progress !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
}

.qv-cta-spinner {
  display: inline-block;
  width: 14px; height: 14px;
  border: 2px solid rgba(255, 255, 255, 0.45);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: fasco-cart-spin 0.7s linear infinite;
}

@keyframes fasco-cart-spin { to { transform: rotate(360deg); } }

@media (max-width: 640px) {
  .fasco-toast-stack { right: 0.75rem; bottom: 0.75rem; left: 0.75rem; }
  .fasco-toast { max-width: none; }
}


/* ====================================================================
   22. TESTIMONIALS
   ==================================================================== */

.testimonials-swiper-prev,
.testimonials-swiper-next {
  background: var(--step31-surface) !important;
  border-color: rgba(15, 23, 42, 0.14) !important;
  color: var(--step31-text) !important;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.12) !important;
}

.dark .testimonials-swiper-prev,
.dark .testimonials-swiper-next {
  background: #242426 !important;
  border-color: rgba(255, 255, 255, 0.14) !important;
  color: var(--step31-text-primary) !important;
  box-shadow: none !important;
}

.testimonials-swiper-prev:hover,
.testimonials-swiper-next:hover,
.dark .testimonials-swiper-prev:hover,
.dark .testimonials-swiper-next:hover {
  background: var(--step31-gold) !important;
  border-color: var(--step31-gold) !important;
  color: #ffffff !important;
}


/* ====================================================================
   23. HOMEPAGE CTAs (Deal / Monthly Drop)
   ==================================================================== */

.deal-claim-btn,
a.inline-block.bg-primary.text-white {
  background: var(--step31-gold) !important;
  border: 1px solid var(--step31-gold) !important;
  border-radius: 0 !important;
  color: #ffffff !important;
  transition: background 0.2s, border-color 0.2s, transform 0.15s !important;
}

.deal-claim-btn:hover,
.deal-claim-btn:focus-visible,
a.inline-block.bg-primary.text-white:hover,
a.inline-block.bg-primary.text-white:focus-visible,
.dark .deal-claim-btn:hover,
.dark .deal-claim-btn:focus-visible,
.dark a.inline-block.bg-primary.text-white:hover,
.dark a.inline-block.bg-primary.text-white:focus-visible {
  background: var(--step31-gold-hover) !important;
  border-color: var(--step31-gold-hover) !important;
  color: #ffffff !important;
  transform: translateY(-1px);
  opacity: 1 !important;
}


/* ====================================================================
   24. FOOTER
   ==================================================================== */

footer,
.site-footer {
  background: var(--step31-footer-bg) !important;
  color: var(--step31-text-body) !important;
  transition: background 0.35s ease;
  margin-bottom: 0 !important;
}

.dark footer,
.dark .site-footer {
  background: var(--step31-footer-bg) !important;
  color: var(--step31-text-body) !important;
}

footer a,
.site-footer a {
  color: var(--step31-text-secondary) !important;
  transition: color 0.2s;
}

footer a:hover,
.site-footer a:hover {
  color: var(--step31-gold) !important;
}

footer h4,
footer .footer-col-title,
.site-footer h4 {
  font-family: var(--step31-font-sans) !important;
  font-weight: 600;
  color: var(--step31-text-primary) !important;
}

/* Mobile footer accordion buttons — no gold/button styles */
footer .footer-accordion .accordion-trigger,
.dark footer .footer-accordion .accordion-trigger {
  background: transparent !important;
  background-color: transparent !important;
  border-color: transparent !important;
  box-shadow: none !important;
  color: var(--step31-text-primary) !important;
  transform: none !important;
}

footer .footer-accordion .accordion-trigger:hover,
footer .footer-accordion .accordion-trigger:focus,
.dark footer .footer-accordion .accordion-trigger:hover,
.dark footer .footer-accordion .accordion-trigger:focus {
  background: rgba(255, 255, 255, 0.05) !important;
  border-color: transparent !important;
  box-shadow: none !important;
}

footer .footer-accordion,
footer .border-t {
  border-color: rgba(0, 0, 0, 0.10) !important;
}

.dark footer .footer-accordion,
.dark footer .border-t {
  border-color: rgba(255, 255, 255, 0.14) !important;
}


/* ====================================================================
   25. DARK MODE — GLOBAL WARM PASS
   Eliminates blue/slate tint across the entire site
   ==================================================================== */

.dark body {
  background: var(--step31-bg) !important;
  color: var(--step31-text-body) !important;
}

.dark h1,
.dark h2,
.dark h3,
.dark h4,
.dark h5,
.dark h6 {
  color: var(--step31-text-primary) !important;
}

.dark p {
  color: var(--step31-text-body) !important;
}

/* Remove blue-tinted utility classes */
.dark [class*="dark:text-slate-"],
.dark [class*="dark:text-zinc-"],
.dark .text-slate-300,
.dark .text-slate-400,
.dark .text-slate-500,
.dark .text-zinc-300,
.dark .text-zinc-400,
.dark .text-zinc-500 {
  color: var(--step31-text-body) !important;
}

.dark .text-white,
.dark [class*="dark:text-white"] {
  color: var(--step31-text-primary) !important;
}

.dark [class*="dark:bg-zinc-"],
.dark [class*="dark:bg-slate-"],
.dark .bg-zinc-900,
.dark .bg-zinc-800,
.dark .bg-slate-900,
.dark .bg-slate-800 {
  background-color: var(--step31-surface) !important;
}

.dark [class*="dark:border-zinc-"],
.dark [class*="dark:border-slate-"],
.dark .border-zinc-700,
.dark .border-zinc-800,
.dark .border-slate-700,
.dark .border-slate-800 {
  border-color: var(--step31-border) !important;
}

/* Dark input::placeholder */
.dark input::placeholder,
.dark textarea::placeholder {
  color: var(--step31-text-secondary) !important;
}

/* Dark inputs global */
.dark input,
.dark textarea,
.dark select {
  background: #111112 !important;
  border-color: rgba(185, 163, 90, 0.16) !important;
  color: var(--step31-text-primary) !important;
}

.dark input:focus,
.dark textarea:focus,
.dark select:focus {
  border-color: var(--step31-gold) !important;
  box-shadow: 0 0 0 2px rgba(185, 163, 90, 0.18) !important;
}

/* Dark scrollbar */
.dark body {
  scrollbar-color: rgba(148, 163, 184, 0.58) transparent;
}

.dark #mini-cart-content::-webkit-scrollbar-thumb {
  background: rgba(148, 163, 184, 0.58);
}

/* Dark tables */
.dark table.shop_table th,
.dark table.shop_table td {
  border-color: var(--step31-border) !important;
  color: var(--step31-text-primary) !important;
}

/* Dark amount */
.dark .amount,
.dark .woocommerce-Price-amount {
  color: var(--step31-gold) !important;
}


/* ====================================================================
   26. UTILITY
   ==================================================================== */

/* Text tokens */
.text-primary,
.amount,
.woocommerce-Price-amount {
  color: var(--step31-gold) !important;
}

.bg-primary {
  background-color: var(--step31-gold) !important;
}

.border-primary {
  border-color: var(--step31-gold) !important;
}

/* Mobile Quick View always visible */
@media (max-width: 767px) {
  .product-card-index .quick-view-btn {
    opacity: 1 !important;
    pointer-events: auto !important;
    touch-action: manipulation;
    z-index: 30 !important;
  }
}


/* ====================================================================
   27. NEWSLETTER SECTION
   ==================================================================== */

.newsletter-section,
section.newsletter-section {
  background: var(--step31-newsletter-bg) !important;
  transition: background 0.35s ease;
}

.dark .newsletter-section,
.dark section.newsletter-section {
  background: var(--step31-newsletter-bg) !important;
}

.newsletter-section h2,
.newsletter-section .newsletter-heading {
  font-family: var(--step31-font-sans) !important;
  font-weight: 600;
  color: var(--step31-text-primary) !important;
  letter-spacing: -0.01em;
}

.newsletter-section p,
.newsletter-section .newsletter-desc {
  font-family: var(--step31-font-sans) !important;
  font-weight: 400;
  color: var(--step31-text-secondary) !important;
}

/* Newsletter input + button row */
.newsletter-section input[type="email"],
.newsletter-form input[type="email"] {
  background: var(--step31-surface) !important;
  border: 1px solid var(--step31-border) !important;
  border-right: none !important;
  border-radius: 0 !important;
  color: var(--step31-text-primary) !important;
  font-family: var(--step31-font-sans) !important;
  font-size: 14px;
  min-height: 50px;
  padding: 0 16px;
  transition: border-color 0.15s ease;
}

.newsletter-section input[type="email"]:focus,
.newsletter-form input[type="email"]:focus {
  outline: none;
  border-color: var(--step31-gold) !important;
}

.newsletter-section input[type="email"]::placeholder,
.newsletter-form input[type="email"]::placeholder {
  color: var(--step31-text-secondary) !important;
}

.newsletter-section button[type="submit"],
.newsletter-section .newsletter-btn,
.newsletter-form button[type="submit"] {
  background: var(--step31-gold) !important;
  border: 1px solid var(--step31-gold) !important;
  border-radius: 0 !important;
  color: #ffffff !important;
  font-family: var(--step31-font-sans) !important;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  min-height: 50px;
  padding: 0 22px;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.newsletter-section button[type="submit"]:hover,
.newsletter-section .newsletter-btn:hover,
.newsletter-form button[type="submit"]:hover {
  background: var(--step31-gold-hover) !important;
  border-color: var(--step31-gold-hover) !important;
}

/* 1% / sustainability micro-block */
.sustainability-block,
.donation-block {
  border-top: 1px solid var(--step31-border);
  padding-top: 14px;
  margin-top: 14px;
  font-size: 12px;
  color: var(--step31-text-secondary) !important;
  font-family: var(--step31-font-sans);
  letter-spacing: 0.04em;
}

.sustainability-block strong,
.donation-block strong {
  color: var(--step31-text-primary) !important;
  font-weight: 700;
}


/* ====================================================================
   28. WOOCOMMERCE SHARED TABLE BASE
   ==================================================================== */

.woocommerce-cart .shop_table,
.woocommerce-checkout .shop_table,
.woocommerce-order-received .shop_table {
  border-color: var(--step31-border);
  width: 100%;
  border-collapse: collapse;
}

.woocommerce-cart .shop_table th,
.woocommerce-checkout .shop_table th,
.woocommerce-order-received .shop_table th {
  font-family: var(--step31-font-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--step31-muted);
  padding: 10px 0;
  border-bottom: 1px solid var(--step31-border);
}

.woocommerce-cart .product-name a,
.woocommerce-checkout .product-name a,
.woocommerce-order-received .product-name a {
  color: var(--step31-text-primary);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
}

.woocommerce-cart .product-name a:hover,
.woocommerce-checkout .product-name a:hover,
.woocommerce-order-received .product-name a:hover {
  color: var(--step31-gold);
}

/* Shared button base — overridden per context below */
.woocommerce-cart .button,
.woocommerce-cart .checkout-button,
.woocommerce-checkout #place_order,
.woocommerce-checkout .button,
.woocommerce-order-received .button {
  font-family: var(--step31-font-sans) !important;
  border-radius: 0 !important;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 11px !important;
  font-weight: 700 !important;
}

/* WooCommerce sale badge */
.onsale,
.woocommerce span.onsale {
  background: var(--step31-accent-soft, #F5F0E0) !important;
  color: var(--step31-gold-hover) !important;
  border: 1px solid rgba(185, 163, 90, 0.35) !important;
  border-radius: 0 !important;
  font-family: var(--step31-font-sans) !important;
  font-size: 10px !important;
  font-weight: 700 !important;
  letter-spacing: 0.14em !important;
  text-transform: uppercase !important;
  padding: 4px 10px !important;
  line-height: 1.4 !important;
  min-height: auto !important;
  min-width: auto !important;
}

/* Pagination */
.woocommerce-pagination ul li a,
.woocommerce-pagination ul li span,
.page-numbers a,
.page-numbers span {
  font-family: var(--step31-font-sans) !important;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  border-radius: 0 !important;
  border-color: var(--step31-border) !important;
  color: var(--step31-text-body) !important;
  transition: background 0.18s, color 0.18s, border-color 0.18s;
}

.woocommerce-pagination ul li a:hover,
.page-numbers a:hover {
  background: var(--step31-gold) !important;
  border-color: var(--step31-gold) !important;
  color: #ffffff !important;
}

.woocommerce-pagination ul li span.current,
.page-numbers span.current {
  background: var(--step31-gold) !important;
  border-color: var(--step31-gold) !important;
  color: #ffffff !important;
}


/* ====================================================================
   29. PAYMENT INSTRUCTION PAGES
   COD and SadaPay/Bank Transfer instruction cards
   ==================================================================== */

/* Card wrapper */
.step31-payment-card,
.woocommerce-order section.step31-payment-card {
  background: var(--step31-cream) !important;
  border: 1px solid var(--step31-gold-border) !important;
  border-radius: var(--step31-radius-xl) !important;
  padding: 30px !important;
  margin: 0 0 32px !important;
  box-shadow: none !important;
}

.step31-payment-card h2,
.step31-cod-card h2,
.step31-prepaid-info h2 {
  font-family: var(--step31-font-sans) !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  letter-spacing: 0.26em !important;
  text-transform: uppercase !important;
  color: var(--step31-text-primary) !important;
  margin: 0 0 18px !important;
}

.step31-payment-card h3 {
  font-family: var(--step31-font-sans) !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  letter-spacing: 0.32em !important;
  text-transform: uppercase !important;
  color: var(--step31-text-primary) !important;
  margin: 26px 0 18px !important;
}

.step31-payment-amount {
  font-size: 24px !important;
  font-weight: 800 !important;
  color: var(--step31-text-primary) !important;
  margin: 0 !important;
}

/* Payment note text */
.step31-prepaid-text,
.step31-prepaid-note,
.step31-cod-text,
.step31-cod-note,
.step31-payment-note {
  font-size: 14px !important;
  line-height: 1.7 !important;
  color: var(--step31-text-body) !important;
}

.step31-payment-note {
  margin: 24px 0 0 !important;
}

.step31-prepaid-note,
.step31-cod-note {
  margin-bottom: 0 !important;
  color: #7a6a30 !important;
}

/* Dark mode payment cards */
.dark .step31-payment-card,
.dark .step31-cod-card {
  background: rgba(24, 24, 27, 0.92) !important;
  border-color: rgba(185, 163, 90, 0.35) !important;
}

.dark .step31-payment-card h2,
.dark .step31-payment-card h3,
.dark .step31-cod-card h2,
.dark .step31-prepaid-info h2 {
  color: var(--step31-text-primary) !important;
}

.dark .step31-prepaid-note,
.dark .step31-cod-note {
  color: #d6bf85 !important;
}

.dark .step31-prepaid-steps div,
.dark .step31-cod-steps div {
  background: #111112 !important;
  border-color: rgba(185, 163, 90, 0.18) !important;
}

.dark .step31-prepaid-steps span,
.dark .step31-cod-steps span {
  color: var(--step31-text-primary) !important;
}

/* Mobile payment cards */
@media (max-width: 640px) {
  .step31-payment-card,
  .step31-cod-card { padding: 22px 18px !important; border-radius: 14px !important; }
  .step31-prepaid-steps div,
  .step31-cod-steps div { padding: 12px 13px; }
  .step31-prepaid-steps span,
  .step31-cod-steps span { font-size: 13px; }
}


/* ====================================================================
   30. SEARCH MODAL
   ==================================================================== */

.search-modal,
#search-modal {
  background: var(--step31-surface) !important;
  border-bottom: 1px solid var(--step31-border) !important;
}

.dark .search-modal,
.dark #search-modal {
  background: #121212 !important;
  border-color: var(--step31-border) !important;
}

#search-modal input[type="search"],
#search-modal input[type="text"],
.search-modal input[type="search"] {
  background: transparent !important;
  border: none !important;
  border-bottom: 1px solid var(--step31-border) !important;
  border-radius: 0 !important;
  color: var(--step31-text-primary) !important;
  font-family: var(--step31-font-sans) !important;
  font-size: clamp(22px, 3vw, 36px);
  font-weight: 400;
  letter-spacing: -0.01em;
  outline: none !important;
  padding: 12px 0 !important;
  width: 100%;
  transition: border-color 0.2s;
}

#search-modal input:focus,
.search-modal input:focus {
  border-bottom-color: var(--step31-gold) !important;
}

#search-modal input::placeholder,
.search-modal input::placeholder {
  color: var(--step31-text-secondary) !important;
}

/* Search results */
.search-modal .search-result-item:hover,
#search-modal .search-result-item:hover {
  background: var(--step31-accent-soft, #F5F0E0) !important;
}

.search-modal .search-result-title,
#search-modal .search-result-title {
  font-family: var(--step31-font-sans) !important;
  font-weight: 600;
  color: var(--step31-text-primary) !important;
}

.search-modal .search-result-price,
#search-modal .search-result-price {
  font-family: var(--step31-font-sans) !important;
  font-weight: 700;
  color: var(--step31-gold) !important;
}


/* ====================================================================
   31. ACCOUNT / MY ACCOUNT PAGES
   ==================================================================== */

.woocommerce-account .woocommerce-MyAccount-navigation {
  border: 1px solid var(--step31-border);
  border-radius: var(--step31-radius-md);
  overflow: hidden;
}

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

.woocommerce-account .woocommerce-MyAccount-navigation ul li a {
  display: block;
  padding: 13px 18px;
  font-family: var(--step31-font-sans) !important;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--step31-text-body) !important;
  text-decoration: none;
  border-bottom: 1px solid var(--step31-border);
  transition: background 0.18s, color 0.18s;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li:last-child a {
  border-bottom: none;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li a:hover,
.woocommerce-account .woocommerce-MyAccount-navigation ul li.is-active a {
  background: var(--step31-accent-soft, #F5F0E0) !important;
  color: var(--step31-gold) !important;
}

.woocommerce-account .woocommerce-MyAccount-content {
  font-family: var(--step31-font-sans) !important;
  color: var(--step31-text-body) !important;
}

/* Account form inputs */
.woocommerce-account .woocommerce-EditAccountForm input,
.woocommerce-account .woocommerce-address-fields input,
.woocommerce-account .woocommerce-address-fields select {
  border-radius: 0 !important;
  border-color: var(--step31-border) !important;
  font-family: var(--step31-font-sans) !important;
}

.woocommerce-account .woocommerce-EditAccountForm input:focus,
.woocommerce-account .woocommerce-address-fields input:focus {
  border-color: var(--step31-gold) !important;
  box-shadow: 0 0 0 3px rgba(185, 163, 90, 0.14) !important;
}

/* Account save button */
.woocommerce-account .button[type="submit"],
.woocommerce-account input[type="submit"] {
  background: var(--step31-gold) !important;
  border: 1px solid var(--step31-gold) !important;
  border-radius: 0 !important;
  color: #ffffff !important;
  font-family: var(--step31-font-sans) !important;
  font-weight: 700 !important;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 13px 28px !important;
  transition: background 0.2s, border-color 0.2s, transform 0.15s;
}

.woocommerce-account .button[type="submit"]:hover,
.woocommerce-account input[type="submit"]:hover {
  background: var(--step31-gold-hover) !important;
  border-color: var(--step31-gold-hover) !important;
  transform: translateY(-1px);
}

/* Order history table */
.woocommerce-account .woocommerce-orders-table th {
  font-family: var(--step31-font-sans) !important;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--step31-text-secondary) !important;
}

.woocommerce-account .woocommerce-orders-table td {
  font-family: var(--step31-font-sans) !important;
  font-size: 13px;
  color: var(--step31-text-body) !important;
  border-color: var(--step31-border) !important;
}

.woocommerce-account .woocommerce-orders-table .woocommerce-button {
  background: transparent !important;
  border: 1px solid var(--step31-gold) !important;
  border-radius: 0 !important;
  color: var(--step31-gold) !important;
  font-size: 10px !important;
  font-weight: 700 !important;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 7px 14px !important;
  transition: background 0.2s, color 0.2s;
}

.woocommerce-account .woocommerce-orders-table .woocommerce-button:hover {
  background: var(--step31-gold) !important;
  color: #ffffff !important;
}

/* Dark account */
.dark .woocommerce-account .woocommerce-MyAccount-navigation {
  border-color: var(--step31-border) !important;
}

.dark .woocommerce-account .woocommerce-MyAccount-navigation ul li a {
  border-color: var(--step31-border) !important;
  color: var(--step31-text-body) !important;
}

.dark .woocommerce-account .woocommerce-MyAccount-navigation ul li a:hover,
.dark .woocommerce-account .woocommerce-MyAccount-navigation ul li.is-active a {
  background: rgba(185, 163, 90, 0.12) !important;
  color: var(--step31-gold) !important;
}


/* ====================================================================
   32. CONTACT & UTILITY PAGES
   ==================================================================== */

/* Contact page two-column layout */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

@media (max-width: 767px) {
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* Contact image column — fixed height, no layout shift */
.contact-image-col {
  position: relative;
  height: 560px;
  overflow: hidden;
  border-radius: 0;
}

.contact-image-col img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 767px) {
  .contact-image-col {
    height: 280px;
  }
}

/* Contact form inputs */
.contact-form-col input,
.contact-form-col textarea,
.contact-form-col select,
.wpcf7-form input,
.wpcf7-form textarea {
  background: var(--step31-surface) !important;
  border: 1px solid var(--step31-border) !important;
  border-radius: 0 !important;
  color: var(--step31-text-primary) !important;
  font-family: var(--step31-font-sans) !important;
  font-size: 14px;
  min-height: 48px;
  padding: 12px 14px;
  width: 100%;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.contact-form-col input:focus,
.contact-form-col textarea:focus,
.wpcf7-form input:focus,
.wpcf7-form textarea:focus {
  border-color: var(--step31-gold) !important;
  box-shadow: 0 0 0 3px rgba(185, 163, 90, 0.14) !important;
  outline: none;
}

/* Textarea no resize that breaks layout */
.contact-form-col textarea,
.wpcf7-form textarea {
  resize: vertical;
  min-height: 130px;
  max-height: 300px;
}

.contact-form-col input[type="submit"],
.wpcf7-form input[type="submit"],
.wpcf7-form .wpcf7-submit {
  background: var(--step31-gold) !important;
  border: 1px solid var(--step31-gold) !important;
  border-radius: 0 !important;
  color: #ffffff !important;
  cursor: pointer;
  font-weight: 700 !important;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: background 0.2s, transform 0.15s;
}

.contact-form-col input[type="submit"]:hover,
.wpcf7-form input[type="submit"]:hover,
.wpcf7-form .wpcf7-submit:hover {
  background: var(--step31-gold-hover) !important;
  border-color: var(--step31-gold-hover) !important;
  transform: translateY(-1px);
}

/* Size guide page */
.size-guide-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--step31-font-sans) !important;
}

.size-guide-table th {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--step31-text-secondary) !important;
  padding: 10px 14px;
  border-bottom: 2px solid var(--step31-border);
  text-align: left;
}

.size-guide-table td {
  font-size: 13px;
  color: var(--step31-text-body) !important;
  padding: 12px 14px;
  border-bottom: 1px solid var(--step31-border);
  text-align: left;
}

.size-guide-table tr:hover td {
  background: var(--step31-accent-soft, #F5F0E0) !important;
}

/* Highlighted row (recommended size) */
.size-guide-table tr.recommended td {
  background: rgba(185, 163, 90, 0.08) !important;
  font-weight: 600;
  color: var(--step31-text-primary) !important;
}

.dark .size-guide-table th {
  color: var(--step31-text-secondary) !important;
  border-color: var(--step31-border) !important;
}

.dark .size-guide-table td {
  color: var(--step31-text-body) !important;
  border-color: var(--step31-border) !important;
}

.dark .size-guide-table tr:hover td {
  background: rgba(185, 163, 90, 0.10) !important;
}


/* ====================================================================
   33. TERMS, PRIVACY & LEGAL PAGES
   ==================================================================== */

.legal-page-content,
.entry-content.legal {
  font-family: var(--step31-font-sans) !important;
  color: var(--step31-text-body) !important;
  max-width: 760px;
  margin: 0 auto;
  line-height: 1.8;
}

.legal-page-content h1,
.entry-content.legal h1 {
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 600;
  color: var(--step31-text-primary) !important;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.legal-page-content h2,
.entry-content.legal h2 {
  font-family: var(--step31-font-sans) !important;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--step31-text-primary) !important;
  margin: 36px 0 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--step31-border);
}

.legal-page-content h3,
.entry-content.legal h3 {
  font-family: var(--step31-font-sans) !important;
  font-size: 13px;
  font-weight: 700;
  color: var(--step31-text-primary) !important;
  margin: 24px 0 8px;
}

.legal-page-content p,
.entry-content.legal p {
  color: var(--step31-text-body) !important;
  margin-bottom: 14px;
  font-size: 14px;
}

.legal-page-content a,
.entry-content.legal a {
  color: var(--step31-gold) !important;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

.legal-page-content a:hover,
.entry-content.legal a:hover {
  color: var(--step31-gold-hover) !important;
}

.legal-page-content ul,
.legal-page-content ol,
.entry-content.legal ul,
.entry-content.legal ol {
  padding-left: 20px;
  margin-bottom: 14px;
  color: var(--step31-text-body) !important;
}

.legal-page-content li,
.entry-content.legal li {
  margin-bottom: 6px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--step31-text-body) !important;
}

/* Jurisdiction callout */
.legal-jurisdiction-note {
  background: var(--step31-cream) !important;
  border: 1px solid var(--step31-gold-border);
  border-left: 3px solid var(--step31-gold);
  border-radius: var(--step31-radius-sm);
  padding: 14px 18px;
  font-size: 13px;
  color: var(--step31-text-body) !important;
  margin: 24px 0;
}

.dark .legal-jurisdiction-note {
  background: rgba(185, 163, 90, 0.08) !important;
  border-color: rgba(185, 163, 90, 0.22);
  border-left-color: var(--step31-gold);
}


/* ====================================================================
   34. FINAL MOBILE RESPONSIVENESS PASS
   Catches any remaining layout issues below 480px
   ==================================================================== */

@media (max-width: 480px) {
  /* Typography floor */
  body { font-size: 13px; }

  /* Hero */
  #hero-swiper h1 { font-size: clamp(28px, 8vw, 40px) !important; }

  /* Cards — ensure 2 columns never collapse below 280px screen */
  .cards-grid,
  #archive-product-grid,
  .products.columns-2,
  .products.columns-3,
  .products.columns-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 14px !important;
  }

  /* Buttons */
  .btn-primary,
  .btn-secondary,
  .step31-cta-primary,
  .step31-cta-secondary,
  .fasco-cart-summary__checkout,
  #place_order {
    font-size: 10px !important;
    letter-spacing: 0.14em !important;
    padding: 12px 16px !important;
  }

  /* Cart page */
  .fasco-cart-layout { padding: 0 12px 48px !important; }
  .fasco-cart-side { padding: 18px 14px !important; }

  /* Checkout */
  .fasco-checkout-main { padding: 14px !important; }
  .fasco-checkout-side__inner { padding: 18px 14px !important; }

  /* Thank you */
  .woocommerce-order { padding: 0 12px 48px !important; }
  .step31-payment-card { padding: 18px 14px !important; }

  /* Mini cart */
  #mini-cart-panel { width: 95vw !important; max-width: 95vw !important; }
  #mini-cart-panel .woocommerce-mini-cart-item { grid-template-columns: 72px minmax(0, 1fr) !important; }
  #mini-cart-panel .woocommerce-mini-cart-item > div:first-child { height: 72px !important; width: 72px !important; }

  /* QV modal */
  #quick-view-modal .quick-buy-header p { font-size: 11px !important; letter-spacing: 0.22em !important; }
  #quick-view-title { font-size: 22px !important; }
  #quick-view-price { font-size: 14px !important; }
  #quick-view-sizes { gap: 6px !important; }
  #quick-view-modal .qv-size { min-height: 40px !important; font-size: 11px !important; }

  /* Newsletter */
  .newsletter-form {
    flex-direction: column !important;
  }

  .newsletter-section input[type="email"],
  .newsletter-form input[type="email"] {
    border-right: 1px solid var(--step31-border) !important;
  }

  .newsletter-section button[type="submit"],
  .newsletter-form button[type="submit"] {
    width: 100%;
  }

  /* Announcement bar */
  #announcement-bar .announcement-link {
    font-size: 8.5px !important;
    letter-spacing: 0.13em !important;
  }

  /* Sort dropdown */
  .sort-dropdown-menu { min-width: 220px !important; }

  /* Thank you overview grid */
  .woocommerce-order-overview {
    grid-template-columns: 1fr 1fr !important;
  }
}

/* Landscape phone — 568px and below */
@media (max-width: 568px) and (orientation: landscape) {
  body.home #hero-swiper,
  body.page-template-page-home #hero-swiper,
  #hero-swiper {
    height: 100svh !important;
    min-height: 320px !important;
  }

  #hero-swiper h1 {
    font-size: clamp(22px, 5.5vw, 32px) !important;
  }

  body.home #hero-swiper .hero-slide-actions,
  #hero-swiper .hero-slide-actions {
    bottom: calc(env(safe-area-inset-bottom, 0px) + 14px) !important;
    gap: 8px !important;
  }

  #hero-swiper .hero-slide-actions a {
    min-height: 42px !important;
    font-size: 9px !important;
  }
}

/* Safe area padding for notched devices */
@supports (padding-bottom: env(safe-area-inset-bottom)) {
  .fasco-cart-layout,
  .fasco-checkout-layout,
  .woocommerce-order {
    padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 80px) !important;
  }

  #mini-cart-content > div:last-child {
    padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 18px) !important;
  }
}

/* High DPI / retina — sharper borders */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 2dppx) {
  .step31-gallery-thumb,
  .qv-color,
  .single-color-btn.step31-color-swatch,
  .home-product-swatch,
  .product-card-index .home-product-swatch {
    border-width: 0.5px !important;
  }
}

/* Print — strip everything decorative */
@media print {
  header,
  footer,
  #announcement-bar,
  #mini-cart-panel,
  #quick-view-modal,
  #filter-drawer-panel,
  #mobile-nav-panel,
  .fasco-toast-stack,
  .product-card-index .home-product-quick-view,
  .scroll-reveal-ready .scroll-reveal {
    display: none !important;
  }

  body {
    background: #ffffff !important;
    color: #000000 !important;
    font-size: 12pt;
  }

  .woocommerce-order {
    padding: 0 !important;
  }

  a { color: #000000 !important; text-decoration: underline; }
}


/* ====================================================================
   EOF — Step31 WooCommerce Custom Styles v2.0
   Last section: 34
   Total sections: tokens → base → fonts → animations → scroll →
   header → announcement → hero → category → product-cards → quick-view →
   archive-toolbar → single-product → gallery → mini-cart → drawers →
   cart → checkout → thank-you → notices → toasts → testimonials →
   home-CTAs → footer → dark-mode → utility → newsletter → wc-base →
   payment-pages → search → account → contact-utility → legal → mobile
   ==================================================================== */
