/*
Theme Name:   FLAV – Designerskie Oświetlenie Premium
Theme URI:    https://flav.pl
Author:       Silicon Valley Piotr Krzemiński
Description:  Premium e-commerce WordPress theme for designer lighting & electrical accessories. Minimalist, SEO-optimized, WooCommerce-ready.
Version:      1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License:      proprietary
Text Domain:  flav
*/

/* ============================================================
   0. DESIGN TOKENS
   ============================================================ */
:root {
  /* Palette */
  --c-black:   #0a0a0a;
  --c-dark:    #1a1a1a;
  --c-gray-900:#2a2a2a;
  --c-gray-700:#555;
  --c-gray-500:#888;
  --c-gray-300:#c8c8c8;
  --c-gray-100:#f0f0f0;
  --c-white:   #fff;
  --c-cream:   #f7f5f2;
  --c-accent:  #c9a961;
  --c-accent-light: #e0c68c;
  --c-accent-dark: #9c7c3e;

  /* Typography */
  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-heading: 'Outfit', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: var(--font-heading);

  --fs-xs:   0.75rem;
  --fs-sm:   0.8125rem;
  --fs-base: 1rem;
  --fs-md:   1.125rem;
  --fs-lg:   1.375rem;
  --fs-xl:   2rem;
  --fs-2xl:  2.75rem;
  --fs-3xl:  3.5rem;
  --fs-hero: 4.5rem;

  --fw-light:  300;
  --fw-regular:400;
  --fw-medium: 500;

  --lh-tight:  1.15;
  --lh-snug:   1.3;
  --lh-body:   1.65;

  --ls-wide:   0.08em;
  --ls-wider:  0.14em;
  --ls-widest: 0.2em;

  /* Spacing */
  --space-xs:  8px;
  --space-sm:  16px;
  --space-md:  24px;
  --space-lg:  40px;
  --space-xl:  64px;
  --space-2xl: 100px;
  --space-3xl: 140px;

  /* Layout */
  --container:     1320px;
  --container-sm:  900px;
  --container-xs:  680px;
  --gutter:        24px;

  /* Effects */
  --radius:        0;
  --radius-sm:     4px;
  --radius-pill:   100px;
  --shadow-sm:     0 1px 3px rgba(0,0,0,.06);
  --shadow-md:     0 4px 20px rgba(0,0,0,.08);
  --shadow-lg:     0 12px 40px rgba(0,0,0,.12);

  --transition:    .35s cubic-bezier(.25,.46,.45,.94);
  --transition-fast: .2s ease;

  /* Motion (shared with GSAP ScrollTrigger — Faza 3) */
  --ease-out:      cubic-bezier(.16,1,.3,1);
  --ease-in-out:   cubic-bezier(.65,0,.35,1);
  --dur-fast:      200ms;
  --dur-base:      400ms;
  --dur-slow:      600ms;
  --dur-hero:      900ms;

  /* Header */
  --header-h: 88px;
  --header-h-shrink: 64px;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  font-family: var(--font-body);
  font-size: var(--fs-base);
  font-weight: var(--fw-light);
  line-height: var(--lh-body);
  color: var(--c-black);
  background: var(--c-white);
  padding-top: var(--header-h);
}

img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
ul, ol { list-style: none; }
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: var(--fw-light);
  line-height: var(--lh-tight);
}

/* ============================================================
   2. LAYOUT
   ============================================================ */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.container--narrow {
  max-width: var(--container-sm);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section {
  padding: var(--space-2xl) 0;
}
.section--cream {
  background: var(--c-cream);
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: var(--space-lg);
}
.section-header--center {
  justify-content: center;
  text-align: center;
}
.section-title {
  font-size: var(--fs-2xl);
  font-weight: var(--fw-light);
}
.section-link {
  font-size: var(--fs-sm);
  font-weight: var(--fw-regular);
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  color: var(--c-gray-500);
  transition: color var(--transition-fast);
}
.section-link:hover { color: var(--c-black); }

/* ============================================================
   3. TYPOGRAPHY
   ============================================================ */
.heading-sm {
  font-size: var(--fs-xs);
  font-weight: var(--fw-medium);
  letter-spacing: var(--ls-widest);
  text-transform: uppercase;
  color: var(--c-gray-500);
}

/* ============================================================
   4. HEADER
   ============================================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-h);
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: height var(--transition), border-color var(--transition), background var(--transition);
}
.site-header.shrink {
  height: var(--header-h-shrink);
  border-bottom-color: var(--c-gray-100);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* Logo */
.site-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.logo-wordmark {
  font-family: var(--font-display);
  font-size: 2.9rem;
  line-height: 1;
  font-weight: var(--fw-regular);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--c-black);
}
.site-header.shrink .logo-wordmark {
  font-size: 2.2rem;
}
.logo-tagline {
  display: block;
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: var(--fw-light);
  letter-spacing: var(--ls-wide);
  text-transform: lowercase;
  margin-top: 6px;
  white-space: nowrap;
}

/* Desktop nav */
.nav-desktop {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}
.nav-desktop > a,
.nav-desktop > .nav-item-dropdown > a {
  font-size: var(--fs-sm);
  font-weight: var(--fw-regular);
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  color: var(--c-black);
  position: relative;
  padding: 4px 0;
  transition: color var(--transition-fast);
}
.nav-desktop > a::after,
.nav-desktop > .nav-item-dropdown > a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: currentColor;
  transition: width var(--transition);
}
.nav-desktop > a:hover::after,
.nav-desktop > a[aria-current="page"]::after,
.nav-desktop > .nav-item-dropdown > a:hover::after {
  width: 100%;
}

