/* =========================================================================
   NuNU Toys — brand stylesheet
   Palette and shapes taken from the NuNU brand board: warm cream paper,
   muted sage, terracotta, mustard, dusty lavender, cocoa.
   ========================================================================= */

:root {
  /* surfaces */
  --cream: #F7F2E8;
  --ivory: #FDFBF6;
  --sand: #EFE6D6;
  --paper: #F3EADB;

  /* brand colours */
  --sage: #7C8B6B;
  --sage-deep: #5E6B4F;
  --sage-soft: #A8B598;
  --terracotta: #C4694A;
  --terracotta-soft: #DB9077;
  --mustard: #D9A036;
  --mustard-soft: #E7C078;
  --lavender: #A99BC1;
  --lavender-soft: #C9BFDB;
  --cocoa: #4A3B31;
  --peach: #E9B99B;
  --beige: #D9CDB8;

  /* text */
  --ink: #4A3B31;
  --ink-soft: #7A6959;
  --ink-faint: #9C8B7B;

  /* system */
  --ok: #4E7A4A;
  --alert: #B0553A;

  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 32px;
  --radius-xl: 44px;
  --pill: 999px;

  --shadow-sm: 0 2px 10px rgba(74, 59, 49, .06);
  --shadow: 0 10px 30px rgba(74, 59, 49, .09);
  --shadow-lg: 0 24px 60px rgba(74, 59, 49, .14);

  --ease: cubic-bezier(.22, .8, .3, 1);
  --header-h: 72px;

  --font-display: 'Fredoka', ui-rounded, 'SF Pro Rounded', 'Segoe UI', system-ui, sans-serif;
  --font-body: 'Nunito Sans', ui-rounded, 'SF Pro Rounded', system-ui, -apple-system, sans-serif;

  --wrap: 1240px;
  --gutter: 20px;
}

html[dir='rtl'] {
  --font-display: 'Cairo', 'Fredoka', ui-rounded, system-ui, sans-serif;
  --font-body: 'Tajawal', 'Nunito Sans', ui-rounded, system-ui, sans-serif;
}

/* ------------------------------------------------------------------ base */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
  position: relative;
}

/* soft paper wash — a fixed layer rather than background-attachment,
   which stutters badly on mobile Safari */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 900px 500px at 12% -5%, rgba(232, 214, 186, .55), transparent 60%),
    radial-gradient(ellipse 700px 420px at 95% 12%, rgba(216, 208, 226, .35), transparent 60%);
}

body.locked { overflow: hidden; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.16;
  margin: 0;
  letter-spacing: -.01em;
}

html[dir='rtl'] h1,
html[dir='rtl'] h2,
html[dir='rtl'] h3,
html[dir='rtl'] h4 { letter-spacing: 0; line-height: 1.35; }

p { margin: 0; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; }

:focus-visible {
  outline: 3px solid var(--sage);
  outline-offset: 3px;
  border-radius: 6px;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.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;
}

.eyebrow {
  font-family: var(--font-body);
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 14px;
}
html[dir='rtl'] .eyebrow { letter-spacing: .06em; }

.section { padding-block: clamp(56px, 8vw, 104px); position: relative; }
.section-head { max-width: 620px; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head h2 { font-size: clamp(1.9rem, 4.2vw, 3rem); }
.section-head p { color: var(--ink-soft); margin-top: 14px; font-size: 1.05rem; }

/* ------------------------------------------------------------- buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: var(--pill);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background-color .3s var(--ease);
  will-change: transform;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }

.btn-primary { background: var(--sage); color: var(--ivory); box-shadow: 0 8px 20px rgba(94, 107, 79, .28); }
.btn-primary:hover { background: var(--sage-deep); box-shadow: 0 14px 30px rgba(94, 107, 79, .34); }

.btn-secondary {
  background: var(--ivory);
  color: var(--ink);
  box-shadow: inset 0 0 0 1.5px rgba(124, 139, 107, .35), var(--shadow-sm);
}
.btn-secondary:hover { background: #fff; box-shadow: inset 0 0 0 1.5px var(--sage), var(--shadow); }

.btn-terracotta { background: var(--terracotta); color: var(--ivory); box-shadow: 0 8px 20px rgba(196, 105, 74, .28); }
.btn-terracotta:hover { background: #B25C3F; }

.btn-block { width: 100%; }
.btn[disabled] { opacity: .5; pointer-events: none; }

/* ------------------------------------------------------ announcement bar */
.announce {
  background: var(--sage);
  color: var(--ivory);
  font-size: .82rem;
  letter-spacing: .04em;
  height: 38px;
  display: flex;
  align-items: center;
  overflow: hidden;
  position: relative;
  z-index: 60;
}
.announce-track {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  gap: 10px;
}
.announce-item {
  display: none;
  align-items: center;
  gap: 10px;
  animation: annIn .6s var(--ease);
}
.announce-item.on { display: flex; }
.announce-item svg { width: 15px; height: 15px; opacity: .85; flex: none; }
@keyframes annIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* ---------------------------------------------------------------- header */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 242, 232, .82);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  transition: box-shadow .3s var(--ease), background-color .3s var(--ease);
}
.header.stuck { box-shadow: 0 4px 24px rgba(74, 59, 49, .07); background: rgba(247, 242, 232, .94); }

.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 18px;
}

.brand { display: flex; align-items: center; flex: none; }
.brand img { height: 42px; width: auto; }

.nav { display: flex; align-items: center; gap: 4px; margin-inline-start: 14px; }
.nav a {
  padding: 9px 14px;
  border-radius: var(--pill);
  font-weight: 600;
  font-size: .95rem;
  color: var(--ink);
  transition: background-color .25s var(--ease), color .25s var(--ease);
}
.nav a:hover { background: rgba(124, 139, 107, .14); }

/* social links carry their logo, and sit slightly apart from the page links */
.nav-social { display: inline-flex; align-items: center; gap: 7px; }
.nav-social svg { width: 17px; height: 17px; flex: none; }
.nav-social:first-of-type { margin-inline-start: 6px; }

