/* ====================================================================
   KIMZEY'S CREATIONS — WordPress front-end theme (do not use src/index.css
   for the live site; WP loads this file from functions.php as "theme-style").
   Path: wp-content/themes/kimzeys-creations/assets/css/theme.css
   ==================================================================== */

/* ====================================================================
   1. CSS CUSTOM PROPERTIES (Design Tokens)
   ==================================================================== */
:root {
  /* Colors — set via wp_add_inline_style in functions.php */
  --color-primary:            #5a3520;
  --color-primary-foreground: #ffffff;
  --color-background:         #f7f4f0;
  --color-foreground:         #2a1a0e;
  --color-secondary:          #ece7e1;
  --color-secondary-foreground: #241509;
  --color-muted:              #dbd4cc;
  --color-muted-foreground:   #6b5a4e;
  --color-border:             #d4cabd;
  --color-card:               #efe9e3;
  --color-button-text:        #ffffff;

  /* Typography */
  --font-display: 'Playfair Display', serif;
  --font-body:    'DM Sans', sans-serif;

  /* Buttons */
  --btn-radius:         9999px;
  --btn-height:         48px;
  --btn-padding:        0.75rem 2rem;
  --btn-font-size:      1rem;
  --btn-font-weight:    500;
  --btn-letter-spacing: 0em;
  --btn-text-transform: none;

  /* Layout */
  --radius:         8px;
  --header-height:  80px;
  --section-padding: 5rem 0;

  /* Shadows */
  --shadow-soft:     0 4px 20px -4px rgba(42,26,14,0.06);
  --shadow-elevated: 0 8px 40px -8px rgba(42,26,14,0.12);

  /* Transitions */
  --transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);
  --transition-spring: cubic-bezier(0.22, 1, 0.36, 1);

  /* Logo */
  --logo-height: 60px;
}

/* ====================================================================
   2. RESET & BASE
   ==================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--color-background);
  color: var(--color-foreground);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-body);
  font-weight: 700;
  line-height: 1.25;
  color: var(--color-foreground);
}

a {
  color: inherit;
  text-decoration: none;
}

img, video {
  max-width: 100%;
  height: auto;
  display: block;
}

button {
  font-family: var(--font-body);
  cursor: pointer;
  border: none;
  background: none;
}

ul, ol {
  list-style: none;
}

/* ====================================================================
   3. TYPOGRAPHY UTILITIES
   ==================================================================== */
.font-display {
  font-family: var(--font-display) !important;
  font-weight: 500;
}

.section-eyebrow {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-muted-foreground);
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 500;
  margin-bottom: 1.5rem;
  color: var(--color-foreground);
}

.section-header {
  margin-bottom: 3rem;
}

.section-header-center {
  text-align: center;
}

/* ====================================================================
   4. LAYOUT UTILITIES
   ==================================================================== */
