/* ============================================================
   Blossom — Baby & Kids Ecommerce Theme
   Brand: Playful · Bubbly · Candy-Shop Energy
   Tier: Growth (800-900 lines)
   ============================================================ */

/* -----------------------------------------------------------
   1. CSS Custom Properties
   ----------------------------------------------------------- */
:root {
  --primary:        #c44fb5;
  --primary-dark:   #a83d9a;
  --primary-light:  #f0d0ec;
  --secondary:      #8bbf72;
  --secondary-dark: #6fa358;
  --accent:         #ffcc44;
  --background:     #fef8ff;
  --surface:        #f7eefa;
  --dark:           #2d1c42;
  --text:           #1f0f2e;
  --muted:          #7a6585;
  --border:         #e8d8f0;

  --font-sans:    'DM Sans', sans-serif;
  --font-display: 'Nunito', sans-serif;

  --radius:      20px;
  --radius-lg:   32px;
  --radius-pill: 100px;

  --shadow-sm: 0 2px 8px rgba(196, 79, 181, .10);
  --shadow-md: 0 6px 24px rgba(196, 79, 181, .16);
  --shadow-lg: 0 16px 48px rgba(196, 79, 181, .20);

  --transition: .25s ease;
  --max-w: 1200px;
}

/* -----------------------------------------------------------
   2. Reset & Base
   ----------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: var(--font-sans);
  background: var(--background);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
img[src=""], img:not([src]) { display: none !important; }

a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
input, select, textarea { font-family: inherit; }

[wire\:loading] { display: none; }
[data-list] { display: contents; }

/* Converted-blade display:contents (converter strips data-list → plain div) */
.categories__grid > div,
.testimonials__grid > div,
.policies__grid > div,
.faqs__list > div,
.filter-bar__category-chips { display: contents; }

:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 2px;
}

/* -----------------------------------------------------------
   3. Accessibility 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;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  padding: .75rem 1.5rem;
  background: var(--primary);
  color: #fff;
  border-radius: var(--radius-pill);
  font-weight: 700;
  z-index: 10000;
  transition: top var(--transition);
}
.skip-link:focus { top: 1rem; }

/* -----------------------------------------------------------
   4. Scroll Progress Bar
   ----------------------------------------------------------- */
#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 4px;
  width: 0%;
  background: var(--primary);
  z-index: 9999;
  transition: width .1s linear;
  border-radius: 0 var(--radius-pill) var(--radius-pill) 0;
}

/* -----------------------------------------------------------
   5. Back to Top
   ----------------------------------------------------------- */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition), transform var(--transition);
  z-index: 900;
  font-size: 1.25rem;
}
.back-to-top.visible, .back-to-top--visible { opacity: 1; pointer-events: auto; }
.back-to-top:hover { background: var(--primary-dark); transform: translateY(-3px); }

/* -----------------------------------------------------------
   6. Container
   ----------------------------------------------------------- */
.container {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: 1.5rem;
}

/* -----------------------------------------------------------
   7. Typography
   ----------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.2;
  color: var(--dark);
}

h1 { font-size: clamp(2.25rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.75rem); }
h4 { font-size: 1.2rem; }

.section-label, .eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: .85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--primary);
  background: var(--primary-light);
  padding: .35rem 1rem;
  border-radius: var(--radius-pill);
  margin-bottom: 1rem;
  color: oklch(from var(--primary-light) clamp(0, (0.57 - l) * 1000, 1) 0 0);
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}
.section-header--inline { text-align: left; }
.section-header--inline .section-header__sub { margin-inline: 0; }
.section-header p, .section-header__sub {
  color: var(--muted);
  margin-top: .75rem;
  max-width: 560px;
  margin-inline: auto;
}

/* -----------------------------------------------------------
   8. Buttons
   ----------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .75rem 1.75rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}

/* The views write the modifiers BEM-style (`btn--primary`); both spellings are styled (Weave item 60: blossom's
   Add to Cart and contact submit rendered with no fill, black on the dark contact card). */
.btn-primary, .btn--primary {
  background: var(--primary);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover, .btn--primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background: var(--secondary);
  color: #fff;
  box-shadow: var(--shadow-sm);
  color: oklch(from var(--secondary) clamp(0, (0.57 - l) * 1000, 1) 0 0);
}
.btn-secondary:hover {
  background: var(--secondary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline, .btn--outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.btn-outline:hover, .btn--outline:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}

.btn-ghost, .btn--ghost {
  background: transparent;
  color: var(--text);
  padding: .75rem 1.25rem;
}
.btn-ghost:hover, .btn--ghost:hover { color: var(--primary); }

.btn-sm, .btn--sm { padding: .5rem 1.25rem; font-size: .875rem; }
.btn-lg { padding: 1rem 2.25rem; font-size: 1.125rem; }

/* -----------------------------------------------------------
   9. Site Header
   ----------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 800;
  background: rgba(254, 248, 255, .95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition);
}
.site-header.scrolled, .site-header--scrolled { box-shadow: var(--shadow-sm); }
.site-header--checkout { border-bottom: none; }

/* The views' header bar is `nav.site-nav` (logo, `__links`, `__actions`, `__toggle`): it takes the bar's layout, and
   `.site-nav-link` takes the link pills. Before, the 768px rule hid `.site-nav`, which is the whole bar, so phones
   showed no logo, cart or menu (class-drift census 2026-10-07). */
.site-header__inner, .site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: 72px;
}

