/* Zīle, direction 2: Gimene. One family: Figtree. */

:root {
  --paper: #FAF7F2;
  --oat: #F0E9DC;
  --sand: #E3DACB;
  --white: #FFFFFF;
  --sage: #5E7458;
  --sage-deep: #475A43;
  --sage-soft: #DCE3D3;
  --clay: #8F4729;
  --clay-soft: #F2DED2;
  --ink: #1D1B18;
  --muted: #655F56;
  --line: #E6DFD2;
  --r-sm: 10px;
  --r: 16px;
  --r-lg: 24px;
  --pill: 999px;
  --wrap: 1360px;
  --gutter: clamp(16px, 4vw, 40px);
  --shadow: 0 1px 2px rgba(29, 27, 24, .04), 0 10px 30px rgba(29, 27, 24, .07);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Figtree", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  font-feature-settings: "ss01";
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3, .h4 { font-weight: 600; letter-spacing: -0.015em; line-height: 1.15; }
h1 { font-size: clamp(2.3rem, 5.2vw, 4.1rem); line-height: 1.12; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.65rem, 3vw, 2.4rem); }
h3 { font-size: 1rem; }
.h4 { font-size: 1.15rem; }
.lead { font-size: clamp(1.02rem, 1.3vw, 1.18rem); color: var(--muted); max-width: 52ch; }
.eyebrow {
  font-size: .8rem; font-weight: 600; letter-spacing: .09em; text-transform: uppercase;
  color: var(--sage-deep); margin-bottom: 14px;
}
.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: var(--r-sm); }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--sage-deep); outline-offset: 3px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 0 22px; border-radius: var(--pill);
  font-weight: 600; font-size: .95rem; border: 1.5px solid transparent;
  transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--solid { background: var(--sage); color: #fff; }
.btn--solid:hover { background: var(--sage-deep); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #000; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: #fff; }
.btn--lg { min-height: 52px; padding: 0 28px; font-size: 1rem; }
.btn--block { width: 100%; }
.btn.is-added { background: var(--ink); }
.iconbtn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 50%; background: transparent; border: 0;
  transition: background .2s var(--ease);
}
.iconbtn:hover { background: var(--oat); }
.iconbtn--ring { border: 1.5px solid var(--line); background: var(--white); }
.iconbtn--ring:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.link-arrow { font-weight: 600; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.link-arrow::after { content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-top: 2px solid currentColor; transform: rotate(45deg); }
.link-arrow:hover { color: var(--sage-deep); }

/* Top bar */
.topbar { background: var(--ink); color: #fff; font-size: .82rem; }
.topbar__in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 36px; }
.topbar__msg { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lang { display: flex; gap: 2px; }
.lang__btn { background: transparent; border: 0; padding: 4px 8px; border-radius: var(--pill); color: rgba(255,255,255,.65); font-weight: 600; font-size: .78rem; letter-spacing: .04em; }
.lang__btn:hover { color: #fff; }
.lang__btn.is-on { color: #fff; background: rgba(255,255,255,.14); }
.lang--footer .lang__btn { color: var(--muted); }
.lang--footer .lang__btn.is-on { color: var(--ink); background: var(--oat); }

/* Header */
.header { position: sticky; top: 0; z-index: 50; background: var(--paper); border-bottom: 1px solid var(--line); }
.header__in { display: flex; align-items: center; gap: 12px; min-height: 68px; }
.logo { font-weight: 700; font-size: 1.45rem; letter-spacing: -0.03em; line-height: 1; }
.header__burger { display: none; }
.header__actions { margin-left: auto; display: flex; align-items: center; gap: 2px; }
.cartbtn { position: relative; }
.cartbtn__count {
  position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px;
  border-radius: var(--pill); background: var(--clay); color: #fff; font-size: .7rem; font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center; line-height: 1;
}
.nav { margin-left: 24px; }
.nav__list { display: flex; gap: 2px; }
.nav__link {
  display: inline-flex; align-items: center; height: 68px; padding: 0 12px;
  font-weight: 500; font-size: .95rem; position: relative;
}
.nav__link::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 16px; height: 2px; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.nav__item:hover > .nav__link::after, .nav__item.is-open > .nav__link::after { transform: scaleX(1); }
.nav__link--sale { color: var(--clay); font-weight: 600; }
.nav__link--sale::after { background: var(--clay); }
.mega {
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--white); border-bottom: 1px solid var(--line); box-shadow: 0 30px 50px -30px rgba(29,27,24,.25);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .2s var(--ease), transform .2s var(--ease), visibility 0s linear .2s;
}
.nav__item:hover > .mega, .nav__item.is-open > .mega, .nav__item:focus-within > .mega { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.mega__in { display: grid; grid-template-columns: 1fr 1fr 1fr 260px; gap: 32px; padding: 32px 0 36px; }
.mega__title { font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.mega__col a { display: block; padding: 6px 0; font-size: .95rem; color: var(--ink); }
.mega__col a:hover { color: var(--sage-deep); text-decoration: underline; text-underline-offset: 3px; }
.mega__card { position: relative; border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 3; background: var(--oat); }
.mega__card img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .5s var(--ease); }
.mega__card:hover img { transform: scale(1.04); }
.mega__card span {
  position: absolute; left: 12px; bottom: 12px; background: var(--white); border-radius: var(--pill);
  padding: 7px 12px; font-size: .82rem; font-weight: 600;
}

/* Search */
.search { border-top: 1px solid var(--line); background: var(--white); }
.search__form { display: flex; gap: 10px; padding: 14px 0; }
.search input, .news__form input {
  flex: 1; min-width: 0; height: 46px; padding: 0 18px; border-radius: var(--pill);
  border: 1.5px solid var(--line); background: var(--white); font: inherit; color: var(--ink);
}
.search input:focus, .news__form input:focus { outline: none; border-color: var(--ink); }

/* Drawer (mobile) and cart */
.drawer, .cart { position: fixed; inset: 0; z-index: 80; visibility: hidden; overflow: hidden; }
.drawer.is-open, .cart.is-open { visibility: visible; }
.drawer__backdrop, .cart__backdrop {
  position: absolute; inset: 0; background: rgba(29,27,24,.45); border: 0; opacity: 0;
  transition: opacity .25s var(--ease);
}
.drawer.is-open .drawer__backdrop, .cart.is-open .cart__backdrop { opacity: 1; }
.drawer__panel, .cart__panel {
  position: absolute; top: 0; bottom: 0; width: min(88vw, 400px); background: var(--paper);
  display: flex; flex-direction: column; transition: transform .3s var(--ease);
  box-shadow: var(--shadow); z-index: 1;
}
.drawer__panel { left: 0; transform: translateX(-100%); }
.cart__panel { right: 0; transform: translateX(100%); }
.drawer.is-open .drawer__panel, .cart.is-open .cart__panel { transform: none; }
.drawer__head, .cart__head { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px 14px 20px; border-bottom: 1px solid var(--line); }
.drawer__nav { overflow-y: auto; padding: 8px 0; flex: 1; }
.acc { border-bottom: 1px solid var(--line); }
.acc summary {
  list-style: none; cursor: pointer; padding: 14px 20px; font-weight: 600; font-size: 1.05rem;
  display: flex; align-items: center; justify-content: space-between;
}
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: ""; width: 8px; height: 8px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); transition: transform .2s; margin-right: 4px; }
.acc[open] summary::after { transform: rotate(-135deg); }
.acc a { display: block; padding: 10px 20px 10px 28px; color: var(--muted); }
.acc a:last-child { padding-bottom: 16px; }
.drawer__all { display: block; padding: 14px 20px; font-weight: 600; font-size: 1.05rem; border-bottom: 1px solid var(--line); }
.drawer__sale { display: block; padding: 16px 20px; font-weight: 600; color: var(--clay); }
.cart__item-name a:hover { text-decoration: underline; text-underline-offset: 3px; }
.drawer__foot { padding: 16px 20px; border-top: 1px solid var(--line); font-size: .88rem; color: var(--muted); }
.cart__list { flex: 1; overflow-y: auto; padding: 8px 20px; }
.cart__item { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.cart__item img { width: 64px; height: 80px; object-fit: cover; border-radius: var(--r-sm); }
.cart__item-name { font-weight: 600; font-size: .95rem; }
.cart__item-meta { font-size: .85rem; color: var(--muted); }
.cart__item-price { font-weight: 600; }
.cart__remove { background: none; border: 0; color: var(--muted); font-size: .8rem; text-decoration: underline; padding: 2px 0; }
.cart__empty { padding: 32px 20px; color: var(--muted); text-align: center; }
.cart.has-items .cart__empty { display: none; }
.cart__foot { padding: 16px 20px 20px; border-top: 1px solid var(--line); }
.cart__total { display: flex; justify-content: space-between; margin-bottom: 12px; font-size: 1.05rem; }

/* Sections */
.section { padding: clamp(48px, 7vw, 96px) 0; }
.section--tight { padding: clamp(28px, 4vw, 48px) 0; }
.section--oat { background: var(--oat); }
.section--sage { background: var(--sage-soft); }
.section__head { margin-bottom: clamp(24px, 3vw, 40px); }
.section__head--row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.section__sub { color: var(--muted); margin-top: 8px; }

/* Hero */
.hero { padding: clamp(24px, 3vw, 40px) 0 0; }
.hero__in {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(24px, 4vw, 64px); align-items: center;
  background: var(--oat); border-radius: var(--r-lg); padding: clamp(24px, 3vw, 40px);
}
.hero__copy { padding: clamp(8px, 2vw, 32px) 0 clamp(8px, 2vw, 32px) clamp(0px, 2vw, 24px); }
.hero__copy .lead { margin-top: 18px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 32px; font-size: .88rem; color: var(--muted); }
.hero__trust li { display: flex; align-items: center; gap: 8px; }
.hero__trust li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--sage); }
.hero__media { position: relative; border-radius: var(--r); overflow: hidden; aspect-ratio: 1 / 1.1; background: var(--sand); }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.hero__tag {
  position: absolute; left: 14px; bottom: 14px; background: var(--white); border-radius: var(--pill);
  padding: 8px 14px; font-size: .85rem; font-weight: 600; box-shadow: var(--shadow);
}

/* Ages */
.ages { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.age { display: block; background: var(--white); border-radius: var(--r); padding: 12px 12px 16px; border: 1px solid var(--line); transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.age:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.age__media { display: block; aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: var(--oat); margin-bottom: 12px; }
.age__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.age__label { display: block; font-weight: 700; font-size: 1.05rem; }
.age__size { display: block; font-size: .85rem; color: var(--muted); }

/* Cards */
.card { display: flex; flex-direction: column; height: 100%; }
.card__media { position: relative; display: block; aspect-ratio: 3 / 4; border-radius: var(--r); overflow: hidden; background: var(--white); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.card:hover .card__media img { transform: scale(1.04); }
.badge { position: absolute; left: 10px; top: 10px; background: var(--white); border-radius: var(--pill); padding: 5px 10px; font-size: .74rem; font-weight: 700; letter-spacing: .03em; }
.card__body { padding: 12px 2px 0; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.card__cat { font-size: .8rem; color: var(--muted); }
.card__name { font-weight: 600; font-size: .98rem; line-height: 1.3; }
.card__name a:hover { text-decoration: underline; text-underline-offset: 3px; }
.card__price { font-weight: 700; margin-top: 2px; }
.sizes { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.chip {
  min-height: 32px; padding: 0 12px; border-radius: var(--pill); border: 1.5px solid var(--line);
  background: var(--white); font-size: .82rem; font-weight: 600; transition: all .15s var(--ease);
}
.chip:hover { border-color: var(--ink); }
.chip.is-on { background: var(--ink); color: #fff; border-color: var(--ink); }
.sizes.needs-pick .chip { border-color: var(--clay); }
.card--shop .btn { margin-top: auto; }
.card--shop .sizes + .btn { margin-top: 12px; }
.card--shop .card__body { background: var(--white); }

/* Family */
.family { display: grid; grid-template-columns: 1.1fr 2fr; gap: 24px; }
.family__feature { position: relative; display: block; border-radius: var(--r); overflow: hidden; background: var(--sand); min-height: 100%; }
.family__feature img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; transition: transform .6s var(--ease); }
.family__feature:hover img { transform: scale(1.03); }
.family__cap { position: absolute; left: 16px; right: 16px; bottom: 16px; background: var(--white); border-radius: 12px; padding: 12px 14px; font-size: .9rem; color: var(--muted); }
.family__cap strong { display: block; color: var(--ink); font-size: 1rem; margin-bottom: 2px; }
.family__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }

/* Rail */
.rail-wrap { position: relative; }
.rail {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * 16px) / 4);
  gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-left: 0;
  padding-bottom: 8px; scrollbar-width: none;
}
.rail::-webkit-scrollbar { display: none; }
.rail__item { scroll-snap-align: start; }
.rail__item .card { background: var(--white); border-radius: var(--r); border: 1px solid var(--line); padding: 8px; }
.rail__item .card__body { padding: 12px 8px 10px; }
.rail__nav { display: flex; gap: 8px; }

/* Softshell */
.soft { display: grid; grid-template-columns: 1fr 1fr; grid-template-areas: "media copy" "media tiles"; gap: 24px 40px; align-items: center; }
.soft__media { grid-area: media; border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 5; }
.soft__media img { width: 100%; height: 100%; object-fit: cover; }
.soft__copy { grid-area: copy; align-self: end; }
.soft__copy .lead { margin: 16px 0 24px; }
.soft__tiles { grid-area: tiles; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; align-self: start; }
.tile { position: relative; display: block; aspect-ratio: 3 / 4; border-radius: 12px; overflow: hidden; background: var(--sand); }
.tile img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .6s var(--ease); }
.tile:hover img { transform: scale(1.05); }
.tile__txt { position: absolute; left: 8px; right: 8px; bottom: 8px; background: var(--white); border-radius: 10px; padding: 8px 10px; font-size: .82rem; line-height: 1.25; }
.tile__txt strong { display: block; }
.tile__txt span { color: var(--muted); }

/* Newborn */
.newborn { display: grid; grid-template-columns: 1fr 1fr; grid-template-areas: "media copy" "grid grid"; gap: 32px 40px; align-items: center; }
.newborn__media { grid-area: media; position: relative; border-radius: var(--r); overflow: hidden; aspect-ratio: 2.5 / 1; background: var(--sand); }
.newborn__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.newborn__cap { position: absolute; left: 14px; bottom: 14px; background: var(--white); border-radius: var(--pill); padding: 8px 14px; font-size: .85rem; font-weight: 600; }
.newborn__copy { grid-area: copy; }
.newborn__copy .lead { margin-top: 16px; }
.newborn__grid { grid-area: grid; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }

/* Promos */
.promos { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 16px; }
.promo { border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; gap: 8px; padding: 24px; min-height: 240px; }
.promo--img { position: relative; padding: 0; background: var(--sand); }
.promo--img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 100%; position: absolute; inset: 0; transform: scale(1.15); transform-origin: 50% 100%; }
.promo__txt { position: relative; margin: auto 16px 16px; background: var(--white); border-radius: 12px; padding: 14px 16px; display: flex; flex-direction: column; gap: 4px; max-width: 320px; }
.promo__txt strong { font-size: 1.15rem; line-height: 1.25; }
.promo__link { font-weight: 600; color: var(--sage-deep); font-size: .9rem; }
.promo__kicker { font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.promo__big { font-size: 1.5rem; font-weight: 600; letter-spacing: -0.01em; line-height: 1.2; }
.promo--shop { background: var(--clay-soft); }
.promo--shop .promo__kicker { color: var(--clay); }
.promo--shop p:not(.promo__kicker):not(.promo__big) { color: var(--muted); }
.promo--shop .btn { margin-top: auto; align-self: flex-start; }
.promo--store { background: var(--white); border: 1px solid var(--line); }
.promo--store p:not(.promo__kicker):not(.promo__big) { color: var(--muted); }
.promo--store .link-arrow { margin-top: auto; }

/* Press */
.press { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 24px 0; }
.press li { display: flex; flex-direction: column; gap: 2px; font-size: .9rem; color: var(--muted); }
.press strong { color: var(--ink); font-weight: 600; }

/* Newsletter */
.news { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; }
.news__copy .lead { margin-top: 12px; }
.news__form { display: flex; flex-wrap: wrap; gap: 10px; }
.news__msg { width: 100%; font-size: .9rem; color: var(--sage-deep); min-height: 1.4em; }
.news__msg.is-err { color: var(--clay); }

/* Footer */
.footer { background: var(--white); border-top: 1px solid var(--line); padding: clamp(40px, 6vw, 72px) 0 0; }
.footer__in { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 32px; padding-bottom: 40px; }
.footer__brand p { color: var(--muted); max-width: 32ch; }
.footer__brand .logo { color: var(--ink); margin-bottom: 12px; }
.footer__thanks { margin-top: 16px; font-weight: 600; color: var(--ink); }
.footer__title { font-weight: 700; margin-bottom: 12px; }
.footer__col a, .footer__col p { display: block; padding: 4px 0; color: var(--muted); }
.footer__col a:hover { color: var(--ink); }
.footer__col .lang { margin-top: 12px; }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 18px 0; border-top: 1px solid var(--line); font-size: .85rem; color: var(--muted); }

/* Tab bar and toast */
.tabbar { display: none; }
.toast {
  position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); z-index: 90;
  background: var(--ink); color: #fff; padding: 12px 18px; border-radius: var(--pill); font-size: .9rem; font-weight: 500;
  opacity: 0; visibility: hidden; transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s linear .25s;
  max-width: calc(100vw - 32px); text-align: center;
}
.toast.is-on { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition-delay: 0s; }

/* Responsive */
@media (max-width: 1260px) {
  .nav { margin-left: 12px; }
  .nav__link { padding: 0 9px; font-size: .9rem; }
  .mega__in { grid-template-columns: 1fr 1fr 1fr 220px; }
}

@media (max-width: 1180px) {
  .nav { display: none; }
  .header__burger { display: inline-flex; margin-left: -8px; }
}

@media (max-width: 1100px) {
  .rail { grid-auto-columns: calc((100% - 2 * 16px) / 3); }
  .family { grid-template-columns: 1fr; }
  .family__feature { aspect-ratio: 16 / 9; min-height: 0; }
  .family__grid { grid-template-columns: repeat(4, 1fr); }
  .soft { grid-template-columns: 1fr 1.2fr; }
  .soft__tiles { grid-template-columns: repeat(2, 1fr); }
  .footer__in { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 960px) {
  .header__account { display: none; }
  .hero__in { grid-template-columns: 1fr; }
  .hero__copy { padding: 8px 4px 4px; }
  .hero__media { aspect-ratio: 4 / 4.4; order: -1; }
  .ages { grid-template-columns: repeat(5, 1fr); gap: 10px; }
  .family__grid, .newborn__grid { grid-template-columns: repeat(2, 1fr); }
  .newborn { grid-template-columns: 1fr; grid-template-areas: "media" "copy" "grid"; }
  .newborn__media { aspect-ratio: 4 / 5; max-height: 460px; }
  .promos { grid-template-columns: 1fr 1fr; }
  .promo--img { grid-column: 1 / -1; min-height: 280px; }
  .press { grid-template-columns: repeat(2, 1fr); }
  .news { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  body { padding-bottom: 68px; }
  .topbar__in { justify-content: center; }
  .topbar .lang { display: none; }
  .topbar__msg { font-size: .78rem; }
  .header__in { min-height: 60px; }
  .logo { font-size: 1.3rem; }
  .hero { padding-top: 12px; }
  .hero__in { padding: 10px 10px 22px; border-radius: 20px; gap: 18px; }
  .hero__copy { padding: 0 8px; }
  h1 { font-size: 2.15rem; }
  .hero__cta .btn { flex: 1 1 100%; }
  .hero__trust { gap: 6px 16px; margin-top: 22px; }
  .section { padding: 44px 0; }
  .section__head--row { flex-direction: column; align-items: flex-start; gap: 14px; }
  .ages { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 10px; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); scrollbar-width: none; }
  .ages::-webkit-scrollbar { display: none; }
  .ages li { flex: 0 0 150px; scroll-snap-align: start; }
  .family__feature { aspect-ratio: 4 / 3; }
  .family__grid { gap: 12px; }
  .rail { grid-auto-columns: 78%; margin-inline: 0; padding-inline: var(--gutter); width: 100%; scroll-padding-left: var(--gutter); }
  .rail__nav { display: none; }
  .soft { grid-template-columns: 1fr; grid-template-areas: "copy" "media" "tiles"; gap: 20px; }
  .soft__media { aspect-ratio: 4 / 4.2; }
  .soft__tiles { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .soft__copy .btn { width: 100%; }
  .newborn__grid { gap: 12px; }
  .promos { grid-template-columns: 1fr; }
  .promo { min-height: 0; }
  .promo--img { min-height: 260px; }
  .promo--img img { transform: scale(1.35); }
  .press { grid-template-columns: 1fr 1fr; gap: 14px 12px; }
  .news__form .btn { width: 100%; }
  .news__form input { flex-basis: 100%; }
  .footer__in { grid-template-columns: 1fr 1fr; gap: 28px 16px; }
  .footer__brand, .footer__col:last-child { grid-column: 1 / -1; }
  .footer__bottom { flex-direction: column; gap: 4px; }
  .tabbar {
    display: grid; grid-template-columns: repeat(4, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    background: var(--white); border-top: 1px solid var(--line); padding: 6px 4px calc(6px + env(safe-area-inset-bottom));
  }
  .tabbar__item { display: flex; flex-direction: column; align-items: center; gap: 3px; background: none; border: 0; padding: 6px 0; font-size: .7rem; font-weight: 600; color: var(--muted); border-radius: 10px; }
  .tabbar__item.is-on, .tabbar__item:hover { color: var(--ink); }
  .tabbar__item svg { width: 22px; height: 22px; }
  .toast { bottom: 84px; }
  .cart__panel, .drawer__panel { width: min(92vw, 400px); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0s !important; animation: none !important; }
}