.container-wide {
  width: 100%;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

@media (min-width: 1024px) {
  .container-wide {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

.py-section {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.scroll-mt {
  scroll-margin-top: calc(var(--header-height) + 1.5rem);
}

.bg-secondary {
  background-color: var(--color-secondary);
}

.bg-foreground {
  background-color: var(--color-foreground);
}

.w-full {
  width: 100%;
}

.text-center {
  text-align: center;
}

/* ====================================================================
   5. BUTTONS
   ==================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: var(--btn-padding);
  font-family: var(--font-body);
  font-size: var(--btn-font-size);
  font-weight: var(--btn-font-weight);
  letter-spacing: var(--btn-letter-spacing);
  text-transform: var(--btn-text-transform);
  border-radius: var(--btn-radius);
  min-height: var(--btn-height);
  cursor: pointer;
  transition: opacity 0.2s ease, transform 0.2s ease;
  border: 2px solid transparent;
  text-decoration: none;
  white-space: nowrap;
}

.btn:hover {
  opacity: 0.85;
  transform: translateY(-1px);
}

.btn:active {
  transform: scale(0.97);
}

.btn-primary {
  background-color: var(--color-primary);
  color: var(--color-primary-foreground);
  border-color: var(--color-primary);
}

.btn-primary:hover {
  background-color: var(--color-primary);
  color: var(--color-primary-foreground);
}

.btn-outline {
  background-color: transparent;
  color: var(--color-foreground);
  border-color: var(--color-border);
}

.btn-outline:hover {
  background-color: var(--color-secondary);
}

.btn-outline-light {
  background-color: transparent;
  color: var(--color-background);
  border-color: rgba(247,244,240,0.4);
}

.btn-outline-light:hover {
  background-color: rgba(247,244,240,0.1);
  opacity: 1;
}

.btn-link-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-primary);
  font-weight: 500;
  font-size: 1rem;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.btn-link-primary:hover {
  text-decoration: underline;
}

/* ====================================================================
   6. SITE HEADER
   ==================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: background-color 0.5s ease, border-color 0.5s ease, box-shadow 0.5s ease;
  border-bottom: 1px solid transparent;
  height: var(--header-height);
}

/* No backdrop-filter here: it creates a containing block and breaks child position:fixed (e.g. mobile menu). */
.site-header.is-solid {
  background-color: rgba(247,244,240,0.98);
  border-color: var(--color-border);
  box-shadow: var(--shadow-soft);
}

.site-header .container-wide {
  height: 100%;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 1.5rem;
}

/* Logo */
.site-logo-link {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}

.site-logo-img  {
  height: var(--logo-height) !important;
  width: auto !important;
  display: block;
  object-fit: contain;
  transition: height 0.5s ease, filter 0.35s ease;
  max-height: 100px;
}

/* Image logo: light/white on the transparent header (hero) so it reads on photos + dark overlay. */
.site-header:not(.is-solid) .site-logo-img {
  filter: brightness(0) invert(1) drop-shadow(0 1px 2px rgba(0, 0, 0, 0.2));
}

.site-header.is-solid .site-logo-img {
  filter: none;
}

.site-logo-text {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: inherit;
  line-height: 1;
  white-space: nowrap;
}

/* Transparent header (home hero) */
.site-header:not(.is-solid) .site-logo-text,
.site-header:not(.is-solid) .theme-nav-list a,
.site-header:not(.is-solid) .cart-btn,
.site-header:not(.is-solid) .mobile-menu-btn {
  color: var(--color-background);
}

.site-header.is-solid .site-logo-text,
.site-header.is-solid .theme-nav-list a,
.site-header.is-solid .cart-btn,
.site-header.is-solid .mobile-menu-btn {
  color: var(--color-foreground);
}

/* Logo image: show true colors; use a light PNG on the hero or switch to "Text" in Customizer for contrast. */

/* Desktop primary nav: hidden on small viewports; overlay + .mobile-menu used instead. */
.site-nav-links {
  display: none;
}

@media (min-width: 1024px) {
  .site-nav-links {
    display: flex;
    align-items: center;
  }
}

/* Primary header nav. Flex direction is row on desktop, column on mobile (see media queries). */
.theme-nav-list {
  display: flex;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

@media (min-width: 1024px) {
  .theme-nav-list {
    flex-direction: row;
    align-items: center;
  }
}

@media (max-width: 1023px) {
  .site-header .theme-nav-list,
  .site-header .site-nav-links .theme-nav-list,
  .site-header #primary-nav .theme-nav-list {
    flex-direction: column;
    align-items: flex-start;
  }
}

.theme-nav-list a,
.theme-nav-link {
  font-size: 0.875rem;
  font-weight: 400;
  letter-spacing: 0.025em;
  transition: opacity 0.3s ease;
  text-decoration: none;
  position: relative;
}

.theme-nav-list a::after,
.theme-nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: currentColor;
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 0.3s var(--transition-smooth);
}

.theme-nav-list a:hover::after,
.theme-nav-link:hover::after {
  transform: scaleX(1);
}

/* Nav Actions */
.site-nav-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Cart Button */
.cart-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
  background: none;
  border: none;
  cursor: pointer;
  transition: opacity 0.3s ease;
  color: inherit;
}

.cart-btn:hover {
  opacity: 0.6;
}

.theme-cart-count {
  position: absolute;
  top: -2px;
  right: -2px;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 500;
  background-color: var(--color-primary);
  color: var(--color-primary-foreground);
  border-radius: 50%;
  line-height: 1;
}

.theme-cart-count:empty {
  display: none;
}

/* Mobile Menu Button */
.mobile-menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
  color: inherit;
  transition: opacity 0.3s ease;
}

@media (min-width: 1024px) {
  .mobile-menu-btn {
    display: none;
  }
}

.mobile-menu-btn:hover {
  opacity: 0.6;
}

/* Mobile Menu: hidden until .is-open (entire #mobile-menu uses display:none when closed — no painted backdrop) */
#mobile-menu.mobile-menu,
.mobile-menu {
  display: none;
}

@media (max-width: 1023px) {
  /* Hamburger menu panel: always column in this viewport (overrides .menu { flex-direction: row } from WP). */
  .mobile-menu .mobile-menu-panel .mobile-nav-list,
  .mobile-menu .mobile-menu-panel ul.menu,
  #mobile-menu .mobile-menu-panel .mobile-nav-list,
  #mobile-menu .mobile-menu-panel ul.menu,
  .mobile-menu ul.mobile-nav-list,
  #mobile-menu ul.mobile-nav-list {
    flex-direction: column !important;
  }

  /* Do not let the desktop <nav> list wrap to a second row; links belong only in #mobile-menu when opened. */
  .site-header .site-nav {
    flex-wrap: nowrap;
  }

  .site-header .site-nav > .site-nav-links,
  .site-header .site-nav > #primary-nav,
  .site-header #primary-nav .theme-nav-list {
    display: none !important;
  }

  .site-header .site-nav .site-nav-actions {
    flex-shrink: 0;
  }

  /* Open state: reference — logo centered in the bar, cart + close (X) on the right, hero visible behind. */
  body.is-mobile-menu-open {
    overflow: hidden;
  }

  body.is-mobile-menu-open .site-header:not(.is-solid) {
    background: rgba(42, 26, 14, 0.5);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  body.is-mobile-menu-open .site-header.is-solid {
    border-bottom: 1px solid var(--color-border);
  }

  body.is-mobile-menu-open .site-header .site-nav {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    width: 100%;
    min-width: 0;
  }

  body.is-mobile-menu-open .site-header .site-logo-link {
    grid-column: 2;
    justify-self: center;
    z-index: 1;
  }

  body.is-mobile-menu-open .site-header .site-nav-actions {
    grid-column: 3;
    justify-self: end;
    z-index: 1;
  }

  body.is-mobile-menu-open .site-header:not(.is-solid) .site-logo-text,
  body.is-mobile-menu-open .site-header:not(.is-solid) .cart-btn,
  body.is-mobile-menu-open .site-header:not(.is-solid) .mobile-menu-btn {
    color: #fff;
  }

  /* Closed: do not show overlay, backdrop, or menu links in the tree (fixes stray visible dim / strip). */
  .mobile-menu:not(.is-open),
  #mobile-menu:not(.is-open) {
    display: none !important;
    pointer-events: none;
  }

  /* Open: sibling of header, full viewport under bar */
  .mobile-menu.is-open,
  #mobile-menu.is-open {
    display: block !important;
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 200;
    pointer-events: auto;
  }

  .mobile-menu.is-open .mobile-menu-backdrop,
  #mobile-menu.is-open .mobile-menu-backdrop {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-color: rgba(20, 14, 8, 0.45);
    display: block;
  }

  .mobile-menu.is-open .mobile-menu-panel,
  #mobile-menu.is-open .mobile-menu-panel {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1;
    display: block;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    background-color: #fff;
    border-bottom: 1px solid var(--color-border);
    box-shadow: 0 12px 32px -12px rgba(20, 14, 8, 0.18);
  }

  /* Vertical list: one link per row (overrides WP .menu { flex: row } from block / theme) */
  .mobile-menu.is-open .mobile-menu-panel .mobile-nav-list,
  .mobile-menu.is-open .mobile-menu-panel ul.menu,
  .mobile-menu.is-open ul.mobile-nav-list.menu,
  #mobile-menu.is-open .mobile-menu-panel .mobile-nav-list,
  #mobile-menu.is-open .mobile-menu-panel ul.menu,
  #mobile-menu.is-open ul.mobile-nav-list.menu {
    display: flex !important;
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    align-items: flex-start !important;
    align-content: flex-start !important;
    justify-content: flex-start !important;
    list-style: none !important;
    margin: 0 !important;
    padding-top: 20px;
    padding-bottom: 20px;
    padding-left: 40px;
    width: 100% !important;
    max-width: 100% !important;
  }

  .mobile-menu.is-open .mobile-menu-panel .mobile-nav-list > li,
  .mobile-menu.is-open .mobile-menu-panel ul.menu > li,
  #mobile-menu.is-open .mobile-menu-panel .mobile-nav-list > li,
  #mobile-menu.is-open .mobile-menu-panel ul.menu > li {
    display: block !important;
    float: none !important;
    width: 100% !important;
    max-width: 100% !important;
    list-style: none !important;
    margin: 0;
    padding: 0;
    padding-right: 1.25rem;
    box-sizing: border-box;
    border-bottom: 1px solid var(--color-border);
    position: relative;
  }

  .mobile-menu.is-open .mobile-menu-panel .mobile-nav-list > li:last-child,
  #mobile-menu.is-open .mobile-menu-panel .mobile-nav-list > li:last-child {
    border-bottom: 0;
  }

  .mobile-menu.is-open .mobile-menu-panel .mobile-nav-list a,
  .mobile-menu.is-open .mobile-menu-panel .mobile-nav-list .mobile-nav-link,
  #mobile-menu.is-open .mobile-menu-panel .mobile-nav-list a,
  #mobile-menu.is-open .mobile-menu-panel .mobile-nav-list .mobile-nav-link {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
    padding: 0.9rem 0;
    font-family: var(--font-body);
    font-size: 1.0625rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    color: var(--color-foreground);
    text-decoration: none;
    text-align: left;
    line-height: 1.3;
    transition: color 0.2s ease, background-color 0.2s ease;
  }

  .mobile-menu.is-open .mobile-menu-panel .mobile-nav-list a:hover,
  .mobile-menu.is-open .mobile-menu-panel .mobile-nav-list a:focus-visible,
  #mobile-menu.is-open .mobile-menu-panel .mobile-nav-list a:hover,
  #mobile-menu.is-open .mobile-menu-panel .mobile-nav-list a:focus-visible {
    color: var(--color-primary);
  }
}

/* ====================================================================
   7. HERO SECTION
   ==================================================================== */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background-color: var(--color-foreground);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(42,26,14,0.6);
  z-index: 1;
}

.hero-section .container-wide {
  position: relative;
  z-index: 2;
  padding-top: 8rem;
  padding-bottom: 8rem;
}