/* Dropdown */
.nav-item-dropdown {
  position: relative;
}
.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  min-width: 220px;
  background: var(--c-white);
  border: 1px solid var(--c-gray-100);
  box-shadow: var(--shadow-md);
  padding: var(--space-sm) 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-fast), visibility var(--transition-fast);
  z-index: 100;
}
.nav-item-dropdown:hover .nav-dropdown,
.nav-dropdown.is-visible {
  opacity: 1;
  visibility: visible;
}
.nav-dropdown a {
  display: block;
  padding: 8px var(--space-md);
  font-size: var(--fs-sm);
  color: var(--c-gray-700);
  transition: color var(--transition-fast), background var(--transition-fast);
}
.nav-dropdown a:hover {
  color: var(--c-black);
  background: var(--c-gray-100);
}
.nav-dropdown-all {
  border-top: 1px solid var(--c-gray-100);
  margin-top: var(--space-xs);
  padding-top: var(--space-sm) !important;
  font-weight: var(--fw-medium) !important;
  color: var(--c-black) !important;
}

/* Header actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

/* Cart icon */
.header-cart {
  position: relative;
  display: inline-flex;
  align-items: center;
  color: var(--c-black);
}
.cart-count {
  position: absolute;
  top: -6px;
  right: -10px;
  background: var(--c-black);
  color: var(--c-white);
  font-size: 10px;
  font-weight: var(--fw-medium);
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  width: 28px;
  padding: 4px 0;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 100%;
  height: 1.5px;
  background: var(--c-black);
  transition: transform var(--transition), opacity var(--transition);
}

/* ============================================================
   5. MOBILE NAV
   ============================================================ */
.mobile-nav {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 420px;
  height: 100vh;
  height: 100dvh;
  background: var(--c-white);
  z-index: 2000;
  transform: translateX(100%);
  transition: transform var(--transition);
  overflow-y: auto;
  padding: var(--space-xl) var(--gutter) var(--space-lg);
}
.mobile-nav[aria-hidden="true"] {
  transform: translateX(100%);
}
.mobile-nav.is-open,
.mobile-nav[aria-hidden="false"] {
  transform: translateX(0);
}

.mobile-nav-close {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  background: none;
  border: none;
  cursor: pointer;
  color: var(--c-black);
}

.mobile-nav-links {
  margin-top: var(--space-xl);
  display: flex;
  flex-direction: column;
}
.mobile-nav-links a {
  display: block;
  padding: var(--space-sm) 0;
  font-size: var(--fs-lg);
  font-weight: var(--fw-light);
  border-bottom: 1px solid var(--c-gray-100);
}

.mobile-nav-contact {
  margin-top: var(--space-xl);
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  font-size: var(--fs-sm);
  color: var(--c-gray-500);
}

/* ============================================================
   6. HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: flex-end;
  padding: var(--space-3xl) 0;
  overflow: hidden;
  color: var(--c-white);
  margin-top: calc(-1 * var(--header-h));
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 50%, #0a0a0a 100%);
}
.hero-photo {
  will-change: transform;
}
.hero-media img,
.hero-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Hero slider: images stack on top of each other; only .is-active is visible.
   No-JS/no-motion fallback: the first image ships with .is-active in the
   markup, so it always renders even if motion.js never runs. */
.hero-slider {
  position: absolute;
  inset: 0;
}
.hero-slider .hero-photo {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease;
}
.hero-slider .hero-photo.is-active {
  opacity: 1;
}
.hero-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.55) 0%, rgba(0,0,0,.1) 50%, transparent 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
  padding: 0 var(--gutter);
}
.hero-overtitle {
  font-size: var(--fs-xs);
  font-weight: var(--fw-medium);
  letter-spacing: var(--ls-widest);
  text-transform: uppercase;
  opacity: .7;
  margin-bottom: var(--space-sm);
}
.hero-title {
  font-size: var(--fs-hero);
  font-weight: var(--fw-light);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-md);
}
.hero-subtitle {
  font-size: var(--fs-md);
  font-weight: var(--fw-light);
  line-height: var(--lh-body);
  max-width: 480px;
  margin-bottom: var(--space-lg);
  opacity: .85;
}
.hero-actions {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
}
.hero-actions .btn--primary {
  background: var(--c-white);
  color: var(--c-black);
  border-color: var(--c-white);
}
.hero-actions .btn--primary:hover {
  background: transparent;
  color: var(--c-white);
}
.hero-actions .btn--outline {
  color: var(--c-white);
  border-color: rgba(255,255,255,.5);
}
.hero-actions .btn--outline:hover {
  background: var(--c-white);
  color: var(--c-black);
  border-color: var(--c-white);
}

/* ============================================================
   7. BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 36px;
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  border: 1px solid transparent;
  transition: all var(--transition);
  white-space: nowrap;
  cursor: pointer;
}
.btn--primary {
  background: var(--c-black);
  color: var(--c-white);
  border-color: var(--c-black);
}
.btn--primary:hover {
  background: transparent;
  color: var(--c-black);
}
.btn--outline {
  background: transparent;
  color: var(--c-black);
  border-color: var(--c-black);
}
.btn--outline:hover {
  background: var(--c-black);
  color: var(--c-white);
}
.btn--text {
  padding: 0;
  border: none;
  background: none;
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  color: var(--c-black);
}
.btn--text:hover { opacity: .6; }

/* ============================================================
   8. CATEGORIES STRIP
   ============================================================ */
