/* FOUKA modern storefront prototype */

@font-face {
  font-family: "Commissioner";
  src: url("fonts/commissioner-greek.woff2") format("woff2");
  font-weight: 300 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
@font-face {
  font-family: "Commissioner";
  src: url("fonts/commissioner-latin.woff2") format("woff2");
  font-weight: 300 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --cream: #fff4e4;
  --paper: #fff9f0;
  --ink: #1f1b16;
  --ink-soft: #514a40;
  --ink-faint: #6b6357;
  --orange: #f4512c;
  --orange-deep: #d63f1e;
  --orange-ink: #b9361a;
  --clay: #b25638;
  --clay-deep: #9c4a2f;
  --clay-text: #fff8ee;
  --butter: #ffd35c;
  --sky: #cde6e4;
  --blush: #f5c7c0;
  --sage: #c2d3b8;
  --peach: #ffc8a8;
  --oat: #e8d9c4;
  --green: #2e3a2a;
  --green-2: #3e4c37;
  --line: rgba(31, 27, 22, 0.14);
  --wrap: min(1320px, calc(100% - 64px));
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: "Commissioner", "Segoe UI", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.no-scroll {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

[hidden] {
  display: none !important;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

main {
  overflow: clip;
}

.wrap {
  width: var(--wrap);
  margin-inline: auto;
}

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

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 100;
  transform: translateY(-160%);
  background: var(--ink);
  color: var(--cream);
  padding: 12px 16px;
  font-weight: 800;
  transition: transform 0.2s var(--ease);
}

.skip-link:focus {
  transform: translateY(0);
}

:focus-visible {
  outline: 3px solid var(--orange-ink);
  outline-offset: 3px;
}

.difference :focus-visible,
.site-footer :focus-visible {
  outline-color: var(--butter);
}

/* Topbar and header */

.topbar {
  background: var(--ink);
  color: var(--cream);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.topbar-in {
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.topbar p {
  margin: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--cream);
  transition: background 0.2s ease;
}

.site-header.is-stuck {
  background: var(--paper);
}

.header-in {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  flex-direction: column;
  line-height: 0.8;
  flex-shrink: 0;
}

.brand-word {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.055em;
}

.brand-sub {
  margin-top: 5px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.19em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 2px;
}

.main-nav a {
  padding: 10px 12px;
  font-size: 14px;
  font-weight: 700;
  transition: color 0.2s ease, background 0.2s ease;
}

.main-nav a:hover {
  color: var(--orange-ink);
  background: rgba(244, 81, 44, 0.08);
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}

.tool {
  width: 42px;
  height: 42px;
  border: 0;
  background: transparent;
  color: var(--ink);
  display: grid;
  place-items: center;
  position: relative;
  transition: background 0.2s ease, color 0.2s ease;
}

.tool:hover {
  background: var(--ink);
  color: var(--cream);
}

.tool svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cart-count {
  position: absolute;
  top: 2px;
  right: 0;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--orange);
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
  line-height: 18px;
  text-align: center;
}

.menu-tool {
  display: none;
}

/* Hero */

.hero {
  padding-top: clamp(20px, 3vw, 42px);
}

.hero-grid {
  min-height: clamp(560px, calc(100svh - 140px), 760px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.98fr);
  gap: clamp(32px, 4vw, 56px);
  align-items: center;
}

.hero-copy {
  max-width: 690px;
}

.hero h1 {
  margin: 0 0 26px;
  font-size: clamp(36px, 4.4vw, 64px);
  font-weight: 800;
  line-height: 0.88;
  letter-spacing: -0.06em;
}

.h1-line {
  display: block;
  white-space: nowrap;
}

.hero-lede {
  max-width: 46ch;
  margin: 0 0 30px;
  color: var(--ink-soft);
  font-size: clamp(17px, 1.45vw, 21px);
  line-height: 1.45;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 22px;
}

.hero-note {
  margin: 18px 0 0;
  color: var(--ink-soft);
  font-size: 13px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 14px 24px;
  border: 2px solid transparent;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.1;
  text-align: center;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--clay);
  color: var(--clay-text);
}

.btn-primary:hover {
  background: var(--clay-deep);
  color: var(--clay-text);
}

.btn-dark {
  background: var(--ink);
  color: var(--cream);
}

.btn-dark:hover {
  background: var(--green);
  color: var(--cream);
}

.btn-quiet {
  min-height: 0;
  padding: 10px 2px;
  border: 0;
  border-bottom: 2px solid var(--ink);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
}

.btn-quiet:hover {
  color: var(--orange-ink);
  border-color: var(--orange-ink);
}

.btn.is-disabled {
  opacity: 0.45;
  pointer-events: none;
}

.hero-stage {
  position: relative;
  min-height: 600px;
  background: var(--sky);
  overflow: hidden;
  isolation: isolate;
}

.hero-sun {
  position: absolute;
  top: 48%;
  left: 50%;
  width: min(520px, 86%);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--butter);
  transform: translate(-50%, -50%);
  z-index: 0;
}

.stage-tag {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 4;
  padding: 8px 11px;
  background: var(--cream);
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.07em;
  transform: rotate(-2deg);
}

.hero-product {
  position: absolute;
  left: 50%;
  bottom: 64px;
  z-index: 2;
  width: auto;
  height: 530px;
  transform: translateX(-50%);
}

.hero-stage::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 50px;
  z-index: 1;
  width: 220px;
  height: 18px;
  border-radius: 50%;
  background: rgba(31, 27, 22, 0.16);
  transform: translateX(-50%);
}

.sticker {
  position: absolute;
  z-index: 4;
  display: inline-block;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: 0.07em;
  text-align: center;
  text-transform: uppercase;
}

