:root {
  --ink: #392522;
  --red: #8b273e;
  --red-dark: #692036;
  --pink: #f2d9d4;
  --blush: #f3e5df;
  --rose-soft: #eed8d1;
  --cream: #fffaf6;
  --card-bg: #f6ebe5;
  --line: #eaded7;
  --muted: #806c66;
  --sage: #385c4f;
  --serif: Georgia, 'Cormorant Garamond', 'Times New Roman', serif;
  --sans: 'DM Sans', Arial, -apple-system, BlinkMacSystemFont, sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

/* Signature Love, Lola Cute Heart & Bow Cursors */
body {
  cursor: url("data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20width%3D%2732%27%20height%3D%2732%27%20viewBox%3D%270%200%2032%2032%27%3E%0A%3Cpath%20d%3D%27M16%2027.2l-1.6-1.45C8.2%2020.1%204%2016.32%204%2011.7%204%207.92%206.98%205%2010.7%205c2.1%200%204.1.98%205.3%202.53C17.2%205.98%2019.2%205%2021.3%205%2025.02%205%2028%207.92%2028%2011.7c0%204.62-4.2%208.4-10.4%2014.05L16%2027.2z%27%20fill%3D%27%23f7b6c6%27%20stroke%3D%27%238b273e%27%20stroke-width%3D%271.6%27%20stroke-linejoin%3D%27round%27/%3E%0A%3C/svg%3E") 8 6, auto !important;
}
a, button, [role='button'], input[type='button'], input[type='submit'], select, label,
.product-img, .cat-card, .swatch, .thumb, .icon, .mega-feature, .bundle-option, .quiz-opt {
  cursor: url("data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20width%3D%2732%27%20height%3D%2732%27%20viewBox%3D%270%200%2032%2032%27%3E%0A%3Cpath%20d%3D%27M16%2015.3c1.9-2.45%204.9-4.8%208.2-4.8%202.3%200%203.8%201.5%203.8%203.35%200%202.4-2.5%204.45-6.1%204.45-2.35%200-4.45-.7-5.9-1.55.3.95.6%202.15.7%203.5h-1.4c.1-1.35.4-2.55.7-3.5-1.45.85-3.55%201.55-5.9%201.55-3.6%200-6.1-2.05-6.1-4.45%200-1.85%201.5-3.35%203.8-3.35%203.3%200%206.3%202.35%208.2%204.8zm0%200v9.2%27%20fill%3D%27%23f5c7d4%27%20stroke%3D%27%238b273e%27%20stroke-width%3D%271.5%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27/%3E%0A%3Ccircle%20cx%3D%2716%27%20cy%3D%2715.3%27%20r%3D%272.2%27%20fill%3D%27%23fff1f5%27%20stroke%3D%27%238b273e%27%20stroke-width%3D%271.2%27/%3E%0A%3C/svg%3E") 8 6, pointer !important;
}

button, input, select, textarea { font: inherit; color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { border: 0; background: none; padding: 0; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3, .serif { font-family: var(--serif); font-weight: 400; }

/* Announcement */
.announcement {
  background: #792b3e;
  color: #fff9f5;
  text-align: center;
  padding: 10px 16px;
  font-size: 11px;
  letter-spacing: 0.09em;
}

/* Header & Mega Menu */
.header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 250, 246, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav {
  max-width: 1440px;
  margin: auto;
  padding: 16px 4.3%;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  position: relative;
}
.navlinks, .navlinks-right, .nav-right, .icons {
  display: flex;
  align-items: center;
}
.navlinks { gap: 22px; }
.nav-right { justify-content: flex-end; gap: 22px; }
.navlinks-right { gap: 20px; }
.navlinks button, .navlinks-right button {
  font-size: 13px;
  padding: 8px 0;
  white-space: nowrap;
  position: relative;
  transition: color 0.18s;
}
.navlinks button:hover, .navlinks button.active,
.navlinks-right button:hover, .navlinks-right button.active {
  color: var(--red);
  text-decoration: underline;
  text-underline-offset: 6px;
}
.pill-mini {
  display: inline-block;
  background: var(--pink);
  color: var(--red);
  font-size: 10px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 12px;
  margin-left: 3px;
  vertical-align: middle;
}
.logo {
  font: italic 38px var(--serif);
  letter-spacing: -2.4px;
  color: var(--red);
  white-space: nowrap;
  line-height: 1;
}
.logo small {
  font: 14px var(--sans);
  display: inline-block;
  vertical-align: top;
  margin-left: 4px;
}
.icons { gap: 14px; }
.icon {
  padding: 5px;
  display: inline-flex;
  gap: 5px;
  align-items: center;
  position: relative;
}
.icon svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.45;
}
.icon:hover { color: var(--red); }
.badge-count {
  font-size: 11px;
  font-weight: 600;
  color: var(--red);
}

/* Mega Menu */
.nav-item.has-mega { position: static; }
.mega-menu {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: var(--cream);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 22px 50px rgba(57, 37, 34, 0.09);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
  z-index: 25;
}
.mega-inner {
  max-width: 1440px;
  margin: auto;
  padding: 34px 4.3% 38px;
  display: grid;
  grid-template-columns: repeat(3, 1fr) 290px;
  gap: 32px;
}
.mega-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 9px;
}
.mega-title {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 2.2px;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 6px;
}
.mega-col button {
  font-size: 13px;
  padding: 3px 0;
  color: var(--ink);
  text-align: left;
}
.mega-col button:hover { color: var(--red); text-decoration: underline; }
.mega-accent { color: var(--red) !important; font-weight: 600; margin-top: 6px; }
.mega-feature {
  background: var(--blush);
  overflow: hidden;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
}
.mega-feature img {
  width: 100%;
  height: 175px;
  object-fit: cover;
  object-position: center 20%;
}
.mega-feature-cap {
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.mega-feature-cap strong { font-family: var(--serif); font-size: 18px; font-weight: 400; }
.mega-feature-cap span:last-child { font-size: 12px; color: var(--red); }

/* Hero */
.hero {
  display: grid;
  grid-template-columns: 45% 55%;
  min-height: 580px;
  background: var(--blush);
  overflow: hidden;
}
.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 68px 10% 72px 9.5%;
}
.eyebrow {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 2.4px;
  font-weight: 700;
  color: var(--red);
  display: inline-block;
}
.hero h1 {
  font-size: clamp(48px, 5.8vw, 90px);
  line-height: 0.98;
  letter-spacing: -3.4px;
  margin: 20px 0 22px;
}
.hero h1 em {
  color: var(--red);
  font-style: italic;
}
.hero p {
  max-width: 390px;
  font-size: 15px;
  line-height: 1.75;
  color: #65504a;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}
.hero-media {
  position: relative;
  min-height: 580px;
  overflow: hidden;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 32%;
}
.hero-float-card {
  position: absolute;
  left: 26px;
  bottom: 26px;
  background: rgba(255, 250, 246, 0.94);
  backdrop-filter: blur(8px);
  border: 1px solid var(--line);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 310px;
  box-shadow: 0 12px 32px rgba(57, 37, 34, 0.14);
  transition: transform 0.2s;
}
.hero-float-card:hover { transform: translateY(-2px); }
.hero-float-card img {
  width: 54px;
  height: 64px;
  object-fit: cover;
  flex-shrink: 0;
}
.hero-float-card small {
  display: block;
  font-size: 10px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--red);
  font-weight: 700;
}
.hero-float-card strong {
  display: block;
  font-family: var(--serif);
  font-size: 16px;
  margin: 2px 0;
}
.hero-float-card span {
  font-size: 12px;
  color: var(--muted);
}

/* Buttons */
.cta {
  background: var(--red);
  color: #fff;
  border: 1px solid var(--red);
  padding: 15px 24px;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  letter-spacing: 0.04em;
  font-size: 12px;
  font-weight: 600;
}
.cta:hover { background: var(--red-dark); border-color: var(--red-dark); }
.cta.outline { background: transparent; color: var(--red); }
.cta.outline:hover { background: #f3dcd6; }
.cta.dark { background: var(--ink); border-color: var(--ink); color: #fff; }
.cta.dark:hover { background: #261816; }
.cta.sm { padding: 11px 18px; min-height: 40px; font-size: 12px; }
.signature {
  font: italic 19px var(--serif);
  color: var(--red);
  margin-top: 22px;
}

/* Promise Strip */
.strip {
  padding: 16px 4%;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px clamp(20px, 5vw, 76px);
  border-bottom: 1px solid var(--line);
  font-size: 11px;
  letter-spacing: 0.07em;
  background: var(--cream);
}
.strip span::before {
  content: '♡';
  margin-right: 8px;
  color: var(--red);
  font-size: 14px;
}

/* Sections */
.section {
  max-width: 1440px;
  margin: auto;
  padding: 72px 4.3%;
}
.section.tight { padding-top: 52px; padding-bottom: 52px; }
.section.tinted {
  max-width: none;
  background: #faf1ec;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.section.tinted > .inner {
  max-width: 1440px;
  margin: auto;
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  margin-bottom: 28px;
}
.section h2 {
  font-size: clamp(32px, 3.8vw, 52px);
  letter-spacing: -1.6px;
  line-height: 1.05;
  margin-top: 8px;
}
.section-sub {
  color: var(--muted);
  max-width: 520px;
  margin-top: 10px;
  line-height: 1.65;
}
.textlink {
  padding: 5px 0;
  border-bottom: 1px solid var(--red);
  color: var(--red);
  white-space: nowrap;
  font-size: 13px;
  font-weight: 500;
}
.textlink:hover { opacity: 0.78; }

/* 5-Category Editorial Grid */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}
.cat-card {
  position: relative;
  overflow: hidden;
  background: var(--card-bg);
  aspect-ratio: 0.78;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  text-align: left;
  border: 1px solid var(--line);
}
.cat-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  transition: transform 0.6s ease;
}
.cat-card:hover img { transform: scale(1.05); }
.cat-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(44, 24, 22, 0.72) 0%, rgba(44, 24, 22, 0.12) 48%, transparent 100%);
}
.cat-card-body {
  position: relative;
  z-index: 2;
  padding: 18px 16px;
  color: #fffaf6;
}
.cat-card-body h3 {
  font-size: 22px;
  letter-spacing: -0.5px;
  margin-bottom: 4px;
}
.cat-card-body span {
  font-size: 11px;
  letter-spacing: 0.06em;
  opacity: 0.9;
}

