/* ==========================================================================
   Uniroo Kids — Theme Stylesheet
   Theme by The Free Website Guys.
   ========================================================================== */

:root {
  --color-background: #f2f9fd;
  --color-foreground: #1c2b3f;
  --color-primary: #37ace6;
  --color-primary-fg: #fbfcfd;
  --color-secondary: #fdd2ce;
  --color-muted-fg: #58687e;
  --color-border: #cbe1eb;
  --color-butter: #fdf1ce;
  --color-rosa: #ea5371;
  --color-marigold: #fbbb4b;
  --color-teal: #39c6c1;
  --color-indigo: #5a6fd8;
  --color-nopal: #4abf85;
  --color-button-text: var(--color-primary-fg);

  --font-display: 'Abril Fatface', 'Halant', serif;
  --font-body: 'Cabin', 'Fira Sans', sans-serif;

  --radius: 1rem;
  --card-radius: 1.75rem;
  --shadow-soft: 0 6px 22px -8px rgba(28, 60, 80, 0.18);
  --shadow-elevated: 0 14px 44px -10px rgba(120, 30, 60, 0.22);
  --ease-smooth: cubic-bezier(0.25, 0.4, 0.25, 1);

  --header-height: 80px;
  --logo-height: 56px;

  --btn-radius: 999px;
  --btn-height: 52px;
  --btn-padding: 0 2.25rem;
  --btn-font-size: 11px;
  --btn-font-weight: 500;
  --btn-letter-spacing: 0.28em;
  --btn-text-transform: uppercase;
}

/* ==========================================================================
   RESET / BASE
   ========================================================================== */
* { box-sizing: border-box; }
html, body { max-width: 100%; overflow-x: clip; }
body {
  margin: 0;
  background: var(--color-background);
  color: var(--color-foreground);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
  padding-top: var(--site-offset-top, 80px);
}
body.has-announcement {
  padding-top: calc(var(--site-offset-top, 80px) + var(--announcement-height, 36px));
}
img, video { max-width: 100%; display: block; }
img:not(.cover-img):not(.hero-bg-img):not(.theme-product-card-img):not(.gallery-cover-img):not(.theme-fill-img):not(.cart-drawer-img):not(.theme-product-gallery-img) {
  max-width: 100%;
  height: auto;
}
.cover-img, .hero-bg-img, .theme-product-card-img, .gallery-cover-img, .theme-fill-img, .theme-product-gallery-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.cart-drawer-img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; background: none; border: none; }
ul { margin: 0; padding: 0; list-style: none; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: inherit;
  font-size: inherit;
  letter-spacing: -0.015em;
  margin: 0;
  line-height: 1.1;
}
p { margin: 0; }

.container-wide {
  width: 100%;
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}
@media (min-width: 1024px) { .container-wide { padding: 0 2rem; } }

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

.scroll-mt { scroll-margin-top: 6rem; }

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

/* ==========================================================================
   ANIMATIONS (Section 2.1)
   ========================================================================== */
@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%); } }
@keyframes theme-fade-up { from { opacity: 0; transform: translateY(32px); } to { opacity: 1; transform: translateY(0); } }
@keyframes theme-fade-in-only { from { opacity: 0; } to { opacity: 1; } }
@keyframes theme-spin { to { transform: rotate(360deg); } }

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

/* Scroll reveal — staggered fade-up, matches framer-motion fadeUp variant. */
.reveal-item {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s var(--ease-smooth), transform 0.7s var(--ease-smooth);
}
.reveal-item.is-visible { opacity: 1; transform: translateY(0); }
.reveal-item.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-item.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-item.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-item.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-item.reveal-fade-only { transform: none; }

/* Customizer-preview fallback (Section 2.1.5) — never hide content in the editor. */
body.is-customizer .reveal-item,
body.is-customizer .scale-in-item {
  opacity: 1 !important;
  transform: none !important;
}

@media (prefers-reduced-motion: reduce) {
  .reveal-item, .animate-fade-in, .animate-slide-up { animation: none !important; transition: none !important; opacity: 1 !important; transform: none !important; }
  .animate-marquee { animation-duration: 0.01ms !important; }
}

/* ==========================================================================
   HEADER
   ========================================================================== */
.section-heading {
  font-family: var(--font-display);
  font-weight: inherit;
  font-size: 1.875rem;
  line-height: 1.25;
}
@media (min-width: 768px) {
  .collection-section .section-heading { font-size: 2.25rem; }
}

/* Fixed header offset — updated by JS for announcement bar */
.announcement-bar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 51;
  background: var(--color-butter);
}
.site-header {
  position: fixed; top: var(--announcement-height, 0px); left: 0; right: 0; z-index: 50;
  width: 100%;
  background: rgba(242, 249, 253, 0);
  border-bottom: 1px solid transparent;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}
.site-header.is-solid,
.site-header.is-scrolled,
.site-header.menu-open {
  background: rgba(242, 249, 253, 0.95);
  backdrop-filter: blur(6px);
  border-bottom-color: var(--color-border);
}
.site-header .nav-wrap { display: flex; align-items: center; justify-content: space-between; height: 80px; position: relative; }

.site-logo-link { display: flex; align-items: center; gap: 0.5rem; min-width: 0; }
@media (min-width: 768px) { .site-logo-link { gap: 0.75rem; } }
.site-logo-img {
  height: calc(var(--logo-height) * 0.857) !important;
  width: auto !important;
  display: block;
  border-radius: 50%;
  object-fit: contain;
}
@media (min-width: 768px) {
  .site-logo-img { height: var(--logo-height) !important; }
}
.site-logo-text { font-family: var(--font-display); font-size: 1.125rem; font-weight: 600; letter-spacing: -0.025em; }
@media (min-width: 768px) { .site-logo-text { font-size: 1.25rem; } }
.site-logo-text em, .site-logo-text .accent { font-style: italic; font-weight: 300; color: var(--color-primary); }
.site-brand-text-group { display: none; flex-direction: column; line-height: 1; min-width: 0; }
@media (min-width: 640px) { .site-brand-text-group { display: flex; } }
.site-brand-sub { font-size: 10px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--color-muted-fg); margin-top: 0.25rem; }
.site-footer .site-brand-sub { letter-spacing: 0.32em; }

.primary-nav { display: none; }
@media (min-width: 1024px) {
  .primary-nav {
    display: flex; align-items: center; gap: 2rem;
    position: absolute; left: 50%; transform: translateX(-50%);
  }
}
.theme-nav-list { display: flex; align-items: center; gap: 2rem; }
.theme-nav-link, .primary-nav a {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 0.3s ease;
}

.header-icons { display: flex; align-items: center; gap: 0.5rem; }
@media (min-width: 768px) { .header-icons { gap: 0.75rem; } }
.header-icon-btn {
  position: relative; padding: 0.5rem; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  transition: background-color 0.2s, opacity 0.2s;
}
.header-icon-btn:hover { background: rgba(28, 43, 63, 0.05); opacity: 0.8; }
.header-icon-btn .theme-icon { width: 20px; height: 20px; }
.header-search-btn { display: none; }
@media (min-width: 768px) { .header-search-btn { display: inline-flex; } }
.header-menu-btn { display: inline-flex; }
@media (min-width: 1024px) { .header-menu-btn { display: none; } }
.header-menu-btn .icon-menu-close { display: none; }
.header-menu-btn.is-open .icon-menu-open { display: none; }
.header-menu-btn.is-open .icon-menu-close { display: block; }

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

.mobile-nav { display: none; border-top: 1px solid var(--color-border); padding: 1rem 0; }
.mobile-nav.is-open { display: block; animation: fadeIn 0.6s var(--ease-smooth) forwards; }
.mobile-nav .theme-nav-list { flex-direction: column; align-items: flex-start; gap: 1rem; }
.mobile-nav .theme-nav-link { font-size: 14px; letter-spacing: 0.18em; padding: 0.5rem 0; }
@media (min-width: 1024px) { .mobile-nav { display: none !important; } }