.site-header__logo, .site-nav__logo {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--primary);
  flex-shrink: 0;
}

.site-nav__links { display: flex; align-items: center; gap: .25rem; }
.site-nav-link {
  padding: .5rem .875rem;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: .95rem;
  transition: background var(--transition), color var(--transition);
}
.site-nav-link:hover, .site-nav-link.active, .site-nav-link--active {
  background: var(--primary-light);
  color: var(--primary);
  color: oklch(from var(--primary-light) clamp(0, (0.57 - l) * 1000, 1) 0 0);
}

.site-header__actions, .site-nav__actions { display: flex; align-items: center; gap: .5rem; }

/* Three bars; main.js opens `#mobile-menu` (`.site-nav__links--open`) below 768px. */
.site-nav__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  align-items: center;
}
.site-nav__toggle span { display: block; width: 20px; height: 2px; border-radius: 2px; background: var(--dark); }

.header-icon-btn, .cart-icon-btn {
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dark);
  transition: background var(--transition);
}
.header-icon-btn:hover, .cart-icon-btn:hover { background: var(--surface); }

.cart-badge, .nav__cart {
  position: absolute;
  top: 2px;
  right: 2px;
  min-width: 18px;
  height: 18px;
  background: var(--primary);
  color: #fff;
  border-radius: var(--radius-pill);
  font-size: .65rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}

/* -----------------------------------------------------------
   10. Hero Section
   ----------------------------------------------------------- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(32px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes floatBlob {
  0%, 100% { transform: translateY(0) scale(1); }
  50%       { transform: translateY(-18px) scale(1.05); }
}

@keyframes floatBlobAlt {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%       { transform: translateY(-12px) rotate(8deg); }
}

.hero, .page-hero {
  position: relative;
  overflow: hidden;
  background: var(--background);
  padding: 5rem 0 6rem;
}
/* The shop page's shorter hero (`.page-hero`, `__text`, `__prefix`, `__title`, `__sub`) on the hero's rules. */
.page-hero { background: var(--surface); padding: 3rem 0 3.5rem; text-align: center; }
.page-hero__prefix, .hero__prefix { color: var(--muted); font-weight: 600; margin: 1rem 0 .25rem; }
.page-hero .hero__sub, .page-hero__sub { margin-inline: auto; margin-bottom: 0; }

.hero__layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero__text, .page-hero__text { animation: fadeInUp .7s ease both; }
.hero__media { animation: fadeInUp .7s .2s ease both; }

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: var(--radius-pill);
  padding: .4rem 1rem;
  font-weight: 800;
  font-size: .85rem;
  margin-bottom: 1.25rem;
  color: oklch(from var(--primary-light) clamp(0, (0.57 - l) * 1000, 1) 0 0);
}

.hero__title, .page-hero__title {
  font-size: clamp(2.5rem, 5.5vw, 3.75rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 1.25rem;
}
.page-hero__title { font-size: clamp(2rem, 4.5vw, 3rem); margin-bottom: .75rem; }
.hero__title span { color: var(--primary); }

.hero__sub, .page-hero__sub {
  color: var(--muted);
  font-size: 1.1rem;
  max-width: 480px;
  margin-bottom: 2rem;
}

.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2.5rem; }

/* Decorative blobs */
.hero__deco {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}
.hero__deco--1 {
  width: 420px;
  height: 420px;
  background: var(--primary);
  opacity: .12;
  top: -80px;
  right: -100px;
  animation: floatBlob 7s ease-in-out infinite;
}
.hero__deco--2 {
  width: 280px;
  height: 280px;
  background: var(--secondary);
  opacity: .15;
  bottom: -60px;
  left: -60px;
  animation: floatBlobAlt 9s ease-in-out infinite;
}
.hero__deco--3 {
  width: 160px;
  height: 160px;
  background: var(--accent);
  opacity: .18;
  top: 40%;
  left: 38%;
  animation: floatBlob 11s ease-in-out infinite reverse;
}

/* Stickers */
.hero__sticker {
  position: absolute;
  background: var(--accent);
  border-radius: 12px;
  padding: 8px 14px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: .85rem;
  color: var(--dark);
  box-shadow: var(--shadow-sm);
  z-index: 3;
  color: oklch(from var(--accent) clamp(0, (0.57 - l) * 1000, 1) 0 0);
}
.hero__sticker--1 { top: 8%;  right: 6%;  transform: rotate(-4deg); }
.hero__sticker--2 { bottom: 12%; left: 52%; transform: rotate(3deg); }

/* Stats row */
.hero__stats {
  display: flex;
  gap: 2rem;
}
.hero__stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--dark);
}
.hero__stat span { font-size: .85rem; color: var(--muted); }

/* Hero image wrapper */
.hero__img-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 5 / 4;
  background: var(--surface);
}
.hero__img-wrap img { width: 100%; height: 100%; object-fit: cover; }

/* -----------------------------------------------------------
   11. Section Backgrounds (rhythm)
   ----------------------------------------------------------- */