.categories-strip {
  padding: var(--space-md) 0;
  border-bottom: 1px solid var(--c-gray-100);
}
.categories-scroll {
  display: flex;
  gap: var(--space-sm);
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.categories-scroll::-webkit-scrollbar { display: none; }
.category-pill {
  flex-shrink: 0;
  padding: 8px 20px;
  font-size: var(--fs-xs);
  font-weight: var(--fw-medium);
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  color: var(--c-gray-500);
  border: 1px solid var(--c-gray-300);
  transition: all var(--transition-fast);
  white-space: nowrap;
}
.category-pill:hover,
.category-pill.is-active {
  color: var(--c-black);
  border-color: var(--c-black);
  background: var(--c-black);
  color: var(--c-white);
}

/* ============================================================
   9. COLLECTIONS GRID
   ============================================================ */
.collections-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}
.collections-grid--full {
  grid-template-columns: repeat(3, 1fr);
}

.collection-card {
  display: block;
  position: relative;
  overflow: hidden;
  background: var(--c-gray-100);
}
.collection-card-image {
  aspect-ratio: 3/4;
  overflow: hidden;
}
.collection-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s cubic-bezier(.25,.46,.45,.94);
}
.collection-card:hover .collection-card-image img {
  transform: scale(1.04);
}
.collection-card-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--c-gray-100) 0%, var(--c-cream) 100%);
  color: var(--c-accent-dark);
}
.collection-card-placeholder .category-icon {
  width: 30%;
  height: 30%;
  min-width: 48px;
  min-height: 48px;
  opacity: 0.55;
  transition: opacity var(--transition), transform var(--transition);
}
.collection-card:hover .category-icon {
  opacity: 0.8;
  transform: scale(1.06);
}
.collection-card-info {
  padding: var(--space-sm) var(--space-sm) var(--space-md);
}
.collection-card-info h2,
.collection-card-info h3 {
  font-size: var(--fs-md);
  font-weight: var(--fw-regular);
  margin-bottom: 4px;
}
.collection-count {
  font-size: var(--fs-xs);
  color: var(--c-gray-500);
  letter-spacing: var(--ls-wide);
}

/* ============================================================
   10. PRODUCT CARDS
   ============================================================ */
.product-card {
  display: block;
  position: relative;
  text-decoration: none;
}
.product-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}
.product-card-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1/1;
  background: var(--c-cream);
  margin-bottom: var(--space-sm);
}
.product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s cubic-bezier(.25,.46,.45,.94);
}
.product-card:hover .product-card-image img,
.product-card-link:hover .product-card-image img {
  transform: scale(1.05);
}
.product-card-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--c-cream) 0%, var(--c-gray-100) 100%);
  color: var(--c-accent-dark);
}
.product-card-placeholder .category-icon {
  width: 26%;
  height: 26%;
  min-width: 40px;
  min-height: 40px;
  opacity: 0.5;
  transition: opacity var(--transition), transform var(--transition);
}
.product-card:hover .category-icon {
  opacity: 0.75;
  transform: scale(1.06);
}

.product-badge {
  position: absolute;
  top: var(--space-sm);
  left: var(--space-sm);
  font-size: 10px;
  font-weight: var(--fw-medium);
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  padding: 4px 10px;
}
.product-badge--sale {
  background: var(--c-black);
  color: var(--c-white);
}
.product-badge--sold {
  background: var(--c-gray-500);
  color: var(--c-white);
}

.product-card-info { text-align: left; }
.product-card-name {
  font-size: var(--fs-base);
  font-weight: var(--fw-regular);
  margin-bottom: 4px;
}
.product-card-price {
  font-size: var(--fs-sm);
  color: var(--c-gray-700);
}
.product-card-price del {
  color: var(--c-gray-300);
  margin-right: 6px;
}
.product-card-price ins {
  text-decoration: none;
  color: var(--c-black);
  font-weight: var(--fw-medium);
}

/* ============================================================
   11. HORIZONTAL SLIDER
   ============================================================ */
.slider-wrap {
  overflow: hidden;
  padding: 0 var(--gutter);
}
.product-slider {
  display: flex;
  gap: var(--space-md);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: var(--space-sm);
  cursor: grab;
}
.product-slider::-webkit-scrollbar { display: none; }
.product-slider.is-dragging { cursor: grabbing; }
.product-slider > .product-card {
  flex: 0 0 auto;
  width: min(70vw, 320px);
  scroll-snap-align: start;
}

/* ============================================================
   12. EDITORIAL SECTION
   ============================================================ */
.editorial-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.editorial-image {
  overflow: hidden;
  aspect-ratio: 4/5;
}
.editorial-image img,
.editorial-image svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.editorial-overtitle {
  font-size: var(--fs-xs);
  font-weight: var(--fw-medium);
  letter-spacing: var(--ls-widest);
  text-transform: uppercase;
  color: var(--c-gray-500);
  margin-bottom: var(--space-sm);
}
.editorial-title {
  font-size: var(--fs-2xl);
  font-weight: var(--fw-light);
  margin-bottom: var(--space-md);
}
.editorial-content .editorial-text {
  font-size: var(--fs-md);
  color: var(--c-gray-700);
  max-width: 480px;
  margin-bottom: var(--space-md);
  line-height: var(--lh-body);
}

/* ============================================================
   13. TRUST STRIP
   ============================================================ */
