/* =================================================================
   Created Shopping Theme — theme.css
   Author: The Free Website Guys (thefreewebsiteguys.com)
================================================================= */

@import url('https://fonts.googleapis.com/css2?family=Jost:wght@400;500;600;700&display=swap');

/* ─── CSS Variables (defaults — overridden by inline style via wp_add_inline_style) ─── */
:root {
  --color-primary:       #7a5c3e;
  --color-primary-fg:    #faf8f5;
  --color-background:    #faf8f5;
  --color-foreground:    #2a221c;
  --color-secondary:     #ebe7e1;
  --color-secondary-fg:  #3a2e26;
  --color-muted:         #d9d3cc;
  --color-muted-fg:      #7a7068;
  --color-accent:        #b08858;
  --color-border:        #ddd7d0;
  --color-button-text:   #faf8f5;

  --font-display: 'Jost', sans-serif;
  --font-body:    'Georgia', serif;

  --radius:        0.5rem;
  --radius-lg:     0.75rem;
  --radius-xl:     1rem;
  --radius-2xl:    1.25rem;
  --radius-full:   9999px;

  --shadow-soft:     0 4px 20px -4px rgba(42,34,28,0.06);
  --shadow-elevated: 0 8px 40px -8px rgba(42,34,28,0.10);

  --transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);

  --btn-height:         2.75rem;
  --btn-padding:        0.75rem 1.75rem;
  --btn-font-size:      0.875rem;
  --btn-font-weight:    600;
  --btn-letter-spacing: 0.02em;
  --btn-text-transform: uppercase;
  --btn-radius:         var(--radius);
  --btn-icon-padding:   0.5rem;

  --logo-height: 44px;

  --section-padding: 2rem;
  --card-radius:     var(--radius);
  --checkout-gap:    2rem;
}

/* ─── Reset ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.2;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, select, textarea { font-family: inherit; font-size: inherit; }
ul { list-style: none; }

/* ─── Layout ─── */
.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; }
}

.text-center { text-align: center; }
.text-muted-fg { color: var(--color-muted-fg); }

/* ─── Typography Utilities ─── */
.section-eyebrow {
  display: block;
  font-family: var(--font-display);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-muted-fg);
  margin-bottom: 0.5rem;
}
.section-header { margin-bottom: 3rem; }
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 600;
  margin-top: 0.25rem;
}
.page-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 600;
  margin-bottom: 1rem;
}
.page-subtitle { color: var(--color-muted-fg); max-width: 42ch; margin-left: auto; margin-right: auto; }

/* ─── Buttons ─── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--color-primary);
  color: var(--color-button-text);
  border: 1px solid var(--color-primary);
  border-radius: var(--btn-radius);
  padding: var(--btn-padding);
  font-family: var(--font-display);
  font-size: var(--btn-font-size);
  font-weight: var(--btn-font-weight);
  letter-spacing: var(--btn-letter-spacing);
  text-transform: var(--btn-text-transform);
  cursor: pointer;
  transition: opacity 0.2s ease, background-color 0.2s ease;
  text-align: center;
  justify-content: center;
  line-height: 1;
}
.btn-primary:hover { opacity: 0.87; }
.btn-lg { padding: 1rem 2rem; font-size: 0.9rem; }
.btn-full { width: 100%; }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  color: var(--color-foreground);
  border: 1px solid var(--color-foreground);
  border-radius: var(--btn-radius);
  padding: var(--btn-padding);
  font-family: var(--font-display);
  font-size: var(--btn-font-size);
  font-weight: var(--btn-font-weight);
  letter-spacing: var(--btn-letter-spacing);
  text-transform: var(--btn-text-transform);
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
  justify-content: center;
}
.btn-outline:hover { background-color: var(--color-foreground); color: var(--color-background); }

.btn-outline-white {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: white;
  color: var(--color-foreground);
  border: 1px solid white;
  border-radius: var(--btn-radius);
  padding: var(--btn-padding);
  font-family: var(--font-display);
  font-size: var(--btn-font-size);
  font-weight: var(--btn-font-weight);
  letter-spacing: var(--btn-letter-spacing);
  text-transform: var(--btn-text-transform);
  cursor: pointer;
  transition: opacity 0.2s ease;
  justify-content: center;
}
.btn-outline-white:hover { opacity: 0.85; }

/* ─── Link underline animation ─── */
.link-underline {
  position: relative;
  display: inline-block;
}
.link-underline::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 0.3s var(--transition-smooth);
}
.link-underline:hover::after { transform: scaleX(1); }

/* ─── Image Utilities ─── */
.image-zoom { transition: transform 0.7s ease-out; }
.image-zoom:hover { transform: scale(1.05); }

.card-hover { transition: all 0.5s var(--transition-smooth); }
.card-hover:hover { box-shadow: var(--shadow-elevated); transform: translateY(-4px); }

/* ─── Scroll Animations ─── */
.scroll-hidden {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--transition-smooth), transform 0.8s var(--transition-smooth);
}
.scroll-visible { opacity: 1; transform: translateY(0); }

.scroll-hidden.scroll-delay-1 { transition-delay: 0.1s; }
.scroll-hidden.scroll-delay-2 { transition-delay: 0.2s; }
.scroll-hidden.scroll-delay-3 { transition-delay: 0.3s; }

.scroll-hidden-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s var(--transition-smooth), transform 0.8s var(--transition-smooth);
}
.scroll-hidden-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s var(--transition-smooth), transform 0.8s var(--transition-smooth);
}
.scroll-hidden-left.scroll-visible, .scroll-hidden-right.scroll-visible {
  opacity: 1;
  transform: translateX(0);
}
.scroll-hidden-scale {
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.7s var(--transition-smooth), transform 0.7s var(--transition-smooth);
}
.scroll-hidden-scale.scroll-visible { opacity: 1; transform: scale(1); }

