/* ============================================================
   T'NORTH THEME — theme.css
   ============================================================ */

/* -------- Google Fonts are enqueued via PHP -------- */

/* ============================================================
   1. CSS VARIABLES (design tokens)
   ============================================================ */
:root {
  /* Colors — overridden by Customizer inline style */
  --color-primary:             #1f1f1f;
  --color-primary-foreground:  #fafafa;
  --color-background:          #fafafa;
  --color-foreground:          #141414;
  --color-secondary:           #ededed;
  --color-secondary-foreground: #262626;
  --color-muted:               #e0e0e0;
  --color-muted-foreground:    #666666;
  --color-border:              #d9d9d9;
  --color-destructive:         #f87171;

  /* Button */
  --color-button-text:  var(--color-primary-foreground);
  --btn-radius:         0px;
  --btn-height:         48px;
  --btn-padding:        0 2.5rem;
  --btn-font-size:      0.875rem;
  --btn-font-weight:    500;
  --btn-letter-spacing: 0.025em;
  --btn-text-transform: none;

  /* Typography */
  --font-display: 'Space Grotesk', sans-serif;
  --font-body:    'Inter', sans-serif;

  /* Shadows */
  --shadow-soft:     0 4px 20px -4px hsl(0 0% 0% / 0.06);
  --shadow-elevated: 0 8px 40px -8px hsl(0 0% 0% / 0.12);

  /* Layout */
  --header-height:     80px;
  --logo-height:       60px;
  --container-max:     80rem;  /* max-w-7xl = 1280px */
  --container-padding: 1.5rem;
  --section-padding:   5rem;

  /* Checkout */
  --card-radius:    0px;
  --checkout-gap:   2rem;

  /* Transitions */
  --ease-smooth: cubic-bezier(0.25, 0.4, 0.25, 1);
}

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

html { scroll-behavior: smooth; font-size: 16px; }

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
}

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

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

/* ============================================================
   3. LAYOUT UTILITIES
   ============================================================ */