.section--light    { background: var(--background); }
.section--surface  { background: var(--surface); }
.section--white    { background: #fff; }
.section--dark     { background: var(--dark); color: #fff; }
.section--dark h2, .section--dark h3 { color: #fff; }
.section--dark .section-label { background: rgba(255,255,255,.12); color: #fff; }

section { padding: 5rem 0; }

/* -----------------------------------------------------------
   12. Categories Grid
   ----------------------------------------------------------- */
.categories__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.category-card {
  display: block;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  background: var(--surface);
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition);
  aspect-ratio: 3/4;
}
.category-card:hover {
  transform: scale(1.03);
  box-shadow: var(--shadow-lg);
}
.category-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.category-card:hover .category-card__img { transform: scale(1.08); }

.category-card__body {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem 1.25rem 1.25rem;
  background: linear-gradient(to top, rgba(45,28,66,.8) 0%, transparent 100%);
  color: #fff;
}
.category-card__name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1rem;
}
.category-card__count { font-size: .8rem; opacity: .8; margin-top: .2rem; }

/* -----------------------------------------------------------
   13. Filter Chips
   ----------------------------------------------------------- */
.filter-chips, .filter-bar {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 2rem;
}
.sort-select {
  padding: .45rem 1rem;
  border-radius: var(--radius-pill);
  border: 2px solid var(--border);
  background: var(--surface, #fff);
  font-weight: 700;
  font-size: .875rem;
  color: var(--text);
}

.filter-chip {
  padding: .45rem 1.2rem;
  border-radius: var(--radius-pill);
  border: 2px solid var(--border);
  background: transparent;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .875rem;
  color: var(--muted);
  transition: all var(--transition);
}
.filter-chip:hover { border-color: var(--primary); color: var(--primary); }
.filter-chip--active,
.filter-chip.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

/* -----------------------------------------------------------
   14. Product Cards Grid
   ----------------------------------------------------------- */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.product-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: transform var(--transition), box-shadow var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.product-card__img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1/1;
  background: var(--surface);
}
.product-card__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.product-card:hover .product-card__img-wrap img { transform: scale(1.06); }

.product-card__badge {
  position: absolute;
  top: .75rem;
  left: .75rem;
  background: var(--primary);
  color: #fff;
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-size: .72rem;
  font-weight: 800;
  padding: .25rem .75rem;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.product-card__badge--sale { background: var(--accent); color: var(--dark); color: oklch(from var(--accent) clamp(0, (0.57 - l) * 1000, 1) 0 0); }
.product-card__badge--new  { background: var(--secondary); }

.product-card__wishlist {
  position: absolute;
  top: .75rem;
  right: .75rem;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,.9);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition), color var(--transition);
  color: var(--muted);
}
.product-card__wishlist:hover { background: var(--primary); color: #fff; }

/* Quick-view slide-up */
.product-card__quick-view {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--primary);
  color: #fff;
  text-align: center;
  padding: .65rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: .85rem;
  transform: translateY(100%);
  transition: transform var(--transition);
}
.product-card:hover .product-card__quick-view { transform: translateY(0); }

.product-card__body { padding: 1rem 1rem 1.25rem; flex: 1; display: flex; flex-direction: column; }
.product-card__category {
  font-size: .75rem;
  color: var(--muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: .25rem;
}
.product-card__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--dark);
  margin-bottom: .5rem;
  flex: 1;
}

.product-card__stars { color: var(--accent); font-size: .85rem; margin-bottom: .5rem; }

.product-card__price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
}
.product-card__price {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.2rem;
  color: var(--primary);
}
.product-card__price-old {
  font-size: .85rem;
  color: var(--muted);
  text-decoration: line-through;
}

.product-card__add-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition), transform var(--transition);
  font-size: 1.2rem;
}
.product-card__add-btn:hover { background: var(--primary-dark); transform: scale(1.1); }

/* -----------------------------------------------------------
   15. Quick-View Modal
   ----------------------------------------------------------- */
.quick-view-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: opacity .25s ease, visibility .25s ease;
}
.quick-view-modal.open {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}
.quick-view-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(45, 28, 66, .6);
  backdrop-filter: blur(4px);
}
.quick-view-modal__box {
  position: relative;
  z-index: 1;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 2rem;
  max-width: 800px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
}
.quick-view-modal__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* -----------------------------------------------------------
   16. Testimonials
   ----------------------------------------------------------- */
.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.testimonial-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 2rem;
  position: relative;
}
.section--dark .testimonial-card { background: rgba(255,255,255,.08); }

.testimonial-card__quote {
  font-family: var(--font-display);
  font-size: 4rem;
  line-height: 1;
  color: var(--primary);
  opacity: .3;
  position: absolute;
  top: 1rem;
  left: 1.5rem;
}

.testimonial-card__stars { color: var(--accent); font-size: .9rem; margin-bottom: 1rem; }
.testimonial-card__text { color: var(--muted); font-size: .95rem; margin-bottom: 1.5rem; line-height: 1.7; }
.section--dark .testimonial-card__text { color: rgba(255,255,255,.7); }

.testimonial-card__author { display: flex; align-items: center; gap: .75rem; }
.testimonial-card__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary-light);
  object-fit: cover;
}
.testimonial-card__name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: .95rem;
  color: var(--dark);
}
.section--dark .testimonial-card__name { color: #fff; }
.testimonial-card__role { font-size: .8rem; color: var(--muted); }

/* -----------------------------------------------------------
   17. FAQs
   ----------------------------------------------------------- */
.faqs__list { max-width: 720px; margin-inline: auto; }

.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-item:first-child { border-top: 1px solid var(--border); }

.faq-item__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 0;
  background: none;
  border: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--dark);
  text-align: left;
  cursor: pointer;
  transition: color var(--transition);
}
.faq-item__trigger:hover { color: var(--primary); }