.scroll-hidden-scale.scroll-delay-1 { transition-delay: 0.1s; }
.scroll-hidden-scale.scroll-delay-2 { transition-delay: 0.2s; }
.scroll-hidden-scale.scroll-delay-3 { transition-delay: 0.3s; }

/* ─── Keyframes ─── */
@keyframes fadeIn   { from { opacity: 0; }           to { opacity: 1; } }
@keyframes slideUp  { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes marquee  { 0% { transform: translateX(0); }  100% { transform: translateX(-33.33%); } }

.animate-fade-in  { animation: fadeIn  0.6s var(--transition-smooth) forwards; }
.animate-slide-up { animation: slideUp 0.6s var(--transition-smooth) forwards; }
.animate-marquee  { animation: marquee 20s linear infinite; }


/* ================================================================
   HEADER
================================================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  border-bottom: 1px solid transparent;
}

/* Solid style (after scroll or on inner pages) */
body[data-scrolled="true"] .site-header,
html[data-scrolled="true"] .site-header,
.theme-no-hero .site-header {
  background-color: rgba(250, 248, 245, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom-color: var(--color-border);
  box-shadow: var(--shadow-soft);
}

.site-header.is-solid {
  background-color: rgba(250, 248, 245, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom-color: var(--color-border);
  box-shadow: var(--shadow-soft);
}

.theme-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
}
@media (min-width: 1024px) { .theme-nav { height: 5rem; } }

/* Logo */
.theme-logo-link { display: flex; align-items: center; flex-shrink: 0; }
.site-logo-img   { height: var(--logo-height) !important; width: auto !important; display: block; }
.site-logo-text  { font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; letter-spacing: 0.02em; line-height: var(--logo-height); display: block; }

/* Transparent header logo wrapper */
.site-header:not(.is-solid) .theme-logo-wrapper:not(.header-scrolled) {
  background: white;
  border-radius: 9999px;
  padding: 0.375rem;
}

/* Desktop nav */
.theme-nav-desktop {
  display: none;
  align-items: center;
  gap: 2rem;
}
@media (min-width: 1024px) { .theme-nav-desktop { display: flex; } }

.theme-nav-list { display: flex; align-items: center; gap: 2rem; list-style: none; }
.theme-nav-list li a,
.theme-nav-list a {
  font-size: 0.875rem;
  font-family: var(--font-body);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: color 0.2s;
  color: var(--color-foreground);
}

/* On transparent (home hero) — white text */
.site-header:not(.is-solid) .theme-nav-list li a,
.site-header:not(.is-solid) .theme-nav-list a {
  color: white;
}

/* Cart button */
.theme-cart-btn {
  position: relative;
  padding: 0.5rem;
  color: var(--color-foreground);
  transition: opacity 0.2s;
  display: flex;
  align-items: center;
}
.site-header:not(.is-solid) .theme-cart-btn { color: white; }
.theme-cart-btn:hover { opacity: 0.6; }

.theme-cart-count {
  position: absolute;
  top: -2px;
  right: -2px;
  min-width: 1.25rem;
  height: 1.25rem;
  padding: 0 3px;
  background-color: var(--color-primary);
  color: var(--color-primary-fg);
  font-size: 0.625rem;
  font-weight: 600;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  font-family: var(--font-display);
}
.theme-cart-count:empty { display: none; }

/* Mobile controls */
.theme-nav-mobile-controls {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
@media (min-width: 1024px) { .theme-nav-mobile-controls { display: none; } }

.mobile-cart.theme-cart-btn {
  /* same as .theme-cart-btn */
}

.theme-menu-toggle {
  padding: 0.5rem;
  color: var(--color-foreground);
  transition: color 0.2s;
  display: flex;
  align-items: center;
}
.site-header:not(.is-solid) .theme-menu-toggle { color: white; }
.theme-menu-toggle .icon-close { display: none; }
.theme-menu-toggle.is-open .icon-menu { display: none; }
.theme-menu-toggle.is-open .icon-close { display: block; }

/* Mobile menu panel */
.theme-mobile-menu {
  display: none;
  border-top: 1px solid var(--color-border);
  padding: 1rem 0;
  background-color: rgba(250, 248, 245, 0.95);
  backdrop-filter: blur(8px);
}
.site-header:not(.is-solid) .theme-mobile-menu {
  border-top-color: rgba(255,255,255,0.2);
  background-color: rgba(42,34,28,0.8);
}
.theme-mobile-menu.is-open { display: block; animation: fadeIn 0.2s ease forwards; }

.theme-mobile-nav-list { display: flex; flex-direction: column; gap: 0; list-style: none; }
.theme-mobile-nav-list li a,
.theme-mobile-nav-list a {
  display: block;
  padding: 0.625rem 0;
  font-size: 0.875rem;
  font-family: var(--font-body);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-foreground);
  transition: opacity 0.2s;
}
.site-header:not(.is-solid) .theme-mobile-nav-list li a,
.site-header:not(.is-solid) .theme-mobile-nav-list a { color: white; }
.theme-mobile-nav-list a:hover { opacity: 0.7; }


/* ================================================================
   HERO SECTION
================================================================ */
.hero-section {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(42, 34, 28, 0.5);
}
.hero-content {
  position: relative;
  z-index: 10;
  padding-top: 6rem;
  padding-bottom: 6rem;
}
@media (min-width: 1024px) {
  .hero-content { padding-top: 8rem; padding-bottom: 8rem; }
}
.hero-text-wrap { max-width: 40rem; }
.hero-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-bottom: 1.5rem;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 7vw, 4.5rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 1.5rem;
  color: white;
  text-transform: uppercase;
}
.hero-subtitle {
  color: rgba(255,255,255,0.8);
  font-size: 1.125rem;
  max-width: 32rem;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}


/* ================================================================
   MARQUEE
================================================================ */
.marquee-section {
  background-color: var(--color-primary);
  color: var(--color-primary-fg);
  overflow: hidden;
  padding: 0.875rem 0;
}
.marquee-inner { display: flex; white-space: nowrap; width: max-content; }
.marquee-group { display: flex; align-items: center; gap: 2rem; margin: 0 1rem; }
.marquee-item  { display: flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; }
.marquee-dot   { opacity: 0.4; }


/* ================================================================
   FEATURED / NEW ARRIVALS
================================================================ */
.featured-section { padding: 5rem 0; }


/* ================================================================
   CATEGORIES
================================================================ */
.categories-section {
  background-color: var(--color-secondary);
  padding: 5rem 0;
}
.categories-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
@media (min-width: 768px) {
  .categories-grid { grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
}
.category-tile {
  position: relative;
  display: block;
  aspect-ratio: 4/3;
  border-radius: var(--radius);
  overflow: hidden;
  background-color: var(--color-secondary);
}
.category-tile-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.category-tile-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(42,34,28,0.3);
  transition: background-color 0.3s ease;
}
.category-tile:hover .category-tile-overlay { background-color: rgba(42,34,28,0.4); }
.category-tile-label {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.category-tile-label h3 {
  font-family: var(--font-display);
  font-size: clamp(0.9rem, 2vw, 1.25rem);
  font-weight: 500;
  color: white;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}


/* ================================================================
   ABOUT PREVIEW
================================================================ */
.about-preview-section { padding: 5rem 0; }
.about-preview-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 1024px) {
  .about-preview-grid { grid-template-columns: 1fr 1fr; gap: 4rem; }
}
.about-preview-photo-wrap {
  aspect-ratio: 3/4;
  border-radius: var(--radius);
  overflow: hidden;
  max-width: 28rem;
  margin: 0 auto;
}
@media (min-width: 1024px) { .about-preview-photo-wrap { margin: 0; } }
.about-preview-photo { width: 100%; height: 100%; object-fit: cover; }
.about-preview-text  { color: var(--color-muted-fg); line-height: 1.7; margin-bottom: 1rem; }


/* ================================================================
   SUBSCRIBE & SAVE
================================================================ */
.subscribe-section { padding: 5rem 0; }
.subscribe-card {
  background-color: hsl(30, 30%, 42%);
  border-radius: var(--radius-2xl);
  padding: 2.5rem 2rem;
  text-align: center;
  color: white;
  max-width: 48rem;
  margin: 0 auto;
}
@media (min-width: 768px) { .subscribe-card { padding: 4rem; } }
.subscribe-icon   { margin: 0 auto 1rem; opacity: 0.8; }
.subscribe-title  { font-family: var(--font-display); font-size: clamp(1.25rem, 3vw, 1.75rem); font-weight: 500; margin-bottom: 1rem; letter-spacing: 0.05em; }
.subscribe-text   { color: rgba(255,255,255,0.8); line-height: 1.7; margin-bottom: 2rem; max-width: 36rem; margin-left: auto; margin-right: auto; }


/* ================================================================
   SHOP SECTION
================================================================ */
.shop-section { padding: 5rem 0; scroll-margin-top: 6rem; }

.shop-search-wrap {
  position: relative;
  max-width: 28rem;
  margin: 0 auto 1.5rem;
}
.shop-search-icon {
  position: absolute;
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-muted-fg);
  pointer-events: none;
}
.shop-search-input {
  width: 100%;
  height: 2.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  background-color: var(--color-background);
  padding: 0 2.5rem 0 2.5rem;
  font-size: 0.875rem;
  color: var(--color-foreground);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.shop-search-input::placeholder { color: var(--color-muted-fg); }
.shop-search-input:focus { border-color: var(--color-primary); box-shadow: 0 0 0 2px rgba(122,92,62,0.2); }
.shop-search-clear {
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-muted-fg);
  padding: 0;
  line-height: 1;
  display: flex;
  align-items: center;
}
.shop-search-clear:hover { color: var(--color-foreground); }