.container-wide {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

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

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

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

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

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.animate-fade-in  { animation: fadeIn  0.6s var(--ease-smooth) forwards; }
.animate-slide-up { animation: slideUp 0.6s var(--ease-smooth) forwards; }

/* Scroll-triggered entrance */
.js-animate-section { opacity: 0; transform: translateY(40px); transition: opacity 0.7s var(--ease-smooth), transform 0.7s var(--ease-smooth); }
.js-animate-section.is-visible { opacity: 1; transform: none; }

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

.site-header.is-solid {
  background-color: var(--color-background);
  border-bottom-color: var(--color-border);
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

@media (min-width: 1024px) {
  .site-nav { height: var(--header-height); }
}

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

.site-logo-text {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  display: block;
  transition: color 0.3s;
}

@media (min-width: 1024px) {
  .site-logo-text { font-size: 1.5rem; }
}

.site-logo-img {
  height: var(--logo-height) !important;
  width: auto !important;
  display: block;
  object-fit: cover;
}

/* Home hero: only site name, no mark — solid header shows mark + name */
.site-header:not(.is-solid) .site-logo-img {
  display: none;
}

/* Nav links (desktop) */
.site-nav-links { display: none; }

@media (min-width: 768px) { .site-nav-links { display: block; } }

.theme-nav-list {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.theme-nav-list a,
.theme-nav-list button {
  font-family: var(--font-body);
  font-size: 0.875rem;
  letter-spacing: 0.025em;
  text-decoration: none;
  background: none;
  border: none;
  cursor: pointer;
  color: inherit;
  transition: color 0.3s;
  position: relative;
}

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

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

/* Transparent header colours */
.site-header:not(.is-solid) .site-logo-text,
.site-header:not(.is-solid) .theme-nav-list a,
.site-header:not(.is-solid) .theme-nav-list button,
.site-header:not(.is-solid) .cart-btn,
.site-header:not(.is-solid) .mobile-menu-btn {
  color: #ffffff;
}

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

.cart-btn {
  position: relative;
  padding: 0.5rem;
  display: flex;
  align-items: center;
  transition: opacity 0.2s;
  background: none;
  border: none;
}

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

.theme-cart-count {
  position: absolute;
  top: -2px; right: -2px;
  width: 18px; height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 600;
  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;
  background: none;
  border: none;
  transition: opacity 0.2s;
}

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

.mobile-menu-btn .icon-close { display: none; }
.mobile-menu-btn.is-open .icon-menu  { display: none; }
.mobile-menu-btn.is-open .icon-close { display: block; }

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

/* Mobile menu */
.mobile-menu {
  border-top: 1px solid var(--color-border);
  padding: 1rem 0;
  display: none;
}

.mobile-menu.is-open { display: block; }

.mobile-nav-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mobile-nav-list a,
.mobile-nav-list button {
  display: block;
  text-align: left;
  font-size: 0.875rem;
  letter-spacing: 0.025em;
  padding: 0.5rem 0;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.2s;
}

.mobile-nav-list a:hover,
.mobile-nav-list button:hover { color: var(--color-muted-foreground); }

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

.hero-video-wrap {
  position: absolute;
  inset: 0;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background-color: var(--color-foreground);
  opacity: 0.7;
  transition: opacity 0.1s;
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.hero-eyebrow-line {
  width: 32px;
  height: 1px;
  background-color: rgba(255,255,255,0.4);
  display: block;
}

.hero-eyebrow-text {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
}

.hero-heading {
  display: flex;
  flex-direction: column;
  margin-bottom: 1.5rem;
}

.hero-heading-line {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: #ffffff;
  line-height: 1.05;
}

@media (min-width: 768px) { .hero-heading-line { font-size: clamp(4rem, 7vw, 7rem); } }
@media (min-width: 1024px){ .hero-heading-line { font-size: clamp(5rem, 8vw, 8rem); } }

.hero-body {
  font-family: var(--font-body);
  font-size: 1.125rem;
  color: rgba(255,255,255,0.6);
  max-width: 40rem;
  margin: 0 auto 2.5rem;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: center;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .hero-actions { flex-direction: row; justify-content: center; }
}

/* ============================================================
   7. BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  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);
  min-height: var(--btn-height);
  padding: var(--btn-padding);
  border-radius: var(--btn-radius);
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: opacity 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

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

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

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

.btn-secondary:hover { opacity: 0.85; }

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

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

.btn-ghost {
  background-color: rgba(255,255,255,0.1);
  color: #ffffff;
  border: 1px solid rgba(255,255,255,0.2);
}

.btn-ghost:hover { background-color: rgba(255,255,255,0.2); }

.btn-lg { min-height: 52px; padding: 0 2.5rem; font-size: 1rem; }

.btn-full { width: 100%; }

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

/* ============================================================
   8. WC ADD TO CART BUTTON OVERRIDES
   ============================================================ */
.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-primary-foreground) !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-primary-foreground) !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 WC "View cart" link 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;
}

/* ============================================================
   9. MARQUEE
   ============================================================ */
.marquee-wrap {
  background-color: var(--color-primary);
  color: var(--color-primary-foreground);
  padding: 0.75rem 0;
  overflow: hidden;
}

.marquee-track {
  display: flex;
  white-space: nowrap;
  animation: marquee 20s linear infinite;
}

.marquee-inner {
  display: inline-flex;
  align-items: center;
  gap: 2rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding-right: 2rem;
}

.marquee-sep {
  opacity: 0.4;
}

/* ============================================================
   10. SECTION COMMONS
   ============================================================ */
.section-eyebrow {
  display: block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-muted-foreground);
  margin-bottom: 0.5rem;
}

.section-heading {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 2rem;
}

.scroll-mt { scroll-margin-top: var(--header-height); }

/* ============================================================
   11. BEST SELLERS
   ============================================================ */
.section-best-sellers {
  padding: 4rem 0 5rem;
}

/* Best sellers grid layout: see compound selector in shop section (after .product-grid) */

/* ============================================================
   12. ABOUT SECTION
   ============================================================ */
.section-about { padding: 0; }