.header-tools { margin-inline-start: auto; display: flex; align-items: center; gap: 6px; }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 40px;
  padding: 0 14px;
  border-radius: var(--pill);
  font-size: .85rem;
  font-weight: 700;
  color: var(--ink);
  background: rgba(253, 251, 246, .8);
  box-shadow: inset 0 0 0 1px rgba(124, 139, 107, .22);
  transition: box-shadow .25s var(--ease), background-color .25s var(--ease);
}
.chip:hover { background: #fff; box-shadow: inset 0 0 0 1.5px var(--sage-soft); }
.chip svg { width: 16px; height: 16px; }
.chip.icon-only { width: 40px; padding: 0; justify-content: center; color: var(--ink-soft); }
.chip.icon-only:hover { color: var(--terracotta); }
.chip.icon-only svg { width: 18px; height: 18px; }

.lang-toggle { position: relative; padding: 0; overflow: hidden; }
.lang-toggle button {
  height: 40px;
  padding: 0 13px;
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .04em;
  color: var(--ink-soft);
  transition: color .25s var(--ease), background-color .25s var(--ease);
}
.lang-toggle button.on { background: var(--sage); color: var(--ivory); }

.select-chip { position: relative; }
.select-chip select {
  appearance: none;
  height: 40px;
  padding-inline: 14px 32px;
  border: 0;
  border-radius: var(--pill);
  background: rgba(253, 251, 246, .8);
  box-shadow: inset 0 0 0 1px rgba(124, 139, 107, .22);
  font-size: .85rem;
  font-weight: 700;
  cursor: pointer;
}
.select-chip::after {
  content: '';
  position: absolute;
  inset-inline-end: 13px;
  top: 50%;
  width: 7px; height: 7px;
  border-right: 2px solid var(--ink-soft);
  border-bottom: 2px solid var(--ink-soft);
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}

.cart-btn { position: relative; background: var(--cocoa); color: var(--ivory); box-shadow: none; }
.cart-btn:hover { background: #382C24; box-shadow: none; }
.cart-count {
  min-width: 21px;
  height: 21px;
  padding: 0 6px;
  border-radius: var(--pill);
  background: var(--terracotta);
  color: #fff;
  font-size: .72rem;
  font-weight: 800;
  display: grid;
  place-items: center;
  line-height: 1;
}
.cart-count.bump { animation: bump .5s var(--ease); }
@keyframes bump {
  0% { transform: scale(1); }
  35% { transform: scale(1.45); }
  60% { transform: scale(.9); }
  100% { transform: scale(1); }
}

.burger { display: none; }

/* mobile drawer nav */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: var(--cream);
  padding: 22px var(--gutter) 40px;
  transform: translateY(-100%);
  transition: transform .45s var(--ease);
  overflow-y: auto;
}
.mobile-nav.open { transform: none; }
.mobile-nav-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 26px; }
.mobile-nav a.mlink {
  display: block;
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 600;
  padding: 14px 0;
  border-bottom: 1px solid rgba(124, 139, 107, .18);
}
.mobile-nav a.mlink-social { display: flex; align-items: center; gap: 12px; }
.mobile-nav a.mlink-social svg { width: 24px; height: 24px; flex: none; color: var(--terracotta); }
.mobile-nav-tools { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 10px; }

/* ------------------------------------------------------------------ hero */
.hero { position: relative; padding-block: clamp(40px, 6vw, 76px) clamp(60px, 8vw, 110px); overflow: hidden; }
.hero-inner {
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
}
.hero-tagline {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--sage-deep);
  background: rgba(168, 181, 152, .22);
  padding: 9px 18px;
  border-radius: var(--pill);
  margin-bottom: 22px;
}
html[dir='rtl'] .hero-tagline { letter-spacing: .02em; }
.hero-tagline .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--terracotta); }

.hero h1 { font-size: clamp(2.3rem, 5.6vw, 4.1rem); }
.hero h1 .line2 { color: var(--sage-deep); display: block; }
.hero-body { margin-top: 20px; font-size: 1.1rem; color: var(--ink-soft); max-width: 30rem; }
.hero-cta { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 14px; }
.hero-meta { margin-top: 30px; display: flex; align-items: center; gap: 12px; color: var(--ink-faint); font-size: .87rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.hero-meta .rule { height: 1px; width: 44px; background: rgba(124, 139, 107, .4); }

/* floating product arrangement */
.hero-art { position: relative; min-height: clamp(340px, 46vw, 560px); }
.hero-arch {
  position: absolute;
  inset-inline-start: 8%;
  top: 2%;
  width: 74%;
  height: 88%;
  border-radius: 50% 50% 26px 26px / 62% 62% 26px 26px;
  background: linear-gradient(170deg, rgba(168, 181, 152, .5), rgba(233, 185, 155, .38));
}
.hero-arch::after {
  content: '';
  position: absolute;
  inset-inline-end: -14%;
  bottom: 6%;
  width: 42%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(201, 191, 219, .45);
}
.float {
  position: absolute;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--ivory);
  animation: bob 7s ease-in-out infinite;
}
.float img { width: 100%; height: 100%; object-fit: cover; }
.float-a { width: 54%; inset-inline-start: 2%;  top: 6%;  z-index: 3; }
.float-b { width: 40%; inset-inline-end: 0;     top: 30%; z-index: 4; animation-delay: -2.4s; }
.float-c { width: 34%; inset-inline-start: 20%; bottom: 0; z-index: 5; animation-delay: -4.6s; }
@keyframes bob {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-14px) rotate(-.7deg); }
}

/* ---------------------------------------------------------- wave divider */
.wave { display: block; width: 100%; height: auto; }
.wave-sage path { fill: rgba(168, 181, 152, .3); }