/* Filter Tabs & Controls */
.tabs {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.tab {
  border: 1px solid var(--line);
  padding: 9px 17px;
  border-radius: 24px;
  font-size: 12px;
  background: var(--cream);
  transition: all 0.16s;
}
.tab:hover { border-color: var(--red); color: var(--red); }
.tab.active {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding: 16px 0 24px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: 28px;
}
.filter-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.filter-select {
  border: 1px solid var(--line);
  background: #fff;
  padding: 9px 14px;
  font-size: 12px;
  border-radius: 3px;
}
.filter-toggle {
  border: 1px solid var(--line);
  background: #fff;
  padding: 9px 14px;
  font-size: 12px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.filter-toggle.active {
  border-color: var(--sage);
  background: #eaf2ee;
  color: var(--sage);
  font-weight: 600;
}

/* Product Grid & Cards (Lunya + Skarlett Blue Hover Quick-Add) */
.products {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px 20px;
}
.product {
  min-width: 0;
  position: relative;
  display: flex;
  flex-direction: column;
}
.product-media {
  position: relative;
  overflow: hidden;
  background: var(--card-bg);
  aspect-ratio: 0.82;
}
.product-img {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
}
.product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
  transition: transform 0.55s ease;
}
.product-media:hover .product-img img { transform: scale(1.04); }
.tag {
  position: absolute;
  top: 11px;
  left: 11px;
  background: rgba(255, 250, 246, 0.94);
  padding: 5px 9px;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  z-index: 2;
}
.tag.top-pick {
  background: var(--red);
  color: #fff;
}
.heart {
  position: absolute;
  right: 10px;
  top: 10px;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background: rgba(255, 250, 246, 0.94);
  color: var(--red);
  font-size: 20px;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.16s, background 0.16s;
}
.heart:hover { transform: scale(1.08); }
.heart.saved { background: var(--red); color: #fff; }

/* Quick Add Overlay on Hover */
.quick-sizes {
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 8px;
  background: rgba(255, 250, 246, 0.96);
  backdrop-filter: blur(6px);
  border: 1px solid var(--line);
  padding: 9px 10px;
  z-index: 3;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.2s, transform 0.2s;
}
.product-media:hover .quick-sizes,
.product-media:focus-within .quick-sizes {
  opacity: 1;
  transform: translateY(0);
}
.quick-sizes-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--muted);
  margin-bottom: 6px;
  display: block;
  text-align: center;
}
.quick-sizes-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 5px;
}
.quick-sizes-row button {
  min-width: 32px;
  padding: 5px 7px;
  font-size: 11px;
  border: 1px solid var(--line);
  background: #fff;
  transition: all 0.14s;
}
.quick-sizes-row button:hover {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}

.prodrow {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: flex-start;
  margin-top: 13px;
}
.prodname {
  font-size: 14px;
  text-align: left;
  font-weight: 600;
  line-height: 1.35;
}
.prodname:hover { color: var(--red); }
.prodprice {
  font-weight: 600;
  white-space: nowrap;
}
.prodsub {
  font-size: 12px;
  color: var(--muted);
  margin-top: 4px;
}
.swatch-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 9px;
}
.swatch {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  display: inline-block;
  border: 1px solid rgba(57, 37, 34, 0.25);
  transition: transform 0.14s;
}
.swatch:hover { transform: scale(1.15); }
.swatch.selected {
  outline: 1.5px solid var(--ink);
  outline-offset: 2px;
}
.swatch-more { font-size: 11px; color: var(--muted); }
.quick {
  margin-top: 12px;
  border: 1px solid var(--line);
  padding: 10px;
  width: 100%;
  font-size: 12px;
  transition: border-color 0.16s, color 0.16s, background 0.16s;
}
.quick:hover { border-color: var(--red); color: var(--red); background: #fdf4f1; }

/* Editorial Story Split */
.story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--rose-soft);
  min-height: 430px;
}
.story img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  max-height: 520px;
}
.story-copy {
  padding: 64px 11%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}
.story h2 {
  font-size: clamp(34px, 3.8vw, 56px);
  line-height: 1.05;
  letter-spacing: -1.5px;
  margin: 14px 0 16px;
}
.story p {
  line-height: 1.75;
  max-width: 410px;
  color: #69514b;
  margin-bottom: 26px;
}

/* Fabric Guide Grid */
.fabric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.fabric-card {
  background: var(--cream);
  border: 1px solid var(--line);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
}
.fabric-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 34px rgba(57, 37, 34, 0.08);
}
.fabric-card img {
  width: 100%;
  aspect-ratio: 1.05;
  object-fit: cover;
  object-position: center 22%;
}
.fabric-card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.fabric-card h3 {
  font-size: 24px;
  margin: 8px 0 10px;
  letter-spacing: -0.6px;
}
.fabric-card p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 16px;
  flex: 1;
}
.fabric-meta {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.fabric-pill {
  font-size: 10px;
  padding: 4px 8px;
  background: var(--blush);
  color: var(--ink);
  border-radius: 12px;
}

/* Interactive Night-In Bundle Builder */
.bundle-box {
  background: var(--cream);
  border: 1px solid var(--line);
  padding: 36px;
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  gap: 36px;
  align-items: start;
}
.bundle-step {
  margin-bottom: 28px;
}
.bundle-step:last-child { margin-bottom: 0; }
.bundle-step-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 12px;
}
.bundle-step-head h3 { font-size: 22px; }
.bundle-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.bundle-option {
  border: 1px solid var(--line);
  background: #fff;
  padding: 10px;
  text-align: left;
  transition: border-color 0.16s, background 0.16s;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.bundle-option:hover { border-color: var(--red); }
.bundle-option.selected {
  border: 2px solid var(--red);
  background: #fdf3f0;
}
.bundle-option img {
  width: 100%;
  aspect-ratio: 0.9;
  object-fit: cover;
  object-position: center 15%;
}
.bundle-option strong {
  font-size: 12px;
  line-height: 1.3;
  display: block;
}
.bundle-option span {
  font-size: 12px;
  color: var(--muted);
}
.bundle-summary {
  background: var(--blush);
  border: 1px solid var(--line);
  padding: 26px;
  position: sticky;
  top: 94px;
}
.bundle-summary h3 { font-size: 28px; margin: 6px 0 14px; }
.bundle-line {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid rgba(57, 37, 34, 0.1);
}
.bundle-line img {
  width: 48px;
  height: 58px;
  object-fit: cover;
  object-position: center 15%;
}
.bundle-line-info { flex: 1; min-width: 0; }
.bundle-line-info strong { font-size: 13px; display: block; }
.bundle-line-info small { font-size: 11px; color: var(--muted); }
.bundle-totals {
  margin: 16px 0 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
}
.bundle-totals-row {
  display: flex;
  justify-content: space-between;
}
.bundle-savings { color: var(--red); font-weight: 600; }
.bundle-size-row {
  margin: 14px 0;
}
.bundle-size-row label {
  display: block;
  font-size: 12px;
  margin-bottom: 6px;
  font-weight: 600;
}
.bundle-sizes {
  display: flex;
  gap: 6px;
}
.bundle-sizes button {
  flex: 1;
  padding: 8px 4px;
  font-size: 12px;
  border: 1px solid #dccac0;
  background: #fff;
}
.bundle-sizes button.selected {
  border-color: var(--red);
  background: var(--red);
  color: #fff;
}

/* Comparison / Honest Value Banner (Why Love, Lola) */
.value-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.value-card {
  background: var(--cream);
  border: 1px solid var(--line);
  padding: 28px 26px;
}
.value-card h3 {
  font-size: 26px;
  margin: 10px 0 10px;
}
.value-card p {
  color: var(--muted);
  line-height: 1.7;
  font-size: 13px;
}

/* Quiz Banner & Interactive Quiz Page */
.quiz-wrap {
  max-width: 820px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--line);
  padding: 42px;
}
.quiz-progress {
  height: 4px;
  background: var(--line);
  margin-bottom: 28px;
  overflow: hidden;
}
.quiz-progress i {
  display: block;
  height: 100%;
  background: var(--red);
  transition: width 0.3s ease;
}
.quiz-opts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}
.quiz-opt {
  border: 1px solid var(--line);
  background: var(--cream);
  padding: 22px 18px;
  text-align: left;
  transition: all 0.16s;
}
.quiz-opt:hover { border-color: var(--red); background: #fdf3f0; }
.quiz-opt.selected { border: 2px solid var(--red); background: #f8e7e1; }
.quiz-opt strong {
  display: block;
  font-family: var(--serif);
  font-size: 20px;
  margin-bottom: 6px;
}
.quiz-opt span { font-size: 12px; color: var(--muted); line-height: 1.5; display: block; }

/* Newsletter */
.newsletter {
  text-align: center;
  background: var(--blush);
  padding: 70px 20px;
}
.newsletter h2 {
  font-size: clamp(34px, 4vw, 46px);
  margin: 8px 0 14px;
  letter-spacing: -1.4px;
}
.newsletter p { color: var(--muted); line-height: 1.7; }
.emailform {
  max-width: 440px;
  display: flex;
  margin: 24px auto 0;
  border-bottom: 1px solid var(--ink);
}
.emailform input {
  width: 100%;
  border: 0;
  background: transparent;
  padding: 14px 10px;
  outline: none;
}
.emailform button {
  white-space: nowrap;
  color: var(--red);
  font-weight: 600;
  padding: 0 8px;
}

/* Footer */
.footer-wrap {
  background: var(--cream);
  border-top: 1px solid var(--line);
}
.footer-grid {
  max-width: 1440px;
  margin: auto;
  padding: 56px 4.3% 44px;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 36px;
}
.footer-brand p {
  color: var(--muted);
  line-height: 1.7;
  max-width: 340px;
  margin-top: 14px;
  font-size: 13px;
}
.footer-sig {
  font: italic 17px var(--serif);
  color: var(--red);
  margin-top: 16px;
}
.footer-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}
.footer-col h4 {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--ink);
  margin-bottom: 6px;
}
.footer-col button {
  font-size: 13px;
  color: var(--muted);
  text-align: left;
}
.footer-col button:hover { color: var(--red); text-decoration: underline; }
.footer-bottom {
  max-width: 1440px;
  margin: auto;
  padding: 20px 4.3% 34px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  color: var(--muted);
  font-size: 11px;
}

/* Product Detail Page */
.breadcrumb { padding: 22px 0; color: var(--muted); font-size: 12px; }
.breadcrumb button:hover { color: var(--red); text-decoration: underline; }
.pdp { max-width: 1440px; margin: auto; padding: 0 4.3% 60px; }
.pdp-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 5.5%; align-items: start; }
.gallery { display: grid; grid-template-columns: 1fr; gap: 12px; position: sticky; top: 92px; }
.gallery-main {
  aspect-ratio: 0.9;
  background: var(--card-bg);
  overflow: hidden;
  position: relative;
}
.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
  transition: transform 0.35s ease;
}
.gallery-main.zoom img { transform: scale(1.55); }
.gallery-hint {
  position: absolute;
  right: 12px;
  bottom: 12px;
  background: rgba(255, 250, 246, 0.94);
  padding: 7px 11px;
  font-size: 11px;
  pointer-events: none;
}
.gallery-thumbs { display: flex; gap: 10px; }
.thumb {
  width: 78px;
  height: 92px;
  border: 1px solid var(--line);
  overflow: hidden;
  background: var(--card-bg);
}
.thumb.active { border: 2px solid var(--red); }
.thumb img { width: 100%; height: 100%; object-fit: cover; object-position: center 15%; }