/* Announcement bar inner */
.announcement-bar__inner { padding: 0.5rem 1.5rem; text-align: center; }
.announcement-bar p { font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase; }
.announcement-close {
  position: absolute; right: 0.75rem; top: 50%; transform: translateY(-50%);
  padding: 0.25rem; border-radius: 50%; opacity: 0.7;
}
.announcement-close:hover { opacity: 1; background: rgba(28,43,63,0.05); }
.announcement-close .theme-icon { width: 14px; height: 14px; }

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: var(--btn-radius);
  padding: 1.1rem 2.5rem;
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-weight: 500;
  transition: background-color 0.2s, opacity 0.2s, color 0.2s;
  border: none;
  cursor: pointer;
}
.btn-hero-primary, .btn-light { background: var(--color-background); color: var(--color-foreground); padding: 1.25rem 3rem; }
.btn-hero-primary:hover, .btn-light:hover { background: rgba(242,249,253,0.9); }
.btn-dark { background: var(--color-foreground); color: var(--color-background); }
.btn-dark:hover { opacity: 0.9; }
.btn-rosa { background: var(--color-rosa); color: var(--color-background); padding: 1rem 2.25rem; }
.btn-rosa:hover { background: color-mix(in srgb, var(--color-rosa) 90%, transparent); }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero-section { background: var(--color-background); }
.hero-media-wrap { position: relative; width: 100%; height: 90vh; min-height: 600px; overflow: hidden; }
.hero-media-wrap video, .hero-media-wrap img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-overlay { position: absolute; inset: 0; background: rgba(28, 43, 63, 0.4); }
.hero-content { position: relative; height: 100%; display: flex; align-items: center; justify-content: center; text-align: center; }
.hero-content-inner { max-width: 42rem; margin: 0 auto; display: flex; flex-direction: column; align-items: center; padding: 0 1.5rem; }
.hero-title {
  font-family: var(--font-display); font-weight: inherit;
  font-size: 3rem; line-height: 1.05; color: var(--color-background);
  margin-bottom: 1.5rem;
}
.hero-title .italic-line { display: block; font-style: italic; }
@media (min-width: 768px) { .hero-title { font-size: 3.75rem; } }
@media (min-width: 1280px) { .hero-title { font-size: 4.5rem; } }
.hero-subtitle {
  color: rgba(242,249,253,0.9); font-size: 1rem; line-height: 1.6;
  margin-bottom: 2.5rem; max-width: 28rem;
}
@media (min-width: 768px) { .hero-subtitle { font-size: 1.125rem; } }

/* Full-bleed hero under fixed header on home only (Section 22.7) */
body.theme-no-hero .site-main { padding-top: 0; }

/* ==========================================================================
   MARQUEE
   ========================================================================== */
.marquee-strip {
  background: color-mix(in srgb, var(--color-marigold) 100%, transparent);
  color: var(--color-foreground);
  border-top: 1px solid rgba(28,43,63,0.1);
  border-bottom: 1px solid rgba(28,43,63,0.1);
  overflow: hidden;
}
.marquee-track { display: flex; white-space: nowrap; padding: 1rem 0; animation: marquee 36s linear infinite; }
.marquee-group { display: flex; flex-shrink: 0; align-items: center; gap: 2.5rem; padding-right: 2.5rem; }
.marquee-phrase { display: flex; align-items: center; gap: 2.5rem; font-family: var(--font-display); font-size: 1.5rem; }
.marquee-phrase .theme-icon { width: 20px; height: 20px; color: rgba(28,43,63,0.7); }
@media (min-width: 768px) { .marquee-phrase { font-size: 1.875rem; } }

/* ==========================================================================
   SECTIONS — SHARED
   ========================================================================== */
.section-eyebrow {
  display: block; font-size: 12px; letter-spacing: 0.32em; text-transform: uppercase;
  margin-bottom: 0.75rem; font-family: var(--font-body);
}
.text-center-block { text-align: center; }

/* Featured section */
.featured-section { background: color-mix(in srgb, var(--color-rosa) 8%, transparent); }
.featured-section .container-wide { padding-top: 4rem; padding-bottom: 4rem; }
@media (min-width: 768px) { .featured-section .container-wide { padding-top: 6rem; padding-bottom: 6rem; } }
.featured-section .section-heading { font-size: 1.875rem; line-height: 1.25; }
.featured-heading-block { margin-bottom: 3.5rem; }
.featured-link-block { margin-top: 3.5rem; }
@media (min-width: 768px) { .featured-section .section-heading { font-size: 3rem; } }
.featured-eyebrow { color: var(--color-marigold); }
.featured-tile-wrap { max-width: 36rem; margin: 0 auto; }

/* Product card (shared everywhere per Section 31.13) */
.theme-product-card-wrap { display: flex; flex-direction: column; height: 100%; transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1); }
.theme-product-card-wrap:hover { transform: translateY(-4px); }
.theme-product-card { position: relative; display: block; }
.theme-product-card__image-wrapper {
  position: relative; aspect-ratio: 3/4; background: var(--color-secondary);
  overflow: hidden; margin-bottom: 1.25rem; border-radius: var(--card-radius);
}
.theme-product-card__image-wrapper img { transition: transform 0.7s var(--ease-smooth); height: 100% !important; width: 100% !important; max-height: 100% !important; object-fit: cover; }
.theme-product-card:hover .theme-product-card__image-wrapper img { transform: scale(1.04); }
.theme-product-card__image-wrapper img.is-inactive { opacity: 0.7; }
.theme-card-link { position: absolute; inset: 0; z-index: 2; pointer-events: auto; }
.theme-product-card *:not(.theme-card-link) { pointer-events: none; }
.theme-badge {
  position: absolute; top: 0.75rem; left: 0.75rem; z-index: 3;
  padding: 0.25rem 0.75rem; font-size: 12px; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase; border-radius: 999px;
}
.theme-badge--sold-out { background: var(--color-foreground); color: var(--color-background); }
.theme-badge--coming-soon { background: var(--color-primary); color: var(--color-primary-fg); }
.theme-product-card__quick-add {
  position: absolute; bottom: 0.75rem; right: 0.75rem; z-index: 3;
  width: 40px; height: 40px; display: flex; align-items: center; justify-content: center;
  border-radius: 50%; background: var(--color-background); color: var(--color-foreground);
  box-shadow: var(--shadow-soft); opacity: 0; transition: opacity 0.3s, transform 0.2s;
  pointer-events: auto;
}
@media (hover: none) { .theme-product-card__quick-add { opacity: 1; } }
.theme-product-card:hover .theme-product-card__quick-add { opacity: 1; }
.theme-product-card__quick-add:hover { transform: scale(1.08); }
.theme-product-card__quick-add .theme-icon { width: 16px; height: 16px; }
.theme-product-card__info { flex: 1; text-align: center; margin-top: 1rem; }
.theme-product-card__title {
  font-size: 0.875rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.15em;
  line-height: 1.375; margin-bottom: 0.5rem; transition: color 0.3s ease;
}
.theme-product-card:hover .theme-product-card__title { color: var(--color-primary); }
.theme-product-card__price { font-size: 1rem; }
@media (min-width: 768px) { .theme-product-card__title { font-size: 1rem; } .theme-product-card__price { font-size: 1.125rem; } }

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

/* ==========================================================================
   SHOP BY COLLECTION
   ========================================================================== */