.trust-strip {
  border-top: 1px solid var(--c-gray-100);
  border-bottom: 1px solid var(--c-gray-100);
  padding: var(--space-lg) 0;
}
.trust-items {
  display: flex;
  justify-content: center;
  gap: var(--space-xl);
  flex-wrap: wrap;
}
.trust-item {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.trust-item strong {
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
}
.trust-item span {
  font-size: var(--fs-xs);
  color: var(--c-gray-500);
}

/* ============================================================
   14. BLOG GRID & CARDS
   ============================================================ */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}
.blog-grid--masonry {
  grid-template-columns: repeat(3, 1fr);
}

.blog-card {
  display: block;
  text-decoration: none;
  color: inherit;
}
.blog-card-image {
  overflow: hidden;
  aspect-ratio: 3/2;
  margin-bottom: var(--space-sm);
  background: var(--c-gray-100);
}
.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.blog-card:hover .blog-card-image img {
  transform: scale(1.04);
}
.blog-card-content time {
  font-size: var(--fs-xs);
  color: var(--c-gray-500);
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  display: block;
  margin-bottom: 6px;
}
.blog-card-content h2,
.blog-card-content h3 {
  font-size: var(--fs-lg);
  font-weight: var(--fw-light);
  line-height: var(--lh-snug);
  margin-bottom: 6px;
}
.blog-card-content p {
  font-size: var(--fs-sm);
  color: var(--c-gray-500);
  line-height: var(--lh-body);
}

/* ============================================================
   14a. GALLERY / LOOKBOOK
   ============================================================ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-sm);
}
.gallery-item {
  position: relative;
  display: block;
  aspect-ratio: 1/1;
  overflow: hidden;
  background: var(--c-gray-100);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease-out);
}
.gallery-item:hover img {
  transform: scale(1.06);
}
.gallery-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: var(--space-sm);
  font-size: var(--fs-xs);
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  color: var(--c-white);
  background: linear-gradient(to top, rgba(0,0,0,.6) 0%, transparent 100%);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .3s ease, transform .3s ease;
}
.gallery-item:hover .gallery-caption {
  opacity: 1;
  transform: translateY(0);
}
.gallery-item--static {
  cursor: default;
}

/* ============================================================
   14b. BLOG INDEX / SINGLE — layout, sidebar, TL;DR, author box
   ============================================================ */
.blog-index-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: var(--space-xl);
  align-items: start;
}
.blog-index-main .blog-grid {
  grid-template-columns: repeat(2, 1fr);
}

.blog-sidebar {
  position: sticky;
  top: calc(var(--header-h) + var(--space-lg));
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}
.widget-title {
  font-size: var(--fs-xs);
  font-weight: var(--fw-medium);
  letter-spacing: var(--ls-widest);
  text-transform: uppercase;
  color: var(--c-gray-500);
  margin-bottom: var(--space-sm);
}
.widget ul { display: flex; flex-direction: column; gap: var(--space-sm); }
.widget-recent-posts a {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.widget-post-title {
  font-size: var(--fs-sm);
  line-height: var(--lh-snug);
}
.widget-recent-posts time {
  font-size: var(--fs-xs);
  color: var(--c-gray-500);
}
.widget-shop-categories a {
  font-size: var(--fs-sm);
  color: var(--c-gray-700);
}
.widget-shop-categories a:hover { color: var(--c-black); }
.widget-newsletter {
  background: var(--c-cream);
  padding: var(--space-md);
}
.widget-newsletter p:not(.widget-title) {
  font-size: var(--fs-sm);
  color: var(--c-gray-700);
  margin-bottom: var(--space-sm);
}
.btn--small {
  padding: 10px 20px;
  font-size: var(--fs-sm);
}

.post-tldr {
  background: var(--c-cream);
  border-left: 3px solid var(--c-accent);
  padding: var(--space-md);
  margin-bottom: var(--space-lg);
}
.post-tldr-label {
  font-size: var(--fs-xs);
  font-weight: var(--fw-medium);
  letter-spacing: var(--ls-widest);
  text-transform: uppercase;
  color: var(--c-accent-dark);
  margin-bottom: 6px;
}
.post-tldr p:last-child {
  font-size: var(--fs-md);
  line-height: var(--lh-body);
  margin: 0;
}

.post-faq { margin: var(--space-2xl) 0; }
.post-cta {
  background: var(--c-black);
  color: var(--c-white);
  text-align: center;
  padding: var(--space-xl) var(--space-lg);
  margin: var(--space-2xl) 0;
}
.post-cta h2 { font-size: var(--fs-xl); margin-bottom: var(--space-sm); }
.post-cta p { opacity: .75; margin-bottom: var(--space-md); }
.post-cta .btn--primary {
  background: var(--c-white);
  color: var(--c-black);
  border-color: var(--c-white);
}

.post-author-box {
  display: flex;
  gap: var(--space-md);
  align-items: flex-start;
  padding: var(--space-lg);
  background: var(--c-cream);
  margin-bottom: var(--space-2xl);
}
.post-author-avatar {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--c-black);
  display: flex;
  align-items: center;
  justify-content: center;
}
.post-author-avatar .logo-wordmark {
  color: var(--c-white);
  font-size: 0.7rem;
  letter-spacing: 0.02em;
}
.post-author-name {
  font-weight: var(--fw-medium);
  margin-bottom: 4px;
}
.post-author-bio {
  font-size: var(--fs-sm);
  color: var(--c-gray-700);
  line-height: var(--lh-body);
}