.shop-category-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
}
.category-pill {
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
  border-radius: var(--radius);
  background-color: var(--color-secondary);
  color: var(--color-secondary-fg);
  transition: background-color 0.3s ease, color 0.3s ease;
  font-family: var(--font-display);
  letter-spacing: 0.02em;
}
.category-pill:hover { background-color: var(--color-muted); }
.category-pill.active {
  background-color: var(--color-primary);
  color: var(--color-primary-fg);
}

.shop-load-more-wrap { margin-top: 2rem; }
.shop-empty-state {
  text-align: center;
  padding: 5rem 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}


/* ================================================================
   PRODUCT GRID
================================================================ */
.theme-product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  align-items: stretch;
}
@media (min-width: 768px)  { .theme-product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .theme-product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; } }

/* Featured section: exact 4 cols on lg */
.theme-featured-products {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (min-width: 1024px) {
  .theme-featured-products { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}


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

.theme-product-card__image-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 3/4;
  background-color: var(--color-secondary);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 1rem;
}
.product-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.sold-out-img { opacity: 0.6; }

.sold-out-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.25rem 0.75rem;
  font-size: 0.7rem;
  font-family: var(--font-display);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  background-color: var(--color-foreground);
  color: var(--color-background);
  border-radius: var(--radius);
}
.new-badge {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  padding: 0.25rem 0.75rem;
  font-size: 0.7rem;
  font-family: var(--font-display);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  background-color: var(--color-primary);
  color: white;
  border-radius: var(--radius);
}

