/* Playroom — палитра снята с фотографий самих игрушек бренда */
:root{
  --pr-ink:#23201d; --pr-soft:#6b6259; --pr-line:#e9ded0;
  --pr-cream:#fff8ec; --pr-paper:#ffffff; --pr-mat:#fdf1dd;
  --pr-red:#d81e26; --pr-red-deep:#9e1018;
  --pr-sun:#ffcb1f; --pr-sky:#2e9bd4; --pr-leaf:#46b478; --pr-grape:#8257c8;
  --pr-round:22px; --pr-round-s:13px;
  --pr-shade:0 3px 0 rgba(35,32,29,.08), 0 14px 30px rgba(35,32,29,.07);
  --display:"Baloo Two",system-ui,"Segoe UI",sans-serif;
  --body:"Nunito Sans",system-ui,"Segoe UI",sans-serif;
}
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;background:var(--pr-cream);color:var(--pr-ink);font:400 17px/1.65 var(--body)}
img{max-width:100%;height:auto;display:block}
a{color:var(--pr-red);text-decoration-thickness:1px;text-underline-offset:2px}
h1,h2,h3,h4{font-family:var(--display);font-weight:800;line-height:1.14;margin:0 0 .45em;letter-spacing:-.005em}
h1{font-size:clamp(30px,5.1vw,47px)}
h2{font-size:clamp(24px,3.4vw,33px)}
h3{font-size:clamp(19px,2.3vw,23px)}
p{margin:0 0 1em}
.rail{width:min(1160px,calc(100% - 36px));margin-inline:auto}
/* сдвиг за край растягивал полосу прокрутки — прячем вырезом */
.skip{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.skip:focus{width:auto;height:auto;clip-path:none;left:14px;top:10px;z-index:99;
  background:#fff;padding:8px 14px;border-radius:10px}

/* ---- шапка: только разделы и штамп ---- */
.lid{position:sticky;top:0;z-index:40;background:rgba(255,248,236,.94);
  backdrop-filter:blur(9px);border-bottom:3px solid var(--pr-line)}
.lid__in{display:flex;align-items:center;gap:16px;padding:11px 0;min-height:66px}
.lid__mark img{width:118px;height:auto;display:block}
.lid__nav{display:flex;gap:4px;flex:1;flex-wrap:wrap;align-items:center}
.lid__nav a{font-family:var(--display);font-weight:700;font-size:15px;color:var(--pr-ink);
  text-decoration:none;padding:7px 11px;border-radius:999px;white-space:nowrap}
.lid__nav a:hover,.lid__nav a[aria-current]{background:var(--pr-sun);color:#3a2c00}
.lid__buy img{width:176px;height:41px}
.lid__toggle{display:none;background:var(--pr-red);border:0;color:#fff;font:800 14px/1 var(--display);
  padding:11px 14px;border-radius:999px;cursor:pointer}

/* ---- витрина главной ---- */
.hero{position:relative;background:var(--pr-mat) url(/toybox/playroom-mat.png) center/cover;
  border-bottom:3px solid var(--pr-line)}
.hero__in{padding:48px 0 54px;max-width:720px}
.hero__kick{display:inline-block;background:var(--pr-red);color:#fff;font-family:var(--display);
  font-weight:700;font-size:13px;letter-spacing:.14em;text-transform:uppercase;
  padding:6px 15px;border-radius:999px;margin-bottom:16px}
.hero p{font-size:19px;color:#4a4238;max-width:60ch}
.hero__nums{display:flex;gap:26px;flex-wrap:wrap;margin:22px 0 0;padding:0;list-style:none}
.hero__nums b{display:block;font-family:var(--display);font-size:30px;color:var(--pr-red);line-height:1}
.hero__nums span{font-size:14px;color:var(--pr-soft)}

/* ---- коврики (разделы) ---- */
.mats{display:grid;gap:18px;grid-template-columns:repeat(auto-fill,minmax(248px,1fr));
  margin:0;padding:0;list-style:none}
.mat{background:var(--pr-paper);border:2px solid var(--pr-line);border-radius:var(--pr-round);
  box-shadow:var(--pr-shade);overflow:hidden;display:flex;flex-direction:column}
.mat a{text-decoration:none;color:inherit;display:block}
.mat__pic{aspect-ratio:4/3;background:var(--pr-mat);overflow:hidden}
.mat__pic img{width:100%;height:100%;object-fit:contain;padding:12px}
.mat__body{padding:14px 17px 18px}
.mat__body h3{margin:0 0 5px}
.mat__body p{font-size:15px;color:var(--pr-soft);margin:0 0 9px}
.mat__n{font-family:var(--display);font-weight:700;font-size:13px;color:var(--pr-red)}

/* ---- плитки товаров ---- */
.bins{display:grid;gap:18px;grid-template-columns:repeat(auto-fill,minmax(236px,1fr));
  margin:0;padding:0;list-style:none}
.bin{background:var(--pr-paper);border:2px solid var(--pr-line);border-radius:var(--pr-round);
  box-shadow:var(--pr-shade);display:flex;flex-direction:column;overflow:hidden;position:relative}
.bin__pic{aspect-ratio:1/1;background:#fff;display:block}
.bin__pic img{width:100%;height:100%;object-fit:contain;padding:14px}
.bin__body{padding:4px 16px 18px;display:flex;flex-direction:column;gap:7px;flex:1}
.bin__name{font-family:var(--display);font-weight:700;font-size:17px;line-height:1.25;margin:0}
.bin__name a{color:inherit;text-decoration:none}
.bin__name a:hover{color:var(--pr-red)}
.bin__row{display:flex;align-items:baseline;gap:10px;margin-top:auto}
.bin__cost{font-family:var(--display);font-weight:800;font-size:25px;color:var(--pr-red)}
.bin__stars{font-size:13px;color:var(--pr-soft)}
.bin__chip{position:absolute;top:12px;left:12px;background:var(--pr-sun);color:#3a2c00;
  font:700 12px/1 var(--body);padding:6px 10px;border-radius:999px}
.bin__chip--wait{background:var(--pr-sky);color:#fff}
.bin__buy{margin-top:4px}
.bin__buy img{width:100%;max-width:230px;height:auto}

/* ---- карточка ---- */
.sheet{display:grid;gap:34px;grid-template-columns:minmax(0,1fr) minmax(0,.92fr);align-items:start;
  padding:34px 0 10px}
.frames{display:flex;flex-direction:column;gap:12px;min-width:0}
.frames__big{background:#fff;border:2px solid var(--pr-line);border-radius:var(--pr-round);
  padding:18px;box-shadow:var(--pr-shade)}
/* 1fr не ужимается ниже натуральной ширины кадра — только minmax(0,…) */
.frames__strip{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.frames__strip img{background:#fff;border:2px solid var(--pr-line);border-radius:var(--pr-round-s);
  padding:7px;cursor:pointer;aspect-ratio:1/1;object-fit:contain}
.frames__strip img[aria-current]{border-color:var(--pr-red)}
.buy{background:var(--pr-paper);border:2px solid var(--pr-line);border-radius:var(--pr-round);
  padding:22px;box-shadow:var(--pr-shade)}
.buy__cost{font-family:var(--display);font-weight:800;font-size:42px;color:var(--pr-red);line-height:1;margin:0 0 6px}
.buy__state{font-size:14px;color:var(--pr-soft);margin:0 0 16px}
.buy__stamp{display:inline-block;border:0;background:none;padding:0;cursor:pointer}
.buy__stamp img{width:min(300px,100%);height:auto}
.buy__note{font-size:13px;color:var(--pr-soft);margin:12px 0 0}
.facts{margin:0 0 1em;padding:0;list-style:none;display:flex;flex-direction:column;gap:9px}
.facts li,.facts__i{position:relative;padding:0 0 0 26px;margin:0;font-size:16px;display:block}
.facts li::before,.facts__i::before{content:"";position:absolute;left:0;top:7px;width:13px;height:13px;
  border-radius:4px;background:var(--pr-sun)}
.hops{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 18px}
.hops a{font-family:var(--display);font-weight:700;font-size:15px;color:var(--pr-ink);
  text-decoration:none;background:var(--pr-paper);border:2px solid var(--pr-line);
  border-radius:999px;padding:8px 15px}
.hops a:hover{border-color:var(--pr-red);color:var(--pr-red)}
.slab{background:var(--pr-paper);border:2px solid var(--pr-line);border-radius:var(--pr-round);
  padding:24px 26px;box-shadow:var(--pr-shade);margin:0 0 22px}
.spec{width:100%;border-collapse:collapse;font-size:15px}
.spec th,.spec td{text-align:left;padding:9px 10px;border-bottom:1px solid var(--pr-line);vertical-align:top}
.spec th{width:42%;font-weight:700;color:var(--pr-soft)}
.spec tr:last-child th,.spec tr:last-child td{border-bottom:0}

/* ---- отзывы ---- */
.voices{display:grid;gap:16px;grid-template-columns:repeat(auto-fill,minmax(282px,1fr));
  margin:0;padding:0;list-style:none}
.voice{background:var(--pr-paper);border:2px solid var(--pr-line);border-radius:var(--pr-round);
  padding:19px 21px;box-shadow:var(--pr-shade)}
.voice__stars{color:var(--pr-sun);font-size:15px;letter-spacing:2px}
.voice__t{font-family:var(--display);font-weight:700;font-size:17px;margin:5px 0 7px}
.voice p{font-size:15px;margin:0 0 9px;color:#3d3730}
.voice__who{font-size:13px;color:var(--pr-soft)}

/* ---- проза ---- */
.prose{max-width:74ch}
.prose h2{margin-top:1.3em}
.prose ul{padding-left:1.15em}
.prose li{margin:0 0 .5em}

/* ---- полосы ---- */
.band{padding:46px 0}
.band--mat{background:var(--pr-mat);border-block:3px solid var(--pr-line)}
.band__head{display:flex;justify-content:space-between;align-items:flex-end;gap:16px;
  flex-wrap:wrap;margin:0 0 22px}
.band__head p{margin:0;color:var(--pr-soft);max-width:58ch}
.band__more{font-family:var(--display);font-weight:700;font-size:15px;white-space:nowrap}

/* ---- таблица mats, подбор по стадии и цене, подарок ---- */
.mtab{width:100%;border-collapse:separate;border-spacing:0;background:var(--pr-paper);
  border:3px solid var(--pr-line);border-radius:var(--pr-round);overflow:hidden;box-shadow:var(--pr-shade)}
.mtab th,.mtab td{padding:12px 16px;text-align:left;vertical-align:middle;border-bottom:2px solid var(--pr-line);line-height:1.45}
.mtab thead th{background:var(--pr-ink);color:#fff;font-family:var(--display);font-size:14px;border-bottom:0}
.mtab tbody tr:last-child th,.mtab tbody tr:last-child td{border-bottom:0}
.mtab tbody th{font-family:var(--display);font-size:18px;white-space:nowrap}
.mtab tbody th a{color:var(--pr-red-deep);text-decoration:none}
.mtab tbody th a:hover{text-decoration:underline}
.mtab tbody tr:nth-child(even) th,.mtab tbody tr:nth-child(even) td{background:var(--pr-mat)}
.mtab__pic{width:104px}
.mtab__pic img{width:80px;height:80px;object-fit:contain;background:#fff;border-radius:var(--pr-round-s);display:block}
.stages{display:grid;gap:16px;grid-template-columns:repeat(auto-fit,minmax(200px,1fr))}
.stage{background:var(--pr-paper);border:3px solid var(--pr-line);border-top:7px solid var(--pr-red);
  border-radius:var(--pr-round);padding:16px 18px;display:flex;flex-direction:column;gap:8px;box-shadow:var(--pr-shade)}
.stage:nth-child(2){border-top-color:var(--pr-sky)}
.stage:nth-child(3){border-top-color:var(--pr-leaf)}
.stage:nth-child(4){border-top-color:var(--pr-grape)}
.stage:nth-child(5){border-top-color:var(--pr-sun)}
.stage h3{margin:0;font-size:19px}
.stage p{margin:0;font-size:15px;color:var(--pr-soft);flex:1}
.stage__go{display:flex;flex-direction:column;gap:5px}
.stage__go a{font-family:var(--display);font-weight:700;font-size:15px;color:var(--pr-red-deep);text-decoration:none}
.stage__go a:hover{text-decoration:underline}
.bands-price{display:grid;gap:16px;grid-template-columns:repeat(auto-fit,minmax(260px,1fr))}
.band-price{background:var(--pr-paper);border:3px solid var(--pr-line);border-radius:var(--pr-round);padding:18px 20px;box-shadow:var(--pr-shade)}
.band-price h3{margin:0;font-size:24px;color:var(--pr-red-deep)}
.band-price__n{margin:2px 0 10px;color:var(--pr-soft);font-size:14px}
.band-price ul{list-style:none;margin:0;padding:0}
.band-price li{display:flex;justify-content:space-between;gap:12px;padding:8px 0;border-top:2px solid var(--pr-line)}
.band-price li a{font-weight:700;color:var(--pr-ink);text-decoration:none}
.band-price li a:hover{text-decoration:underline}
.band-price li span{font-family:var(--display);font-weight:700;white-space:nowrap}
.bins--gift{grid-template-columns:repeat(auto-fit,minmax(236px,1fr))}

/* ---- хлебные крошки ---- */
.trail{font-size:14px;color:var(--pr-soft);padding:16px 0 0}
.trail a{color:var(--pr-soft)}
.trail span{margin:0 6px}

/* ---- подвал ---- */
.base{background:#2b2622;color:#dfd6c9;margin-top:46px;padding:40px 0 28px;font-size:15px}
.base a{color:#ffd45e;text-decoration:none}
.base a:hover{text-decoration:underline}
.base__grid{display:grid;gap:26px;grid-template-columns:repeat(auto-fit,minmax(192px,1fr))}
.base h4{font-size:16px;color:#fff;margin:0 0 10px}
.base ul{list-style:none;margin:0;padding:0}
.base li{margin:0 0 7px}
.base__fine{border-top:1px solid #443d36;margin-top:26px;padding-top:16px;font-size:13px;color:#a79c8e}
address{font-style:normal}

@media (max-width:860px){
  .sheet{grid-template-columns:minmax(0,1fr);gap:22px}
  .lid__nav{display:none;order:3;width:100%;flex-direction:column;align-items:stretch;gap:2px;
    padding-bottom:9px}
  .lid__nav[data-open]{display:flex}
  .lid__nav a{padding:10px 12px}
  .lid__toggle{display:block;order:2;margin-left:auto}
  .lid__buy{display:none}
  .hero__in{padding:34px 0 38px}
  .mtab thead{display:none}
  .mtab,.mtab tbody,.mtab tr,.mtab th,.mtab td{display:block;width:auto}
  .mtab tr{display:grid;grid-template-columns:76px 1fr;column-gap:12px;padding:10px 12px;border-bottom:2px solid var(--pr-line)}
  .mtab th,.mtab td{border:0;padding:2px 0;background:none!important}
  .mtab__pic{grid-row:1 / span 4;width:auto}
  .mtab__pic img{width:72px;height:72px}
  .mtab tbody th{white-space:normal}
  .mtab td::before{content:attr(data-l) ": ";font-weight:700}
}
@media (max-width:420px){
  body{font-size:16px}
  .rail{width:calc(100% - 24px)}
  .bins,.mats{grid-template-columns:minmax(0,1fr)}
  .buy__cost{font-size:36px}
  .frames__strip{grid-template-columns:repeat(3,minmax(0,1fr))}
}