.hero-content {
  max-width: 42rem;
  margin: 0 auto;
  text-align: center;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.875rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--color-background);
  margin-bottom: 1.5rem;
  font-family: var(--font-body);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 3.75rem);
  font-weight: 600;
  color: var(--color-background);
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero-subtitle {
  color: rgba(247,244,240,0.7);
  font-size: 1.25rem;
  max-width: 32rem;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

.hero-ctas {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  justify-content: center;
}

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

.hero-cta-primary {
  padding: 0.875rem 2rem;
  font-size: 1rem;
}

.hero-cta-secondary {
  padding: 0.875rem 2rem;
  font-size: 1rem;
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}

.scroll-indicator-inner {
  width: 1.5rem;
  height: 2.5rem;
  border: 2px solid rgba(247,244,240,0.4);
  border-radius: 9999px;
  display: flex;
  justify-content: center;
  padding-top: 0.375rem;
}

.scroll-indicator-dot {
  width: 4px;
  height: 8px;
  background-color: rgba(247,244,240,0.6);
  border-radius: 9999px;
  animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

/* Hero Animations */
.reveal-text {
  animation: revealText 1s var(--transition-spring) 0.3s both;
}

.reveal-text-delay1 {
  animation: revealText 1s var(--transition-spring) 0.5s both;
}

.reveal-text-delay2 {
  animation: revealText 1s var(--transition-spring) 0.7s both;
}

.reveal-text-delay3 {
  animation: revealText 0.8s var(--transition-spring) 0.9s both;
}

@keyframes revealText {
  from { opacity: 0; transform: translateY(40px); filter: blur(10px); }
  to   { opacity: 1; transform: translateY(0);    filter: blur(0px); }
}

/* ====================================================================
   8. VALUE BAR
   ==================================================================== */
.value-bar {
  background-color: var(--color-primary);
  color: var(--color-primary-foreground);
  overflow: hidden;
}

.value-bar-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 1.25rem 0;
  text-align: center;
  font-size: 1rem;
}

@media (min-width: 640px) {
  .value-bar-inner {
    flex-direction: row;
    gap: 0;
  }
}

.value-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.value-separator {
  display: none;
  opacity: 0.4;
  margin: 0 1rem;
}

@media (min-width: 640px) {
  .value-separator {
    display: inline;
  }
}

/* ====================================================================
   9. ABOUT SECTION
   ==================================================================== */
.about-section {
  padding: 5rem 0;
}

.about-inner {
  max-width: 48rem;
  margin: 0 auto;
  text-align: center;
}

.about-text {
  margin-top: 0;
}

.about-paragraph {
  color: var(--color-muted-foreground);
  font-size: 1.125rem;
  line-height: 1.75;
  margin-bottom: 1.5rem;
}

.about-paragraph:last-child {
  margin-bottom: 0;
}

/* ====================================================================
   10. SERVICES SECTION
   ==================================================================== */
.services-section {
  padding: 5rem 0;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .services-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.service-card {
  background-color: var(--color-background);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 2rem;
  display: flex;
  flex-direction: column;
}

.service-icon-wrap {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background-color: rgba(90,53,32,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  flex-shrink: 0;
  color: var(--color-primary);
}

.service-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  font-family: var(--font-body);
  color: var(--color-foreground);
}

.service-description {
  font-size: 1rem;
  color: var(--color-muted-foreground);
  line-height: 1.6;
}

/* Card Hover */
.card-hover {
  transition: transform 0.5s var(--transition-smooth), box-shadow 0.5s var(--transition-smooth);
}

.card-hover:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px -15px rgba(90,53,32,0.15);
}

/* ====================================================================
   11. HOW IT WORKS SECTION
   ==================================================================== */
.how-section {
  padding: 5rem 0;
}

/* Desktop */
.how-desktop {
  display: none;
}

@media (min-width: 1024px) {
  .how-desktop {
    display: block;
  }
}

.how-steps-wrapper {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  max-width: 56rem;
  margin: 0 auto;
}

.how-connector-bg {
  position: absolute;
  top: 2.5rem;
  left: 10%;
  right: 10%;
  height: 2px;
  background-color: var(--color-border);
}

.how-connector-fill {
  position: absolute;
  top: 2.5rem;
  left: 10%;
  right: 10%;
  height: 2px;
  background-color: var(--color-primary);
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 1.2s var(--transition-spring);
}

.how-connector-fill.is-visible {
  transform: scaleX(1);
}

.how-step {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 25%;
  padding: 0 1rem;
}

.how-step-icon {
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
  background-color: var(--color-background);
  border: 2px solid var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  box-shadow: var(--shadow-soft);
  color: var(--color-primary);
  transition: transform 0.3s ease;
}

.how-step:hover .how-step-icon {
  transform: scale(1.1) rotate(5deg);
}

.how-step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  background-color: var(--color-primary);
  color: var(--color-primary-foreground);
  font-size: 0.875rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.how-step-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  font-family: var(--font-body);
  color: var(--color-foreground);
}

.how-step-description {
  font-size: 1rem;
  color: var(--color-muted-foreground);
  line-height: 1.6;
}

/* Mobile Steps */
.how-mobile {
  display: block;
  max-width: 28rem;
  margin: 0 auto;
}

@media (min-width: 1024px) {
  .how-mobile {
    display: none;
  }
}

.how-mobile-steps {
  position: relative;
  padding-left: 3rem;
}

.how-mobile-line-bg {
  position: absolute;
  left: 19px;
  top: 0;
  bottom: 0;
  width: 2px;
  background-color: var(--color-border);
}

.how-mobile-line-fill {
  position: absolute;
  left: 19px;
  top: 0;
  bottom: 0;
  width: 2px;
  background-color: var(--color-primary);
  transform-origin: top;
  transform: scaleY(0);
  transition: transform 1.5s ease;
}

.how-mobile-line-fill.is-visible {
  transform: scaleY(1);
}

.how-mobile-step {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  padding-bottom: 2.5rem;
}

.how-mobile-step:last-child {
  padding-bottom: 0;
}

.how-mobile-step-number {
  position: absolute;
  left: -3rem;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background-color: var(--color-primary);
  color: var(--color-primary-foreground);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 700;
  z-index: 1;
  box-shadow: var(--shadow-soft);
  flex-shrink: 0;
}

.how-mobile-step-content {
  flex: 1;
}

.how-mobile-step-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.25rem;
  color: var(--color-primary);
}

.how-mobile-step-header .how-step-title {
  margin-bottom: 0;
}

/* ====================================================================
   12. SHOP SECTION
   ==================================================================== */
.shop-section {
  padding: 5rem 0;
}

/* Search */
.shop-search-wrap {
  max-width: 28rem;
  margin: 0 auto 1.5rem;
}

.shop-search-inner {
  position: relative;
}

.shop-search-icon {
  position: absolute;
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-muted-foreground);
  pointer-events: none;
}

.shop-search-input {
  width: 100%;
  height: 3rem;
  padding: 0 2.5rem 0 2.5rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background-color: var(--color-background);
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-foreground);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  appearance: none;
  -webkit-appearance: none;
}

.shop-search-input::placeholder {
  color: var(--color-muted-foreground);
}

.shop-search-input:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 2px rgba(90,53,32,0.15);
}

.shop-search-clear {
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-muted-foreground);
  transition: color 0.2s ease;
}

.shop-search-clear:hover {
  color: var(--color-foreground);
}

/* Category Filters */
.shop-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 3rem;
}

.shop-filter-btn {
  padding: 0.625rem 1.5rem;
  font-size: 1rem;
  border-radius: 9999px;
  background-color: var(--color-secondary);
  color: var(--color-secondary-foreground);
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
  font-family: var(--font-body);
}

.shop-filter-btn:hover {
  background-color: var(--color-muted);
  transform: translateY(-2px);
}

.shop-filter-btn.is-active {
  background-color: var(--color-primary);
  color: var(--color-primary-foreground);
}

/* Product Grid */
.theme-product-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: stretch;
}

