/* Mega Vending — site styles */
@font-face { font-family: "Bricolage"; src: url("../fonts/bricolage.woff2") format("woff2"); font-weight: 600 800; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("../fonts/dmsans.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }

:root {
  --ink: #1c1814;
  --ink-2: #3b342d;
  --muted: #6f665c;
  --paper: #fffaf2;
  --tint: #fff2d9;
  --card: #fff;
  --line: #efe4d1;
  --gold: #ffb81c;
  --gold-2: #f29d0a;
  --gold-soft: #ffe7ad;
  --red: #e30613;
  --red-2: #bd0510;
  --wa: #1ea952;
  --wa-2: #178a42;
  --radius: 22px;
  --radius-s: 14px;
  --shadow: 0 1px 2px rgba(60, 40, 10, .06), 0 8px 24px -12px rgba(60, 40, 10, .18);
  --shadow-lg: 0 2px 6px rgba(60, 40, 10, .06), 0 24px 48px -20px rgba(60, 40, 10, .3);
  --display: "Bricolage", "DM Sans", system-ui, sans-serif;
  --body: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font: 400 16px/1.6 var(--body); color: var(--ink); background: var(--paper); overflow-x: hidden; }
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); line-height: 1.08; letter-spacing: -.02em; margin: 0 0 .5em; font-weight: 800; text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: 1.15rem; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--gold-2); outline-offset: 2px; border-radius: 6px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
.muted { color: var(--muted); }
.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 780px; }
svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: .8em 1.3em; border-radius: 999px; border: 2px solid transparent;
  font-weight: 700; text-decoration: none; cursor: pointer; line-height: 1.2; transition: transform .15s, background-color .15s, box-shadow .15s; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn .i { width: 1.2em; height: 1.2em; flex: none; }
