/* =========================================================
   Gu18k — loja
   Preto, branco e ouro. Bodoni Moda (títulos) + Montserrat (interface)
   ========================================================= */
:root {
  --black: #0b0b0b;
  --ink: #141414;
  --text: #1c1c1c;
  --muted: #6d6a64;
  --line: #e7e2d8;
  --soft: #f6f2ea;
  --white: #fff;
  --gold: #c9a24a;
  --gold-deep: #8f6b1f;
  --gold-text: #8a6a22;
  --gold-grad: linear-gradient(135deg, #7d5d17 0%, #c9a24a 30%, #f1d98c 50%, #c9a24a 70%, #8f6b1f 100%);
  --danger: #b42318;
  --success: #1f7a3d;
  --radius: 6px;
  --shadow: 0 10px 30px rgba(0,0,0,.08);
  --serif: var(--sans); /* títulos usam a mesma fonte do menu */
  --sans: 'Montserrat', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --header-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
html, body { max-width: 100%; overflow-x: clip; }
body { margin: 0; font-family: var(--sans); font-size: 15px; line-height: 1.55; color: var(--text); background: var(--white); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--sans); font-weight: 700; line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.015em; }
h1 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
h2 { font-size: clamp(1.3rem, 2.4vw, 1.8rem); }
p { margin: 0 0 1em; }
[hidden] { display: none !important; }
.skip { position: absolute; left: -999px; top: 0; background: #000; color: #fff; padding: 10px 14px; z-index: 999; }
.skip:focus { left: 8px; top: 8px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

.wrap { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 16px; }
.wrap.narrow { max-width: 860px; }
@media (min-width: 768px) { .wrap { padding: 0 28px; } }

.muted { color: var(--muted); }
.small { font-size: 12.5px; }
.eyebrow { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-text); margin-bottom: 6px; }

/* ---------- Botões ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 22px; border: 1px solid var(--black); border-radius: var(--radius); background: var(--black); color: var(--white); font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; cursor: pointer; transition: transform .15s, box-shadow .2s, background .2s, color .2s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(0,0,0,.15); }
.btn:disabled, .btn.is-loading { opacity: .6; cursor: wait; transform: none; }
.btn-gold { background: var(--gold-grad); background-size: 200% 100%; border-color: transparent; color: #111; }
.btn-gold:hover { background-position: 100% 0; }
.btn-outline { background: transparent; color: var(--black); }
.btn-outline:hover { background: var(--black); color: var(--white); }
.btn-sm { min-height: 38px; padding: 0 14px; font-size: 11.5px; }
.btn-lg { min-height: 54px; font-size: 14px; }
.btn-block { width: 100%; }
.btn-disabled { background: #eee; border-color: #eee; color: #999; cursor: default; }
.btn-disabled:hover { transform: none; box-shadow: none; }
.link-btn { background: none; border: 0; padding: 0; color: var(--muted); text-decoration: underline; cursor: pointer; font-size: 13px; }
.link-more { display: inline-flex; gap: 6px; font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.grow { flex: 1; }

/* ---------- Faixa de aviso ---------- */
.announce { position: relative; height: 34px; background: #000; color: #e9cf85; font-size: 11.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; overflow: hidden; text-align: center; }
.announce span { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 0 12px; opacity: 0; transform: translateY(8px); transition: opacity .5s, transform .5s; }
.announce span.on { opacity: 1; transform: none; }

/* ---------- Cabeçalho ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--black); color: var(--white); border-bottom: 1px solid rgba(201,162,74,.25); }
.header-row { height: var(--header-h); display: grid; grid-template-columns: 44px 1fr auto; align-items: center; gap: 8px; }
.logo { justify-self: center; display: flex; align-items: center; }
.logo img { height: 38px; width: auto; }
.main-nav { display: none; }
.header-actions { display: flex; align-items: center; gap: 2px; }
.icon-btn { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 0; background: none; color: inherit; cursor: pointer; border-radius: 50%; }
.icon-btn:hover { color: var(--gold); }
.cart-count { position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--gold); color: #111; font-size: 11px; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.cart-count.bump { animation: bump .4s; }
@keyframes bump { 50% { transform: scale(1.35); } }
.search-bar { background: var(--ink); border-top: 1px solid rgba(255,255,255,.08); padding: 12px 0; }
.search-bar .wrap { display: flex; gap: 8px; }
.search-bar input { flex: 1; height: 46px; border-radius: var(--radius); border: 1px solid #333; background: #000; color: #fff; padding: 0 14px; }
@media (min-width: 1024px) {
  :root { --header-h: 78px; }
  .header-row { grid-template-columns: auto 1fr auto; gap: 32px; }
  .menu-btn { display: none; }
  .logo { justify-self: start; }
  .logo img { height: 46px; }
  .main-nav { display: flex; justify-content: center; gap: clamp(14px, 2.2vw, 34px); }
  .main-nav a { position: relative; font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; padding: 8px 0; color: #eee; }
  .main-nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--gold); transform: scaleX(0); transition: transform .25s; }
  .main-nav a:hover { color: var(--gold); }
  .main-nav a:hover::after { transform: scaleX(1); }
}

/* ---------- Menu lateral (mobile) ---------- */
.drawer { position: fixed; inset: 0; z-index: 100; background: rgba(0,0,0,.55); }
.drawer-panel { width: min(86vw, 360px); height: 100%; background: var(--black); color: #fff; padding: 16px 20px 24px; display: flex; flex-direction: column; gap: 20px; overflow-y: auto; animation: slideIn .25s ease-out; }
@keyframes slideIn { from { transform: translateX(-100%); } }
.drawer-head { display: flex; align-items: center; justify-content: space-between; }
.drawer-head img { height: 36px; width: auto; }
.drawer-nav { display: flex; flex-direction: column; }
.drawer-nav a { padding: 15px 2px; border-bottom: 1px solid rgba(255,255,255,.08); font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.drawer-nav a:hover { color: var(--gold); }

/* ---------- Banner principal ---------- */
.hero { position: relative; background: #000; }
.hero-track { position: relative; }
.hero-slide { display: none; }
.hero-slide.on { display: block; animation: fade .6s; }
@keyframes fade { from { opacity: .3; } }
.hero-slide img { width: 100%; height: auto; }
.hero-dots { position: absolute; bottom: 12px; left: 0; right: 0; display: flex; justify-content: center; gap: 8px; }
.hero-dots button { width: 9px; height: 9px; border-radius: 50%; border: 1px solid #fff; background: transparent; padding: 0; cursor: pointer; }
.hero-dots button.on { background: var(--gold); border-color: var(--gold); }

/* ---------- Seções ---------- */
.section { padding: 44px 0; }
@media (min-width: 1024px) { .section { padding: 64px 0; } }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.section-head h2 { margin: 0; }
.section-head.center { flex-direction: column; align-items: center; text-align: center; }
.section-head.center h2::after { content: ''; display: block; width: 56px; height: 2px; margin: 14px auto 0; background: var(--gold-grad); }

/* ---------- Categorias (home) ---------- */
.cat-section { padding-bottom: 20px; }
.cat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (min-width: 600px) { .cat-grid { gap: 16px; } }
.cat-tile { position: relative; display: block; overflow: hidden; border-radius: var(--radius); background: var(--soft); isolation: isolate; }
.cat-tile img { width: 100%; height: 100%; aspect-ratio: 1; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.cat-tile:hover img { transform: scale(1.04); }
.cat-tile.no-img { aspect-ratio: 1; display: flex; align-items: center; justify-content: center; background: var(--black); }
.cat-name { font-family: var(--sans); font-weight: 800; text-transform: uppercase; letter-spacing: .06em; font-size: clamp(1.4rem, 3vw, 2.2rem); color: var(--gold); }
.cat-cta { position: absolute; left: 10px; bottom: 10px; z-index: 2; background: rgba(0,0,0,.82); color: #fff; font-size: 10.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding: 8px 12px; border-radius: 40px; transition: background .2s, color .2s; }
.cat-tile:hover .cat-cta { background: var(--gold); color: #111; }
@media (max-width: 599px) { .cat-cta { left: 8px; bottom: 8px; font-size: 10px; padding: 6px 10px; letter-spacing: .1em; } .cat-cta .cn { display: none; } }
@media (min-width: 600px) { .cat-cta { left: 16px; bottom: 16px; font-size: 11.5px; padding: 9px 16px; } .cat-tile img { aspect-ratio: 1556 / 1011; } }
@media (min-width: 1024px) { .cat-tile img { aspect-ratio: 5 / 2; } }

.cat-banner { background: #000; }
.cat-banner img { width: 100%; }

/* ---------- Cards de produto ---------- */
.grid-products { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 12px; }
@media (min-width: 768px) { .grid-products { gap: 30px 20px; } }
@media (min-width: 900px) { .grid-products { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.card { display: flex; flex-direction: column; min-width: 0; }
.card-media { position: relative; display: block; aspect-ratio: 1; overflow: hidden; border-radius: var(--radius); background: var(--soft); }
.card-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .4s, transform .6s; }
.card-media img.alt { opacity: 0; }
.card:hover .card-media img.alt { opacity: 1; }
.card:hover .card-media img:first-child { transform: scale(1.03); }
.card.is-out .card-media img { filter: grayscale(.7); opacity: .65; }
.tag { position: absolute; top: 10px; left: 10px; z-index: 2; background: var(--gold); color: #111; font-size: 11px; font-weight: 800; letter-spacing: .06em; padding: 4px 9px; border-radius: 30px; }
.tag-dark { background: var(--black); color: #fff; }
.card-body { display: flex; flex-direction: column; gap: 6px; padding-top: 12px; flex: 1; }
.card-title { font-size: 14px; font-weight: 500; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.7em; }
.card-title:hover { color: var(--gold-text); }
.price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; }
.price s { color: var(--muted); font-size: 13px; }
.price strong { font-size: 17px; font-weight: 700; }
.card .btn { margin-top: auto; }

/* ---------- Carrossel horizontal (rail) ---------- */
.rail { position: relative; }
.rail-track { display: grid; grid-auto-flow: column; grid-auto-columns: 62%; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; margin: 0 -16px; padding-left: 16px; padding-right: 16px; scroll-padding-left: 16px; }
.rail-track::-webkit-scrollbar { display: none; }
.rail-track > * { scroll-snap-align: start; }
@media (min-width: 600px) { .rail-track { grid-auto-columns: 38%; } }
@media (min-width: 768px) { .rail-track { margin: 0; padding: 0 0 4px; grid-auto-columns: calc((100% - 40px) / 3); gap: 20px; scroll-padding-left: 0; } }
@media (min-width: 1100px) { .rail-track { grid-auto-columns: calc((100% - 60px) / 4); } }
.rail-btn { display: none; }
@media (min-width: 768px) {
  .rail-btn { display: flex; position: absolute; top: 34%; z-index: 3; width: 44px; height: 44px; align-items: center; justify-content: center; border-radius: 50%; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow); font-size: 26px; line-height: 1; cursor: pointer; padding-bottom: 3px; }
  .rail-btn.prev { left: -18px; }
  .rail-btn.next { right: -18px; }
  .rail-btn:hover { background: var(--black); color: var(--gold); }
  .rail-btn[disabled] { opacity: 0; pointer-events: none; }
}

/* ---------- Benefícios ---------- */
.benefits { background: var(--black); color: #fff; padding: 34px 0; }
.benefits-row { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 16px; }
@media (min-width: 900px) { .benefits-row { grid-template-columns: repeat(4, 1fr); } }
.benefits-row > div { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; }
.benefits-row svg { color: var(--gold); margin-bottom: 4px; }
.benefits-row strong { font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; }
.benefits-row span { font-size: 12.5px; color: #b9b5ad; }

.cta-band { background: var(--soft); text-align: center; padding: 56px 0; }
.cta-band p { color: var(--muted); max-width: 520px; margin: 0 auto 22px; }

/* ---------- Listagem / categoria ---------- */
.crumbs { font-size: 12.5px; color: var(--muted); margin-bottom: 14px; }
.crumbs a:hover { color: var(--text); text-decoration: underline; }
.crumbs span { margin: 0 6px; color: #bbb; }
.list-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 24px; }
.list-head h1 { margin: 0; }
.list-head h1 small { font-family: var(--sans); font-size: 13px; font-weight: 500; color: var(--muted); margin-left: 8px; letter-spacing: 0; }
.sort { display: flex; align-items: center; gap: 8px; font-size: 13px; }
.sort select { height: 40px; border: 1px solid var(--line); border-radius: var(--radius); padding: 0 10px; background: #fff; }
.empty { text-align: center; padding: 50px 0; color: var(--muted); }
.search-inline { display: flex; gap: 8px; margin-bottom: 26px; max-width: 560px; }
.search-inline input { flex: 1; height: 46px; border: 1px solid var(--line); border-radius: var(--radius); padding: 0 14px; }
.page-title { margin-bottom: 24px; }

/* ---------- Página de produto ---------- */
.product { display: grid; gap: 26px; grid-template-columns: minmax(0, 1fr); }
.product > * { min-width: 0; }
@media (min-width: 900px) { .product { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 56px; align-items: start; } }
.gallery-main { position: relative; aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; background: var(--soft); }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs { display: flex; gap: 10px; margin-top: 10px; overflow-x: auto; scrollbar-width: none; }
.gallery-thumbs button { flex: 0 0 72px; height: 72px; padding: 0; border: 1px solid var(--line); border-radius: 4px; overflow: hidden; cursor: pointer; background: var(--soft); }
.gallery-thumbs button.on { border-color: var(--black); box-shadow: 0 0 0 1px var(--black); }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 900px) { .gallery { position: sticky; top: calc(var(--header-h) + 20px); } }
.buybox h1 { margin-bottom: 6px; }
.sku { color: var(--muted); font-size: 12px; margin-bottom: 10px; }
.price.big strong { font-size: 28px; }
.price.big s { font-size: 15px; }
.pay-note { color: var(--muted); font-size: 13.5px; margin: 6px 0 20px; }
.buy-row { display: flex; gap: 10px; margin-bottom: 10px; }
.buy-row .btn { min-width: 0; white-space: normal; padding: 0 14px; line-height: 1.2; text-align: center; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: var(--radius); height: 54px; }
.qty button { width: 40px; height: 100%; border: 0; background: none; font-size: 20px; cursor: pointer; }
.qty input { width: 40px; border: 0; text-align: center; font-weight: 700; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.out-box { border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; display: grid; gap: 12px; background: var(--soft); }
.ship-calc { margin: 24px 0; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); }
.ship-calc label { display: block; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 8px; }
.ship-input { display: flex; gap: 8px; margin-bottom: 6px; }
.ship-input input { flex: 1; min-width: 0; height: 46px; border: 1px solid var(--line); border-radius: var(--radius); padding: 0 12px; }
.ship-calc .small { color: var(--muted); text-decoration: underline; }
.ship-results:empty { display: none; }
.ship-results { margin-top: 12px; display: grid; gap: 8px; }
.ship-opt { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 13.5px; padding: 10px 12px; background: var(--soft); border-radius: 4px; }
.ship-opt small { display: block; color: var(--muted); font-size: 12px; }
.ship-opt b { white-space: nowrap; }
.ship-err { color: var(--danger); font-size: 13px; }
.perks { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 8px; font-size: 13.5px; }
.perks li::before { content: '✦'; color: var(--gold); margin-right: 10px; }
.desc { border-top: 1px solid var(--line); padding-top: 20px; color: #333; }
.desc h2 { font-size: 1.2rem; }

/* ---------- Carrinho / checkout ---------- */
.cart-layout, .checkout-layout { display: grid; gap: 28px; align-items: start; }
.cart-layout, .checkout-layout { grid-template-columns: minmax(0, 1fr); }
.cart-layout > *, .checkout-layout > *, .checkout-main, .summary, fieldset, .fgrid > *, .cart-info, .mini-lines li > * { min-width: 0; }
input, select, textarea, button { max-width: 100%; }
.fgrid input, .fgrid select { min-width: 0; }
.summary, .box, .out-box, .ship-results, .ship-options { grid-template-columns: minmax(0, 1fr); }
.search-inline input, .search-bar input, .coupon-form input, .ship-input input { min-width: 0; }
.search-inline .btn, .coupon-form .btn, .ship-input .btn { flex: 0 0 auto; padding: 0 16px; }
.cart-name, .mini-lines li span, .ship-choice .sc-info { overflow-wrap: anywhere; }
@media (min-width: 960px) { .cart-layout, .checkout-layout { grid-template-columns: minmax(0, 1fr) 380px; gap: 40px; } }
.cart-line { display: grid; grid-template-columns: 84px 1fr auto; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); align-items: start; }
.cart-thumb { border-radius: 4px; overflow: hidden; background: var(--soft); aspect-ratio: 1; }
.cart-thumb img { width: 100%; height: 100%; object-fit: cover; }
.cart-info { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.cart-name { font-weight: 600; font-size: 14px; }
.cart-actions { display: flex; align-items: center; gap: 16px; margin-top: 6px; }
.small-qty { height: 38px; }
.small-qty button { width: 34px; font-size: 17px; }
.small-qty span { min-width: 26px; text-align: center; font-weight: 700; }
.cart-total { font-size: 15px; }
.cart-lines .link-more { margin-top: 20px; }
.summary { background: var(--soft); border-radius: 8px; padding: 22px; display: grid; gap: 12px; }
.summary h2 { font-size: 1.35rem; margin-bottom: 4px; }
.summary.sticky { position: sticky; top: calc(var(--header-h) + 16px); }
.summary .ship-calc { margin: 4px 0; background: #fff; }
.sum-row { display: flex; justify-content: space-between; gap: 10px; font-size: 14px; }
.sum-row.discount { color: var(--success); }
.sum-row.total { border-top: 1px solid var(--line); padding-top: 14px; font-size: 18px; font-weight: 800; align-items: baseline; }
.sum-row.total small { font-size: 12px; font-weight: 500; color: var(--muted); }
.coupon-form { display: flex; gap: 8px; }
.coupon-form input { flex: 1; min-width: 0; height: 46px; border: 1px solid var(--line); border-radius: var(--radius); padding: 0 12px; text-transform: uppercase; background: #fff; }
.free-note { color: var(--success); font-size: 13px; margin: 0; }
.secure-note { text-align: center; font-size: 12px; color: var(--muted); margin: 0; }
.secure-note::before { content: '🔒 '; }
.mini-lines { list-style: none; padding: 0; margin: 0 0 6px; display: grid; gap: 10px; }
.mini-lines li { display: flex; align-items: center; gap: 10px; font-size: 13.5px; }
.mini-lines li span { flex: 1; min-width: 0; }
.mini-lines img { border-radius: 4px; object-fit: cover; background: #fff; width: 52px; height: 52px; }
.mini-lines small { color: var(--muted); }

fieldset { border: 0; border-top: 1px solid var(--line); margin: 0; padding: 22px 0 10px; }
fieldset:first-child { border-top: 0; padding-top: 0; }
legend { font-family: var(--sans); font-size: 1.15rem; font-weight: 700; padding: 0; margin-bottom: 8px; display: flex; align-items: center; gap: 10px; }
legend > span { display: inline-flex; width: 28px; height: 28px; border-radius: 50%; background: var(--black); color: var(--gold); font-family: var(--sans); font-size: 13px; align-items: center; justify-content: center; }
.fgrid { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 600px) { .fgrid { grid-template-columns: 1fr 1fr; } .fgrid .span2 { grid-column: span 2; } }
.fgrid label, .checkout-main label { display: flex; flex-direction: column; gap: 6px; font-size: 12.5px; font-weight: 600; color: #333; }
.fgrid input, .fgrid select, .checkout-main textarea { height: 48px; border: 1px solid #d9d3c7; border-radius: var(--radius); padding: 0 12px; background: #fff; font-size: 15px; font-weight: 400; width: 100%; }
.checkout-main textarea { height: auto; padding: 12px; resize: vertical; }
.fgrid input:focus, .fgrid select:focus, textarea:focus, .ship-input input:focus, .coupon-form input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,162,74,.2); }
.has-error input, .has-error select { border-color: var(--danger); }
.field-error { color: var(--danger); font-size: 12px; font-weight: 500; }
.cep-hint { align-self: end; padding-bottom: 14px; }
.ship-options { display: grid; gap: 10px; }
.ship-choice { display: flex !important; flex-direction: row !important; align-items: center; gap: 12px !important; padding: 14px; border: 1px solid #d9d3c7; border-radius: var(--radius); cursor: pointer; background: #fff; }
.ship-choice:has(input:checked) { border-color: var(--black); box-shadow: 0 0 0 1px var(--black); }
.ship-choice input { accent-color: var(--black); width: 18px; height: 18px; }
.ship-choice .sc-info { flex: 1; font-weight: 600; font-size: 14px; }
.ship-choice .sc-info small { display: block; font-weight: 400; color: var(--muted); font-size: 12.5px; }
.ship-choice img { height: 22px; width: auto; }
.ship-choice b { font-size: 14px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; line-height: 1.45; cursor: pointer; }
.check input { margin-top: 2px; accent-color: var(--black); width: 17px; height: 17px; flex: 0 0 auto; }
.check a { text-decoration: underline; }
.check.has-error { color: var(--danger); }

/* ---------- Pedido ---------- */
.order-head { text-align: center; margin-bottom: 30px; }
.order-head p { color: var(--muted); }
.timeline { list-style: none; padding: 0; margin: 0 0 30px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; text-align: center; font-size: 11.5px; color: var(--muted); }
.timeline li { position: relative; padding-top: 26px; }
.timeline li span { position: absolute; top: 0; left: 50%; width: 16px; height: 16px; margin-left: -8px; border-radius: 50%; background: #ddd; z-index: 1; }
.timeline li::before { content: ''; position: absolute; top: 7px; left: -50%; right: 50%; height: 2px; background: #ddd; }
.timeline li:first-child::before { display: none; }
.timeline li.done { color: var(--text); font-weight: 600; }
.timeline li.done span { background: var(--gold); box-shadow: 0 0 0 4px rgba(201,162,74,.25); }
.timeline li.done::before { background: var(--gold); }
.track-box { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px; padding: 16px; border: 1px dashed var(--gold); border-radius: var(--radius); margin-bottom: 24px; }
.track-box span { color: var(--muted); font-size: 13px; }
.order-grid { display: grid; gap: 18px; }
@media (min-width: 768px) { .order-grid { grid-template-columns: 1.2fr 1fr; } }
.box { border: 1px solid var(--line); border-radius: 8px; padding: 20px; display: grid; gap: 10px; align-content: start; }
.box h2 { font-size: 1.2rem; }

/* ---------- Texto institucional ---------- */
.prose { font-size: 15.5px; line-height: 1.7; }
.prose h2 { font-size: 1.35rem; margin-top: 1.6em; }
.prose h3 { font-size: 1.1rem; margin-top: 1.3em; }
.prose ul { padding-left: 20px; margin: 0 0 1em; }
.prose li { margin-bottom: 4px; }

/* ---------- Alertas / toast ---------- */
.alert { padding: 13px 16px; border-radius: var(--radius); margin-bottom: 16px; font-size: 14px; }
.alert-error { background: #fdecea; color: #8a1c13; }
.alert-success { background: #e8f5ec; color: #145c2c; }
.alert-info { background: #fff6dd; color: #6b5110; text-align: left; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 200; background: var(--black); color: #fff; padding: 12px 14px 12px 18px; border-radius: 40px; box-shadow: 0 10px 30px rgba(0,0,0,.3); font-size: 14px; display: flex; align-items: center; gap: 14px; max-width: calc(100vw - 32px); animation: toastIn .3s; }
.toast a { color: var(--gold); font-weight: 700; white-space: nowrap; text-transform: uppercase; font-size: 12px; letter-spacing: .08em; }
@keyframes toastIn { from { opacity: 0; transform: translate(-50%, 10px); } }

/* ---------- Rodapé ---------- */
.site-footer { background: var(--black); color: #cfcac0; margin-top: 0; }
.footer-grid { display: grid; gap: 30px; padding-top: 50px; padding-bottom: 40px; grid-template-columns: 1fr 1fr; }
.footer-brand { grid-column: 1 / -1; }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; } .footer-brand { grid-column: auto; } }
.footer-brand img { height: 48px; width: auto; margin-bottom: 14px; }
.footer-brand p { font-size: 13.5px; max-width: 300px; }
.site-footer h4 { color: var(--gold); font-size: 11.5px; letter-spacing: .2em; text-transform: uppercase; margin: 0 0 14px; }
.site-footer h4.mt { margin-top: 24px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; font-size: 13.5px; }
.site-footer ul a:hover { color: #fff; }
.social { display: flex; gap: 10px; }
.social a { width: 40px; height: 40px; border: 1px solid #333; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; }
.social a:hover { border-color: var(--gold); color: var(--gold); }
.pay-badges { display: flex; gap: 6px; flex-wrap: wrap; }
.pay-badges span { border: 1px solid #3a3a3a; border-radius: 4px; padding: 4px 10px; font-size: 12px; color: #fff; }
.site-footer .small { color: #8d887f; margin-top: 8px; }
.footer-bottom { border-top: 1px solid #222; padding: 18px 0; font-size: 12px; color: #8d887f; }
.footer-bottom .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; }

.wa-float { position: fixed; right: 16px; bottom: 16px; z-index: 60; width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 22px rgba(0,0,0,.25); transition: transform .2s; }
.wa-float:hover { transform: scale(1.07); }
body.checkout .wa-float { display: none; }

/* ---------- Aviso de cookies ---------- */
.cookie-bar { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 150; max-width: 560px; margin: 0 auto; background: var(--black); color: #ddd; border: 1px solid rgba(201,162,74,.35); border-radius: 10px; padding: 14px 16px; display: flex; align-items: center; gap: 14px; font-size: 13px; box-shadow: 0 10px 30px rgba(0,0,0,.35); }
.cookie-bar p { margin: 0; flex: 1; min-width: 0; }
.cookie-bar a { color: var(--gold); text-decoration: underline; }
@media (max-width: 480px) { .cookie-bar { flex-direction: column; align-items: stretch; text-align: center; } }

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