/* --------------------------------------------------------------- pillars */
.pillars { background: var(--paper); }
.pillar-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(14px, 2vw, 26px);
}
.pillar {
  background: var(--ivory);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  box-shadow: var(--shadow-sm);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.pillar:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.pillar-icon {
  width: 56px; height: 56px;
  border-radius: 18px;
  display: grid; place-items: center;
  margin-bottom: 18px;
  background: rgba(168, 181, 152, .24);
  color: var(--sage-deep);
}
.pillar:nth-child(2) .pillar-icon { background: rgba(217, 160, 54, .2); color: #A87716; }
.pillar:nth-child(3) .pillar-icon { background: rgba(196, 105, 74, .16); color: var(--terracotta); }
.pillar:nth-child(4) .pillar-icon { background: rgba(169, 155, 193, .24); color: #7A6A97; }
.pillar-icon svg { width: 28px; height: 28px; }
.pillar h3 { font-size: 1.18rem; margin-bottom: 8px; }
.pillar p { color: var(--ink-soft); font-size: .95rem; }
.pillar:hover .pillar-icon svg { animation: nudge .7s var(--ease); }
@keyframes nudge {
  0%, 100% { transform: none; }
  40% { transform: translateY(-5px) rotate(-6deg); }
}

/* ------------------------------------------------------------------ shop */
.shop-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 22px; }
.filters { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: clamp(24px, 3vw, 36px); }
.filter {
  padding: 11px 20px;
  border-radius: var(--pill);
  font-weight: 700;
  font-size: .92rem;
  color: var(--ink-soft);
  background: rgba(253, 251, 246, .75);
  box-shadow: inset 0 0 0 1px rgba(124, 139, 107, .22);
  transition: all .3s var(--ease);
}
.filter:hover { color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--sage-soft); }
.filter.on { background: var(--sage); color: var(--ivory); box-shadow: none; }

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: clamp(16px, 2.2vw, 28px);
}

.card {
  background: var(--ivory);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), opacity .35s var(--ease);
}
.card:hover { transform: translateY(-7px); box-shadow: var(--shadow); }
.card.hide { display: none; }

.card-media {
  position: relative;
  aspect-ratio: 1;
  background: var(--sand);
  overflow: hidden;
  cursor: pointer;
}
.card-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: opacity .35s var(--ease);
}

/* swipeable strip of photographs, without opening the product */
.card-slides {
  position: absolute;
  inset: 0;
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
}
.card-slides::-webkit-scrollbar { display: none; }
.card-slide { flex: 0 0 100%; scroll-snap-align: center; height: 100%; }

.card-dots {
  position: absolute;
  inset-inline: 0;
  bottom: 10px;
  z-index: 3;
  display: flex;
  justify-content: center;
  gap: 6px;
  pointer-events: none;
}
.card-dots .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(253, 251, 246, .6);
  box-shadow: 0 1px 3px rgba(74, 59, 49, .35);
  transition: width .3s var(--ease), background-color .3s var(--ease);
}
.card-dots .dot.on { width: 18px; border-radius: var(--pill); background: var(--ivory); }

.slide-nav {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 34px; height: 34px;
  margin-top: -17px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(253, 251, 246, .92);
  color: var(--ink);
  box-shadow: var(--shadow-sm);
  opacity: 0;
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.slide-nav svg { width: 17px; height: 17px; }
.slide-nav.prev { inset-inline-start: 8px; }
.slide-nav.next { inset-inline-end: 8px; }
html[dir='rtl'] .slide-nav.prev svg,
html[dir='rtl'] .slide-nav.next svg { transform: scaleX(-1); }
.card:hover .slide-nav { opacity: 1; }
.slide-nav:hover { transform: scale(1.08); }

@media (hover: none) {
  .slide-nav { display: none; }     /* swipe instead */
}

/* mechanism demonstration */
.card-media.demo img { animation-duration: 1.5s; animation-timing-function: var(--ease); animation-iteration-count: 2; }
.card-media.demo.m-twist img     { animation-name: mTwist; }
.card-media.demo.m-pull img      { animation-name: mPull; }
.card-media.demo.m-open img      { animation-name: mOpen; }
.card-media.demo.m-bend img      { animation-name: mBend; }
.card-media.demo.m-peel img      { animation-name: mPeel; }
.card-media.demo.m-pour img      { animation-name: mPour; }
.card-media.demo.m-dispense img  { animation-name: mDispense; }
.card-media.demo.m-flex img      { animation-name: mFlex; }
.card-media.demo.m-reveal img    { animation-name: mReveal; }

@keyframes mTwist    { 0%,100% { transform: none; } 50% { transform: rotate(9deg) scale(1.05); } }
@keyframes mPull     { 0%,100% { transform: none; } 50% { transform: translateY(-16px) scale(1.05); } }
@keyframes mOpen     { 0%,100% { transform: none; } 50% { transform: perspective(700px) rotateX(13deg) scale(1.04); } }
@keyframes mBend     { 0%,100% { transform: none; } 30% { transform: skewX(-6deg) scale(1.03); } 65% { transform: skewX(5deg) scale(1.03); } }
@keyframes mPeel     { 0%,100% { transform: none; } 40% { transform: rotate(-5deg) translateY(-8px); } 70% { transform: rotate(4deg); } }
@keyframes mPour     { 0%,100% { transform: none; } 50% { transform: rotate(-7deg) translateX(8px) scale(1.04); } }
@keyframes mDispense { 0%,100% { transform: none; } 45% { transform: translateY(10px) scale(1.05); } }
@keyframes mFlex     { 0%,100% { transform: none; } 33% { transform: skewY(4deg); } 66% { transform: skewY(-4deg); } }
@keyframes mReveal   { 0%,100% { transform: none; } 50% { transform: scale(1.09) rotate(-3deg); } }

/* real footage sits over the photograph and fades in when played */
.card-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  pointer-events: none;
  transition: opacity .4s var(--ease);
}
.card-media.playing .card-video { opacity: 1; }
.card-media.playing img { opacity: 0; }