.collection-section { background: var(--color-background); }
.collection-section .container-wide { padding-top: 4rem; padding-bottom: 5rem; }
.collection-heading-block { margin-bottom: 2.5rem; }
.collection-eyebrow { color: var(--color-teal); }
.collection-grid { display: grid; gap: 1rem; grid-template-columns: 1fr; max-width: 48rem; margin: 0 auto; }
@media (min-width: 768px) { .collection-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; } }
.collection-grid.has-three { max-width: none; }
@media (min-width: 768px) { .collection-grid.has-three { grid-template-columns: repeat(3, 1fr); } }
.collection-tile {
  position: relative; display: block; width: 100%;
  aspect-ratio: 3/4; overflow: hidden; border-radius: 2rem; box-shadow: var(--shadow-soft);
}
.collection-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease-smooth); }
.collection-tile:hover img { transform: scale(1.05); }
.collection-tile::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(28,43,63,0.85), rgba(28,43,63,0.4) 55%, rgba(28,43,63,0.1));
  transition: opacity 0.5s;
}
.collection-tile-content {
  position: absolute; inset: 0; z-index: 1; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 1.5rem; text-align: left; color: var(--color-background);
  text-shadow: 0 1px 8px rgba(0,0,0,0.45);
}
@media (min-width: 768px) { .collection-tile-content { padding: 1.75rem; } }
.collection-tagline { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase; margin-bottom: 0.5rem; filter: brightness(1.5); }
.collection-tile[data-accent="teal"] .collection-tagline { color: var(--color-teal); }
.collection-tile[data-accent="marigold"] .collection-tagline { color: var(--color-marigold); }
.collection-tile[data-accent="rosa"] .collection-tagline { color: var(--color-rosa); }
.collection-tagline .rule { width: 1.5rem; height: 1px; background: currentColor; }
.collection-label { font-size: 1.5rem; margin-bottom: 0.5rem; }
@media (min-width: 768px) { .collection-label { font-size: 1.875rem; } }
.collection-browse { display: inline-flex; align-items: center; gap: 0.375rem; font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; }
.collection-browse .theme-icon { width: 12px; height: 12px; }

/* ==========================================================================
   ABOUT SECTION
   ========================================================================== */
.about-section { background: color-mix(in srgb, var(--color-teal) 10%, transparent); }
.about-inner { max-width: 48rem; margin: 0 auto; text-align: center; padding: 3rem 1.5rem; }
@media (min-width: 768px) { .about-inner { padding: 4rem 3.5rem; } }
@media (min-width: 1024px) { .about-inner { padding-left: 5rem; padding-right: 5rem; } }
.about-eyebrow { color: var(--color-rosa); }
.about-section .section-heading { font-size: 1.875rem; line-height: 1.25; margin-bottom: 1.25rem; font-weight: 600; }
@media (min-width: 768px) { .about-section .section-heading { font-size: 2.25rem; } }
.about-inner p { font-size: 1rem; line-height: 1.7; margin-bottom: 1rem; }
@media (min-width: 768px) { .about-inner p { font-size: 1.125rem; } }
.about-inner em { font-style: italic; }
.about-link, .featured-view-link, .contact-cta-secondary {
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.about-link { letter-spacing: 0.28em; font-family: var(--font-display); font-weight: 500; }

/* ==========================================================================
   AUTHOR / SPLIT SECTIONS
   ========================================================================== */
.split-section { display: grid; grid-template-columns: 1fr; align-items: stretch; }
@media (min-width: 1024px) { .split-section { grid-template-columns: 1fr 1fr; } }
.split-media { position: relative; min-height: 380px; }
@media (min-width: 768px) { .split-media { min-height: 520px; } }
@media (min-width: 1024px) { .split-media { min-height: 620px; } }
.split-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.split-media.object-top img { object-position: top; }
.split-media.contain-butter img { object-fit: contain; background: var(--color-butter); padding: 2rem; height: 100%; }
.mia-section .mia-media.contain-butter img,
.mia-section .mia-image {
  height: 100% !important;
}
.split-content { display: flex; align-items: center; background: transparent; padding: 3rem 1.5rem; }
@media (min-width: 768px) { .split-content { padding: 4rem 3.5rem; } }
@media (min-width: 1280px) { .split-content { padding: 4rem 6rem; } }
.split-content-inner { max-width: 34rem; }
.author-section { background: color-mix(in srgb, var(--color-marigold) 12%, transparent); }
.author-eyebrow { color: var(--color-teal); margin-bottom: 1.25rem; }
.author-heading { font-size: 2.25rem; line-height: 1.15; margin-bottom: 1.75rem; }
@media (min-width: 768px) { .author-heading { font-size: 3rem; } }
@media (min-width: 1024px) { .author-heading { font-size: 3.75rem; } }
.author-quote { font-style: italic; font-size: 1.25rem; color: rgba(28,43,63,0.85); line-height: 1.375; margin-bottom: 2rem; }
@media (min-width: 768px) { .author-quote { font-size: 1.5rem; } }
.author-p { color: rgba(28,43,63,0.75); line-height: 1.7; margin-bottom: 1.25rem; }

/* ==========================================================================
   SERVICES ("Why families love Uniroo")
   ========================================================================== */
.services-section { background: var(--color-butter); }
.services-heading-block { padding: 2rem 1.5rem; text-align: center; }
@media (min-width: 768px) { .services-heading-block { padding: 2.5rem 3.5rem; } }
.services-eyebrow { color: var(--color-marigold); }
.services-heading-block h2 { font-size: 1.875rem; line-height: 1.05; }
@media (min-width: 768px) { .services-heading-block h2 { font-size: 2.25rem; } }
@media (min-width: 1024px) { .services-heading-block h2 { font-size: 3rem; } }

.service-row { display: grid; grid-template-columns: 1fr; align-items: stretch; }
@media (min-width: 1024px) { .service-row { grid-template-columns: 1fr 1fr; } }
.service-row.is-reversed .service-media { order: 2; }
.service-row.is-reversed .service-content { order: 1; }
.service-media { position: relative; min-height: 200px; overflow: hidden; }
@media (min-width: 768px) { .service-media { min-height: 260px; } }
@media (min-width: 1024px) { .service-media { min-height: 300px; } }
.service-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease-smooth); }
.service-row:hover .service-media img { transform: scale(1.03); }
.service-numeral {
  position: absolute; top: 1.25rem; left: 1.25rem;
  font-family: var(--font-display); font-size: 14px; letter-spacing: 0.3em;
  padding: 0.25rem 0.5rem; background: rgba(242,249,253,0.85); backdrop-filter: blur(4px);
}
.service-content { display: flex; align-items: center; background: var(--color-butter); padding: 1.5rem; }
@media (min-width: 768px) { .service-content { padding: 2rem 3.5rem; } }
@media (min-width: 1024px) { .service-content { padding: 2rem 5rem; } }
.service-content-inner { max-width: 34rem; }
.service-kicker-row { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1rem; }
.service-icon-circle {
  display: flex; height: 2.5rem; width: 2.5rem; align-items: center; justify-content: center;
  border-radius: 50%; border: 1px solid currentColor;
}
.service-icon-circle .theme-icon { width: 16px; height: 16px; }
.service-kicker { font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase; }
.service-title { font-size: 1.5rem; line-height: 1.05; margin-bottom: 0.75rem; }
@media (min-width: 768px) { .service-title { font-size: 1.875rem; } }
@media (min-width: 1024px) { .service-title { font-size: 2.25rem; } }
.service-desc { font-size: 1rem; color: var(--color-muted-fg); line-height: 1.7; }
@media (min-width: 768px) { .service-desc { font-size: 1.125rem; } }

.accent-rosa { color: var(--color-rosa); border-color: color-mix(in srgb, var(--color-rosa) 40%, transparent); }
.accent-marigold { color: var(--color-marigold); border-color: color-mix(in srgb, var(--color-marigold) 50%, transparent); }
.accent-teal { color: var(--color-teal); border-color: color-mix(in srgb, var(--color-teal) 40%, transparent); }