.faq-item__icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition), background var(--transition);
  color: var(--primary);
  font-size: 1rem;
}
.faq-item.active .faq-item__icon, .faq-item--open .faq-item__icon {
  transform: rotate(180deg);
  background: var(--primary);
  color: #fff;
}

.faq-item__body {
  display: none;
  padding-bottom: 1.25rem;
  color: var(--muted);
  line-height: 1.75;
}
.faq-item.active .faq-item__body, .faq-item--open .faq-item__body { display: block; }

/* -----------------------------------------------------------
   18. Policy Cards
   ----------------------------------------------------------- */
.policies__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.policy-card {
  text-align: center;
  padding: 2rem 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: #fff;
  transition: box-shadow var(--transition), transform var(--transition);
}
.policy-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }

.policy-card__icon {
  width: 60px;
  height: 60px;
  border-radius: var(--radius);
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 1.25rem;
  color: oklch(from var(--primary-light) clamp(0, (0.57 - l) * 1000, 1) 0 0);
}
.policy-card__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  margin-bottom: .5rem;
  color: var(--dark);
}
.policy-card__body { font-size: .875rem; color: var(--muted); }

/* -----------------------------------------------------------
   19. Contact Section
   ----------------------------------------------------------- */
.contact__card {
  background: var(--dark);
  border-radius: var(--radius-lg);
  padding: 4rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  color: #fff;
  align-items: start;
}
.contact__card h2, .contact__card h3 { color: #fff; }
.contact__card p { color: rgba(255,255,255,.7); margin-top: .75rem; }

.contact__text { }
.contact__text h2, .contact__text h3 { color: #fff; }
.contact__text p { color: rgba(255,255,255,.7); margin-top: .75rem; }

.contact__items {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 2rem;
}
.contact__item {
  display: flex;
  align-items: center;
  gap: .875rem;
  color: rgba(255,255,255,.9);
  font-weight: 600;
  text-decoration: none;
  font-size: .95rem;
  transition: color var(--transition);
}
.contact__item:hover { color: var(--primary-light); }
.contact__item svg {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--primary-light);
}
.contact__item--wa svg { color: #25D366; }

.form-field { display: flex; flex-direction: column; gap: .4rem; }
.form-field label { font-size: .875rem; font-weight: 600; color: rgba(255,255,255,.8); }

.form-input,
.form-textarea,
.form-select {
  padding: .75rem 1rem;
  border-radius: var(--radius);
  border: 1.5px solid rgba(255,255,255,.15);
  background: rgba(255,255,255,.08);
  color: #fff;
  font-family: var(--font-sans);
  font-size: .95rem;
  transition: border-color var(--transition);
}
.form-input::placeholder, .form-textarea::placeholder { color: rgba(255,255,255,.35); }
.form-input:focus, .form-textarea:focus { border-color: var(--primary); outline: none; }
.form-textarea { resize: vertical; min-height: 120px; }

/* -----------------------------------------------------------
   20. Checkout
   ----------------------------------------------------------- */
.checkout-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 2rem;
  align-items: start;
}

.checkout-form, .checkout-layout__form { display: flex; flex-direction: column; gap: 1.5rem; }

.checkout-fieldset {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  background: #fff;
}
.checkout-fieldset legend, .checkout-fieldset__legend {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--dark);
  padding: 0 .75rem;
}

.checkout-fields-grid, .form-row--2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1rem;
}
.form-row--2 > .form-group { margin-bottom: 0; }

/* The checkout and review forms write `.form-group` (a label and a bare input) and the review form `.form-input`,
   whose rule is the dark contact card's (white text): on these light pages fields take `.checkout-form-input`. */
.form-group { display: flex; flex-direction: column; gap: .4rem; margin-top: 1rem; }
.form-group label { font-size: .875rem; font-weight: 600; color: var(--text); }
.checkout-fields-grid .full-width { grid-column: 1 / -1; }

.checkout-form-input,
.form-group input:not([type="radio"]):not([type="checkbox"]),
.form-group select,
.form-group textarea,
.review-form .form-input {
  padding: .7rem 1rem;
  border-radius: var(--radius);
  border: 1.5px solid var(--border);
  font-family: var(--font-sans);
  font-size: .95rem;
  color: var(--text);
  transition: border-color var(--transition);
  width: 100%;
  background: var(--background);
}
.checkout-form-input:focus, .form-group :is(input, select, textarea):focus { border-color: var(--primary); outline: none; }
.review-form .form-input::placeholder, .form-group ::placeholder { color: var(--muted); }

.shipping-options, .payment-options, .shipping-methods, .payment-methods { display: flex; flex-direction: column; gap: .75rem; margin-top: 1rem; }