.moves-btn {
  position: absolute;
  inset-inline-start: 12px;
  bottom: 12px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 15px;
  border-radius: var(--pill);
  background: rgba(253, 251, 246, .92);
  backdrop-filter: blur(6px);
  color: var(--ink);
  font-size: .8rem;
  font-weight: 700;
  box-shadow: var(--shadow-sm);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.card:hover .moves-btn, .card-media:focus-within .moves-btn { opacity: 1; transform: none; }
.moves-btn svg { width: 15px; height: 15px; color: var(--terracotta); }
.moves-btn .arrows { animation: spinny 2.4s linear infinite; }
@keyframes spinny { to { transform: rotate(360deg); } }

.badge {
  position: absolute;
  inset-inline-end: 12px;
  top: 12px;
  padding: 6px 13px;
  border-radius: var(--pill);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
  background: var(--mustard);
  color: #4A3B31;
}
.badge.soldout { background: var(--cocoa); color: var(--ivory); }
.badge.soon { background: var(--lavender); color: var(--ivory); }

/* WhatsApp-coloured control for toys that are not priced online yet */
.ask-btn { background: #25D366 !important; color: #fff !important; }
.ask-btn:hover { background: #1EBE5B !important; }
.ask-btn svg { width: 16px; height: 16px; }

.request-note {
  margin-top: 18px;
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  background: rgba(169, 155, 193, .2);
  color: #5F5280;
  font-size: .88rem;
  font-weight: 700;
}

/* extra shots of the same toy */
.modal-thumbs {
  position: absolute;
  inset-inline-start: 0;
  inset-inline-end: 0;
  bottom: 14px;
  display: flex;
  justify-content: center;
  gap: 8px;
  z-index: 3;
}
.thumb {
  width: 54px;
  height: 54px;
  padding: 0;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 0 0 2px rgba(253, 251, 246, .8), var(--shadow-sm);
  transition: box-shadow .25s var(--ease), transform .25s var(--ease);
}
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb:hover { transform: translateY(-2px); }
.thumb.on { box-shadow: 0 0 0 3px var(--sage), var(--shadow); }

/* placeholder scene for products awaiting photography */
.photo-soon {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background:
    radial-gradient(120% 80% at 50% 100%, rgba(196, 105, 74, .16), transparent 60%),
    linear-gradient(180deg, var(--cream), var(--sand));
}
.photo-soon .scene { width: 62%; }
.photo-soon .label {
  position: absolute;
  bottom: 16px;
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
html[dir='rtl'] .photo-soon .label { letter-spacing: .02em; }

.card-body { padding: 20px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.card-cat { font-size: .74rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--sage); }
html[dir='rtl'] .card-cat { letter-spacing: .02em; }
.card-title { font-size: 1.2rem; margin-top: 7px; }
.title-btn { font: inherit; color: inherit; padding: 0; text-align: start; transition: color .25s var(--ease); }
.title-btn:hover { color: var(--terracotta); }
.card-blurb { margin-top: 8px; color: var(--ink-soft); font-size: .92rem; flex: 1; }

.swatches { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 16px; }
.swatch {
  flex: none;              /* narrow cards were squashing these into ovals */
  width: 26px; height: 26px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .85), 0 0 0 1px rgba(74, 59, 49, .12);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.swatch:hover { transform: scale(1.12); }
.swatch.on { box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .9), 0 0 0 2.5px var(--cocoa); transform: scale(1.1); }
.swatch-label { font-size: .8rem; color: var(--ink-faint); font-weight: 700; }

.card-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 12px; margin-top: 18px; }
.price { font-family: var(--font-display); font-size: 1.28rem; font-weight: 600; white-space: nowrap; }
.price small { font-size: .68em; font-weight: 600; color: var(--ink-faint); margin-inline-start: 4px; }
.price.ask { font-size: .95rem; color: var(--terracotta); }
.price .was {
  display: block;
  font-family: var(--font-body);
  font-size: .78rem;
  font-weight: 700;
  color: var(--ink-faint);
  text-decoration: line-through;
  margin-top: 2px;
}

.add-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: var(--pill);
  background: var(--sage);
  color: var(--ivory);
  font-weight: 700;
  font-size: .9rem;
  transition: background-color .3s var(--ease), transform .3s var(--ease);
}
.add-btn span { white-space: nowrap; }

/* once a toy is in the basket the button becomes a counter */
.card-qty {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 4px;
  border-radius: var(--pill);
  background: var(--sage);
  color: var(--ivory);
  animation: qtyIn .35s var(--ease);
}
.card-qty button {
  width: 32px; height: 32px;
  border-radius: 50%;
  color: var(--ivory);
  font-weight: 800;
  font-size: 1.05rem;
  line-height: 1;
  transition: background-color .2s var(--ease);
}
.card-qty button:hover { background: rgba(253, 251, 246, .22); }
.card-qty span { min-width: 26px; text-align: center; font-weight: 800; font-size: .95rem; }
@keyframes qtyIn { from { transform: scale(.82); opacity: 0; } to { transform: none; opacity: 1; } }

@media (max-width: 640px) {
  .card-qty { align-self: center; }
  .card-qty button { width: 38px; height: 38px; }
}
.add-btn:hover { background: var(--sage-deep); transform: translateY(-2px); }
.add-btn.done { background: var(--ok); }
.add-btn svg { width: 16px; height: 16px; }

/* ----------------------------------------------------------------- story */
.story { background: linear-gradient(180deg, #F8EDE5, #F3E3D8); }
.story-inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 70px); align-items: center; }
.story-copy p { color: var(--ink-soft); margin-top: 16px; font-size: 1.03rem; }
.story-art { position: relative; }
.story-art img { border-radius: var(--radius-xl); box-shadow: var(--shadow-lg); aspect-ratio: 5 / 4; object-fit: cover; object-position: 50% 42%; }
.story-art .tag {
  position: absolute;
  inset-inline-end: -10px;
  bottom: -18px;
  background: var(--ivory);
  border-radius: var(--radius);
  padding: 16px 22px;
  box-shadow: var(--shadow);
  font-family: var(--font-display);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 12px;
}
.story-art .tag img { width: 44px; border-radius: 0; box-shadow: none; }

/* ---------------------------------------------------------------- safety */
.safety-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(14px, 2vw, 22px); }
.safety-item {
  display: flex;
  gap: 18px;
  background: var(--ivory);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: var(--shadow-sm);
}
.safety-item .ic {
  flex: none;
  width: 46px; height: 46px;
  border-radius: 14px;
  display: grid; place-items: center;
  background: rgba(124, 139, 107, .16);
  color: var(--sage-deep);
}
.safety-item .ic svg { width: 24px; height: 24px; }
.safety-item h3 { font-size: 1.06rem; margin-bottom: 6px; }
.safety-item p { color: var(--ink-soft); font-size: .93rem; }