/* ==========================================================================
   COMING SOON SECTION
   ========================================================================== */
.coming-soon-section { background: var(--color-background); }
.coming-soon-inner { padding: 4rem 0 5rem; }
@media (min-width: 768px) { .coming-soon-inner { padding: 5rem 0; } }
.coming-soon-card {
  background: var(--color-secondary);
  border-radius: 1.5rem;
  box-shadow: var(--shadow-elevated);
  border: 1px solid color-mix(in srgb, var(--color-border) 60%, transparent);
  overflow: hidden;
}
.coming-soon-card__body { padding: 4rem 1.5rem; }
@media (min-width: 768px) { .coming-soon-card__body { padding: 6rem 3.5rem; } }
@media (min-width: 1024px) { .coming-soon-card__body { padding: 6rem 5rem; } }
.coming-soon-heading { max-width: 42rem; margin: 0 auto 3rem; }
.coming-soon-eyebrow { color: var(--color-primary); }
.coming-soon-title { font-size: 2.25rem; line-height: 1.05; margin-bottom: 1.5rem; }
@media (min-width: 768px) { .coming-soon-title { font-size: 3rem; } }
@media (min-width: 1024px) { .coming-soon-title { font-size: 3.75rem; } }
.coming-soon-title .italic-accent { display: block; font-style: italic; color: var(--color-primary); }
.coming-soon-desc { color: rgba(28,43,63,0.75); line-height: 1.7; }
.coming-soon-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; align-items: start;
}
@media (min-width: 768px) { .coming-soon-grid { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; } }
@media (min-width: 1024px) { .coming-soon-grid { grid-template-columns: repeat(6, 1fr); } }
.coming-soon-tile { display: block; text-align: left; }
.coming-soon-tile__image {
  position: relative; aspect-ratio: 1/1; overflow: hidden; border-radius: 1rem; background: rgba(28,43,63,0.05);
}
.coming-soon-tile__image img { transition: transform 0.6s var(--ease-smooth); }
.coming-soon-tile:hover .coming-soon-tile__image img { transform: scale(1.05); }
.coming-soon-tile__badge {
  position: absolute; top: 0.75rem; right: 0.75rem;
  background: rgba(242,249,253,0.8); backdrop-filter: blur(4px);
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--color-primary);
  padding: 0.25rem 0.5rem; border-radius: 999px;
}
.coming-soon-tile__title {
  font-family: var(--font-display); font-size: 0.875rem; line-height: 1.25;
  margin-top: 0.75rem; min-height: 2.5em;
}
@media (min-width: 768px) { .coming-soon-tile__title { font-size: 1rem; } }
.coming-soon-footer {
  margin-top: 3rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0.75rem;
}
.coming-soon-pill {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.5rem 1rem; border: 1px solid color-mix(in srgb, var(--color-primary) 40%, transparent);
  color: var(--color-primary); font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase;
}
.coming-soon-pill .rule { width: 1rem; height: 1px; background: var(--color-primary); }
.coming-soon-instagram { color: rgba(28,43,63,0.7); font-size: 0.875rem; }
.coming-soon-instagram a { text-decoration: underline; }
.coming-soon-instagram a:hover { color: var(--color-primary); }

/* ==========================================================================
   HOMEPAGE GALLERY
   ========================================================================== */
.home-gallery-section { background: color-mix(in srgb, var(--color-indigo) 8%, transparent); }
.home-gallery-wrap { padding: 5rem 0 7rem; }
@media (min-width: 768px) { .home-gallery-wrap { padding: 7rem 0; } }
.home-gallery-heading {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; margin-bottom: 2.5rem;
}
@media (min-width: 768px) { .home-gallery-heading { margin-bottom: 3.5rem; } }
.home-gallery-eyebrow { color: var(--color-marigold); margin-bottom: 0.75rem; display: block; }
.home-gallery-heading .section-heading { font-size: 1.875rem; line-height: 1.05; }
@media (min-width: 768px) { .home-gallery-heading .section-heading { font-size: 3rem; } }
@media (min-width: 1024px) { .home-gallery-heading .section-heading { font-size: 3.75rem; } }
.home-gallery-nav { display: flex; align-items: center; gap: 0.75rem; flex-shrink: 0; }
.home-gallery-nav--desktop { display: none; }
@media (min-width: 640px) { .home-gallery-nav--desktop { display: flex; } }
.home-gallery-nav-mobile { margin-top: 2rem; }
.home-gallery-nav-mobile .home-gallery-nav { justify-content: center; }
@media (min-width: 640px) { .home-gallery-nav-mobile { display: none; } }
.home-gallery-nav-btn {
  width: 3rem; height: 3rem; border-radius: 50%; border: 1px solid rgba(28,43,63,0.2);
  display: inline-flex; align-items: center; justify-content: center;
  color: rgba(28,43,63,0.7); transition: color 0.2s, border-color 0.2s;
}
.home-gallery-nav-btn:hover { color: var(--color-primary); border-color: var(--color-primary); }
.home-gallery-nav-btn .theme-icon { width: 16px; height: 16px; }
.home-gallery-track {
  display: flex; gap: 1rem; overflow-x: auto; padding: 0 1.5rem 0.5rem;
  scrollbar-width: none; -ms-overflow-style: none;
}
.home-gallery-track::-webkit-scrollbar { display: none; }
@media (min-width: 768px) { .home-gallery-track { gap: 1.5rem; padding-left: 3rem; padding-right: 3rem; } }
@media (min-width: 1024px) { .home-gallery-track { padding-left: 4rem; padding-right: 4rem; } }
.home-gallery-item {
  flex: 0 0 78%; width: 78%;
}
@media (min-width: 640px) { .home-gallery-item { flex-basis: calc((100% - 1rem) / 2); width: calc((100% - 1rem) / 2); } }
@media (min-width: 768px) { .home-gallery-item { flex-basis: calc((100% - 3rem) / 3); width: calc((100% - 3rem) / 3); } }
@media (min-width: 1024px) { .home-gallery-item { flex-basis: calc((100% - 4.5rem) / 4); width: calc((100% - 4.5rem) / 4); } }
.home-gallery-link {
  position: relative; display: block; aspect-ratio: 4/5; overflow: hidden; border-radius: 1rem;
}
.home-gallery-link img { transition: transform 0.9s var(--ease-smooth); object-position: top; }
.home-gallery-link:hover img { transform: scale(1.04); }

/* ==========================================================================
   MADE IN AUSTRALIA
   ========================================================================== */
.mia-section { background: color-mix(in srgb, var(--color-nopal) 10%, transparent); }
.mia-eyebrow { color: var(--color-rosa); }
.mia-heading { font-size: 2.25rem; line-height: 1.05; margin-bottom: 1.75rem; }
@media (min-width: 768px) { .mia-heading { font-size: 3rem; } }
@media (min-width: 1024px) { .mia-heading { font-size: 3.75rem; } }
.mia-heading .italic-accent { display: block; font-style: italic; color: var(--color-rosa); }
.mia-p1 { color: rgba(28,43,63,0.8); line-height: 1.7; margin-bottom: 1.5rem; }
.mia-p2 { color: rgba(28,43,63,0.7); line-height: 1.7; margin-bottom: 2.5rem; font-style: italic; }

/* ==========================================================================
   CONTACT CTA
   ========================================================================== */