.shipping-option, .payment-option {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  transition: border-color var(--transition), background var(--transition);
}
.shipping-option:has(input:checked),
.payment-option:has(input:checked) {
  border-color: var(--primary);
  background: var(--primary-light);
}
.shipping-option__label, .payment-option__label {
  flex: 1;
  font-weight: 600;
  font-size: .95rem;
}
.shipping-option__price { font-family: var(--font-display); font-weight: 800; color: var(--primary); }
.shipping-option__info, .payment-option__info { flex: 1; display: flex; flex-direction: column; gap: .15rem; }
.shipping-option__sub, .payment-option__sub { font-size: .8rem; color: var(--muted); }
.checkout-notice {
  margin-top: 1rem;
  padding: .85rem 1rem;
  border-radius: var(--radius);
  background: var(--surface);
  border-left: 4px solid var(--primary);
  font-size: .9rem;
}
.checkout-notice--warning { border-left-color: #d97706; background: #fffbeb; color: #78350f; }

.checkout-summary {
  position: sticky;
  top: 90px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
}
.checkout-summary__title, .cart-summary__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  margin-bottom: 1.25rem;
}
.checkout-summary__line, .cart-summary__row {
  display: flex;
  justify-content: space-between;
  padding: .6rem 0;
  font-size: .9rem;
  border-bottom: 1px solid var(--border);
}
.cart-summary__row--discount { font-weight: 700; }
.checkout-summary__divider, .cart-summary__divider { height: 1px; background: var(--border); margin: .5rem 0; }
.checkout-summary__total, .cart-summary__row--total {
  border-bottom: none;
  display: flex;
  justify-content: space-between;
  padding: 1rem 0 0;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.2rem;
  color: var(--primary);
}

/* -----------------------------------------------------------
   21. Cart
   ----------------------------------------------------------- */
.cart-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 2rem;
  align-items: start;
}

.cart-items, .cart-layout__items { display: flex; flex-direction: column; gap: 1rem; }
.cart-layout__summary .btn { margin-top: .75rem; }

.cart-item {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem;
  transition: box-shadow var(--transition);
}
.cart-item:hover { box-shadow: var(--shadow-sm); }

.cart-item__img {
  width: 88px;
  height: 88px;
  flex-shrink: 0;
  border-radius: var(--radius);
  object-fit: cover;
  background: var(--surface);
}
.cart-item__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .95rem;
  color: var(--dark);
}
.cart-item__variant { font-size: .8rem; color: var(--muted); margin-top: .2rem; }

.cart-item__qty {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-top: .75rem;
}
.qty-btn {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: all var(--transition);
}
.qty-btn:hover { background: var(--primary); border-color: var(--primary); color: #fff; }
.qty-input {
  width: 40px;
  text-align: center;
  border: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .95rem;
}

.cart-item__price {
  margin-left: auto;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.1rem;
  color: var(--primary);
  flex-shrink: 0;
}
.cart-item__remove {
  color: var(--muted);
  transition: color var(--transition);
  padding: .25rem;
}
.cart-item__remove:hover { color: #e53e3e; }

.cart-summary {
  position: sticky;
  top: 90px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
}

/* -----------------------------------------------------------
   22. Footer
   ----------------------------------------------------------- */
/* The views' footer is `.footer` with `__logo`, `__tagline` and `__heading`; both spellings are styled (Weave item 60:
   the dark band never painted, so the white links were invisible on the white page). */
.site-footer, .footer {
  background: var(--dark);
  color: rgba(255,255,255,.75);
  padding: 5rem 0 2rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer__brand-logo, .footer__logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 900;
  color: #fff;
  margin-bottom: .75rem;
}
.footer__brand-desc, .footer__tagline { font-size: .875rem; line-height: 1.7; margin-bottom: 1.5rem; }

.footer__social { display: flex; gap: .65rem; }
.footer__social-link {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.75);
  font-size: .9rem;
  transition: background var(--transition), color var(--transition);
}
.footer__social-link:hover { background: var(--primary); color: #fff; }

.footer__col-title, .footer__heading {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: .95rem;
  color: #fff;
  margin-bottom: 1.25rem;
  letter-spacing: .02em;
}
.footer__links { display: flex; flex-direction: column; gap: .6rem; }
.footer__links a {
  font-size: .875rem;
  color: rgba(255,255,255,.65);
  transition: color var(--transition);
}
.footer__links a:hover { color: #fff; }

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer__copy { font-size: .8rem; color: rgba(255,255,255,.45); }
.footer__legal { display: flex; gap: 1.5rem; }
.footer__legal a { font-size: .8rem; color: rgba(255,255,255,.45); transition: color var(--transition); }
.footer__legal a:hover { color: #fff; }

/* -----------------------------------------------------------
   23. Breadcrumb
   ----------------------------------------------------------- */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: .5rem;
  flex-wrap: wrap;
  font-size: .875rem;
  color: var(--muted);
  margin-bottom: 1.5rem;
}
.breadcrumb a { color: var(--primary); }
.breadcrumb__sep { opacity: .5; }

/* -----------------------------------------------------------
   24. Promo Banner
   ----------------------------------------------------------- */
.promo-banner {
  background: var(--primary);
  color: #fff;
  text-align: center;
  padding: .65rem 1rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .9rem;
}
.promo-banner a { text-decoration: underline; color: #fff; }
.promo-banner strong { background: var(--accent); color: var(--dark); padding: .15rem .5rem; border-radius: 6px; margin-inline: .25rem; color: oklch(from var(--accent) clamp(0, (0.57 - l) * 1000, 1) 0 0); }

/* -----------------------------------------------------------
   25. Trust / Newsletter Band
   ----------------------------------------------------------- */
.newsletter-band {
  background: var(--primary);
  border-radius: var(--radius-lg);
  padding: 3.5rem 4rem;
  text-align: center;
  color: #fff;
  margin: 4rem 0;
}
.newsletter-band h2 { color: #fff; margin-bottom: .75rem; }
.newsletter-band p { color: rgba(255,255,255,.8); margin-bottom: 2rem; }

.newsletter-form {
  display: flex;
  gap: .75rem;
  max-width: 480px;
  margin-inline: auto;
}
.newsletter-input {
  flex: 1;
  padding: .8rem 1.25rem;
  border-radius: var(--radius-pill);
  border: none;
  font-family: var(--font-sans);
  font-size: .95rem;
}
.newsletter-input:focus { outline: 3px solid var(--accent); }

/* -----------------------------------------------------------
   26. Product Detail Page
   ----------------------------------------------------------- */
/* `.product-detail` is the page's section in the views and `.product-detail__layout` its two-column grid. The grid sat
   on the section, so the whole page (container included) filled its left half and the sticky gallery covered the Add
   to Cart button (class-drift census 2026-10-07). */
.product-detail__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
  margin-top: 1.5rem;
}
.product-detail__badge-row { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: .75rem; }
.product-detail__badge-row .product-card__badge { position: static; }
.product-detail__price-row { display: flex; align-items: baseline; gap: .75rem; }
.product-detail__original { color: var(--muted); font-size: 1.1rem; }
.product-detail__desc { color: var(--muted); line-height: 1.7; margin-bottom: 1.25rem; }
.product-detail__trust { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; font-size: .875rem; color: var(--muted); margin-bottom: 1.5rem; }
.product-detail__atc { margin-bottom: 1rem; }

.product-detail__gallery { position: sticky; top: 90px; }
.product-detail__main-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 1;
  background: var(--surface);
  margin-bottom: 1rem;
}
.product-detail__main-img img { width: 100%; height: 100%; object-fit: cover; }
.product-detail__thumbs { display: flex; gap: .75rem; }
.product-detail__thumb, .product-gallery__thumb {
  width: 72px;
  height: 72px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  transition: border-color var(--transition);
  background: var(--surface);
}
.product-detail__thumb.active, .product-detail__thumb:hover,
.product-gallery__thumb.active, .product-gallery__thumb:hover { border-color: var(--primary); }
.product-detail__thumb img, .product-gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }

.product-detail__title { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: .75rem; }
.product-detail__price {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.75rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.product-detail__variants { margin-bottom: 1.5rem; }
.variant-label { font-size: .85rem; font-weight: 700; margin-bottom: .5rem; }
.variant-swatches { display: flex; gap: .5rem; flex-wrap: wrap; }
.variant-swatch {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid var(--border);
  cursor: pointer;
  transition: border-color var(--transition);
}
.variant-swatch.active { border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-light); }

.product-detail__qty { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.5rem; }
.product-detail__actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2rem; }

/* -----------------------------------------------------------
   27. Pagination
   ----------------------------------------------------------- */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  margin-top: 3rem;
}
.page-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--border);
  font-weight: 700;
  font-size: .9rem;
  transition: all var(--transition);
  color: var(--text);
}
.page-btn:hover { border-color: var(--primary); color: var(--primary); }
.page-btn.active { background: var(--primary); border-color: var(--primary); color: #fff; }

/* -----------------------------------------------------------
   28. Empty State
   ----------------------------------------------------------- */
.empty-state {
  text-align: center;
  padding: 5rem 2rem;
}
.empty-state__icon {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  opacity: .4;
}
.empty-state__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--dark);
  margin-bottom: .5rem;
}
.empty-state__text, .empty-state__msg { color: var(--muted); font-size: .95rem; margin-bottom: 1.5rem; }