.related-posts { margin-top: var(--space-2xl); }

/* ============================================================
   15. CTA SECTION
   ============================================================ */
.cta-section {
  background: var(--c-cream);
  text-align: center;
}
.cta-section--compact {
  padding: var(--space-xl) 0;
}
.cta-section--compact .cta-inner h2 {
  font-size: var(--fs-xl);
}
.cta-inner {
  max-width: 600px;
  margin: 0 auto;
}
.cta-inner h2 {
  font-size: var(--fs-2xl);
  font-weight: var(--fw-light);
  margin-bottom: var(--space-sm);
}
.cta-inner p {
  font-size: var(--fs-md);
  color: var(--c-gray-700);
  margin-bottom: var(--space-lg);
}

/* ============================================================
   16. VALUES GRID (o-nas)
   ============================================================ */
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
}
.value-item h3 {
  font-size: var(--fs-md);
  font-weight: var(--fw-medium);
  margin-bottom: var(--space-xs);
}
.value-item p {
  font-size: var(--fs-sm);
  color: var(--c-gray-700);
  line-height: var(--lh-body);
}

/* ============================================================
   17. PAGE HERO
   ============================================================ */
.page-hero {
  padding: var(--space-xl) 0 var(--space-lg);
  text-align: center;
}
.page-hero--compact {
  padding: var(--space-lg) 0 var(--space-md);
}
.page-hero h1 {
  font-size: var(--fs-3xl);
  font-weight: var(--fw-light);
}
.page-hero-subtitle {
  font-size: var(--fs-md);
  color: var(--c-gray-700);
  max-width: 560px;
  margin: var(--space-sm) auto 0;
}

/* ============================================================
   18. BREADCRUMBS
   ============================================================ */
.breadcrumbs {
  margin-bottom: var(--space-md);
}
.breadcrumbs-list {
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
  justify-content: center;
}
.breadcrumb-item a {
  font-size: var(--fs-xs);
  color: var(--c-gray-500);
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  transition: color var(--transition-fast);
}
.breadcrumb-item a:hover { color: var(--c-black); }
.breadcrumb-separator {
  font-size: var(--fs-xs);
  color: var(--c-gray-300);
  margin: 0 8px;
}
.breadcrumb-current {
  font-size: var(--fs-xs);
  color: var(--c-black);
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  font-weight: var(--fw-medium);
}

/* ============================================================
   19. CONTACT PAGE
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: var(--space-xl);
  padding: var(--space-lg) 0;
}
.contact-info h2 {
  font-size: var(--fs-lg);
  font-weight: var(--fw-medium);
  margin-bottom: var(--space-md);
}
.contact-block {
  margin-bottom: var(--space-lg);
}
.contact-block p {
  font-size: var(--fs-base);
  color: var(--c-gray-700);
  line-height: var(--lh-body);
}
.contact-block strong {
  font-weight: var(--fw-medium);
  color: var(--c-black);
}
.contact-block a {
  text-decoration: underline;
}

.contact-form-wrap h2 {
  font-size: var(--fs-lg);
  font-weight: var(--fw-medium);
  margin-bottom: var(--space-md);
}

/* ============================================================
   20. FORMS
   ============================================================ */
.form-group { margin-bottom: var(--space-md); }
.form-group label {
  display: block;
  font-size: var(--fs-xs);
  font-weight: var(--fw-medium);
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  color: var(--c-gray-500);
  margin-bottom: 6px;
}
.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  font: inherit;
  font-size: var(--fs-sm);
  border: 1px solid var(--c-gray-300);
  background: var(--c-white);
  transition: border-color var(--transition-fast);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--c-black);
}
.form-group textarea { min-height: 140px; resize: vertical; }
.form-group select { cursor: pointer; appearance: auto; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}
.form-optional {
  font-weight: var(--fw-light);
  text-transform: none;
  letter-spacing: 0;
  color: var(--c-gray-300);
}
.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.form-consent label {
  font-size: var(--fs-sm);
  color: var(--c-gray-700);
  text-transform: none;
  letter-spacing: 0;
  font-weight: var(--fw-light);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
}
.form-consent input[type="checkbox"] {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--c-black);
}
.form-consent a { text-decoration: underline; }

.contact-form .btn { margin-top: var(--space-sm); }

/* ============================================================
   21. FAQ / ACCORDION
   ============================================================ */
.faq-list { max-width: var(--container-sm); margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--c-gray-100);
}
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  text-align: left;
  padding: var(--space-md) 0;
  font-size: var(--fs-md);
  font-weight: var(--fw-regular);
  line-height: var(--lh-snug);
  cursor: pointer;
  background: none;
  border: none;
}
.faq-icon {
  font-size: var(--fs-lg);
  font-weight: var(--fw-light);
  flex-shrink: 0;
  margin-left: var(--space-md);
  transition: transform var(--transition-fast);
}
.faq-item.active .faq-icon {
  transform: rotate(45deg);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition);
}
.faq-answer p {
  padding-bottom: var(--space-md);
  font-size: var(--fs-base);
  color: var(--c-gray-700);
  line-height: var(--lh-body);
}

/* ============================================================
   22. SINGLE PRODUCT PAGE
   ============================================================ */