.about-inner {
  padding: 4rem 0 6rem;
  max-width: 42rem;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.about-heading {
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin-top: 0.5rem;
  margin-bottom: 1.5rem;
  display: flex;
  gap: 0.4em;
  flex-wrap: wrap;
  justify-content: center;
}

.about-heading-accent { color: var(--color-muted-foreground); }

.about-body {
  color: var(--color-muted-foreground);
  font-family: var(--font-body);
  max-width: 36rem;
}

.about-body p { line-height: 1.7; }
.about-body p + p { margin-top: 1rem; }

.about-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
  width: 100%;
  max-width: 48rem;
}

@media (min-width: 768px) {
  .about-stats { grid-template-columns: repeat(4, 1fr); }
}

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

.about-stat-value {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  line-height: 1.2;
}

.about-stat-label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: var(--color-muted-foreground);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 0.25rem;
}

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

.shop-header { text-align: center; margin-bottom: 3rem; }

.shop-filters { margin-top: 2rem; }

.category-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  justify-content: center;
}

.filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  background-color: var(--color-secondary);
  color: var(--color-secondary-foreground);
  border: none;
  cursor: pointer;
  transition: background-color 0.2s;
}

.filter-btn:hover { background-color: var(--color-muted); }

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

.chevron-icon {
  transition: transform 0.3s;
}

.filter-btn.is-open .chevron-icon,
.js-price-filter-toggle.is-open .chevron-icon {
  transform: rotate(180deg);
}

/* Price range filter */
.price-filter-wrap {
  max-width: 24rem;
  margin: 1rem auto 0;
  padding: 0.5rem 0;
}

.price-range-wrapper {
  position: relative;
  display: block;
  height: 28px;
  margin-bottom: 0.75rem;
  width: 100%;
  box-sizing: border-box;
}

.range-track-base {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 4px;
  background: var(--color-muted);
  border-radius: 2px;
  pointer-events: none;
  z-index: 0;
}

.range-input {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
  pointer-events: none;
  z-index: 2;
  outline: none;
}

/* Max above min so the right handle stays reachable; thumbs still receive events. */
.range-input--min { z-index: 2; }
.range-input--max { z-index: 3; }

.range-input::-webkit-slider-runnable-track {
  width: 100%;
  height: 4px;
  background: transparent;
  -webkit-appearance: none;
  transform: translateY(10px);
}

.range-input::-moz-range-track {
  width: 100%;
  height: 4px;
  background: transparent;
}

.range-input::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--color-primary);
  cursor: pointer;
  border: 2px solid var(--color-background);
  box-shadow: 0 0 0 1px var(--color-primary);
  margin-top: -7px;
  pointer-events: auto;
}

.range-input::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--color-primary);
  cursor: pointer;
  border: 2px solid var(--color-background);
  box-shadow: 0 0 0 1px var(--color-primary);
  pointer-events: auto;
}

.range-track-fill {
  position: absolute;
  left: 0;
  width: 0;
  height: 4px;
  background: var(--color-primary);
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  z-index: 1;
  border-radius: 2px;
}

.price-range-labels {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: var(--color-muted-foreground);
}

/* Product grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem 2rem;
  align-items: stretch;
}

/* Best sellers: three equal columns, full width (wins over generic .product-grid) */
.product-grid.bestsellers-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: 100%;
  gap: 1.5rem 2rem;
  align-items: stretch;
}

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

@media (max-width: 639px) {
  .product-grid { grid-template-columns: 1fr; }
}

/* Show more button */
.shop-load-more { margin-top: 2.5rem; }

/* Shop empty */
.shop-empty {
  padding: 5rem 0;
  color: var(--color-muted-foreground);
  font-family: var(--font-body);
}

/* ============================================================
   14. PRODUCT CARD
   ============================================================ */
.theme-product-card-wrap {
  height: 100%;
}

.theme-product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.5s var(--ease-smooth), box-shadow 0.5s var(--ease-smooth);
}

.theme-product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px -12px hsl(0 0% 0% / 0.12);
}

.theme-card-link {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: auto;
}

.theme-product-card__image-wrapper {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background-color: var(--color-secondary);
  flex-shrink: 0;
}

.theme-product-card__image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.6s var(--ease-smooth);
}

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

.card-hover-overlay {
  position: absolute;
  inset: 0;
  background-color: transparent;
  transition: background-color 0.5s;
  pointer-events: none;
}