.contact-cta-section { position: relative; background: var(--color-butter); overflow: hidden; }
.contact-cta-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.contact-cta-inner { position: relative; padding: 6rem 1.5rem; }
@media (min-width: 768px) { .contact-cta-inner { padding-top: 8rem; padding-bottom: 8rem; } }
.contact-cta-card {
  max-width: 42rem; margin: 0 auto; text-align: center;
  background: rgba(242,249,253,0.95); backdrop-filter: blur(4px);
  box-shadow: var(--shadow-elevated); border: 1px solid var(--color-border);
  border-radius: 1.5rem; padding: 3rem 2rem;
}
@media (min-width: 768px) { .contact-cta-card { padding: 4rem 3.5rem; } }
.contact-cta-eyebrow { color: var(--color-teal); font-weight: 600; }
.contact-cta-title { font-size: 1.875rem; line-height: 1.25; margin-bottom: 1.5rem; }
@media (min-width: 768px) { .contact-cta-title { font-size: 3rem; } }
@media (min-width: 1024px) { .contact-cta-title { font-size: 3.75rem; } }
.contact-cta-desc { color: rgba(28,43,63,0.8); line-height: 1.7; margin-bottom: 2.5rem; max-width: 28rem; margin-left: auto; margin-right: auto; }
.contact-cta-actions { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.25rem; }
@media (min-width: 640px) { .contact-cta-actions { flex-direction: row; } }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer { border-top: 1px solid var(--color-border); background: var(--color-butter); }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; padding: 3rem 0; }
@media (min-width: 640px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: repeat(4, 1fr); gap: 3rem; padding: 4rem 0; } }
.footer-col-brand { grid-column: span 2; }
.site-footer .site-logo-img { height: var(--logo-height) !important; width: var(--logo-height) !important; }
@media (min-width: 1024px) { .footer-col-brand { grid-column: span 1; } }
.footer-tagline { margin-top: 1.25rem; font-size: 0.875rem; color: var(--color-muted-fg); line-height: 1.6; max-width: 20rem; }
.footer-heading { font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase; font-weight: 500; margin-bottom: 1.25rem; }
.footer-nav { display: flex; flex-direction: column; gap: 0.75rem; }
.footer-nav-list,
.footer-nav .theme-nav-list,
.footer-nav ul {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.footer-nav a, .footer-link {
  display: flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; color: var(--color-muted-fg);
  transition: color 0.2s;
}
.footer-nav a:hover, .footer-link:hover { color: var(--color-foreground); }
.footer-link .theme-icon { width: 14px; height: 14px; }
.footer-bottom {
  margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--color-border);
  display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 0.75rem;
}
@media (min-width: 640px) { .footer-bottom { flex-direction: row; } }
.footer-bottom p { font-size: 12px; color: var(--color-muted-fg); letter-spacing: 0.025em; }
.footer-bottom a { text-decoration: underline; }
.footer-bottom a:hover { color: var(--color-foreground); }

/* ==========================================================================
   SIDE CART DRAWER (Section 12)
   ========================================================================== */
#theme-cart-overlay {
  position: fixed; inset: 0; z-index: 60; background: rgba(28,43,63,0.2);
  opacity: 0; pointer-events: none; transition: opacity 0.3s;
}
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: var(--color-background); z-index: 61; box-shadow: var(--shadow-elevated);
  display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform 0.35s 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); }
.cart-drawer__header h2 { font-family: var(--font-display); font-size: 1.125rem; font-weight: 700; }
.cart-drawer__close { padding: 0.25rem; }
.cart-drawer__close:hover { opacity: 0.6; }
.cart-drawer__close .theme-icon { width: 20px; height: 20px; }

.cart-drawer__empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 1.5rem; text-align: center; }
.cart-drawer__empty .theme-icon { width: 48px; height: 48px; color: var(--color-muted-fg); margin-bottom: 1rem; }
.cart-drawer__empty p { color: var(--color-muted-fg); margin-bottom: 1.5rem; }

.cart-drawer__items { flex: 1; overflow: auto; padding: 1.5rem; display: flex; flex-direction: column; gap: 1.5rem; }
.cart-drawer__item { display: flex; gap: 1rem; }
.cart-drawer__item-img { position: relative; display: block; width: 80px; height: 96px; background: var(--color-secondary); overflow: hidden; flex-shrink: 0; border-radius: 0.75rem; }
.cart-drawer__item-img img,
.cart-drawer-img {
  position: static !important;
  inset: auto !important;
  display: block;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: cover;
}
body.is-customizer .cart-drawer__item-img img,
body.is-customizer .cart-drawer-img {
  height: 100% !important;
  max-height: 96px !important;
}
.cart-drawer__item-info { flex: 1; min-width: 0; }
.cart-drawer__item-name { font-size: 0.875rem; font-weight: 500; display: block; }
.cart-drawer__item-name:hover { opacity: 0.7; }
.cart-drawer__item-variant, .cart-drawer__item-price { font-size: 0.75rem; color: var(--color-muted-fg); margin-top: 0.125rem; }
.cart-drawer__item-price { font-size: 0.875rem; }
.cart-drawer__item-controls { display: flex; align-items: center; gap: 0.75rem; margin-top: 0.75rem; }
.cart-drawer__qty-btn { padding: 0.25rem; border-radius: 0.25rem; }
.cart-drawer__qty-btn:hover { background: var(--color-secondary); }
.cart-drawer__qty-btn .theme-icon { width: 12px; height: 12px; }
.cart-drawer__qty-value { font-size: 0.875rem; width: 1.5rem; text-align: center; }
.cart-drawer__remove { margin-left: auto; font-size: 0.875rem; color: var(--color-muted-fg); }
.cart-drawer__remove:hover { color: var(--color-foreground); }

.cart-drawer__footer { padding: 1.5rem; border-top: 1px solid var(--color-border); display: flex; flex-direction: column; gap: 1rem; }
.cart-drawer__subtotal-row { display: flex; justify-content: space-between; font-size: 0.875rem; }
.cart-drawer__subtotal-row .label { color: var(--color-muted-fg); }
.cart-drawer__subtotal-row .value { font-weight: 500; }
.cart-drawer__shipping-note { font-size: 0.875rem; color: var(--color-muted-fg); }
.cart-drawer__checkout-btn, .cart-drawer__continue-btn, .cart-drawer__empty-btn {
  width: 100%; text-align: center; padding: 0.75rem 1.5rem; border-radius: 999px;
  font-family: var(--font-display); font-size: 0.9rem; font-weight: 500;
}
.cart-drawer__checkout-btn { background: var(--color-primary); color: var(--color-primary-fg); }
.cart-drawer__checkout-btn:hover { opacity: 0.9; }
.cart-drawer__continue-btn, .cart-drawer__empty-btn { border: 1px solid var(--color-border); background: transparent; color: var(--color-foreground); }
.cart-drawer__continue-btn:hover, .cart-drawer__empty-btn:hover { background: var(--color-secondary); }
.cart-drawer__empty-btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; font-size: 0.85rem; }
.cart-drawer__empty-btn .theme-icon { width: 16px; height: 16px; }

/* ==========================================================================
   CONTACT MODAL
   ========================================================================== */