/* -----------------------------------------------------------
   28b. Cart & checkout page furniture (class-drift census 2026-10-07)
   The views wrote these components with no rule at all, so the step bar, the trust row, the page titles, the reviews
   and the "see all" footer rendered as bare HTML.
   ----------------------------------------------------------- */
.cart-page__title, .checkout-page__title { font-size: clamp(1.75rem, 3.5vw, 2.5rem); margin-bottom: .5rem; }
.checkout-page__sub { color: var(--muted); margin-bottom: 1rem; }

.checkout-progress { margin: 1.5rem 0 2.5rem; }
.checkout-progress ol, .checkout-progress ul { display: flex; justify-content: center; gap: .5rem; list-style: none; padding: 0; }
.checkout-progress__step {
  display: flex;
  align-items: center;
  gap: .5rem;
  color: var(--muted);
  font-weight: 700;
  font-size: .9rem;
}
.checkout-progress__step + .checkout-progress__step::before {
  content: "";
  width: 2.5rem;
  height: 2px;
  background: var(--border);
  margin-right: .5rem;
}
.checkout-progress__circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  border: 2px solid var(--border);
  background: #fff;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: .85rem;
}
.checkout-progress__step--active { color: var(--dark); }
.checkout-progress__step--active .checkout-progress__circle { background: var(--primary); border-color: var(--primary); color: #fff; }
.checkout-progress__step--completed .checkout-progress__circle { background: var(--primary-light); border-color: var(--primary); color: var(--primary-dark); }

.trust-signals { display: flex; flex-direction: column; gap: .6rem; margin-top: 1.25rem; padding-top: 1.25rem; border-top: 1px solid var(--border); }
.trust-signals__item { display: flex; align-items: center; gap: .5rem; font-size: .85rem; color: var(--muted); }

.reviews { max-width: var(--max-w); margin-inline: auto; padding-inline: 1.5rem; }
.reviews-list { display: flex; flex-direction: column; gap: 1rem; margin: 1rem 0 2.5rem; }
.review-item { padding: 1.25rem 1.5rem; border: 1px solid var(--border); border-radius: var(--radius); background: #fff; }
.review-item__header { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1rem; margin-bottom: .5rem; }
.review-author { font-weight: 800; }
.review-title { display: block; margin-bottom: .35rem; }
.review-body { color: var(--muted); line-height: 1.7; }
.review-form { max-width: 720px; padding: 1.75rem; border: 1px solid var(--border); border-radius: var(--radius); background: #fff; }
.review-form .btn { margin-top: 1.25rem; }

.section-footer { display: flex; justify-content: center; margin-top: 2.5rem; }

/* -----------------------------------------------------------
   29. Toast / Alert
   ----------------------------------------------------------- */
.toast {
  position: fixed;
  bottom: 5rem;
  right: 2rem;
  z-index: 2000;
  background: var(--dark);
  color: #fff;
  border-radius: var(--radius);
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  gap: .75rem;
  box-shadow: var(--shadow-lg);
  animation: fadeInUp .3s ease;
  max-width: 320px;
}
.toast--success { border-left: 4px solid var(--secondary); }
.toast--error   { border-left: 4px solid #e53e3e; }

/* -----------------------------------------------------------
   30. Responsive — 768px
   ----------------------------------------------------------- */
@media (max-width: 768px) {
  section { padding: 3.5rem 0; }

  /* Header */
  .site-nav__links { display: none; }
  .site-nav__links--open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    padding: .75rem 1.25rem 1.25rem;
    background: var(--background);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
  }
  .site-nav__toggle { display: flex; }
  .site-header__inner, .site-nav { height: 60px; }

  /* Hero */
  .hero { padding: 3rem 0 4rem; }
  .hero__layout { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero__media { order: -1; }
  .hero__deco--1 { width: 240px; height: 240px; }
  .hero__deco--2 { width: 160px; height: 160px; }
  .hero__sticker--2 { display: none; }
  .hero__stats { gap: 1.25rem; }

  /* Categories */
  .categories__grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }

  /* Products */
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }

  /* Testimonials */
  .testimonials__grid { grid-template-columns: 1fr; }

  /* Policies */
  .policies__grid { grid-template-columns: repeat(2, 1fr); }

  /* Contact */
  .contact__card { grid-template-columns: 1fr; gap: 2rem; padding: 2rem; }

  /* Footer */
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 2rem; }

  /* Checkout */
  .checkout-layout { grid-template-columns: 1fr; }
  .checkout-fields-grid { grid-template-columns: 1fr; }
  .checkout-summary { position: static; }

  /* Cart */
  .cart-layout { grid-template-columns: 1fr; }
  .cart-summary { position: static; }

  /* Product detail */
  .product-detail__layout { grid-template-columns: 1fr; gap: 2rem; }
  .form-row--2 { grid-template-columns: 1fr; }
  .checkout-progress__label { font-size: .75rem; }
  .checkout-progress__step { gap: .35rem; }
  .checkout-progress__step + .checkout-progress__step::before { width: .75rem; margin-right: .1rem; }
  .product-detail__gallery { position: static; }

  /* Newsletter */
  .newsletter-band { padding: 2rem 1.5rem; }
  .newsletter-form { flex-direction: column; }
}

/* -----------------------------------------------------------
   31. Responsive — 480px
   ----------------------------------------------------------- */
@media (max-width: 480px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }

  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; justify-content: center; }
  .hero__stats { flex-wrap: wrap; gap: .75rem; }

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

  .policies__grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 1.5rem; }

  .footer__bottom { flex-direction: column; text-align: center; }

  .cart-item { flex-wrap: wrap; }
  .cart-item__price { margin-left: 0; }

  .contact__card { padding: 1.5rem; }
  .back-to-top { bottom: 1rem; right: 1rem; }

  .quick-view-modal__box { padding: 1.25rem; }
}