/* ---------------------------------------------------- section tinting
   The palette is warm but low-contrast, so long stretches read as one flat
   cream. These are barely-there washes of the brand colours, used to give the
   page a rhythm without introducing a colour that isn't already the brand's. */
.tone-honey { background: linear-gradient(180deg, #F6EEDB, #F2E6CD); }
.tone-blush { background: linear-gradient(180deg, #F8EDE5, #F3E3D8); }
.tone-lilac { background: linear-gradient(180deg, #F2EEF4, #ECE6F0); }

/* pointer to the films on social */
.watch-note {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  font-size: .93rem;
  color: var(--ink-soft);
}
.watch-note > svg { width: 18px; height: 18px; color: var(--terracotta); flex: none; }
.watch-note a {
  font-weight: 800;
  color: var(--sage-deep);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1.5px;
}
.watch-note a:hover { color: var(--terracotta); }

/* --------------------------------------------------------- volume tiers */
.tier-board {
  background: var(--ivory);
  border-radius: var(--radius-lg);
  padding: clamp(22px, 3vw, 32px);
  box-shadow: var(--shadow-sm);
  margin-bottom: clamp(20px, 3vw, 30px);
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(16px, 3vw, 40px);
  align-items: center;
}
.tier-board h3 { font-size: clamp(1.2rem, 2.2vw, 1.6rem); }
.tier-board p { color: var(--ink-soft); font-size: .95rem; margin-top: 8px; }
.tier-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.tier-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: .95rem;
  background: var(--sand);
  border-radius: var(--pill);
  padding: 9px 16px;
}
.tier-list .tier-free { background: rgba(78, 122, 74, .14); color: #3C6339; }
.tier-list .tier-free .pct { background: var(--ok); display: grid; place-items: center; }
.tier-list .tier-free .pct svg { width: 15px; height: 15px; }
.tier-list .pct {
  min-width: 46px;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--ivory);
  background: var(--sage);
  border-radius: var(--pill);
  padding: 3px 10px;
  font-size: .88rem;
}

/* --------------------------------------------------------------- bundles */
.bundle-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.2vw, 26px); }
.bundle {
  background: var(--ivory);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.bundle:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.bundle { position: relative; }
.bundle-save {
  position: absolute;
  inset-inline-end: 14px;
  top: 14px;
  z-index: 3;
  background: var(--terracotta);
  color: var(--ivory);
  border-radius: var(--pill);
  padding: 6px 14px;
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  box-shadow: var(--shadow-sm);
}
html[dir='rtl'] .bundle-save { letter-spacing: 0; }
/* fixed height whether the set shows one row of tiles or two, so cards in the
   row stay the same shape */
.bundle-media {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 1fr;
  aspect-ratio: 3 / 2;
  gap: 3px;
  background: var(--sand);
}
.bundle-media > * { overflow: hidden; position: relative; }
.bundle-media img { width: 100%; height: 100%; object-fit: cover; }
.bundle-body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.bundle-body h3 { font-size: 1.16rem; }
.bundle-body p { color: var(--ink-soft); font-size: .9rem; margin-top: 7px; }
.bundle-body .bundle-contents {
  font-size: .82rem;
  color: var(--ink-faint);
  font-weight: 700;
  line-height: 1.55;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(124, 139, 107, .2);
  flex: 1;
}
.bundle-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 18px; }

/* ---------------------------------------------------------- tiktok wall */
.tiktok-total {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 16px;
  padding: 9px 18px;
  border-radius: var(--pill);
  background: var(--cocoa);
  color: var(--ivory);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.02rem;
}

.video-wall {
  display: grid;
  grid-auto-flow: column;
  /* fixed, modest tiles — a 9:16 crop stretched to a full column is enormous */
  grid-auto-columns: 186px;
  justify-content: start;
  gap: clamp(12px, 1.6vw, 18px);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 6px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}
.vid { scroll-snap-align: start; display: block; }
.vid-media {
  position: relative;
  display: block;
  aspect-ratio: 9 / 16;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--sand);
  box-shadow: var(--shadow-sm);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.vid:hover .vid-media { transform: translateY(-6px); box-shadow: var(--shadow); }
.vid-media img,
.vid-clip { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vid-clip { opacity: 0; transition: opacity .4s var(--ease); }
.vid.playing .vid-clip { opacity: 1; }

.vid-views {
  position: absolute;
  inset-inline-start: 8px;
  top: 8px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 11px;
  border-radius: var(--pill);
  background: rgba(74, 59, 49, .72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #fff;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .01em;
}
.vid-views svg { width: 11px; height: 11px; }
.vid-caption {
  display: block;
  margin-top: 10px;
  font-size: .82rem;
  font-weight: 700;
  color: var(--ink-soft);
  line-height: 1.4;
}
.video-cta { margin-top: clamp(20px, 3vw, 30px); }
.video-cta span { white-space: nowrap; }
.video-cta svg { width: 18px; height: 18px; }

@media (max-width: 640px) {
  .video-wall {
    grid-auto-columns: 45%;
    margin-inline: calc(var(--gutter) * -1);
    padding-inline: var(--gutter);
  }
}

/* ------------------------------------------------------------- instagram */
.insta { background: var(--sage); color: var(--ivory); border-radius: var(--radius-xl); padding: clamp(32px, 5vw, 60px); }
.insta-inner { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(24px, 4vw, 50px); align-items: center; }
.insta .eyebrow { color: var(--mustard-soft); }
.insta h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
.insta p { color: rgba(253, 251, 246, .84); margin-top: 14px; }
.social-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.insta-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.insta-tiles a { aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.insta-tiles img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.insta-tiles a:hover img { transform: scale(1.08); }

/* ------------------------------------------------------------------- faq */
.faq-list { max-width: 800px; }
.faq-item { border-bottom: 1px solid rgba(124, 139, 107, .24); }
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0;
  text-align: start;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
}
.faq-q .plus { flex: none; width: 22px; height: 22px; position: relative; }
.faq-q .plus::before, .faq-q .plus::after {
  content: ''; position: absolute; inset: 0; margin: auto;
  background: var(--terracotta); border-radius: 2px;
  transition: transform .35s var(--ease), opacity .35s var(--ease);
}
.faq-q .plus::before { width: 100%; height: 2.5px; }
.faq-q .plus::after { width: 2.5px; height: 100%; }
.faq-item.open .plus::after { transform: rotate(90deg); opacity: 0; }
.faq-a { overflow: hidden; height: 0; transition: height .4s var(--ease); }
.faq-a p { color: var(--ink-soft); padding-bottom: 22px; max-width: 62ch; }

/* ---------------------------------------------------------------- footer */
.footer { background: var(--cocoa); color: rgba(253, 251, 246, .78); padding-block: clamp(46px, 6vw, 74px) 30px; margin-top: clamp(40px, 6vw, 80px); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: clamp(24px, 4vw, 50px); }
.footer img.flogo { width: 168px; }
.footer h4 { color: var(--ivory); font-size: 1rem; margin-bottom: 14px; }
.footer a:hover { color: var(--ivory); }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; font-size: .94rem; }
/* large logo buttons — the thing people look for at the foot of a page */
.social-row { display: flex; gap: 12px; margin-top: 22px; }
.social-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--ivory);
  box-shadow: inset 0 0 0 1.5px rgba(253, 251, 246, .35);
  transition: transform .3s var(--ease), background-color .3s var(--ease),
              color .3s var(--ease), box-shadow .3s var(--ease);
}
.social-btn svg { width: 23px; height: 23px; }
.social-btn:hover { transform: translateY(-3px); box-shadow: none; }
.social-btn.ig:hover { background: #E1306C; color: #fff; }
.social-btn.tt:hover { background: #FDFBF6; color: #111; }
.social-btn.wa:hover { background: #25D366; color: #fff; }

.footer-tagline { margin-top: 18px; font-family: var(--font-display); color: var(--mustard-soft); letter-spacing: .1em; }
.footer-note { margin-top: 12px; font-size: .9rem; max-width: 26rem; }
.footer-bottom {
  margin-top: 38px;
  padding-top: 22px;
  border-top: 1px solid rgba(253, 251, 246, .14);
  display: flex; flex-wrap: wrap; gap: 12px;
  align-items: center; justify-content: space-between;
  font-size: .85rem;
}

/* ------------------------------------------------------------ cart panel */
.scrim {
  position: fixed; inset: 0; z-index: 95;
  background: rgba(74, 59, 49, .42);
  backdrop-filter: blur(3px);
  opacity: 0; pointer-events: none;
  transition: opacity .4s var(--ease);
}
.scrim.on { opacity: 1; pointer-events: auto; }

.panel {
  position: fixed;
  inset-block: 0;
  inset-inline-end: 0;
  z-index: 100;
  width: min(440px, 100%);
  background: var(--cream);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-lg);
  transform: translateX(100%);
  transition: transform .45s var(--ease);
}
html[dir='rtl'] .panel { transform: translateX(-100%); }
.panel.open,
html[dir='rtl'] .panel.open { transform: none; }

.panel-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 22px;
  border-bottom: 1px solid rgba(124, 139, 107, .2);
}
.panel-head h2 { font-size: 1.3rem; }
.panel-sub {
  display: block;
  margin-top: 2px;
  font-size: .85rem;
  font-weight: 700;
  color: var(--sage);
}
.icon-btn {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(253, 251, 246, .9);
  box-shadow: inset 0 0 0 1px rgba(124, 139, 107, .22);
  transition: background-color .25s var(--ease);
}
.icon-btn:hover { background: #fff; }
.icon-btn svg { width: 18px; height: 18px; }

.panel-body { flex: 1; overflow-y: auto; padding: 18px 22px; }
.panel-foot { padding: 18px 22px 24px; border-top: 1px solid rgba(124, 139, 107, .2); background: var(--ivory); }

.line {
  display: grid;
  grid-template-columns: 74px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid rgba(124, 139, 107, .16);
  animation: lineIn .4s var(--ease);
}
@keyframes lineIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.line-media { width: 74px; aspect-ratio: 1; border-radius: 16px; overflow: hidden; background: var(--sand); }
.line-media img { width: 100%; height: 100%; object-fit: cover; }
.line h4 { font-size: .98rem; }
.line .meta { font-size: .82rem; color: var(--ink-faint); margin-top: 3px; }
.line .price { font-size: 1rem; margin-top: 6px; }
.qty { display: inline-flex; align-items: center; gap: 2px; background: var(--ivory); border-radius: var(--pill); box-shadow: inset 0 0 0 1px rgba(124, 139, 107, .24); }
.qty button { width: 30px; height: 30px; border-radius: 50%; font-weight: 800; color: var(--ink-soft); }
.qty button:hover { color: var(--terracotta); }
.qty span { min-width: 22px; text-align: center; font-weight: 800; font-size: .9rem; }
.line-remove { display: block; margin-top: 8px; font-size: .78rem; color: var(--ink-faint); text-decoration: underline; }
.line-remove:hover { color: var(--alert); }

/* the nudge toward the next tier — the reason the basket grows */
.nudge {
  display: flex;
  align-items: center;
  gap: 9px;
  background: rgba(217, 160, 54, .18);
  color: #7F5A0D;
  border-radius: var(--radius-sm);
  padding: 11px 15px;
  font-size: .9rem;
  font-weight: 700;
  margin-bottom: 14px;
}
.nudge::before {
  content: '';
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--mustard);
  flex: none;
}
.totals { display: grid; gap: 8px; margin-bottom: 16px; font-size: .95rem; }
.totals .saving, .saving { color: var(--ok); font-weight: 700; }
.off-tag {
  display: inline-block;
  margin-inline-start: 6px;
  padding: 2px 8px;
  border-radius: var(--pill);
  background: rgba(78, 122, 74, .18);
  font-size: .72rem;
  font-weight: 800;
}
.totals .saving strong, .saving strong { color: var(--ok); }
.totals div { display: flex; justify-content: space-between; gap: 12px; }
.totals .grand { font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; color: var(--ink); padding-top: 8px; border-top: 1px solid rgba(124, 139, 107, .24); }
.totals .muted { color: var(--ink-faint); }

.empty-cart { text-align: center; padding: 60px 20px; color: var(--ink-faint); }
.empty-cart svg { width: 74px; height: 74px; margin: 0 auto 18px; opacity: .5; }

/* checkout form */
.field { margin-bottom: 14px; }
.field label { display: block; font-size: .84rem; font-weight: 800; margin-bottom: 6px; }
.field label .opt { font-weight: 600; color: var(--ink-faint); }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 13px 15px;
  border-radius: 14px;
  border: 0;
  background: var(--ivory);
  box-shadow: inset 0 0 0 1.5px rgba(124, 139, 107, .26);
  transition: box-shadow .25s var(--ease);
}
.field textarea { min-height: 84px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; box-shadow: inset 0 0 0 2px var(--sage); }
.field.invalid input, .field.invalid select, .field.invalid textarea { box-shadow: inset 0 0 0 2px var(--alert); }
.field .err { display: none; color: var(--alert); font-size: .78rem; margin-top: 5px; font-weight: 700; }
.field.invalid .err { display: block; }
.form-note { font-size: .82rem; color: var(--ink-faint); margin-top: 10px; }

/* --------------------------------------------------- order confirmation */
.sent { text-align: center; padding-top: 22px; }
.sent-tick {
  width: 62px; height: 62px;
  margin: 0 auto 18px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(78, 122, 74, .16);
  color: var(--ok);
}
.sent-tick svg { width: 30px; height: 30px; }
.sent h3 { font-size: 1.35rem; letter-spacing: .02em; }
.sent p { color: var(--ink-soft); font-size: .93rem; margin-top: 12px; }
.sent .sent-safe {
  margin-top: 14px;
  padding: 11px 14px;
  border-radius: var(--radius-sm);
  background: rgba(78, 122, 74, .12);
  color: #3C6339;
  font-weight: 700;
  font-size: .86rem;
}
.sent .btn { margin-top: 18px; }

/* ------------------------------------------------------------ detail modal */
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: var(--gutter);
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s var(--ease);
}
.modal.open { opacity: 1; pointer-events: auto; }
.modal-card {
  position: relative;
  width: min(940px, 100%);
  max-height: 88vh;
  overflow-y: auto;
  background: var(--cream);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: 1fr 1fr;
  transform: translateY(24px) scale(.98);
  transition: transform .45s var(--ease);
}
.modal.open .modal-card { transform: none; }
.modal-media { position: relative; background: var(--sand); }
.modal-media img { width: 100%; height: 100%; object-fit: cover; min-height: 300px; }
.modal-media .modal-video {
  width: 100%;
  height: 100%;
  min-height: 300px;
  object-fit: cover;
  background: var(--cocoa);
  display: block;
}
.modal-close { position: absolute; inset-inline-end: 14px; top: 14px; z-index: 3; }
.modal-body { padding: clamp(22px, 3vw, 34px); }
.modal-body h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin-top: 8px; }
.modal-body .desc { color: var(--ink-soft); margin-top: 14px; }
.spec { margin-top: 20px; display: grid; gap: 12px; }
.spec-row { display: grid; grid-template-columns: 108px 1fr; gap: 14px; font-size: .9rem; align-items: start; }
.spec-row dt { font-weight: 800; color: var(--ink); }
.spec-row dd { margin: 0; color: var(--ink-soft); }
.mech-chip {
  display: inline-flex; align-items: center; gap: 9px;
  margin-top: 16px; padding: 10px 16px;
  border-radius: var(--pill);
  background: rgba(217, 160, 54, .18);
  color: #8A6110; font-weight: 700; font-size: .88rem;
}
.mech-chip svg { width: 17px; height: 17px; }
.modal-foot { margin-top: 24px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }

/* ------------------------------------------------------------------ chat */
.chat {
  position: fixed;
  inset-inline-end: 18px;
  bottom: 86px;
  z-index: 85;
  width: min(360px, calc(100vw - 36px));
  max-height: min(560px, calc(100vh - 130px));
  display: flex;
  flex-direction: column;
  background: var(--cream);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  opacity: 0;
  transform: translateY(14px) scale(.97);
  transform-origin: bottom right;
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
html[dir='rtl'] .chat { transform-origin: bottom left; }
.chat.open { opacity: 1; transform: none; }

/* `display: flex` above beats the browser's own [hidden] rule, so the panel
   stayed in the layout at zero opacity and swallowed every click in the
   bottom-right corner of the page. Both lines below are needed: the first
   removes it entirely when closed, the second keeps it click-through during
   the fade. */
.chat[hidden] { display: none; }
.chat:not(.open) { pointer-events: none; }

.chat-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 18px 14px;
  background: var(--sage);
  color: var(--ivory);
}
.chat-head h3 { font-size: 1.05rem; }
.chat-head p { font-size: .82rem; color: rgba(253, 251, 246, .85); margin-top: 3px; }
.chat-head .icon-btn { flex: none; background: rgba(253, 251, 246, .18); box-shadow: none; color: var(--ivory); }
.chat-head .icon-btn:hover { background: rgba(253, 251, 246, .3); }