.theme-product-card:hover .card-hover-overlay {
  background-color: rgba(0,0,0,0.05);
}

.product-sold-out-badge {
  position: absolute;
  top: 0.5rem; left: 0.5rem;
  padding: 0.375rem 0.75rem;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background-color: var(--color-foreground);
  color: var(--color-background);
  z-index: 2;
}

@media (min-width: 768px) {
  .product-sold-out-badge { top: 0.75rem; left: 0.75rem; }
}

.theme-product-card__info {
  padding: 0.75rem 0 0;
  flex: 1;
  min-width: 0;
}

.theme-product-card__title {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-foreground);
  transition: color 0.3s;
  margin-bottom: 0.25rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.theme-product-card:hover .theme-product-card__title { color: var(--color-muted-foreground); }

.theme-product-card__price {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-muted-foreground);
}

/* Pointer events — card children inactive, button active */
.theme-product-card * { pointer-events: none; }
.theme-card-link { pointer-events: auto; }

/* ============================================================
   15. CTA SECTION
   ============================================================ */
.section-cta {
  position: relative;
  color: #ffffff;
  padding: 7rem 0 10rem;
  overflow: hidden;
  text-align: center;
}

.cta-video-wrap {
  position: absolute;
  inset: 0;
}

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

.cta-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(20,20,20,0.7);
}

.cta-content {
  position: relative;
  z-index: 10;
  max-width: 42rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.cta-heading {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  margin-bottom: 1rem;
}

.cta-body {
  font-family: var(--font-body);
  opacity: 0.9;
  max-width: 28rem;
  margin: 0 auto 2rem;
  line-height: 1.6;
}

/* ============================================================
   16. CONTACT SECTION (HOME)
   ============================================================ */
.section-contact { padding: 0; }

/* Longhand top/bottom only: .container-wide already sets horizontal padding; avoid
   shorthand padding: 5rem 0 which overwrites that and flushes the section to the viewport on mobile. */
.contact-inner {
  padding-top: 5rem;
  padding-bottom: 5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: stretch;
}

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

/* Info column */
.contact-info-col {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

@media (min-width: 1024px) { .contact-info-col { order: 2; } }

.contact-details { display: flex; flex-direction: column; gap: 1.5rem; }

.contact-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s;
}

.contact-detail-item:hover { transform: translateX(4px); }

.contact-icon-wrap {
  width: 40px; height: 40px;
  background-color: var(--color-primary);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: var(--color-primary-foreground);
}

.contact-detail-type {
  font-family: var(--font-body);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-muted-foreground);
}

.contact-detail-value {
  font-family: var(--font-body);
  font-size: 0.875rem;
  margin-top: 0.125rem;
  transition: color 0.2s;
}

a.contact-detail-item:hover .contact-detail-value { color: var(--color-primary); }

.contact-map {
  flex: 1;
  min-height: 250px;
  background-color: var(--color-muted);
  overflow: hidden;
  border: 1px solid var(--color-border);
}

.contact-map-iframe {
  width: 100%;
  height: 100%;
  min-height: 250px;
  display: block;
  filter: grayscale(1);
  transition: filter 0.5s;
}

.contact-map-iframe:hover { filter: grayscale(0); }

/* Form column */
.contact-form-col {
  display: flex;
  flex-direction: column;
}

@media (min-width: 1024px) { .contact-form-col { order: 1; } }

.contact-form-intro {
  font-family: var(--font-body);
  color: var(--color-muted-foreground);
  max-width: 28rem;
  margin-bottom: 2rem;
  line-height: 1.6;
}

/* ============================================================
   17. FORMS (shared)
   ============================================================ */
.form-field { display: flex; flex-direction: column; gap: 0.5rem; }
.form-field--grow { flex: 1; }

.form-label {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  display: block;
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 0.75rem 1rem;
  background-color: var(--color-background);
  border: 1px solid var(--color-border);
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--color-foreground);
  outline: none;
  transition: box-shadow 0.2s;
  appearance: none;
  -webkit-appearance: none;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--color-muted-foreground);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  box-shadow: 0 0 0 2px rgba(31,31,31,0.2);
}