#theme-contact-modal-overlay {
  position: fixed; inset: 0; z-index: 70; background: rgba(28,43,63,0.4);
  opacity: 0; pointer-events: none; transition: opacity 0.3s;
}
#theme-contact-modal-overlay.is-open { opacity: 1; pointer-events: auto; }
.theme-modal {
  position: fixed; top: 50%; left: 50%; z-index: 71; width: 92%; max-width: 32rem; max-height: 90vh;
  overflow-y: auto; background: var(--color-background); border-radius: 1.25rem; box-shadow: var(--shadow-elevated);
  padding: 1.75rem; transform: translate(-50%, -48%) scale(0.96); opacity: 0; pointer-events: none;
  transition: transform 0.25s var(--ease-smooth), opacity 0.25s var(--ease-smooth);
}
.theme-modal.is-open { transform: translate(-50%, -50%) scale(1); opacity: 1; pointer-events: auto; }
.theme-modal__close { position: absolute; top: 1rem; right: 1rem; padding: 0.4rem; border-radius: 50%; }
.theme-modal__close:hover { background: var(--color-secondary); }
.theme-modal h3 { font-size: 1.5rem; margin-bottom: 0.5rem; }
.theme-modal__desc { color: var(--color-muted-fg); margin-bottom: 1.25rem; }
.theme-modal__contacts { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; font-size: 0.875rem; color: var(--color-muted-fg); margin-bottom: 1.25rem; }
.theme-modal__contacts a { display: flex; align-items: center; gap: 0.5rem; }
.theme-modal__contacts a:hover { color: var(--color-foreground); }
.theme-modal__contacts .theme-icon { width: 16px; height: 16px; }
.theme-modal-field { margin-bottom: 1rem; }
.theme-modal-field label { display: block; font-size: 0.875rem; font-weight: 500; margin-bottom: 0.375rem; }
.theme-modal-field input, .theme-modal-field textarea {
  width: 100%; padding: 0.625rem 0.75rem; background: var(--color-background);
  border: 1px solid var(--color-border); border-radius: 0.75rem; font-size: 1rem; font-family: var(--font-body);
}
.theme-modal-field input:focus, .theme-modal-field textarea:focus {
  outline: none; box-shadow: 0 0 0 2px color-mix(in srgb, var(--color-primary) 40%, transparent);
}
.theme-modal-row { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 480px) { .theme-modal-row { grid-template-columns: repeat(2, 1fr); } }
.theme-modal-submit-row { display: flex; justify-content: flex-end; }
.theme-modal-success { text-align: center; padding: 1.5rem 0; }
.theme-modal-success-icon {
  width: 3.5rem; height: 3.5rem; background: var(--color-primary); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; margin: 0 auto 1rem;
}
.theme-modal-success-icon .theme-icon { width: 28px; height: 28px; color: var(--color-primary-fg); }

/* ==========================================================================
   PRICE RANGE FILTER (Section 31.4)
   ========================================================================== */
.price-range-wrapper { position: relative; height: 1.5rem; }
.range-track-bg, .range-track-fill { position: absolute; height: 4px; top: 50%; transform: translateY(-50%); pointer-events: none; border-radius: 999px; }
.range-track-bg { left: 0; right: 0; background: var(--color-border); }
.range-track-fill { background: var(--color-primary); }
.range-input { position: absolute; left: 0; top: 0; width: 100%; height: 100%; margin: 0; -webkit-appearance: none; appearance: none; background: transparent; pointer-events: none; }
.range-input::-webkit-slider-thumb { -webkit-appearance: none; pointer-events: auto; width: 20px; height: 20px; border-radius: 50%; background: var(--color-background); border: 2px solid var(--color-primary); cursor: pointer; }
.range-input::-moz-range-thumb { pointer-events: auto; width: 20px; height: 20px; border-radius: 50%; background: var(--color-background); border: 2px solid var(--color-primary); cursor: pointer; }
.range-input--max { z-index: 3; }
.range-input--min { z-index: 4; }

/* ==========================================================================
   WOOCOMMERCE — SHOP / ARCHIVE
   ========================================================================== */
.shop-section { background: color-mix(in srgb, var(--color-rosa) 6%, transparent); padding: 4rem 0 6rem; }
.shop-heading-block { text-align: center; margin-bottom: 3rem; }
.shop-eyebrow { color: var(--color-rosa); }
.shop-heading-block h1, .shop-heading-block h2 { font-size: 1.875rem; margin-bottom: 2.5rem; }
@media (min-width: 768px) { .shop-heading-block h1, .shop-heading-block h2 { font-size: 3rem; } }
.shop-search-wrap { position: relative; max-width: 28rem; margin: 0 auto 2rem; }
.shop-search-wrap .theme-icon { position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; color: var(--color-muted-fg); }
.shop-search-input {
  width: 100%; padding: 0.55rem 0.5rem 0.55rem 1.75rem; background: color-mix(in srgb, var(--color-secondary) 30%, transparent);
  border: 1px solid color-mix(in srgb, var(--color-border) 50%, transparent); border-radius: 999px; font-size: 0.95rem; font-family: var(--font-body);
}
.shop-search-input:focus { outline: none; box-shadow: 0 0 0 1px color-mix(in srgb, var(--color-primary) 40%, transparent); border-color: transparent; }
.shop-category-pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; margin-bottom: 1rem; }
.shop-cat-pill {
  padding: 0.5rem 1.25rem; font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase;
  border: 1px solid var(--color-border); border-radius: 999px; background: transparent; transition: all 0.3s;
}
.shop-cat-pill:hover { border-color: var(--color-rosa); color: var(--color-rosa); }
.shop-cat-pill.is-active { background: var(--color-rosa); color: var(--color-background); border-color: var(--color-rosa); }
.shop-price-filter-toggle { display: flex; align-items: center; gap: 0.5rem; padding: 0.5rem 1rem; font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--color-muted-fg); margin: 0 auto; }
.shop-price-filter-toggle:hover { color: var(--color-foreground); }
.shop-price-filter-toggle .theme-icon { width: 14px; height: 14px; transition: transform 0.3s; }
.shop-price-filter-toggle.is-open .theme-icon { transform: rotate(180deg); }
.shop-price-filter-panel { max-width: 24rem; margin: 0.5rem auto 0; overflow: hidden; max-height: 0; transition: max-height 0.3s var(--ease-smooth); }
.shop-price-filter-panel.is-open { max-height: 10rem; }
.shop-price-values { display: flex; justify-content: space-between; font-size: 0.875rem; color: var(--color-muted-fg); margin-top: 0.75rem; }
.shop-empty-state { text-align: center; padding: 5rem 0; color: var(--color-muted-fg); }
.shop-load-more { text-align: center; margin-top: 3rem; }

/* ==========================================================================
   WOOCOMMERCE — SINGLE PRODUCT
   ========================================================================== */
.single-product .site-main { padding-top: 0.5rem; }
.single-product-breadcrumb { padding: 1.5rem 0; font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--color-muted-fg); }
.single-product-breadcrumb a:hover { color: var(--color-foreground); }
.single-product-breadcrumb .sep { margin: 0 0.5rem; opacity: 0.5; }
.single-product-breadcrumb .current { color: var(--color-foreground); }

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

.theme-product-gallery { min-width: 0; max-width: 100%; }
.theme-product-gallery__main { position: relative; aspect-ratio: 1/1; background: var(--color-secondary); overflow: hidden; border-radius: 1rem; }
.theme-product-gallery__main img { position: absolute; inset: 0; width: 100% !important; height: 100% !important; max-height: 100% !important; object-fit: cover; }
.theme-product-thumbnails { display: flex; gap: 0.75rem; margin-top: 1rem; flex-wrap: wrap; max-width: 100%; overflow-x: auto; }
.theme-product-thumb { position: relative; width: 80px; height: 80px; flex-shrink: 0; overflow: hidden; background: var(--color-secondary); border-radius: 0.75rem; }
.theme-product-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.6; transition: opacity 0.2s; }
.theme-product-thumb:hover img, .theme-product-thumb.is-active img { opacity: 1; }
.theme-product-thumb::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--color-foreground); opacity: 0; transition: opacity 0.2s; }
.theme-product-thumb.is-active::after { opacity: 1; }
@media (min-width: 1024px) { .theme-product-thumbnails-mobile { display: none; } }
.theme-product-gallery-desktop { display: none; }
@media (min-width: 1024px) { .theme-product-gallery-desktop { display: flex; flex-direction: column; gap: 1rem; } .theme-product-gallery-mobile { display: none; } }