/* __wobooks-defensive__ — appended by HtmlZipThemeConverterV2.
   Hide images whose src resolves to empty (e.g. data-src-field bindings
   for Items / categories the owner hasn't uploaded a photo for yet).
   Without this rule, the browser shows the alt-text fallback —
   that's the bug behind the literal word 'image' showing in avatar
   slots and About images on the production Braise theme. */
img[src=""], img:not([src]) { display: none !important; }

/* ──────────────────────────────────────────
   REVEAL ANIMATION SYSTEM — replaces the old
   GSAP + ScrollTrigger fromTo reveals.

   Above-the-fold hero / product-detail elements
   use TIME-based `both`-fill keyframes: the
   from-state lives only inside the keyframe, so
   there is no separate pre-hide rule needed —
   the keyframe's own backwards-fill IS the
   anti-FOUC guard, and a non-supporting browser
   (animations are baseline-supported everywhere
   that matters) just sees the final frame.

   Below-the-fold cards/sections use CSS
   scroll-driven view() timelines, gated behind
   @supports + no-preference, so the resting state
   is visible at rule level and a non-supporting or
   reduced-motion visitor never sees a blank section.
   ────────────────────────────────────────── */
@keyframes stickerPopIn {
  from { opacity: 0; transform: scale(.5) rotate(-20deg); }
  to   { opacity: 1; transform: scale(1) rotate(0deg); }
}
@keyframes stickerPopInAlt {
  from { opacity: 0; transform: scale(.5) rotate(20deg); }
  to   { opacity: 1; transform: scale(1) rotate(0deg); }
}
@keyframes slideInRight {
  from { opacity: 0; transform: translateX(30px); }
  to   { opacity: 1; transform: translateX(0); }
}