.form-textarea { resize: none; }

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

.contact-submit {
  width: 100%;
  margin-top: auto;
}

/* Success state */
.contact-success {
  text-align: center;
  padding: 2.5rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.contact-success-icon {
  width: 64px; height: 64px;
  background-color: var(--color-primary);
  display: flex; align-items: center; justify-content: center;
  color: var(--color-primary-foreground);
  margin-bottom: 0.5rem;
}

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

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

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

.footer-logo-link { margin-bottom: 1rem; }

.footer-description {
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--color-muted-foreground);
  line-height: 1.6;
  max-width: 24rem;
  margin-top: 1rem;
}

.footer-social { margin-top: 1rem; }

.footer-social-link {
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--color-muted-foreground);
  transition: color 0.2s;
}

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

.footer-col-title {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer-nav-list,
.theme-footer-nav-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  list-style: none;
}

.footer-nav-list a,
.footer-nav-list button,
.theme-footer-nav-list a,
.theme-footer-nav-list button {
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--color-muted-foreground);
  transition: color 0.2s;
  background: none;
  border: none;
  cursor: pointer;
  text-decoration: none;
  padding: 0;
  text-align: left;
}

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

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--color-muted-foreground);
}

.footer-contact-list svg { flex-shrink: 0; margin-top: 1px; }

.footer-contact-list a { transition: color 0.2s; }
.footer-contact-list a:hover { color: var(--color-foreground); }

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

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

.footer-copyright {
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: var(--color-muted-foreground);
}

/* ============================================================
   19. CART DRAWER
   ============================================================ */
#theme-cart-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(20,20,20,0.2);
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

body.cart-open #theme-cart-overlay {
  opacity: 1;
  pointer-events: auto;
}

#theme-cart-drawer {
  position: fixed;
  top: 0; right: 0;
  height: 100%;
  width: 100%;
  max-width: 28rem;
  background-color: var(--color-background);
  z-index: 300;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-elevated);
  transform: translateX(100%);
  transition: transform 0.3s var(--ease-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);
  flex-shrink: 0;
}

.cart-drawer-title {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
}

.cart-drawer-close {
  padding: 0.25rem;
  background: none;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s;
}

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

/* Empty state */
.cart-drawer-empty {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 1.5rem;
  text-align: center;
}

.cart-empty-icon { color: var(--color-muted-foreground); }

.cart-empty-msg {
  font-family: var(--font-body);
  color: var(--color-muted-foreground);
}

/* Cart items */
.cart-drawer-items {
  flex: 1;
  overflow-y: auto;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.cart-drawer-item {
  display: flex;
  gap: 1rem;
}

.cart-item-thumb-link {
  width: 80px; height: 96px;
  background-color: var(--color-secondary);
  overflow: hidden;
  flex-shrink: 0;
  display: block;
}

.cart-item-thumb {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}

.cart-item-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

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

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

.cart-item-variation {
  font-size: 0.75rem;
  color: var(--color-muted-foreground);
  font-family: var(--font-body);
}

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

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

.cart-qty-btn {
  padding: 0.25rem;
  background: none;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s;
}

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

.cart-qty-value {
  font-family: var(--font-body);
  font-size: 0.875rem;
  min-width: 1.5rem;
  text-align: center;
}

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

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

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

.cart-subtotal-row {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-body);
  font-size: 0.875rem;
}

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

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

.cart-checkout-btn { margin-top: 0.25rem; }

/* ============================================================
   20. WOOCOMMERCE: SINGLE PRODUCT
   ============================================================ */
.single-product-page { padding-top: var(--header-height); padding-bottom: 5rem; }

.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-gallery { min-width: 0; max-width: 100%; }
.theme-product-info    { min-width: 0; max-width: 100%; }

/* Gallery */
.theme-product-main-image {
  aspect-ratio: 3 / 4;
  background-color: var(--color-secondary);
  overflow: hidden;
  margin-bottom: 1rem;
}

.product-main-img-el {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}

.theme-product-thumbnails {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.5rem;
  flex-wrap: wrap;
  max-width: 100%;
}