.theme-product-info { min-width: 0; max-width: 100%; }
@media (min-width: 1024px) {
  .theme-product-info { position: sticky; top: 7rem; align-self: start; padding-left: 1rem; }
}
.theme-product-category { font-size: 13px; letter-spacing: 0.25em; text-transform: uppercase; color: var(--color-muted-fg); }
.theme-product-title { font-size: 1.875rem; line-height: 1.1; margin-top: 0.75rem; margin-bottom: 1.25rem; font-weight: inherit; font-family: var(--font-display); }
@media (min-width: 768px) { .theme-product-title { font-size: 2.25rem; } }
@media (min-width: 1024px) { .theme-product-title { font-size: 2.75rem; } }
.theme-product-price { font-size: 1.25rem; margin-bottom: 1.5rem; }
.theme-product-price .price del { color: var(--color-muted-fg); opacity: 0.6; margin-right: 0.5rem; }
.theme-product-desc-short { color: var(--color-muted-fg); line-height: 1.7; margin-bottom: 2rem; }

.theme-stock-badge { display: inline-block; font-size: 13px; letter-spacing: 0.15em; text-transform: uppercase; padding: 0.35rem 0.9rem; border-radius: 999px; margin-bottom: 1.25rem; }
.theme-stock-badge--out { background: var(--color-foreground); color: var(--color-background); }
.theme-stock-badge--coming { background: var(--color-primary); color: var(--color-primary-fg); }

.theme-field-label { display: block; font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--color-muted-fg); margin-bottom: 0.75rem; }
.theme-select-wrap { position: relative; margin-bottom: 1.5rem; }
.theme-select-wrap select {
  width: 100%; appearance: none; border: 1px solid var(--color-border); border-radius: 999px;
  background: var(--color-background); padding: 0.75rem 2.75rem 0.75rem 1.25rem; font-size: 1rem; font-family: var(--font-body);
}
.theme-select-wrap select:focus { outline: none; box-shadow: 0 0 0 1px var(--color-primary); }
.theme-select-wrap .theme-icon { position: absolute; right: 1.25rem; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; color: var(--color-muted-fg); pointer-events: none; }

.theme-quantity-wrapper { display: inline-flex; align-items: center; border: 1px solid var(--color-border); border-radius: 999px; overflow: hidden; margin-bottom: 1.25rem; }
.theme-qty-minus, .theme-qty-plus { padding: 0.6rem 0.85rem; transition: background-color 0.2s; }
.theme-qty-minus .theme-icon, .theme-qty-plus .theme-icon { width: 14px; height: 14px; }
.theme-qty-minus:hover, .theme-qty-plus:hover { background: var(--color-secondary); }
.theme-qty-input {
  width: 3rem; text-align: center; border: none; background: transparent; font-family: var(--font-body); font-size: 0.9rem;
  -moz-appearance: textfield;
}
.theme-qty-input::-webkit-outer-spin-button, .theme-qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.theme-add-to-cart-area { display: flex; align-items: stretch; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 0.5rem; }
.theme-add-to-cart-area .theme-quantity-wrapper { margin-bottom: 0; }

.single_add_to_cart_button.button,
.add_to_cart_button.button,
a.single_add_to_cart_button,
a.add_to_cart_button,
button.single_add_to_cart_button {
  background-color: var(--color-foreground) !important;
  color: var(--color-background) !important;
  border: none !important;
  border-radius: 999px !important;
  min-height: unset !important;
  padding: 1rem 2.25rem !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-family: var(--font-body) !important;
  font-size: 11px !important;
  font-weight: 500 !important;
  letter-spacing: 0.25em !important;
  text-transform: uppercase !important;
  cursor: pointer !important;
  transition: opacity 0.2s ease !important;
  flex: 1 1 auto;
  min-width: 160px;
}
.single-product .theme-add-to-cart-area > .single_add_to_cart_button,
.single-product .single_variation_wrap .single_add_to_cart_button {
  width: 100%;
  flex: 1 1 100%;
}
.single_add_to_cart_button.button:hover,
.add_to_cart_button.button:hover {
  opacity: 0.9 !important;
  background-color: var(--color-foreground) !important;
  color: var(--color-background) !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-foreground) !important;
}
.single-product .single_add_to_cart_button.loading::after,
.ajax_add_to_cart.loading::after { display: none !important; }
.ajax_add_to_cart.theme-btn-loading { opacity: 0.6 !important; pointer-events: none !important; cursor: wait !important; }

/* Card compact quick-add button — overrides global rules (scoped after) */
.theme-product-card .add_to_cart_button.ajax_add_to_cart {
  min-height: unset !important;
  min-width: unset !important;
  width: 40px; height: 40px;
  padding: 0 !important;
  border-radius: 50% !important;
  background-color: var(--color-background) !important;
  color: var(--color-foreground) !important;
  flex: none;
}
.theme-product-card .add_to_cart_button.ajax_add_to_cart:hover { background-color: var(--color-background) !important; opacity: 1 !important; }
.theme-product-card .add_to_cart_button.ajax_add_to_cart .add-icon-text { display: none; }

/* Hide "View cart" injected after AJAX add (Section 11.4.2) */
.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; }

/* Variations — attribute pills (ProductDetail parity) */
.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.4rem; }
.single-product .variations tbody td.label label { font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--color-muted-fg); font-family: var(--font-body); }
.single-product .variations tbody td.value { padding-top: 0; }
.theme-variation-row { margin-bottom: 1.5rem; }
.theme-variations select,
.theme-variation-row select,
.single-product .variations select.theme-attr-select-hidden {
  display: none !important;
  visibility: hidden !important;
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
  pointer-events: none !important;
}
.theme-attr-pills { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.5rem; }
.theme-attr-pill {
  padding: 0.5rem 1rem; font-size: 12px; letter-spacing: 0.15em; text-transform: uppercase;
  border: 1px solid var(--color-border); border-radius: 999px; transition: all 0.2s; background: transparent;
  font-family: var(--font-body);
}
.theme-attr-pill:hover { border-color: color-mix(in srgb, var(--color-foreground) 60%, transparent); }
.theme-attr-pill.is-selected { background: var(--color-foreground); color: var(--color-background); border-color: var(--color-foreground); }
.single_variation_wrap { margin-top: 0.5rem; }

.theme-accordions { margin-top: 2.5rem; border-top: 1px solid var(--color-border); }
.theme-accordion { border-bottom: 1px solid var(--color-border); }
.theme-accordion__trigger { width: 100%; display: flex; align-items: center; justify-content: space-between; padding: 1.25rem 0; text-align: left; }
.theme-accordion__trigger span { font-size: 13px; letter-spacing: 0.25em; text-transform: uppercase; }
.theme-accordion__trigger .theme-icon { width: 16px; height: 16px; transition: transform 0.2s; }
.theme-accordion.is-open .theme-accordion__trigger .theme-icon { transform: rotate(180deg); }
.theme-accordion__panel { display: none; padding-bottom: 1.5rem; }
.theme-accordion.is-open .theme-accordion__panel { display: block; }
.theme-accordion__panel p { color: var(--color-muted-fg); line-height: 1.7; margin-bottom: 1rem; white-space: pre-line; }
.theme-accordion__panel p:last-child { margin-bottom: 0; }
.theme-accordion__panel ul { display: flex; flex-direction: column; gap: 0.5rem; }
.theme-accordion__panel li { font-size: 15px; color: var(--color-muted-fg); display: flex; align-items: flex-start; }
.theme-accordion__panel li::before { content: ''; width: 4px; height: 4px; background: var(--color-foreground); border-radius: 50%; margin: 0.5rem 0.75rem 0 0; flex-shrink: 0; }

.single-product .woocommerce-product-details__short-description,
.single-product .woocommerce-variation-description,
.single-product .posted_in { overflow-wrap: break-word; word-break: break-word; }

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

.related-products-section { padding: 5rem 0; border-top: 1px solid var(--color-border); }
.related-products-heading { text-align: center; margin-bottom: 3rem; }
.related-products-heading .kicker { font-style: italic; font-size: 1rem; color: var(--color-muted-fg); margin-bottom: 0.5rem; }
.related-products-heading h2 { font-size: 1.875rem; }
@media (min-width: 768px) { .related-products-heading h2 { font-size: 2.25rem; } }

