/* Store home page only (heroes, strips, categories, deals, vouchers, shops, menu). Loaded by shop_start() on the home page. */
.promise { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 0 0 24px; }
.pr { display: flex; align-items: center; gap: 12px; padding: 14px; background: var(--surface); border: var(--bw) solid var(--line); border-radius: var(--radius); min-width: 0; }
.pr b { display: block; font-size: .9rem; line-height: 1.25; } .pr small { color: var(--muted); font-size: .78rem; display: block; }
.pr-ic { display: grid; place-items: center; width: 42px; height: 42px; flex: none; border-radius: 12px; background: var(--primary-soft); color: var(--primary-ink); }
@media (max-width: 759px) { .promise { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 72%; overflow-x: auto; scrollbar-width: none; margin-right: -16px; padding-right: 16px; } .pr { padding: 10px 12px; } .pr-ic { width: 36px; height: 36px; } }
@media (min-width: 900px) { .promise { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
/* ---------- Categories ---------- */
.cats { display: grid; grid-auto-flow: column; grid-auto-columns: 92px; gap: 10px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: thin; scroll-snap-type: x proximity; }
.cat { display: flex; flex-direction: column; align-items: center; gap: 7px; padding: 12px 6px; text-align: center; color: var(--text); border-radius: var(--radius); scroll-snap-align: start; transition: background .15s, transform .15s var(--ease); }
.cat:hover { background: var(--surface); text-decoration: none; transform: translateY(-2px); }
.cat-name { font-size: .84rem; font-weight: 650; line-height: 1.2; }
.cat-n { font-size: .72rem; color: var(--muted); }
@media (min-width: 900px) { .cats { grid-auto-columns: minmax(104px, 1fr); } }
/* ---------- Heroes ---------- */
.hero { position: relative; margin-bottom: 24px; }
.slides { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; border-radius: var(--radius-lg); scrollbar-width: none; }
.slides::-webkit-scrollbar { display: none; }
.slide { position: relative; flex: 0 0 100%; scroll-snap-align: start; aspect-ratio: 8 / 3; min-height: 180px; background: var(--hero-bg); color: #fff; overflow: hidden; display: flex; align-items: flex-end; }
.slide img, .slide .img-ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-carousel:not(.no-text) .slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.66), rgba(0,0,0,.1) 70%); }
.slide-text { position: relative; z-index: 1; padding: clamp(18px, 4vw, 44px); max-width: 600px; }
.slide-text h2 { font-size: clamp(1.3rem, 3.2vw, 2.4rem); margin-bottom: .3em; color: #fff; }
.slide-text p { color: rgba(255,255,255,.88); }
.slide-link { position: absolute; inset: 0; z-index: 1; display: flex; align-items: flex-end; justify-content: flex-end; padding: 16px; }
.dots { display: flex; justify-content: center; gap: 6px; margin-top: 10px; }
.dots button { width: 8px; height: 8px; padding: 0; border-radius: 99px; border: 0; background: var(--line-strong); cursor: pointer; transition: width .25s var(--ease), background .2s; }
.dots button[aria-current="true"] { width: 24px; background: var(--primary); }
.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-top: 18px; }
.hero-text { display: grid; gap: 20px; align-items: center; background: var(--hero-bg) radial-gradient(120% 140% at 100% 0, color-mix(in srgb, var(--primary) 45%, transparent), transparent 55%); color: var(--hero-text); border-radius: var(--radius-lg); padding: clamp(24px, 5vw, 56px); overflow: hidden; }
.hero-text h1 { color: inherit; font-size: clamp(1.8rem, 1.2rem + 3vw, 3.4rem); max-width: 15ch; }
.hero-text p { opacity: .85; max-width: 560px; font-size: 1.05rem; }
.hero-text .kicker { color: color-mix(in srgb, var(--primary) 70%, #fff); }
.hero-text .btn-ghost { color: inherit; border-color: color-mix(in srgb, currentColor 40%, transparent); }
.ht-art { position: relative; min-height: 260px; }
.ht-pic { position: absolute; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); background: var(--img-bg); }
.ht-pic img { width: 100%; height: 100%; object-fit: cover; }
.ht-pic-1 { width: 62%; aspect-ratio: 1; right: 6%; top: 0; transform: rotate(3deg); }
.ht-pic-2 { width: 38%; aspect-ratio: 1; left: 2%; bottom: 0; transform: rotate(-5deg); }
.ht-pic-3 { width: 26%; aspect-ratio: 1; right: 0; bottom: -4%; transform: rotate(-2deg); }
.sticker { position: absolute; z-index: 2; font-weight: 800; font-size: .85rem; padding: 7px 13px; border-radius: 999px; background: var(--cta); color: var(--on-cta); box-shadow: var(--shadow); }
.st-1 { left: 6%; top: 8%; transform: rotate(-6deg); } .st-2 { right: 2%; top: 58%; background: #fff; color: #111; transform: rotate(4deg); }
@media (min-width: 860px) { .hero-text { grid-template-columns: 1.1fr .9fr; } .ht-art { min-height: 340px; } }
@media (max-width: 859px) { .ht-art { min-height: 220px; max-width: 420px; width: 100%; margin: 0 auto; } }
.hero-split { display: grid; gap: 24px; align-items: center; padding: clamp(8px, 3vw, 32px) 0; }
.hero-split h1 { font-size: clamp(2rem, 1.2rem + 3.6vw, 4rem); line-height: 1.04; max-width: 14ch; }
.hs-media { position: relative; padding-right: 18px; }
.hs-pic { display: block; position: relative; border-radius: var(--radius-lg); overflow: hidden; background: var(--img-bg); aspect-ratio: 4 / 5; max-height: 560px; width: 100%; }
.hs-pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.hs-pic:hover img { transform: scale(1.03); }
.hs-cap { position: absolute; left: 14px; bottom: 14px; background: var(--surface); color: var(--text); padding: 9px 13px; border-radius: var(--radius-sm); font-size: .85rem; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.hs-pic-2 { position: absolute; width: 34%; aspect-ratio: 1; right: 0; bottom: -18px; border: 6px solid var(--bg); }
@media (min-width: 860px) { .hero-split { grid-template-columns: 1fr 1fr; gap: 56px; } .hs-media { padding-right: 18px; } }
.bento { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.bt { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 18px; border-radius: var(--radius-lg); background: var(--surface); border: var(--bw) solid var(--line); color: var(--text); overflow: hidden; min-height: 150px; }
a.bt:hover { text-decoration: none; box-shadow: var(--shadow); }
.bt-label { font-size: .72rem; font-weight: 750; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.bt-hero { grid-column: 1 / -1; min-height: 260px; justify-content: flex-end; background: var(--hero-bg) radial-gradient(120% 140% at 100% 0, color-mix(in srgb, var(--primary) 55%, transparent), transparent 60%); color: #fff; border: 0; }
.bt-hero h1 { color: #fff; font-size: clamp(1.5rem, 1rem + 2.4vw, 2.6rem); max-width: 16ch; }
.bt-hero p { opacity: .85; }
.bt-hero .kicker { color: color-mix(in srgb, var(--primary) 60%, #fff); }
.bt-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bt-hero.has-img:not(.img-only)::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.7), rgba(0,0,0,.05)); }
.bt-copy { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.bt-hero.img-only .bt-copy { align-items: flex-end; margin-top: auto; }
.bt-hero.img-only .bt-bg { object-fit: contain; object-position: left center; }
.bt-product img, .bt-product .img-ph { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-sm); background: var(--img-bg); }
.bt-foot { display: flex; flex-direction: column; gap: 2px; font-size: .9rem; }
.bt-deal { background: var(--cta); color: var(--on-cta); border: 0; }
.bt-deal .bt-label { color: inherit; opacity: .85; }
.bt-big { font: 850 clamp(2.2rem, 6vw, 3.4rem)/1 var(--font-head); letter-spacing: -.04em; }
.bt-sub { font-weight: 600; max-width: 70%; }
.bt-pic { position: absolute; right: -14px; bottom: -14px; width: 46%; aspect-ratio: 1; border-radius: 50%; overflow: hidden; border: 4px solid color-mix(in srgb, var(--on-cta) 40%, transparent); }
.bt-pic img { width: 100%; height: 100%; object-fit: cover; }
.bt-ic { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--primary-soft); color: var(--primary-ink); margin-bottom: auto; }
.bt-promise b, .bt-app b { font-size: 1.05rem; }
.bt-cats { grid-column: 1 / -1; }
.bt-cat-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.bt-cat-list a { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; padding: 6px 2px; border-radius: 10px; color: var(--text); font-size: .78rem; font-weight: 600; min-width: 0; line-height: 1.2; }
.bt-cat-list a span:last-child { overflow-wrap: anywhere; }
.bt-cat-list a:hover { background: var(--surface-2); text-decoration: none; }
.bt-cat-list .cat-ic { width: 46px; height: 46px; font-size: 1.4rem; border-radius: 14px; }
.bt-app { background: var(--ink); color: var(--bg); border: 0; }
.bt-app .bt-ic { background: color-mix(in srgb, var(--bg) 14%, transparent); color: inherit; }
.bt-app .btn { align-self: flex-start; margin-top: 4px; }
.bt-hero { grid-area: h; } .bt-product { grid-area: p; } .bt-deal { grid-area: d; } .bt-promise { grid-area: f; } .bt-cats { grid-area: c; } .bt-app { grid-area: a; }
.bento { grid-template-areas: "h h" "p d" "p f" "c c" "a a"; }
@media (min-width: 760px) {
  .bento { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-areas: "h h p d" "h h p f" "c c c a"; }
  .bt-hero { min-height: 340px; } .bt-cat-list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (min-width: 1100px) { .bento { grid-template-columns: repeat(6, minmax(0, 1fr)); grid-template-areas: "h h h p d d" "h h h p f a" "c c c c c c"; } .bt-cat-list { grid-template-columns: repeat(8, minmax(0, 1fr)); } }
.bento:not(:has(.bt-deal)) .bt-promise { grid-area: d; } .bento:not(:has(.bt-product)) .bt-hero { grid-column: 1 / -2; }

/* ---------- Deals, vouchers, shops, menu ---------- */
.deals { background: linear-gradient(135deg, color-mix(in srgb, var(--sale) 10%, var(--surface)), var(--surface)); border: var(--bw) solid var(--line); border-radius: var(--radius-lg); padding: 18px; }
.deals .section-head h2::before { content: "🔥 "; }
.deals-ends { display: inline-flex; align-items: center; gap: 8px; font-size: .86rem; font-weight: 600; color: var(--muted); }
.countdown { display: inline-flex; align-items: center; gap: 5px; background: var(--sale); color: #fff; padding: 4px 10px; border-radius: 8px; font-variant-numeric: tabular-nums; }
.countdown .icon { width: 15px; height: 15px; }
.vouchers { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(270px, 1fr); gap: 12px; overflow-x: auto; padding-bottom: 6px; }
.voucher { display: flex; border-radius: var(--radius); background: var(--surface); border: var(--bw) solid var(--line); overflow: hidden; min-height: 120px; }
.v-left { position: relative; flex: 0 0 38%; display: flex; flex-direction: column; justify-content: center; padding: 14px; background: var(--cta); color: var(--on-cta); border-right: 2px dashed color-mix(in srgb, var(--on-cta) 50%, transparent); }
.v-left b { font: 800 1.15rem/1.15 var(--font-head); } .v-left small { opacity: .85; font-size: .74rem; margin-top: 4px; }
.v-right { flex: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 3px; padding: 12px 14px; min-width: 0; }
.v-right code { font: 800 1rem ui-monospace, Consolas, monospace; letter-spacing: .06em; color: var(--primary-ink); }
.v-right .btn { margin-top: auto; }
.shops { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(220px, 1fr); gap: 14px; overflow-x: auto; padding-bottom: 8px; }
@media (min-width: 1024px) { .shops { grid-auto-columns: calc(25% - 11px); } }
.shop-card { display: flex; flex-direction: column; background: var(--surface); border: var(--bw) solid var(--line); border-radius: var(--radius); overflow: hidden; color: var(--text); transition: box-shadow .2s, transform .2s var(--ease); }
.shop-card:hover { text-decoration: none; box-shadow: var(--shadow); transform: translateY(-2px); }
.sc-cover { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 2px; height: 92px; background: linear-gradient(135deg, var(--primary-soft), var(--surface-3)); overflow: hidden; }
.sc-cover img { width: 100%; height: 100%; object-fit: cover; }
.sc-body { display: flex; flex-direction: column; gap: 3px; padding: 0 14px 14px; }
.sc-body .vlogo { margin-top: -28px; border: 3px solid var(--surface); box-shadow: var(--shadow-sm); background: var(--surface); }
.sc-cta { margin-top: 6px; color: var(--primary-ink); font-weight: 650; font-size: .86rem; display: inline-flex; align-items: center; }
.sc-cta .icon { width: 15px; height: 15px; }
.menu-chips { position: sticky; top: calc(var(--top-h) + 1px); z-index: 30; background: var(--bg); display: flex; gap: 8px; overflow-x: auto; padding: 10px 0; margin-bottom: 6px; scrollbar-width: none; }
.is-compact .menu-chips { top: 55px; }
.menu-chips::-webkit-scrollbar { display: none; }
.menu-group { margin: 22px 0 28px; scroll-margin-top: calc(var(--top-h) + 70px); }
.menu-title { display: flex; align-items: center; gap: 12px; }
.menu-title::after { content: ""; flex: 1; height: 1px; background: var(--line); }

@media (max-width: 759px) { .bt-hero.img-only { min-height: 0; padding: 0; gap: 0; } .bt-hero.img-only .bt-bg { position: static; height: auto; aspect-ratio: 8 / 3; object-fit: cover; } .bt-hero.img-only .bt-copy { padding: 12px; } }