.sticker-gift {
  top: 26px;
  right: 26px;
  padding: 12px 15px;
  background: var(--orange);
  color: var(--ink);
  transform: rotate(6deg);
}

.sticker-gift b {
  display: block;
  margin-top: 3px;
  font-size: 16px;
  letter-spacing: 0;
  text-transform: none;
}

.sticker-best {
  right: 34px;
  bottom: 108px;
  padding: 11px 13px;
  background: var(--ink);
  color: var(--cream);
  transform: rotate(-7deg);
}

.spark {
  position: absolute;
  z-index: 3;
  fill: var(--orange);
}

.spark-a {
  top: 15%;
  left: 9%;
  width: 36px;
}

.spark-b {
  bottom: 24%;
  left: 14%;
  width: 22px;
  fill: var(--ink);
}

.hero-gift {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 5;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 4px 18px;
  padding: 14px 20px;
  background: var(--cream);
  color: var(--ink);
  transition: background 0.2s ease;
}

.hero-gift:hover {
  background: var(--paper);
}

.gift-label {
  grid-column: 1;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.gift-name {
  grid-column: 1;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.1;
}

.gift-cond {
  grid-column: 1;
  color: var(--ink-soft);
  font-size: 13px;
}

.gift-arrow {
  grid-column: 2;
  grid-row: 1 / span 3;
  font-size: 26px;
  line-height: 1;
}

/* Marquee */

.marquee {
  margin-top: clamp(28px, 4vw, 48px);
  overflow: hidden;
  background: var(--ink);
  color: var(--cream);
  padding: 13px 0;
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 32s linear infinite;
}

.marquee span {
  display: block;
  padding-right: 34px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  white-space: nowrap;
}

.marquee b {
  color: var(--orange);
  padding: 0 8px;
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

/* Section basics */

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 24px;
  margin-bottom: clamp(30px, 4vw, 46px);
}

.section-head h2,
.routine-head h2,
.why h2,
.discover-panel h2,
.letter h2 {
  margin: 0;
  font-size: clamp(44px, 5.8vw, 92px);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.055em;
}

.section-lede {
  max-width: 54ch;
  margin: 16px 0 0;
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.45;
}

.section-link {
  padding-bottom: 4px;
  border-bottom: 2px solid var(--ink);
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.section-link:hover {
  color: var(--orange-ink);
  border-color: var(--orange-ink);
}

/* Bestsellers */

.bestsellers {
  padding: clamp(70px, 9vw, 130px) 0;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 16px;
}

.product-card {
  min-width: 0;
  background: var(--paper);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.card--wide {
  grid-column: span 6;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: stretch;
}

.card--calendula,
.card--chamomile {
  grid-column: span 3;
}

.card--kids,
.card--eye,
.card--oil {
  grid-column: span 4;
}

.card--copper {
  background: var(--sky);
}

.card--calendula {
  background: var(--blush);
}

.card--chamomile {
  background: var(--butter);
}

.card--kids {
  background: var(--sage);
}

.card--eye {
  background: var(--peach);
}

.card--oil {
  background: var(--oat);
}

.card-media {
  position: relative;
  min-height: 260px;
  padding: 28px 20px 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
}

.card-media img {
  width: auto;
  height: 230px;
  object-fit: contain;
  transform: translateY(8px);
  transition: transform 0.4s var(--ease);
}

.product-card:hover .card-media img {
  transform: translateY(0) scale(1.035);
}

.card--wide .card-media {
  min-height: 100%;
  padding: 30px 8px 22px 28px;
}

.card--wide .card-media img {
  height: 330px;
}

.card-media .product-hover,
.card--wide .card-media .product-hover {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: none;
  pointer-events: none;
  transition: opacity 0.28s ease, transform 0.5s var(--ease);
}

.product-card:hover .card-media .product-hover {
  opacity: 1;
  transform: scale(1.035);
}

.card-media:focus-visible .product-hover {
  opacity: 1;
}

.card-media .badge {
  z-index: 2;
}

.card-body {
  padding: 20px 22px 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}

.card-type {
  margin: 0 0 8px;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.card-body h3,
.set-info h3 {
  margin: 0 0 8px;
  font-size: clamp(21px, 1.8vw, 26px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.card-body h3 a:hover,
.set-info h3 a:hover {
  color: var(--orange-ink);
}

.card-benefit {
  margin: 0 0 18px;
  color: var(--ink-soft);
  font-size: 14.5px;
  line-height: 1.4;
}

.card-buy {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.price {
  display: inline-flex;
  align-items: baseline;
  font-size: 22px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}

.price s {
  margin-right: 8px;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 500;
}

.add {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border: 0;
  border-radius: 50%;
  background: var(--ink);
  color: var(--cream);
  display: grid;
  place-items: center;
  font-size: 24px;
  font-weight: 400;
  line-height: 1;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s var(--ease);
}

.add:hover {
  background: var(--orange);
  color: var(--ink);
  transform: scale(1.08);
}

.badge {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  padding: 7px 10px;
  background: var(--ink);
  color: var(--cream);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.1em;
  transform: rotate(-3deg);
}

.badge-sale {
  background: var(--orange);
  color: var(--ink);
}

/* Difference */

.difference {
  background: var(--green);
  color: var(--cream);
  padding: clamp(70px, 9vw, 130px) 0;
}

.difference-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  align-items: center;
  gap: clamp(40px, 6vw, 90px);
}

.difference h2 {
  margin: 0;
  font-size: clamp(40px, 5.2vw, 80px);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.055em;
}

.h2-line {
  display: block;
  white-space: nowrap;
}

.difference-lede {
  max-width: 54ch;
  margin: 24px 0 0;
  color: #d8d2c2;
  font-size: 17px;
  line-height: 1.5;
}

.claims {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 44px;
}

.claim h3 {
  margin: 0 0 8px;
  color: var(--butter);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.1;
}

.claim p {
  margin: 0;
  color: #d8d2c2;
  font-size: 14.5px;
  line-height: 1.5;
}

.inci-card {
  justify-self: end;
  width: min(480px, 100%);
  padding: 28px;
  background: var(--cream);
  color: var(--ink);
  transform: rotate(-1.5deg);
}

.inci-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 3px solid var(--ink);
}

.inci-title {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  margin: 0;
  font-size: clamp(24px, 2.2vw, 32px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
}

.inci-stamp {
  padding: 5px 8px;
  background: var(--orange);
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  transform: rotate(3deg);
}

.inci-visual {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  margin: 10px 0 14px;
}

.inci-badges {
  display: grid;
  gap: 10px;
  flex: 0 0 auto;
}

.inci-badge {
  display: flex;
  align-items: center;
  gap: 8px;
}

.inci-ring {
  width: 60px;
  height: 60px;
  flex: 0 0 auto;
}

.inci-ring .ring-track {
  fill: none;
  stroke: rgba(33, 31, 28, 0.14);
  stroke-width: 5;
}

.inci-ring .ring-fill {
  fill: none;
  stroke: var(--orange-ink);
  stroke-width: 5;
  stroke-linecap: round;
  stroke-dasharray: 150.8;
  stroke-dashoffset: 0;
  transform: rotate(-90deg);
  transform-origin: 50% 50%;
}

.inci-ring text {
  fill: var(--ink);
  font-family: inherit;
  font-size: 11px;
  font-weight: 800;
}

.inci-badge-label {
  max-width: 64px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.15;
  text-transform: uppercase;
}

.inci-big {
  color: var(--orange);
  font-size: 76px;
  font-weight: 800;
  line-height: 0.7;
  letter-spacing: -0.08em;
}

.inci-visual img {
  width: auto;
  height: 300px;
  object-fit: contain;
  justify-self: center;
}

.inci-list {
  display: grid;
  gap: 6px;
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
  font-size: 14.5px;
  min-height: 90px;
}

.inci-card [data-inci-fade] {
  transition: opacity 0.28s ease, transform 0.28s ease;
}

.inci-card.is-changing [data-inci-fade] {
  opacity: 0;
  transform: translateY(6px);
}

.inci-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.inci-dots {
  display: flex;
  gap: 6px;
}

.inci-dot {
  width: 20px;
  height: 4px;
  padding: 0;
  border: 0;
  background: rgba(33, 31, 28, 0.18);
  cursor: pointer;
  transition: background 0.2s ease;
}

.inci-dot.is-active {
  background: var(--orange-ink);
}

.inci-dot:focus-visible {
  outline: 2px solid var(--orange-ink);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .inci-card [data-inci-fade] {
    transition: none;
  }
}

.inci-list li {
  display: flex;
  gap: 8px;
}

.inci-list li::before {
  content: "·";
  color: var(--orange-ink);
  font-size: 13px;
}

.inci-link {
  display: inline-block;
  padding-bottom: 4px;
  border-bottom: 2px solid var(--ink);
  font-size: 14px;
  font-weight: 800;
}

.inci-link:hover {
  color: var(--orange-ink);
  border-color: var(--orange-ink);
}

/* Categories */

.categories {
  padding: clamp(70px, 9vw, 130px) 0;
  background: var(--paper);
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.category-card {
  position: relative;
  min-height: 480px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-width: 0;
}

.cat-face {
  --cat-art: url("illustrations/face-box.webp");
  background-color: #f1c0b9;
}

.cat-hair {
  --cat-art: url("illustrations/hair-box.webp");
  background-color: #fbc94e;
}

.cat-body {
  --cat-art: url("illustrations/body-box.webp");
  background-color: #bccbac;
}

.category-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: var(--cat-art);
  background-position: 65% 0;
  background-size: cover;
  background-repeat: no-repeat;
  pointer-events: none;
  transition: transform 0.8s var(--ease);
}

.category-card:hover::before {
  transform: scale(1.035);
}

.cat-word {
  position: relative;
  z-index: 2;
  font-size: clamp(38px, 4.4vw, 64px);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.05em;
}

.cat-copy {
  position: relative;
  z-index: 2;
  max-width: 23ch;
  margin-top: 12px;
  font-size: 14.5px;
  line-height: 1.4;
}

.cat-use {
  position: relative;
  z-index: 2;
  align-self: flex-start;
  margin-top: auto;
  padding: 6px 12px;
  border: 1.5px solid rgba(31, 27, 22, 0.28);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.category-card:hover .cat-use {
  border-color: var(--ink);
  background: rgba(255, 249, 240, 0.12);
}

.category-card img {
  position: absolute;
  right: -26px;
  bottom: 38px;
  z-index: 1;
  width: auto;
  height: 320px;
  object-fit: contain;
  transition: transform 0.5s var(--ease);
}

.category-card:hover img {
  transform: translateY(-10px) rotate(2deg);
}

.cat-link {
  position: relative;
  z-index: 2;
  align-self: flex-start;
  margin-top: 12px;
  padding-bottom: 4px;
  border-bottom: 2px solid var(--ink);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Routine */

.routine {
  padding: clamp(70px, 9vw, 130px) 0;
  background: var(--butter);
}

.routine-head {
  max-width: 820px;
}

.routine-head h2 {
  font-size: clamp(40px, 5.4vw, 84px);
}

.routine-shell {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 30px;
  margin-top: clamp(30px, 4vw, 44px);
  padding: clamp(20px, 3vw, 30px);
  background: var(--cream);
}

.routine-tabs {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.routine-tab {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding: 18px 20px;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: 20px;
  font-weight: 800;
  text-align: left;
  transition: background 0.2s ease, color 0.2s ease;
}

.routine-tab::after {
  content: "→";
  opacity: 0;
  transition: opacity 0.2s ease;
}

.routine-tab:hover {
  background: rgba(31, 27, 22, 0.07);
}

.routine-tab.is-active {
  background: var(--ink);
  color: var(--cream);
}

.routine-tab.is-active::after {
  opacity: 1;
}

.routine-panel {
  min-width: 0;
}

.routine-products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.routine-item {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 14px;
  background: var(--paper);
  position: relative;
}

.routine-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1;
}

.routine-media {
  position: relative;
  width: 100%;
  height: 124px;
  margin: 0 auto 10px;
}

.routine-media img {
  position: absolute;
  top: 0;
  left: 50%;
  width: auto;
  height: 124px;
  max-width: 100%;
  object-fit: contain;
  margin: 0;
  transform: translateX(-50%);
  transition: opacity 0.22s ease, transform 0.35s var(--ease);
}

.routine-media .routine-hover {
  opacity: 0;
}

.routine-item:hover .routine-media .routine-cut,
.routine-link:focus-visible .routine-media .routine-cut {
  opacity: 0;
}

.routine-item:hover .routine-media .routine-hover,
.routine-link:focus-visible .routine-media .routine-hover {
  opacity: 1;
}

.routine-item:hover .routine-media img {
  transform: translateX(-50%) translateY(-3px) scale(1.03);
}

.routine-name {
  font-size: 15px;
  font-weight: 800;
  line-height: 1.15;
}

.routine-benefit {
  margin-top: 5px;
  color: var(--ink-soft);
  font-size: 12.5px;
  line-height: 1.3;
}

.routine-price {
  margin-top: 10px;
  font-size: 14px;
  font-weight: 800;
}

.routine-item .add {
  width: 40px;
  height: 40px;
  margin: 10px auto 0;
  font-size: 22px;
}

.routine-summary {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-top: 18px;
  padding: 18px 22px;
  background: var(--ink);
  color: var(--cream);
}

.summary-total {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin: 0;
}

.summary-total span {
  color: var(--butter);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.routine-summary strong {
  font-size: 28px;
  line-height: 1;
}

.summary-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
}

.routine-summary .btn {
  min-height: 44px;
  padding: 12px 18px;
  background: var(--clay);
  color: var(--clay-text);
}

.routine-summary .btn:hover {
  background: var(--clay-deep);
  color: var(--clay-text);
}

.quiet-link {
  color: var(--cream);
  font-size: 13px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.quiet-link:hover {
  color: var(--butter);
}

/* Discover */

.discover {
  padding: clamp(70px, 9vw, 130px) 0;
}

.discover-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.discover-panel {
  min-height: 470px;
  padding: clamp(28px, 4vw, 50px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
}

.panel-quiz {
  background: var(--orange);
  color: var(--ink);
}

.panel-philosophy {
  background: var(--blush);
  color: var(--ink);
}

.panel-tag {
  align-self: flex-start;
  margin-bottom: 28px;
  padding: 6px 10px;
  background: var(--ink);
  color: var(--cream);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.1em;
  transform: rotate(-2deg);
}

.discover-panel h2 {
  position: relative;
  z-index: 2;
  font-size: clamp(32px, 3.8vw, 60px);
  line-height: 0.95;
}

.panel-line {
  display: block;
  white-space: nowrap;
}

.discover-panel p {
  position: relative;
  z-index: 2;
  max-width: 38ch;
  margin: 18px 0 30px;
  font-size: 16px;
  line-height: 1.45;
}

.discover-panel .btn {
  position: relative;
  z-index: 2;
  align-self: flex-start;
  margin-top: auto;
}

.discover-panel::after {
  position: absolute;
  right: -14px;
  bottom: -38px;
  z-index: 1;
  color: transparent;
  font-size: clamp(120px, 14vw, 190px);
  font-weight: 800;
  line-height: 0.7;
  letter-spacing: -0.08em;
  -webkit-text-stroke: 2px rgba(31, 27, 22, 0.2);
  pointer-events: none;
}

.panel-quiz::after {
  content: "QUIZ";
}

.panel-philosophy::after {
  content: "FOUKA";
}

/* Why */

.why {
  padding: clamp(70px, 9vw, 120px) 0;
  background: var(--paper);
}

.why h2 {
  margin-bottom: clamp(30px, 4vw, 44px);
  font-size: clamp(40px, 5vw, 76px);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.why-item {
  min-height: 280px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 26px;
}

.why-1 {
  background: var(--butter);
}

.why-2 {
  background: var(--sky);
}

.why-3 {
  background: var(--blush);
}

.why-4 {
  background: var(--sage);
}

.why-item h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.why-item p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.5;
}

/* Sets */

.sets {
  padding: clamp(70px, 9vw, 130px) 0;
}

.set-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.set-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  background: var(--paper);
}

.set-media {
  height: 320px;
  padding: 22px;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.set-baby .set-media {
  background: var(--blush);
}

.set-sun .set-media {
  background: var(--sky);
}

.set-night .set-media {
  background: var(--sage);
}

.set-still {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
}

.set-still img {
  position: absolute;
  bottom: 8px;
  width: auto;
  max-width: none;
  object-fit: contain;
  transition: scale 0.4s var(--ease);
}

.set-still .s1 {
  left: 0;
  height: 200px;
  transform: rotate(-6deg);
}

.set-still .s2 {
  left: 50%;
  z-index: 2;
  height: 260px;
  transform: translateX(-50%);
}

.set-still .s3 {
  right: 0;
  height: 180px;
  transform: rotate(5deg);
}

.set-still.is-single img {
  left: 50%;
  bottom: 10px;
  height: 280px;
  transform: translateX(-50%);
}

.set-card:hover .set-still img {
  scale: 1.035;
}

.set-info {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 22px;
}

.set-for {
  margin: 0 0 18px;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.45;
}

.set-buy {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: auto 0 14px;
}

.save {
  padding: 4px 8px;
  background: var(--orange);
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
  transform: rotate(-2deg);
}

.save-neutral {
  background: transparent;
  color: var(--ink-soft);
  transform: none;
}

.set-link {
  align-self: flex-start;
  padding-bottom: 4px;
  border-bottom: 2px solid var(--ink);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.set-link:hover {
  color: var(--orange-ink);
  border-color: var(--orange-ink);
}

/* Newsletter */

.letter {
  padding: clamp(60px, 8vw, 110px) 0;
  background: var(--orange);
  color: var(--ink);
}

.letter-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: clamp(30px, 5vw, 60px);
}

.letter h2 {
  font-size: clamp(48px, 7vw, 110px);
  line-height: 0.85;
  letter-spacing: -0.06em;
}

.letter-copy p {
  max-width: 44ch;
  margin: 20px 0 0;
  font-size: 16px;
  line-height: 1.45;
}

.letter-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  padding: 8px;
  background: var(--cream);
}

.letter-form input {
  min-width: 0;
  border: 0;
  background: transparent;
  padding: 14px 16px;
  color: var(--ink);
  font-size: 16px;
}

.letter-form input::placeholder {
  color: var(--ink-faint);
  opacity: 1;
}

.letter-form .btn {
  min-height: 48px;
  white-space: nowrap;
}

.form-msg {
  grid-column: 1 / -1;
  min-height: 20px;
  margin: 0;
  padding: 0 8px 4px;
  font-size: 13.5px;
  font-weight: 700;
}

.form-msg.is-error {
  color: #7a1f12;
}

.form-msg.is-success {
  color: var(--green);
}

/* Footer */

.site-footer {
  padding: clamp(60px, 8vw, 100px) 0 30px;
  background: var(--green);
  color: var(--cream);
}

.footer-logo {
  display: block;
  margin-bottom: clamp(30px, 5vw, 50px);
  color: var(--cream);
  font-size: clamp(90px, 16vw, 240px);
  font-weight: 800;
  line-height: 0.77;
  letter-spacing: -0.08em;
}

.footer-top {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  padding-bottom: 30px;
  border-bottom: 3px solid rgba(255, 244, 228, 0.25);
}

.footer-top p {
  max-width: 44ch;
  margin: 0;
  color: #d8d2c2;
  font-size: 16px;
}

.footer-up {
  padding-bottom: 4px;
  border-bottom: 2px solid currentColor;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.footer-up:hover {
  color: var(--butter);
}

.footer-cols {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1.2fr 1fr;
  gap: 30px;
  margin-top: 42px;
}

.footer-cols h3 {
  margin: 0 0 16px;
  color: var(--butter);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.footer-cols a,
.footer-cols p {
  display: block;
  margin: 0 0 10px;
  color: #e4decd;
  font-size: 14.5px;
  line-height: 1.5;
}

.footer-cols a:hover {
  color: var(--cream);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-small {
  color: #bfb8a7 !important;
  font-size: 12.5px !important;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 50px;
  color: #c9c2b0;
  font-size: 12.5px;
}

.footer-bottom p {
  margin: 0;
}

/* Drawers and toast */

.scrim {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: rgba(31, 27, 22, 0.55);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.scrim.is-open {
  opacity: 1;
  visibility: visible;
}

.drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 50;
  width: min(460px, 100%);
  height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--cream);
  transform: translateX(100%);
  visibility: hidden;
  transition: transform 0.4s var(--ease), visibility 0.4s ease;
}

.drawer.is-open {
  transform: translateX(0);
  visibility: visible;
}

.drawer-menu {
  left: 0;
  right: auto;
  transform: translateX(-100%);
}

.drawer-menu.is-open {
  transform: translateX(0);
}

.drawer-head {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  background: var(--paper);
}

.drawer-head h2 {
  margin: 0;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.drawer-close {
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: 32px;
  line-height: 1;
}

.drawer-close:hover {
  background: rgba(31, 27, 22, 0.07);
}

.cart-items {
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 18px 24px;
}

.cart-line {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 12px;
  background: var(--paper);
}

.cart-line img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  background: var(--paper);
}

.cart-line-name {
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
}

.cart-line-sub {
  margin-top: 3px;
  color: var(--ink-soft);
  font-size: 13px;
}

.qty {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}

.qty button {
  width: 28px;
  height: 28px;
  border: 2px solid var(--ink);
  background: transparent;
  color: var(--ink);
  font-size: 16px;
  line-height: 1;
}

.qty button:hover {
  background: var(--ink);
  color: var(--cream);
}

.cart-line-price {
  font-size: 14px;
  font-weight: 800;
  text-align: right;
}

.cart-remove {
  display: block;
  margin-top: 8px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--orange-ink);
  font-size: 13px;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cart-empty {
  margin: 0;
  padding: 30px 24px;
  color: var(--ink-soft);
  font-size: 15px;
}

.cart-foot {
  flex-shrink: 0;
  padding: 20px 24px 24px;
  border-top: 3px solid var(--ink);
}

.ship-track {
  height: 8px;
  margin-bottom: 8px;
  background: rgba(31, 27, 22, 0.12);
  overflow: hidden;
}

.ship-track span {
  display: block;
  width: 0;
  height: 100%;
  background: var(--orange);
  transition: width 0.3s ease;
}

.ship p {
  margin: 0 0 12px;
  color: var(--ink-soft);
  font-size: 13px;
}

.cart-gift {
  display: inline-block;
  margin: 0 0 12px;
  padding: 8px 10px;
  background: var(--butter);
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
}

.cart-total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin: 12px 0 14px;
  font-size: 15px;
}

.cart-total strong {
  font-size: 28px;
}

.cart-checkout {
  width: 100%;
}

.cart-note {
  margin: 10px 0 0;
  color: var(--ink-soft);
  font-size: 13px;
  text-align: center;
}

.menu-list {
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  padding: 12px 24px;
}

.menu-list a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 2px;
  padding: 18px 8px;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.menu-list a:hover {
  background: var(--paper);
}

.menu-list a span {
  max-width: 16ch;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 500;
  text-align: right;
  letter-spacing: 0;
}

.menu-contact {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px 24px 24px;
  border-top: 3px solid var(--ink);
  font-size: 14px;
}

.menu-contact p {
  margin: 0;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 60;
  max-width: calc(100% - 32px);
  padding: 14px 18px;
  background: var(--ink);
  color: var(--cream);
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 20px);
  transition: opacity 0.25s ease, transform 0.25s var(--ease), visibility 0.25s ease;
}

.toast.is-open {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

/* Responsive */

@media (max-width: 1120px) {
  .hero-grid {
    min-height: 620px;
    gap: 40px;
  }

  .hero-product {
    height: 460px;
  }

  .hero-stage {
    min-height: 550px;
  }

  .main-nav a {
    padding: 10px 8px;
  }
}

@media (max-width: 980px) {
  .main-nav {
    display: none;
  }

  .menu-tool {
    display: grid;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
    gap: 38px;
  }

  .hero-copy {
    max-width: 760px;
  }

  .hero-stage {
    min-height: 520px;
  }

  .hero-product {
    height: 430px;
    bottom: 60px;
  }

  .card--wide {
    grid-column: span 12;
  }

  .card--calendula,
  .card--chamomile,
  .card--kids,
  .card--eye,
  .card--oil {
    grid-column: span 6;
  }

  .difference-grid {
    grid-template-columns: 1fr;
  }

  .inci-card {
    justify-self: start;
    transform: rotate(-1deg);
  }

  .category-card {
    min-height: 430px;
  }

  .category-card img {
    height: 280px;
  }

  .routine-shell {
    grid-template-columns: 1fr;
  }

  .routine-tabs {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .routine-tab {
    justify-content: center;
    padding: 14px 12px;
    font-size: 16px;
    text-align: center;
  }

  .routine-tab::after {
    display: none;
  }

  .discover-panel {
    min-height: 430px;
  }

  .why-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .why-item {
    min-height: 240px;
  }

  .letter-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .letter-form {
    max-width: 640px;
  }

  .footer-cols {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .topbar-in {
    min-height: 38px;
    justify-content: center;
    flex-wrap: wrap;
    gap: 4px 14px;
    padding: 6px 0;
    text-align: center;
  }

  .topbar {
    font-size: 13px;
  }

  .section-head {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .section-link {
    justify-self: start;
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .card--wide,
  .card--calendula,
  .card--chamomile,
  .card--kids,
  .card--eye,
  .card--oil {
    grid-column: span 2;
  }

  .card--wide {
    grid-template-columns: 1fr;
  }

  .card--wide .card-media {
    min-height: 260px;
    padding: 26px 20px 0;
  }

  .card--wide .card-media img {
    height: 250px;
  }

  .category-grid,
  .set-grid {
    grid-template-columns: 1fr;
  }

  .category-card {
    min-height: 360px;
  }

  .category-card img {
    height: 250px;
    right: -8px;
    bottom: 32px;
  }

  .discover-grid {
    grid-template-columns: 1fr;
  }

  .why-grid {
    grid-template-columns: 1fr;
  }

  .why-item {
    min-height: 0;
    gap: 20px;
  }

  .set-media {
    height: 300px;
  }

  .set-still .s1 {
    height: 170px;
  }

  .set-still .s2 {
    height: 215px;
  }

  .set-still .s3 {
    height: 155px;
  }

  .set-still.is-single img {
    height: 240px;
  }

  .footer-top {
    align-items: start;
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  :root {
    --wrap: calc(100% - 32px);
  }

  .header-in {
    min-height: 62px;
    gap: 12px;
  }

  .brand-word {
    font-size: 23px;
  }

  .brand-sub {
    margin-top: 4px;
    font-size: 13px;
  }

  .header-tools {
    gap: 0;
  }

  .tool {
    width: 38px;
    height: 38px;
  }

  .tool svg {
    width: 19px;
    height: 19px;
  }

  .hero {
    padding-top: 22px;
  }

  .hero h1 {
    font-size: clamp(28px, 9.2vw, 40px);
    margin-bottom: 20px;
  }

  .hero-lede {
    font-size: 16.5px;
    margin-bottom: 24px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
    gap: 14px;
  }

  .hero-actions .btn-primary {
    width: 100%;
  }

  .hero-actions .btn-quiet {
    align-self: flex-start;
  }

  .hero-stage {
    min-height: 420px;
  }

  .hero-product {
    height: 340px;
    bottom: 62px;
  }

  .hero-sun {
    width: 84%;
  }

  .stage-tag {
    top: 12px;
    left: 12px;
    font-size: 13px;
  }

  .sticker-gift {
    top: 14px;
    right: 14px;
  }

  .sticker-best {
    right: 18px;
    bottom: 96px;
  }

  .spark-a {
    width: 26px;
  }

  .spark-b {
    width: 17px;
  }

  .hero-gift {
    padding: 12px 14px;
  }

  .gift-name {
    font-size: 14px;
  }

  .marquee span {
    font-size: 13px;
  }

  .section-head h2,
  .routine-head h2,
  .why h2,
  .letter h2 {
    font-size: clamp(38px, 12vw, 52px);
  }

  .section-lede {
    font-size: 15.5px;
  }

  .product-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .card--wide,
  .card--calendula,
  .card--chamomile,
  .card--kids,
  .card--eye,
  .card--oil {
    grid-column: span 1;
  }

  .card-media {
    min-height: 220px;
  }

  .card-media img {
    height: 200px;
  }

  .card--wide .card-media img {
    height: 230px;
  }

  .card--wide .card-media {
    min-height: 230px;
  }

  .claims {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-top: 32px;
  }

  .difference h2 {
    font-size: clamp(32px, 9.8vw, 46px);
  }

  .inci-card {
    padding: 20px;
  }

  .inci-big {
    font-size: 64px;
  }

  .inci-visual img {
    height: 220px;
  }

  .inci-badges {
    gap: 8px;
  }

  .inci-ring {
    width: 46px;
    height: 46px;
  }

  .inci-ring text {
    font-size: 10px;
  }

  .routine-shell {
    padding: 14px;
    gap: 18px;
  }

  .routine-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .routine-products {
    grid-template-columns: 1fr;
  }

  .routine-item {
    flex-direction: row;
    align-items: center;
    gap: 12px;
  }

  .routine-link {
    display: grid;
    grid-template-columns: 78px minmax(0, 1fr);
    grid-template-rows: auto auto auto;
    column-gap: 12px;
    align-items: center;
    text-align: left;
  }

  .routine-media {
    grid-row: 1 / span 3;
    width: 78px;
    height: 78px;
    margin: 0;
  }

  .routine-media img {
    height: 78px;
  }

  .routine-name,
  .routine-benefit,
  .routine-price {
    grid-column: 2;
  }

  .routine-benefit {
    margin-top: 2px;
  }

  .routine-price {
    margin-top: 4px;
  }

  .routine-item .add {
    margin: 0;
    flex-shrink: 0;
  }

  .routine-summary {
    align-items: stretch;
    flex-direction: column;
    gap: 14px;
  }

  .summary-actions {
    align-items: stretch;
    flex-direction: column;
    gap: 12px;
  }

  .routine-summary .btn {
    width: 100%;
  }

  .discover-panel {
    min-height: 390px;
    padding: 26px;
  }

  .discover-panel h2 {
    font-size: clamp(24px, 8vw, 36px);
  }

  .discover-panel::after {
    font-size: 120px;
  }

  .letter-form {
    grid-template-columns: 1fr;
  }

  .letter-form .btn {
    width: 100%;
  }

  .footer-logo {
    font-size: clamp(86px, 27vw, 130px);
  }

  .footer-cols {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 6px;
  }

  .cart-line {
    grid-template-columns: 60px minmax(0, 1fr) auto;
    gap: 10px;
  }

  .cart-line img {
    width: 60px;
    height: 60px;
  }

  .drawer-head,
  .cart-items,
  .cart-foot,
  .menu-list,
  .menu-contact {
    padding-left: 18px;
    padding-right: 18px;
  }
}

@keyframes heroIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.hero-copy {
  animation: heroIn 0.7s 0.05s var(--ease) both;
}

/* Hero carousel */

.hero-grid.hero-carousel {
  position: relative;
  display: block;
  min-height: 0;
}

.hero-slides {
  display: grid;
}

.hero-slide {
  grid-area: 1 / 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.98fr);
  gap: clamp(32px, 4vw, 56px);
  align-items: center;
  min-height: clamp(560px, calc(100svh - 140px), 760px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.55s ease, transform 0.55s var(--ease), visibility 0.55s;
  pointer-events: none;
}

.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  transform: none;
  pointer-events: auto;
}

.hero-slide.is-active .hero-copy {
  animation: heroIn 0.55s var(--ease) both;
}

.hero .hero-title {
  margin: 0 0 26px;
  font-size: clamp(36px, 4.4vw, 64px);
  font-weight: 800;
  line-height: 0.88;
  letter-spacing: -0.06em;
}

.hero-pager {
  position: absolute;
  left: 0;
  bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 0;
}

.hero-pager button {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(31, 27, 22, 0.25);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.hero-pager button[aria-current="true"] {
  background: var(--ink);
  transform: scale(1.25);
}

.hero-pager button:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 4px;
}

.hero-pager .hero-pause {
  width: auto;
  height: auto;
  margin-left: 8px;
  border-radius: 0;
  background: transparent;
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.hero-pager .hero-pause:hover {
  color: var(--ink);
}

.slide-2 .hero-stage {
  background: var(--paper);
}

.slide-2 .hero-sun {
  background: var(--sage);
}

.slide-2 .hero-product {
  height: 430px;
  bottom: 82px;
}

.slide-3 .hero-stage {
  background: var(--butter);
}

.slide-3 .hero-sun {
  background: var(--cream);
}

.slide-4 .hero-stage {
  background: var(--green);
}

.slide-4 .hero-sun {
  background: var(--sage);
}

.slide-4 .hero-product {
  height: 460px;
}

.slide-4 .sticker-best {
  background: var(--cream);
  color: var(--ink);
}

@media (max-width: 1120px) {
  .hero-slide {
    min-height: 620px;
    gap: 40px;
  }

  .hero-slide .hero-product {
    height: 460px;
  }

  .hero-slide .hero-stage {
    min-height: 550px;
  }

  .slide-2 .hero-product {
    height: 400px;
  }

  .slide-4 .hero-product {
    height: 420px;
  }
}

@media (max-width: 980px) {
  .hero-slide {
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
    gap: 38px;
  }

  .hero-pager {
    position: static;
    margin-top: 16px;
  }

  .hero-slide .hero-copy {
    max-width: 760px;
  }

  .hero-slide .hero-stage {
    min-height: 520px;
  }

  .hero-slide .hero-product {
    height: 430px;
    bottom: 60px;
  }

  .slide-2 .hero-product {
    height: 360px;
  }

  .slide-4 .hero-product {
    height: 390px;
  }
}

@media (max-width: 560px) {
  .hero-slide .hero-lede {
    font-size: 16.5px;
    margin-bottom: 24px;
  }

  .hero-slide .hero-actions {
    align-items: stretch;
    flex-direction: column;
    gap: 14px;
  }

  .hero-slide .hero-actions .btn-primary {
    width: 100%;
  }

  .hero-slide .hero-actions .btn-quiet {
    align-self: flex-start;
  }

  .hero-slide .hero-stage {
    min-height: 420px;
  }

  .hero-slide .hero-product {
    height: 340px;
    bottom: 62px;
  }

  .slide-2 .hero-product {
    height: 300px;
  }

  .slide-4 .hero-product {
    height: 320px;
  }

  .hero-pager {
    margin-top: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .marquee {
    overflow-x: auto;
  }

  .marquee-track {
    animation: none;
  }

}


/* Empty cart — best sellers slider */
.cart-empty {
  margin: 0;
  padding: 0 24px 24px;
  color: var(--ink);
  font-size: 15px;
}

.cart-empty[hidden] {
  display: none;
}

.ce-lead {
  margin: 0 0 12px;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--ink-soft);
}

.ce-lead a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.ce-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 18px 0 14px;
}

.ce-head h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.ce-nav {
  display: flex;
  gap: 8px;
}

.ce-arrow {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(31, 27, 22, 0.35);
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.ce-arrow:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--cream);
}

.ce-arrow:disabled {
  opacity: 0.3;
  cursor: default;
}

.ce-arrow svg {
  width: 16px;
  height: 16px;
}

.ce-track {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-bottom: 2px;
}

.ce-track::-webkit-scrollbar {
  display: none;
}

.ce-card {
  flex: 0 0 calc(100% - 54px);
  scroll-snap-align: start;
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 8px 16px;
  padding: 16px;
  background: #f4f1ed;
}

.ce-media {
  grid-row: span 2;
  display: block;
}

.ce-media img {
  display: block;
  mix-blend-mode: multiply;
  width: 92px;
  height: 92px;
  object-fit: contain;
}

.ce-info {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ce-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.ce-name {
  font-size: 14px;
  font-weight: 800;
  line-height: 1.25;
  color: var(--ink);
}

.ce-name:hover {
  color: var(--orange-ink);
}

.ce-prices {
  flex-shrink: 0;
  text-align: right;
  font-size: 13px;
  line-height: 1.35;
  white-space: nowrap;
}

.ce-old {
  display: block;
  color: var(--ink-soft);
  text-decoration: line-through;
}

.ce-new {
  font-size: 14px;
  font-weight: 800;
}

.ce-heart-row {
  display: flex;
  justify-content: flex-end;
  margin-top: auto;
}

.ce-heart {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}

.ce-heart svg {
  width: 20px;
  height: 20px;
}

.ce-heart.is-on {
  color: var(--orange);
}

.ce-heart.is-on svg {
  fill: currentColor;
}

.ce-add {
  grid-column: 2;
  min-height: 38px;
  padding: 8px 10px;
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease;
}

.ce-add:hover {
  background: var(--ink);
  color: var(--cream);
}

#cartDrawer.is-empty .cart-foot,
#cartDrawer.is-empty .cart-items {
  display: none;
}

@media (max-width: 560px) {
  .cart-empty {
    padding: 0 16px 20px;
  }

  .ce-card {
    flex-basis: calc(100% - 40px);
    grid-template-columns: 80px minmax(0, 1fr);
    padding: 12px;
  }

  .ce-media img {
    width: 80px;
    height: 80px;
  }
}

/* search panel */
.site-header .search-panel{position:absolute;top:100%;left:0;right:0;z-index:40;background:var(--paper, #fff9f0);border-bottom:1px solid var(--line, rgba(31,27,22,.14));box-shadow:0 18px 40px rgba(31,27,22,.12)}
.site-header .search-panel[hidden]{display:none!important}
.site-header .search-in{padding:18px 0 22px}
.site-header .search-form{display:flex;align-items:center;gap:12px;border:2px solid var(--ink, #1f1b16);background:#fff;padding:8px 10px 8px 16px}
.site-header .search-form input[type=search]{flex:1;min-width:0;border:0;background:transparent;font-family:inherit;font-size:17px;font-weight:600;color:var(--ink, #1f1b16);outline:none;height:40px}
.site-header .search-form input[type=search]::placeholder{color:var(--ink-faint, #6b6357);font-weight:500}
.site-header .search-form button{width:40px;height:40px;border:0;background:var(--ink, #1f1b16);color:var(--cream, #fff4e4);display:grid;place-items:center;cursor:pointer}
.site-header .search-form button svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}
.site-header .search-results{margin-top:12px;display:grid;gap:2px}
.site-header .search-item{display:grid;grid-template-columns:56px minmax(0,1fr) auto;align-items:center;gap:14px;padding:7px 8px;color:var(--ink, #1f1b16);text-decoration:none}
.site-header .search-item:hover{background:rgba(31,27,22,.06)}
.site-header .search-item img{display:block;width:56px;height:56px;object-fit:cover;background:#f4f1ed}
.site-header .search-name{font-size:15px;font-weight:700;line-height:1.25}
.site-header .search-price{font-size:14px;font-weight:700;color:var(--ink-soft, #514a40);white-space:nowrap}
.site-header .search-empty{margin:0;padding:10px 8px;font-size:14px;color:var(--ink-faint, #6b6357)}
@media (max-width:560px){.site-header .search-in{padding:14px 0 18px}.site-header .search-form input[type=search]{font-size:16px}}
