/* ==========================================================================
   Beth Closet — loja online (visual: off-white, verde-sálvia do logo, serifada elegante)
   ========================================================================== */
:root {
  --bg: #FBFAF7; --paper: #fff; --ink: #23241F; --ink2: #44463E; --muted: #7C7F74; --line: #E8E5DD;
  --sage: #8A967B; --sage-d: #56624A; --sage-l: #EEF1EA; --sand: #F4F0E8; --sale: #A3402C; --gold: #B99A5B;
  --serif: 'Cormorant Garamond', 'Times New Roman', serif; --sans: 'Jost', system-ui, -apple-system, sans-serif;
  --r: 14px; --hdr: 60px; --sh: 0 10px 30px rgba(35, 36, 31, .10);
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 15px/1.5 var(--sans); }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
input, select, textarea { font: inherit; color: inherit; }
svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.link { color: var(--sage-d); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }
.loading, .empty { padding: 60px 20px; text-align: center; color: var(--muted); }
.empty h3 { font: 500 26px var(--serif); color: var(--ink); margin: 10px 0 6px; }
.serif { font-family: var(--serif); }

/* faixa de avisos */
.topbar { background: var(--sage-d); color: #F3F1EA; font-size: 12.5px; letter-spacing: .4px; overflow: hidden; height: 32px; }
.topbar-track { display: flex; height: 32px; align-items: center; justify-content: center; white-space: nowrap; }
.tg { display: flex; gap: 18px; padding-right: 18px; }
.tg2 { display: none; }
@media (max-width: 760px) { .topbar-track { justify-content: flex-start; width: max-content; animation: marquee 24s linear infinite; } .tg2 { display: flex; } }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* cabeçalho */
.hdr { position: sticky; top: 0; z-index: 30; height: var(--hdr); display: flex; align-items: center; gap: 6px; padding: 0 10px; background: rgba(251, 250, 247, .94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 8px; margin-right: auto; }
.brand img { width: 40px; height: 40px; border-radius: 50%; box-shadow: 0 0 0 1px var(--line); }
.brand span { font: italic 500 24px var(--serif); color: var(--sage-d); letter-spacing: .3px; }
.hdr-nav { display: none; gap: 22px; margin: 0 auto; font-size: 14px; letter-spacing: .6px; text-transform: uppercase; }
.hdr-nav a { padding: 6px 0; border-bottom: 1.5px solid transparent; }
.hdr-nav a.on, .hdr-nav a:hover { border-color: var(--ink); }
.hdr-nav a.sale { color: var(--sale); font-weight: 600; }
.hdr-actions { display: flex; }
.icon-btn { position: relative; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; }
.icon-btn:active { background: var(--sand); }
.icon-btn .dot { position: absolute; top: 5px; right: 4px; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 9px; background: var(--ink); color: #fff; font: 600 10.5px/17px var(--sans); text-align: center; }
@media (min-width: 980px) { #menuBtn { display: none; } .hdr { padding: 0 28px; } .brand { margin-right: 0; } .hdr-nav { display: flex; } }
.searchbar { position: sticky; top: var(--hdr); z-index: 29; display: flex; gap: 10px; align-items: center; padding: 10px 14px; background: var(--paper); border-bottom: 1px solid var(--line); }
.searchbar input { flex: 1; border: 1px solid var(--line); background: var(--bg); border-radius: 999px; padding: 11px 16px; outline: none; }
.searchbar input:focus { border-color: var(--sage); }

.view { min-height: 70vh; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 980px) { .wrap { padding: 0 28px; } }

/* vitrine — banner */
.hero { position: relative; margin: 14px 16px 0; border-radius: 22px; overflow: hidden; background: var(--sand); display: grid; grid-template-columns: 1fr; grid-template-rows: 300px auto; }
.hero-txt { position: relative; z-index: 2; padding: 20px 20px 22px; display: flex; flex-direction: column; justify-content: flex-end; grid-area: 2/1; }
.hero-kicker { font-size: 12px; letter-spacing: 3px; text-transform: uppercase; color: var(--sage-d); font-weight: 600; }
.hero h1 { font: 500 48px/0.95 var(--serif); margin: 6px 0 10px; letter-spacing: -.5px; }
.hero h1 em { color: var(--sale); font-style: italic; }
.hero p { margin: 0 0 16px; color: var(--ink2); max-width: 420px; }
.hero-pics { grid-area: 1/1; min-height: 0; display: grid; grid-template-columns: 1.2fr 1fr; grid-template-rows: minmax(0, 1fr) minmax(0, 1fr); gap: 6px; height: 300px; }
.hero-pics img { width: 100%; height: 100%; object-fit: cover; }
.hero-pics img:first-child { grid-row: 1 / 3; }
@media (min-width: 860px) {
  .hero { margin: 22px 28px 0; grid-template-columns: 1fr 1.25fr; grid-template-rows: 470px; }
  .hero-txt { grid-area: 1/1; align-self: center; padding: 48px 44px; }
  .hero-pics { grid-area: 1/2; height: 470px; }
  .hero h1 { font-size: 76px; }
}
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 24px; border-radius: 999px; font-weight: 500; letter-spacing: .4px; transition: transform .15s; }
.btn:active { transform: scale(.98); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:disabled { background: #bdbdb5; }
.btn-line { border: 1.5px solid var(--ink); }
.btn-sage { background: var(--sage-d); color: #fff; }
.btn-wa { background: #1f8f4e; color: #fff; }
.btn-block { width: 100%; }
.btn-sm { height: 38px; padding: 0 16px; font-size: 14px; }

/* atalhos de categoria */
.cats { display: flex; gap: 14px; overflow-x: auto; padding: 22px 16px 6px; scrollbar-width: none; }
.cats::-webkit-scrollbar { display: none; }
.cat { flex: none; width: 86px; text-align: center; font-size: 13px; }
.cat i { display: block; width: 86px; height: 86px; border-radius: 50%; overflow: hidden; background: var(--sand); margin-bottom: 7px; box-shadow: inset 0 0 0 1px var(--line); }
.cat i img { width: 100%; height: 100%; object-fit: cover; }
.cat.sale i { background: var(--sale); color: #fff; display: grid; place-items: center; font: italic 500 22px var(--serif); }
@media (min-width: 860px) { .cats { justify-content: center; gap: 26px; padding: 30px 28px 10px; } .cat, .cat i { width: 104px; } .cat i { height: 104px; } }

/* títulos de seção */
.sec { padding: 26px 0 6px; }
.sec-h { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.sec-h h2 { font: 500 30px/1.05 var(--serif); margin: 0; }
.sec-h h2 small { display: block; font: 500 11.5px var(--sans); letter-spacing: 2.5px; text-transform: uppercase; color: var(--sage-d); margin-bottom: 4px; }
.sec-h a { font-size: 14px; }

/* grade de produtos */
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 12px; }
@media (min-width: 760px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px 18px; } }
@media (min-width: 1100px) { .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.row-scroll { display: grid; grid-auto-flow: column; grid-auto-columns: 46%; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; scrollbar-width: none; }
.row-scroll::-webkit-scrollbar { display: none; }
.row-scroll > * { scroll-snap-align: start; }
@media (min-width: 760px) { .row-scroll { grid-auto-columns: 24%; gap: 18px; } }
.pc { position: relative; display: block; min-width: 0; }
.pc-img { position: relative; aspect-ratio: 4/5; border-radius: var(--r); overflow: hidden; background: var(--sand); }
.pc-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .35s, transform .6s; }
.pc-img img.alt { opacity: 0; }
@media (hover: hover) { .pc:hover .pc-img img.alt { opacity: 1; } .pc:hover .pc-img img:first-child { transform: scale(1.03); } }
.pc.soldout .pc-img img { filter: grayscale(.7); opacity: .6; }
.badges { position: absolute; top: 8px; left: 8px; display: flex; flex-direction: column; gap: 4px; align-items: flex-start; z-index: 2; }
.bdg { font: 600 11px/1 var(--sans); letter-spacing: .5px; padding: 5px 8px; border-radius: 999px; background: #fff; color: var(--ink); }
.bdg.off { background: var(--sale); color: #fff; }
.bdg.new { background: var(--sage-d); color: #fff; }
.bdg.last { background: #fff; color: var(--sale); }
.bdg.out { background: var(--ink); color: #fff; }
.fav { position: absolute; top: 6px; right: 6px; z-index: 2; width: 36px; height: 36px; border-radius: 50%; background: rgba(255, 255, 255, .9); display: grid; place-items: center; }
.fav svg { width: 19px; height: 19px; }
.fav.on svg { fill: var(--sale); stroke: var(--sale); }
.pc-body { padding: 10px 2px 0; }
.pc-brand { font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); }
.pc-name { font-size: 14.5px; line-height: 1.3; margin: 2px 0 5px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 0 8px; }
.price s { color: var(--muted); font-size: 13px; }
.price b { font-weight: 600; font-size: 16px; }
.price b.sale { color: var(--sale); }
.inst { font-size: 12.5px; color: var(--muted); }
.pc-sizes { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 7px; }
.pc-sizes span { font-size: 11.5px; min-width: 26px; text-align: center; padding: 2px 5px; border: 1px solid var(--line); border-radius: 6px; color: var(--ink2); }
.pc-sizes .sw { width: 14px; height: 14px; min-width: 0; padding: 0; border-radius: 50%; border: 1px solid rgba(0, 0, 0, .12); }

/* barra de listagem */
.list-h { padding: 18px 0 8px; }
.list-h h1 { font: 500 38px/1 var(--serif); margin: 0; }
.list-h p { margin: 6px 0 0; color: var(--muted); }
.crumbs { font-size: 12.5px; color: var(--muted); margin-bottom: 8px; }
.toolbar { position: sticky; top: var(--hdr); z-index: 20; display: flex; align-items: center; gap: 8px; padding: 10px 0; background: var(--bg); border-bottom: 1px solid var(--line); margin-bottom: 16px; }
.toolbar .count { color: var(--muted); font-size: 13.5px; margin-right: auto; }
.chip { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px; border: 1px solid var(--line); background: var(--paper); border-radius: 999px; font-size: 13.5px; white-space: nowrap; }
.chip.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.chip svg { width: 16px; height: 16px; }
.select { height: 36px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); padding: 0 12px; font-size: 13.5px; }
.active-filters { display: flex; flex-wrap: wrap; gap: 6px; margin: -6px 0 14px; }
.active-filters .chip { height: 30px; font-size: 12.5px; background: var(--sage-l); border-color: transparent; }

/* página do produto */
.pdp { display: grid; grid-template-columns: 1fr; gap: 0; padding-bottom: 90px; }
@media (min-width: 900px) { .pdp { grid-template-columns: 1.15fr 1fr; gap: 44px; padding: 26px 0 60px; align-items: start; } }
.gal { position: relative; }
.gal-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; background: var(--sand); }
.gal-track::-webkit-scrollbar { display: none; }
.gal-track figure { flex: 0 0 100%; margin: 0; scroll-snap-align: start; aspect-ratio: 4/5; cursor: zoom-in; }
.gal-track img { width: 100%; height: 100%; object-fit: cover; }
.gal-dots { position: absolute; bottom: 12px; left: 0; right: 0; display: flex; justify-content: center; gap: 6px; }
.gal-dots i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255, 255, 255, .6); box-shadow: 0 0 0 1px rgba(0, 0, 0, .1); }
.gal-dots i.on { background: #fff; width: 18px; border-radius: 4px; }
.gal-zoom { position: absolute; right: 12px; bottom: 12px; width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, .92); display: grid; place-items: center; }
.gal-thumbs { display: none; }
@media (min-width: 900px) {
  .gal { display: grid; grid-template-columns: 78px 1fr; gap: 12px; position: sticky; top: calc(var(--hdr) + 16px); }
  .gal-track { border-radius: var(--r); grid-column: 2; }
  .gal-thumbs { display: flex; flex-direction: column; gap: 10px; grid-column: 1; grid-row: 1; }
  .gal-thumbs button { aspect-ratio: 4/5; border-radius: 10px; overflow: hidden; opacity: .6; outline: 1.5px solid transparent; }
  .gal-thumbs button.on { opacity: 1; outline-color: var(--ink); }
  .gal-thumbs img { width: 100%; height: 100%; object-fit: cover; }
  .gal-dots { left: 90px; }
}
.pinfo { padding: 18px 16px 0; }
@media (min-width: 900px) { .pinfo { padding: 0; } }
.pinfo .pc-brand { font-size: 12px; }
.pinfo h1 { font: 500 34px/1.08 var(--serif); margin: 4px 0 12px; }
.pinfo .price b { font-size: 26px; }
.pinfo .price s { font-size: 15px; }
.pinfo .price .bdg { align-self: center; }
.pix-line { font-size: 14px; color: var(--sage-d); margin-top: 3px; }
.opt-h { display: flex; justify-content: space-between; align-items: baseline; margin: 22px 0 10px; font-size: 14px; }
.opt-h b { font-weight: 600; }
.swatches { display: flex; gap: 10px; flex-wrap: wrap; }
.swatch { width: 38px; height: 38px; border-radius: 50%; padding: 3px; border: 1.5px solid transparent; }
.swatch i { display: block; width: 100%; height: 100%; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .14); }
.swatch.on { border-color: var(--ink); }
.swatch.out { opacity: .35; }
.sizes { display: flex; gap: 8px; flex-wrap: wrap; }
.size { position: relative; min-width: 52px; height: 48px; padding: 0 10px; border: 1px solid var(--line); background: var(--paper); border-radius: 10px; font-weight: 500; }
.size.on { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.size.out { color: #b8b8b0; background: repeating-linear-gradient(135deg, transparent 0 46%, #d8d6cf 46% 54%, transparent 54%); }
.size em { position: absolute; left: 50%; bottom: -8px; transform: translateX(-50%); font: 600 9.5px/1 var(--sans); white-space: nowrap; background: var(--sale); color: #fff; padding: 3px 5px; border-radius: 4px; font-style: normal; }
.stock-msg { font-size: 13.5px; margin-top: 14px; min-height: 20px; color: var(--sale); }
.pdp-cta { display: grid; grid-template-columns: 1fr 52px; gap: 10px; margin-top: 14px; }
.pdp-cta .fav-big { height: 48px; border: 1.5px solid var(--line); border-radius: 999px; display: grid; place-items: center; }
.pdp-cta .fav-big.on svg { fill: var(--sale); stroke: var(--sale); }
.perks { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 22px 0; }
.perk { display: flex; gap: 10px; align-items: center; font-size: 13px; line-height: 1.25; padding: 12px; background: var(--sand); border-radius: 12px; }
.perk svg { flex: none; color: var(--sage-d); }
.perk b { display: block; font-weight: 600; }
.acc { border-top: 1px solid var(--line); }
.acc details { border-bottom: 1px solid var(--line); }
.acc summary { list-style: none; display: flex; justify-content: space-between; padding: 16px 0; font-weight: 500; cursor: pointer; }
.acc summary::after { content: '+'; font-size: 20px; line-height: 1; }
.acc details[open] summary::after { content: '–'; }
.acc .acc-b { padding: 0 0 18px; color: var(--ink2); font-size: 14.5px; }
.acc dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; margin: 0; }
.acc dt { color: var(--muted); }
.acc dd { margin: 0; }
.sticky-buy { position: fixed; left: 0; right: 0; bottom: 0; z-index: 25; display: flex; align-items: center; gap: 12px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .97); border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgba(0, 0, 0, .06); }
.sticky-buy .price b { font-size: 18px; }
.sticky-buy .btn { flex: 1; }
@media (min-width: 900px) { .sticky-buy { display: none; } }

/* sacola / checkout */
.page-h { font: 500 36px var(--serif); margin: 22px 0 14px; }
.bag { display: grid; grid-template-columns: 1fr; gap: 24px; padding-bottom: 40px; }
@media (min-width: 900px) { .bag { grid-template-columns: 1.5fr 1fr; align-items: start; } }
.bl { display: grid; grid-template-columns: 88px 1fr auto; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.bl img { width: 88px; aspect-ratio: 4/5; object-fit: cover; border-radius: 10px; background: var(--sand); }
.bl h4 { margin: 0 0 3px; font-weight: 500; font-size: 14.5px; }
.bl small { color: var(--muted); display: block; }
.bl .rm { color: var(--muted); font-size: 13px; text-decoration: underline; margin-top: 8px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; margin-top: 8px; }
.qty button { width: 32px; height: 32px; font-size: 18px; }
.qty span { min-width: 22px; text-align: center; font-weight: 500; }
.summary { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 18px; position: sticky; top: calc(var(--hdr) + 14px); }
.summary h3 { font: 500 24px var(--serif); margin: 0 0 12px; }
.sum-row { display: flex; justify-content: space-between; padding: 5px 0; font-size: 14.5px; }
.sum-row.disc { color: var(--sage-d); }
.sum-row.total { font-size: 18px; font-weight: 600; border-top: 1px solid var(--line); margin-top: 8px; padding-top: 12px; }
.coupon { display: flex; gap: 8px; margin: 10px 0 14px; }
.coupon input { flex: 1; min-width: 0; height: 42px; border: 1px solid var(--line); border-radius: 10px; padding: 0 12px; text-transform: uppercase; background: var(--bg); }
.form { display: grid; gap: 12px; }
.fld label { display: block; font-size: 13px; color: var(--ink2); margin-bottom: 5px; font-weight: 500; }
.fld input, .fld select, .fld textarea { width: 100%; height: 46px; border: 1px solid var(--line); border-radius: 10px; padding: 0 12px; background: var(--paper); outline: none; }
.fld textarea { height: 80px; padding: 10px 12px; resize: vertical; }
.fld input:focus, .fld select:focus, .fld textarea:focus { border-color: var(--sage); box-shadow: 0 0 0 3px var(--sage-l); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.step-h { display: flex; align-items: center; gap: 10px; font: 500 22px var(--serif); margin: 20px 0 10px; }
.step-h i { width: 26px; height: 26px; border-radius: 50%; background: var(--ink); color: #fff; font: 600 13px/26px var(--sans); text-align: center; font-style: normal; }
.opts { display: grid; gap: 8px; }
.opt { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border: 1.5px solid var(--line); border-radius: 14px; background: var(--paper); cursor: pointer; }
.opt input { margin-top: 3px; accent-color: var(--ink); width: 18px; height: 18px; }
.opt b { display: block; font-weight: 600; font-size: 14.5px; }
.opt small { color: var(--muted); font-size: 13px; }
.opt em { margin-left: auto; font-style: normal; font-weight: 600; white-space: nowrap; font-size: 14px; }
.opt.on { border-color: var(--ink); background: #fff; box-shadow: 0 4px 16px rgba(0, 0, 0, .05); }
.note { background: var(--sage-l); color: var(--sage-d); border-radius: 12px; padding: 11px 13px; font-size: 13.5px; }
.err { color: var(--sale); font-size: 14px; min-height: 20px; margin: 8px 0; }

/* acompanhamento */
.track { max-width: 640px; margin: 0 auto; padding: 22px 16px 50px; }
.track-hero { text-align: center; padding: 26px 18px; border-radius: 20px; background: var(--sand); }
.track-hero .big { font-size: 42px; }
.track-hero h2 { font: 500 30px/1.1 var(--serif); margin: 6px 0; }
.track-hero p { margin: 0; color: var(--ink2); }
.steps { display: flex; justify-content: space-between; position: relative; margin: 24px 6px; }
.steps::before { content: ''; position: absolute; top: 13px; left: 14px; right: 14px; height: 2px; background: var(--line); }
.steps .bar { position: absolute; top: 13px; left: 14px; height: 2px; background: var(--sage-d); transition: width .4s; }
.step { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 11.5px; color: var(--muted); width: 25%; text-align: center; }
.step i { width: 28px; height: 28px; border-radius: 50%; background: var(--paper); border: 2px solid var(--line); display: grid; place-items: center; font-style: normal; font-weight: 600; font-size: 12px; }
.step.done { color: var(--ink); }
.step.done i { background: var(--sage-d); border-color: var(--sage-d); color: #fff; }
.box { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; margin-top: 14px; }
.box h4 { margin: 0 0 8px; font-weight: 600; font-size: 14px; letter-spacing: .5px; text-transform: uppercase; color: var(--muted); }
.pix { background: var(--sage-l); border-radius: 16px; padding: 16px; margin-top: 14px; text-align: center; }
.pix code { display: block; word-break: break-all; background: #fff; border-radius: 10px; padding: 10px; margin: 10px 0; font-size: 14px; }
.tl { margin: 0; padding: 0 0 0 18px; }
.tl li { margin: 0 0 8px; font-size: 14px; }
.tl small { color: var(--muted); }

/* rodapé */
.foot { background: #EDEAE2; margin-top: 40px; padding: 34px 16px calc(40px + env(safe-area-inset-bottom)); }
.foot-in { max-width: 1240px; margin: 0 auto; display: grid; gap: 22px; }
@media (min-width: 860px) { .foot-in { grid-template-columns: 1.4fr 1fr 1fr 1fr; padding: 0 12px; } }
.foot h5 { margin: 0 0 10px; font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.foot a, .foot p { display: block; margin: 0 0 7px; font-size: 14px; color: var(--ink2); }
.foot .brand span { font-size: 30px; }
.pays { display: flex; gap: 6px; flex-wrap: wrap; }
.pays span { font-size: 12px; border: 1px solid #d6d2c7; border-radius: 6px; padding: 3px 8px; background: #fff; }

/* como comprar */
.how { display: grid; grid-template-columns: 1fr; gap: 10px; }
@media (min-width: 760px) { .how { grid-template-columns: repeat(3, 1fr); gap: 16px; } }
.how div { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 18px; display: flex; gap: 14px; }
.how svg { flex: none; width: 30px; height: 30px; color: var(--sage-d); }
.how b { display: block; font: 500 20px var(--serif); }
.how p { margin: 3px 0 0; font-size: 13.5px; color: var(--ink2); }

/* drawer */
.scrim { position: fixed; inset: 0; z-index: 40; background: rgba(20, 20, 18, .45); }
.drawer { position: fixed; z-index: 41; top: 0; bottom: 0; left: 0; width: min(86vw, 360px); background: var(--bg); padding: 18px 18px 30px; overflow-y: auto; animation: slideIn .22s ease; }
@keyframes slideIn { from { transform: translateX(-100%); } }
.drawer h6 { margin: 20px 0 6px; font-size: 11.5px; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); }
.drawer a.dl { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
.drawer a.dl small { color: var(--muted); }

/* sheet */
.sheet { position: fixed; z-index: 41; left: 0; right: 0; bottom: 0; max-height: 88vh; display: flex; flex-direction: column; background: var(--paper); border-radius: 22px 22px 0 0; box-shadow: 0 -20px 50px rgba(0, 0, 0, .2); animation: up .25s ease; }
@keyframes up { from { transform: translateY(100%); } }
@media (min-width: 760px) { .sheet { left: 50%; bottom: auto; top: 50%; transform: translate(-50%, -50%); width: 520px; border-radius: 22px; animation: none; } }
.sh-h { display: flex; justify-content: space-between; align-items: center; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.sh-h h3 { margin: 0; font: 500 24px var(--serif); }
.sh-b { padding: 16px 18px; overflow-y: auto; }
.sh-f { padding: 12px 18px calc(14px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); display: flex; gap: 10px; }
.sh-f .btn { flex: 1; }
.fgrp { margin-bottom: 18px; }
.fgrp h5 { margin: 0 0 10px; font-size: 13px; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); }
.fgrp .chips { display: flex; flex-wrap: wrap; gap: 7px; }
.tbl { width: 100%; border-collapse: collapse; font-size: 14px; }
.tbl th, .tbl td { padding: 9px 8px; border-bottom: 1px solid var(--line); text-align: left; }
.tbl th { font-size: 12px; text-transform: uppercase; letter-spacing: 1px; color: var(--muted); font-weight: 600; }

/* lightbox com zoom */
.lightbox { position: fixed; inset: 0; z-index: 60; background: #0d0d0c; display: flex; flex-direction: column; touch-action: none; }
.lb-top { display: flex; justify-content: space-between; align-items: center; padding: 12px 14px; color: #fff; font-size: 14px; z-index: 2; }
.lb-top button { color: #fff; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, .12); }
.lb-stage { position: relative; flex: 1; overflow: hidden; }
.lb-stage img { position: absolute; top: 50%; left: 50%; max-width: 100%; max-height: 100%; transform-origin: 0 0; user-select: none; -webkit-user-drag: none; will-change: transform; }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; border-radius: 50%; background: rgba(255, 255, 255, .14); color: #fff; display: grid; place-items: center; z-index: 2; }
.lb-nav.prev { left: 10px; } .lb-nav.next { right: 10px; }
.lb-hint { position: absolute; bottom: 18px; left: 0; right: 0; text-align: center; color: rgba(255, 255, 255, .7); font-size: 12.5px; pointer-events: none; }
.lb-thumbs { display: flex; gap: 8px; justify-content: center; padding: 10px 10px calc(14px + env(safe-area-inset-bottom)); }
.lb-thumbs button { width: 48px; height: 60px; border-radius: 8px; overflow: hidden; opacity: .5; }
.lb-thumbs button.on { opacity: 1; outline: 2px solid #fff; }
.lb-thumbs img { width: 100%; height: 100%; object-fit: cover; }

.toast { position: fixed; z-index: 70; left: 50%; bottom: 24px; transform: translateX(-50%); background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 999px; font-size: 14px; box-shadow: var(--sh); max-width: 92vw; text-align: center; }
.toast a { color: #fff; text-decoration: underline; margin-left: 6px; }
.myorders a { display: flex; justify-content: space-between; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.myorders small { color: var(--muted); }
@media (min-width: 900px) { .gal > .badges { left: 102px !important; } .gal-dots { display: none; } }

/* ---------------- padrão Nexus + melhorias (2026-11-22) ---------------- */
.row2.rn { grid-template-columns: 1fr 110px; }
.note.ship { margin: -4px 0 12px; }
.note.club-note { margin: 12px 0; }
.opt.club input { margin-top: 3px; accent-color: var(--sage-d); }
.gal-track figure.vid { cursor: default; background: #000; display: grid; place-items: center; }
.gal-track figure.vid video { width: 100%; height: 100%; object-fit: cover; }
.gal-thumbs button.vt { display: grid; place-items: center; background: var(--ink); color: #fff; font-size: 22px; }
/* Compre o look */
.look { margin-top: 8px; }
.look-list { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.look-it { display: grid; grid-template-columns: 84px 1fr; gap: 12px; align-items: center; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 10px; }
.look-it img { width: 84px; aspect-ratio: 4/5; object-fit: cover; border-radius: 10px; }
.look-it > div { display: grid; gap: 6px; min-width: 0; }
.look-it b { font-weight: 500; font-size: 14.5px; }
.look-it .price { font-size: 14px; } .look-it .price s { color: var(--muted); font-size: 12.5px; }
.look-it .select { width: 100%; }
.look-this { color: var(--sage-d); font-size: 12px; }
.look-foot { display: flex; justify-content: flex-end; align-items: center; gap: 14px; margin-top: 12px; flex-wrap: wrap; color: var(--ink2); }
@media (max-width: 600px) { .look-foot { justify-content: stretch; } .look-foot .btn { width: 100%; } }
/* faixa "pedido em andamento" */
.active-order { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 30; display: flex; align-items: center; gap: 12px; max-width: 520px; margin: 0 auto;
  padding: 12px 16px; border-radius: 16px; background: var(--sage-d); color: #fff; box-shadow: 0 12px 30px rgba(35, 36, 31, .25); }
.active-order .ao-ic { font-size: 24px; } .active-order span:nth-child(2) { flex: 1; min-width: 0; }
.active-order b { display: block; font-weight: 600; font-size: 14.5px; } .active-order small { opacity: .85; font-size: 12.5px; }
.active-order.pay { background: var(--gold); color: var(--ink); }
body:has(.sticky-buy) .active-order { bottom: calc(82px + env(safe-area-inset-bottom)); }
/* meus pedidos com status */
.myorders .mo { border-bottom: 1px solid var(--line); padding-bottom: 10px; }
.myorders .mo a { border-bottom: 0; }
.myorders em { font-style: normal; font-size: 13px; color: var(--sage-d); } .myorders em.st-cancelado { color: var(--sale); }
.pdp ~ .sec.wrap { padding-left: 16px; padding-right: 16px; }