@media (min-width: 640px) {
  .theme-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .theme-product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem;
  }
}

/* View All */
.shop-view-all-wrap {
  text-align: center;
  margin-top: 2.5rem;
}

.shop-no-products {
  text-align: center;
  color: var(--color-muted-foreground);
  padding: 5rem 0;
}

/* ====================================================================
   13. PRODUCT CARDS
   ==================================================================== */
.theme-product-card-wrap {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.theme-product-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
}

.theme-product-card__image-wrapper {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: var(--radius);
  background-color: var(--color-secondary);
  margin-bottom: 1rem;
  transition: transform 0.3s var(--transition-spring), box-shadow 0.3s ease;
}

.theme-product-card:hover .theme-product-card__image-wrapper {
  transform: scale(1.02);
}

.theme-product-card__image-link {
  display: block;
  overflow: hidden;
  border-radius: var(--radius);
}

.theme-product-card__image-link img {
  display: block;
  width: 100%;
}

.theme-product-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--transition-spring);
}

.theme-product-card:hover .theme-product-card__image {
  transform: scale(1.08);
}

.theme-product-card.is-sold-out .theme-product-card__image {
  opacity: 0.6;
}

/* Badges */
.sold-out-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.25rem 0.75rem;
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: 9999px;
  background-color: var(--color-foreground);
  color: var(--color-background);
  z-index: 2;
}

.new-badge {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  padding: 0.25rem 0.75rem;
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: 9999px;
  background-color: var(--color-primary);
  color: var(--color-primary-foreground);
  z-index: 2;
}

.customizable-badge {
  position: absolute;
  bottom: 0.75rem;
  left: 0.75rem;
  padding: 0.25rem 0.75rem;
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: 9999px;
  background-color: rgba(247,244,240,0.8);
  backdrop-filter: blur(4px);
  color: var(--color-foreground);
  z-index: 2;
}

/* Quick Add Button */
.quick-add-btn {
  position: absolute;
  bottom: 0.75rem;
  right: 0.75rem;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(247,244,240,0.9);
  backdrop-filter: blur(4px);
  color: var(--color-foreground);
  border: none;
  cursor: pointer;
  z-index: 3;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.quick-add-btn:hover {
  background-color: var(--color-primary);
  color: var(--color-primary-foreground);
  transform: scale(1.15);
}

.quick-add-btn.is-added {
  background-color: var(--color-primary);
  color: var(--color-primary-foreground);
}

/* Card Info */
.theme-product-card__info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.theme-product-card__category {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-muted-foreground);
}

.theme-product-card__title {
  font-size: 1.125rem;
  font-weight: 700;
  font-family: var(--font-body);
  color: var(--color-foreground);
  transition: opacity 0.2s ease;
  line-height: 1.3;
}

.theme-product-card:hover .theme-product-card__title {
  opacity: 0.7;
}

.theme-product-card__description {
  font-size: 1rem;
  color: var(--color-muted-foreground);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.theme-product-card__price {
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--color-foreground);
  margin-top: 0.25rem;
}

/* WooCommerce Add to Cart Override */
.single_add_to_cart_button.button,
.add_to_cart_button.button,
a.single_add_to_cart_button,
a.add_to_cart_button {
  background-color: var(--color-primary) !important;
  color: var(--color-button-text) !important;
  border: none !important;
  border-radius: var(--btn-radius) !important;
  min-height: var(--btn-height) !important;
  padding: var(--btn-padding) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-family: var(--font-body) !important;
  font-size: var(--btn-font-size) !important;
  font-weight: var(--btn-font-weight) !important;
  letter-spacing: var(--btn-letter-spacing) !important;
  text-transform: var(--btn-text-transform) !important;
  cursor: pointer !important;
  transition: opacity 0.2s ease !important;
  text-decoration: none !important;
}

.single_add_to_cart_button.button:hover,
.add_to_cart_button.button:hover {
  opacity: 0.85 !important;
  background-color: var(--color-primary) !important;
  color: var(--color-button-text) !important;
}

.single_add_to_cart_button.button:disabled,
.single_add_to_cart_button.button.disabled,
.add_to_cart_button.button:disabled,
.add_to_cart_button.button.disabled {
  cursor: not-allowed !important;
  opacity: 0.4 !important;
  pointer-events: none !important;
}

.single_add_to_cart_button.button:disabled:hover,
.single_add_to_cart_button.button.disabled:hover,
.add_to_cart_button.button:disabled:hover,
.add_to_cart_button.button.disabled:hover {
  opacity: 0.4 !important;
  background-color: var(--color-primary) !important;
}

/* Hide WooCommerce "View cart" injected after AJAX add */
.woocommerce-page a.added_to_cart.wc-forward,
.single-product a.added_to_cart.wc-forward,
body a.added_to_cart.wc-forward {
  display: none !important;
}

/* Button loading state */
.ajax_add_to_cart.theme-btn-loading {
  opacity: 0.6 !important;
  pointer-events: none !important;
  cursor: wait !important;
}

/* ====================================================================
   14. TESTIMONIALS SECTION
   ==================================================================== */
.testimonials-section {
  padding: 5rem 0;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: stretch;
}

@media (min-width: 768px) {
  .testimonials-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .testimonials-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.testimonial-card {
  background-color: var(--color-secondary);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.testimonial-stars {
  display: flex;
  gap: 2px;
  margin-bottom: 0.75rem;
  color: var(--color-primary);
}

.star-icon {
  fill: var(--color-primary);
}

.testimonial-text {
  color: var(--color-muted-foreground);
  font-size: 1rem;
  line-height: 1.65;
  margin-bottom: 1rem;
  flex: 1;
}

.testimonial-author {
  border-top: 1px solid var(--color-border);
  padding-top: 0.75rem;
}

.testimonial-name {
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-foreground);
}

/* Hide extra testimonials on mobile/tablet */
@media (max-width: 767px) {
  .hide-on-mobile { display: none !important; }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .hide-on-tablet { display: none !important; }
}

/* ====================================================================
   15. FAQ SECTION
   ==================================================================== */
.faq-section {
  padding: 5rem 0;
}

.faq-inner {
  max-width: 48rem;
  margin: 0 auto;
}

.faq-categories {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.faq-category-title {
  font-size: 1.5rem;
  font-weight: 700;
  font-family: var(--font-body);
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--color-border);
  margin-bottom: 1rem;
  color: var(--color-foreground);
}

.faq-items {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.faq-item:hover {
  border-color: rgba(90,53,32,0.3);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-foreground);
  transition: background-color 0.2s ease;
  gap: 1rem;
}

.faq-question:hover {
  background-color: rgba(236,231,225,0.5);
}

.faq-question[aria-expanded="true"] {
  color: var(--color-primary);
}

.faq-chevron {
  flex-shrink: 0;
  transition: transform 0.3s var(--transition-spring), color 0.2s ease;
  color: var(--color-muted-foreground);
}

.faq-question[aria-expanded="true"] .faq-chevron {
  transform: rotate(180deg);
  color: var(--color-primary);
}

.faq-answer {
  overflow: hidden;
}

.faq-answer[hidden] {
  display: none;
}

.faq-answer-inner {
  padding: 0 1.25rem 1.25rem;
}

.faq-answer-inner p {
  color: var(--color-muted-foreground);
  font-size: 1rem;
  line-height: 1.65;
}

/* ====================================================================
   16. CONTACT SECTION
   ==================================================================== */
.contact-section {
  padding: 5rem 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}

.contact-eyebrow {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 1rem;
}

.contact-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 500;
  color: var(--color-background);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.contact-subtitle {
  color: rgba(247,244,240,0.7);
  font-size: 1.125rem;
  margin-bottom: 2rem;
  line-height: 1.65;
}

.contact-details {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: rgba(247,244,240,0.7);
}

.contact-detail-icon {
  color: var(--color-primary);
  flex-shrink: 0;
}

.contact-link {
  color: rgba(247,244,240,0.7);
  text-decoration: none;
  transition: color 0.2s ease;
}

.contact-link:hover {
  color: var(--color-primary);
}

.contact-social {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.contact-social-link {
  color: rgba(247,244,240,0.5);
  transition: color 0.2s ease, transform 0.2s ease;
  display: flex;
}

.contact-social-link:hover {
  color: var(--color-primary);
  transform: scale(1.2) translateY(-2px);
}

/* Contact Form */
.contact-form-wrap {
  position: relative;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-label {
  font-size: 1rem;
  font-weight: 500;
  color: rgba(247,244,240,0.8);
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  background-color: rgba(247,244,240,0.1);
  border: 1px solid rgba(247,244,240,0.2);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-background);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  appearance: none;
  -webkit-appearance: none;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: rgba(247,244,240,0.4);
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 1px var(--color-primary);
}

.form-textarea {
  resize: none;
  line-height: 1.6;
}

.contact-success {
  text-align: center;
  padding: 3rem 1rem;
}

.contact-success-icon {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background-color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: var(--color-primary-foreground);
}

.contact-success-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-background);
  margin-bottom: 0.5rem;
}