.theme-product-thumb {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border: 2px solid transparent;
  transition: border-color 0.2s, opacity 0.2s;
  background: none;
  padding: 0;
  cursor: pointer;
}

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

.theme-product-thumb:not(.is-active) { opacity: 0.6; }
.theme-product-thumb:not(.is-active):hover { opacity: 1; }
.theme-product-thumb.is-active { border-color: var(--color-primary); opacity: 1; }

/* Info */
@media (min-width: 1024px) { .theme-product-info { padding-top: 2.5rem; } }

.product-categories {
  font-family: var(--font-body);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-muted-foreground);
  margin-bottom: 0.5rem;
  overflow-wrap: break-word;
  word-break: break-word;
}

.product-categories a {
  color: var(--color-muted-foreground);
  transition: color 0.2s;
}
.product-categories a:hover { color: var(--color-foreground); }

.product-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 1rem;
}

.product-price {
  font-family: var(--font-body);
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.product-stock-status {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.375rem 0.75rem;
  display: inline-block;
  margin-bottom: 1rem;
}

.product-sold-out {
  background-color: var(--color-foreground);
  color: var(--color-background);
}

.product-description {
  font-family: var(--font-body);
  color: var(--color-muted-foreground);
  line-height: 1.7;
  margin-bottom: 2rem;
  white-space: pre-line;
  overflow-wrap: break-word;
  word-break: break-word;
}

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

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

.theme-qty-minus,
.theme-qty-plus {
  padding: 0.75rem 1rem;
  background: none;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s;
  display: flex; align-items: center;
}

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

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

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

.single_add_to_cart_button { flex: 1 1 auto; min-width: 160px; }

/* Variations 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;
}

.single-product .variations select {
  width: 100%;
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--color-border);
  background-color: var(--color-background);
  font-family: var(--font-body);
  font-size: 0.875rem;
}

/* Size attribute: row of boxes, hidden select for WC */
.variation-size-ui { position: relative; }

.single-product .variations tr.variation-row--size td.label label {
  font-weight: 700;
  color: var(--color-foreground);
  font-size: 0.9375rem;
}

.size-swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.size-swatch {
  margin: 0;
  min-width: 2.5rem;
  min-height: 2.5rem;
  padding: 0.4rem 0.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--color-foreground);
  background: var(--color-secondary);
  border: 1px solid var(--color-border);
  cursor: pointer;
  line-height: 1;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
  border-radius: 2px;
  box-sizing: border-box;
}

.size-swatch:hover {
  border-color: var(--color-foreground);
}

.size-swatch.is-active {
  border-color: var(--color-primary);
  background: var(--color-background);
  font-weight: 600;
  box-shadow: 0 0 0 1px var(--color-primary);
}

.size-swatch:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

.size-select-screen-reader {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
  white-space: nowrap;
}

.size-select-screen-reader select {
  max-width: none;
  min-height: 0;
}

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

.product-details-title {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.product-details-content {
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--color-muted-foreground);
  line-height: 1.7;
}

.product-details-content ul { padding-left: 0; }
.product-details-content li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.product-details-content li::before {
  content: '';
  width: 6px; height: 6px;
  background-color: var(--color-foreground);
  border-radius: 50%;
  margin-top: 0.5rem;
  flex-shrink: 0;
}

/* Responsive single product */
@media (max-width: 767px) {
  .theme-add-to-cart-area { flex-wrap: wrap; gap: 0.75rem; }
  .single_add_to_cart_button { flex: 1 1 auto; min-width: 160px; }
}

/* Related products */
.related-products-section {
  padding: 5rem 0;
  border-top: 1px solid var(--color-border);
}

.related-products-title {
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  margin-bottom: 2.5rem;
}

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

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

/* WC Notices */
.single-product .woocommerce-message,
.single-product .woocommerce-info { display: none; }

/* ============================================================
   21. WOOCOMMERCE: ARCHIVE/SHOP PAGE
   ============================================================ */
.archive-products-page { padding-top: var(--header-height); }

.shop-page-header {
  padding: 3rem 0 2rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  justify-content: space-between;
  flex-wrap: wrap;
}

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