.product-single-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  padding: var(--space-lg) 0;
}
.product-single-gallery {}
.product-main-image {
  aspect-ratio: 1/1;
  overflow: hidden;
  background: var(--c-cream);
}
.product-main-image img,
.product-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.product-gallery-thumbs {
  display: flex;
  gap: var(--space-xs);
  margin-top: var(--space-sm);
}
.product-gallery-thumb {
  width: 72px;
  height: 72px;
  overflow: hidden;
  background: var(--c-cream);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: border-color var(--transition-fast);
}
.product-gallery-thumb:hover { border-color: var(--c-black); }
.product-gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }

.product-category-label {
  font-size: var(--fs-xs);
  letter-spacing: var(--ls-widest);
  text-transform: uppercase;
  color: var(--c-gray-500);
  margin-bottom: var(--space-xs);
}
.product-title {
  font-size: var(--fs-2xl);
  font-weight: var(--fw-light);
  margin-bottom: var(--space-sm);
}
.product-price {
  font-size: var(--fs-xl);
  font-weight: var(--fw-light);
  margin-bottom: var(--space-lg);
}
.product-short-desc {
  font-size: var(--fs-base);
  color: var(--c-gray-700);
  line-height: var(--lh-body);
  margin-bottom: var(--space-lg);
  max-width: 480px;
}
.product-short-desc p { margin-bottom: var(--space-sm); }

.product-details {
  border-top: 1px solid var(--c-gray-100);
  padding-top: var(--space-lg);
  margin-top: var(--space-lg);
}
.product-details h3 {
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  letter-spacing: var(--ls-widest);
  text-transform: uppercase;
  color: var(--c-gray-500);
  margin-bottom: var(--space-md);
}
.product-details-table {
  width: 100%;
  border-collapse: collapse;
}
.product-details-table tr {
  border-bottom: 1px solid var(--c-gray-100);
}
.product-details-table td {
  padding: var(--space-xs) 0;
  font-size: var(--fs-sm);
}
.product-details-table td:first-child {
  color: var(--c-gray-500);
  width: 120px;
}

.product-attributes {
  margin-top: var(--space-md);
}
.product-attribute {
  font-size: var(--fs-sm);
  margin-bottom: var(--space-xs);
}
.product-attribute strong {
  color: var(--c-gray-500);
  font-weight: var(--fw-medium);
}

.product-description-section {
  border-top: 1px solid var(--c-gray-100);
}
.product-full-description {
  max-width: var(--container-sm);
  margin: 0 auto;
}
.product-full-description p { margin-bottom: var(--space-md); color: var(--c-gray-700); line-height: var(--lh-body); }
.product-full-description h2 { font-size: var(--fs-xl); font-weight: var(--fw-regular); margin: var(--space-xl) 0 var(--space-sm); }
.product-full-description img { margin: var(--space-lg) 0; }

.related-products-section {
  border-top: 1px solid var(--c-gray-100);
}

/* ============================================================
   23. SHOP ARCHIVE
   ============================================================ */
.woo-main {}
.shop-section {}
.shop-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-lg);
  font-size: var(--fs-sm);
  color: var(--c-gray-500);
}
.shop-toolbar .woocommerce-ordering select {
  padding: 8px 12px;
  border: 1px solid var(--c-gray-300);
  font: inherit;
  font-size: var(--fs-sm);
}