.contact-success-text {
  color: rgba(247,244,240,0.7);
}

/* ====================================================================
   17. FOOTER
   ==================================================================== */
.site-footer {
  border-top: 1px solid var(--color-border);
  background-color: var(--color-secondary);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding: 3rem 0;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    padding: 4rem 0;
  }
}

.footer-brand {}

.footer-logo-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.footer-logo {
  height: var(--logo-height) !important;
  width: auto !important;
  object-fit: contain;
  max-height: 60px;
}

.footer-logo-text {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-foreground);
}

.footer-description {
  margin-top: 1rem;
  font-size: 1rem;
  color: var(--color-muted-foreground);
  max-width: 22rem;
  line-height: 1.65;
}

.footer-heading {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-foreground);
  margin-bottom: 1rem;
  font-family: var(--font-body);
}

.footer-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
}

.footer-nav-list a,
.footer-nav-link {
  font-size: 1rem;
  color: var(--color-muted-foreground);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-nav-list a:hover,
.footer-nav-link:hover {
  color: var(--color-foreground);
}

.footer-contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1rem;
  color: var(--color-muted-foreground);
}

.footer-icon {
  flex-shrink: 0;
}

.footer-contact-link {
  color: var(--color-muted-foreground);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-contact-link:hover {
  color: var(--color-foreground);
}

.footer-social-list {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 0.5rem;
}

.footer-social-link {
  color: var(--color-muted-foreground);
  transition: color 0.2s ease;
  display: flex;
  align-items: center;
}

.footer-social-link:hover {
  color: var(--color-foreground);
}

.footer-bottom {
  border-top: 1px solid var(--color-border);
  padding: 2rem 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  text-align: center;
}

@media (min-width: 640px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.footer-copyright,
.footer-currency,
.footer-credit {
  font-size: 0.875rem;
  color: var(--color-muted-foreground);
}

.footer-credit-link {
  color: var(--color-foreground);
  text-decoration: underline;
  transition: color 0.2s ease;
}

.footer-credit-link:hover {
  color: var(--color-primary);
}

/* ====================================================================
   18. CART DRAWER
   ==================================================================== */
body.cart-open {
  overflow: hidden;
}

#theme-cart-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(42,26,14,0.2);
  z-index: 199;
  display: none;
  cursor: pointer;
}

body.cart-open #theme-cart-overlay {
  display: block;
  animation: fadeIn 0.3s ease forwards;
}

#theme-cart-drawer {
  position: fixed;
  right: 0;
  top: 0;
  height: 100%;
  width: 100%;
  max-width: 28rem;
  background-color: var(--color-background);
  z-index: 200;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-elevated);
  transform: translateX(100%);
  transition: transform 0.4s var(--transition-spring);
}

body.cart-open #theme-cart-drawer {
  transform: translateX(0);
}

#theme-cart-drawer.is-updating {
  opacity: 0.6;
  pointer-events: none;
}

.cart-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem;
  border-bottom: 1px solid var(--color-border);
}

.cart-drawer-title {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--color-foreground);
  margin: 0;
}

.cart-drawer-header-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.cart-empty-btn {
  font-size: 0.75rem;
  color: var(--color-muted-foreground);
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  transition: color 0.2s ease;
}

.cart-empty-btn:hover {
  color: #dc2626;
}

.cart-close-btn {
  padding: 0.25rem;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-foreground);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s ease;
}

.cart-close-btn:hover {
  opacity: 0.6;
}

.cart-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 1.5rem;
}

.cart-items-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.cart-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.cart-item-image-link {
  display: block;
  flex-shrink: 0;
  width: 5rem;
  height: 6rem;
  background-color: var(--color-secondary);
  border-radius: calc(var(--radius) - 2px);
  overflow: hidden;
}

.cart-item-image-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-item-info {
  flex: 1;
  min-width: 0;
}

.cart-item-name {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-foreground);
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: opacity 0.2s ease;
}

.cart-item-name:hover {
  opacity: 0.7;
}

.cart-item-price {
  font-size: 0.875rem;
  color: var(--color-muted-foreground);
  margin-top: 0.25rem;
}

.cart-item-variants {
  font-size: 0.75rem;
  color: var(--color-muted-foreground);
  margin-top: 0.25rem;
}

.cart-item-qty-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.75rem;
}

.cart-qty-btn {
  padding: 0.25rem;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-foreground);
  transition: background-color 0.2s ease;
  border-radius: 4px;
}

.cart-qty-btn:hover {
  background-color: var(--color-secondary);
}

.cart-qty-num {
  font-size: 0.875rem;
  min-width: 1.5rem;
  text-align: center;
  color: var(--color-foreground);
}

.cart-remove-btn {
  margin-left: auto;
  font-size: 0.75rem;
  color: var(--color-muted-foreground);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: color 0.2s ease;
}

.cart-remove-btn:hover {
  color: var(--color-foreground);
}

/* Empty Cart */
.cart-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  text-align: center;
  padding: 1.5rem;
}

.cart-empty-icon {
  color: var(--color-muted-foreground);
  margin-bottom: 1rem;
}

.cart-empty-text {
  color: var(--color-muted-foreground);
  margin-bottom: 1.5rem;
}

/* Cart Footer */
.cart-drawer-footer {
  padding: 1.5rem;
  border-top: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cart-subtotal-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.875rem;
}

.cart-subtotal-label {
  color: var(--color-muted-foreground);
}

.cart-subtotal-value {
  font-weight: 500;
  color: var(--color-foreground);
}

.cart-shipping-note {
  font-size: 0.75rem;
  color: var(--color-muted-foreground);
}

.cart-checkout-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0.875rem;
  background-color: var(--color-primary);
  color: var(--color-primary-foreground);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  border-radius: var(--btn-radius);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.cart-checkout-btn:hover {
  opacity: 0.85;
}

/* ====================================================================
   19. SINGLE PRODUCT PAGE
   ==================================================================== */
.single-product .site-main {
  padding-top: var(--header-height);
}

.theme-product-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding-bottom: 5rem;
}

@media (min-width: 1024px) {
  .theme-product-layout {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}

.theme-product-layout {
  min-width: 0;
}

.theme-product-gallery,
.theme-product-info {
  min-width: 0;
  max-width: 100%;
}

/* Product Gallery */
#product-main-img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius);
  display: block;
}