/* Quick-add button */
.product-card-quick-add {
  position: absolute;
  bottom: 0.75rem;
  right: 0.75rem;
  width: 2rem;
  height: 2rem;
  border-radius: 9999px;
  background-color: rgba(250,248,245,0.9);
  backdrop-filter: blur(4px);
  color: var(--color-foreground);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-soft);
  transition: background-color 0.2s, color 0.2s, transform 0.2s;
  text-decoration: none;
  z-index: 2;
}
.product-card-quick-add:hover,
.product-card-quick-add.added {
  background-color: var(--color-primary);
  color: var(--color-primary-fg);
  transform: scale(1.1);
}
.product-card-quick-add .icon-check { display: none; }
.product-card-quick-add.added .icon-plus  { display: none; }
.product-card-quick-add.added .icon-check { display: block; }

/* Card info */
.theme-product-card__info { flex: 1; }
.product-card-cat {
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-muted-fg);
  margin-bottom: 0.25rem;
  font-family: var(--font-display);
}
.product-card-name-link { display: block; }
.product-card-name {
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 0.25rem;
  transition: opacity 0.2s;
}
.product-card-name-link:hover .product-card-name { opacity: 0.7; }
.product-card-price { font-size: 0.875rem; color: var(--color-muted-fg); }


/* ================================================================
   REVIEWS
================================================================ */
.reviews-section {
  background-color: var(--color-secondary);
  padding: 5rem 0;
}
.reviews-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 768px) { .reviews-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .reviews-grid { grid-template-columns: repeat(3, 1fr); } }

.review-card {
  background-color: var(--color-background);
  border-radius: var(--radius);
  padding: 1.5rem;
  border: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  height: 100%;
}
.review-stars { display: flex; gap: 2px; margin-bottom: 0.75rem; }
.review-star  { color: var(--color-primary); }
.review-text  { color: var(--color-muted-fg); font-size: 0.875rem; line-height: 1.65; margin-bottom: 1rem; flex: 1; }
.review-author { border-top: 1px solid var(--color-border); padding-top: 0.75rem; }
.review-name   { font-size: 0.875rem; font-weight: 500; }

/* Responsive visibility matching original design */
.hidden-mobile     { display: none !important; }
.hidden-mobile-tablet { display: none !important; }
@media (min-width: 768px)  { .hidden-mobile { display: flex !important; } }
@media (min-width: 1024px) { .hidden-mobile-tablet { display: flex !important; } }


/* ================================================================
   CONTACT CTA SECTION
================================================================ */
.contact-cta-section {
  position: relative;
  min-height: 500px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
@media (min-width: 768px) { .contact-cta-section { min-height: 600px; } }

.cta-bg-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cta-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(42, 34, 28, 0.6);
}
.cta-content {
  position: relative;
  z-index: 10;
  flex: 1;
  display: flex;
  align-items: flex-end;
  padding-bottom: 3rem;
}
@media (min-width: 768px) { .cta-content { padding-bottom: 4rem; } }
.cta-text-wrap {
  width: 100%;
  max-width: 32rem;
  margin: 0 auto;
  text-align: center;
}
.cta-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 500;
  color: white;
  margin-bottom: 1rem;
}
.cta-text { color: rgba(255,255,255,0.8); margin-bottom: 2rem; }


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

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding-top: 3rem;
  padding-bottom: 3rem;
}
@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr 1fr 1fr; gap: 2.5rem; padding-top: 4rem; padding-bottom: 4rem; }
}
.footer-brand { grid-column: span 1; }
@media (min-width: 768px) { .footer-brand { grid-column: span 2; } }

.footer-logo-link { display: inline-block; margin-bottom: 1rem; }
.footer-logo { height: var(--logo-height) !important; width: auto !important; }

.footer-tagline { font-size: 0.875rem; color: var(--color-muted-fg); max-width: 24rem; line-height: 1.65; }

.footer-social { display: flex; gap: 1rem; margin-top: 1.5rem; }
.footer-social-link { padding: 0.5rem; color: var(--color-foreground); transition: opacity 0.2s; display: flex; }
.footer-social-link:hover { opacity: 0.6; }

.footer-col-title {
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.footer-nav-list { list-style: none; display: flex; flex-direction: column; gap: 0.75rem; }
.footer-nav-list li a,
.footer-nav-list a { font-size: 0.875rem; color: var(--color-muted-fg); transition: color 0.2s; }
.footer-nav-list a:hover { color: var(--color-foreground); }

.footer-contact-list { display: flex; flex-direction: column; gap: 0.75rem; list-style: none; }
.footer-contact-item { display: flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; color: var(--color-muted-fg); }
.footer-contact-item svg { flex-shrink: 0; }
.footer-contact-item a { transition: color 0.2s; }
.footer-contact-item a:hover { color: var(--color-foreground); }
.footer-address { align-items: flex-start; }

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-top: 2rem;
  padding-bottom: 2rem;
  border-top: 1px solid var(--color-border);
}
@media (min-width: 640px) { .footer-bottom { flex-direction: row; justify-content: space-between; align-items: center; } }
.footer-copyright { font-size: 0.75rem; color: var(--color-muted-fg); }
.footer-bottom-right { display: flex; flex-direction: column; align-items: flex-start; gap: 0.25rem; }
@media (min-width: 640px) { .footer-bottom-right { flex-direction: row; align-items: center; gap: 1rem; } }
.footer-currency, .footer-credit { font-size: 0.75rem; color: var(--color-muted-fg); }
.footer-credit a { text-decoration: underline; transition: color 0.2s; }
.footer-credit a:hover { color: var(--color-foreground); }


