/* Vegas Valley Beverage - app-style site. Brand: black, white, VVB red. Type: Fira Sans. */
:root {
  --red: #d62027; --red-dark: #a1181d; --red-soft: #fdecec;
  --ink: #0b0b0c; --ink-2: #16171a; --ink-3: #24262b;
  --text: #1b1c20; --muted: #62656d; --line: #e6e6ea; --line-2: #f0f0f3;
  --bg: #ffffff; --tint: #f4f4f6; --card: #ffffff;
  --r: 16px; --r-sm: 10px;
  --shadow: 0 1px 2px rgba(0,0,0,.04), 0 8px 24px rgba(0,0,0,.06);
  --shadow-lg: 0 2px 6px rgba(0,0,0,.06), 0 20px 44px rgba(0,0,0,.12);
  --appbar-h: 72px; --tabbar-h: 0px;
  --font: 'Fira Sans', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --display: 'Fira Sans Condensed', 'Fira Sans', system-ui, sans-serif;
  --ease: cubic-bezier(.2,.8,.2,1);
}
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .22s; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--appbar-h) + 12px); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 16.5px; line-height: 1.55; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: transparent; padding-bottom: var(--tabbar-h); }
img { max-width: 100%; display: block; }
a { color: var(--red); text-decoration: none; }
a:hover { color: var(--red-dark); }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }
[hidden] { display: none !important; }
.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.ic { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 999; background: var(--red); color: #fff; padding: 10px 14px; border-radius: 8px; }
.skip:focus { top: 12px; color: #fff; }
.red { color: var(--red); }
.row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.note { text-align: center; color: var(--muted); margin-top: 18px; font-size: 15px; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 20px; border-radius: 12px; border: 2px solid transparent; font-weight: 700; font-size: 15px; letter-spacing: .01em; cursor: pointer; white-space: nowrap; transition: transform .15s var(--ease), background-color .2s, color .2s, border-color .2s, box-shadow .2s; }
.btn:active { transform: scale(.97); }
.btn--lg { min-height: 54px; padding: 0 26px; font-size: 16px; }
.btn--block { width: 100%; }
.btn--red { background: var(--red); color: #fff; }
.btn--red:hover { background: var(--red-dark); color: #fff; box-shadow: 0 8px 20px rgba(214,32,39,.28); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: var(--ink-3); color: #fff; }
.btn--white { background: #fff; color: var(--red); }
.btn--white:hover { background: var(--ink); color: #fff; }
.btn--glass { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.55); backdrop-filter: blur(6px); }
.btn--glass:hover { background: #fff; color: var(--ink); }
.btn--ghost { background: var(--tint); color: var(--text); }
.btn--ghost:hover { background: var(--line); color: var(--text); }
.btn[disabled] { opacity: .6; cursor: progress; }
.iconbtn { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border-radius: 12px; color: inherit; background: transparent; border: 0; cursor: pointer; position: relative; }
.iconbtn:hover { background: rgba(255,255,255,.08); color: inherit; }
.qbadge { position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--red); color: #fff; font-size: 11px; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; line-height: 1; }

/* ---------- Type ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 12.5px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--red); margin-bottom: 12px; }
.eyebrow::before { content: ''; width: 24px; height: 2px; background: currentColor; }
.eyebrow--light { color: #fff; }
.eyebrow--light::before { background: var(--red); }
.lead { font-size: 18px; color: var(--muted); margin: 16px 0 26px; }
.sec--dark .lead { color: rgba(255,255,255,.72); }
.h1 { font-size: 1em; }

/* ---------- App bar ---------- */
.appbar { position: sticky; top: 0; z-index: 50; background: rgba(11,11,12,.94); backdrop-filter: saturate(150%) blur(12px); -webkit-backdrop-filter: saturate(150%) blur(12px); color: #fff; padding-top: env(safe-area-inset-top); border-bottom: 1px solid rgba(255,255,255,.06); transition: box-shadow .25s; }
.appbar.is-scrolled { box-shadow: 0 8px 28px rgba(0,0,0,.35); }
.appbar__in { display: flex; align-items: center; gap: 18px; height: var(--appbar-h); }
.appbar__brand img { width: 230px; height: auto; }
.appbar__back { display: none; }
.appbar__nav { display: flex; gap: 2px; margin-left: auto; }
.appbar__nav a { position: relative; padding: 10px 14px; color: rgba(255,255,255,.85); font-weight: 600; font-size: 14.5px; letter-spacing: .06em; text-transform: uppercase; border-radius: 10px; }
.appbar__nav a:hover { color: #fff; background: rgba(255,255,255,.06); }
.appbar__nav a.is-on { color: #fff; }
.appbar__nav a.is-on::after { content: ''; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; background: var(--red); border-radius: 2px; }
.appbar__actions { display: flex; align-items: center; gap: 4px; }
.appbar__call { margin-left: 8px; min-height: 42px; padding: 0 16px; }

/* ---------- Tab bar (phones) ---------- */
.tabbar { display: none; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: min(76vh, 700px); display: flex; align-items: center; overflow: hidden; background: var(--ink); color: #fff; }
.hero__slides, .hero__slide, .hero__shade { position: absolute; inset: 0; }
.hero__slide { background-size: cover; background-position: center; opacity: 0; transform: scale(1.06); transition: opacity 1.2s ease, transform 7s ease-out; }
.hero__slide.is-on { opacity: 1; transform: scale(1); }
.hero__shade { background: linear-gradient(90deg, rgba(5,5,6,.92) 0%, rgba(5,5,6,.7) 48%, rgba(5,5,6,.2) 100%); }
.hero__in { position: relative; z-index: 2; padding-top: 72px; padding-bottom: 72px; }
.hero__lines { position: relative; max-width: 760px; min-height: 3.5em; font-size: clamp(32px, 5vw, 60px); }
.hero__line { position: absolute; inset: 0 0 auto 0; font-family: var(--display); font-size: 1em; font-weight: 800; letter-spacing: -.015em; line-height: 1.07; opacity: 0; transform: translateY(14px); transition: opacity .7s, transform .7s var(--ease); margin: 0; }
.hero__line.is-on { position: relative; opacity: 1; transform: none; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero__dots { display: flex; gap: 8px; margin-top: 40px; }
.hero__dots button { width: 34px; height: 4px; border: 0; padding: 0; border-radius: 2px; background: rgba(255,255,255,.35); cursor: pointer; transition: width .3s, background .3s; }
.hero__dots button.is-on { width: 54px; background: var(--red); }

/* ---------- Quick actions ---------- */
.quick { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: -44px; position: relative; z-index: 5; }
.quick__tile { display: flex; flex-direction: column; gap: 4px; padding: 20px; border-radius: var(--r); background: #fff; color: var(--text); box-shadow: var(--shadow-lg); border: 1px solid var(--line-2); transition: transform .2s var(--ease); }
.quick__tile:hover { color: var(--text); transform: translateY(-3px); }
.quick__tile:active { transform: scale(.98); }
.quick__tile .ic { color: var(--red); margin-bottom: 8px; }
.quick__tile strong { font-size: 16px; }
.quick__tile small { color: var(--muted); font-size: 13.5px; }
.quick__tile--red { background: var(--red); color: #fff; border-color: var(--red); }
.quick__tile--red .ic, .quick__tile--red small { color: #fff; }
.quick__tile--red:hover { color: #fff; }

/* ---------- Stats ---------- */
.stats { margin-top: 40px; background: var(--ink); color: #fff; }
.stats__in { display: grid; grid-template-columns: repeat(4, 1fr); }
.stats__in > div { padding: 26px 22px; border-left: 1px solid rgba(255,255,255,.1); display: flex; flex-direction: column; }
.stats__in > div:first-child { border-left: 0; padding-left: 0; }
.stats b { font-family: var(--display); font-size: 34px; font-weight: 800; line-height: 1.05; color: #fff; }
.stats b::after { content: ''; display: block; width: 22px; height: 3px; background: var(--red); margin-top: 8px; border-radius: 2px; }
.stats span { font-size: 13.5px; text-transform: uppercase; letter-spacing: .06em; color: rgba(255,255,255,.7); margin-top: 8px; font-weight: 600; }

/* ---------- Sections ---------- */
.sec { padding: 80px 0; }
.sec--tight { padding: 40px 0 72px; }
.sec--tint { background: var(--tint); }
.sec--dark { background: var(--ink); color: #fff; }
.shead { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 28px; }
.shead h2 { font-family: var(--display); font-size: clamp(24px, 2.6vw, 34px); font-weight: 700; max-width: 820px; line-height: 1.2; }
.shead__link { display: inline-flex; align-items: center; gap: 2px; font-weight: 700; white-space: nowrap; }
.split { display: grid; grid-template-columns: 5fr 7fr; gap: 56px; align-items: start; }
.split h2 { font-family: var(--display); font-size: clamp(28px, 3.2vw, 40px); font-weight: 700; }
.split--form { grid-template-columns: 5fr 7fr; }

/* ---------- Rails (horizontal scroll) ---------- */
.wrap--rail { padding-right: 0; }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: 250px; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 24px 18px 2px; scrollbar-width: none; overscroll-behavior-x: contain; }
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; }
.rail--cats { grid-auto-columns: 220px; }
.cat { position: relative; display: block; border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 5; background: #fff; border: 1px solid var(--line); color: var(--text); box-shadow: var(--shadow); transition: transform .2s var(--ease); }
.cat:hover { transform: translateY(-3px); color: var(--text); }
.cat__img { position: absolute; inset: 0 0 64px 0; display: flex; align-items: center; justify-content: center; padding: 18px; background: #fff; }
.cat__img img { max-height: 100%; width: auto; object-fit: contain; }
.cat__txt { position: absolute; left: 0; right: 0; bottom: 0; padding: 14px 16px; background: var(--ink); color: #fff; display: flex; flex-direction: column; }
.cat__txt strong { font-size: 15.5px; }
.cat__txt small { color: rgba(255,255,255,.65); font-size: 13px; }

/* ---------- Product cards ---------- */
.pcard { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; color: var(--text); box-shadow: var(--shadow); transition: transform .2s var(--ease), box-shadow .2s; }
.pcard:hover { color: var(--text); transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.pcard:active { transform: scale(.985); }
.pcard__img { aspect-ratio: 1 / 1; background: #fff; display: flex; align-items: center; justify-content: center; padding: 18px; border-bottom: 1px solid var(--line-2); }
.pcard__img img { max-height: 100%; width: auto; object-fit: contain; transition: transform .35s var(--ease); }
.pcard:hover .pcard__img img { transform: scale(1.04); }
.pcard__noimg { color: var(--muted); font-weight: 700; }
.pcard__body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 2px; flex: 1; }
.pcard__brand { font-size: 11.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--red); }
.pcard__name { font-size: 16px; font-weight: 600; line-height: 1.3; }
.pcard__cat { margin-top: auto; padding-top: 6px; font-size: 13px; color: var(--muted); }
.pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px; }

/* ---------- Brands ---------- */
.brandgrid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.brandgrid a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; height: 136px; padding: 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); transition: border-color .2s, transform .2s var(--ease), box-shadow .2s; }
.brandgrid img { max-height: 54px; width: auto; object-fit: contain; filter: grayscale(1); opacity: .8; transition: filter .2s, opacity .2s; }
.brandgrid span { font-size: 12.5px; color: var(--muted); font-weight: 600; }
.brandgrid a:hover { border-color: var(--red); transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.brandgrid a:hover img { filter: none; opacity: 1; }
.brandcards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; }
.brandcard { display: flex; flex-direction: column; border-radius: var(--r); border: 1px solid var(--line); background: #fff; overflow: hidden; color: var(--text); box-shadow: var(--shadow); transition: transform .2s var(--ease); }
.brandcard:hover { transform: translateY(-3px); color: var(--text); }
.brandcard__logo { height: 110px; display: flex; align-items: center; justify-content: center; padding: 22px; border-bottom: 1px solid var(--line-2); }
.brandcard__logo img { max-height: 60px; width: auto; }
.brandcard__imgs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line-2); }
.brandcard__imgs img { width: 100%; aspect-ratio: 1; object-fit: contain; background: #fff; padding: 10px; }
.brandcard__foot { display: flex; align-items: center; gap: 8px; padding: 14px 16px; }
.brandcard__foot small { color: var(--muted); margin-left: auto; }

/* ---------- Services ---------- */
.svc { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.svc__item { display: flex; gap: 14px; align-items: flex-start; padding: 20px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); color: var(--text); }
.sec--dark .svc__item { background: var(--ink-2); border-color: var(--ink-3); color: #fff; }
.svc__ic { width: 44px; height: 44px; flex: none; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; background: var(--red-soft); color: var(--red); }
.sec--dark .svc__ic { background: rgba(214,32,39,.16); }
.svc__item p { font-weight: 500; font-size: 16px; padding-top: 2px; }

/* ---------- Band ---------- */
.band { background: var(--red) url('/img/coffee-background.jpg') center / cover; background-blend-mode: multiply; color: #fff; }
.band__in { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding-top: 56px; padding-bottom: 56px; }
.band h2 { font-family: var(--display); font-size: clamp(24px, 3vw, 34px); }
.band p { margin-top: 6px; opacity: .92; font-size: 17px; }

/* ---------- Contact ---------- */
.clist { display: grid; gap: 14px; }
.clist li { display: flex; gap: 14px; align-items: center; }
.clist li > span { width: 46px; height: 46px; flex: none; border-radius: 12px; background: var(--tint); color: var(--red); display: inline-flex; align-items: center; justify-content: center; }
.clist small { display: block; font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.clist a, .clist strong { font-size: 17px; font-weight: 600; color: var(--text); word-break: break-word; }
.clist a:hover { color: var(--red); }

.card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); }
.form { padding: 30px; }
.form__title { font-family: var(--display); font-size: 26px; margin-bottom: 20px; }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; margin-bottom: 20px; }
.fld { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.fld--full { grid-column: 1 / -1; }
.fld > span { font-size: 14px; font-weight: 600; }
.fld b { color: var(--red); }
.fld input, .fld select, .fld textarea { width: 100%; min-height: 50px; padding: 12px 14px; font-size: 16px; background: var(--tint); border: 1px solid var(--line); border-radius: 12px; transition: border-color .2s, box-shadow .2s, background .2s; -webkit-appearance: none; appearance: none; }
.fld select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2362656d' stroke-width='2.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px; }
.fld textarea { resize: vertical; min-height: 120px; }
.fld input:focus, .fld select:focus, .fld textarea:focus { outline: none; background: #fff; border-color: var(--red); box-shadow: 0 0 0 4px rgba(214,32,39,.12); }
.fld.has-err input, .fld.has-err textarea { border-color: var(--red); }
.fld em { font-style: normal; font-size: 13px; color: var(--red); }
.fld em:empty { display: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__status { margin-top: 14px; font-weight: 500; }
.form__status:empty { display: none; }
.form__status.ok { color: #157f3b; }
.form__status.err { color: var(--red); }

/* ---------- Page head ---------- */
.pagehead { background: var(--ink); color: #fff; padding: 56px 0 48px; text-align: center; position: relative; overflow: hidden; }
.pagehead h1 { font-family: var(--display); font-size: clamp(30px, 4.4vw, 50px); font-weight: 800; letter-spacing: -.01em; }
.pagehead p { color: rgba(255,255,255,.72); max-width: 720px; margin: 12px auto 0; font-size: 17.5px; }
.pagehead .row { margin-top: 24px; }
.pagehead--photo { background: linear-gradient(rgba(5,5,6,.78), rgba(5,5,6,.82)), var(--bg) center / cover; padding: 80px 0 72px; }
.pagehead--photo .eyebrow { justify-content: center; }
.pagehead--brand { background: #fff; color: var(--text); border-bottom: 1px solid var(--line); }
.pagehead--brand p { color: var(--muted); }
.pagehead__logo { max-height: 70px; width: auto; margin: 0 auto 18px; }

/* ---------- Shop ---------- */
.shop { padding-top: 22px; padding-bottom: 72px; }
.shop__bar { display: flex; gap: 10px; position: sticky; top: calc(var(--appbar-h) + env(safe-area-inset-top)); z-index: 20; background: rgba(255,255,255,.94); backdrop-filter: blur(10px); padding: 12px 0; margin: 0 -2px; }
.search { flex: 1; position: relative; display: flex; align-items: center; }
.search .ic { position: absolute; left: 15px; color: var(--muted); }
.search input { width: 100%; min-height: 52px; padding: 0 16px 0 46px; border-radius: 14px; border: 1px solid var(--line); background: var(--tint); font-size: 16px; -webkit-appearance: none; }
.search input:focus { outline: none; border-color: var(--red); background: #fff; box-shadow: 0 0 0 4px rgba(214,32,39,.12); }
.shop__brandbtn { display: none; }
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 6px 2px 12px; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--text); font-weight: 600; font-size: 14.5px; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.chip small { color: var(--muted); font-weight: 600; }
.chip:hover { border-color: var(--ink); color: var(--text); }
.chip.is-on { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip.is-on small { color: rgba(255,255,255,.7); }
.bfilter { display: grid; grid-template-columns: repeat(auto-fill, minmax(116px, 1fr)); gap: 10px; }
.bfilter__btn { height: 60px; border-radius: 12px; border: 1px solid var(--line); background: #fff; display: flex; align-items: center; justify-content: center; padding: 10px 12px; cursor: pointer; transition: border-color .2s, box-shadow .2s; }
.bfilter__btn img { max-height: 30px; width: auto; filter: grayscale(1); opacity: .75; }
.bfilter__btn.is-on { border-color: var(--red); box-shadow: 0 0 0 3px rgba(214,32,39,.15); }
.bfilter__btn.is-on img, .bfilter__btn:hover img { filter: none; opacity: 1; }
.shop__brands { margin: 4px 0 8px; }
.shop__count { color: var(--muted); font-size: 14.5px; margin: 14px 2px; font-weight: 500; }
.empty { text-align: center; padding: 48px 20px; color: var(--muted); display: flex; flex-direction: column; align-items: center; gap: 10px; }
.empty h3 { color: var(--text); font-size: 20px; }
.empty .btn { margin-top: 8px; }

/* ---------- Sheet ---------- */
.sheet { position: fixed; inset: 0; z-index: 80; background: rgba(0,0,0,.5); display: flex; align-items: flex-end; justify-content: center; animation: fade .2s ease; }
.sheet__panel { width: 100%; max-width: 640px; max-height: 86vh; overflow-y: auto; background: #fff; border-radius: 22px 22px 0 0; padding: 10px 18px calc(20px + env(safe-area-inset-bottom)); animation: up .28s var(--ease); display: flex; flex-direction: column; gap: 16px; }
.sheet__panel::before { content: ''; width: 40px; height: 5px; border-radius: 3px; background: var(--line); align-self: center; }
.sheet__head { display: flex; justify-content: space-between; align-items: center; }
.sheet__head h3 { font-size: 19px; }
@keyframes up { from { transform: translateY(100%); } to { transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

/* ---------- Product page ---------- */
.pdp { padding-top: 18px; padding-bottom: 40px; }
.crumbs { display: flex; align-items: center; gap: 6px; font-size: 14px; color: var(--muted); margin-bottom: 18px; flex-wrap: wrap; }
.crumbs a { color: var(--muted); font-weight: 500; }
.crumbs a:hover { color: var(--red); }
.pdp__top { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.gallery { position: sticky; top: calc(var(--appbar-h) + 20px); }
.gallery__track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; border-radius: 20px; border: 1px solid var(--line); background: #fff; scrollbar-width: none; }
.gallery__track::-webkit-scrollbar { display: none; }
.gallery__slide { flex: 0 0 100%; scroll-snap-align: center; margin: 0; aspect-ratio: 1 / 1; display: flex; align-items: center; justify-content: center; padding: 28px; }
.gallery__slide img { max-height: 100%; width: auto; object-fit: contain; }
.gallery__dots { display: none; justify-content: center; gap: 6px; margin-top: 12px; }
.gallery__dots button { width: 7px; height: 7px; border-radius: 50%; border: 0; padding: 0; background: var(--line); }
.gallery__dots button.is-on { background: var(--red); width: 20px; border-radius: 4px; }
.gallery__thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; scrollbar-width: none; }
.gallery__thumbs button { flex: none; width: 72px; height: 72px; border-radius: 12px; border: 1px solid var(--line); background: #fff; padding: 6px; cursor: pointer; }
.gallery__thumbs button.is-on { border-color: var(--red); box-shadow: 0 0 0 2px rgba(214,32,39,.2); }
.gallery__thumbs img { width: 100%; height: 100%; object-fit: contain; }
.gallery--empty { aspect-ratio: 1; border-radius: 20px; border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; padding: 60px; }
.pdp__brand img { max-height: 42px; width: auto; margin-bottom: 16px; }
.pdp__series { font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--red); margin-bottom: 4px; }
.pdp h1 { font-family: var(--display); font-size: clamp(30px, 3.6vw, 44px); font-weight: 800; letter-spacing: -.01em; }
.pdp__cat { margin-top: 8px; }
.pdp__cat a { display: inline-block; padding: 4px 12px; border-radius: 999px; background: var(--tint); color: var(--muted); font-size: 13.5px; font-weight: 600; }
.pdp__summary { font-size: 18px; color: var(--muted); margin-top: 18px; }
.pdp__cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.pdp__cta .btn { flex: 1 1 220px; }
.perks { margin-top: 26px; border-top: 1px solid var(--line); }
.perks li { display: flex; gap: 12px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line-2); font-size: 15px; }
.perks .ic { color: var(--red); }
.notice { margin-top: 16px; padding: 14px 16px; border-radius: 12px; font-size: 15px; }
.notice--warn { background: #fff4e0; color: #6b3d00; border: 1px solid #f1d39f; }
.pdp__details { max-width: 880px; margin-top: 56px; }
.pdp__sec { padding: 30px 0; border-top: 1px solid var(--line); }
.pdp__sec h2 { font-family: var(--display); font-size: 26px; margin-bottom: 16px; }
.pdp__sec > p { font-size: 17px; color: #393b41; }
.ticks { display: grid; gap: 10px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; }
.ticks .ic { color: var(--red); margin-top: 3px; }
.specs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 32px; margin: 0; }
.specs div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line-2); }
.specs dt { color: var(--muted); }
.specs dd { margin: 0; font-weight: 600; text-align: right; }
.pdp__ask .form { margin-top: 18px; box-shadow: none; }
.attrib { margin-top: 10px; font-size: 13px; color: var(--muted); }
.buybar { display: none; }

/* ---------- Quote ---------- */
.quote { display: grid; grid-template-columns: 1.1fr 1fr; gap: 28px; align-items: start; }
.quote__items { padding: 8px 20px; }
.qitem { display: flex; gap: 14px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line-2); }
.qitem:last-child { border-bottom: 0; }
.qitem img { width: 72px; height: 72px; object-fit: contain; border-radius: 12px; border: 1px solid var(--line); background: #fff; padding: 6px; flex: none; }
.qitem__name { flex: 1; min-width: 0; font-weight: 600; color: var(--text); }
.qitem__name:hover { color: var(--red); }
.stepper { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; flex: none; }
.stepper button { width: 40px; height: 40px; border: 0; background: var(--tint); font-size: 20px; font-weight: 700; cursor: pointer; }
.stepper span { min-width: 34px; text-align: center; font-weight: 700; }
.qitem__rm { color: var(--muted); }

/* ---------- Toast ---------- */
.toast { position: fixed; left: 50%; bottom: calc(24px + var(--tabbar-h)); transform: translate(-50%, 20px); z-index: 90; background: var(--ink); color: #fff; padding: 13px 18px; border-radius: 14px; font-weight: 600; box-shadow: 0 12px 32px rgba(0,0,0,.3); opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s var(--ease); max-width: calc(100vw - 32px); display: flex; gap: 12px; align-items: center; }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.toast a { color: #fff; text-decoration: underline; white-space: nowrap; }

/* ---------- Footer ---------- */
.footer { background: #050506; color: rgba(255,255,255,.65); font-size: 15px; }
.footer__grid { display: grid; grid-template-columns: 1.8fr 1fr 1fr 1fr 1.3fr; gap: 40px; padding-top: 60px; padding-bottom: 40px; }
.footer__brand img { width: 230px; margin-bottom: 16px; }
.footer__brand p { max-width: 360px; }
.footer h4 { color: #fff; font-size: 12.5px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 14px; }
.footer__grid > div:not(.footer__brand) { display: flex; flex-direction: column; gap: 9px; }
.footer__note { color: rgba(255,255,255,.55); font-size: 13px; margin-top: -4px; }
.footer a { color: rgba(255,255,255,.75); }
.footer a:hover { color: #fff; }
.footer__legal { display: flex; justify-content: space-between; gap: 12px; padding-top: 18px; padding-bottom: 22px; border-top: 1px solid rgba(255,255,255,.08); font-size: 13.5px; color: rgba(255,255,255,.45); }
.footer__credit { color: rgba(255,255,255,.7); text-decoration: underline; text-underline-offset: 3px; }
.footer__credit:hover { color: #fff; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .55s ease, transform .55s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* =================== Tablet =================== */
@media (max-width: 1100px) {
  .appbar__brand img { width: 190px; }
  .appbar__nav a { padding: 10px 10px; font-size: 13.5px; }
  .appbar__call span { display: none; }
  .appbar__call { padding: 0 12px; }
  .brandgrid { grid-template-columns: repeat(4, 1fr); }
}

/* =================== Phone: app mode =================== */
@media (max-width: 860px) {
  :root { --appbar-h: 58px; --tabbar-h: calc(64px + env(safe-area-inset-bottom)); }
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .wrap--rail { padding-right: 0; }
  .rail { padding-right: 16px; grid-auto-columns: 46vw; gap: 12px; }
  .rail--cats { grid-auto-columns: 40vw; }

  .appbar__nav, .appbar__call { display: none; }
  .appbar__in { gap: 6px; }
  .appbar__brand img { width: 168px; }
  .appbar__actions { margin-left: auto; }
  .appbar__back { display: inline-flex; align-items: center; gap: 2px; color: #fff; font-weight: 600; font-size: 16px; margin-left: -6px; padding: 8px 6px 8px 0; }
  .appbar__brand.has-back { display: none; }

  .tabbar { display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; height: var(--tabbar-h); padding-bottom: env(safe-area-inset-bottom); background: rgba(255,255,255,.96); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); border-top: 1px solid var(--line); }
  .tabbar a { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; color: #7a7d85; font-size: 11px; font-weight: 600; letter-spacing: .02em; }
  .tabbar a.is-on { color: var(--red); }
  .tabbar a:active .ic { transform: scale(.88); }
  .tabbar .ic { transition: transform .15s; }
  .tabbar .qbadge { top: 6px; right: calc(50% - 22px); }
  .tabbar__call { color: var(--text) !important; }
  .tabbar__call .ic { background: var(--red); color: #fff; width: 34px; height: 34px; padding: 7px; border-radius: 50%; margin-top: -4px; box-shadow: 0 6px 14px rgba(214,32,39,.35); }

  .hero { min-height: 0; margin: 12px 12px 0; border-radius: 22px; }
  .hero__in { padding-top: 44px; padding-bottom: 92px; }
  .hero__shade { background: linear-gradient(180deg, rgba(5,5,6,.45), rgba(5,5,6,.9)); }
  .hero__lines { min-height: 4.4em; font-size: clamp(28px, 8vw, 40px); }
  .hero__cta .btn { flex: 1 1 140px; }
  .hero__dots { margin-top: 24px; }
  .quick { grid-template-columns: 1fr 1fr; gap: 10px; margin-top: -64px; padding: 0 24px; }
  .quick__tile { padding: 16px; border-radius: 16px; }
  .quick__tile .ic { margin-bottom: 4px; }
  .stats { margin: 22px 12px 0; border-radius: 20px; }
  .stats__in { grid-template-columns: 1fr 1fr; }
  .stats__in > div { padding: 18px; border: 0; }
  .stats__in > div:first-child { padding-left: 18px; }
  .stats__in > div:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.1); }
  .stats__in > div:nth-child(even) { border-left: 1px solid rgba(255,255,255,.1); }
  .stats b { font-size: 28px; }

  .sec { padding: 48px 0; }
  .sec--tight { padding: 24px 0 48px; }
  .shead { margin-bottom: 18px; align-items: center; }
  .shead h2 { font-size: 22px; }
  .shead .eyebrow { margin-bottom: 6px; }
  .split, .split--form { grid-template-columns: 1fr; gap: 28px; }
  .svc { grid-template-columns: 1fr; gap: 10px; }
  .svc__item { padding: 16px; }
  .brandgrid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .brandgrid a { height: 110px; }
  .band__in { flex-direction: column; align-items: stretch; text-align: left; padding-top: 40px; padding-bottom: 40px; }

  .form { padding: 20px 16px; }
  .form__grid { grid-template-columns: 1fr; }
  .pagehead { padding: 30px 0 28px; }
  .pagehead p { font-size: 16px; }
  .pagehead--photo { padding: 48px 0 40px; }

  .shop { padding-top: 8px; }
  .shop__bar { top: calc(var(--appbar-h) + env(safe-area-inset-top)); padding: 10px 0; }
  .shop__brandbtn { display: inline-flex; }
  .shop__brands { display: none; }
  .pgrid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .pcard__img { padding: 12px; }
  .pcard__body { padding: 10px 12px 12px; }
  .pcard__name { font-size: 14.5px; }

  .pdp { padding-top: 0; }
  .crumbs { display: none; }
  .pdp__top { grid-template-columns: 1fr; gap: 20px; }
  .gallery { position: static; margin: 0 -16px; }
  .gallery__track { border-radius: 0; border-left: 0; border-right: 0; }
  .gallery__slide { padding: 20px; }
  .gallery__dots { display: flex; }
  .gallery__thumbs { display: none; }
  .pdp__cta { display: none; }
  .pdp__details { margin-top: 20px; }
  .pdp__sec { padding: 24px 0; }
  .specs { grid-template-columns: 1fr; }
  .buybar { display: block; position: fixed; left: 0; right: 0; bottom: var(--tabbar-h); z-index: 55; padding: 10px 16px; background: rgba(255,255,255,.96); backdrop-filter: blur(12px); border-top: 1px solid var(--line); transform: translateY(110%); transition: transform .3s var(--ease); }
  .buybar.is-on { transform: none; }
  .buybar__in { display: flex; align-items: center; gap: 12px; }
  .buybar__txt { flex: 1; min-width: 0; line-height: 1.2; }
  .buybar__txt small { color: var(--muted); font-size: 12px; }
  .buybar__txt strong { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .is-pdp .toast { bottom: calc(var(--tabbar-h) + 78px); }

  .quote { grid-template-columns: 1fr; gap: 16px; }
  .footer { padding-bottom: 8px; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 28px; padding-top: 40px; }
  .footer__brand { grid-column: 1 / -1; }
  .footer__legal { flex-direction: column; gap: 4px; }
}

@media (display-mode: standalone) and (max-width: 860px) {
  .appbar { padding-top: max(env(safe-area-inset-top), 8px); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  @view-transition { navigation: none; }
}