.theme-product-thumbnails {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.75rem;
  flex-wrap: wrap;
  max-width: 100%;
}

.theme-product-thumb-btn {
  background: none;
  border: 2px solid transparent;
  border-radius: calc(var(--radius) - 2px);
  overflow: hidden;
  cursor: pointer;
  padding: 0;
  transition: border-color 0.2s ease;
  flex-shrink: 0;
}

.theme-product-thumb-btn.is-active {
  border-color: var(--color-primary);
}

.theme-product-thumb-btn img {
  width: 4rem;
  height: 5rem;
  object-fit: cover;
  display: block;
}

/* Product Info */
.single-product-back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--color-muted-foreground);
  text-decoration: none;
  margin-bottom: 1.5rem;
  transition: color 0.2s ease;
  padding-top: 1.5rem;
}

.single-product-back-link:hover {
  color: var(--color-foreground);
}

.product-category-badge {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-muted-foreground);
  display: block;
  margin-bottom: 0.5rem;
}

.product-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 500;
  margin-bottom: 1rem;
  line-height: 1.25;
  color: var(--color-foreground);
}

.product-price {
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  color: var(--color-foreground);
}

.product-description {
  color: var(--color-muted-foreground);
  line-height: 1.75;
  margin-bottom: 2rem;
  overflow-wrap: break-word;
  word-break: break-word;
}

/* Customizable Notice */
.product-customizable-notice {
  background-color: rgba(90,53,32,0.1);
  border: 1px solid rgba(90,53,32,0.2);
  border-radius: var(--radius);
  padding: 1rem;
  margin-bottom: 1.5rem;
}

.product-customizable-title {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-primary);
  margin-bottom: 0.25rem;
}

.product-customizable-text {
  font-size: 0.75rem;
  color: var(--color-muted-foreground);
  margin: 0;
  line-height: 1.6;
}

/* Divider between purchase block and Details (matches design) */
.product-info-divider {
  display: block;
  width: 100%;
  height: 0;
  border: 0;
  border-top: 1px solid var(--color-border);
  margin: 1.5rem 0 1.25rem;
  padding: 0;
  background: none;
}

/* Details: always one column, bullet list when the short description uses lists */
.product-details-content {
  column-count: 1;
  color: var(--color-muted-foreground);
  line-height: 1.7;
  font-size: 0.9375rem;
}

.product-details-content ul,
.product-details-section ul {
  list-style: disc;
  margin: 0.5rem 0 0 1.25rem;
  padding: 0;
  column-count: 1;
}

.product-details-content li,
.product-details-section .product-details-content li {
  margin: 0.25rem 0;
}

/* Quantity + Add to Cart */
.theme-add-to-cart-area {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.theme-quantity-wrapper {
  display: flex;
  align-items: center;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  flex-shrink: 0;
}

.theme-qty-minus,
.theme-qty-plus {
  padding: 0.75rem;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-foreground);
  font-size: 1rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease;
}

.theme-qty-minus:hover,
.theme-qty-plus:hover {
  background-color: var(--color-secondary);
}

.theme-qty-input {
  padding: 0.75rem;
  min-width: 2.5rem;
  text-align: center;
  border: none;
  background: none;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-foreground);
  -moz-appearance: textfield;
  -webkit-appearance: none;
  appearance: none;
}

.theme-qty-input::-webkit-inner-spin-button,
.theme-qty-input::-webkit-outer-spin-button {
  -webkit-appearance: none;
}

.theme-qty-input:focus {
  outline: none;
}

.theme-btn-primary {
  flex: 1;
  min-width: 160px;
  padding: var(--btn-padding);
  background-color: var(--color-primary);
  color: var(--color-primary-foreground);
  border: none;
  border-radius: var(--btn-radius);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: opacity 0.2s ease;
  text-align: center;
  min-height: var(--btn-height);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.theme-btn-primary:hover {
  opacity: 0.85;
}

.theme-btn-primary.disabled,
.theme-btn-primary:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  pointer-events: none;
}

.product-handmade-note {
  font-size: 0.75rem;
  color: var(--color-muted-foreground);
  text-align: center;
  margin-bottom: 1rem;
}

/* Product Details Section */
.product-details-section {
  border-top: 1px solid var(--color-border);
  padding-top: 2rem;
}

.product-details-title {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-foreground);
  margin-bottom: 1rem;
}

.product-details-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.product-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: var(--color-muted-foreground);
}

.product-detail-bullet {
  width: 6px;
  height: 6px;
  background-color: var(--color-primary);
  border-radius: 50%;
  margin-top: 0.375rem;
  flex-shrink: 0;
}

/* Stock Status */
.product-stock-status {
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.product-stock-in {
  color: #16a34a;
}

.product-stock-out {
  color: #dc2626;
}

/* Product Short Description */
.woocommerce-product-details__short-description {
  overflow-wrap: break-word;
  word-break: break-word;
  color: var(--color-muted-foreground);
  line-height: 1.75;
  margin-bottom: 1.5rem;
}

/* Variable Product Variations */
.variations {
  margin-bottom: 1.5rem;
  border: none !important;
  width: 100%;
}

.single-product .variations.shop_attributes tbody,
.single-product .variations tbody tr,
.single-product .variations tbody td {
  display: block;
  width: 100%;
}

.single-product .variations tbody td.label {
  padding-bottom: 0.25rem;
  font-weight: 500;
  font-size: 0.875rem;
  color: var(--color-foreground);
}

.single-product .variations tbody td.value {
  padding-top: 0;
}

.single-product .variations .reset_variations {
  display: none;
}

.theme-attr-select-hidden {
  display: none !important;
}

.theme-variation-attrs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.theme-attr-btn {
  padding: 0.375rem 1rem;
  font-size: 0.875rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: none;
  cursor: pointer;
  color: var(--color-foreground);
  font-family: var(--font-body);
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.theme-attr-btn:hover {
  border-color: var(--color-foreground);
}

.theme-attr-btn.is-selected {
  border-color: var(--color-foreground);
  background-color: var(--color-foreground);
  color: var(--color-background);
}

/* Related Products (full width below the two-column product layout) */
.related-products-section {
  width: 100%;
  min-width: 0;
  margin-top: 3rem;
  padding: 2.5rem 0 0;
  border-top: 1px solid var(--color-border);
}

.related-products-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 2.5rem;
  color: var(--color-foreground);
}

.related-products-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

@media (min-width: 1024px) {
  .related-products-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 2rem;
  }
}

/* WooCommerce Notices — scoped visibility */
.single-product .woocommerce-message,
.single-product .woocommerce-info {
  display: none;
}

/* ====================================================================
   20. WOOCOMMERCE PRODUCT ARCHIVE
   ==================================================================== */
.woocommerce-archive .site-main {
  padding-top: var(--header-height);
}

/* ====================================================================
   21. CHECKOUT PAGE
   ==================================================================== */
body.woocommerce-checkout .site-main {
  padding-top: var(--header-height);
  padding-bottom: 4rem;
}

body.woocommerce-checkout .page-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 500;
  margin-bottom: 2rem;
  color: var(--color-foreground);
  padding: 2rem 0 0;
}

/* Parents stay full width so nothing squeezes the Blocks layout. */
body.woocommerce-checkout .entry-content {
  max-width: 100%;
}

/*
 * Checkout shell: nested in page.php so Blocks layout is not forced into the
 * theme + editor + Blocks triple grid. Single column flow; only the inner
 * sidebar layout element is a 2-column grid.
 */
body.woocommerce-checkout .theme-checkout-shell {
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  isolation: isolate;
}