/* WooCommerce product grid override */
.woocommerce ul.products {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  list-style: none;
  padding: 0;
  margin: 0;
}
.woocommerce ul.products li.product {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* ============================================================
   24. SINGLE POST
   ============================================================ */
.single-post {}
.post-article {}
.post-header {
  text-align: center;
  padding: var(--space-xl) 0 var(--space-md);
}
.post-date {
  font-size: var(--fs-xs);
  color: var(--c-gray-500);
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  display: block;
  margin-bottom: var(--space-sm);
}
.post-title {
  font-size: var(--fs-3xl);
  font-weight: var(--fw-light);
  margin-bottom: var(--space-md);
}
.post-excerpt {
  font-size: var(--fs-md);
  color: var(--c-gray-700);
  max-width: 600px;
  margin: 0 auto;
}

.post-hero-image {
  aspect-ratio: 21/9;
  overflow: hidden;
  max-width: var(--container);
  margin: 0 auto var(--space-xl);
}
.post-hero-image img { width: 100%; height: 100%; object-fit: cover; }

.post-content {
  padding: 0 var(--gutter) var(--space-xl);
}
.post-content h2 { font-size: var(--fs-xl); font-weight: var(--fw-regular); margin: var(--space-xl) 0 var(--space-sm); }
.post-content h3 { font-size: var(--fs-lg); font-weight: var(--fw-regular); margin: var(--space-lg) 0 var(--space-sm); }
.post-content p { margin-bottom: var(--space-md); color: var(--c-gray-700); line-height: var(--lh-body); }
.post-content ul, .post-content ol { margin: 0 0 var(--space-md) var(--space-md); color: var(--c-gray-700); }
.post-content li { margin-bottom: var(--space-xs); list-style: disc; }
.post-content ol li { list-style: decimal; }
.post-content img { margin: var(--space-lg) 0; }
.post-content a { text-decoration: underline; }
.post-content blockquote {
  border-left: 2px solid var(--c-black);
  padding-left: var(--space-md);
  margin: var(--space-lg) 0;
  font-size: var(--fs-md);
  font-style: italic;
  color: var(--c-gray-700);
}

.post-footer {
  padding: var(--space-lg) var(--gutter) 0;
  border-top: 1px solid var(--c-gray-100);
}
.post-tags {
  display: flex;
  gap: var(--space-xs);
  flex-wrap: wrap;
}
.post-tag {
  font-size: var(--fs-xs);
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  padding: 6px 14px;
  border: 1px solid var(--c-gray-300);
  transition: all var(--transition-fast);
}
.post-tag:hover {
  border-color: var(--c-black);
  background: var(--c-black);
  color: var(--c-white);
}

.related-posts {
  border-top: 1px solid var(--c-gray-100);
}

/* ============================================================
   25. LEGAL PAGES
   ============================================================ */
.legal-content h2 { font-size: var(--fs-xl); font-weight: var(--fw-regular); margin: var(--space-xl) 0 var(--space-sm); }
.legal-content h3 { font-size: var(--fs-lg); font-weight: var(--fw-regular); margin: var(--space-lg) 0 var(--space-sm); }
.legal-content p  { margin-bottom: var(--space-md); color: var(--c-gray-700); line-height: var(--lh-body); }
.legal-content ul, .legal-content ol { margin: 0 0 var(--space-md) var(--space-md); }
.legal-content li { margin-bottom: var(--space-xs); list-style: disc; color: var(--c-gray-700); line-height: var(--lh-body); }
.legal-content ol li { list-style: decimal; }
.legal-content a { text-decoration: underline; }
.legal-content strong { font-weight: var(--fw-medium); color: var(--c-black); }
.legal-content hr {
  border: none;
  border-top: 1px solid var(--c-gray-100);
  margin: var(--space-xl) 0;
}
.legal-content table { width: 100%; border-collapse: collapse; margin: var(--space-md) 0; }
.legal-content th, .legal-content td {
  text-align: left;
  padding: var(--space-xs) var(--space-sm);
  border-bottom: 1px solid var(--c-gray-100);
  font-size: var(--fs-sm);
}
.legal-updated {
  margin-top: var(--space-xl);
  font-size: var(--fs-xs);
  color: var(--c-gray-500);
  font-style: italic;
}

/* ============================================================
   26. FOOTER
   ============================================================ */
.site-footer {
  background: var(--c-black);
  color: var(--c-white);
  padding: var(--space-3xl) 0 var(--space-lg);
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: var(--space-xl);
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.footer-logo {
  display: inline-block;
  margin-bottom: var(--space-sm);
}
.footer-logo .logo-wordmark {
  color: var(--c-white);
  font-size: 1.75rem;
}
.footer-logo .logo-tagline {
  color: rgba(255,255,255,.45);
}
.footer-tagline {
  font-size: var(--fs-sm);
  color: rgba(255,255,255,.5);
  max-width: 280px;
  line-height: var(--lh-body);
}

.footer-nav-title {
  font-size: var(--fs-xs);
  font-weight: var(--fw-medium);
  letter-spacing: var(--ls-widest);
  text-transform: uppercase;
  color: rgba(255,255,255,.4);
  margin-bottom: var(--space-md);
}
.footer-nav a,
.footer-categories a,
.footer-info a,
.footer-contact a {
  display: block;
  font-size: var(--fs-sm);
  color: rgba(255,255,255,.65);
  margin-bottom: var(--space-xs);
  transition: color var(--transition-fast);
}
.footer-nav a:hover,
.footer-categories a:hover,
.footer-info a:hover,
.footer-contact a:hover {
  color: var(--c-white);
}

.footer-company {
  margin-top: var(--space-md);
  font-size: var(--fs-xs);
  color: rgba(255,255,255,.35);
  line-height: var(--lh-body);
}

.footer-bottom {
  max-width: var(--container);
  margin: var(--space-xl) auto 0;
  padding: var(--space-lg) var(--gutter) 0;
  border-top: 1px solid rgba(255,255,255,.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-sm);
}
.footer-bottom p {
  font-size: var(--fs-xs);
  color: rgba(255,255,255,.35);
}
.footer-legal-links {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}
.footer-legal-links a {
  font-size: var(--fs-xs);
  color: rgba(255,255,255,.35);
  transition: color var(--transition-fast);
  margin-bottom: 0;
}
.footer-legal-links a:hover { color: rgba(255,255,255,.65); }
.footer-legal-links span { color: rgba(255,255,255,.2); }

/* ============================================================
   27. COOKIE BANNER
   ============================================================ */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: var(--c-white);
  border-top: 1px solid var(--c-gray-100);
  box-shadow: 0 -4px 24px rgba(0,0,0,.08);
  display: none;
  padding: var(--space-md) 0;
}
.cookie-banner-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-lg);
}
.cookie-banner-text { flex: 1; }
.cookie-banner-text strong { font-weight: var(--fw-medium); font-size: var(--fs-sm); }
.cookie-banner-text p {
  font-size: var(--fs-xs);
  color: var(--c-gray-500);
  margin-top: 4px;
}
.cookie-banner-text a { text-decoration: underline; }
.cookie-banner-actions {
  display: flex;
  gap: var(--space-xs);
  flex-shrink: 0;
}
.cookie-btn {
  padding: 10px 20px;
  font-size: var(--fs-xs);
  font-weight: var(--fw-medium);
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  border: 1px solid var(--c-black);
  transition: all var(--transition-fast);
  cursor: pointer;
}
.cookie-btn--accept {
  background: var(--c-black);
  color: var(--c-white);
}
.cookie-btn--accept:hover { background: var(--c-gray-900); }
.cookie-btn--reject {
  background: transparent;
  color: var(--c-black);
}
.cookie-btn--reject:hover { background: var(--c-gray-100); }