/* ================================================================
   CART DRAWER
================================================================ */
#theme-cart-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background-color: rgba(42,34,28,0.2);
  z-index: 49;
}
body.cart-open #theme-cart-overlay { display: block; animation: fadeIn 0.2s 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: 50;
  box-shadow: var(--shadow-elevated);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.3s var(--transition-smooth);
}
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-row { display: flex; align-items: center; gap: 0.75rem; }
.cart-drawer-title {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 500;
  text-transform: uppercase;
}
.cart-drawer-close { padding: 0.25rem; transition: opacity 0.2s; color: var(--color-foreground); display: flex; }
.cart-drawer-close:hover { opacity: 0.6; }

/* Empty state */
.cart-empty-state {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  text-align: center;
  gap: 1.5rem;
}
.cart-empty-icon { color: var(--color-muted-fg); }
.cart-empty-msg  { color: var(--color-muted-fg); }

/* Cart items */
.cart-items-list { flex: 1; overflow-y: auto; padding: 1.5rem; display: flex; flex-direction: column; gap: 1.5rem; }
.cart-item { display: flex; gap: 1rem; }
.cart-item-img-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 5rem;
  height: 6rem;
  background-color: var(--color-secondary);
  border-radius: var(--radius);
  overflow: hidden;
  flex-shrink: 0;
}
.cart-item-img { width: 100%; height: 100%; object-fit: cover; }
.cart-item-details { flex: 1; min-width: 0; }
.cart-item-name {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 0.125rem;
  transition: opacity 0.2s;
}
.cart-item-name:hover { opacity: 0.7; }
.cart-item-price    { font-size: 0.875rem; color: var(--color-muted-fg); margin-bottom: 0.25rem; }
.cart-item-variation { font-size: 0.75rem; color: var(--color-muted-fg); margin-bottom: 0.25rem; }
.cart-item-controls { display: flex; align-items: center; gap: 0.75rem; margin-top: 0.75rem; }
.cart-qty-btn { padding: 0.25rem; border-radius: var(--radius); transition: background-color 0.2s; color: var(--color-foreground); display: flex; align-items: center; }
.cart-qty-btn:hover { background-color: var(--color-secondary); }
.cart-item-qty  { font-size: 0.875rem; min-width: 1.5rem; text-align: center; }
.cart-remove-btn { margin-left: auto; font-size: 0.75rem; color: var(--color-muted-fg); transition: color 0.2s; padding: 0; }
.cart-remove-btn:hover { color: var(--color-foreground); }

/* 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; align-items: center; font-size: 0.875rem; }
.cart-subtotal-label { color: var(--color-muted-fg); }
.cart-subtotal-value { font-weight: 500; }
.cart-shipping-note { font-size: 0.75rem; color: var(--color-muted-fg); }
.cart-checkout-btn { width: 100%; }


/* ================================================================
   INNER PAGES
================================================================ */
.inner-page { padding-top: 6rem; }
@media (min-width: 1024px) { .inner-page { padding-top: 8rem; } }
.inner-page-container { padding-top: 2.5rem; padding-bottom: 5rem; }

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--color-muted-fg);
  margin-bottom: 2rem;
  transition: color 0.2s;
}
.back-link:hover { color: var(--color-foreground); }


/* ================================================================
   ABOUT PAGE
================================================================ */
.about-hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: start;
  margin-bottom: 5rem;
}
@media (min-width: 1024px) { .about-hero-grid { grid-template-columns: 1fr 1fr; gap: 5rem; } }
.about-page-title  { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 1.5rem; }
.about-story-paragraphs { display: flex; flex-direction: column; gap: 1rem; color: var(--color-muted-fg); line-height: 1.7; }
.about-story-photo-wrap { aspect-ratio: 3/4; border-radius: var(--radius); overflow: hidden; max-width: 28rem; margin: 0 auto; }
@media (min-width: 1024px) { .about-story-photo-wrap { margin: 0; } }
.about-story-photo { width: 100%; height: 100%; object-fit: cover; }

.about-mission-block {
  background-color: var(--color-secondary);
  border-radius: var(--radius-2xl);
  padding: 2.5rem 2rem;
  text-align: center;
  margin-bottom: 5rem;
}
@media (min-width: 1024px) { .about-mission-block { padding: 4rem; } }
.about-mission-title { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 1.5rem; }
.about-mission-quote { font-family: var(--font-display); font-size: clamp(1.1rem, 2vw, 1.4rem); color: var(--color-muted-fg); font-style: italic; max-width: 40rem; margin: 0 auto 1.5rem; line-height: 1.5; }
.about-mission-text  { color: var(--color-muted-fg); max-width: 36rem; margin: 0 auto; }

.about-video-wrap  { border-radius: var(--radius-2xl); overflow: hidden; margin-bottom: 5rem; }
.about-video       { width: 100%; height: auto; display: block; }

.about-values-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: start;
  margin-bottom: 5rem;
}
@media (min-width: 1024px) { .about-values-grid { grid-template-columns: 1fr 1fr; gap: 5rem; } }

.order-2-lg { order: 2; }
.order-1-lg { order: 1; }
@media (min-width: 1024px) {
  .order-2-lg { order: 1; }
  .order-1-lg { order: 2; }
}