/* ==========================================================================
   404 / NOT FOUND
   ========================================================================== */
.theme-404 { min-height: 100vh; display: flex; align-items: center; justify-content: center; text-align: center; padding: 3rem 1.5rem; background: color-mix(in srgb, var(--color-secondary) 35%, var(--color-background)); }
.theme-404 h1 { font-size: 2.25rem; font-weight: 700; margin-bottom: 1rem; }
.theme-404 p { font-size: 1.25rem; color: var(--color-muted-fg); margin-bottom: 1rem; }
.theme-404 a { color: var(--color-primary); text-decoration: underline; }
.theme-404 a:hover { color: color-mix(in srgb, var(--color-primary) 90%, transparent); }

/* ==========================================================================
   WOOCOMMERCE — GENERIC OVERRIDES / NOTICES
   ========================================================================== */
.single-product .woocommerce-message,
.single-product .woocommerce-info { display: none; }
#theme-cart-drawer .woocommerce-message { display: none; }
.woocommerce-message, .woocommerce-info, .woocommerce-error {
  font-family: var(--font-body); border-radius: 0.75rem; padding: 1rem 1.5rem !important;
  border-top: none !important; background: var(--color-secondary) !important; color: var(--color-foreground) !important;
}
.woocommerce-error { background: color-mix(in srgb, var(--color-rosa) 15%, var(--color-background)) !important; }

/* ==========================================================================
   CHECKOUT BLOCK (Section 13)
   ========================================================================== */
body.woocommerce-checkout .site-main,
body.woocommerce-cart .site-main,
body.woocommerce-account .site-main {
  padding-top: 2rem; padding-bottom: 4rem;
}
body.woocommerce-checkout .page-title,
body.woocommerce-cart .page-title,
body.woocommerce-account .page-title {
  font-size: 2rem; margin-bottom: 2rem;
}
body.woocommerce-checkout .wc-block-checkout { display: block; }
body.woocommerce-checkout .wc-block-checkout__sidebar,
body.woocommerce-checkout .wc-block-components-sidebar.wc-block-checkout__sidebar,
body.woocommerce-checkout .wp-block-woocommerce-checkout-totals-block {
  display: block !important;
  grid-template-columns: none !important;
}
body.woocommerce-checkout .wc-block-components-order-summary {
  display: block !important;
}
body.woocommerce-checkout .wc-block-components-order-summary-item {
  display: flex !important;
  flex-wrap: nowrap;
  align-items: flex-start;
  gap: 1rem;
  grid-template-columns: none !important;
  grid-template-rows: none !important;
}
body.woocommerce-checkout .wc-block-components-order-summary-item__image,
body.woocommerce-checkout .wc-block-components-order-summary-item__description {
  display: block !important;
  min-width: 0;
}
body.woocommerce-checkout .wc-block-components-order-summary-item__image {
  flex-shrink: 0;
}
@media (min-width: 1024px) {
  body.woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout.is-large,
  body.woocommerce-checkout .wc-block-checkout__main + .wc-block-checkout__sidebar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
  }
}
@media (max-width: 1023px) {
  body.woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout,
  body.woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout.is-large,
  body.woocommerce-checkout .wc-block-checkout__main + .wc-block-checkout__sidebar {
    display: block !important;
    grid-template-columns: none !important;
  }
}
body.woocommerce-checkout .wc-block-checkout__main,
body.woocommerce-checkout .wc-block-checkout__sidebar {
  min-width: 0; width: 100%; max-width: none;
}
body.woocommerce-checkout .wc-block-checkout__sidebar {
  min-width: 0; width: 100%; max-width: none;
}
body.woocommerce-checkout .wc-block-components-text-input input,
body.woocommerce-checkout .wc-block-components-select select,
body.woocommerce-checkout .wc-block-components-textarea textarea,
body.woocommerce-checkout .wc-block-components-combobox .wc-block-components-combobox-control input,
body.woocommerce-checkout select {
  width: 100% !important;
  max-width: none !important;
  background-color: var(--color-background) !important;
  border: 1px solid var(--color-border) !important;
  border-radius: 0.75rem !important;
  font-size: 1rem !important;
  font-family: var(--font-body) !important;
  color: var(--color-foreground) !important;
  box-shadow: none !important;
}
body.woocommerce-checkout .wc-block-components-text-input input::placeholder,
body.woocommerce-checkout .wc-block-components-textarea textarea::placeholder {
  color: var(--color-muted-fg) !important;
  opacity: 1 !important;
}
body.woocommerce-checkout .wc-block-components-text-input input:focus,
body.woocommerce-checkout .wc-block-components-select select:focus,
body.woocommerce-checkout .wc-block-components-textarea textarea:focus,
body.woocommerce-checkout select:focus {
  outline: none !important;
  box-shadow: 0 0 0 1px var(--color-primary) !important;
  border-color: transparent !important;
}
body.woocommerce-checkout .wc-block-components-select select,
body.woocommerce-checkout select {
  appearance: none !important;
  -webkit-appearance: none !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2358687e' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 1rem center !important;
  padding-right: 2.75rem !important;
}
body.woocommerce-checkout .wc-block-components-checkout-step__title,
body.woocommerce-checkout .wc-block-components-title {
  font-family: var(--font-display) !important;
  font-size: 1.25rem !important;
  font-weight: 700 !important;
}
body.woocommerce-checkout .wc-block-checkout__sidebar {
  background-color: transparent !important;
  border-radius: 0 !important;
  padding: 0 !important;
}
@media (min-width: 768px) {
  body.woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout.is-large,
  body.woocommerce-checkout .wc-block-checkout__main + .wc-block-checkout__sidebar {
    gap: 3rem;
  }
}
@media (min-width: 1024px) {
  body.woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout.is-large,
  body.woocommerce-checkout .wc-block-checkout__main + .wc-block-checkout__sidebar {
    gap: 4rem;
  }
}
body.woocommerce-checkout .wc-block-components-checkout-place-order-button {
  background-color: var(--color-primary) !important; color: var(--color-primary-fg) !important;
  border-radius: 999px !important; font-family: var(--font-display) !important;
  letter-spacing: 0.15em; text-transform: uppercase; font-size: 0.85rem !important;
}
body.woocommerce-checkout .wc-block-components-checkout-place-order-button:hover { opacity: 0.9; }

/* ==========================================================================
   WOOCOMMERCE — THANK YOU / ORDER RECEIVED (Section 22.8)
   ========================================================================== */
body.theme-thankyou-page { overflow-x: hidden; }
body.theme-thankyou-page .woocommerce-order-details table { width: 100%; table-layout: fixed; }
body.theme-thankyou-page .woocommerce-order h2,
body.theme-thankyou-page .woocommerce-order-details__title {
  padding: 0 0 1rem 0; font-size: 1.5rem;
}
body.theme-thankyou-page .woocommerce-order-details tfoot th { text-align: left; }
body.theme-thankyou-page .woocommerce-order-details tfoot td { text-align: right; }
body.theme-thankyou-page .woocommerce-customer-details {
  display: flex; flex-direction: column; gap: 1.5rem;
}
body.theme-thankyou-page .woocommerce-customer-details address {
  max-width: 480px; overflow-wrap: break-word; border: 1px solid var(--color-border); border-radius: 0.75rem; padding: 1rem;
}

/* ==========================================================================
   MEDIA CONTROL (Customizer admin only) — kept here for completeness; the
   admin-facing detailed rules live in customizer-controls.css.
   ========================================================================== */

/* ==========================================================================
   UTILITIES
   ========================================================================== */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.min-w-0 { min-width: 0; }