/* ============================================================
   28. PAGINATION
   ============================================================ */
.pagination {
  margin-top: var(--space-xl);
  text-align: center;
}
.pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 8px;
  font-size: var(--fs-sm);
  border: 1px solid var(--c-gray-300);
  margin: 0 4px;
  transition: all var(--transition-fast);
}
.pagination .page-numbers.current,
.pagination .page-numbers:hover {
  background: var(--c-black);
  color: var(--c-white);
  border-color: var(--c-black);
}

/* ============================================================
   29. WOOCOMMERCE OVERRIDES
   ============================================================ */
.woocommerce .quantity .qty {
  width: 60px;
  padding: 8px;
  text-align: center;
  border: 1px solid var(--c-gray-300);
  font: inherit;
}
.woocommerce .button,
.woocommerce button.button,
.woocommerce a.button {
  background: var(--c-black) !important;
  color: var(--c-white) !important;
  border-radius: 0 !important;
  font-weight: var(--fw-medium) !important;
  letter-spacing: var(--ls-wide) !important;
  text-transform: uppercase !important;
  font-size: var(--fs-sm) !important;
  padding: 14px 36px !important;
  transition: all var(--transition) !important;
}
.woocommerce .button:hover,
.woocommerce button.button:hover,
.woocommerce a.button:hover {
  background: var(--c-gray-900) !important;
}
.woocommerce .woocommerce-message,
.woocommerce .woocommerce-info {
  border-top-color: var(--c-black);
}
.woocommerce .star-rating { color: var(--c-accent); }

/* ============================================================
   30. ANIMATIONS
   ============================================================ */
/* Hidden-until-revealed state only applies when JS actually runs
   (html.js is added by an inline script in <head>) — no-JS visitors
   and crawlers always see full content, never opacity:0. */
html.js .reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
}
html.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   31. RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  :root {
    --fs-hero: 3rem;
    --fs-3xl:  2.5rem;
    --fs-2xl:  2rem;
    --space-3xl: 100px;
  }
  .collections-grid,
  .collections-grid--full { grid-template-columns: repeat(2, 1fr); }
  .woocommerce ul.products { grid-template-columns: repeat(3, 1fr); }
  .product-single-grid { grid-template-columns: 1fr; gap: var(--space-lg); }
  .editorial-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: var(--space-lg); }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  :root {
    --fs-hero: 2.25rem;
    --fs-3xl:  2rem;
    --fs-2xl:  1.75rem;
    --fs-xl:   1.5rem;
    --header-h: 64px;
    --space-3xl: 72px;
    --space-2xl: 56px;
    --gutter:    16px;
  }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .logo-wordmark { font-size: 1.8rem; }

  /* Header */
  .nav-desktop { display: none; }
  .nav-toggle { display: flex; }

  /* Hero */
  .hero { min-height: 85vh; min-height: 85dvh; padding: var(--space-2xl) 0; }

  /* Grids */
  .collections-grid,
  .collections-grid--full { grid-template-columns: 1fr; }
  .woocommerce ul.products { grid-template-columns: repeat(2, 1fr); }
  .blog-grid,
  .blog-grid--masonry { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }

  /* Trust strip */
  .trust-items { gap: var(--space-md); justify-content: flex-start; }

  /* Footer bottom */
  .footer-bottom { flex-direction: column; align-items: flex-start; }

  /* Cookie banner */
  .cookie-banner-inner { flex-direction: column; text-align: center; }
  .cookie-banner-actions { width: 100%; flex-direction: column; }
  .cookie-btn { width: 100%; justify-content: center; }

  /* Post */
  .post-hero-image { aspect-ratio: 16/9; }
}

@media (max-width: 480px) {
  :root {
    --fs-hero: 1.875rem;
    --fs-3xl:  1.625rem;
  }
  .woocommerce ul.products { grid-template-columns: 1fr 1fr; gap: var(--space-sm); }
  .product-card-name { font-size: var(--fs-sm); }
  .values-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   32. UTILITY
   ============================================================ */
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
}
.text-center { text-align: center; }
.text-muted { color: var(--c-gray-500); }
.mt-sm  { margin-top: var(--space-sm); }
.mt-md  { margin-top: var(--space-md); }
.mt-lg  { margin-top: var(--space-lg); }
.mb-sm  { margin-bottom: var(--space-sm); }
.mb-md  { margin-bottom: var(--space-md); }
.mb-lg  { margin-bottom: var(--space-lg); }

/* Page content (fallback page.php) */
.page-content h2,
.qa-section h2,
.category-content h2 { font-size: var(--fs-xl); font-weight: var(--fw-regular); margin: var(--space-xl) 0 var(--space-sm); }
.page-content h3 { font-size: var(--fs-lg); font-weight: var(--fw-regular); margin: var(--space-lg) 0 var(--space-sm); }
.page-content p,
.qa-section p,
.category-content p { margin-bottom: var(--space-md); color: var(--c-gray-700); line-height: var(--lh-body); }
.page-content ul { margin: 0 0 var(--space-md) var(--space-md); }
.page-content li { margin-bottom: var(--space-xs); list-style: disc; color: var(--c-gray-700); }
.page-content a,
.qa-section a,
.category-content a { text-decoration: underline; }
.category-related-links {
  font-size: var(--fs-sm);
  color: var(--c-gray-500);
  margin-top: var(--space-lg);
  padding-top: var(--space-md);
  border-top: 1px solid var(--c-gray-100);
}
.category-related-links a { color: var(--c-black); }
