/* German Shop — всё для улыбки */
/* Onest (SIL Open Font License), self-hosted variable font — weights 400–700 */
@font-face { font-family: "Onest"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("fonts/onest-cyrillic-ext.woff2") format("woff2"); unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
@font-face { font-family: "Onest"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("fonts/onest-cyrillic.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Onest"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("fonts/onest-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Onest"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("fonts/onest-latin.woff2") format("woff2"); 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 {
  --brand: #C65A31;          /* terracotta from the logo, darkened for AA contrast on white text */
  --brand-strong: #A8471F;
  --brand-soft: #F8E6DC;
  --mint: #DDEFE6;
  --mint-strong: #2F6B57;
  --pine: #1F3D35;
  --bg: #FCF9F6;
  --surface: #FFFFFF;
  --sunken: #F4EEE8;
  --ink: #241B16;
  --ink-2: #4E433C;
  --muted: #7A6D65;
  --line: #EADFD6;
  --wa: #1FA855;
  --wa-strong: #178A45;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgb(36 27 22 / .04), 0 8px 24px rgb(36 27 22 / .06);
  --shadow-lg: 0 24px 60px rgb(36 27 22 / .18);
  --wrap: 1240px;
  --font: "Onest", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.55; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; }
body.lock { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3 { line-height: 1.15; margin: 0; letter-spacing: -.02em; font-weight: 600; }
h1 { font-size: clamp(30px, 4.4vw, 52px); }
h2 { font-size: clamp(24px, 2.8vw, 34px); }
p { margin: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; border-radius: 6px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.i { width: 20px; height: 20px; flex: none; }
.i-lg { width: 40px; height: 40px; color: var(--muted); }
.i-xl { width: 72px; height: 72px; color: var(--brand); }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); margin-bottom: 10px; }
.lead { font-size: clamp(16px, 1.5vw, 19px); color: var(--ink-2); max-width: 62ch; margin-top: 14px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 20px; border-radius: 999px; font-weight: 600; font-size: 15px; border: 1.5px solid transparent; transition: background .15s, border-color .15s, transform .1s; white-space: nowrap; }
.btn:active { transform: scale(.98); }
.btn-lg { min-height: 54px; padding: 0 26px; font-size: 16px; }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-strong); }
.btn-ghost { border-color: var(--line); background: var(--surface); }
.btn-ghost:hover { border-color: var(--ink-2); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: var(--wa-strong); }
.btn-block { width: 100%; }
.btn-grow { flex: 1; }
.icon-btn { width: 44px; height: 44px; display: inline-grid; place-items: center; border-radius: 999px; position: relative; }
.icon-btn:hover { background: var(--sunken); }
.link-more { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--brand); white-space: nowrap; }
.link-more .i { width: 18px; transition: transform .15s; }
.link-more:hover .i { transform: translateX(3px); }

/* topbar + header */
.topbar { background: var(--pine); color: #E6F0EB; font-size: 13px; }
.topbar .wrap { display: flex; gap: 28px; justify-content: center; padding-top: 8px; padding-bottom: 8px; }
.topbar span, .topbar a { display: inline-flex; align-items: center; gap: 7px; }
.topbar .i { width: 16px; height: 16px; opacity: .8; }
.header { position: sticky; top: 0; z-index: 40; background: rgb(252 249 246 / .9); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid var(--line); }
.header-in { display: flex; align-items: center; gap: 24px; height: 72px; }
.logo { display: flex; align-items: center; gap: 10px; flex: none; }
.logo img { border-radius: 50%; }
.logo span { display: flex; flex-direction: column; line-height: 1.05; }
.logo b { font-size: 19px; font-weight: 600; letter-spacing: -.03em; }
.logo small { font-size: 12px; color: var(--muted); font-style: italic; }
.logo-light small { color: #B7C9C1; }
.nav { display: flex; gap: 4px; align-items: center; }
.nav > a, .has-mega > a { display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; padding: 10px 14px; border-radius: 999px; font-weight: 500; font-size: 15px; }
.nav > a:hover, .has-mega > a:hover { background: var(--sunken); }
.chev { width: 16px; transform: rotate(90deg); }
.mega { position: absolute; left: 0; right: 0; top: 100%; background: var(--surface); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: .18s; }
.has-mega:hover .mega, .has-mega:focus-within .mega { opacity: 1; visibility: visible; transform: none; }
.mega-in { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 24px; padding-top: 28px; padding-bottom: 32px; }
.mega-h { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 10px; }
.mega ul, .footer ul { list-style: none; margin: 0; padding: 0; }
.mega li a { display: block; padding: 5px 0; font-size: 15px; }
.mega li a:hover { color: var(--brand); }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.search-trigger { display: flex; align-items: center; gap: 10px; height: 44px; padding: 0 12px 0 16px; border-radius: 999px; background: var(--sunken); color: var(--muted); min-width: 240px; font-size: 15px; }
.search-trigger:hover { background: #EDE5DD; }
.search-trigger kbd { margin-left: auto; font-family: inherit; font-size: 12px; border: 1px solid var(--line); background: var(--surface); border-radius: 6px; padding: 1px 7px; }
.cart-count { position: absolute; top: 3px; right: 1px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 999px; background: var(--brand); color: #fff; font-size: 11px; font-weight: 700; display: grid; place-items: center; }
.cart-count.bump { animation: bump .4s; }
@keyframes bump { 40% { transform: scale(1.35); } }
.only-sm { display: none !important; }
.lang { display: inline-flex; padding: 3px; border-radius: 999px; background: var(--sunken); gap: 2px; flex: none; }
.lang a { padding: 5px 10px; border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--muted); line-height: 1.2; }
.lang a:hover { color: var(--ink); }
.lang a[aria-current] { background: var(--surface); color: var(--ink); box-shadow: 0 1px 3px rgb(36 27 22 / .12); }
.sheet-head .lang { margin-left: auto; margin-right: 6px; }
.lang-footer { margin-top: 18px; background: rgb(255 255 255 / .08); }
.lang-footer a { color: #B7C9C1; }
.lang-footer a:hover { color: #fff; }
.lang-footer a[aria-current] { background: rgb(255 255 255 / .16); color: #fff; box-shadow: none; }

/* hero */
.hero { padding: 48px 0 32px; overflow: hidden; }
.hero-in { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.hero h1 em { font-style: normal; color: var(--brand); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-stats { list-style: none; padding: 0; margin: 40px 0 0; display: flex; gap: 40px; }
.hero-stats b { display: block; font-size: 30px; font-weight: 600; letter-spacing: -.03em; }
.hero-stats span { color: var(--muted); font-size: 14px; }
.hero-media { position: relative; }
.hero-media img { border-radius: 32px; aspect-ratio: 1; object-fit: cover; width: 100%; box-shadow: var(--shadow-lg); }
.hero-note { position: absolute; left: -28px; bottom: 36px; display: flex; gap: 12px; align-items: center; background: var(--surface); padding: 14px 18px 14px 14px; border-radius: 18px; box-shadow: var(--shadow-lg); max-width: 270px; }
.hero-note .i { width: 40px; height: 40px; padding: 9px; border-radius: 12px; background: var(--mint); color: var(--mint-strong); }
.hero-note span { font-size: 13px; color: var(--muted); line-height: 1.35; }
.hero-note b { display: block; color: var(--ink); font-size: 15px; }

/* trust */
.trust-in { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; padding-top: 8px; padding-bottom: 8px; }
.trust-in > div { display: flex; gap: 14px; align-items: center; padding: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.trust .i { width: 44px; height: 44px; padding: 11px; border-radius: 14px; background: var(--brand-soft); color: var(--brand); }
.trust b { display: block; font-size: 15px; }
.trust span { color: var(--muted); font-size: 13px; }

/* sections */
.section { padding: 56px 0; }
.section-tint { background: var(--sunken); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 28px; }
.two-col { display: grid; grid-template-columns: 1.2fr .8fr; gap: 48px; align-items: start; }

/* category tiles */
.cat-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.cat-tile { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px; transition: border-color .15s, transform .15s, box-shadow .15s; }
.cat-tile:hover { border-color: transparent; transform: translateY(-2px); box-shadow: var(--shadow); }
.cat-tile img { aspect-ratio: 1; object-fit: cover; background: #E9E7E5; border-radius: 12px; }
.cat-tile span { padding: 10px 4px 2px; display: flex; flex-direction: column; }
.cat-tile b { font-size: 14px; font-weight: 600; line-height: 1.25; hyphens: auto; overflow-wrap: break-word; }
.cat-tile small { color: var(--muted); font-size: 12px; margin-top: 2px; }

/* product cards */
.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.shelf { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 4 * 16px) / 5); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; scrollbar-width: thin; }
.shelf > * { scroll-snap-align: start; }
.card { container-type: inline-size; position: relative; display: flex; flex-direction: column; background: var(--surface); border-radius: var(--radius); border: 1px solid var(--line); overflow: hidden; transition: box-shadow .2s, border-color .2s; }
.card:hover { box-shadow: var(--shadow); border-color: transparent; }
.card-img { position: relative; display: block; background: #E9E7E5; aspect-ratio: 1; overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.card:hover .card-img img { transform: scale(1.04); }
.is-out .card-img img { opacity: .45; filter: grayscale(.6); }
.badges { position: absolute; left: 10px; top: 10px; display: flex; flex-wrap: wrap; gap: 5px; z-index: 1; }
.badge { display: inline-block; font-size: 11px; font-weight: 600; padding: 4px 9px; border-radius: 999px; background: var(--surface); color: var(--ink); line-height: 1.2; }
.badge-hit { background: var(--brand); color: #fff; }
.badge-new { background: var(--pine); color: #fff; }
.badge-age { background: var(--mint); color: var(--mint-strong); }
.badge-sale { background: #FFE9A8; color: #6B4E00; }
.badge-out { background: var(--ink-2); color: #fff; }
.badge-need { background: var(--sunken); color: var(--ink-2); font-size: 13px; padding: 6px 12px; }
.badge-need:hover { background: var(--brand-soft); color: var(--brand-strong); }
.card-body { display: flex; flex-direction: column; flex: 1; padding: 14px 16px 16px; }
.card-brand { font-size: 12px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.card-title { font-size: 15px; font-weight: 500; line-height: 1.35; margin: 4px 0 14px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; letter-spacing: 0; }
.card-title a::after { content: ""; position: absolute; inset: 0; }
.card-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.prices { display: flex; flex-direction: column; line-height: 1.2; }
.price { font-weight: 700; font-size: 17px; white-space: nowrap; }
.price-lg { font-size: 32px; letter-spacing: -.02em; }
.old { color: var(--muted); font-size: 13px; }
.add { position: relative; z-index: 2; display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 14px 0 11px; border-radius: 999px; background: var(--brand-soft); color: var(--brand-strong); font-weight: 600; font-size: 14px; white-space: nowrap; transition: background .15s, color .15s; }
.add:hover { background: var(--brand); color: #fff; }
.add .i { width: 18px; }
.add.added { background: var(--mint); color: var(--mint-strong); }
.add-ghost { background: var(--sunken); color: var(--ink-2); padding: 0 12px; font-size: 13px; text-align: center; line-height: 1.15; }
.add-ghost:hover { background: var(--ink-2); }
@container (max-width: 150px) {
  .add .i { display: none; }
}
@container (max-width: 280px) {
  .add:not(.add-ghost) { width: 40px; padding: 0; justify-content: center; }
  .add:not(.add-ghost) span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .add-ghost { font-size: 12px; padding: 0 10px; height: auto; min-height: 40px; }
}

/* needs */
.needs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.need { position: relative; display: flex; flex-direction: column; padding: 22px 24px; background: var(--surface); border-radius: var(--radius); transition: transform .15s, box-shadow .15s; }
.need:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.need b { font-size: 18px; font-weight: 600; }
.need small { color: var(--muted); }
.need .i { position: absolute; right: 22px; top: 50%; translate: 0 -50%; color: var(--brand); }

/* kids */
.kids { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: center; }
.kids-copy p:not(.eyebrow) { color: var(--ink-2); margin: 16px 0 20px; max-width: 48ch; }
.ages { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.age-card { display: flex; flex-direction: column; justify-content: end; min-height: 200px; padding: 22px; border-radius: 24px; transition: transform .15s; }
.age-card:hover { transform: translateY(-3px); }
.age-baby { background: #FCE3D6; } .age-preschool { background: var(--mint); } .age-school { background: #E4E6F7; }
.age-n { font-size: 26px; font-weight: 600; letter-spacing: -.02em; }
.age-card small { color: var(--ink-2); }

/* founder */
.founder { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.founder-media img { border-radius: 28px; aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.founder-copy h2 { margin-bottom: 18px; }
.founder-copy p:not(.eyebrow) { color: var(--ink-2); margin-bottom: 14px; font-size: 17px; }
.founder-copy .btn { margin-top: 8px; }

/* brands */
.brand-cloud { display: flex; flex-wrap: wrap; gap: 10px; }
.brand-chip { display: inline-flex; align-items: baseline; gap: 8px; padding: 12px 20px; border-radius: 999px; background: var(--surface); font-weight: 600; font-size: 17px; letter-spacing: -.01em; transition: background .15s, color .15s; }
.brand-chip small { font-size: 12px; color: var(--muted); font-weight: 500; }
.brand-chip:hover { background: var(--ink); color: #fff; }
.brand-chip:hover small { color: #bbb; }
.brand-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; padding-bottom: 64px; }
.brand-card { display: flex; flex-direction: column; padding: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); transition: box-shadow .15s; }
.brand-card:hover { box-shadow: var(--shadow); }
.brand-pics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin-bottom: 14px; }
.brand-pics img { aspect-ratio: 1; object-fit: cover; background: #E9E7E5; border-radius: 10px; }
.brand-card b { font-size: 19px; }
.brand-card small { color: var(--muted); }

/* steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.steps li { padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.steps span { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 700; margin-bottom: 18px; }
.steps b { font-size: 18px; display: block; margin-bottom: 6px; }
.steps p { color: var(--muted); }

/* faq + visit */
.faq { margin: 20px 0 18px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 40px 18px 0; font-weight: 600; font-size: 17px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 50%; translate: 0 -50%; font-size: 24px; font-weight: 400; color: var(--brand); transition: rotate .2s; }
.faq details[open] summary::after { rotate: 45deg; }
.faq details p { padding: 0 0 20px; color: var(--ink-2); max-width: 65ch; }
.visit { background: var(--pine); color: #fff; border-radius: 28px; padding: 36px; position: sticky; top: 100px; }
.visit .eyebrow { color: #F2B79C; }
.contacts { display: grid; gap: 12px; }
.contacts li { display: flex; gap: 10px; align-items: flex-start; }
.contacts .i { margin-top: 2px; opacity: .8; }
.contacts-lg { margin: 22px 0 26px; font-size: 17px; list-style: none; padding: 0; }
.contacts a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgb(255 255 255 / .35); }
.visit-cta { display: flex; flex-wrap: wrap; gap: 10px; }
.visit .btn-ghost { background: transparent; color: #fff; border-color: rgb(255 255 255 / .3); }
.visit .btn-ghost:hover { border-color: #fff; }

/* info */
.info-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.info { background: var(--surface); padding: 24px; border-radius: var(--radius); }
.info .i { width: 44px; height: 44px; padding: 11px; border-radius: 14px; background: var(--brand-soft); color: var(--brand); margin-bottom: 16px; }
.info b { display: block; font-size: 17px; margin-bottom: 6px; }
.info p { color: var(--ink-2); font-size: 15px; }

/* page head, crumbs */
.page-head { padding-top: 24px; padding-bottom: 28px; }
.crumbs { font-size: 14px; color: var(--muted); padding: 18px 0 10px; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs a:hover { color: var(--brand); }
.crumbs span[aria-current] { color: var(--ink-2); }
.page-head h1 { font-size: clamp(30px, 3.6vw, 44px); }
.pills-scroll { display: flex; gap: 8px; overflow-x: auto; margin-top: 22px; padding-bottom: 4px; scrollbar-width: none; }
.pill { flex: none; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font-size: 14px; font-weight: 500; }
.pill:hover { border-color: var(--ink-2); }
.pill.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }

/* listing */
.listing { display: grid; grid-template-columns: 260px 1fr; gap: 32px; align-items: start; padding-bottom: 72px; }
.filters { position: sticky; top: 96px; max-height: calc(100vh - 110px); overflow-y: auto; padding-right: 6px; scrollbar-width: thin; }
.f-group { border: 0; margin: 0 0 22px; padding: 0; }
.f-group legend { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); margin-bottom: 10px; padding: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-block; padding: 7px 13px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font-size: 14px; cursor: pointer; transition: .12s; user-select: none; }
.chip:hover span { border-color: var(--ink-2); }
.chip input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); }
.chip input:focus-visible + span { outline: 2px solid var(--brand); outline-offset: 2px; }
.switch { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; font-size: 15px; }
.switch input { position: absolute; opacity: 0; }
.switch span { width: 42px; height: 24px; border-radius: 999px; background: var(--line); position: relative; transition: background .15s; }
.switch span::after { content: ""; position: absolute; width: 18px; height: 18px; border-radius: 50%; background: #fff; top: 3px; left: 3px; transition: transform .15s; box-shadow: 0 1px 3px rgb(0 0 0 / .2); }
.switch input:checked + span { background: var(--mint-strong); }
.switch input:checked + span::after { transform: translateX(18px); }
.switch input:focus-visible + span { outline: 2px solid var(--brand); outline-offset: 2px; }
.toolbar { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.count { color: var(--muted); font-size: 15px; }
.sort { margin-left: auto; display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); }
.sort select { appearance: none; border: 1px solid var(--line); background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23241B16' stroke-width='1.6'%3E%3Cpath d='m1 1.5 5 5 5-5'/%3E%3C/svg%3E") no-repeat right 14px center; border-radius: 999px; padding: 9px 38px 9px 16px; color: var(--ink); font-weight: 500; cursor: pointer; }
.active-filters { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.active-filters:empty { display: none; }
.af { display: inline-flex; align-items: center; gap: 6px; padding: 6px 8px 6px 13px; border-radius: 999px; background: var(--brand-soft); color: var(--brand-strong); font-size: 14px; font-weight: 500; }
.af .i { width: 15px; height: 15px; }
.af-clear { background: none; color: var(--muted); text-decoration: underline; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brand); }
.empty { text-align: center; padding: 64px 20px; border: 1.5px dashed var(--line); border-radius: var(--radius); display: grid; justify-items: center; gap: 6px; }
.empty-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 16px; }

/* product page */
.pdp { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: start; padding-bottom: 24px; }
.gallery { position: sticky; top: 96px; display: grid; gap: 12px; }
.gallery-main { position: relative; background: #E9E7E5; border-radius: 28px; aspect-ratio: 1; overflow: hidden; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-main .badges { left: 18px; top: 18px; }
.gallery-main .badge { font-size: 13px; padding: 6px 12px; }
.thumbs { display: flex; gap: 10px; overflow-x: auto; }
.thumb { flex: none; width: 84px; height: 84px; border-radius: 14px; background: #F7F3EF; border: 2px solid transparent; overflow: hidden; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb.is-active { border-color: var(--ink); }
.pdp-brand { display: inline-block; font-weight: 600; color: var(--brand); text-transform: uppercase; letter-spacing: .07em; font-size: 14px; margin-bottom: 10px; }
.pdp-info h1 { font-size: clamp(26px, 2.6vw, 36px); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.pdp-price { margin-top: 22px; display: flex; align-items: baseline; gap: 12px; }
.stock { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 15px; margin: 6px 0 22px; }
.stock .i { width: 18px; }
.stock.in { color: var(--mint-strong); }
.stock.out { color: var(--muted); }
.buy-row { display: flex; gap: 10px; margin-bottom: 10px; }
.buy-row .btn { min-height: 54px; }
.qty { display: flex; align-items: center; border: 1.5px solid var(--line); border-radius: 999px; background: var(--surface); }
.qty button { width: 44px; height: 50px; display: grid; place-items: center; }
.qty .i { width: 18px; }
.qty input { width: 36px; border: 0; text-align: center; font-weight: 600; background: none; -moz-appearance: textfield; }
.qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.pdp-info .btn-wa { min-height: 54px; }
.perks { list-style: none; padding: 20px 0; margin: 24px 0 8px; display: grid; gap: 16px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.perks li { display: flex; gap: 14px; align-items: center; }
.perks .i { width: 40px; height: 40px; padding: 10px; border-radius: 12px; background: var(--mint); color: var(--mint-strong); }
.perks span { color: var(--muted); font-size: 14px; line-height: 1.35; }
.perks b { display: block; color: var(--ink); font-size: 15px; }
.pdp-desc { border-bottom: 1px solid var(--line); }
.pdp-desc summary { list-style: none; cursor: pointer; padding: 18px 0; font-weight: 600; font-size: 18px; display: flex; justify-content: space-between; }
.pdp-desc summary::-webkit-details-marker { display: none; }
.pdp-desc summary::after { content: "+"; color: var(--brand); font-size: 24px; font-weight: 400; line-height: 1; transition: rotate .2s; }
.pdp-desc[open] summary::after { rotate: 45deg; }
.prose { padding-bottom: 20px; color: var(--ink-2); }
.prose p { margin-bottom: 10px; }
.prose h3 { font-size: 16px; color: var(--ink); margin: 18px 0 8px; letter-spacing: 0; }
.prose ul { margin: 0 0 12px; padding-left: 20px; }
.prose li { margin-bottom: 5px; }
.mobile-buy { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; background: var(--surface); border-top: 1px solid var(--line); padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); align-items: center; gap: 12px; transform: translateY(110%); transition: transform .2s; }
.mobile-buy.show { transform: none; }
.mobile-buy > div { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.2; }
.mobile-buy small { color: var(--muted); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* sheets (menu, cart, mobile filters) */
.sheet { position: fixed; inset: 0; z-index: 60; background: rgb(36 27 22 / .45); animation: fade .2s; }
@keyframes fade { from { opacity: 0; } }
.sheet-panel { position: absolute; top: 0; bottom: 0; width: min(440px, 100%); background: var(--bg); display: flex; flex-direction: column; animation: slideR .25s cubic-bezier(.2, .8, .2, 1); }
.sheet-right .sheet-panel { right: 0; }
.sheet-left .sheet-panel { left: 0; animation-name: slideL; width: min(360px, 88%); }
@keyframes slideR { from { transform: translateX(100%); } }
@keyframes slideL { from { transform: translateX(-100%); } }
.sheet-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 14px 14px 22px; border-bottom: 1px solid var(--line); }
.sheet-title { font-size: 20px; font-weight: 600; }
.sheet-body { flex: 1; overflow-y: auto; padding: 18px 22px; }
.sheet-foot { padding: 18px 22px calc(18px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--surface); display: grid; gap: 10px; }
.mobile-nav .mn-main { display: flex; justify-content: space-between; align-items: center; padding: 14px 0; font-size: 18px; font-weight: 600; border-bottom: 1px solid var(--line); }
.mobile-nav .mn-main .i { color: var(--brand); }
.mobile-nav > div { padding: 16px 0 6px; border-bottom: 1px solid var(--line); }
.mobile-nav ul { list-style: none; padding: 0; margin: 0; }
.mobile-nav li a { display: block; padding: 7px 0; color: var(--ink-2); }
.mobile-nav .mega-h { margin-bottom: 4px; }

/* cart */
.cart-item { display: grid; grid-template-columns: 72px 1fr auto; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); align-items: center; }
.cart-item img { width: 72px; height: 72px; object-fit: cover; background: #E9E7E5; border-radius: 12px; }
.cart-item a { font-size: 14px; font-weight: 500; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cart-item .ci-price { font-weight: 700; font-size: 15px; margin-top: 4px; }
.cart-item .qty { margin-top: 6px; width: fit-content; }
.cart-item .qty button { width: 32px; height: 32px; }
.cart-item .qty input { width: 28px; font-size: 14px; }
.ci-remove { color: var(--muted); align-self: start; }
.ci-remove:hover { color: var(--brand); }
.cart-total { display: flex; justify-content: space-between; font-size: 20px; }
.cart-empty { text-align: center; padding: 48px 12px; display: grid; justify-items: center; gap: 10px; }
.cart-empty .i { width: 56px; height: 56px; color: var(--line); }
.cart-done .i { color: var(--mint-strong); background: var(--mint); border-radius: 50%; padding: 12px; }
.checkout { display: grid; gap: 14px; }
.checkout label { display: grid; gap: 6px; font-size: 14px; font-weight: 500; }
.checkout input, .checkout textarea { width: 100%; border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 14px; background: var(--surface); font: inherit; }
.checkout input:focus, .checkout textarea:focus { border-color: var(--ink-2); outline: none; }
.radio-cards { display: grid; gap: 8px; border: 0; padding: 0; margin: 0; }
.radio-cards legend { font-size: 14px; font-weight: 500; margin-bottom: 6px; padding: 0; }
.checkout .radio-cards label { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--surface); cursor: pointer; font-weight: 400; }
.checkout .radio-cards label:has(input:checked) { border-color: var(--brand); background: #FFF8F4; }
.checkout .radio-cards input { width: auto; flex: none; padding: 0; accent-color: var(--brand); margin-top: 4px; }
.radio-cards small { display: block; color: var(--muted); font-size: 13px; }
.back-link { display: inline-flex; align-items: center; gap: 4px; color: var(--muted); font-size: 14px; margin-bottom: 4px; }
.back-link .i { transform: rotate(180deg); width: 16px; }

/* search */
.search-overlay { position: fixed; inset: 0; z-index: 70; background: rgb(36 27 22 / .45); padding: 80px 20px 20px; animation: fade .15s; }
.search-box { max-width: 680px; margin: 0 auto; background: var(--surface); border-radius: 22px; box-shadow: var(--shadow-lg); overflow: hidden; }
.search-form { display: flex; align-items: center; gap: 10px; padding: 8px 8px 8px 20px; border-bottom: 1px solid var(--line); }
.search-form input { flex: 1; border: 0; font-size: 18px; padding: 12px 0; outline: none; background: none; min-width: 0; }
.search-form input::-webkit-search-cancel-button { display: none; }
.search-results { max-height: 60vh; overflow-y: auto; padding: 8px; }
.search-hint { padding: 12px; color: var(--muted); font-size: 14px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.search-hint a { padding: 5px 12px; border-radius: 999px; background: var(--sunken); color: var(--ink); }
.sr-item { display: grid; grid-template-columns: 52px 1fr auto; gap: 14px; align-items: center; padding: 8px 12px; border-radius: 12px; }
.sr-item:hover, .sr-item.is-active { background: var(--sunken); }
.sr-item img { width: 52px; height: 52px; object-fit: cover; background: #E9E7E5; border-radius: 10px; }
.sr-item small { display: block; color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .05em; }
.sr-item span { font-size: 15px; line-height: 1.3; }
.sr-item b { white-space: nowrap; font-size: 15px; }
.sr-all { display: block; text-align: center; padding: 14px; font-weight: 600; color: var(--brand); }

/* toast */
.toast { position: fixed; left: 50%; bottom: 28px; z-index: 80; translate: -50% 20px; opacity: 0; pointer-events: none; display: flex; gap: 14px; align-items: center; background: var(--ink); color: #fff; padding: 10px 10px 10px 18px; border-radius: 999px; box-shadow: var(--shadow-lg); transition: .25s; font-size: 15px; max-width: calc(100% - 32px); }
.toast.show { opacity: 1; translate: -50% 0; pointer-events: auto; }
.toast button { background: #fff; color: var(--ink); padding: 8px 14px; border-radius: 999px; font-weight: 600; font-size: 14px; white-space: nowrap; }

/* footer */
.footer { background: var(--pine); color: #D4E2DC; padding: 56px 0 28px; margin-top: 24px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 40px; }
.footer-brand p { margin: 18px 0 20px; max-width: 34ch; color: #B7C9C1; }
.footer .logo b { color: #fff; }
.footer-h { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: #fff; margin-bottom: 14px; }
.footer ul li { margin-bottom: 8px; }
.footer ul a:hover { color: #fff; }
.footer .contacts { margin-bottom: 18px; }
.copy { margin-top: 40px; padding-top: 22px; border-top: 1px solid rgb(255 255 255 / .12); font-size: 14px; color: #93ABA1; }
.notfound { text-align: center; padding: 96px 20px; display: grid; justify-items: center; gap: 14px; }

/* responsive */
@media (max-width: 1320px) {
  .search-trigger { min-width: 0; }
  .search-trigger span, .search-trigger kbd { display: none; }
  .search-trigger { width: 44px; padding: 0; justify-content: center; background: none; }
  .nav > a, .has-mega > a { padding: 10px 11px; }
}
@media (max-width: 1100px) {
  .nav { display: none; }
  .search-trigger { min-width: 0; }
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .shelf { grid-auto-columns: calc((100% - 3 * 16px) / 3.4); }
  .cat-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .only-sm { display: inline-flex !important; }
  .listing { grid-template-columns: minmax(0, 1fr); }
  .filters { position: fixed; inset: auto 0 0 0; top: auto; max-height: 85vh; z-index: 65; background: var(--bg); border-radius: 24px 24px 0 0; padding: 0; box-shadow: var(--shadow-lg); transform: translateY(105%); transition: transform .25s cubic-bezier(.2, .8, .2, 1); display: flex; flex-direction: column; overflow: hidden; }
  .filters.open { transform: none; }
  .filters form { overflow-y: auto; padding: 18px 22px; flex: 1; }
  .filters-head { display: flex !important; justify-content: space-between; align-items: center; padding: 12px 14px 12px 22px; border-bottom: 1px solid var(--line); }
  .filters-foot { display: grid !important; grid-template-columns: 1fr 2fr; gap: 10px; padding: 14px 22px calc(14px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--surface); }
  .filters-backdrop { position: fixed; inset: 0; z-index: 64; background: rgb(36 27 22 / .45); }
  .trust-in { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .info-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mega-in { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .brand-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .hero-in, .founder, .two-col, .kids, .pdp { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .hero { padding-top: 24px; }
  .hero-media { order: -1; }
  .hero-media img { aspect-ratio: 16 / 11; border-radius: 24px; }
  .hero-note { left: 12px; bottom: 12px; }
  .gallery, .visit, .filters { position: static; }
  .filters { position: fixed; }
  .needs { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .hide-sm { display: none !important; }
  .topbar .wrap { justify-content: center; }
  .search-trigger span, .search-trigger kbd { display: none; }
  .search-trigger { width: 44px; padding: 0; justify-content: center; background: none; }
  .header-in { gap: 8px; height: 64px; }
  .logo { margin-right: auto; }
  .logo img { width: 36px; height: 36px; }
  .header-actions { margin-left: 0; gap: 0; }
  .page-product .footer { padding-bottom: 96px; }
  .mobile-buy { display: flex !important; }
}
@media (max-width: 600px) {
  body { font-size: 15px; }
  .wrap { padding: 0 16px; }
  .section { padding: 40px 0; }
  .section-head { margin-bottom: 20px; }
  .grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
  .shelf { grid-auto-columns: 46%; gap: 10px; }
  .cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .cat-tile { flex-direction: row; align-items: center; gap: 10px; padding: 6px; border-radius: 14px; }
  .cat-tile img { width: 52px; flex: none; border-radius: 10px; }
  .cat-tile span { padding: 0; min-width: 0; }
  .cat-tile b { font-size: 13px; }
  .cat-tile small { font-size: 11px; }
  .card { border-radius: 14px; }
  .card-body { padding: 10px 12px 12px; }
  .card-title { font-size: 14px; margin-bottom: 10px; }
  .card-brand { font-size: 11px; }
  .card-foot { flex-direction: column; align-items: stretch; gap: 8px; }
  .add { justify-content: center; height: 38px; }
  .card .add:not(.add-ghost) { width: auto; padding: 0 10px; gap: 4px; font-size: 13px; }
  .card .add:not(.add-ghost) span { position: static; width: auto; height: auto; clip-path: none; }
  .price { font-size: 16px; }
  .badges { left: 6px; top: 6px; }
  .badge { font-size: 10px; padding: 3px 7px; }
  .hero-stats { gap: 24px; }
  .hero-stats b { font-size: 24px; }
  .hero-cta .btn { flex: 1; }
  .trust-in > div { padding: 14px; flex-direction: column; align-items: flex-start; gap: 10px; }
  .needs, .ages { grid-template-columns: minmax(0, 1fr); }
  .need { padding: 18px 20px; }
  .age-card { min-height: 0; padding: 18px 22px; flex-direction: row; justify-content: space-between; align-items: baseline; }
  .info-grid, .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .brand-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
  .visit { padding: 26px; border-radius: 22px; }
  .toolbar { flex-wrap: wrap; }
  .sort { font-size: 0; gap: 0; }
  .sort select { font-size: 14px; }
  .count { order: 3; width: 100%; font-size: 14px; }
  .topbar .wrap { white-space: nowrap; overflow: hidden; }
  .topbar span:first-child { font-size: 12px; }
  .hero-note { display: none; }
  .toolbar .btn { min-height: 40px; padding: 0 14px; font-size: 14px; }
  .toolbar { gap: 8px; }
  .sort { flex: 1; min-width: 0; justify-content: flex-end; }
  .sort select { min-width: 0; max-width: 100%; text-overflow: ellipsis; padding: 8px 32px 8px 14px; background-position: right 12px center; }
  .search-overlay { padding: 12px; }
  .pdp-price .price-lg { font-size: 28px; }
  .btn-grow { min-width: 0; white-space: normal; line-height: 1.2; padding: 0 14px; }
  .qty button { width: 38px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