/* Gutenberg Columns: a 3rd empty column is common. Flatten (with + without .theme-checkout-shell). */
@supports selector(:has(*)) {
  body.woocommerce-checkout .theme-checkout-shell .entry-content--checkout .wp-block-columns:has(.wp-block-woocommerce-checkout),
  body.woocommerce-checkout .theme-checkout-shell .entry-content--checkout .wp-block-columns:has(.wc-block-checkout),
  body.woocommerce-checkout .theme-checkout-shell .entry-content--checkout .wp-block-columns:has(.wc-block-components-sidebar-layout),
  body.woocommerce-checkout .theme-checkout-shell .entry-content--checkout .wp-block-columns:has(.wc-block-checkout-sidebar-layout),
  body.woocommerce-checkout .entry-content--checkout .wp-block-columns:has(.wp-block-woocommerce-checkout),
  body.woocommerce-checkout .entry-content--checkout .wp-block-columns:has(.wc-block-checkout),
  body.woocommerce-checkout .entry-content--checkout .wp-block-columns:has(.wc-block-components-sidebar-layout),
  body.woocommerce-checkout .entry-content--checkout .wp-block-columns:has(.wc-block-checkout-sidebar-layout) {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    gap: 0 !important;
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    align-items: stretch !important;
    grid-template-columns: none !important;
  }

  body.woocommerce-checkout .theme-checkout-shell .entry-content--checkout .wp-block-columns:has(.wp-block-woocommerce-checkout) .wp-block-column,
  body.woocommerce-checkout .theme-checkout-shell .entry-content--checkout .wp-block-columns:has(.wc-block-checkout) .wp-block-column,
  body.woocommerce-checkout .theme-checkout-shell .entry-content--checkout .wp-block-columns:has(.wc-block-components-sidebar-layout) .wp-block-column,
  body.woocommerce-checkout .theme-checkout-shell .entry-content--checkout .wp-block-columns:has(.wc-block-checkout-sidebar-layout) .wp-block-column,
  body.woocommerce-checkout .entry-content--checkout .wp-block-columns:has(.wp-block-woocommerce-checkout) .wp-block-column,
  body.woocommerce-checkout .entry-content--checkout .wp-block-columns:has(.wc-block-checkout) .wp-block-column,
  body.woocommerce-checkout .entry-content--checkout .wp-block-columns:has(.wc-block-components-sidebar-layout) .wp-block-column,
  body.woocommerce-checkout .entry-content--checkout .wp-block-columns:has(.wc-block-checkout-sidebar-layout) .wp-block-column {
    flex-basis: 100% !important;
    max-width: 100% !important;
    width: 100% !important;
    min-width: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    flex-grow: 0 !important;
  }
}

/* Outermost Woo block wrapper: must not add a multi-column / 3-up grid. */
body.woocommerce-checkout .theme-checkout-shell .wp-block-woocommerce-checkout,
body.woocommerce-checkout .theme-checkout-shell .wc-block-checkout:not(.wc-block-components-sidebar-layout):not(.wc-block-checkout-sidebar-layout),
body.woocommerce-checkout .entry-content .wp-block-woocommerce-checkout,
body.woocommerce-checkout .entry-content .wc-block-checkout:not(.wc-block-components-sidebar-layout):not(.wc-block-checkout-sidebar-layout) {
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
  grid: none !important;
  grid-template: none !important;
  grid-template-columns: none !important;
  grid-template-areas: none !important;
  flex-direction: column !important;
  align-items: stretch !important;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}

/* Checkout (Blocks): full width of the 1280 content well; no phantom third track. */
body.woocommerce-checkout .site-main .container-wide,
body.woocommerce-checkout .entry-content,
body.woocommerce-checkout .entry-content .wp-block-group {
  width: 100% !important;
  max-width: 100% !important;
}

body.woocommerce-checkout .wp-block-woocommerce-checkout,
body.woocommerce-checkout .entry-content .wc-block-checkout,
body.woocommerce-checkout .block-editor-block-list__block .wp-block-woocommerce-checkout {
  width: 100% !important;
  max-width: 1280px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  box-sizing: border-box;
}

/* Primary two-column layout: two grid tracks (Blocks “components” or “checkout” sidebar layout + form). */
body.woocommerce-checkout .theme-checkout-shell .wc-block-components-sidebar-layout,
body.woocommerce-checkout .theme-checkout-shell form.wc-block-components-sidebar-layout,
body.woocommerce-checkout .theme-checkout-shell .wc-block-checkout-sidebar-layout,
body.woocommerce-checkout .theme-checkout-shell form.wc-block-checkout-sidebar-layout,
body.woocommerce-checkout .wc-block-components-sidebar-layout,
body.woocommerce-checkout form.wc-block-components-sidebar-layout,
body.woocommerce-checkout .wc-block-checkout-sidebar-layout,
body.woocommerce-checkout form.wc-block-checkout-sidebar-layout {
  display: grid !important;
  width: 100% !important;
  max-width: 100% !important;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 400px) !important;
  column-gap: 1.5rem !important;
  row-gap: 0 !important;
  align-items: start !important;
  align-content: start !important;
  margin: 0 !important;
  padding: 0 !important;
  box-sizing: border-box;
}

/* Notices full width, aligned with 1280 content; order first in layout */
body.woocommerce-checkout .wc-block-components-sidebar-layout .wc-block-components-notices,
body.woocommerce-checkout .wc-block-checkout-sidebar-layout .wc-block-components-notices,
body.woocommerce-checkout form.wc-block-components-sidebar-layout .wc-block-components-notices,
body.woocommerce-checkout form.wc-block-checkout-sidebar-layout .wc-block-components-notices {
  grid-column: 1 / -1;
  order: 1;
  max-width: 1280px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}

body.woocommerce-checkout .wc-block-components-main {
  grid-column: 1;
  order: 2;
  min-width: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box;
}

body.woocommerce-checkout .wc-block-components-sidebar,
body.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-block,
body.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-block * {
  box-sizing: border-box;
}

body.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-block {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0;
}

body.woocommerce-checkout .wc-block-components-sidebar {
  grid-column: 2;
  order: 3;
  min-width: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
}

/* If Blocks render a blank grid cell between form and summary, hide it. */
body.woocommerce-checkout .wc-block-components-sidebar-layout > *:empty,
body.woocommerce-checkout .wc-block-checkout-sidebar-layout > *:empty,
body.woocommerce-checkout form.wc-block-components-sidebar-layout > *:empty,
body.woocommerce-checkout form.wc-block-checkout-sidebar-layout > *:empty {
  display: none !important;
}

@supports selector(:has(*)) {
  body.woocommerce-checkout .theme-checkout-shell .wp-block-group:has(.wp-block-woocommerce-checkout),
  body.woocommerce-checkout .entry-content .wp-block-group:has(.wp-block-woocommerce-checkout) {
    display: block !important;
    max-width: 100% !important;
  }
}

@media (max-width: 767px) {
  body.woocommerce-checkout .theme-checkout-shell .wc-block-components-sidebar-layout,
  body.woocommerce-checkout .theme-checkout-shell form.wc-block-components-sidebar-layout,
  body.woocommerce-checkout .theme-checkout-shell .wc-block-checkout-sidebar-layout,
  body.woocommerce-checkout .theme-checkout-shell form.wc-block-checkout-sidebar-layout,
  body.woocommerce-checkout .wc-block-components-sidebar-layout,
  body.woocommerce-checkout form.wc-block-components-sidebar-layout,
  body.woocommerce-checkout .wc-block-checkout-sidebar-layout,
  body.woocommerce-checkout form.wc-block-checkout-sidebar-layout {
    grid-template-columns: minmax(0, 1fr) !important;
  }
  body.woocommerce-checkout .theme-checkout-shell .wc-block-components-main,
  body.woocommerce-checkout .theme-checkout-shell .wc-block-components-sidebar,
  body.woocommerce-checkout .wc-block-components-main,
  body.woocommerce-checkout .wc-block-components-sidebar {
    grid-column: 1 / -1 !important;
  }
}