.values-2x2-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.value-card { background-color: var(--color-secondary); border-radius: var(--radius); padding: 1.5rem; }
.value-card-title { font-size: 1rem; margin-bottom: 0.5rem; }
.value-card-desc  { font-size: 0.875rem; color: var(--color-muted-fg); }
.about-stand-for p { color: var(--color-muted-fg); line-height: 1.7; margin-bottom: 1rem; }
.about-cta-wrap  { margin-top: 2rem; }


/* ================================================================
   FAQ PAGE
================================================================ */
.faq-content-wrap { max-width: 48rem; margin: 0 auto; }
.faq-header { margin-bottom: 3rem; }
.faq-sections { display: flex; flex-direction: column; gap: 2.5rem; }
.faq-section  { }
.faq-category-title {
  font-size: 1.125rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--color-border);
  margin-bottom: 0.75rem;
}
.faq-items { display: flex; flex-direction: column; gap: 0.75rem; }
.faq-item { border: 1px solid var(--color-border); border-radius: var(--radius); overflow: hidden; }
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem;
  text-align: left;
  transition: background-color 0.2s;
  gap: 1rem;
}
.faq-question:hover { background-color: rgba(235,231,225,0.5); }
.faq-question[aria-expanded="true"] { background-color: rgba(235,231,225,0.5); }
.faq-question-text { font-size: 0.875rem; font-weight: 500; }
.faq-chevron { flex-shrink: 0; color: var(--color-muted-fg); }
.faq-chevron-up { display: none; }
.faq-question[aria-expanded="true"] .faq-chevron-down { display: none; }
.faq-question[aria-expanded="true"] .faq-chevron-up   { display: block; }
.faq-answer { padding: 0 1.25rem 1.25rem; animation: fadeIn 0.2s ease; }
.faq-answer p { font-size: 0.875rem; color: var(--color-muted-fg); line-height: 1.65; }


/* ================================================================
   CONTACT PAGE
================================================================ */
.contact-page-header { margin-bottom: 3rem; }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  max-width: 56rem;
  margin: 0 auto;
}
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 1fr 2fr; gap: 2.5rem; } }

.contact-sidebar { display: flex; flex-direction: column; gap: 1.5rem; }
.contact-info-card { background-color: var(--color-secondary); border-radius: var(--radius); padding: 1.5rem; }
.contact-card-title { font-size: 1rem; margin-bottom: 1rem; }
.contact-info-list { display: flex; flex-direction: column; gap: 1rem; list-style: none; }
.contact-info-item { display: flex; align-items: center; gap: 0.75rem; font-size: 0.875rem; }
.contact-info-item svg { color: var(--color-primary); flex-shrink: 0; }
.contact-info-item a { transition: color 0.2s; }
.contact-info-item a:hover { color: var(--color-primary); }
.contact-address-item { align-items: flex-start; }
.break-all { word-break: break-all; }

.contact-follow-text { font-size: 0.875rem; color: var(--color-muted-fg); margin-bottom: 0.75rem; }
.contact-social-links { display: flex; flex-direction: column; gap: 0.5rem; }
.contact-social-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--color-primary);
  transition: text-decoration 0.2s;
}
.contact-social-link:hover { text-decoration: underline; }

/* Form */
.contact-form { display: flex; flex-direction: column; gap: 1.5rem; }
.form-row-2 { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 640px) { .form-row-2 { grid-template-columns: 1fr 1fr; } }
.form-group { display: flex; flex-direction: column; gap: 0.5rem; }
.form-label { font-size: 0.875rem; font-weight: 500; }
.form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  background-color: var(--color-background);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  font-size: 0.875rem;
  color: var(--color-foreground);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-input::placeholder { color: var(--color-muted-fg); }
.form-input:focus { border-color: var(--color-primary); box-shadow: 0 0 0 2px rgba(122,92,62,0.2); }
.form-textarea { resize: none; }
.form-select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%237a7068' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 0.75rem center; padding-right: 2.5rem; }
.contact-submit-btn { display: flex; align-items: center; gap: 0.5rem; }

/* Success state */
.contact-success-state {
  max-width: 32rem;
  margin: 0 auto;
  text-align: center;
  padding: 5rem 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}
.contact-success-icon {
  width: 4rem;
  height: 4rem;
  background-color: var(--color-primary);
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary-fg);
}
.contact-success-title { font-size: clamp(1.5rem, 3vw, 2rem); }
.contact-success-text  { color: var(--color-muted-fg); }


/* ================================================================
   404 PAGE
================================================================ */
.not-found-page { min-height: calc(100vh - 200px); display: flex; align-items: center; }
.not-found-wrap { display: flex; flex-direction: column; align-items: center; gap: 1rem; }
.not-found-code { font-size: clamp(5rem, 12vw, 8rem); color: var(--color-muted); margin-bottom: 0; }
.not-found-title { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 0; }
.not-found-text  { color: var(--color-muted-fg); max-width: 36ch; }


/* ================================================================
   SINGLE PRODUCT PAGE
================================================================ */
.single-product-page {
  padding-top: 6rem;
}
@media (min-width: 1024px) { .single-product-page { padding-top: 8rem; } }

.product-page-top { padding: 1.5rem 0; }

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