body.woocommerce-checkout .entry-content {
  max-width: 100%;
}

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 380px;
    gap: var(--checkout-gap);
    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: 2rem;
}

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

body.woocommerce-checkout .wc-block-components-text-input input:focus,
body.woocommerce-checkout .wc-block-components-select select:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(31,31,31,0.2);
}

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: var(--btn-font-size) !important;
  font-weight: var(--btn-font-weight) !important;
}

body.woocommerce-checkout h2 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
}

/* Page title */
.page-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 2rem;
  padding-top: 2rem;
}

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

body.theme-thankyou-page .woocommerce-order {
  font-family: var(--font-body);
}

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

body.theme-thankyou-page .woocommerce-order-overview li {
  font-size: 0.875rem;
  padding-right: 1.5rem;
}

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

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;
  margin-top: 2rem;
}

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

/* ============================================================
   24. INNER PAGES (gallery, blog, faq, contact)
   ============================================================ */
.theme-no-hero { padding-top: var(--header-height); }
.inner-page-wrap { padding-top: 2.5rem; padding-bottom: 5rem; }

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

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

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

.page-heading {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  margin-bottom: 1rem;
}

.page-subtitle {
  font-family: var(--font-body);
  color: var(--color-muted-foreground);
  max-width: 28rem;
  margin: 0 auto;
}

/* ---- Gallery ---- */
.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
}

.gallery-masonry {
  columns: 2;
  gap: 1rem;
}

@media (min-width: 768px) { .gallery-masonry { columns: 3; } }

.gallery-item {
  break-inside: avoid;
  margin-bottom: 1rem;
  cursor: pointer;
  transition: opacity 0.2s;
}

.gallery-item:hover { opacity: 0.9; }

.gallery-item-inner {
  overflow: hidden;
  background-color: var(--color-secondary);
}

.gallery-img {
  width: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.5s;
}

.gallery-item:hover .gallery-img { transform: scale(1.05); }

/* Lightbox */
.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 500;
  background-color: rgba(20,20,20,0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  animation: fadeIn 0.3s ease;
}

.gallery-lightbox[hidden] { display: none !important; }

.gallery-lightbox-overlay {
  position: absolute;
  inset: 0;
  cursor: pointer;
}

.gallery-lightbox-img {
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
  position: relative;
  z-index: 1;
  animation: fadeIn 0.3s ease;
}

.gallery-lightbox-close {
  position: absolute;
  top: 1rem; right: 1rem;
  z-index: 2;
  color: #ffffff;
  background: rgba(0,0,0,0.4);
  border: none;
  padding: 0.5rem;
  cursor: pointer;
  transition: opacity 0.2s;
}

.gallery-lightbox-close:hover { opacity: 0.7; }

/* ---- Blog ---- */
.blog-list {
  max-width: 56rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.blog-card {
  border: 1px solid var(--color-border);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr;
  transition: transform 0.3s;
}

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

.blog-card:hover { transform: none; }

.blog-card-image-wrap {
  overflow: hidden;
  background-color: var(--color-secondary);
}

.blog-card-image-wrap .blog-card-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  transition: transform 0.5s;
}

.blog-card:hover .blog-card-img { transform: scale(1.05); }

.blog-card-content {
  padding: 1.5rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: var(--color-muted-foreground);
  margin-bottom: 0.75rem;
}

.blog-card-title {
  font-size: clamp(1.125rem, 2vw, 1.5rem);
  margin-bottom: 0.75rem;
}

.blog-card-excerpt {
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--color-muted-foreground);
  line-height: 1.7;
}

.blog-more-note { margin-top: 3rem; }
.muted-text { color: var(--color-muted-foreground); font-family: var(--font-body); font-size: 0.875rem; }

/* ---- FAQ ---- */
.faq-wrap { max-width: 48rem; margin: 0 auto; }
.faq-page-title { font-weight: 500 !important; }

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

.faq-category-title {
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--color-border);
}

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

.faq-item { border: 1px solid var(--color-border); overflow: hidden; }

.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;
  transition: background-color 0.2s;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  gap: 1rem;
}

.faq-question:hover { background-color: rgba(0,0,0,0.03); }
.faq-question[aria-expanded="true"] { background-color: rgba(0,0,0,0.03); }