@media (min-width: 768px) {
  /* Forms may carry max-width from Blocks; keep the layout full width of the 1280 content well. */
  body.woocommerce-checkout form.wc-block-components-sidebar-layout,
  body.woocommerce-checkout form.wc-block-checkout-sidebar-layout {
    max-width: 100% !important;
  }
}

body.woocommerce-checkout .entry-content,
body.woocommerce-checkout .wp-block-group__inner-container {
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

body.woocommerce-checkout .wc-block-checkout__main,
body.woocommerce-checkout .wc-block-checkout__sidebar {
  min-width: 0;
  width: 100%;
  max-width: none;
}

body.woocommerce-checkout .wc-block-components-text-input input,
body.woocommerce-checkout .wc-block-components-select select {
  width: 100% !important;
  max-width: none !important;
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--color-foreground);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background-color: var(--color-background);
  transition: border-color 0.2s ease;
}

body.woocommerce-checkout .wc-block-components-text-input input:focus,
body.woocommerce-checkout .wc-block-components-select select:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 2px rgba(90,53,32,0.15);
  outline: none;
}

body.woocommerce-checkout .wc-block-checkout__sidebar {
  background-color: var(--color-secondary);
  border-radius: var(--radius);
  padding: 2rem;
}

body.woocommerce-checkout .wc-block-components-checkout-place-order-button {
  background-color: var(--color-primary) !important;
  color: var(--color-primary-foreground) !important;
  border-radius: var(--btn-radius) !important;
  font-family: var(--font-body) !important;
  font-size: 1rem !important;
  font-weight: 500 !important;
  transition: opacity 0.2s ease !important;
  border: none !important;
  width: 100%;
  min-height: var(--btn-height);
}

body.woocommerce-checkout .wc-block-components-checkout-place-order-button:hover {
  opacity: 0.85 !important;
}

/* ====================================================================
   22. THANK YOU PAGE
   ==================================================================== */
body.theme-thankyou-page { overflow-x: hidden; }

body.theme-thankyou-page .woocommerce-order {
  padding: 2rem 0;
  color: var(--color-foreground);
}

body.theme-thankyou-page .woocommerce-order h2,
body.theme-thankyou-page .woocommerce-order-details__title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  padding: 0 0 1rem 0;
  color: var(--color-foreground);
}

body.theme-thankyou-page .woocommerce-order-overview {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 1.5rem;
  background-color: var(--color-secondary);
  border-radius: var(--radius);
  margin-bottom: 2rem;
}

body.theme-thankyou-page .woocommerce-order-overview li {
  font-size: 0.875rem;
  color: var(--color-muted-foreground);
}

body.theme-thankyou-page .woocommerce-order-overview li strong {
  color: var(--color-foreground);
}

body.theme-thankyou-page .woocommerce-order-details table {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
}

body.theme-thankyou-page .woocommerce-order-details tfoot th {
  text-align: left;
}

body.theme-thankyou-page .woocommerce-order-details tfoot td {
  text-align: right;
}

body.theme-thankyou-page .woocommerce-customer-details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

body.theme-thankyou-page .woocommerce-customer-details address {
  max-width: 480px;
  overflow-wrap: break-word;
  font-style: normal;
  line-height: 1.65;
  font-size: 0.875rem;
  color: var(--color-muted-foreground);
}

/* ====================================================================
   23. 404 PAGE
   ==================================================================== */
.error-code {
  display: block;
  font-size: 6rem;
  font-weight: 700;
  color: var(--color-muted);
  line-height: 1;
  margin-bottom: 1rem;
}

.error-title {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 500;
  margin-bottom: 1rem;
  color: var(--color-foreground);
}

.error-text {
  color: var(--color-muted-foreground);
  margin-bottom: 2rem;
}

/* ====================================================================
   24. SCROLL REVEAL ANIMATIONS
   ==================================================================== */
.reveal[data-reveal] {
  opacity: 0;
  transition: opacity 0.7s var(--transition-spring), transform 0.7s var(--transition-spring), filter 0.7s var(--transition-spring);
}

.reveal[data-reveal="blur"] {
  filter: blur(8px);
  transform: translateY(20px);
}

.reveal[data-reveal="fadeLeft"] {
  transform: translateX(-20px);
}

.reveal[data-reveal="slideUp"] {
  transform: translateY(30px);
}

.reveal[data-reveal="scaleUp"] {
  transform: scale(0.95) translateY(20px);
}

.reveal[data-reveal].is-visible {
  opacity: 1;
  transform: none;
  filter: none;
}

/* Stagger */
.stagger-container .stagger-item {
  opacity: 0;
  transform: scale(0.95) translateY(20px);
  transition: opacity 0.5s var(--transition-spring), transform 0.5s var(--transition-spring);
}

.stagger-container.is-visible .stagger-item {
  opacity: 1;
  transform: none;
}

/* ====================================================================
   25. GLOBAL ANIMATIONS
   ==================================================================== */
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.animate-fade-in {
  animation: fadeIn 0.6s var(--transition-smooth) forwards;
}

.animate-slide-up {
  animation: slideUp 0.6s var(--transition-smooth) forwards;
}

/* ====================================================================
   26. WOOCOMMERCE GENERAL OVERRIDES
   ==================================================================== */
/* Remove default WC styling */
.woocommerce-page .woocommerce-notices-wrapper:empty,
.woocommerce-page .woocommerce-result-count {
  display: none;
}

/* Scoped WC notices */
.woocommerce-message,
.woocommerce-error,
.woocommerce-info {
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  background-color: var(--color-secondary);
  color: var(--color-foreground);
  font-size: 0.875rem;
  margin-bottom: 1rem;
  list-style: none;
}

/* ====================================================================
   27. INNER PAGE HEADER SPACING
   ==================================================================== */
.theme-no-hero .site-main,
body:not(.home) .site-main {
  padding-top: var(--header-height);
}

/* ====================================================================
   28. RESPONSIVE UTILITIES
   ==================================================================== */
@media (max-width: 767px) {
  .cart-btn.desktop-only {
    display: none !important;
  }
}

/* ====================================================================
   29. THANK YOU PAGE
   ==================================================================== */
.thankyou-wrapper {
  padding: 2rem 0 4rem;
}

.thankyou-header {
  text-align: center;
  margin-bottom: 2rem;
}

.thankyou-icon {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background-color: var(--color-primary);
  color: var(--color-primary-foreground);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

.thankyou-back {
  text-align: center;
  margin-top: 2rem;
}

/* ====================================================================
   30. WOOCOMMERCE NOTICES SCOPED STYLE
   ==================================================================== */
.woocommerce-page .woocommerce-error {
  background-color: #fef2f2;
  border-color: #fca5a5;
  color: #991b1b;
}

.woocommerce-page .woocommerce-message {
  background-color: var(--color-secondary);
  border-color: var(--color-border);
}

/* ====================================================================
   31. VARIATION SELECT HIDDEN
   ==================================================================== */
.theme-attr-select-hidden {
  display: none !important;
}

/* ====================================================================
   32. PAGE TITLE (checkout, inner pages)
   ==================================================================== */
.page-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 500;
  color: var(--color-foreground);
  margin-bottom: 2rem;
  line-height: 1.25;
}
