/* Уйма! — обновление оформления 21.10.2026. Только сайт. */
.layout>main,.product>div,.about>div{min-width:0}
.product,.about{max-width:100%}
.wrap.layout{width:100%;max-width:var(--wrap);margin-left:auto;margin-right:auto}
.scats .cat-more{display:flex}
.scats .more-toggle{display:none}
.hdr{background:var(--yellow)}
.topbar{background:#fff;border-bottom:1px solid #eee}
.topbar__in{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:82px;padding-top:12px;padding-bottom:12px}
.topbar__links{display:flex;align-items:center;gap:22px;flex-wrap:wrap;font-size:12px;font-weight:600;color:#666}
.topbar__links a:hover,.topbar__links button:hover{color:var(--orange)}
.topbar__links button{font:inherit;text-align:left}
.hdr__actions{display:flex;gap:10px}
.hact{background:transparent;padding:0 8px;height:50px;border-radius:12px;gap:7px}
.hact:hover{background:#fff7db}
.hact__ico{background:none;width:30px;height:34px}
.hact__ico svg{width:25px;height:25px}
.hact__txt b{font-size:11px}
.hact--small{flex-direction:column;gap:1px;justify-content:center}
.hact--small .hact__ico{height:27px}
.hact--cart{background:var(--orange);color:#fff;padding:0 16px 0 12px;gap:12px;min-width:138px}
.hact--cart:hover{background:var(--orange-dark)}
.hact--cart .hact__ico{color:#fff;background:transparent}
.hact--cart small{color:#fff;font-size:15px;margin-top:3px;white-space:nowrap}
.cart-count{position:absolute;top:-4px;right:-6px;background:var(--black);color:#fff;border:2px solid var(--orange);border-radius:20px;min-width:19px;padding:1px 4px;font-size:10px;font-weight:800;line-height:1.2}
.masthead{position:relative;padding-bottom:22px}
.masthead::after{content:"";position:absolute;bottom:-1px;left:0;right:0;height:12px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='12' viewBox='0 0 48 12'%3E%3Cpath d='M0 6Q12 -5 24 6T48 6V12H0Z' fill='white'/%3E%3C/svg%3E") repeat-x bottom;pointer-events:none}
.masthead__in{position:relative;padding-top:24px;padding-bottom:14px}
.masthead__content{position:relative;z-index:2;min-width:0}
.brand-row{display:flex;align-items:center;gap:26px;margin-bottom:20px}
.hdr .logo img{height:64px;width:auto;max-width:100%}
.hdr__slogan{display:block;font-size:14px;line-height:1.35;white-space:normal;font-weight:600}
.hdr__slogan b{font-weight:900;text-transform:uppercase;font-size:17px}
.hdr__row{display:flex;flex-wrap:nowrap;align-items:center;padding:0;gap:12px}
.catalog-btn{display:flex;background:var(--black);color:var(--yellow);height:54px;border-radius:16px;padding:0 22px}
.search{height:54px;border-radius:16px;background:#fff;flex:1;order:initial}
.search input{font-size:14px}
.search__btn{height:40px;background:var(--yellow);padding:0 22px;border-radius:12px}
.hdr__nav{display:flex;flex-wrap:wrap;gap:7px;padding:12px 0 0;overflow:visible}
.hdr__nav a,.hdr__nav button{background:rgba(255,255,255,.8);font-size:12px;padding:7px 13px}
.hdr__nav .nav-rc{background:var(--black);color:var(--yellow)}
.hdr--home .masthead__in{padding-top:40px;padding-bottom:24px}
.hdr--home .masthead__content{width:76%;padding-right:18px}
.hdr--home .brand-row{gap:28px;margin-bottom:28px}
.hdr--home .logo img{height:96px}
.hdr--home .hdr__slogan{font-size:15px}
.hdr--home .hdr__slogan b{font-size:20px}
.masthead__mascot{position:absolute;right:0;top:20px;width:340px;height:360px;object-fit:contain;z-index:1;pointer-events:none}
.masthead__promo{position:relative;z-index:2;margin-top:26px;background:var(--orange);color:#fff;border-radius:22px;padding:22px 28px;display:flex;align-items:center;justify-content:space-between;gap:20px;max-width:calc(100% - 190px)}
.promo-eyebrow{font-size:10px;font-weight:800;letter-spacing:.1em;color:#ffeb99}
.masthead__promo h1{font-size:28px;font-weight:900;line-height:1.15;margin-top:6px;letter-spacing:-.02em}
.masthead__promo p{font-size:13px;font-weight:500;line-height:1.45;margin-top:8px}
.masthead__promo>button{display:inline-flex;align-items:center;justify-content:center;gap:14px;background:var(--yellow);color:var(--black);font-weight:900;font-size:13px;padding:12px 16px;border-radius:14px;white-space:nowrap}
.masthead__promo .dice{width:28px;height:28px;border-width:2px;border-radius:7px;padding:3px;transform:rotate(8deg)}
.masthead__promo .dice i{width:4px;height:4px}
.quick-dialog{border:0;border-radius:22px;padding:24px;width:min(720px,calc(100% - 32px));max-height:85dvh;overflow:auto;margin:auto;box-shadow:0 16px 70px #0003;color:var(--black)}
.quick-dialog::backdrop{background:#0007}
.quick-dialog__head{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:20px}
.quick-dialog__head h2{font-size:22px;font-weight:900}
.quick-dialog p{line-height:1.6;font-size:14px;margin:10px 0}
.quick-dialog p a{color:var(--orange);font-weight:700}
.quick-dialog .pgrid{grid-template-columns:repeat(3,minmax(0,1fr))}
.pcard__img{background:#fff;border-radius:16px}
.pcard__link{padding:0}
.pcard__link img{display:block;width:100%;height:100%;object-fit:contain;object-position:center;transform:none;filter:none;box-shadow:none;border-radius:0}
.pcard:hover .pcard__link img{transform:none}
.pcard__link img[src*="mascot-bw"]{padding:16%}
.pcard__name{flex:initial;overflow-wrap:anywhere}
.pcard__body{gap:0}
.pcard__tagline{font-size:11.5px;line-height:1.4;color:#757575;margin:7px 0 0}
.pcard__buy{margin-top:auto}
.pcard__body:has(.pcard__buy) .pcard__tagline{margin-bottom:12px}
.stock-note{font-size:12px;font-weight:700;color:#666;margin-top:8px}
.gallery{padding:0;overflow:hidden;width:100%}
.gallery__img{width:100%;height:auto;aspect-ratio:1/1;object-fit:contain;object-position:center;transform:none;border-radius:0;filter:none;box-shadow:none}
.gallery__img.is-placeholder{padding:14%}
.gallery .spark{display:none}
.gallery__count{bottom:6px;left:6px;background:#fff;font-size:11px}
.rc__row img{background:#fff;border-radius:0}
.p-icons{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-top:18px}
.p-icons button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;background:#f5f5f5;border-radius:13px;padding:12px 4px;font-size:10.5px;font-weight:700;min-width:0;min-height:66px;transition:background .15s}
.p-icons button:hover{background:#fff2b3}
.p-icons button svg{width:22px;height:22px}
.p-icons button.on{background:var(--yellow)}
.p-icons button.on[data-act="fav"] svg{fill:var(--orange);stroke:var(--orange)}
.p-rate.show{display:flex;justify-content:center;gap:6px;margin-top:10px;background:var(--gray-bg);border-radius:14px;padding:10px}
.p-rate button{font-size:28px;line-height:1;color:#ccc}
.p-rate button.on{color:#F5B400}
.product__title{overflow-wrap:anywhere}
.product__tagline{margin:13px 0 20px;font-size:14px;line-height:1.5;border-left-width:3px;padding-left:12px}
.about{grid-template-columns:180px minmax(0,1fr);padding:24px;gap:22px}
.about__title{font-size:29px}
.about__text{white-space:pre-line;overflow-wrap:anywhere}
.about__text[hidden]{display:none}
.acc{margin-top:0}
.about__text:not([hidden])+.acc{margin-top:20px}
.acc__head{font-size:14px;gap:12px;cursor:pointer;list-style:none;padding:14px 16px}
.acc__head::-webkit-details-marker{display:none}
.acc .acc__body{display:none;padding:0 16px 16px}
.acc[open] .acc__body{display:block}
.acc[open] .pm{transform:rotate(45deg)}
.specs{table-layout:fixed;overflow-wrap:anywhere}
.specs td:first-child{width:40%}
.price{gap:12px;flex-wrap:wrap}
.price__now{font-size:clamp(32px,4vw,54px);overflow-wrap:anywhere}
.buy{gap:10px}
.qty{flex:none}
.to-cart{max-width:100%;padding:0 18px;justify-content:center;font-size:14px}
.deal{grid-template-columns:180px minmax(0,1fr) minmax(150px,auto);gap:20px;padding:24px;background:#fff;border:1.5px solid #eee}
.deal__img{min-width:0}
.deal__img img{transform:none;object-fit:contain;border-radius:0}
.deal .price__now{font-size:42px}
.deal__title{font-size:22px;overflow-wrap:anywhere}
.cat img{transform:none;object-fit:contain;max-width:100%;margin-bottom:10px}
.cat__name{overflow-wrap:anywhere}
.section-title{min-width:0;overflow-wrap:anywhere}
.section-title svg{flex-shrink:0;max-width:50px}
.bnav .sum{font-size:9px}
button:focus-visible,a:focus-visible,summary:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #4168d6;outline-offset:3px}
@media(min-width:901px) and (max-width:1180px){
  .topbar__links{gap:12px;font-size:11px}
  .topbar__in{gap:10px}
  .hdr__actions{gap:4px}
  .hdr--home .logo img{height:78px}
  .hdr--home .hdr__slogan{font-size:12px}
  .hdr--home .hdr__slogan b{font-size:15px}
  .masthead__mascot{width:275px;height:330px;top:18px}
  .masthead__promo{max-width:calc(100% - 145px);padding:20px}
  .masthead__promo h1{font-size:24px}
  .product{grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);gap:20px}
  .deal{grid-template-columns:150px minmax(0,1fr)}
  .deal>div:last-child{grid-column:2}
}
@media(max-width:900px){
  body{padding-bottom:calc(82px + env(safe-area-inset-bottom))}
  .topbar__in{flex-direction:column;align-items:stretch;gap:12px;min-height:0;padding-top:10px;padding-bottom:12px}
  .topbar__links{gap:16px;font-size:10px;justify-content:center}
  .hdr__actions{display:flex;justify-content:space-between;gap:4px}
  .hact{height:44px;padding:0 5px;gap:3px}
  .hact__txt b{font-size:9px}
  .hact--cart{min-width:104px;flex-direction:row;padding:0 10px;gap:8px}
  .hact--cart .hact__txt b{font-size:10px}
  .hact--cart small{font-size:13px}
  .masthead__in,.hdr--home .masthead__in{padding-top:20px;padding-bottom:14px}
  .brand-row,.hdr--home .brand-row{gap:15px;margin-bottom:18px}
  .hdr .logo img,.hdr--home .logo img{height:58px}
  .hdr__slogan,.hdr--home .hdr__slogan{display:block;font-size:10px;text-align:left;margin-left:0}
  .hdr__slogan b,.hdr--home .hdr__slogan b{font-size:12px}
  .hdr--home .masthead__content{width:100%;padding:0}
  .hdr__row{gap:8px;flex-wrap:nowrap;padding:0}
  .catalog-btn{display:flex;height:46px;padding:0 13px;font-size:12px;gap:7px;border-radius:13px}
  .burger{width:16px;flex:none}
  .search{order:initial;flex-basis:0;min-width:0;height:46px;padding-left:10px;gap:7px;border-radius:13px}
  .search input{font-size:12px;width:0}
  .search>svg{width:15px;flex:none}
  .search__btn{padding:0 10px;height:34px;border-radius:9px;font-size:11px}
  .hdr__nav{gap:6px;flex-wrap:nowrap;overflow-x:auto;padding-top:10px;padding-bottom:0}
  .hdr__nav a,.hdr__nav button{font-size:11px;padding:6px 11px}
  .masthead__mascot{width:122px;height:132px;top:5px;right:8px}
  .hdr--home .brand-row{padding-right:110px;min-height:82px}
  .hdr--home .brand-row .hdr__slogan{display:none}
  .hdr--home .logo img{height:auto;width:180px;max-width:100%}
  .masthead__promo{max-width:100%;padding:18px;margin-top:18px;gap:14px;flex-wrap:wrap;border-radius:17px}
  .masthead__promo h1{font-size:23px}
  .masthead__promo p{font-size:12px;max-width:300px}
  .masthead__promo>button{font-size:12px;padding:9px 13px}
  .promo-eyebrow{font-size:9px}
  .layout{display:grid;grid-template-columns:minmax(0,1fr);gap:16px}
  .product{grid-template-columns:minmax(0,1fr);gap:16px}
  .gallery{max-width:420px}
  .gallery__img{max-height:420px}
  .product__title{font-size:23px}
  .buybar{display:flex;flex-wrap:wrap;gap:14px;align-items:center;justify-content:space-between}
  .buybar .price{min-width:0;max-width:100%}
  .buybar .price__now{font-size:36px;line-height:1.15}
  .buybar .buy{display:flex;flex-wrap:wrap;flex-direction:row;max-width:100%;margin-top:0}
  .buybar .to-cart{width:auto;min-width:92px;padding:0 14px;height:48px}
  .to-cart__txt{display:inline;font-size:11px}
  .to-cart__ico{display:none}
  .buybar .qty{height:48px}
  .buybar .qty button{width:34px}
  .buybar .qty input{width:36px;min-width:0}
  .about{grid-template-columns:minmax(0,1fr);padding:22px 16px;gap:18px}
  .about__title{padding-right:85px;border:0;font-size:27px}
  .about__mascot{width:76px;height:76px;top:-9px}
  .about__text{font-size:14px}
  .acc__head{font-size:13px}
  .specs{font-size:12px}
  .specs td:first-child{width:38%}
  .deal{grid-template-columns:minmax(0,1fr);padding:18px;gap:14px}
  .deal .price__now{font-size:38px}
  .deal .to-cart{height:48px}
  .deal__title{font-size:22px}
  .deal__img img{height:220px}
  .quick-dialog{padding:18px}
  .quick-dialog .pgrid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .p-icons{gap:6px}
  .p-icons button{font-size:10px}
  .sec-head{min-width:0}
  .section-title{font-size:20px;line-height:1.15}
  .cat-head{min-width:0}
  .sort{display:flex;flex-wrap:wrap;max-width:100%;font-size:12px}
  .sort select{min-width:0;max-width:100%;font-size:12px}
  .footer{margin-top:36px}
  .toast{max-width:calc(100% - 24px);font-size:12px;padding:10px 15px}
}
@media(max-width:360px){
  .wrap{padding-left:12px;padding-right:12px}
  .topbar__links{gap:10px;font-size:9px}
  .hact__txt b{font-size:8px}
  .hact--cart{min-width:94px}
  .brand-row{gap:10px}
  .hdr .logo img{height:48px}
  .hdr__slogan{font-size:9px}
  .hdr__slogan b{font-size:10px}
  .search>svg{display:none}
  .catalog-btn{padding:0 10px;font-size:11px}
  .masthead__promo h1{font-size:21px}
  .pcard__tagline{font-size:10.5px}
  .pcard__price b{font-size:17px}
  .p-icons button{font-size:9px}
  .p-icons{gap:4px}
}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;scroll-behavior:auto!important;transition:none!important}}

/* Подпись: текст и жёлтая вертикальная линия из предоставленного образца. */
.product__tagline{border-left:5px solid #f4e453;padding-left:18px;font-weight:400;font-size:clamp(15px,1.45vw,20px);line-height:1.5;white-space:pre-line;margin:22px 0 26px;color:#1a1a1a}
.p-stk:empty{display:none}

@media(max-width:900px){.product__tagline{font-size:15px;padding-left:14px;margin:18px 0 22px}}



/* Мини-стикеры под фото: без рекламных приписок в списках товаров. */
.pcard__labels,.product__labels{display:flex;flex-wrap:wrap;gap:5px;margin-top:8px}
.pcard__labels:empty,.product__labels:empty{display:none}
.mini-label{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;padding:4px 10px;font-size:10px;line-height:1.15;font-weight:900;text-transform:uppercase;letter-spacing:.02em;background:#eae7ff;color:#554497}
.mini-label--spicy{background:var(--orange);color:var(--black)}
.mini-label--rare{background:#ada4f7;color:#fff}
.mini-label--sour{background:#eee585;color:#4d4519}
.mini-label--chocolate{background:#eddfd2;color:#6c422d}
.mini-label--mochi{background:#e8dcf5;color:#6d4793}
.mini-label--marmalade{background:#f7dceb;color:#965079}
.mini-label--noodles{background:#f9e4be;color:#936328}
.mini-label--soda{background:#d9ecf9;color:#316588}
.mini-label--sweet{background:#f6deeb;color:#994b73}
.pcard__hit{position:absolute;z-index:3;left:6px;top:6px;width:min(78%,180px);height:auto;pointer-events:none}
.pcard__hit img{width:100%;height:auto;display:block}
.gallery__hit{position:absolute;left:8px;top:8px;width:min(58%,260px);height:auto;z-index:3;pointer-events:none}
.gallery__hit img{display:block;width:100%;height:auto}
.gallery__hit:empty{display:none}
.product__visual{min-width:0}
.product__labels{margin-top:12px}
.product__labels .mini-label{padding:6px 15px;font-size:12px}
@media(max-width:900px){.product__visual{width:100%;max-width:420px;margin-inline:auto}.mini-label{font-size:9px;padding:4px 8px}.product__labels .mini-label{font-size:11px;padding:6px 13px}}

/* Одинаковые строки карточек независимо от наличия мини-стикеров. */
.pcard__img{flex:0 0 auto}
.pcard>.pcard__labels,
.pcard>.pcard__labels:empty{
  display:flex;
  flex:0 0 44px;
  height:44px;
  min-height:44px;
  max-height:44px;
  margin-top:8px;
  align-items:flex-start;
  align-content:flex-start;
  gap:5px;
}
/* Только заглушка отсутствующего фото: половина исходной насыщенности. */
img[src*="mascot-bw.svg"]{opacity:.5}

.photo-stickers {
  position: absolute;
  z-index: 1;
  top: 8px;
  left: 8px;
  max-width: calc(100% - 50px);
  display: flex;
  flex-wrap: wrap;
  gap: 3px;
  pointer-events: none;
}
.photo-stickers .mini-label { background: #f6df70; color: #332a18; }
@media (max-width: 650px) {
  .pcard__img > .photo-stickers { top: auto; bottom: 7px; }
}
