:root {
  --ink: #111114;
  --ink-2: #3d3d45;
  --muted: #7a7a85;
  --line: #ececf0;
  --surface: #f5f5f7;
  --bg: #ffffff;
  --brand: #e2187f;
  --green: #2f8a3e;
  --green-soft: #eff7f0;
  --green-line: #cfe6d3;
  --wa: #25d366;
  --radius: 14px;
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.5; font-size: 15px; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; color: inherit; }
input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }
.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 20px; }
@media (max-width: 560px) { .container { padding: 0 16px; } }
.money { font-variant-numeric: tabular-nums; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.link-arrow { white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; font-weight: 500; font-size: 14px; }
.link-arrow svg { transition: transform .2s var(--ease); }
.link-arrow:hover svg { transform: translateX(3px); }

/* ---------- header ---------- */
.header { position: sticky; top: 0; z-index: 40; background: rgba(255, 255, 255, .86); backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.header.scrolled { border-bottom-color: var(--line); }
.header__row { display: flex; align-items: center; gap: 20px; height: 68px; }
.header__logo img { height: 40px; width: auto; }
.search { flex: 1; max-width: 440px; margin-left: auto; position: relative; }
.search input { width: 100%; height: 42px; border: 0; border-radius: 999px; padding: 0 16px 0 42px; background: var(--surface); outline: none; font-size: 14px; transition: box-shadow .2s, background .2s; }
.search input::placeholder { color: var(--muted); }
.search input:focus { background: #fff; box-shadow: 0 0 0 1.5px var(--ink); }
.search svg { position: absolute; left: 14px; top: 11px; color: var(--muted); }
.cart-btn { position: relative; display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-weight: 500; font-size: 14px; white-space: nowrap; transition: border-color .2s; }
.cart-btn:hover { border-color: var(--ink); }
.cart-btn .count { min-width: 20px; height: 20px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 11px; font-weight: 600; display: inline-grid; place-items: center; padding: 0 6px; }
.cart-btn .count[data-n='0'] { background: var(--surface); color: var(--muted); }
.cart-btn.bump { animation: bump .4s var(--ease); }
@keyframes bump { 40% { transform: scale(1.08); } }
@media (max-width: 720px) {
  .header__row { flex-wrap: wrap; height: auto; padding: 12px 0; gap: 10px; }
  .header__logo img { height: 34px; }
  .search { order: 3; flex-basis: 100%; max-width: none; }
  .cart-btn { margin-left: auto; padding: 0 12px; }
  .cart-btn .lbl { display: none; }
}

/* ---------- banner + passos ---------- */
.banner { display: block; margin-top: 12px; border-radius: 20px; overflow: hidden; background: var(--surface); }
.banner img { width: 100%; height: auto; transition: transform .8s var(--ease); }
.banner:hover img { transform: scale(1.01); }
@media (max-width: 720px) { .banner { border-radius: 16px; margin-top: 4px; } }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin: 20px 0 0; }
.step { background: #fff; padding: 18px 22px; display: flex; gap: 14px; align-items: center; }
.step__n { flex: none; width: 30px; height: 30px; border-radius: 999px; border: 1px solid var(--line); display: grid; place-items: center; font-size: 13px; font-weight: 600; color: var(--ink-2); }
.step b { display: block; font-size: 14px; font-weight: 600; }
.step span { font-size: 13px; color: var(--muted); }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } .step { padding: 14px 16px; } }

.section-head { display: flex; align-items: baseline; justify-content: space-between; margin: 48px 0 20px; gap: 12px; }
.section-head h2 { margin: 0; font-size: 26px; font-weight: 600; letter-spacing: -.025em; }
@media (max-width: 560px) { .section-head { margin-top: 36px; } .section-head h2 { font-size: 22px; } }

/* ---------- vitrine de categorias ---------- */
/* carrossel genérico */
.car-nav { display: flex; gap: 8px; flex: none; }
.car-btn { width: 40px; height: 40px; border-radius: 999px; border: 1px solid var(--line); background: #fff; display: grid; place-items: center; transition: all .15s; }
.car-btn:hover:not(:disabled) { border-color: var(--ink); background: var(--ink); color: #fff; }
.car-btn:disabled { opacity: .35; cursor: default; }
.car-btn.prev svg { transform: rotate(90deg); }
.car-btn.next svg { transform: rotate(-90deg); }
@media (max-width: 720px) { .car-nav { display: none; } }
.carousel { position: relative; }
.carousel::before, .carousel::after { content: ''; position: absolute; top: 0; bottom: 0; width: 48px; pointer-events: none; z-index: 2; transition: opacity .2s; }
.carousel::before { left: 0; background: linear-gradient(90deg, #fff, rgba(255, 255, 255, 0)); }
.carousel::after { right: 0; background: linear-gradient(270deg, #fff, rgba(255, 255, 255, 0)); }
.carousel.at-start::before, .carousel.at-end::after { opacity: 0; }
.car-track { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; cursor: grab; user-select: none; }
.car-track::-webkit-scrollbar { display: none; }
.car-track.dragging { cursor: grabbing; scroll-snap-type: none; }
.car-track.dragging * { pointer-events: none; }
.car-track > * { scroll-snap-align: start; flex: none; }
.car-track img { -webkit-user-drag: none; }
@media (max-width: 720px) {
  .carousel { margin: 0 -16px; }
  .carousel::before, .carousel::after { display: none; }
  .car-track { padding: 0 16px; scroll-padding: 0 16px; gap: 12px; }
}

/* ---------- carrossel de categorias ---------- */
.cat-tile { position: relative; width: 190px; aspect-ratio: 4 / 5; border-radius: 20px; overflow: hidden; background: var(--surface); display: block; isolation: isolate; }
.cat-tile__img { position: absolute; inset: 0; }
.cat-tile__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.cat-tile::after { content: ''; position: absolute; inset: 40% 0 0; background: linear-gradient(180deg, rgba(17, 17, 20, 0), rgba(17, 17, 20, .72)); z-index: 1; }
.cat-tile__name, .cat-tile__count { position: absolute; left: 16px; right: 16px; z-index: 2; color: #fff; }
.cat-tile__name { bottom: 34px; font-size: 16px; font-weight: 600; line-height: 1.2; letter-spacing: -.01em; }
.cat-tile__count { bottom: 14px; font-size: 12px; color: rgba(255, 255, 255, .75); }
.cat-tile:hover .cat-tile__img img { transform: scale(1.06); }
@media (max-width: 720px) { .cat-tile { width: 142px; border-radius: 16px; } .cat-tile__name { font-size: 14px; bottom: 30px; left: 12px; right: 12px; } .cat-tile__count { left: 12px; bottom: 11px; } }

/* ---------- produtos já entregues ---------- */
.section-sub { margin: 4px 0 0; color: var(--muted); font-size: 15px; }
.deliv { position: relative; width: 280px; aspect-ratio: 4 / 5; border-radius: 20px; overflow: hidden; border: 0; padding: 0; background: var(--surface); display: block; text-align: left; }
.deliv img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.deliv:hover img { transform: scale(1.04); }
.deliv__cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 18px 16px; background: linear-gradient(180deg, rgba(17, 17, 20, 0), rgba(17, 17, 20, .75)); color: #fff; display: grid; gap: 2px; }
.deliv__cap b { font-size: 15px; font-weight: 600; line-height: 1.3; }
.deliv__cap small { font-size: 12px; color: rgba(255, 255, 255, .75); }
@media (max-width: 720px) { .deliv { width: 72vw; max-width: 280px; border-radius: 16px; } }

/* visualizador de fotos */
.lightbox { position: fixed; inset: 0; z-index: 150; background: rgba(10, 10, 12, .92); display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; padding: 24px; opacity: 0; transition: opacity .2s; }
.lightbox.open { opacity: 1; }
.lightbox figure { margin: 0; display: grid; justify-items: center; gap: 14px; min-width: 0; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 140px); border-radius: 14px; object-fit: contain; }
.lightbox figcaption { color: #fff; text-align: center; display: grid; gap: 2px; font-size: 14px; }
.lightbox figcaption span { color: rgba(255, 255, 255, .7); }
.lightbox figcaption em { font-style: normal; font-size: 12px; color: rgba(255, 255, 255, .5); }
.lb-close, .lb-nav { width: 46px; height: 46px; border-radius: 999px; border: 0; background: rgba(255, 255, 255, .1); color: #fff; display: grid; place-items: center; transition: background .15s; }
.lb-close:hover, .lb-nav:hover { background: rgba(255, 255, 255, .22); }
.lb-close { position: absolute; top: 16px; right: 16px; }
.lb-nav.prev svg { transform: rotate(90deg); }
.lb-nav.next svg { transform: rotate(-90deg); }
@media (max-width: 640px) { .lightbox { grid-template-columns: 1fr; padding: 16px; } .lb-nav { display: none; } }

/* ---------- topo de categoria/busca ---------- */
.page-hero { padding: 8px 0 8px; }
.page-hero h1 { font-size: clamp(30px, 4vw, 44px); font-weight: 600; letter-spacing: -.035em; line-height: 1.1; margin: 4px 0 8px; }
.page-hero p { margin: 0; color: var(--muted); }

/* ---------- catálogo: menu lateral + grid ---------- */
.catalog { display: grid; grid-template-columns: 220px 1fr; gap: 40px; padding: 48px 0 80px; scroll-margin-top: 70px; align-items: start; }
#page-hero:not([hidden]) + .catalog { padding-top: 28px; }
.filters { position: sticky; top: 88px; }
.filters h4 { margin: 0 0 10px; font-size: 13px; font-weight: 600; color: var(--muted); }
.filters nav { display: grid; gap: 1px; max-height: calc(100vh - 140px); overflow-y: auto; }
.filters a { display: flex; justify-content: space-between; gap: 10px; padding: 8px 12px; border-radius: 10px; font-size: 14px; color: var(--ink-2); transition: background .15s; }
.filters a em { font-style: normal; font-size: 12px; color: var(--muted); }
.filters a:hover { background: var(--surface); color: var(--ink); }
.filters a.active { background: var(--ink); color: #fff; font-weight: 500; }
.filters a.active em { color: rgba(255, 255, 255, .6); }
.catalog__bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 20px; flex-wrap: wrap; }
.catalog__title { display: flex; align-items: baseline; gap: 12px; }
.catalog__title h2 { margin: 0; font-size: 22px; font-weight: 600; letter-spacing: -.02em; }
.catalog__title span { color: var(--muted); font-size: 14px; }
.catalog__tools { display: flex; gap: 8px; }
.select-sm { height: 40px; border-radius: 999px; font-size: 14px; padding: 0 36px 0 14px; width: auto; }
.only-mobile { display: none; }
@media (max-width: 900px) {
  .catalog { grid-template-columns: 1fr; gap: 0; padding-top: 36px; }
  .filters { display: none; }
  .only-mobile { display: block; }
  .catalog__tools { width: 100%; }
  .catalog__tools .select-wrap { flex: 1; }
  .catalog__tools .select { width: 100%; }
}

/* ---------- grid / card ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 36px 20px; align-items: start; }
@media (max-width: 560px) { .grid { grid-template-columns: repeat(2, 1fr); gap: 28px 12px; } }
.card { display: flex; flex-direction: column; min-width: 0; }
.card__img { display: block; aspect-ratio: 1; background: var(--surface); position: relative; border-radius: var(--radius); overflow: hidden; }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); mix-blend-mode: multiply; }
.card:hover .card__img img { transform: scale(1.04); }
.badge { position: absolute; top: 10px; left: 10px; background: #fff; color: var(--green); font-size: 12px; font-weight: 600; border-radius: 999px; padding: 3px 9px; }
.card__body { padding: 12px 2px 0; display: flex; flex-direction: column; gap: 2px; }
.card__name { font-size: 15px; font-weight: 500; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card__name:hover { text-decoration: underline; text-underline-offset: 3px; }
.card__price { font-size: 15px; font-weight: 600; margin-top: 6px; }
.card__price small { font-size: 13px; color: var(--muted); font-weight: 400; }
.card__min { font-size: 12px; color: var(--muted); }
@media (max-width: 560px) { .card__name, .card__price { font-size: 14px; } }

/* botão "Preço por quantidade" do card */
.qty-btn { margin-top: 12px; width: 100%; display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--green-line); background: var(--green-soft); color: var(--green); font-size: 13px; font-weight: 600; transition: background .15s, border-color .15s; }
.qty-btn:hover { border-color: var(--green); }
.qty-btn .s { display: none; }
.qty-btn span { flex: 1; text-align: left; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.qty-btn__chev { display: grid; transition: transform .2s var(--ease); }
.qty-btn[aria-expanded='true'] .qty-btn__chev { transform: rotate(180deg); }
.qty-list { margin-top: 8px; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; animation: drop .2s var(--ease); }
@keyframes drop { from { opacity: 0; transform: translateY(-4px); } }
.qty-list a { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 9px 12px; font-size: 13px; border-top: 1px solid var(--line); transition: background .15s; }
.qty-list a:first-child { border-top: 0; }
.qty-list a:hover { background: var(--surface); }
.qty-list span { color: var(--ink-2); white-space: nowrap; }
.qty-list em { font-style: normal; color: var(--green); font-weight: 600; font-size: 11px; margin-left: 2px; }
.qty-list b { font-weight: 600; white-space: nowrap; }
@media (max-width: 560px) { .qty-btn .l { display: none; } .qty-btn .s { display: block; } .qty-btn { font-size: 12px; padding: 0 10px; gap: 6px; height: 36px; } .qty-btn > svg { display: none; } .qty-list a { padding: 8px 10px; font-size: 12px; } }

.empty { text-align: center; padding: 72px 16px; color: var(--muted); grid-column: 1 / -1; }
.empty b { color: var(--ink); }
.skeleton { background: linear-gradient(90deg, var(--surface) 0, #fafafb 50%, var(--surface) 100%); background-size: 200% 100%; animation: sk 1.2s infinite; border-radius: var(--radius); aspect-ratio: .8; }
@keyframes sk { to { background-position: -200% 0; } }

/* ---------- página de produto ---------- */
.crumbs { font-size: 13px; color: var(--muted); padding: 20px 0 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.crumbs a:hover { color: var(--ink); }
.crumbs span { color: var(--ink-2); }
.pdp { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 56px; align-items: start; }
@media (max-width: 960px) { .pdp { grid-template-columns: 1fr; gap: 28px; } }

.gallery { position: sticky; top: 88px; display: grid; gap: 12px; }
.gallery.has-thumbs { grid-template-columns: 72px 1fr; }
@media (max-width: 960px) { .gallery { position: static; } .gallery.has-thumbs { grid-template-columns: 1fr; } .gallery__thumbs { order: 2; flex-direction: row !important; } }
.gallery__main { position: relative; aspect-ratio: 1; background: var(--surface); border-radius: 24px; overflow: hidden; }
.gallery__main img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.gal-nav { position: absolute; top: 50%; width: 40px; height: 40px; margin-top: -20px; border-radius: 999px; border: 0; background: #fff; display: grid; place-items: center; box-shadow: 0 4px 14px rgba(0, 0, 0, .08); opacity: 0; transition: opacity .2s; }
.gal-nav.prev { left: 14px; } .gal-nav.prev svg { transform: rotate(90deg); }
.gal-nav.next { right: 14px; } .gal-nav.next svg { transform: rotate(-90deg); }
.gallery__main:hover .gal-nav { opacity: 1; }
@media (hover: none) { .gal-nav { opacity: 1; } }
.gallery__thumbs { display: flex; flex-direction: column; gap: 8px; overflow: auto; }
.gallery__thumbs button { flex: none; width: 72px; height: 72px; border-radius: 12px; overflow: hidden; border: 1.5px solid transparent; padding: 0; background: var(--surface); opacity: .55; transition: all .15s; }
.gallery__thumbs button.active, .gallery__thumbs button:hover { border-color: var(--ink); opacity: 1; }
.gallery__thumbs img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; }

.info__cat { display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.info__cat:hover { color: var(--ink); }
.info h1 { font-size: clamp(28px, 3.2vw, 38px); font-weight: 600; line-height: 1.1; margin: 8px 0 12px; letter-spacing: -.035em; }
.info__meta { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 24px; }
.info__meta span { font-size: 12px; color: var(--ink-2); background: var(--surface); padding: 4px 10px; border-radius: 999px; }
.info__meta .ok { background: var(--green-soft); color: var(--green); }

.price-card { background: var(--surface); border-radius: 20px; padding: 22px 24px; }
.price-card__top { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; }
.price-card__label { font-size: 13px; color: var(--muted); margin-bottom: 6px; }
.price-big { font-size: 44px; font-weight: 600; letter-spacing: -.035em; line-height: 1; }
.price-big small { font-size: 16px; font-weight: 400; color: var(--muted); margin-left: 4px; letter-spacing: 0; }
.price-card__save { text-align: right; display: grid; gap: 4px; justify-items: end; }
.price-card__save s { color: var(--muted); font-size: 14px; }
.price-card__save span { background: var(--green); color: #fff; font-weight: 600; font-size: 13px; padding: 3px 10px; border-radius: 999px; }
.price-card__total { display: flex; justify-content: space-between; margin-top: 16px; padding-top: 14px; border-top: 1px solid #e3e3e8; font-size: 14px; color: var(--ink-2); }
.price-card__total b { font-weight: 600; color: var(--ink); font-size: 16px; }
.price-card__note { margin-top: 6px; font-size: 13px; color: var(--green); font-weight: 500; }
@media (max-width: 420px) { .price-big { font-size: 36px; } .price-card { padding: 18px; } }

.tiers-block { margin-top: 24px; }
.tiers-block__head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 10px; }
.tiers-block__title { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.tiers-block__title svg { color: var(--green); }
.tiers-block__sub { font-size: 12px; color: var(--muted); }
.tiers { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.tier { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 13px 18px; border: 0; border-top: 1px solid var(--line); width: 100%; background: #fff; text-align: left; font: inherit; color: inherit; cursor: pointer; position: relative; transition: background .15s; }
.tier:first-child { border-top: 0; }
.tier:hover { background: #fafafb; }
.tier__qty { font-weight: 500; font-size: 15px; }
.tier__qty small { font-weight: 400; font-size: 14px; color: var(--muted); }
.tier__right { display: flex; align-items: center; gap: 12px; }
.tier__off { color: var(--green); font-weight: 600; font-size: 12px; background: var(--green-soft); padding: 2px 8px; border-radius: 999px; }
.tier__price { font-weight: 600; font-size: 15px; min-width: 84px; text-align: right; }
.tier.active { background: var(--green-soft); }
.tier.active::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--green); }
.tier.active .tier__qty, .tier.active .tier__price { color: var(--green); }
.tier.active .tier__off { background: var(--green); color: #fff; }

.qty-row { display: flex; gap: 12px; margin-top: 24px; flex-wrap: wrap; }
.qty-row > label { flex: 1; min-width: 140px; }
.field-label { display: block; font-size: 13px; font-weight: 500; color: var(--ink-2); margin-bottom: 8px; }
.stepper { display: flex; align-items: center; border: 1px solid var(--line); border-radius: 12px; height: 50px; overflow: hidden; background: #fff; transition: border-color .15s; }
.stepper:focus-within { border-color: var(--ink); }
.stepper button { width: 46px; height: 100%; border: 0; background: transparent; font-size: 20px; color: var(--ink-2); }
.stepper button:hover { background: var(--surface); }
.stepper input { flex: 1; min-width: 0; height: 100%; border: 0; text-align: center; font-size: 16px; font-weight: 600; outline: none; -moz-appearance: textfield; background: transparent; }
.stepper input::-webkit-inner-spin-button { -webkit-appearance: none; }
.select { width: 100%; height: 50px; border: 1px solid var(--line); border-radius: 12px; padding: 0 36px 0 14px; background: #fff; outline: none; appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%237a7a85' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; cursor: pointer; }
.select.select-sm { height: 40px; border-radius: 999px; }
.hint { display: flex; gap: 10px; align-items: center; font-size: 13px; color: var(--ink-2); background: var(--surface); border-radius: 12px; padding: 12px 14px; margin-top: 12px; }
.hint svg { flex: none; color: var(--green); }
.hint:empty { display: none; }
.hint b { color: var(--ink); font-weight: 600; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 52px; padding: 0 22px; border-radius: 999px; border: 0; font-weight: 500; font-size: 15px; transition: all .2s var(--ease); white-space: nowrap; }
.btn-block { width: 100%; }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: #2b2b31; }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { filter: brightness(.95); }
.btn-ghost { background: transparent; border: 1px solid var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.buy__actions { display: grid; gap: 8px; margin-top: 20px; }

.perks { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.perks li { display: flex; gap: 14px; align-items: center; padding: 14px 18px; background: #fff; }
.perks svg { flex: none; color: var(--ink-2); }
.perks b { display: block; font-size: 14px; font-weight: 600; }
.perks span { font-size: 13px; color: var(--muted); }

.pdp-desc { margin-top: 64px; padding-top: 40px; border-top: 1px solid var(--line); display: grid; grid-template-columns: 220px 1fr; gap: 40px; }
.pdp-desc h2 { margin: 0; font-size: 22px; font-weight: 600; letter-spacing: -.02em; }
.desc { color: var(--ink-2); white-space: pre-line; font-size: 15px; line-height: 1.7; max-width: 720px; }
@media (max-width: 760px) { .pdp-desc { grid-template-columns: 1fr; gap: 12px; margin-top: 40px; padding-top: 28px; } }
.related { padding-bottom: 72px; }
.delivered { border-top: 1px solid var(--line); padding-bottom: 24px; }
.delivered .section-head { margin-top: 56px; }
.catalog:has(+ .delivered:not([hidden])) { padding-bottom: 64px; }

/* barra fixa (celular) */
.sticky-buy { display: none; }
@media (max-width: 960px) {
  .sticky-buy:not([hidden]) { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .94); backdrop-filter: blur(12px); border-top: 1px solid var(--line); animation: up .25s var(--ease); }
  .sticky-buy small { display: block; font-size: 12px; color: var(--muted); }
  .sticky-buy b { font-size: 18px; font-weight: 600; }
  .sticky-buy .btn { height: 46px; }
  body.sticky-on .wa-float { bottom: 90px; }
}
@keyframes up { from { transform: translateY(100%); } }

/* ---------- drawer do carrinho ---------- */
.overlay { position: fixed; inset: 0; background: rgba(17, 17, 20, .32); backdrop-filter: blur(2px); z-index: 80; opacity: 0; pointer-events: none; transition: opacity .25s; }
.overlay.open { opacity: 1; pointer-events: auto; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(440px, 100%); background: #fff; z-index: 90; transform: translateX(100%); transition: transform .35s var(--ease); display: flex; flex-direction: column; }
.drawer.open { transform: none; box-shadow: -20px 0 60px rgba(0, 0, 0, .08); }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 20px 24px; }
.drawer__head h3 { margin: 0; font-size: 18px; font-weight: 600; letter-spacing: -.01em; }
.icon-btn { width: 38px; height: 38px; border-radius: 999px; border: 0; background: transparent; display: grid; place-items: center; }
.icon-btn:hover { background: var(--surface); }
.drawer__body { flex: 1; overflow-y: auto; padding: 0 24px; }
.drawer__foot { border-top: 1px solid var(--line); padding: 18px 24px 22px; background: #fff; }
.ci { display: grid; grid-template-columns: 76px 1fr; gap: 14px; padding: 18px 0; border-top: 1px solid var(--line); }
.ci:first-child { border-top: 0; }
.ci__img { width: 76px; height: 76px; border-radius: 12px; overflow: hidden; background: var(--surface); }
.ci__img img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; }
.ci__top { display: flex; justify-content: space-between; gap: 8px; }
.ci__name { font-weight: 500; font-size: 14px; line-height: 1.35; }
.ci__opt { font-size: 13px; color: var(--muted); }
.ci__row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 10px; }
.ci .stepper { height: 36px; border-radius: 999px; width: 120px; }
.ci .stepper button { width: 34px; font-size: 17px; }
.ci .stepper input { font-size: 14px; }
.ci__unit { font-size: 12px; color: var(--muted); text-align: right; }
.ci__sub { font-weight: 600; text-align: right; font-size: 14px; }
.ci__hint { font-size: 12px; color: var(--green); margin-top: 8px; }
.ci__rm { border: 0; background: none; color: var(--muted); padding: 2px; height: 24px; flex: none; }
.ci__rm:hover { color: var(--ink); }
.totals { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 2px; }
.totals b { font-size: 20px; font-weight: 600; }
.totals-note { font-size: 12px; color: var(--muted); margin-bottom: 16px; }
.cart-empty { text-align: center; color: var(--muted); padding: 72px 10px; font-size: 14px; }
.cart-empty svg { margin: 0 auto 14px; color: #c9c9d1; }
.cart-empty b { color: var(--ink); font-weight: 600; }

/* ---------- modal ---------- */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 16px; pointer-events: none; opacity: 0; transition: opacity .2s; background: rgba(17, 17, 20, .32); backdrop-filter: blur(2px); }
.modal.open { pointer-events: auto; opacity: 1; }
.modal__box { background: #fff; width: min(460px, 100%); border-radius: 22px; padding: 28px; max-height: calc(100vh - 32px); overflow-y: auto; box-shadow: 0 30px 80px rgba(0, 0, 0, .18); transform: translateY(10px); transition: transform .25s var(--ease); }
.modal.open .modal__box { transform: none; }
.modal__box h3 { margin: 0 0 6px; font-size: 20px; font-weight: 600; letter-spacing: -.02em; }
.modal__box p { margin: 0 0 20px; color: var(--muted); font-size: 14px; }
.form-grid { display: grid; gap: 10px; }
.input { width: 100%; height: 48px; border: 1px solid var(--line); border-radius: 12px; padding: 0 14px; outline: none; background: #fff; transition: border-color .15s; }
textarea.input { height: 92px; padding: 12px 14px; resize: vertical; }
.input:focus, .select:focus { border-color: var(--ink); }

/* ---------- rodapé ---------- */
.footer { position: relative; background: #141217; margin-top: 88px; padding: 0 0 28px; font-size: 14px; color: rgba(255, 255, 255, .72); }
.footer::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, #ffc531, #ff5a7a 30%, #e2187f 55%, #7b3fe4 78%, #1ea7f0); }
.footer__cta { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; background: linear-gradient(110deg, #ff7a3d 0%, #e2187f 45%, #7b3fe4 100%); color: #fff; border-radius: 24px; padding: 32px 36px; transform: translateY(-48px); margin-bottom: -12px; box-shadow: 0 20px 50px rgba(226, 24, 127, .25); }
.footer__cta h3 { margin: 0 0 4px; font-size: 22px; font-weight: 600; letter-spacing: -.02em; }
.footer__cta p { margin: 0; color: rgba(255, 255, 255, .85); }
.footer__cta .btn-wa { background: #fff; color: var(--ink); }
.footer__cta .btn-wa svg { color: var(--wa); }
.footer__cta .btn-wa:hover { filter: none; background: #f3f3f5; }
@media (max-width: 560px) { .footer__cta { padding: 24px; border-radius: 20px; } .footer__cta .btn { width: 100%; } }
.footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: 40px; }
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px 24px; } }
@media (max-width: 520px) { .footer__grid { grid-template-columns: 1fr; } }
.footer__brand img { height: 64px; background: #fff; border-radius: 14px; padding: 8px 16px; }
.footer__brand p { margin: 16px 0 18px; color: rgba(255, 255, 255, .6); max-width: 300px; }
.social { display: flex; gap: 8px; }
.social a { width: 38px; height: 38px; border-radius: 999px; background: rgba(255, 255, 255, .08); display: grid; place-items: center; color: #fff; transition: background .15s, color .15s; }
.social a:hover { background: #fff; color: var(--ink); }
.social svg { width: 18px; height: 18px; }
.footer h4 { margin: 0 0 14px; font-size: 13px; font-weight: 600; color: #fff; letter-spacing: .02em; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.footer ul a { color: rgba(255, 255, 255, .72); transition: color .15s; }
.footer ul a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.footer__info li { display: flex; gap: 10px; align-items: flex-start; }
.footer__info svg { flex: none; width: 18px; height: 18px; color: rgba(255, 255, 255, .45); margin-top: 1px; }
.footer .link-arrow { color: #fff; }
.footer__map { margin-top: 40px; border-radius: 20px; overflow: hidden; height: 280px; background: #24222a; border: 1px solid rgba(255, 255, 255, .08); }
.footer__map iframe { width: 100%; height: 100%; border: 0; display: block; filter: grayscale(.3) contrast(1.02); }
@media (max-width: 560px) { .footer__map { height: 220px; border-radius: 16px; } }
.footer__bottom { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 28px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 12px; color: rgba(255, 255, 255, .45); }

/* ---------- toast / wa ---------- */
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); background: var(--ink); color: #fff; padding: 11px 18px; border-radius: 999px; font-size: 14px; z-index: 120; opacity: 0; transition: all .25s var(--ease); pointer-events: none; white-space: nowrap; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
body.sticky-on .toast { bottom: 96px; }
.wa-float { position: fixed; right: 20px; bottom: 20px; width: 54px; height: 54px; border-radius: 999px; background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 8px 24px rgba(0, 0, 0, .14); z-index: 50; transition: transform .2s var(--ease), bottom .25s var(--ease); }
.wa-float svg { width: 24px; height: 24px; }
.wa-float:hover { transform: scale(1.06); }

/* ver mais produtos */
.more { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-top: 44px; }
.more span { font-size: 13px; color: var(--muted); }
.more .btn { min-width: 240px; }