/* Gallery */
.theme-product-gallery { min-width: 0; max-width: 100%; }
.product-main-img-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 4/5;
  border-radius: var(--radius);
  overflow: hidden;
  background-color: var(--color-secondary);
  margin-bottom: 1rem;
}
.product-main-image { width: 100%; height: 100%; object-fit: cover; transition: opacity 0.3s ease; }
.theme-product-thumbnails {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  max-width: 100%;
}
.product-thumbnail-btn {
  width: 4rem;
  height: 5rem;
  border-radius: var(--radius);
  overflow: hidden;
  border: 2px solid transparent;
  padding: 0;
  cursor: pointer;
  transition: border-color 0.2s;
  flex-shrink: 0;
}
.product-thumbnail-btn img { width: 100%; height: 100%; object-fit: cover; }
.product-thumbnail-btn.is-active { border-color: var(--color-foreground); }
.product-thumbnail-btn:hover { border-color: var(--color-muted); }

/* Product info */
.theme-product-info { min-width: 0; max-width: 100%; }
@media (min-width: 1024px) { .theme-product-info { padding-top: 2.5rem; } }
.product-categories { font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--color-muted-fg); margin-bottom: 0.5rem; }
.product-categories a { transition: color 0.2s; }
.product-categories a:hover { color: var(--color-foreground); }
.product-title { font-size: clamp(1.25rem, 2.5vw, 2rem); margin-bottom: 1rem; }
.product-price { font-size: 1.25rem; margin-bottom: 1.5rem; }
.product-sold-out-badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  background-color: var(--color-muted);
  color: var(--color-muted-fg);
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: var(--radius);
  margin-bottom: 1rem;
}
.product-long-description { color: var(--color-muted-fg); line-height: 1.7; margin-bottom: 2rem; overflow-wrap: break-word; word-break: break-word; }
.product-long-description p { margin-bottom: 1em; }

/* Add to cart area */
.theme-add-to-cart-area {
  display: flex;
  align-items: center;
  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);
  overflow: hidden;
}
.theme-qty-minus, .theme-qty-plus {
  padding: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  cursor: pointer;
  color: var(--color-foreground);
  transition: background-color 0.2s;
}
.theme-qty-minus:hover, .theme-qty-plus:hover { background-color: var(--color-secondary); }
.theme-qty-input {
  width: 3rem;
  text-align: center;
  border: none;
  outline: none;
  padding: 0.75rem 0;
  font-size: 1rem;
  background: transparent;
  color: var(--color-foreground);
  -moz-appearance: textfield;
}
.theme-qty-input::-webkit-outer-spin-button,
.theme-qty-input::-webkit-inner-spin-button { -webkit-appearance: none; }

.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-display) !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;
}

/* Card compact button override */
.theme-product-card .add_to_cart_button.ajax_add_to_cart,
.theme-product-card .product-card-quick-add {
  min-height: unset !important;
  padding: 0 !important;
  border-radius: 50% !important;
  width: 2rem !important;
  height: 2rem !important;
  background-color: rgba(250,248,245,0.9) !important;
  color: var(--color-foreground) !important;
  border: none !important;
  box-shadow: var(--shadow-soft) !important;
  transition: background-color 0.2s, color 0.2s, transform 0.2s !important;
}
.theme-product-card .add_to_cart_button.ajax_add_to_cart:hover {
  background-color: var(--color-primary) !important;
  color: var(--color-primary-fg) !important;
  transform: scale(1.1) !important;
  opacity: 1 !important;
}

/* Hide WC "View cart" link */
.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 lock state */
.ajax_add_to_cart.theme-btn-loading {
  opacity: 0.6 !important;
  pointer-events: none !important;
  cursor: wait !important;
}

/* Dispatch notice */
.product-dispatch-notice { font-size: 0.75rem; color: var(--color-muted-fg); text-align: center; margin-bottom: 1rem; }

/* Details section */
.product-details-section { border-top: 1px solid var(--color-border); padding-top: 2rem; margin-top: 2rem; }
.product-details-title { font-size: 0.875rem; font-weight: 500; margin-bottom: 1rem; }
.woocommerce-product-details__short-description { overflow-wrap: break-word; word-break: break-word; color: var(--color-muted-fg); font-size: 0.875rem; line-height: 1.65; }
.woocommerce-product-details__short-description li { padding-left: 1rem; position: relative; margin-bottom: 0.5rem; }
.woocommerce-product-details__short-description li::before { content: ''; position: absolute; left: 0; top: 0.625rem; width: 6px; height: 6px; background-color: var(--color-primary); border-radius: 9999px; }

/* Variable product attr table */
.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; }
.single-product .variations tbody td.value { padding-top: 0; margin-bottom: 1rem; }