.chat-body { padding: 16px 18px 18px; overflow-y: auto; }
.chat-intro { font-size: .88rem; color: var(--ink-soft); margin-bottom: 14px; }
.chat-quick { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 16px; }
.chat-quick .quick {
  padding: 8px 13px;
  border-radius: var(--pill);
  background: var(--ivory);
  box-shadow: inset 0 0 0 1px rgba(124, 139, 107, .3);
  font-size: .82rem;
  font-weight: 700;
  color: var(--ink-soft);
  transition: box-shadow .25s var(--ease), color .25s var(--ease);
}
.chat-quick .quick:hover { color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--sage); }
.chat-send { background: #25D366; color: #fff; }
.chat-send:hover { background: #1EBE5B; }
.chat-send svg, .chat-ig svg { width: 18px; height: 18px; }

.chat-or {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 12px 0;
  color: var(--ink-faint);
  font-size: .8rem;
  font-weight: 700;
}
.chat-or::before, .chat-or::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(124, 139, 107, .28);
}
.chat-ig {
  background: var(--ivory);
  color: var(--ink);
  box-shadow: inset 0 0 0 1.5px rgba(124, 139, 107, .35);
}
.chat-ig:hover { background: #fff; box-shadow: inset 0 0 0 1.5px #C13584; color: #C13584; }
.chat-ignote { margin-top: 10px; font-size: .78rem; color: var(--ink-faint); line-height: 1.45; }
.chat-email {
  margin-top: 14px;
  background: var(--ivory);
  color: var(--ink);
  box-shadow: inset 0 0 0 1.5px rgba(124, 139, 107, .35);
}
.chat-email:hover { background: #fff; box-shadow: inset 0 0 0 1.5px var(--sage); }
.chat-email svg { width: 18px; height: 18px; }

@media (max-width: 640px) {
  .chat { bottom: 140px; inset-inline: 12px; width: auto; }
}

/* ---------------------------------------------------- floating utilities */
.wa-float {
  position: fixed;
  inset-inline-end: 18px;
  bottom: 18px;
  z-index: 80;
  width: 56px; height: 56px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: #25D366;
  color: #fff;
  box-shadow: 0 10px 28px rgba(37, 211, 102, .42);
  transition: transform .35s var(--ease);
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 29px; height: 29px; }

.sticky-cart {
  position: fixed;
  inset-inline: 14px;
  bottom: 14px;
  z-index: 79;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 13px 18px;
  border-radius: var(--pill);
  background: var(--cocoa);
  color: var(--ivory);
  box-shadow: var(--shadow-lg);
  transform: translateY(120%);
  transition: transform .45s var(--ease);
}
.sticky-cart.show { transform: none; }
.sticky-cart .label { font-weight: 800; font-size: .92rem; }
.sticky-cart .go { font-family: var(--font-display); font-weight: 600; }

.toast {
  position: fixed;
  inset-inline-start: 50%;
  bottom: 26px;
  z-index: 120;
  transform: translate(-50%, 140%);
  background: var(--cocoa);
  color: var(--ivory);
  padding: 13px 22px;
  border-radius: var(--pill);
  font-weight: 700;
  font-size: .92rem;
  box-shadow: var(--shadow-lg);
  transition: transform .5s var(--ease);
  display: flex; align-items: center; gap: 10px;
}
html[dir='rtl'] .toast { transform: translate(50%, 140%); }
.toast.show { transform: translate(-50%, 0); }
html[dir='rtl'] .toast.show { transform: translate(50%, 0); }
.toast svg { width: 17px; height: 17px; color: var(--sage-soft); }

/* ------------------------------------------------------- scroll reveals */
/* only hidden when scripting is available to reveal them again */
html.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
html.js .reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
.reveal.d4 { transition-delay: .32s; }

/* --------------------------------------------------------------- responsive */
@media (max-width: 1080px) {
  .pillar-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .nav { display: none; }
  .burger { display: inline-flex; }
  .header-tools .desktop-only { display: none; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-art { order: -1; min-height: 320px; }
  .story-inner { grid-template-columns: 1fr; }
  .insta-inner { grid-template-columns: 1fr; }
  .bundle-grid { grid-template-columns: 1fr; }
  .tier-board { grid-template-columns: 1fr; }
  .modal-card { grid-template-columns: 1fr; }
  /* stacked: keep the photograph from pushing price and Add to cart off-screen */
  .modal-media img,
  .modal-media .modal-video { min-height: 0; aspect-ratio: 16 / 11; max-height: 40vh; }
  .sticky-cart { display: flex; }
}

@media (max-width: 640px) {
  :root { --gutter: 16px; --header-h: 64px; }

  /* finger-sized controls: colour swatches and quantity steppers are the
     smallest things on the page and the easiest to mis-tap */
  .swatch { width: 34px; height: 34px; }
  .qty button, .pick-qty button { width: 38px; height: 38px; }
  .thumb { width: 60px; height: 60px; }
  .brand img { height: 34px; }
  .safety-grid { grid-template-columns: 1fr; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .card-body { padding: 14px 14px 16px; }
  .card-title { font-size: 1rem; }
  .card-blurb { display: none; }
  .card-foot { flex-direction: column; align-items: stretch; gap: 10px; }
  .add-btn { justify-content: center; }
  .moves-btn { opacity: 1; transform: none; inset-inline-start: 8px; bottom: 8px; padding: 7px 12px; font-size: .74rem; }
  .hero-cta .btn { flex: 1 1 100%; }
  .footer-grid { grid-template-columns: 1fr; }
  .insta { border-radius: var(--radius-lg); }
  .wa-float { bottom: 76px; }
  .line { grid-template-columns: 60px 1fr auto; }
  .line-media { width: 60px; }
  .spec-row { grid-template-columns: 92px 1fr; }
}

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

/* ------------------------------------------------------- reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .float { animation: none; }
}

@media print {
  .header, .announce, .wa-float, .sticky-cart, .panel, .scrim, .modal { display: none !important; }
}