.btn-lg { padding: 1em 1.6em; font-size: 1.05rem; }
.btn-small { padding: .5em 1em; font-size: .9rem; }
.btn-block { width: 100%; }
.btn-grow { flex: 1; }
.btn-red { background: var(--red); color: #fff; box-shadow: 0 6px 0 -1px var(--red-2); }
.btn-red:hover { background: #f00a18; }
.btn-red:active { box-shadow: 0 3px 0 -1px var(--red-2); transform: translateY(3px); }
.btn-gold { background: var(--gold); color: var(--ink); box-shadow: 0 6px 0 -1px var(--gold-2); }
.btn-gold:hover { background: #ffc23d; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--ink-2); }
.btn-ghost { background: #fff; border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-outline-light { border-color: rgba(255, 255, 255, .5); color: #fff; }
.btn-outline-light:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: var(--wa-2); }
.btn[disabled] { opacity: .5; cursor: not-allowed; box-shadow: none; }
.link-arrow { font-weight: 700; text-decoration: none; display: inline-flex; gap: .4em; align-items: center; white-space: nowrap; }
.link-arrow::after { content: "→"; transition: transform .15s; }
.link-arrow:hover::after { transform: translateX(4px); }

/* ---------- Header ---------- */
.announce { background: var(--ink); color: #f5e9d6; font-size: .85rem; }
.announce .wrap { display: flex; justify-content: space-between; gap: 16px; padding-top: 7px; padding-bottom: 7px; }
.announce span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.announce-phone { color: var(--gold); font-weight: 700; text-decoration: none; white-space: nowrap; }
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(255, 250, 242, .92); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; gap: 20px; min-height: 76px; }
.logo { flex: none; display: block; }
.logo img { height: 60px; width: auto; }
.nav { flex: 1; min-width: 0; }
.nav > ul { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav li { position: relative; }
.nav > ul > li > a { display: block; padding: 10px 12px; border-radius: 10px; font-weight: 700; font-size: .95rem; text-decoration: none; white-space: nowrap; }
.nav > ul > li > a:hover, .nav > ul > li.is-active > a { background: var(--tint); }
.nav .sub-toggle { display: none; }
.nav .sub { list-style: none; margin: 0; padding: 8px; position: absolute; top: 100%; left: 0; min-width: 230px; background: #fff; border: 1px solid var(--line);
  border-radius: 16px; box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(6px); transition: .15s; }
.nav .has-sub:hover .sub, .nav .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: none; }
.nav .sub a { display: block; padding: 8px 12px; border-radius: 10px; text-decoration: none; font-weight: 500; }
.nav .sub a:hover { background: var(--tint); }
.nav .sub-all a { font-weight: 700; color: var(--red); }
.header-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.search { display: flex; align-items: center; background: #fff; border: 1.5px solid var(--line); border-radius: 999px; padding: 0 4px 0 14px; transition: border-color .15s; }
.search:focus-within { border-color: var(--ink); }
.search input { border: 0; outline: 0; background: none; width: 170px; padding: 9px 0; min-width: 0; }
.search button { border: 0; background: none; width: 36px; height: 36px; display: grid; place-items: center; cursor: pointer; border-radius: 50%; }
.search svg { width: 19px; height: 19px; }
.search-big { max-width: 480px; margin: 20px auto; padding: 4px 4px 4px 18px; }
.search-big input { width: 100%; flex: 1; }
.order-btn { position: relative; display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px 9px 12px; border-radius: 999px; background: var(--ink); color: #fff; text-decoration: none; font-weight: 700; }
.order-btn svg { width: 21px; height: 21px; }
.order-count { position: absolute; top: -6px; right: -6px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: var(--red); color: #fff;
  font-size: .75rem; display: grid; place-items: center; border: 2px solid var(--paper); }
.order-count.bump { animation: bump .4s; }
@keyframes bump { 40% { transform: scale(1.35); } }
.icon-btn { border: 0; background: none; width: 44px; height: 44px; display: grid; place-items: center; cursor: pointer; border-radius: 12px; }
.icon-btn svg { width: 24px; height: 24px; }
.menu-btn { display: none; }

@media (max-width: 1140px) {
  .menu-btn { display: grid; margin-left: -8px; }
  .header-row { gap: 10px; min-height: 66px; }
  .logo img { height: 50px; }
  .nav { position: fixed; inset: 0 auto 0 0; width: min(340px, 88vw); background: var(--paper); z-index: 60; padding: 18px 14px 30px; overflow-y: auto;
    transform: translateX(-105%); transition: transform .25s; box-shadow: var(--shadow-lg); }
  .nav.is-open { transform: none; }
  .nav > ul { flex-direction: column; }
  .nav > ul > li { display: flex; flex-wrap: wrap; align-items: center; border-bottom: 1px solid var(--line); }
  .nav > ul > li > a { flex: 1; padding: 14px 10px; font-size: 1.05rem; }
  .nav .sub-toggle { display: grid; place-items: center; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; }
  .nav .sub-toggle svg { width: 20px; height: 20px; transition: transform .2s; }
  .nav .sub-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
  .nav .sub { position: static; width: 100%; box-shadow: none; border: 0; background: none; opacity: 1; visibility: visible; transform: none; display: none; padding: 0 0 10px 10px; }
  .nav .sub.is-open { display: block; }
  .nav-backdrop { position: fixed; inset: 0; background: rgba(28, 24, 20, .45); z-index: 55; }
  .search input { width: 120px; }
}
@media (max-width: 640px) {
  .announce span { display: none; }
  .announce .wrap { justify-content: center; }
  .search { display: none; }
  .order-label { display: none; }
  .order-btn { padding: 10px; }
}

/* ---------- Sections ---------- */
.section { padding: clamp(48px, 7vw, 88px) 0; }
.section-tight { padding-top: 28px; }
.section-tint { background: var(--tint); }
.section-dark { background: var(--ink); color: #f6ede0; }
.section-dark h2 { color: #fff; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 28px; flex-wrap: wrap; }
.section-head h2 { margin: 0; }
.kicker { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-2); margin: 0 0 10px; text-decoration: none; }
.kicker-red { color: var(--red); }
.kicker-gold { color: var(--gold); }
.lead { font-size: 1.15rem; color: var(--ink-2); max-width: 60ch; }
.section-dark .lead, .section-dark p { color: #d9cdbb; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(32px, 6vw, 72px) 0 clamp(56px, 7vw, 96px);
  background: radial-gradient(1200px 500px at 85% 10%, #ffe3a1 0%, rgba(255, 227, 161, 0) 60%), var(--paper); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: .9rem; background: #fff; border: 1px solid var(--line);
  padding: 6px 14px 6px 8px; border-radius: 999px; box-shadow: var(--shadow); }
.coin { width: 20px; height: 20px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #ffe08a, var(--gold) 45%, var(--gold-2)); box-shadow: inset 0 0 0 2px rgba(180, 100, 0, .35); }
.hero h1 { margin-top: 22px; font-size: clamp(2.4rem, 5.4vw, 4.3rem); }
.hero .lead { font-size: clamp(1.05rem, 1.4vw, 1.22rem); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.hero .cta-row { margin: 28px 0 34px; }
.hero-facts { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 32px; }
.hero-facts li { display: flex; flex-direction: column; }
.hero-facts strong { font-family: var(--display); font-size: 1.5rem; line-height: 1.1; }
.hero-facts span { color: var(--muted); font-size: .92rem; }

.hero-stage { position: relative; aspect-ratio: 1 / .92; min-height: 340px; }
.stage-sun { position: absolute; inset: 6% 4% 2% 4%; border-radius: 50%;
  background: repeating-conic-gradient(from 0deg, rgba(255, 184, 28, .95) 0 10deg, rgba(255, 200, 70, .95) 10deg 20deg); }
.stage-sun::after { content: ""; position: absolute; inset: 22%; border-radius: 50%; background: var(--paper); box-shadow: 0 0 0 14px rgba(255, 255, 255, .5); }
.stage-item { position: absolute; display: block; background: #fff; border-radius: 26px; box-shadow: var(--shadow-lg); padding: 10px; text-decoration: none; transition: transform .25s; }
.stage-item img { border-radius: 18px; width: 100%; aspect-ratio: 1; object-fit: contain; }
.stage-tag { position: absolute; left: 50%; bottom: -14px; transform: translateX(-50%); background: var(--ink); color: #fff; font-weight: 700; font-size: .82rem;
  padding: 6px 14px; border-radius: 999px; white-space: nowrap; max-width: 92%; overflow: hidden; text-overflow: ellipsis; }
.stage-1 { width: 40%; left: 0; top: 30%; transform: rotate(-7deg); z-index: 1; }
.stage-2 { width: 50%; left: 25%; top: 4%; z-index: 2; }
.stage-3 { width: 38%; right: 0; top: 40%; transform: rotate(6deg); z-index: 3; }
.stage-item:hover { transform: translateY(-6px) rotate(0); }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-stage { max-width: 520px; width: 100%; margin: 10px auto 0; }
}

/* ---------- Category tiles ---------- */
.cat-grid { display: grid; gap: 16px; }
.cat-grid-machines { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.cat-tile { position: relative; display: flex; flex-direction: column; justify-content: space-between; min-height: 300px; border-radius: var(--radius);
  padding: 22px 22px 0; text-decoration: none; overflow: hidden; transition: transform .2s, box-shadow .2s; }
.cat-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.cat-tile img { mix-blend-mode: multiply; width: 82%; margin: 14px auto 0; aspect-ratio: 1; object-fit: contain; transition: transform .3s; }
.cat-tile:hover img { transform: scale(1.05) rotate(-2deg); }
.cat-text strong { display: block; font-family: var(--display); font-size: 1.45rem; line-height: 1.1; }
.cat-text span { font-size: .92rem; color: var(--ink-2); }
.tone-0 { background: #ffe3a3; }
.tone-1 { background: #ffd4cf; }
.tone-2 { background: #cfeedd; }
.tone-3 { background: #d4e6ff; }
.tone-4 { background: #e8dcff; }
.cat-grid-small { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 760px) { .cat-grid-small { grid-template-columns: repeat(2, 1fr); gap: 12px; } }
.mini-cat { display: grid; grid-template-columns: 96px 1fr; gap: 4px 14px; align-items: center; text-align: left !important; }
.mini-cat img { grid-row: span 2; margin: 0 !important; }
.mini-cat strong { align-self: end; }
.mini-cat span { align-self: start; }
@media (max-width: 560px) { .mini-cat { grid-template-columns: 1fr; text-align: center !important; } .mini-cat img { grid-row: auto; } }
.mini-cat { background: #fff; border-radius: var(--radius-s); padding: 14px 14px 16px; text-decoration: none; text-align: center; border: 1px solid var(--line); transition: transform .2s, box-shadow .2s; }
.mini-cat:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.mini-cat img { aspect-ratio: 1; object-fit: contain; width: 100%; margin-bottom: 10px; }
.mini-cat strong { display: block; font-family: var(--display); font-size: 1.05rem; line-height: 1.15; }
.mini-cat span { font-size: .85rem; color: var(--muted); }

/* ---------- Product cards ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 18px; }
@media (max-width: 560px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } }
.card { background: var(--card); border-radius: var(--radius); border: 1px solid var(--line); overflow: hidden; display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card-img { position: relative; display: block; aspect-ratio: 1; background: #fff; }
.card-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 8%; transition: opacity .25s, transform .3s; }
.card-img img.alt { opacity: 0; }
.card:hover .card-img img.alt { opacity: 1; }
.card:hover .card-img img:not(.alt) { transform: scale(1.04); }
.card.is-out .card-img img { opacity: .55; }
.badges { position: absolute; top: 12px; left: 12px; display: flex; flex-wrap: wrap; gap: 6px; z-index: 2; }
.badge { font-size: .75rem; font-weight: 700; padding: 4px 9px; border-radius: 999px; background: #fff; border: 1px solid var(--line); line-height: 1.2; }
.badge-sale { background: var(--red); color: #fff; border-color: var(--red); }
.badge-cond { background: var(--ink); color: #fff; border-color: var(--ink); }
.badge-designs { background: var(--gold); border-color: var(--gold); }
.badge-out { background: #eee; color: #555; }
.card-body { padding: 14px 16px 18px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card-title { font-family: var(--body); font-size: 1rem; font-weight: 700; letter-spacing: 0; line-height: 1.3; margin: 0; }
.card-title a { text-decoration: none; }
.card-title a::after { content: ""; position: absolute; inset: 0; }
.card { position: relative; }
.price { margin: auto 0 0; display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap; }
.price strong { font-family: var(--display); font-size: 1.25rem; }
.price s, .pdp-price s { color: var(--muted); }

/* ---------- Ways / partnership ---------- */
.ways { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.way { border-radius: 28px; padding: clamp(26px, 4vw, 44px); position: relative; overflow: hidden; }
.way h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
.way-buy { background: #fff; border: 1px solid var(--line); }
.way-share { background: var(--ink); color: #f1e6d4; }
.way-share h2 { color: #fff; }
.way-share::before { content: ""; position: absolute; width: 260px; height: 260px; right: -80px; top: -80px; border-radius: 50%;
  background: repeating-conic-gradient(rgba(255, 184, 28, .9) 0 10deg, rgba(255, 184, 28, .55) 10deg 20deg); opacity: .25; }
.ticks { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 8px; }
.ticks li { padding-left: 30px; position: relative; font-weight: 500; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--gold); }
.ticks li::after { content: ""; position: absolute; left: 6px; top: 8px; width: 8px; height: 5px; border: solid var(--ink); border-width: 0 0 2px 2px; transform: rotate(-45deg); }
@media (max-width: 820px) { .ways { grid-template-columns: 1fr; } }

/* ---------- Why / videos / CTA band ---------- */
.why { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.why-item h3 { margin: 14px 0 6px; }
.why-item p { color: var(--muted); margin: 0; }
.why-icon { width: 54px; height: 54px; border-radius: 16px; background: var(--gold-soft); display: grid; place-items: center; }
.why-icon svg { width: 28px; height: 28px; stroke: var(--ink); }
@media (max-width: 900px) { .why { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .why { grid-template-columns: 1fr; } }
.videos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.videos video { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: #000; border-radius: var(--radius); }
@media (max-width: 720px) { .videos { grid-template-columns: repeat(3, 72%); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
  .videos video { scroll-snap-align: start; } }
.cta-band { background: var(--red); color: #fff; padding: clamp(40px, 6vw, 64px) 0; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; width: 520px; height: 520px; left: -160px; bottom: -340px; border-radius: 50%;
  background: repeating-conic-gradient(rgba(255, 255, 255, .12) 0 10deg, transparent 10deg 20deg); }
.cta-band-inner { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin-bottom: .3em; }
.cta-band p { margin: 0; color: #ffe1de; max-width: 52ch; }

/* ---------- Page heads, chips, toolbar ---------- */
.page-head { padding: 28px 0 8px; }
.page-head-big { padding-bottom: 20px; }
.page-head-big h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: .88rem; color: var(--muted); margin-bottom: 16px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.crumbs > * + *::before { content: "/"; margin-right: 6px; color: #c9bba5; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.chip { padding: 8px 14px; border-radius: 999px; background: #fff; border: 1.5px solid var(--line); text-decoration: none; font-weight: 700; font-size: .92rem; }
.chip span { color: var(--muted); font-weight: 500; margin-left: 2px; }
.chip:hover { border-color: var(--ink); }
.chip.is-on { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip.is-on span { color: #cbbfae; }
.chip-red { color: var(--red); }
.chip-red.is-on { background: var(--red); border-color: var(--red); color: #fff; }
.toolbar { display: flex; align-items: center; gap: 18px; margin-bottom: 20px; flex-wrap: wrap; }
.toolbar .count { margin: 0 auto 0 0; color: var(--muted); font-weight: 500; }
.check { display: inline-flex; gap: 8px; align-items: center; cursor: pointer; font-weight: 500; }
.check input { width: 18px; height: 18px; accent-color: var(--red); }
.select select { appearance: none; border: 1.5px solid var(--line); background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%231c1814' stroke-width='2' fill='none'/%3E%3C/svg%3E") no-repeat right 14px center;
  padding: 9px 38px 9px 14px; border-radius: 999px; font-weight: 600; cursor: pointer; }
.pager { display: flex; gap: 6px; justify-content: center; margin-top: 36px; flex-wrap: wrap; }
.pager a, .pager span { min-width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; text-decoration: none; font-weight: 700; background: #fff; border: 1px solid var(--line); }
.pager span { background: var(--ink); color: #fff; border-color: var(--ink); }
.empty { text-align: center; padding: 48px 20px; background: #fff; border-radius: var(--radius); border: 1px dashed #e2d3b9; }
.empty p { color: var(--muted); max-width: 46ch; margin-left: auto; margin-right: auto; }

/* ---------- Product page ---------- */
.pdp { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.gallery { position: sticky; top: 96px; }
.gallery-main { position: relative; background: #fff; border-radius: 28px; border: 1px solid var(--line); aspect-ratio: 1; overflow: hidden; }
.gallery-main img { width: 100%; height: 100%; object-fit: contain; padding: 6%; }
.thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; padding-bottom: 4px; }
.thumb { flex: none; width: 80px; height: 80px; border-radius: 14px; border: 2px solid var(--line); background: #fff; padding: 4px; cursor: pointer; }
.thumb img { width: 100%; height: 100%; object-fit: contain; }
.thumb.is-on { border-color: var(--ink); }
.pdp-info h1 { font-size: clamp(1.9rem, 3.4vw, 2.8rem); margin-bottom: 14px; }
.pdp-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px; margin-bottom: 8px; }
.pdp-price strong { font-family: var(--display); font-size: 2.1rem; }
.pdp-price s { font-size: 1.2rem; }
.save { background: #ffe1de; color: var(--red-2); font-weight: 700; font-size: .85rem; padding: 3px 10px; border-radius: 999px; }
.stock { display: flex; align-items: center; gap: 8px; font-weight: 600; margin-bottom: 18px; }
.stock span { width: 10px; height: 10px; border-radius: 50%; background: var(--wa); box-shadow: 0 0 0 4px rgba(30, 169, 82, .18); }
.stock.out span { background: #aaa; box-shadow: 0 0 0 4px #eee; }
.summary { color: var(--ink-2); margin-bottom: 20px; }
.buy { display: grid; gap: 12px; padding: 20px; background: #fff; border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow); }
.buy-row { display: flex; gap: 12px; }
.qty { display: flex; align-items: center; border: 1.5px solid var(--line); border-radius: 999px; background: var(--paper); flex: none; }
.qty button { width: 44px; height: 52px; border: 0; background: none; font-size: 1.3rem; cursor: pointer; border-radius: 999px; }
.qty input { width: 46px; border: 0; background: none; text-align: center; font-weight: 700; -moz-appearance: textfield; appearance: textfield; }
.qty input::-webkit-inner-spin-button, .qty input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.designs { border: 0; padding: 0; margin: 0 0 6px; }
.designs legend { font-weight: 700; margin-bottom: 10px; padding: 0; }
.designs legend span { color: var(--red); }
.design-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(64px, 1fr)); gap: 8px; max-height: 300px; overflow-y: auto; padding: 2px; }
.design { position: relative; cursor: pointer; border: 2px solid var(--line); border-radius: 12px; background: #fff; padding: 3px; text-align: center; }
.design input { position: absolute; opacity: 0; }
.design img { aspect-ratio: 1; object-fit: contain; width: 100%; }
.design span { font-size: .72rem; font-weight: 700; color: var(--muted); }
.design:has(input:checked) { border-color: var(--red); box-shadow: 0 0 0 2px var(--red); }
.design:has(input:focus-visible) { outline: 3px solid var(--gold-2); outline-offset: 2px; }
.assure { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; }
.assure li { padding-left: 28px; position: relative; color: var(--ink-2); }
.assure li::before { content: ""; position: absolute; left: 0; top: 6px; width: 14px; height: 14px; border-radius: 50%; background: var(--gold); box-shadow: inset 0 0 0 3px #fff, 0 0 0 1px var(--gold-2); }
.pdp-details { margin-top: clamp(40px, 6vw, 64px); max-width: 860px; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin: .25em 0; }
.prose h2 { margin-top: 1.4em; font-size: 1.5rem; }
.prose h3 { margin-top: 1.2em; }
.prose li::marker { color: var(--gold-2); }
.specs { border-collapse: collapse; width: 100%; margin: 0 0 1em; background: #fff; border-radius: var(--radius-s); overflow: hidden; border: 1px solid var(--line); }
.specs th, .specs td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.specs th { width: 40%; background: var(--tint); font-weight: 700; }
@media (max-width: 860px) { .pdp { grid-template-columns: 1fr; } .gallery { position: static; } }
@media (max-width: 420px) { .buy-row { flex-direction: column; } .qty { align-self: flex-start; } }

/* ---------- Order ---------- */
.order-layout { display: grid; grid-template-columns: 1.4fr 1fr; gap: 28px; align-items: start; }
@media (max-width: 900px) { .order-layout { grid-template-columns: 1fr; } }
.line { display: grid; grid-template-columns: 84px 1fr auto; gap: 16px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-s); padding: 12px; margin-bottom: 10px; }
.line img { width: 84px; height: 84px; object-fit: contain; border-radius: 10px; background: #fff; }
.line h3 { font-family: var(--body); font-size: 1rem; margin: 0 0 2px; letter-spacing: 0; }
.line h3 a { text-decoration: none; }
.line .meta { color: var(--muted); font-size: .9rem; margin: 0 0 8px; }
.line .controls { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.line .qty button { width: 36px; height: 38px; }
.line .qty input { width: 40px; }
.line .remove { border: 0; background: none; color: var(--muted); text-decoration: underline; cursor: pointer; font-size: .9rem; padding: 4px; }
.line .sum { font-family: var(--display); font-weight: 800; font-size: 1.1rem; text-align: right; align-self: start; white-space: nowrap; }
@media (max-width: 520px) { .line { grid-template-columns: 64px 1fr; } .line img { width: 64px; height: 64px; } .line .sum { grid-column: 2; text-align: left; } }
.order-form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 3vw, 28px); box-shadow: var(--shadow); position: sticky; top: 96px; }
.order-form h2 { font-size: 1.5rem; }
.order-total { display: flex; justify-content: space-between; align-items: baseline; padding: 14px 16px; background: var(--tint); border-radius: var(--radius-s); margin-bottom: 18px; }
.order-total strong { font-family: var(--display); font-size: 1.6rem; }
.field { display: block; margin-bottom: 14px; }
.field > span { display: block; font-weight: 700; font-size: .92rem; margin-bottom: 6px; }
.field small { color: var(--muted); font-weight: 500; }
.field input, .field textarea { width: 100%; border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 14px; background: var(--paper); }
.field input:focus, .field textarea:focus { outline: 0; border-color: var(--ink); background: #fff; }
.err { display: block; color: var(--red-2); font-style: normal; font-size: .88rem; margin-top: 5px; font-weight: 600; }
.alert { background: #ffe1de; color: var(--red-2); padding: 10px 14px; border-radius: 12px; font-weight: 600; }
.fine { font-size: .88rem; color: var(--muted); margin: 12px 0 0; }
.note { background: var(--gold-soft); padding: 12px 16px; border-radius: 12px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.sent { text-align: center; }
.sent .lead { margin: 0 auto 24px; }
.sent .fine { margin-bottom: 26px; }
.sent-badge { width: 76px; height: 76px; border-radius: 50%; background: var(--wa); display: grid; place-items: center; margin: 0 auto 20px; }
.sent-badge svg { width: 40px; height: 40px; stroke: #fff; stroke-width: 3; }
.order-preview { text-align: left; white-space: pre-wrap; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-s); padding: 18px; font: .9rem/1.6 var(--body); margin: 0 0 24px; }

/* ---------- About / contact ---------- */
.about-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: start; }
.about-points { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.about-points li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; }
.about-points strong { display: block; font-family: var(--display); font-size: 1.4rem; }
.about-points span { color: var(--muted); }
.partner { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.partner > div:first-child { max-width: 620px; }
.visit { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; background: var(--gold-soft); border-radius: 28px; padding: clamp(24px, 4vw, 40px); }
.visit h2 { margin-bottom: .3em; }
.visit p { margin: 0; }
@media (max-width: 820px) { .about-grid { grid-template-columns: 1fr; } }
.contact-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 28px; align-items: start; }
.contact-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; text-decoration: none; display: flex; flex-direction: column; gap: 2px; transition: transform .2s, box-shadow .2s; }
.contact-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.contact-card strong { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--gold-2); }
.contact-card span { font-family: var(--display); font-size: 1.25rem; font-weight: 800; line-height: 1.2; overflow-wrap: anywhere; }
.contact-card em { font-style: normal; color: var(--muted); font-size: .9rem; }
.cc-wa { background: var(--wa); border-color: var(--wa); color: #fff; }
.cc-wa strong, .cc-wa em { color: #d7f5e2; }
.cc-wide { grid-column: 1 / -1; }
.sent-box { position: static; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .contact-cards { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #d9ccb8; padding: 56px 0 0; font-size: .95rem; }
.site-footer h2 { font-family: var(--body); font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 36px; }
.footer-brand img { width: 64px; height: auto; margin-bottom: 14px; background: #fff; border-radius: 14px; padding: 8px; }
.footer-brand p { max-width: 34ch; }
.socials { display: flex; gap: 10px; flex-wrap: wrap; }
.socials a { border: 1px solid rgba(255, 255, 255, .2); padding: 6px 12px; border-radius: 999px; font-weight: 600; }
.footer-contact a { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 40px; padding-top: 18px; padding-bottom: 90px; font-size: .85rem; color: #9d9282; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Floating WhatsApp + toast ---------- */
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 50; display: inline-flex; align-items: center; gap: 8px; background: var(--wa); color: #fff;
  text-decoration: none; font-weight: 700; padding: 12px 18px 12px 14px; border-radius: 999px; box-shadow: 0 10px 30px -8px rgba(23, 138, 66, .6); transition: transform .2s; }
.wa-float:hover { transform: translateY(-3px); }
.wa-float svg { width: 26px; height: 26px; fill: #fff; stroke: none; }
@media (max-width: 640px) { .wa-float span { display: none; } .wa-float { padding: 14px; } }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 70; background: var(--ink); color: #fff; padding: 12px 14px 12px 18px; border-radius: 999px;
  box-shadow: var(--shadow-lg); display: flex; gap: 14px; align-items: center; max-width: calc(100vw - 32px); animation: toast-in .25s; }
.toast a { color: var(--gold); font-weight: 700; white-space: nowrap; }
@keyframes toast-in { from { opacity: 0; transform: translate(-50%, 10px); } }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }

/* ---------- Small-screen fixes ---------- */
.hero-grid > *, .pdp > *, .order-layout > *, .contact-grid > * { min-width: 0; }
.eyebrow { max-width: 100%; }
@media (max-width: 560px) {
  .eyebrow { font-size: .8rem; }
  .hero h1 { font-size: 2.35rem; }
  .hero .cta-row .btn { width: 100%; }
  .hero-facts { gap: 10px 22px; }
  .hero-facts strong { font-size: 1.25rem; }
  .cat-grid-machines { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .cat-tile { min-height: 0; padding: 14px 14px 0; border-radius: 18px; }
  .cat-text strong { font-size: 1.1rem; }
  .cat-text span { font-size: .82rem; }
  .cat-tile img { width: 100%; }
  .stage-tag { font-size: .7rem; padding: 4px 10px; }
  .section-head { margin-bottom: 18px; }
  .card-body { padding: 10px 12px 14px; }
  .card-title { font-size: .92rem; }
  .price strong { font-size: 1.05rem; }
}
@media (max-width: 1140px) {
  .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--paper); }
}
.nav-search { display: none; }
@media (max-width: 1140px) {
  .nav .nav-search { display: flex !important; margin-bottom: 10px; }
  .nav .nav-search input { width: 100%; flex: 1; }
}
@media (max-width: 900px) { .order-form { position: static; } }
