/* Макет «Стрит» — доставка. Яркий контраст: чёрные рамки и жёсткие тени. */
:root { --bg: #fff6e0; --text: #161616; --border: #161616; --ink: #161616; --yellow: #ffd600; --st-font: 'Rubik', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; }
body { background: var(--bg); font-family: var(--st-font); }
h1, h2, h3, h4, h5, .brand { font-family: var(--st-font); }

.shop-header, .header-row1, .header-row2 { background: var(--ink); border-color: var(--ink); }
.shop-header { border-bottom: 3px solid var(--yellow); }
.brand { color: var(--yellow) !important; font-weight: 900; text-transform: uppercase; letter-spacing: -.02em; }
.phone-link { color: #fff; } .shop-header .text-muted { color: #bdbdbd !important; }
.shop-header .btn-outline-secondary, .shop-header .btn-outline-dark { --bs-btn-color: #fff; --bs-btn-border-color: #fff; --bs-btn-hover-bg: #fff; --bs-btn-hover-color: var(--ink); --bs-btn-hover-border-color: #fff; --bs-btn-active-bg: #fff; --bs-btn-active-color: var(--ink); }
.shop-header .btn-outline-danger { --bs-btn-color: var(--yellow); --bs-btn-border-color: var(--yellow); --bs-btn-hover-bg: var(--yellow); --bs-btn-hover-color: var(--ink); --bs-btn-hover-border-color: var(--yellow); }

.btn, .btn.rounded-pill { font-weight: 800; text-transform: uppercase; font-size: .8rem; letter-spacing: .02em; border-width: 2px; border-radius: .8rem !important; }
.btn-danger { --bs-btn-color: #fff; --bs-btn-hover-color: #fff; --bs-btn-active-color: #fff; --bs-btn-disabled-color: #fff; border-color: var(--ink); box-shadow: 2px 2px 0 var(--ink); }
.btn-danger:hover { transform: translate(-1px, -1px); box-shadow: 3px 3px 0 var(--ink); }
.btn-outline-danger { background: #fff; --bs-btn-hover-color: #fff; border-color: var(--ink); color: var(--ink); box-shadow: 2px 2px 0 var(--ink); }
.btn-outline-danger:hover { border-color: var(--ink); }
.shop-header .btn { box-shadow: none; }

.category-nav { background: var(--bg); border-bottom: 2px solid var(--ink); }
.category-btn { background: #fff; border: 2px solid var(--ink); font-weight: 700; padding: .3rem 1rem; }
.category-btn:hover, .category-btn.active { background: var(--yellow); border-color: var(--ink); color: var(--ink); }

.section-title { border: 0; padding: 0; font-weight: 900; text-transform: uppercase; font-size: clamp(1.5rem, 4vw, 2.1rem); letter-spacing: -.01em; margin: 2rem 0 1.1rem; }
.section-title { display: inline-block; background: linear-gradient(transparent 58%, var(--yellow) 58%); padding: 0 .3rem; }

.st-card { background: #fff; border: 2px solid var(--ink); border-radius: 1.1rem; box-shadow: 5px 5px 0 var(--ink); transition: transform .12s, box-shadow .12s; }
.st-card:hover { transform: translate(-2px, -2px); box-shadow: 7px 7px 0 var(--ink); }
.st-media { position: relative; border-bottom: 2px solid var(--ink); background: var(--yellow); }
.st-media .product-img { height: 180px; } .st-media .product-img.placeholder { background: var(--yellow); }
.st-media .stock-badge { top: .6rem; left: .6rem; transform: none; }
.st-chip { position: absolute; right: .6rem; bottom: .6rem; background: var(--ink); color: #fff; font-size: .72rem; font-weight: 700; padding: .15rem .6rem; border-radius: 50rem; }
.st-body { padding: .9rem 1rem 1.05rem; }
.st-name { font-size: 1.02rem; font-weight: 800; margin-bottom: .3rem; }
.st-desc { color: #666; font-size: .82rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.st-foot { display: flex; align-items: center; justify-content: space-between; gap: .6rem; }
.st-price { font-size: 1.3rem; font-weight: 900; white-space: nowrap; }

.st-hero { position: relative; overflow: hidden; background: var(--brand); color: #fff; border: 2px solid var(--ink); border-radius: 1.4rem; box-shadow: 6px 6px 0 var(--ink); padding: clamp(1.4rem, 4vw, 2.6rem); }
.st-hero h1 { font-weight: 900; text-transform: uppercase; font-size: clamp(2rem, 6vw, 3.4rem); line-height: 1; margin: .5rem 0; max-width: 80%; }
.st-hero p { max-width: 32ch; font-weight: 500; margin-bottom: .8rem; }
.st-hero .btn-danger { background: var(--ink); --bs-btn-bg: var(--ink); --bs-btn-hover-bg: #000; --bs-btn-border-color: var(--ink); box-shadow: 3px 3px 0 var(--yellow); }
.st-tag { display: inline-block; background: var(--yellow); color: var(--ink); font-weight: 800; font-size: .72rem; text-transform: uppercase; padding: .2rem .7rem; border: 2px solid var(--ink); border-radius: 50rem; }
.st-hero-emoji { position: absolute; right: 1rem; bottom: -.6rem; font-size: clamp(5rem, 16vw, 9rem); line-height: 1; transform: rotate(-10deg); filter: drop-shadow(4px 4px 0 rgba(0,0,0,.25)); }
.st-usp { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem; }
.st-usp li { background: #fff; border: 2px solid var(--ink); border-radius: .9rem; padding: .6rem .85rem; box-shadow: 3px 3px 0 var(--ink); }
.st-usp b { display: block; font-weight: 800; } .st-usp span { display: block; font-size: .78rem; color: #666; line-height: 1.25; }
@media (max-width: 575.98px) { .st-usp { grid-template-columns: 1fr; gap: .5rem; } .st-usp li { display: flex; gap: .6rem; align-items: baseline; } .st-hero h1 { max-width: 100%; } }

.promo-slider { border: 2px solid var(--ink); border-radius: 1.4rem; box-shadow: 6px 6px 0 var(--ink); }
.promo-slide { background: linear-gradient(135deg, var(--brand), color-mix(in srgb, var(--brand) 70%, #fff)); background-size: cover; background-position: center; }
.promo-title { font-weight: 900; text-transform: uppercase; }
.modal-content { border: 2px solid var(--ink); border-radius: 1.1rem; box-shadow: 6px 6px 0 var(--ink); }
.mod-row.selected { background: #fff3c4; border-color: var(--ink); } .size-btn.active { color: #fff; }
.st-footer { background: var(--ink); color: #ddd; border-top: 3px solid var(--yellow); } .st-footer a { color: var(--yellow); } .st-footer strong { color: #fff; }

/* нижняя панель на телефоне */
.st-dock { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1030; display: flex; background: var(--ink); border-top: 3px solid var(--yellow); padding-bottom: env(safe-area-inset-bottom); }
.st-dock > * { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 1px; padding: .5rem 0 .4rem; background: none; border: 0; color: #fff; text-decoration: none; font-size: .7rem; font-weight: 700; position: relative; }
.st-dock i { font-size: 1.25rem; line-height: 1.2; } .st-dock .st-dock-cart i { color: var(--yellow); }
.st-dock b { position: absolute; top: 3px; left: 54%; min-width: 18px; padding: 0 5px; border-radius: 50rem; background: var(--brand); color: #fff; font-size: .68rem; line-height: 18px; text-align: center; }
@media (max-width: 767.98px) { body { padding-bottom: 64px; } .cookie-banner { bottom: 76px; } }

/* ---------- Обслуживание ---------- */
body.mt-page { background: var(--yellow); }
.mt-card { background: #fff; border: 3px solid var(--ink); border-radius: 1.4rem; box-shadow: 8px 8px 0 var(--ink); transform: rotate(-1deg); }
.mt-brand, .mt-title { text-transform: uppercase; font-weight: 900; }
.mt-icon { background: var(--yellow); color: var(--ink); border: 3px solid var(--ink); border-radius: 1rem; transform: rotate(4deg); }
.mt-until { background: var(--ink); color: #fff; border-radius: .5rem; transform: rotate(1deg); }
.mt-retry { border: 3px solid var(--ink); border-radius: .8rem; box-shadow: 4px 4px 0 var(--ink); font-weight: 800; }
.mt-retry:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--ink); }