.theme-attr-select-hidden { display: none !important; }
.theme-attr-buttons { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.theme-attr-btn {
  min-width: 3rem;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: transparent;
  color: var(--color-foreground);
  cursor: pointer;
  transition: border-color 0.2s, background-color 0.2s, color 0.2s;
}
.theme-attr-btn:hover   { border-color: var(--color-foreground); }
.theme-attr-btn.selected { border-color: var(--color-foreground); background-color: var(--color-foreground); color: var(--color-background); }

/* single_variation_wrap hidden by WC initially */
.single_variation_wrap { }
.theme-add-to-cart-area.single_variation_wrap { }

/* Single product responsive */
.single-product .theme-product-layout { min-width: 0; }
.single-product .theme-product-gallery,
.single-product .theme-product-info { min-width: 0; max-width: 100%; }
.single-product .theme-product-thumbnails { flex-wrap: wrap; max-width: 100%; }
.single-product .theme-add-to-cart-area { flex-wrap: wrap; gap: 0.75rem; }
.single-product .single_add_to_cart_button { flex: 1 1 auto; min-width: 160px; }
.single-product .woocommerce-product-details__short-description,
.single-product .woocommerce-variation-description,
.single-product .posted_in { overflow-wrap: break-word; word-break: break-word; }

/* WC notices scoped */
.single-product .woocommerce-message,
.single-product .woocommerce-info { display: none; }
#theme-cart-drawer .woocommerce-message { display: none; }

/* WC notices on shop archive — must remain visible */
.woocommerce-notices-wrapper { margin-bottom: 1.5rem; }
.woocommerce-message, .woocommerce-error, .woocommerce-info {
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  margin-bottom: 1rem;
  font-size: 0.875rem;
  border-left: 4px solid var(--color-primary);
  background-color: var(--color-secondary);
}
.woocommerce-error { border-left-color: #dc2626; }

/* Related products — same vertical rhythm as shop; grid uses default .theme-product-grid columns */
.related-products-section { padding: 5rem 0; border-top: 1px solid var(--color-border); }
.related-products-title { font-size: clamp(1.1rem, 2.5vw, 1.5rem); margin-bottom: 2.5rem; }


/* ================================================================
   WOOCOMMERCE ARCHIVE
================================================================ */
.shop-archive { padding-top: 6rem; }
@media (min-width: 1024px) { .shop-archive { padding-top: 8rem; } }
.shop-archive-header { padding: 2rem 0 3rem; text-align: center; }
.shop-archive-title { font-size: clamp(1.75rem, 3vw, 2.5rem); margin-bottom: 0.5rem; }
.shop-archive-desc  { color: var(--color-muted-fg); margin-top: 0.5rem; }
.woocommerce-pagination { display: flex; justify-content: center; padding: 2rem 0; }


/* ================================================================
   PAGE.PHP / WC CHECKOUT
================================================================ */
.entry-content { padding: 2rem 0; }

/* Match .inner-page / .shop-archive spacing; keep content within .container-wide max-width */
body.woocommerce-checkout .site-main {
  padding-top: 6rem;
  padding-bottom: 5rem;
}
@media (min-width: 1024px) {
  body.woocommerce-checkout .site-main {
    padding-top: 8rem;
    padding-bottom: 6rem;
  }
}

.page-title.container-wide { padding-top: 1rem; padding-bottom: 0; font-size: clamp(1.5rem, 3vw, 2.25rem); }
body.woocommerce-checkout .page-title.container-wide { padding-top: 0; }

/* Checkout block overrides */
body.woocommerce-checkout .wc-block-checkout { display: block; }

@media (min-width: 768px) {
  body.woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout.is-large {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--checkout-gap, 2rem);
    align-items: start;
  }
}

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-checkout__sidebar {
  background-color: var(--color-secondary);
  border-radius: var(--card-radius);
  padding: var(--section-padding, 2rem);
}

body.woocommerce-checkout .wc-block-components-text-input input,
body.woocommerce-checkout .wc-block-components-select select {
  width: 100% !important;
  max-width: none !important;
  border: 1px solid var(--color-border) !important;
  border-radius: var(--radius) !important;
  background-color: var(--color-background) !important;
  color: var(--color-foreground) !important;
}
body.woocommerce-checkout .wc-block-components-text-input input:focus,
body.woocommerce-checkout .wc-block-components-select select:focus {
  border-color: var(--color-primary) !important;
  box-shadow: 0 0 0 2px rgba(122,92,62,0.2) !important;
  outline: none !important;
}

body.woocommerce-checkout .wc-block-components-checkout-place-order-button {
  background-color: var(--color-primary) !important;
  color: var(--color-button-text) !important;
  border-radius: var(--btn-radius) !important;
  font-family: var(--font-display) !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;
  border: none !important;
  padding: 1rem 2rem !important;
  width: 100% !important;
  cursor: pointer !important;
}
body.woocommerce-checkout .wc-block-components-checkout-place-order-button:hover { opacity: 0.87 !important; }

body.woocommerce-checkout .wc-block-components-notice-banner { border-radius: var(--radius); }


/* ================================================================
   THANK YOU PAGE
================================================================ */
body.theme-thankyou-page { overflow-x: hidden; }
body.theme-thankyou-page .site-main {
  padding-top: 6rem;
  padding-bottom: 5rem;
}
@media (min-width: 1024px) {
  body.theme-thankyou-page .site-main {
    padding-top: 8rem;
    padding-bottom: 6rem;
  }
}
body.theme-thankyou-page .page-title.container-wide { padding-top: 0; }

body.theme-thankyou-page .woocommerce-order { max-width: 48rem; margin: 0 auto; }

body.theme-thankyou-page .woocommerce-order h2,
body.theme-thankyou-page .woocommerce-order-details__title {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  padding: 0 0 1rem 0;
}
body.theme-thankyou-page .woocommerce-order-overview {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  background-color: var(--color-secondary);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 2rem;
  list-style: none;
}
body.theme-thankyou-page .woocommerce-order-overview li { font-size: 0.875rem; }
body.theme-thankyou-page .woocommerce-order-overview strong { font-weight: 600; }

body.theme-thankyou-page .woocommerce-order-details { margin-bottom: 2rem; }
body.theme-thankyou-page .woocommerce-order-details table { width: 100%; border-collapse: collapse; table-layout: fixed; }
body.theme-thankyou-page .woocommerce-order-details table th,
body.theme-thankyou-page .woocommerce-order-details table td { padding: 0.75rem; border-bottom: 1px solid var(--color-border); font-size: 0.875rem; }
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 { margin-bottom: 2rem; }
body.theme-thankyou-page .woocommerce-customer-details address {
  font-style: normal;
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--color-muted-fg);
  max-width: 480px;
  overflow-wrap: break-word;
}
.thankyou-wrap { padding: 2rem 0; }


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

/* General overflow prevention */
html { overflow-x: hidden; }