.details h1 {
  font-size: clamp(34px, 3.8vw, 54px);
  letter-spacing: -1.5px;
  line-height: 1.05;
  margin: 10px 0 12px;
}
.price-row {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin: 12px 0 18px;
}
.price { font-size: 22px; font-weight: 600; }
.fabric-tag-inline {
  font-size: 11px;
  padding: 4px 10px;
  background: var(--blush);
  border: 1px solid var(--line);
  border-radius: 16px;
  color: var(--ink);
}
.description {
  color: #65534e;
  line-height: 1.75;
  margin-bottom: 20px;
  font-size: 14px;
}
.spec-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}
.spec-pill {
  font-size: 11px;
  padding: 6px 11px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink);
}
.spec-pill.us { border-color: #c8ddd4; background: #eff7f3; color: var(--sage); font-weight: 600; }
.fieldlabel {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 20px 0 10px;
  font-size: 13px;
}
.fieldlabel button {
  color: var(--red);
  text-decoration: underline;
  font-size: 12px;
}
.sizegrid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
}
.size {
  padding: 12px 6px;
  border: 1px solid #dfcfc6;
  background: #fff;
  font-size: 12px;
  transition: all 0.14s;
}
.size:hover { border-color: var(--red); }
.size.selected {
  border-color: var(--red);
  background: #f5e3dd;
  color: var(--red);
  font-weight: 600;
}
.size.invalid { border-color: var(--red); background: #fff0ee; }
.addrow { display: flex; gap: 10px; margin: 22px 0 10px; }
.addrow .cta { flex: 1; }
.savebig {
  border: 1px solid var(--line);
  background: #fff;
  width: 52px;
  font-size: 22px;
  color: var(--red);
}
.savebig.saved { background: var(--red); color: #fff; border-color: var(--red); }
.shipnote {
  font-size: 12px;
  color: var(--muted);
  text-align: center;
  margin-bottom: 18px;
}
.bundle-upsell-banner {
  background: #f9ede7;
  border: 1px dashed #d6a9a2;
  padding: 13px 16px;
  margin: 14px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 12px;
}
.lola-note {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #f9ede7;
  border: 1px solid #efd9d0;
  padding: 14px 16px;
  margin: 18px 0;
}
.lola-note img {
  height: 76px;
  width: 50px;
  object-fit: contain;
  flex-shrink: 0;
}
.lola-note strong { font: italic 19px var(--serif); color: var(--red); }
.lola-note p { font-size: 12px; line-height: 1.55; margin: 4px 0 6px; color: #5f4c47; }
.lola-note button { font-size: 11px; text-decoration: underline; color: var(--red); font-weight: 600; }

.accordion { border-top: 1px solid var(--line); padding: 16px 0; }
.accordion:last-of-type { border-bottom: 1px solid var(--line); }
.accordion summary { cursor: pointer; font-weight: 600; font-size: 13px; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.accordion summary::after { content: '+'; font-size: 18px; color: var(--red); font-weight: 400; }
.accordion[open] summary::after { content: '−'; }
.accordion p, .accordion ul { color: var(--muted); line-height: 1.7; margin-top: 10px; font-size: 13px; }
.accordion ul { padding-left: 18px; margin-bottom: 0; }

/* Size Calculator & Fit Guide Page */
.fit-calc {
  background: #fff;
  border: 1px solid var(--line);
  padding: 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.calc-field { margin-bottom: 16px; }
.calc-field label { display: block; font-size: 12px; font-weight: 600; margin-bottom: 6px; }
.calc-field input {
  width: 100%;
  border: 1px solid var(--line);
  padding: 11px 12px;
  background: var(--cream);
}
.calc-result {
  background: var(--blush);
  border: 1px solid var(--line);
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.calc-result h3 { font-size: 32px; color: var(--red); margin: 8px 0 10px; }

/* Tables */
.chart-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  background: #fff;
  border: 1px solid var(--line);
}
.chart-table th, .chart-table td {
  padding: 13px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}
.chart-table th {
  background: var(--blush);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1.2px;
}

/* Drawers */
.overlay { position: fixed; inset: 0; background: rgba(45, 29, 32, 0.35); z-index: 40; display: none; }
.overlay.show { display: block; }
.drawer {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: min(460px, 100%);
  background: var(--cream);
  z-index: 41;
  transform: translateX(105%);
  transition: transform 0.28s ease;
  display: flex;
  flex-direction: column;
  box-shadow: -10px 0 50px rgba(45, 29, 32, 0.14);
}
.drawer.open { transform: translateX(0); }
.drawer-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 24px;
  border-bottom: 1px solid var(--line);
}
.drawer-head h2 { font-size: 28px; }
.close { font-size: 27px; line-height: 1; padding: 4px; }
.drawer-body { overflow: auto; padding: 20px 24px; flex: 1; }
.drawer-foot { padding: 18px 24px 22px; border-top: 1px solid var(--line); background: #fffaf6; }
.drawer-foot .cta { width: 100%; margin-top: 14px; }
.bagitem {
  display: flex;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.bagitem img { width: 82px; height: 98px; object-fit: cover; object-position: center 15%; background: var(--card-bg); }
.bagitem h3 { font-size: 16px; margin-bottom: 4px; line-height: 1.3; }
.bagitem p { font-size: 12px; color: var(--muted); line-height: 1.5; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); background: #fff; margin-top: 8px; }
.qty button { padding: 4px 10px; }
.qty span { padding: 4px 8px; font-size: 12px; }
.bagprice { margin-left: auto; white-space: nowrap; font-weight: 600; }
.progress { height: 5px; background: #ecd8d1; border-radius: 6px; margin: 10px 0 18px; overflow: hidden; }
.progress i { display: block; background: var(--red); height: 100%; transition: width 0.25s; }
.bag-upsell {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.bag-upsell-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border: 1px solid var(--line);
  padding: 10px;
  margin-top: 10px;
}
.bag-upsell-card img { width: 52px; height: 62px; object-fit: cover; }

.empty { padding: 36px 0; text-align: center; color: var(--muted); line-height: 1.8; }
.demo { font-size: 11px; color: var(--muted); }
.mobile-menu { display: none; }
.hidden { display: none !important; }

/* =====================================================================
   LOVE, LOLA REFRESH
   Softer shapes, phone-first layout, Lola on her best behaviour,
   a proper size guide, and small moments of delight.
   ===================================================================== */
:root {
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --pill: 999px;
  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow-soft: 0 12px 34px rgba(57, 37, 34, 0.09);
  --safe-b: env(safe-area-inset-bottom, 0px);
}
html { -webkit-text-size-adjust: 100%; }
body.locked { overflow: hidden; }
main:focus { outline: none; }
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--pill);
  transition: top 0.2s;
}
.skip-link:focus { top: 10px; }
h1.h2, h2.h2, .h2 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(32px, 3.8vw, 52px); letter-spacing: -1.6px; line-height: 1.05; margin-top: 8px;
}
.h2 em { color: var(--red); }
.h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(24px, 2.6vw, 32px); letter-spacing: -0.6px; margin: 0 0 16px; }
.h4 { font-family: var(--serif); font-weight: 400; font-size: 24px; margin: 0; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; }
.btn-row.center { justify-content: center; }
.page-top { padding-top: 46px; }
.shop-page { padding-top: 44px; min-height: 70vh; }
.shop-head { margin-bottom: 18px; }
.bow { width: 34px; height: 24px; fill: #f5c7d4; stroke: var(--red); stroke-width: 1.4; stroke-linejoin: round; display: block; }

/* ---------- Announcement ---------- */
.announcement { overflow: hidden; }
#announcementText { display: inline-block; transition: opacity 0.3s, transform 0.3s var(--ease-out); }
#announcementText.swap { opacity: 0; transform: translateY(-8px); }

/* ---------- Header ---------- */
.navlinks a, .navlinks-right a {
  font-size: 13px; padding: 8px 0; white-space: nowrap; position: relative; transition: color 0.18s;
}
.navlinks a::after, .navlinks-right a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 3px; height: 1px; background: var(--red);
  transform: scaleX(0); transform-origin: left; transition: transform 0.28s var(--ease-out);
}
.navlinks a:hover, .navlinks a.active, .navlinks-right a:hover, .navlinks-right a.active { color: var(--red); }
.navlinks a:hover::after, .navlinks a.active::after,
.navlinks-right a:hover::after, .navlinks-right a.active::after { transform: scaleX(1); }
.mega-menu a::after, .mega-feature::after { display: none; }
.pill-mini { margin-left: 4px; }
.logo { display: inline-block; text-align: center; }
.logo small { transition: transform 0.3s var(--spring); }
.logo:hover small { transform: scale(1.35) rotate(-8deg); }
.icons { gap: 8px; }
.icon { padding: 9px; border-radius: 50%; transition: background 0.18s, color 0.18s; }
.icon:hover { background: var(--blush); }
.badge-count {
  position: absolute; top: 1px; right: -1px; min-width: 17px; height: 17px; padding: 0 4px;
  border-radius: var(--pill); background: var(--red); color: #fff; font-size: 10px; font-weight: 700;
  display: flex; align-items: center; justify-content: center; line-height: 1;
}
.bagicon.bump svg { animation: bag-wiggle 0.6s var(--ease-out); }
.bagicon.bump .badge-count { animation: pop 0.5s var(--spring); }
.mobile-menu { width: 42px; height: 42px; margin-left: -9px; border-radius: 50%; align-items: center; justify-content: center; }
.mobile-menu svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; }
.mobile-menu:hover { background: var(--blush); }

/* Mega menu: opened by script (hover, focus or tap) so it always closes after a choice. */
.nav-item.has-mega.is-open .mega-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.mega-menu { border-radius: 0 0 var(--r-lg) var(--r-lg); }
.mega-col a { font-size: 13.5px; padding: 3px 0; color: var(--ink); transition: color 0.16s, transform 0.2s var(--ease-out); }
.mega-col a:hover { color: var(--red); transform: translateX(3px); }
.mega-feature { border-radius: var(--r-md); transition: transform 0.25s var(--ease-out), box-shadow 0.25s; }
.mega-feature:hover { transform: translateY(-3px); box-shadow: var(--shadow-soft); }

/* ---------- Buttons ---------- */
.cta {
  border-radius: var(--pill); padding: 15px 26px; text-align: center;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.18s var(--ease-out), box-shadow 0.2s;
}
.cta:hover { box-shadow: 0 8px 20px rgba(139, 39, 62, 0.18); }
.cta.outline:hover { box-shadow: none; }
.cta:active { transform: scale(0.97); }
.cta > span:last-child { display: inline-block; transition: transform 0.25s var(--spring); }
.cta:hover > span:last-child { transform: translate(2px, -2px); }
.cta.added { background: var(--ink); border-color: var(--ink); }
.cta.added > span:last-child { animation: pop 0.5s var(--spring); }
.textlink { transition: opacity 0.18s; }
.close { border-radius: 50%; width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center; transition: background 0.18s, transform 0.25s var(--ease-out); }
.close:hover { background: var(--blush); transform: rotate(90deg); }

/* ---------- Hero ---------- */
.hero-copy > * { animation: rise 0.7s var(--ease-out) backwards; }
.hero-copy > :nth-child(2) { animation-delay: 0.07s; }
.hero-copy > :nth-child(3) { animation-delay: 0.14s; }
.hero-copy > :nth-child(4) { animation-delay: 0.21s; }
.hero-copy > :nth-child(5) { animation-delay: 0.28s; }
.hero-media img { animation: soft-zoom 1.6s var(--ease-out) backwards; }
.hero-float-card { border-radius: var(--r-md); text-align: left; animation: rise 0.7s 0.45s var(--ease-out) backwards; transition: transform 0.25s var(--ease-out), box-shadow 0.25s; }
.hero-float-card:hover { transform: translateY(-4px); }
.hero-float-card img { border-radius: 8px; animation: none; }

/* ---------- Promise strip ---------- */
.strip { padding: 15px 0; display: block; overflow: hidden; }
.strip-track { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px clamp(20px, 5vw, 72px); padding: 0 4%; }
.strip-track span[aria-hidden] { display: none; }
.strip span { white-space: nowrap; }

/* ---------- Cards, tags, hearts ---------- */
.cat-card { border-radius: var(--r-lg); border: 0; }
.cat-card-body span { display: inline-block; transition: transform 0.25s var(--ease-out); }
.cat-card:hover .cat-card-body span { transform: translateX(4px); }
.product-media { border-radius: var(--r-md); }
.product-img img { animation: fade-in 0.5s ease backwards; }
.tag {
  border-radius: var(--pill); padding: 6px 11px; top: 12px; left: 12px;
  box-shadow: 0 2px 8px rgba(57, 37, 34, 0.08); pointer-events: none;
}
.tag.top-pick { letter-spacing: 0.07em; }
.heart { width: 38px; height: 38px; transition: transform 0.2s var(--spring), background 0.18s, color 0.18s; }
.heart:hover { transform: scale(1.12); }
.heart:active { transform: scale(0.9); }
.heart.saved, .savebig.saved { animation: pop 0.45s var(--spring); }
.burst-heart {
  position: fixed; z-index: 70; pointer-events: none; color: var(--red); font-size: 14px;
  transform: translate(-50%, -50%); animation: burst 0.75s var(--ease-out) forwards;
}
.quick-sizes { border-radius: var(--r-sm); left: 10px; right: 10px; bottom: 10px; }
.quick-sizes-row button { border-radius: 8px; min-width: 34px; padding: 6px 8px; }
.quick-sizes-row .quick-one { width: 100%; font-weight: 600; padding: 8px; }
.prodname { display: block; }
.prodsub { letter-spacing: 0.01em; }
.quick {
  display: block; text-align: center; border-radius: var(--pill); padding: 10px;
  transition: border-color 0.16s, color 0.16s, background 0.16s, transform 0.18s var(--ease-out);
}
.quick:active { transform: scale(0.97); }
.products.three { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 1050px; margin: auto; }

/* ---------- Swatches (real buttons, clear selection) ---------- */
.swatch-row { gap: 9px; min-height: 22px; }
.swatch {
  position: relative; width: 18px; height: 18px; padding: 0; border-radius: 50%; flex-shrink: 0;
  background: var(--sw); border: 1px solid rgba(57, 37, 34, 0.22);
  transition: transform 0.2s var(--spring), box-shadow 0.18s;
}
.swatch::after { content: ''; position: absolute; inset: -9px; border-radius: 50%; }
.swatch:hover { transform: scale(1.14); }
.swatch.selected { outline: none; box-shadow: 0 0 0 2px var(--cream), 0 0 0 3.5px var(--ink); }
.swatch:focus-visible { outline: 2px solid var(--red); outline-offset: 4px; }
.swatch-more { margin-left: 2px; }
.pdp-swatches { gap: 14px; margin-top: 0; }
.pdp-swatches .swatch { width: 30px; height: 30px; }
.pdp-swatches .swatch::after { inset: -7px; }

/* ---------- Tabs & filters ---------- */
.tab { display: inline-block; white-space: nowrap; transition: border-color 0.18s, color 0.18s, background 0.2s, transform 0.18s var(--ease-out); }
.tab:active { transform: scale(0.96); }
.tab.sm { padding: 6px 13px; font-size: 11px; }
.filter-select { border-radius: var(--pill); padding: 9px 16px; background-color: #fff; }
.filter-toggle.active { border-color: var(--red); background: #fbeae5; color: var(--red); }
.filter-bar .textlink { font-size: 12px; }

/* ---------- Story, fabric, values ---------- */
.fabric-card, .value-card { border-radius: var(--r-lg); }
.fabric-pill { border-radius: var(--pill); padding: 5px 10px; }
.about-hero { min-height: 460px; }
.about-hero .story-copy p + p { margin-top: -12px; }

/* ---------- Bundle teaser (homepage) ---------- */
.bundle-teaser { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 6%; align-items: center; }
.bundle-teaser-thumbs { display: flex; justify-content: center; padding: 18px 0; }
.bundle-teaser-thumbs img {
  width: 34%; aspect-ratio: 0.8; object-fit: cover; object-position: center 15%;
  border-radius: var(--r-lg); border: 5px solid var(--cream); box-shadow: var(--shadow-soft);
  margin-left: -7%; transform: rotate(calc((var(--i) - 1) * 6deg)) translateY(calc((1 - var(--i)) * (1 - var(--i)) * 14px));
  transition: transform 0.4s var(--spring);
}
.bundle-teaser-thumbs img:first-child { margin-left: 0; }
.bundle-teaser:hover .bundle-teaser-thumbs img { transform: rotate(calc((var(--i) - 1) * 9deg)) translateY(-6px); }
.bundle-teaser-copy .section-sub { margin-bottom: 24px; }

/* ---------- Bundle builder ---------- */
.bundle-box { border-radius: var(--r-lg); }
.bundle-step-head h3 { display: flex; align-items: center; gap: 10px; }
.bundle-step-head h3 i {
  font: 600 12px var(--sans); width: 26px; height: 26px; border-radius: 50%; background: var(--red); color: #fff;
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.bundle-option { border-radius: var(--r-md); transition: border-color 0.16s, background 0.16s, transform 0.2s var(--ease-out); }
.bundle-option:active { transform: scale(0.97); }
.bundle-option.selected { border: 1px solid var(--red); box-shadow: 0 0 0 1px var(--red); }
.bundle-option img { border-radius: var(--r-sm); }
.bundle-summary { border-radius: var(--r-lg); }
.bundle-line img { border-radius: 8px; }
.bundle-size-label { display: block; font-size: 12px; margin-bottom: 6px; font-weight: 600; }
.bundle-sizes button { border-radius: var(--r-sm); transition: all 0.16s; }
.bundle-totals-row.total { font-size: 17px; font-weight: 700; padding-top: 8px; border-top: 1px solid rgba(57, 37, 34, 0.14); }
.bundle-summary .shipnote { margin: 10px 0 0; }

/* ---------- Quiz ---------- */
.quiz-page { min-height: 72vh; }
.quiz-wrap { border-radius: var(--r-lg); }
.quiz-progress { border-radius: var(--pill); height: 6px; }
.quiz-progress i { border-radius: var(--pill); }
.quiz-opt { border-radius: var(--r-md); animation: rise 0.5s var(--ease-out) var(--d, 0ms) backwards; transition: border-color 0.16s, background 0.16s, transform 0.2s var(--ease-out); }
.quiz-opt:hover { transform: translateY(-3px); }
.quiz-opt:active { transform: scale(0.98); }
.quiz-back { margin-top: 22px; }
.quiz-result { text-align: center; max-width: 640px; margin: 0 auto 36px; }
.quiz-result .bow { margin: 0 auto 10px; }
.quiz-result p { color: var(--muted); line-height: 1.7; margin-top: 12px; }
.quiz-size { max-width: 300px; margin: 20px auto; }
.quiz-note { font-size: 12px; }
.quiz-result .btn-row { margin-top: 20px; }

/* ---------- Newsletter & footer ---------- */
.newsletter .bow { margin: 0 auto 12px; }
.emailform input { font-size: 16px; }
.emailform button { transition: transform 0.2s var(--ease-out); }
.emailform button:hover { transform: translateX(3px); }
.footer-col a, .footer-col button { font-size: 13px; color: var(--muted); text-align: left; transition: color 0.16s; }
.footer-col a:hover, .footer-col button:hover { color: var(--red); text-decoration: underline; }

/* ---------- Product page ---------- */
.breadcrumb a:hover { color: var(--red); text-decoration: underline; }
.breadcrumb span { margin: 0 2px; }
.gallery-main { border-radius: var(--r-lg); cursor: zoom-in; }
.gallery-main.zoom { cursor: zoom-out; }
.gallery-main img { transition: transform 0.4s var(--ease-out); }
.gallery-main.zoom img { transform: scale(1.9); }
.gallery-hint { border-radius: var(--pill); transition: opacity 0.2s; }
.gallery-main.zoom .gallery-hint { opacity: 0; }
.hint-tap { display: none; }
@media (hover: none) { .hint-tap { display: inline; } .hint-click { display: none; } }
.gallery-note {
  position: absolute; left: 12px; bottom: 12px; background: rgba(255, 250, 246, 0.94); border-radius: var(--pill);
  padding: 7px 12px; font-size: 11px; display: inline-flex; align-items: center; gap: 7px; pointer-events: none;
  animation: rise 0.35s var(--ease-out);
}
.gallery-note i { width: 11px; height: 11px; border-radius: 50%; background: var(--sw); border: 1px solid rgba(57, 37, 34, 0.25); }
.thumb { border-radius: var(--r-sm); transition: border-color 0.16s, transform 0.2s var(--ease-out); }
.thumb:hover { transform: translateY(-2px); }
.details > .eyebrow:hover { text-decoration: underline; text-underline-offset: 4px; }
.sizegrid { grid-template-columns: repeat(auto-fill, minmax(62px, 1fr)); }
.size { border-radius: var(--r-sm); min-height: 46px; transition: border-color 0.14s, background 0.14s, color 0.14s, transform 0.2s var(--spring); }
.size:active { transform: scale(0.94); }
.size.selected { animation: pop 0.35s var(--spring); }
.size.invalid { animation: shake 0.4s ease; }
.size-error { color: var(--red); font-size: 12px; font-weight: 600; margin-top: 8px; }
.savebig { border-radius: 50%; width: 52px; height: 52px; flex-shrink: 0; align-self: center; transition: transform 0.2s var(--spring), background 0.18s; }
.savebig:hover { transform: scale(1.08); }
.reassure { list-style: none; padding: 0; margin: 14px 0 18px; display: grid; gap: 6px; font-size: 12.5px; color: #65534e; }
.reassure li::before { content: '♡'; color: var(--red); margin-right: 9px; }
.lola-note { border-radius: var(--r-md); }
.lola-note img { transition: transform 0.3s var(--spring); }
.lola-note:hover img { transform: rotate(-6deg) scale(1.06); }
.bundle-upsell-banner { border-radius: var(--r-md); transition: background 0.18s, border-color 0.18s; }
.bundle-upsell-banner:hover { background: #f6e3dc; border-color: var(--red); }
.bundle-upsell-banner > div > span { color: var(--muted); }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { transition: transform 0.25s var(--ease-out); }
.accordion[open] summary::after { transform: rotate(180deg); }
.accordion[open] > :not(summary) { animation: rise 0.3s var(--ease-out); }
.related { border-top: 1px solid var(--line); padding-top: 48px; }

.sticky-add {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 23; display: none; align-items: center; gap: 12px;
  padding: 10px 16px calc(10px + var(--safe-b)); background: rgba(255, 250, 246, 0.97); backdrop-filter: blur(10px);
  border-top: 1px solid var(--line); box-shadow: 0 -8px 26px rgba(57, 37, 34, 0.08);
  transform: translateY(110%); transition: transform 0.32s var(--ease-out);
}
.sticky-add.show { transform: translateY(0); }
.sticky-add-info { flex: 1; min-width: 0; }
.sticky-add-info strong { display: block; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sticky-add-info span { font-size: 12px; color: var(--muted); }

/* ---------- Size guide ---------- */
.guide-head { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
.guide-head img { width: 54px; height: 78px; object-fit: contain; flex-shrink: 0; animation: float 3.6s ease-in-out infinite; }
.modal-card .guide-head h2 { margin: 2px 0 0; }
.guide-tip {
  background: #f9ede7; border: 1px solid #efd9d0; border-radius: var(--r-md); padding: 12px 14px;
  font-size: 13px; color: #5f4c47 !important; margin-bottom: 14px !important;
}
.guide-hint, .guide-foot { font-size: 12px; margin: 0 0 8px !important; }
.guide-foot { margin-top: 10px !important; }
.unit-toggle {
  display: inline-flex; padding: 3px; background: var(--blush); border-radius: var(--pill); margin-bottom: 12px;
}
.unit-toggle button { padding: 6px 16px; border-radius: var(--pill); font-size: 12px; font-weight: 600; color: var(--muted); transition: background 0.2s, color 0.2s; }
.unit-toggle button.on { background: #fff; color: var(--red); box-shadow: 0 1px 4px rgba(57, 37, 34, 0.12); }
.size-chart { border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; background: #fff; }
.sc-row {
  display: grid; grid-template-columns: 1.1fr 1fr 1fr 1fr; align-items: center; width: 100%;
  padding: 11px 16px; text-align: left; font-size: 13px; border-top: 1px solid var(--line);
  font-variant-numeric: tabular-nums; white-space: nowrap; transition: background 0.16s, box-shadow 0.16s;
}
.size-chart.two .sc-row { grid-template-columns: 1fr 1fr; }
.sc-row.sc-head {
  background: var(--blush); border-top: 0; font-size: 10px; letter-spacing: 1.4px; text-transform: uppercase;
  font-weight: 700; color: var(--red); padding-top: 12px; padding-bottom: 12px;
}
button.sc-row:hover { background: #fdf3f0; }
.sc-row.selected { background: #f8e4de; box-shadow: inset 3px 0 0 var(--red); }
.sc-size b { font-family: var(--serif); font-size: 19px; font-weight: 400; color: var(--red); line-height: 1.1; }
.sc-size small { display: block; font-size: 10px; color: var(--muted); letter-spacing: 0.04em; margin-top: 1px; }
.sc-row.selected .sc-size b::after { content: ' ♥'; font-size: 12px; }
.chart-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.chart-title { font: 600 12px var(--sans); letter-spacing: 0.04em; margin: 16px 0 8px; color: var(--ink); }
.chart-pair .chart-title { margin-top: 4px; }
.guide-chips { display: grid; grid-template-columns: repeat(auto-fill, minmax(58px, 1fr)); gap: 8px; }
.measure-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.measure-step { display: flex; gap: 10px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 12px; }
.measure-step svg { width: 30px; height: 30px; flex-shrink: 0; fill: none; stroke: var(--red); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.measure-step b { display: block; font-size: 12.5px; }
.measure-step span { display: block; font-size: 12px; color: var(--muted); line-height: 1.5; margin-top: 2px; }
.guide-actions { margin-top: 18px; }
.one-size { display: flex; gap: 14px; align-items: flex-start; background: #f9ede7; border-radius: var(--r-md); padding: 18px; }
.one-size > span { font-size: 26px; color: var(--red); line-height: 1; }
.one-size p { margin: 0 !important; color: #5f4c47 !important; }
.chart-block { margin-top: 40px; max-width: 760px; }
.section > .measure { margin-top: 28px; max-width: 760px; }

/* ---------- Fit finder ---------- */
.fit-calc { border-radius: var(--r-lg); }
.fit-calc-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 16px; }
.fit-calc-head .unit-toggle { margin: 0; }
.calc-field label small { color: var(--muted); font-weight: 400; }
.calc-field input { border-radius: var(--r-sm); font-size: 16px; transition: border-color 0.16s, box-shadow 0.16s; }
.calc-field input:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgba(139, 39, 62, 0.12); }
.calc-result { border-radius: var(--r-md); }
.calc-result h3 span { color: var(--ink); opacity: 0.4; }
.calc-result p { color: #65504a; line-height: 1.65; margin-bottom: 12px; }
.calc-result .btn-row { margin-top: 6px; }

/* ---------- Fabric comparison (table on desktop, cards on phones) ---------- */
.compare { border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; background: #fff; }
.compare-row { display: grid; grid-template-columns: 1.1fr 1.5fr 1.4fr 1.4fr 0.8fr; gap: 16px; padding: 14px 18px; border-top: 1px solid var(--line); font-size: 13px; align-items: center; }
.compare-head { border-top: 0; background: var(--blush); font-size: 10px; letter-spacing: 1.4px; text-transform: uppercase; font-weight: 700; color: var(--red); }

/* ---------- Lola ---------- */
.mascot {
  position: fixed; right: 18px; bottom: calc(18px + var(--safe-b)); z-index: 24;
  display: flex; flex-direction: column; align-items: flex-end; pointer-events: none;
  transition: transform 0.4s var(--ease-out), opacity 0.25s;
}
.mascot.chatting { opacity: 0; transform: scale(0.6) translateY(20px); }
.mascot.chatting * { pointer-events: none !important; }
.mascot .bubble {
  background: #fffdf9; border: 1px solid #e8c7c4; border-radius: 18px 18px 4px 18px;
  box-shadow: 0 10px 34px rgba(77, 33, 32, 0.14); padding: 14px 16px; max-width: 240px;
  font-size: 12.5px; line-height: 1.5; position: relative; pointer-events: auto;
  margin-right: 66px; margin-bottom: -14px; transform-origin: 100% 100%;
}
.mascot .bubble.pop { animation: bubble-in 0.5s var(--spring); }
.bubble strong { color: var(--red); display: block; font: italic 17px var(--serif); margin-bottom: 3px; }
.bubble .closebubble { position: absolute; right: 4px; top: 2px; font-size: 18px; color: var(--muted); width: 30px; height: 30px; }
.bubble .bubble-action { font-size: 12px; color: var(--red); text-decoration: underline; text-underline-offset: 3px; padding: 8px 0 0; font-weight: 600; }
.mascot-btn {
  pointer-events: auto; width: 78px; height: 116px; position: relative;
  filter: drop-shadow(0 6px 6px rgba(88, 48, 44, 0.2)); transition: transform 0.3s var(--spring);
}
.mascot-btn:hover { transform: rotate(-6deg) scale(1.07); }
.mascot.tucked .mascot-btn { transform: translateX(50%) rotate(-10deg); }
.mascot.tucked .mascot-btn span { opacity: 0; }
.mascot-btn span { transition: opacity 0.2s; }
.mascot-btn:active { transform: scale(0.95); }
.mascot-btn img { height: 100%; width: 100%; object-fit: contain; animation: float 3.6s ease-in-out infinite; transform-origin: 50% 90%; }
.mascot.hello .mascot-btn img { animation: wave 1.3s ease-in-out 1, float 3.6s ease-in-out 1.3s infinite; }
.mascot.jump .mascot-btn img { animation: jump 0.65s ease-in-out; }
.mascot-btn span {
  position: absolute; bottom: 0; right: 0; background: var(--red); border: 2px solid #fff; color: #fff;
  border-radius: var(--pill); padding: 4px 9px; font-size: 10px; font-weight: 600; white-space: nowrap;
}

.chat {
  position: fixed; right: 22px; bottom: calc(22px + var(--safe-b)); z-index: 35;
  width: min(380px, calc(100% - 28px)); max-height: min(620px, calc(100dvh - 44px));
  background: var(--cream); border: 1px solid #e4c5be; border-radius: 22px; overflow: hidden;
  box-shadow: 0 18px 60px rgba(45, 29, 32, 0.24); display: flex; flex-direction: column;
  opacity: 0; visibility: hidden; pointer-events: none;
  transform: translateY(18px) scale(0.92); transform-origin: 100% 100%;
  transition: opacity 0.22s, transform 0.38s var(--spring), visibility 0.22s;
}
.chat.open { opacity: 1; visibility: visible; pointer-events: auto; transform: none; }
.chathead { padding: 14px 16px; background: #f2ddd5; display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.chathead img { width: 42px; height: 52px; object-fit: contain; }
.chat.open .chathead img { animation: wave 1.1s ease-in-out 0.2s 1; transform-origin: 50% 90%; }
.chathead h3 { font-size: 21px; color: var(--red); }
.chathead small { font-size: 10px; color: var(--muted); letter-spacing: 0.08em; }
.chathead .close { margin-left: auto; }
.messages { padding: 15px; display: flex; gap: 10px; flex-direction: column; overflow: auto; flex: 1; min-height: 120px; max-height: 330px; overscroll-behavior: contain; }
.msg {
  padding: 10px 13px; background: #f3e4dd; line-height: 1.55; border-radius: 14px 14px 14px 4px;
  font-size: 13px; max-width: 92%; align-self: flex-start; animation: msg-in 0.35s var(--ease-out);
}
.msg.user { background: var(--red); color: #fff; align-self: flex-end; border-radius: 14px 14px 4px 14px; }
.msg.typing { display: inline-flex; gap: 5px; padding: 14px 15px; }
.msg.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--red); opacity: 0.5; animation: typing 1s ease-in-out infinite; }
.msg.typing i:nth-child(2) { animation-delay: 0.15s; }
.msg.typing i:nth-child(3) { animation-delay: 0.3s; }
.chat-rec {
  display: flex; gap: 10px; align-items: center; background: #fffaf6; border: 1px solid var(--line);
  padding: 8px; margin-top: 8px; border-radius: 12px; text-align: left; width: 100%;
  transition: border-color 0.16s, transform 0.2s var(--ease-out);
}
.chat-rec:hover { border-color: var(--red); transform: translateX(2px); }
.chat-rec img { width: 44px; height: 54px; object-fit: cover; object-position: center 15%; border-radius: 8px; }
.chat-rec strong { display: block; font-size: 12px; color: var(--ink); }
.chat-rec span { font-size: 11px; color: var(--red); }
.prompts { display: flex; gap: 6px; flex-wrap: wrap; padding: 0 15px 12px; flex-shrink: 0; }
.prompts button {
  border: 1px solid #e0bbb5; border-radius: var(--pill); font-size: 12px; padding: 7px 12px; color: var(--red); background: #fff;
  transition: background 0.16s, transform 0.18s var(--ease-out);
}
.prompts button:hover { background: #fdf0ec; }
.prompts button:active { transform: scale(0.95); }
.chatinput { border-top: 1px solid var(--line); display: flex; padding: 10px; background: #fff; flex-shrink: 0; }
.chatinput input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 8px; outline: none; font-size: 16px; }
.chatinput button { color: var(--red); font-weight: 600; padding: 0 10px; }

/* ---------- Drawer, bag, menu ---------- */
.overlay { display: block; opacity: 0; pointer-events: none; transition: opacity 0.28s; backdrop-filter: blur(2px); }
.overlay.show { opacity: 1; pointer-events: auto; }
.drawer { border-radius: var(--r-lg) 0 0 var(--r-lg); visibility: hidden; transition: transform 0.4s var(--ease-out), visibility 0.4s; }
.drawer.open { visibility: visible; }
.drawer:focus { outline: none; }
.drawer.from-left { right: auto; left: 0; transform: translateX(-105%); border-radius: 0 var(--r-lg) var(--r-lg) 0; box-shadow: 10px 0 50px rgba(45, 29, 32, 0.14); }
.drawer.from-left.open { transform: translateX(0); }
.drawer-foot { padding-bottom: calc(22px + var(--safe-b)); border-radius: 0 0 0 var(--r-lg); }
.drawer-body { overscroll-behavior: contain; }
.bagitem { align-items: flex-start; animation: rise 0.35s var(--ease-out) backwards; }
a.bagitem:hover h3 { color: var(--red); }
.bagitem img { border-radius: var(--r-sm); }
.bagitem h3 a:hover { color: var(--red); }
.bagitem .textlink { display: inline-block; margin-top: 6px; font-size: 12px; }
.qty { border-radius: var(--pill); overflow: hidden; }
.qty button { padding: 6px 13px; min-height: 32px; }
.bag-remove { display: block; font-size: 11px; color: var(--muted); text-decoration: underline; margin-top: 8px; padding: 4px 0; }
.bag-progress-note { font-size: 12px; color: var(--muted); }
.bag-progress-note span, .bag-progress-note strong { color: var(--red); }
.progress { height: 6px; }
.progress i { border-radius: 6px; transition: width 0.6s var(--ease-out); }
.gift-note { margin-top: 16px; }
.gift-note label { font-size: 11px; font-weight: 600; display: block; margin-bottom: 6px; }
.gift-note input { width: 100%; border: 1px solid var(--line); background: #fff; padding: 11px 13px; font-size: 16px; border-radius: var(--r-sm); }
.bag-upsell-card { border-radius: var(--r-md); }
.bag-upsell-card img { border-radius: 8px; object-position: center 15%; }
.bag-upsell-card strong { font-size: 12px; display: block; }
.bag-upsell-card span { font-size: 12px; color: var(--muted); }
.foot-row { display: flex; justify-content: space-between; font-size: 15px; }
.foot-row.save { font-size: 12px; color: var(--red); margin-bottom: 6px; }
.drawer-foot .demo { margin-top: 6px; }
.keep-shopping { width: 100%; text-align: center; margin-top: 11px; border-bottom: 0; text-decoration: underline; text-underline-offset: 4px; }
.empty-heart { display: block; font-size: 30px; color: var(--red); margin-bottom: 6px; animation: heartbeat 1.8s ease-in-out infinite; }
.searchbox { border-radius: var(--pill); padding: 0 8px; }
.searchbox input { font-size: 16px; }
.searchbox input::-webkit-search-cancel-button { cursor: pointer; }

.menu-cats { display: grid; gap: 8px; margin-bottom: 20px; }
.menu-cat {
  display: flex; align-items: center; gap: 14px; padding: 8px; border-radius: var(--r-md); background: #fff; border: 1px solid var(--line);
  animation: rise 0.4s var(--ease-out) var(--d, 0ms) backwards; transition: border-color 0.16s, transform 0.2s var(--ease-out);
}
.menu-cat:active { transform: scale(0.98); }
.menu-cat:hover { border-color: var(--red); }
.menu-cat img { width: 52px; height: 60px; object-fit: cover; object-position: center 15%; border-radius: var(--r-sm); }
.menu-cat span { font-family: var(--serif); font-size: 21px; flex: 1; }
.menu-cat i { font-style: normal; color: var(--red); margin-right: 8px; }
.menu-links { display: grid; }
.menu-links a, .menu-links button { text-align: left; padding: 13px 4px; border-bottom: 1px solid var(--line); font-size: 14px; }
.menu-links a:hover, .menu-links button:hover { color: var(--red); }

/* ---------- Modal (centred card on desktop, bottom sheet on phones) & toast ---------- */
.modal {
  position: fixed; inset: 0; z-index: 50; background: rgba(45, 29, 32, 0.42); display: flex; align-items: center;
  justify-content: center; padding: 20px; opacity: 0; visibility: hidden; transition: opacity 0.25s, visibility 0.25s;
  backdrop-filter: blur(2px);
}
.modal.open { opacity: 1; visibility: visible; }
.modal-card {
  position: relative; background: var(--cream); padding: 30px; width: min(520px, 100%); max-height: min(90vh, 90dvh);
  overflow: auto; border: 1px solid var(--line); border-radius: var(--r-lg); overscroll-behavior: contain;
  transform: translateY(14px) scale(0.96); transition: transform 0.4s var(--spring);
}
.modal.open .modal-card { transform: none; }
.modal-card.sizeguide { width: min(600px, 100%); }
.modal-card > .close { position: absolute; top: 14px; right: 14px; z-index: 2; background: var(--cream); }
.modal-card h2 { font-size: 30px; margin: 4px 40px 14px 0; }
.modal-card p { line-height: 1.65; color: var(--muted); margin-bottom: 14px; }
.sheet-grip { display: none; }
.order-summary { background: var(--blush); border-radius: var(--r-md); padding: 14px 16px; margin: 16px 0; font-size: 13px; display: grid; gap: 5px; }
.order-summary > div { display: flex; justify-content: space-between; }
.order-summary .save { color: var(--red); }
.order-summary .total { font-weight: 700; border-top: 1px solid var(--line); padding-top: 7px; margin-top: 2px; }
.order-done { text-align: center; padding: 10px 0 4px; }
.order-done .bow { margin: 0 auto 12px; width: 44px; height: 30px; animation: pop 0.6s var(--spring); }
.modal-card .order-done h2 { margin-right: 0; }

.toast {
  position: fixed; top: 92px; left: 50%; transform: translate(-50%, -14px) scale(0.96); padding: 12px 20px;
  background: var(--ink); color: #fff; z-index: 60; border-radius: var(--pill); font-size: 12.5px; opacity: 0;
  pointer-events: none; transition: opacity 0.2s, transform 0.4s var(--spring); max-width: calc(100vw - 28px);
  display: flex; align-items: center; gap: 12px; box-shadow: 0 10px 30px rgba(45, 29, 32, 0.25);
}
.toast.show { opacity: 1; transform: translate(-50%, 0) scale(1); }
.toast.has-action.show { pointer-events: auto; }
.toast button { color: #f7c9d4; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }

/* ---------- 404 ---------- */
.notfound { text-align: center; min-height: 62vh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; }
.notfound-lola { width: 110px; animation: float 3.6s ease-in-out infinite; margin-bottom: 10px; }
.notfound .cta { margin-top: 22px; }

/* ---------- Page and scroll motion ---------- */
main.page-enter { animation: page-in 0.45s var(--ease-out); }
.js [data-reveal]:not(.in) { opacity: 0; }
.js [data-reveal].in { animation: rise 0.65s var(--ease-out) var(--d, 0ms) backwards; }

@keyframes page-in { from { opacity: 0; transform: translateY(10px); } }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }
@keyframes fade-in { from { opacity: 0; } }
@keyframes soft-zoom { from { opacity: 0; transform: scale(1.06); } }
@keyframes pop { 0% { transform: scale(0.7); } 60% { transform: scale(1.18); } 100% { transform: scale(1); } }
@keyframes shake { 20% { transform: translateX(-4px); } 40% { transform: translateX(4px); } 60% { transform: translateX(-3px); } 80% { transform: translateX(2px); } }
@keyframes float { 50% { transform: translateY(-5px) rotate(-2deg); } }
@keyframes jump { 45% { transform: translateY(-24px) rotate(-8deg); } 75% { transform: translateY(4px) rotate(3deg); } }
@keyframes wave { 0%, 100% { transform: rotate(0); } 20% { transform: rotate(-9deg); } 40% { transform: rotate(7deg); } 60% { transform: rotate(-6deg); } 80% { transform: rotate(4deg); } }
@keyframes bubble-in { from { opacity: 0; transform: scale(0.6) translateY(10px); } }
@keyframes msg-in { from { opacity: 0; transform: translateY(8px) scale(0.97); } }
@keyframes typing { 0%, 100% { transform: translateY(0); opacity: 0.4; } 50% { transform: translateY(-4px); opacity: 1; } }
@keyframes burst { from { opacity: 1; transform: translate(-50%, -50%) scale(0.4); } to { opacity: 0; transform: translate(calc(-50% + var(--x)), calc(-50% + var(--y))) scale(var(--s)); } }
@keyframes bag-wiggle { 25% { transform: rotate(-12deg) scale(1.1); } 50% { transform: rotate(9deg) scale(1.1); } 75% { transform: rotate(-5deg); } }
@keyframes heartbeat { 0%, 100% { transform: scale(1); } 15% { transform: scale(1.18); } 30% { transform: scale(1); } 45% { transform: scale(1.12); } }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- Responsive ---------- */
@media (hover: none) {
  .quick-sizes { display: none; }
  .mascot-btn:hover, .heart:hover, .swatch:hover { transform: none; }
}
@media (max-width: 1240px) {
  .navlinks { display: none; }
  .mobile-menu { display: inline-flex; justify-self: start; }
  .cat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .fabric-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bundle-box { grid-template-columns: 1fr; }
  .bundle-summary { position: static; }
}
@media (max-width: 900px) {
  .navlinks-right { display: none; }
  .hero { min-height: 460px; }
  .hero-media { min-height: 460px; }
  .hero-copy { padding: 44px 7%; }
  .hero h1 { letter-spacing: -2px; }
  .products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pdp-grid { gap: 4%; }
  .story { grid-template-columns: 1fr; }
  .about-hero img { order: -1; max-height: 340px; }
  .value-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .bundle-teaser { grid-template-columns: 1fr; gap: 8px; text-align: center; }
  .bundle-teaser-copy .section-sub { margin-left: auto; margin-right: auto; }
  .strip-track { flex-wrap: nowrap; justify-content: flex-start; width: max-content; gap: 44px; padding: 0 0 0 44px; animation: ticker 26s linear infinite; }
  .strip-track span[aria-hidden] { display: inline; }
  .compare-head { display: none; }
  .compare { border: 0; background: none; display: grid; gap: 10px; }
  .compare-row { grid-template-columns: 1fr; gap: 8px; border: 1px solid var(--line); border-radius: var(--r-md); background: #fff; padding: 16px; }
  .compare-row span { display: grid; grid-template-columns: 96px 1fr; gap: 10px; }
  .compare-row span::before { content: attr(data-label); font-size: 10px; letter-spacing: 1.2px; text-transform: uppercase; font-weight: 700; color: var(--muted); padding-top: 3px; }
  .compare-row span:first-child { display: block; font-family: var(--serif); font-size: 20px; }
  .compare-row span:first-child::before { display: none; }
  .compare-row span:first-child strong { font-weight: 400; }
}
@media (max-width: 720px) {
  .announcement { font-size: 10.5px; padding: 9px 12px; letter-spacing: 0.06em; }
  .nav { padding: 10px 5%; gap: 8px; }
  .logo { font-size: 29px; letter-spacing: -2px; }
  .icons { gap: 0; margin-right: -9px; }
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-copy { padding: 34px 6% 36px; order: 2; }
  .hero-media { min-height: 0; height: 62vw; max-height: 380px; }
  .hero h1 { font-size: clamp(40px, 12vw, 48px); letter-spacing: -2px; margin: 14px 0 16px; }
  .hero p { font-size: 14.5px; }
  .hero-actions { margin-top: 22px; width: 100%; }
  .hero-actions .cta { flex: 1 1 auto; }
  .hero-float-card { left: 12px; right: auto; bottom: 12px; max-width: calc(100% - 24px); padding: 9px 12px; }
  .hero-float-card img { width: 44px; height: 52px; }
  .section { padding: 44px 5%; }
  .section.tight { padding-top: 36px; padding-bottom: 36px; }
  .section-head { flex-wrap: wrap; margin-bottom: 20px; }
  .cat-grid {
    display: flex; overflow-x: auto; gap: 12px; margin: 0 -5.5%; padding: 4px 5.5% 12px;
    scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch;
  }
  .cat-grid::-webkit-scrollbar { display: none; }
  .cat-card { flex: 0 0 62%; scroll-snap-align: center; }
  .tabs.scroll-x, #homeCatalog .tabs {
    flex-wrap: nowrap; overflow-x: auto; margin: 0 -5.5% 18px; padding: 2px 5.5% 6px; scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .tabs.scroll-x::-webkit-scrollbar, #homeCatalog .tabs::-webkit-scrollbar { display: none; }
  .tab { padding: 10px 16px; flex-shrink: 0; }
  .filter-bar { padding: 12px 0 14px; margin-bottom: 20px; gap: 10px; }
  .filter-group { gap: 8px; }
  .filter-group:first-child {
    flex-wrap: nowrap; overflow-x: auto; margin: 0 -5.5%; padding: 0 5.5% 2px; width: 111%; max-width: none;
    scrollbar-width: none; -webkit-overflow-scrolling: touch;
  }
  .filter-group:first-child::-webkit-scrollbar { display: none; }
  .filter-group:first-child > * { flex-shrink: 0; }
  .filter-group:last-child { width: 100%; justify-content: space-between; }
  .filter-select, .filter-toggle { font-size: 16px; padding: 7px 12px; white-space: nowrap; }
  .swatch-row { padding-left: 3px; }
  .products, .products.three { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 12px; }
  .product-media { border-radius: 14px; }
  .tag { font-size: 9px; padding: 5px 9px; top: 8px; left: 8px; }
  .heart { right: 6px; top: 6px; width: 40px; height: 40px; }
  .prodrow { flex-direction: column; gap: 2px; margin-top: 10px; }
  .prodname { font-size: 13px; }
  .prodsub { font-size: 11.5px; }
  .swatch { width: 20px; height: 20px; }
  .swatch-row { gap: 10px; }
  .quick { padding: 12px; min-height: 44px; }
  .story-copy { padding: 40px 6%; }
  .story img { max-height: 320px; }
  .fabric-grid { grid-template-columns: 1fr; gap: 14px; }
  .fabric-card { flex-direction: row; }
  .fabric-card img { width: 36%; aspect-ratio: auto; flex-shrink: 0; }
  .fabric-card-body { padding: 16px; }
  .fabric-card h3 { font-size: 21px; }
  .bundle-box { padding: 18px; }
  .bundle-options { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bundle-summary { padding: 20px; }
  .bundle-sizes button { min-height: 44px; }
  .quiz-wrap { padding: 24px 20px; }
  .quiz-opts { grid-template-columns: 1fr; }
  .newsletter { padding: 52px 20px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px 20px; padding: 44px 6% 30px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-col a, .footer-col button { padding: 4px 0; font-size: 14px; }
  .footer-bottom { padding: 18px 6% calc(110px + var(--safe-b)); }
  .breadcrumb { padding: 16px 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .pdp { padding: 0 5% 44px; }
  .pdp-grid { grid-template-columns: 1fr; gap: 22px; }
  .gallery { position: static; }
  .gallery-main { aspect-ratio: 0.86; }
  .details h1 { font-size: 34px; letter-spacing: -1px; }
  .size { min-height: 48px; font-size: 13px; }
  .fit-calc { grid-template-columns: 1fr; padding: 20px; gap: 20px; }
  .chart-pair { grid-template-columns: 1fr; gap: 0; }
  .chart-pair .chart-title { margin-top: 14px; }
  .sc-row { padding: 11px 12px; font-size: 12.5px; }
  .sticky-add { display: flex; }
  .drawer { width: min(440px, 92%); }
  .drawer-head { padding: 16px 20px; }
  .drawer-body { padding: 18px 20px; }
  .drawer-foot { padding-left: 20px; padding-right: 20px; }

  .mascot { right: 10px; bottom: calc(10px + var(--safe-b)); }
  .mascot.raised { transform: translateY(-66px); }
  .mascot.chatting.raised { transform: scale(0.6) translateY(20px); }
  .mascot-btn { width: 60px; height: 90px; }
  .mascot-btn span { font-size: 9px; padding: 3px 7px; }
  .mascot .bubble { max-width: min(250px, calc(100vw - 96px)); margin-right: 44px; margin-bottom: -10px; font-size: 13px; }
  .bubble .closebubble { width: 36px; height: 36px; font-size: 20px; }
  .chat {
    right: 8px; left: 8px; bottom: calc(8px + var(--safe-b)); width: auto; max-height: min(600px, calc(100dvh - 24px));
    transform-origin: 90% 100%;
  }
  .messages { max-height: none; }
  .prompts { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .prompts::-webkit-scrollbar { display: none; }
  .prompts button { flex-shrink: 0; padding: 9px 13px; }

  .modal { align-items: flex-end; padding: 0; }
  .modal-card {
    width: 100%; max-height: 92dvh; border-radius: var(--r-lg) var(--r-lg) 0 0; border-width: 1px 0 0;
    padding: 26px 20px calc(24px + var(--safe-b)); transform: translateY(100%); transition: transform 0.42s var(--ease-out);
  }
  .modal-card.sizeguide { width: 100%; }
  .sheet-grip { display: block; width: 40px; height: 4px; border-radius: 4px; background: #dccac0; margin: -12px auto 14px; }
  .modal-card h2 { font-size: 27px; }
  .guide-head img { width: 44px; height: 64px; }
  .toast { top: auto; bottom: calc(86px + var(--safe-b)); transform: translate(-50%, 14px) scale(0.96); width: max-content; }
}
@media (max-width: 380px) {
  .logo { font-size: 26px; }
  .icon { padding: 7px; }
  .sc-row { padding: 10px 9px; font-size: 12px; }
  .sc-size b { font-size: 17px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js [data-reveal]:not(.in) { opacity: 1; }
  .strip-track { animation: none !important; flex-wrap: wrap; width: auto; justify-content: center; padding: 0 4%; }
  .strip-track span[aria-hidden] { display: none; }
}

/* =====================================================================
   ROUND TWO: phone tab bar, touch delights, quick add, reviews,
   Lola's adaptive touches, cookie banner and policy pages
   ===================================================================== */

/* ---------- Lola's voice on the product page ---------- */
.quip { font: italic 18px var(--serif); color: var(--red); margin: -4px 0 10px; line-height: 1.35; }
.usual-chip {
  margin-top: 10px; padding: 8px 14px; border-radius: var(--pill); background: #f9ede7; border: 1px dashed #d6a9a2;
  font-size: 12px; font-weight: 600; color: var(--red); animation: rise 0.4s var(--ease-out);
  transition: background 0.16s, transform 0.2s var(--spring);
}
.usual-chip:hover { background: #f6e3dc; }
.usual-chip:active { transform: scale(0.96); }
.usual-note { font-size: 11px; color: var(--red); font-weight: 600; }
#usualSlot:empty { display: none; }

/* ---------- Stars & reviews ---------- */
.stars { display: inline-flex; gap: 1px; font-size: 14px; line-height: 1; vertical-align: middle; }
.stars i { font-style: normal; color: #e3cfc7; }
.stars i.on { color: var(--red); }
.review-link { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); padding: 4px 0; }
.review-link span { text-decoration: underline; text-underline-offset: 3px; }
.review-link.quiet { color: var(--red); text-decoration: underline; text-underline-offset: 3px; }
.card-rating { display: flex; align-items: center; gap: 5px; margin-top: 5px; font-size: 11px; color: var(--muted); }
.card-rating .stars { font-size: 12px; }
.reviews { border-top: 1px solid var(--line); padding-top: 48px; }
.reviews-score { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--muted); }
.reviews-score strong { font: 400 30px var(--serif); color: var(--ink); }
.reviews-score .stars { font-size: 18px; }
.reviews-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 28px; align-items: start; }
.reviews-list { display: grid; gap: 12px; }
.reviews-empty {
  background: #faf1ec; border: 1px dashed #dcc3ba; border-radius: var(--r-lg); padding: 34px 26px; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.reviews-empty .stars { font-size: 24px; }
.reviews-empty strong { font: 400 24px var(--serif); }
.reviews-empty p { color: var(--muted); max-width: 320px; line-height: 1.6; }
.review-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 18px 20px; animation: rise 0.4s var(--ease-out); }
.review-top { display: flex; justify-content: space-between; align-items: center; font-size: 11px; color: var(--muted); margin-bottom: 8px; }
.review-card p { line-height: 1.65; color: #5f4c47; }
.review-by { font-size: 12px; font-weight: 600; margin-top: 10px; }
.review-by em { font-weight: 400; color: var(--muted); margin-left: 6px; }
.review-form { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; }
.review-form h3 { font-size: 24px; margin-bottom: 12px; }
.review-form .demo { margin-top: 12px; line-height: 1.5; }
.star-pick { display: flex; align-items: center; gap: 2px; margin-bottom: 16px; }
.star-pick button { font-size: 30px; line-height: 1; color: #e3cfc7; padding: 2px 3px; transition: color 0.14s, transform 0.2s var(--spring); }
.star-pick button.on { color: var(--red); }
.star-pick button:hover { transform: scale(1.18) rotate(-6deg); }
.star-pick button:active { transform: scale(0.9); }
.star-pick > span { margin-left: 10px; font: italic 16px var(--serif); color: var(--red); }
.calc-field textarea {
  width: 100%; border: 1px solid var(--line); padding: 11px 12px; background: var(--cream); border-radius: var(--r-sm);
  font-size: 16px; resize: vertical; min-height: 96px; transition: border-color 0.16s, box-shadow 0.16s;
}
.calc-field textarea:focus, .calc-field select:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgba(139, 39, 62, 0.12); }
.calc-field select { width: 100%; border: 1px solid var(--line); padding: 11px 12px; background: var(--cream); border-radius: var(--r-sm); font-size: 16px; }

/* ---------- Quick add sheet ---------- */
.modal-card.quickadd { width: min(440px, 100%); }
.qa { display: flex; gap: 16px; align-items: center; margin-bottom: 4px; }
.qa > img { width: 96px; height: 120px; object-fit: cover; object-position: center 15%; border-radius: var(--r-md); flex-shrink: 0; }
.modal-card .qa h2 { font-size: 22px; margin: 2px 30px 4px 0; line-height: 1.15; }
.qa .price { font-size: 18px; }
.qa .quip { font-size: 15px; margin: 4px 0 0; }
.qa-add { width: 100%; margin-top: 20px; }
.qa-more { display: block; width: max-content; margin: 14px auto 0; }

/* ---------- Carousels ("rails") ---------- */
.products.rail { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* ---------- Gallery extras ---------- */
.gallery-dots { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); display: none; gap: 6px; padding: 6px 9px; border-radius: var(--pill); background: rgba(255, 250, 246, 0.85); }
.gallery-dots i { width: 6px; height: 6px; border-radius: 50%; background: #d9c3ba; transition: background 0.2s, transform 0.2s; }
.gallery-dots i.on { background: var(--red); transform: scale(1.3); }
#galleryMainImg.slide-next { animation: slide-next 0.35s var(--ease-out); }
#galleryMainImg.slide-prev { animation: slide-prev 0.35s var(--ease-out); }
.big-heart {
  position: absolute; left: 50%; top: 50%; font-size: 110px; line-height: 1; color: #fff; pointer-events: none;
  text-shadow: 0 6px 30px rgba(139, 39, 62, 0.55); animation: big-heart 0.85s var(--ease-out) forwards; z-index: 4;
}
.tap-heart {
  position: fixed; z-index: 80; pointer-events: none; color: #f08aa6; font-size: 15px; line-height: 1;
  transform: translate(-50%, -50%); animation: tap-heart 0.65s var(--ease-out) forwards;
}

/* ---------- Phone tab bar (Lola lives in the middle) ---------- */
.tabbar {
  display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 23; align-items: flex-end; justify-content: space-around;
  padding: 4px 6px calc(5px + var(--safe-b)); background: rgba(255, 250, 246, 0.97); backdrop-filter: blur(12px);
  border-top: 1px solid var(--line); box-shadow: 0 -6px 24px rgba(57, 37, 34, 0.06);
}
.tabbar > * {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 2px;
  min-height: 48px; padding: 4px 0 2px; font-size: 10px; letter-spacing: 0.03em; color: var(--muted); position: relative;
  transition: color 0.18s, transform 0.2s var(--spring);
}
.tabbar > *:active { transform: scale(0.92); }
.tabbar svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linejoin: round; transition: transform 0.25s var(--spring); }
.tabbar .active { color: var(--red); }
.tabbar .active svg { transform: translateY(-2px) scale(1.08); }
.tabbar .badge-count { top: 0; right: calc(50% - 20px); }
.tab-lola { color: var(--red) !important; font-weight: 700; }
.tab-lola-face {
  width: 58px; height: 58px; border-radius: 50%; overflow: hidden; position: relative; margin-top: -30px;
  background: #f7dcd9; border: 3px solid var(--cream); box-shadow: 0 6px 18px rgba(139, 39, 62, 0.28);
  transition: transform 0.3s var(--spring), box-shadow 0.2s;
}
.tab-lola-face img { position: absolute; width: 172%; max-width: none; left: -34%; top: -8%; }
.tab-lola.on .tab-lola-face { box-shadow: 0 0 0 3px var(--red), 0 6px 18px rgba(139, 39, 62, 0.28); }
.tab-lola.hello .tab-lola-face { animation: wave 1.3s ease-in-out 1; }
.tab-lola.jump .tab-lola-face { animation: jump 0.65s ease-in-out; }
.tab-lola.nudging .tab-lola-face { animation: heartbeat 1.6s ease-in-out infinite; }

/* ---------- Cookie banner ---------- */
.consent {
  position: fixed; left: 20px; bottom: calc(20px + var(--safe-b)); z-index: 30; width: min(400px, calc(100vw - 40px));
  background: #fffdf9; border: 1px solid #e8c7c4; border-radius: var(--r-lg); padding: 18px 20px;
  box-shadow: 0 16px 50px rgba(45, 29, 32, 0.2); font-size: 12.5px; line-height: 1.55;
  opacity: 0; visibility: hidden; transform: translateY(20px); transition: opacity 0.3s, transform 0.45s var(--spring), visibility 0.3s;
}
.consent.show { opacity: 1; visibility: visible; transform: none; }
.consent strong { display: block; font: italic 19px var(--serif); color: var(--red); margin-bottom: 4px; }
.consent p { color: #5f4c47; }
.consent p a { color: var(--red); text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.consent-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin-top: 12px; }
.consent-actions .textlink { font-size: 12px; }

/* ---------- Policy pages & privacy choices ---------- */
.legal { max-width: 820px; }
.legal .section-sub { max-width: 640px; }
.legal-date { font-size: 12px; color: var(--muted); margin-top: 10px; }
.legal-toc { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 8px; }
.legal-toc button { border: 1px solid var(--line); border-radius: var(--pill); padding: 7px 13px; font-size: 12px; background: #fff; transition: border-color 0.16s, color 0.16s; }
.legal-toc button:hover { border-color: var(--red); color: var(--red); }
.legal-sec { padding: 26px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 90px; }
.legal-sec h2 { font-size: 26px; letter-spacing: -0.5px; margin: 0 0 12px; }
.legal-sec p, .legal-sec li { color: #5f4c47; line-height: 1.75; font-size: 14.5px; }
.legal-sec p + p, .legal-sec ul + p, .legal-sec p + ul { margin-top: 12px; }
.legal-sec ul { padding-left: 20px; margin: 0; display: grid; gap: 6px; }
.legal-sec a, .legal .section-sub a { color: var(--red); text-decoration: underline; text-underline-offset: 3px; }
.legal-links { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 28px; }
.legal .h3 { margin-top: 44px; }
mark.todo { background: #fff3b8; color: #5c4400; padding: 1px 6px; border-radius: 6px; font-size: 0.92em; font-weight: 600; }
.choices { display: grid; gap: 10px; margin-top: 26px; }
.choice {
  display: flex; align-items: center; gap: 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 16px 18px; position: relative; transition: border-color 0.16s;
}
.choice:hover { border-color: #dcc3ba; }
.choice > span { flex: 1; min-width: 0; }
.choice strong { display: block; font-size: 14px; }
.choice small { display: block; color: var(--muted); font-size: 12.5px; line-height: 1.55; margin-top: 3px; }
.choice input { position: absolute; opacity: 0; width: 46px; height: 28px; right: 18px; margin: 0; }
.choice i {
  flex-shrink: 0; width: 46px; height: 28px; border-radius: var(--pill); background: #e3d3cb; position: relative; transition: background 0.2s;
}
.choice i::after {
  content: ''; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff;
  box-shadow: 0 1px 4px rgba(57, 37, 34, 0.25); transition: transform 0.28s var(--spring);
}
.choice input:checked + i { background: var(--red); }
.choice input:checked + i::after { transform: translateX(18px); }
.choice input:focus-visible + i { outline: 2px solid var(--red); outline-offset: 3px; }
.choice.locked i { opacity: 0.5; }
.choices .btn-row { margin-top: 10px; }
.request-form { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; margin: 20px 0; max-width: 560px; }
.request-form .demo { margin-top: 12px; line-height: 1.5; min-height: 1em; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.footer-legal a:hover { color: var(--red); text-decoration: underline; }

@keyframes slide-next { from { opacity: 0.3; transform: translateX(26px); } }
@keyframes slide-prev { from { opacity: 0.3; transform: translateX(-26px); } }
@keyframes big-heart {
  0% { opacity: 0; transform: translate(-50%, -50%) scale(0.2) rotate(-12deg); }
  25% { opacity: 1; transform: translate(-50%, -50%) scale(1.15) rotate(4deg); }
  45% { transform: translate(-50%, -50%) scale(0.95) rotate(0); }
  75% { opacity: 1; transform: translate(-50%, -55%) scale(1); }
  100% { opacity: 0; transform: translate(-50%, -75%) scale(1.05); }
}
@keyframes tap-heart {
  from { opacity: 0.95; transform: translate(-50%, -50%) scale(0.5) rotate(0); }
  to { opacity: 0; transform: translate(-50%, -190%) scale(1.25) rotate(var(--r)); }
}

@media (max-width: 900px) {
  .reviews-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  /* Tab bar on, corner Lola off: she is the middle button now. */
  .tabbar { display: flex; }
  .icons .wishicon, .icons .bagicon { display: none; }
  .icons { margin-right: -9px; }
  .mascot { left: 0; right: 0; bottom: calc(78px + var(--safe-b)); align-items: center; }
  .mascot-btn { display: none; }
  .mascot .bubble {
    margin: 0; max-width: min(310px, calc(100vw - 32px)); border-radius: 18px; transform-origin: 50% 100%;
  }
  .mascot .bubble::after {
    content: ''; position: absolute; left: 50%; bottom: -8px; width: 14px; height: 14px; background: #fffdf9;
    border-right: 1px solid #e8c7c4; border-bottom: 1px solid #e8c7c4; transform: translateX(-50%) rotate(45deg);
  }
  .mascot.raised { transform: translateY(-64px); }
  .mascot.chatting, .mascot.chatting.raised { opacity: 0; transform: translateY(20px); }
  .sticky-add { bottom: calc(57px + var(--safe-b)); z-index: 22; padding-bottom: 10px; }
  .toast { bottom: calc(138px + var(--safe-b)); }
  .footer-bottom { padding-bottom: calc(96px + var(--safe-b)); flex-direction: column; gap: 10px; }
  .consent { left: 10px; right: 10px; width: auto; bottom: calc(74px + var(--safe-b)); padding: 16px; }
  .consent-actions .cta { flex: 1; }

  .quip { font-size: 17px; }
  .gallery-dots { display: inline-flex; }
  .gallery-hint { left: 12px; right: auto; top: auto; bottom: 12px; font-size: 10.5px; }
  .gallery-note { bottom: 48px; }

  /* Swipeable rows */
  .products.rail {
    display: flex; overflow-x: auto; gap: 12px; margin: 0 -5.5%; padding: 4px 5.5% 14px;
    scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch;
  }
  .products.rail::-webkit-scrollbar { display: none; }
  .products.rail .product { flex: 0 0 58%; scroll-snap-align: start; scroll-margin-left: 5.5vw; }

  /* Press feedback: phones have no hover, so things squish a little when touched. */
  .product-media, .cat-card, .fabric-card, .value-card, .menu-cat { transition: transform 0.25s var(--spring); }
  .product-media:active, .cat-card:active, .fabric-card:active { transform: scale(0.975); }
  .cat-card { flex-basis: 58%; }

  .reviews { padding-top: 36px; }
  .review-form { padding: 20px; }
  .star-pick button { font-size: 36px; padding: 2px 5px; }
  .qa > img { width: 84px; height: 106px; }
  .legal-sec h2 { font-size: 23px; }
  .choice { padding: 14px; gap: 12px; }
  .choice input { right: 14px; }
  .request-form { padding: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .tap-heart, .big-heart { display: none; }
}

/* Holiday Edit Accent */
.tag.holiday { background: #6b132a; color: #fff7f4; }
.holiday-split { background: #f6e7e3; }
.holiday-split em { color: var(--red); font-style: italic; }