.faq-chevron { flex-shrink: 0; color: var(--color-muted-foreground); transition: transform 0.2s; }
.faq-question[aria-expanded="true"] .faq-chevron { transform: rotate(180deg); }

.faq-answer {
  padding: 0 1.25rem 1.25rem;
  animation: fadeIn 0.2s ease;
}

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

.faq-answer-text {
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--color-muted-foreground);
  line-height: 1.8;
  white-space: pre-line;
}

.faq-cta {
  margin-top: 4rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--color-border);
  text-align: center;
}

.faq-cta-heading {
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 1rem;
}

.faq-cta-body {
  font-family: var(--font-body);
  color: var(--color-muted-foreground);
  margin-bottom: 1.5rem;
}

/* ---- Contact page ---- */
.contact-page-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

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

.contact-page-sidebar { display: flex; flex-direction: column; gap: 1.5rem; }

.contact-info-box {
  padding: 1.5rem;
}

.contact-info-box-title {
  font-size: 1.125rem;
  font-weight: 500;
  margin-bottom: 1rem;
}

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

.contact-info-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
}

.contact-info-list svg { flex-shrink: 0; margin-top: 1px; }

.contact-info-list a {
  transition: color 0.2s;
}
.contact-info-list a:hover { color: var(--color-muted-foreground); }

.contact-info-list address {
  font-style: normal;
  font-family: var(--font-body);
  font-size: 0.875rem;
  line-height: 1.6;
}

.contact-follow-body {
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--color-muted-foreground);
  margin-bottom: 0.75rem;
}

.contact-insta-link {
  font-family: var(--font-body);
  font-size: 0.875rem;
  transition: text-decoration 0.2s;
}

.contact-insta-link:hover { text-decoration: underline; }

.contact-page-form-col {
  min-width: 0;
}

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

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

/* ============================================================
   25. 404 PAGE
   ============================================================ */
.not-found-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-muted);
}

.not-found-content { text-align: center; padding: 2rem; }

.not-found-code {
  font-family: var(--font-display);
  font-size: 5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.not-found-message {
  font-family: var(--font-body);
  font-size: 1.25rem;
  color: var(--color-muted-foreground);
  margin-bottom: 2rem;
}

/* ============================================================
   26. WC NOTICES
   ============================================================ */
.woocommerce-page .woocommerce-message,
.woocommerce-page .woocommerce-info,
.woocommerce-page .woocommerce-error {
  font-family: var(--font-body);
  font-size: 0.875rem;
  padding: 1rem 1.5rem;
  margin-bottom: 1.5rem;
  border-left: 4px solid var(--color-primary);
  background-color: var(--color-secondary);
}

/* WC errors visible on checkout always */
body.woocommerce-checkout .woocommerce-error { display: block !important; }

/* ============================================================
   27. WOOCOMMERCE BREADCRUMBS (hidden per design)
   ============================================================ */
.woocommerce-breadcrumb { display: none; }

/* ============================================================
   28. WOOCOMMERCE PAGINATION
   ============================================================ */
.woocommerce-pagination {
  margin-top: 3rem;
  display: flex;
  justify-content: center;
  gap: 0.25rem;
}

.woocommerce-pagination .page-numbers {
  padding: 0.5rem 0.875rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  border: 1px solid var(--color-border);
  transition: background-color 0.2s;
  text-decoration: none;
}

.woocommerce-pagination .page-numbers.current,
.woocommerce-pagination .page-numbers:hover {
  background-color: var(--color-primary);
  color: var(--color-primary-foreground);
  border-color: var(--color-primary);
}

/* ============================================================
   29. SINGLE VARIATION WRAP
   ============================================================ */
.single_variation_wrap {
  display: none;
}

.single_variation_wrap .theme-quantity-wrapper + .single_add_to_cart_button {
  margin-top: 1rem;
}

/* ============================================================
   30. RESPONSIVE UTILITIES
   ============================================================ */
@media (max-width: 767px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .product-grid.bestsellers-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 479px) {
  .product-grid,
  .product-grid.bestsellers-grid { grid-template-columns: 1fr; }
}