.hero__sticker--1 { animation: stickerPopIn .6s .7s ease both; }
.hero__sticker--2 { animation: stickerPopInAlt .6s .85s ease both; }
.hero__stats { animation: fadeInUp .7s .9s ease both; }
.product-detail__info { animation: slideInRight .7s .2s ease both; }

@keyframes reveal-in {
  from { opacity: 0; transform: translateY(32px); }
  to { opacity: 1; transform: translateY(0); }
}
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .section-header,
    .contact__card {
      animation: reveal-in .6s ease both;
      animation-timeline: view();
      animation-range: entry 0% entry 40%;
    }

    .category-card:nth-child(1),
    [data-section="products"] .product-card:nth-child(1),
    .testimonial-card:nth-child(1),
    .policy-card:nth-child(1) {
      animation: reveal-in .6s ease both;
      animation-timeline: view();
      animation-range: entry 0% entry 40%;
    }
    .category-card:nth-child(2),
    [data-section="products"] .product-card:nth-child(2),
    .testimonial-card:nth-child(2),
    .policy-card:nth-child(2) {
      animation: reveal-in .6s ease both;
      animation-timeline: view();
      animation-range: entry 8% entry 46%;
    }
    .category-card:nth-child(3),
    [data-section="products"] .product-card:nth-child(3),
    .testimonial-card:nth-child(3),
    .policy-card:nth-child(3) {
      animation: reveal-in .6s ease both;
      animation-timeline: view();
      animation-range: entry 16% entry 54%;
    }
    .category-card:nth-child(4),
    [data-section="products"] .product-card:nth-child(4),
    .testimonial-card:nth-child(4),
    .policy-card:nth-child(4) {
      animation: reveal-in .6s ease both;
      animation-timeline: view();
      animation-range: entry 24% entry 62%;
    }
    [data-section="products"] .product-card:nth-child(n+5) {
      animation: reveal-in .6s ease both;
      animation-timeline: view();
      animation-range: entry 32% entry 70%;
    }
  }
}

/* ──────────────────────────────────────────
   Contact form — added 2026-05-19. The dark
   .contact__card was already a 2-col grid;
   wrap the existing text+items in .contact__info
   (so they stack on the left) and let the new
   .contact__form claim the right column.
   ────────────────────────────────────────── */
.contact__info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.contact__items { margin-top: 0; }
.contact__form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
}
.btn--full { width: 100%; justify-content: center; }
.btn--lg { padding: 0.9rem 2rem; font-size: 1rem; }

@media (max-width: 768px) {
  .contact__info { gap: 1.25rem; }
}

/* Contact form — submitted-state + error styling (dark card) */
.contact__form-success {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
  color: #fff;
}
.contact__form-success-title {
  color: var(--primary-light);
  font-weight: 700;
  margin-bottom: 4px;
}
.contact__form-success-sub {
  font-size: 0.875rem;
  color: rgba(255,255,255,.7);
}
.form-error {
  display: block;
  margin-top: 4px;
  color: #f08080;
  font-size: 0.8125rem;
}
.form-error--banner {
  background: rgba(240,128,128,.08);
  border: 1px solid rgba(240,128,128,.2);
  border-radius: var(--radius);
  padding: 10px 14px;
}

/* ──────────────────────────────────────────
   Reduced motion — every entrance in this theme
   is now pure CSS `animation:` (no GSAP inline
   styles left to fight), so a CSS-only block is
   sufficient to stop the ambient loops and jump
   every entrance straight to its final frame.
   ────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .hero__deco--1,
  .hero__deco--2,
  .hero__deco--3 {
    animation: none;
  }
  .hero__text,
  .hero__media,
  .hero__sticker--1,
  .hero__sticker--2,
  .hero__stats,
  .product-detail__info {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

/* Own contrast (Weave item 54, theme:palette-stress --heal): with no palette, these read 4.5:1 on the theme's own
   backgrounds; each was proven by rendering the page. The palette block (html:root) still overrides the tokens. */
:root {
  --primary: #b742a8; /* was #c44fb5 */
}

/* Option picker (ecommerce lane, hand-built): the chosen option reaches the cart and the order. */
.variant-selector { margin: 0 0 1.25rem; border: none; padding: 0; }
.variant-selector__label { display: block; font-weight: 600; font-size: .9375rem; color: var(--text); margin-bottom: .625rem; padding: 0; }
.variant-selector__options { display: flex; flex-wrap: wrap; gap: .5rem; }
.variant-chip { display: block; cursor: pointer; position: relative; }
.variant-chip input { position: absolute; opacity: 0; pointer-events: none; }
.variant-chip span { display: inline-flex; align-items: center; justify-content: center; padding: .5rem 1.125rem; border: 1.5px solid var(--border); border-radius: 999px; font-size: .875rem; font-weight: 500; color: var(--text); background: #fff; transition: all .2s; }
.variant-chip:hover span { border-color: var(--primary); color: var(--primary); }
.variant-chip--active span, .variant-chip--active:hover span { background: var(--primary); border-color: var(--primary); color: #fff; }
.variant-chip input:focus-visible + span { outline: 2px solid var(--primary); outline-offset: 2px; }
/* Option picker status and the add button before an option is chosen. */
.variant-picker__status { font-size: .85rem; color: var(--muted, #6b7280); margin: 0 0 1rem; min-height: 1.2em; }
[data-cart-add-button]:disabled { opacity: .5; cursor: not-allowed; }
