/* Rosa & Carvão — estilos da loja
   Rosa (coral da marca + blush), carvão (texto) e papel pautado de caderno. */

:root {
  --rosa: #c8665b;
  --rosa-escuro: #9e463d;
  --blush: #f3d3cc;
  --blush-claro: #faece8;
  --carvao: #2b2726;
  --grafite: #6e6461;
  --papel: #fcf6f4;
  --pauta: #bbcde2;
  --linha: #ecdcd6;
  --branco: #fff;
  --ok: #2f7a47;
  --erro: #b13a2e;
  --washi-a: #e9b8ad;
  --washi-b: #c9d9ea;

  --f-ui: "Jost", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-marca: "Shantell Sans", "Jost", system-ui, sans-serif;

  --r-sm: 8px;
  --r-md: 14px;
  --r-pill: 999px;
  --wrap: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }

body {
  margin: 0;
  font-family: var(--f-ui);
  font-size: 16px;
  line-height: 1.55;
  color: var(--carvao);
  background: var(--papel);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--rosa-escuro); text-underline-offset: 3px; }
a:hover { color: var(--rosa); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; }
h1, h2 { font-family: var(--f-marca); font-weight: 700; letter-spacing: -.01em; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--rosa); outline-offset: 2px; border-radius: 4px; }
.container { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.muted { color: var(--grafite); }
.small { font-size: .875rem; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--carvao); color: #fff; padding: 8px 14px; z-index: 100; border-radius: var(--r-sm); }
.skip:focus { left: 8px; }
.only-mobile { display: none !important; }
[hidden] { display: none !important; }
.ico { flex-shrink: 0; }

/* ---------- Botões e formulários ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--rosa); color: #fff; border: 2px solid var(--rosa);
  padding: 10px 20px; border-radius: var(--r-pill);
  font-weight: 500; text-decoration: none; cursor: pointer; line-height: 1.2;
  transition: background .15s, border-color .15s, transform .1s;
}
.btn:hover { background: var(--rosa-escuro); border-color: var(--rosa-escuro); color: #fff; }
.btn:active { transform: translateY(1px); }
.btn:disabled, .btn[aria-busy="true"] { opacity: .6; cursor: progress; }
.btn-sm { padding: 7px 14px; font-size: .9rem; }
.btn-lg { padding: 13px 26px; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn-ghost { background: transparent; color: var(--rosa-escuro); border-color: var(--rosa); }
.btn-ghost:hover { background: var(--blush-claro); color: var(--rosa-escuro); }
.btn-dark { background: var(--carvao); border-color: var(--carvao); }
.btn-dark:hover { background: #000; border-color: #000; }
.link-btn { background: none; border: 0; padding: 4px 0; color: var(--grafite); cursor: pointer; display: inline-flex; align-items: center; gap: 4px; font-size: .875rem; }
.link-btn:hover { color: var(--erro); }
.icon-btn { background: none; border: 0; padding: 6px; cursor: pointer; color: var(--carvao); border-radius: var(--r-sm); }

label { font-weight: 500; }
input[type=text], input[type=email], input[type=password], input[type=tel], input[type=number], input[type=search], input[type=date], input:not([type]), select, textarea {
  width: 100%; padding: 11px 14px; border: 1.5px solid var(--linha); border-radius: var(--r-sm);
  background: #fff; font-size: 1rem; transition: border-color .15s;
}
input:focus, select:focus, textarea:focus { border-color: var(--rosa); outline: none; box-shadow: 0 0 0 3px rgba(200, 102, 91, .18); }
textarea { min-height: 110px; resize: vertical; }
.field { margin-bottom: 14px; }
.field label { display: block; margin-bottom: 5px; font-size: .95rem; }
.hint { font-size: .82rem; color: var(--grafite); margin-top: 4px; }
.field-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 0 14px; }
.check { display: flex; align-items: center; gap: 8px; font-weight: 400; margin: 8px 0; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--rosa); }
.err, .field-error { color: var(--erro); font-size: .9rem; }
.inline-form { display: flex; gap: 8px; }
.inline-form input { flex: 1; min-width: 0; }

/* ---------- Mensagens ---------- */
.flashes { margin-top: 16px; }
.flash { padding: 12px 16px; border-radius: var(--r-sm); margin-bottom: 8px; border-left: 4px solid; background: #fff; }
.flash-ok { border-color: var(--ok); background: #eef7f0; }
.flash-erro { border-color: var(--erro); background: #fcefed; }
.flash-info { border-color: var(--rosa); background: var(--blush-claro); }
.toast {
  position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%);
  background: var(--carvao); color: #fff; padding: 12px 18px; border-radius: var(--r-pill);
  z-index: 60; display: flex; gap: 12px; align-items: center; box-shadow: 0 8px 24px rgba(43, 39, 38, .25);
  max-width: calc(100% - 32px);
}
.toast a { color: var(--blush); font-weight: 600; white-space: nowrap; }

/* ---------- Cabeçalho ---------- */
.topbar { background: var(--carvao); color: #f4e6e1; font-size: .85rem; text-align: center; padding: 6px 0; }
.site-header { background: #fff; border-bottom: 1px solid var(--linha); position: sticky; top: 0; z-index: 40; }
.header-main { display: flex; align-items: center; gap: 24px; padding-top: 10px; padding-bottom: 10px; }
.brand img { width: 84px; height: 84px; }
.search { flex: 1; display: flex; align-items: center; gap: 8px; border: 1.5px solid var(--linha); border-radius: var(--r-pill); padding: 4px 4px 4px 16px; background: var(--papel); max-width: 560px; }
.search:focus-within { border-color: var(--rosa); }
.search .ico { color: var(--grafite); }
.search input { border: 0; background: transparent; padding: 8px 0; box-shadow: none !important; }
.header-actions { display: flex; align-items: center; gap: 20px; margin-left: auto; }
.action { display: flex; align-items: center; gap: 8px; text-decoration: none; color: var(--carvao); line-height: 1.2; }
.action span { display: flex; flex-direction: column; font-weight: 600; color: var(--rosa-escuro); }
.action small { font-size: .82rem; font-weight: 400; color: var(--carvao); }
.cart-link { position: relative; color: var(--carvao); padding: 6px; }
.cart-badge { position: absolute; top: -2px; right: -4px; background: var(--rosa); color: #fff; font-size: .72rem; font-weight: 600; min-width: 20px; height: 20px; border-radius: 10px; display: grid; place-items: center; padding: 0 5px; }
.cart-badge.bump { animation: bump .35s ease; }
@keyframes bump { 50% { transform: scale(1.35); } }
.menu-toggle, .menu-close { display: none; }

.main-nav { border-top: 1px solid var(--linha); }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; flex-wrap: wrap; justify-content: center; }
.main-nav a { display: block; padding: 11px 14px; text-decoration: none; color: var(--carvao); font-weight: 500; border-bottom: 3px solid transparent; }
.main-nav a:hover { color: var(--rosa-escuro); }
.main-nav a[aria-current] { border-bottom-color: var(--rosa); color: var(--rosa-escuro); }

/* ---------- Hero: papel de caderno com fita washi ---------- */
.hero {
  background-color: #fffdfc;
  background-image:
    linear-gradient(90deg, transparent 0 63px, rgba(200, 102, 91, .35) 63px 65px, transparent 65px),
    repeating-linear-gradient(0deg, transparent 0 31px, var(--pauta) 31px 32px);
  border-bottom: 1px solid var(--linha);
  overflow: hidden;
}
.hero-inner { display: grid; grid-template-columns: 1.25fr .75fr; gap: 40px; align-items: center; padding-top: 56px; padding-bottom: 64px; padding-left: 96px; }
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.9rem); line-height: 1.05; color: var(--carvao); max-width: 14ch; margin-bottom: 18px; }
.hero p { font-size: 1.2rem; max-width: 44ch; color: #4b4341; margin: 0 0 28px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-cta .btn-ghost { background: #fff; }
.hero-art { position: relative; justify-self: center; transform: rotate(4deg); }
.hero-art img { width: min(300px, 60vw); height: auto; filter: drop-shadow(0 14px 22px rgba(158, 70, 61, .25)); }
.tape { position: absolute; width: 120px; height: 30px; opacity: .85; z-index: 2;
  background: repeating-linear-gradient(45deg, rgba(255,255,255,.35) 0 6px, transparent 6px 12px), var(--washi-a); }
.tape-a { top: 6px; left: -30px; transform: rotate(-32deg); }
.tape-b { bottom: 34px; right: -38px; transform: rotate(-24deg); background-color: var(--washi-b); }
.scribble { position: absolute; left: -10%; bottom: -26px; width: 120%; color: var(--rosa); opacity: .55; }

.banner-slider { position: relative; background: var(--blush-claro); }
.slides { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.slides::-webkit-scrollbar { display: none; }
.slide { flex: 0 0 100%; scroll-snap-align: start; }
.slide img { width: 100%; max-height: 520px; object-fit: cover; }
.dots { position: absolute; bottom: 14px; left: 0; right: 0; display: flex; gap: 8px; justify-content: center; }
.dots button { width: 10px; height: 10px; border-radius: 50%; border: 2px solid #fff; background: rgba(255,255,255,.4); padding: 0; cursor: pointer; }
.dots button[aria-current] { background: #fff; }
.slide-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgba(255,255,255,.85); color: var(--carvao); font-size: 30px; line-height: 1; cursor: pointer; box-shadow: 0 2px 10px rgba(0,0,0,.15); opacity: 0; transition: opacity .2s; }
.slide-arrow.prev { left: 16px; } .slide-arrow.next { right: 16px; }
.banner-slider:hover .slide-arrow, .slide-arrow:focus-visible { opacity: 1; }
@media (max-width: 640px) { .slide-arrow { display: none; } }

/* ---------- Categorias em adesivos ---------- */
.cats { padding-top: 36px; }
.cat-row { list-style: none; display: flex; gap: 28px; justify-content: center; flex-wrap: wrap; padding: 0; margin: 0; }
.cat-sticker { display: flex; flex-direction: column; align-items: center; gap: 10px; text-decoration: none; color: var(--carvao); font-weight: 500; width: 128px; text-align: center; }
.cat-img { width: 112px; height: 112px; border-radius: 50%; overflow: hidden; display: grid; place-items: center; border: 4px solid #fff; box-shadow: 0 0 0 1.5px var(--linha); transition: transform .2s; }
.cat-sticker:hover .cat-img { transform: rotate(-6deg) scale(1.04); }
.cat-img img { width: 100%; height: 100%; object-fit: cover; }
.cat-img span { font-family: var(--f-marca); font-size: 2.6rem; font-weight: 700; color: #fff; }
.cat-img.c0 { background: var(--rosa); } .cat-img.c1 { background: var(--carvao); } .cat-img.c2 { background: #8fa9c6; }
.cat-img.c3 { background: var(--rosa-escuro); } .cat-img.c4 { background: #d9a49b; }

/* ---------- Vitrines ---------- */
.shelf { padding-top: 48px; }
.shelf-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 18px; }
.shelf-head h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin: 0; }
.shelf-head p { margin: 4px 0 0; color: var(--grafite); }
.link-more { font-weight: 600; text-decoration: none; white-space: nowrap; display: inline-block; margin-top: 8px; }
.link-more:hover { text-decoration: underline; }
.grid-products { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

.card { background: #fff; border: 1px solid var(--linha); border-radius: var(--r-md); overflow: hidden; display: flex; flex-direction: column; }
.card-img { position: relative; aspect-ratio: 1; background: var(--blush-claro); display: block; }
.card-img img { width: 100%; height: 100%; object-fit: cover; }
.card:hover .card-img img { opacity: .93; }
.tag { position: absolute; top: 10px; left: 10px; padding: 3px 10px; border-radius: var(--r-pill); font-size: .8rem; font-weight: 600; }
.tag-sale { background: var(--rosa); color: #fff; }
.tag-out { background: var(--carvao); color: #fff; }
.card-body { padding: 14px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card-title { font-family: var(--f-ui); font-size: .98rem; font-weight: 500; margin: 0; line-height: 1.35;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.7em; }
.card-title a { color: var(--carvao); text-decoration: none; }
.card-title a:hover { color: var(--rosa-escuro); }
.card-price { margin-top: auto; display: flex; flex-direction: column; line-height: 1.3; }
.card-price s { color: var(--grafite); font-size: .85rem; }
.card-price strong { font-size: 1.25rem; color: var(--carvao); }
.card-price small { color: var(--grafite); font-size: .82rem; }
.btn-add { padding: 9px 14px; }

/* ---------- Benefícios ---------- */
.perks { margin-top: 56px; background: var(--blush-claro); border-top: 1px dashed #e4bdb4; border-bottom: 1px dashed #e4bdb4; }
.perks-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; padding-top: 32px; padding-bottom: 32px; }
.perks-grid .ico { color: var(--rosa-escuro); margin-bottom: 8px; }
.perks-grid h3 { font-size: 1.02rem; margin: 0 0 4px; }
.perks-grid p { margin: 0; color: #5a504e; font-size: .92rem; }

.insta-band { margin-top: 56px; margin-bottom: 8px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 28px 32px; border-radius: var(--r-md); background: #fff; border: 1.5px dashed var(--rosa); }
.insta-band h2 { font-size: 1.5rem; margin: 0 0 4px; }
.insta-band p { margin: 0; color: var(--grafite); }

/* ---------- Listagem ---------- */
.crumbs { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; font-size: .88rem; color: var(--grafite); padding: 18px 0 6px; }
.crumbs a { color: var(--grafite); text-decoration: none; }
.crumbs a:hover { color: var(--rosa-escuro); text-decoration: underline; }
.crumbs span { color: var(--carvao); }
.listing-head h1, .page-title { font-size: clamp(1.8rem, 4vw, 2.5rem); margin: 6px 0 4px; }
.page-title { margin: 28px 0 20px; }
.listing-head p { margin: 0 0 20px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.chip { padding: 6px 14px; border-radius: var(--r-pill); background: #fff; border: 1px solid var(--linha); text-decoration: none; color: var(--carvao); }
.listing { display: grid; grid-template-columns: 230px 1fr; gap: 32px; align-items: start; }
.filters { position: sticky; top: 160px; background: #fff; border: 1px solid var(--linha); border-radius: var(--r-md); padding: 18px; }
.filters h2 { font-family: var(--f-ui); font-size: 1rem; font-weight: 600; margin: 0 0 8px; }
.filters h2:not(:first-of-type) { margin-top: 18px; }
.filter-cats { list-style: none; padding: 0; margin: 0; }
.filter-cats a { display: block; padding: 5px 0; color: var(--carvao); text-decoration: none; }
.filter-cats a[aria-current] { color: var(--rosa-escuro); font-weight: 600; }
.price-range { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 6px; }
.price-range input { padding: 8px 10px; }
.filters .btn { margin-top: 10px; }
.listing-main .grid-products { grid-template-columns: repeat(3, 1fr); }
.listing-bar { display: flex; justify-content: flex-end; align-items: center; gap: 12px; margin-bottom: 16px; }
.sort { display: flex; align-items: center; gap: 8px; }
.sort label { font-weight: 400; color: var(--grafite); white-space: nowrap; font-size: .92rem; }
.sort select { width: auto; padding: 8px 12px; }
.pagination { display: flex; gap: 6px; justify-content: center; margin: 32px 0 0; flex-wrap: wrap; }
.pagination a, .pagination span { min-width: 40px; height: 40px; display: grid; place-items: center; border-radius: var(--r-sm); border: 1px solid var(--linha); background: #fff; text-decoration: none; color: var(--carvao); padding: 0 10px; }
.pagination .current { background: var(--carvao); color: #fff; border-color: var(--carvao); }
.pagination .dots { border: 0; background: none; }

.empty-state { text-align: center; padding: 56px 20px; }
.empty-ico { font-size: 2.6rem; color: var(--rosa); margin-bottom: 8px; display: flex; justify-content: center; }
.empty-state p { color: var(--grafite); max-width: 44ch; margin: 0 auto 20px; }
.page-narrow { max-width: 720px; }

/* ---------- Produto ---------- */
.product { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; margin-top: 12px; align-items: start; }
.product > * { min-width: 0; } /* não deixa as miniaturas alargarem a página no celular */
.gallery-main { position: relative; background: #fff; border: 1px solid var(--linha); border-radius: var(--r-md); overflow: hidden; aspect-ratio: 1; }
.gallery-main img { width: 100%; height: 100%; object-fit: contain; }
.thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; }
.thumbs button { width: 76px; height: 76px; flex: 0 0 76px; padding: 0; border: 2px solid var(--linha); border-radius: var(--r-sm); overflow: hidden; cursor: pointer; background: #fff; }
.thumbs button[aria-current] { border-color: var(--rosa); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.buybox h1 { font-family: var(--f-ui); font-weight: 600; font-size: clamp(1.4rem, 3vw, 1.9rem); letter-spacing: 0; margin-bottom: 4px; }
.buy-price { display: flex; flex-direction: column; margin: 18px 0; line-height: 1.25; }
.buy-price s { color: var(--grafite); }
.buy-price strong { font-size: 2.2rem; color: var(--carvao); font-weight: 600; }
.buy-price span { color: var(--grafite); }
.short-desc { color: #4b4341; margin-bottom: 18px; }
.add-form { display: flex; flex-wrap: wrap; gap: 12px; }
.add-form .grow { flex: 1; min-width: 200px; }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--linha); border-radius: var(--r-pill); background: #fff; }
.qty button { background: none; border: 0; padding: 0 12px; height: 46px; cursor: pointer; color: var(--carvao); display: grid; place-items: center; }
.qty input { width: 48px; text-align: center; border: 0; padding: 0; height: 46px; -moz-appearance: textfield; box-shadow: none !important; }
.qty input::-webkit-inner-spin-button, .qty input::-webkit-outer-spin-button { -webkit-appearance: none; }
.qty-sm button, .qty-sm input { height: 36px; }
.qty-sm input { width: 38px; }
.low-stock { color: var(--rosa-escuro); font-weight: 600; margin: 10px 0 0; }
.out { color: var(--erro); font-weight: 600; }
.ship-calc { margin-top: 24px; padding: 16px; border: 1px solid var(--linha); border-radius: var(--r-md); background: #fff; }
.ship-calc > label { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.ship-calc .small { display: inline-block; margin-top: 6px; }
.ship-result:not(:empty) { margin-top: 12px; }
.ship-opt { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-top: 1px solid var(--linha); font-weight: 400; cursor: pointer; }
.ship-opt:first-child { border-top: 0; }
.ship-opt input { accent-color: var(--rosa); width: 18px; height: 18px; flex-shrink: 0; }
.ship-opt .so-name { flex: 1; display: flex; flex-direction: column; line-height: 1.3; }
.ship-opt small { color: var(--grafite); }
.ship-opt img { height: 18px; width: auto; }
.ship-row { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-top: 1px solid var(--linha); }
.ship-row:first-child { border-top: 0; }
.ship-row small { display: block; color: var(--grafite); }
.wa-ask { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-weight: 500; }
.description { margin-top: 48px; max-width: 820px; }
.description h2 { font-size: 1.6rem; }
.prose { color: #3d3533; }
.prose img { border-radius: var(--r-sm); margin: 12px 0; }
.prose ul { padding-left: 20px; }

/* ---------- Carrinho ---------- */
.cart-layout { display: grid; grid-template-columns: 1fr 380px; gap: 32px; align-items: start; margin-bottom: 24px; }
.cart-item { display: grid; grid-template-columns: 96px 1fr auto; gap: 16px; align-items: center; background: #fff; border: 1px solid var(--linha); border-radius: var(--r-md); padding: 14px; margin-bottom: 12px; }
.ci-img img { width: 96px; height: 96px; object-fit: cover; border-radius: var(--r-sm); background: var(--blush-claro); }
.ci-info { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.ci-name { color: var(--carvao); text-decoration: none; font-weight: 500; }
.ci-qty { margin-top: 4px; display: flex; gap: 8px; align-items: center; }
.ci-end { text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.ci-line { font-size: 1.1rem; }
.free-bar { background: #fff; border: 1px dashed var(--rosa); border-radius: var(--r-md); padding: 12px 16px; margin-bottom: 12px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.free-bar .bar { flex-basis: 100%; height: 6px; background: var(--blush-claro); border-radius: 3px; overflow: hidden; }
.free-bar .bar span { display: block; height: 100%; background: var(--rosa); }
.summary { background: #fff; border: 1px solid var(--linha); border-radius: var(--r-md); padding: 22px; position: sticky; top: 160px; }
.summary h2 { font-size: 1.4rem; }
.summary .ship-calc { margin: 0 0 16px; padding: 0; border: 0; }
.totals { margin: 0 0 6px; }
.totals div { display: flex; justify-content: space-between; padding: 6px 0; }
.totals dt { color: var(--grafite); }
.totals dd { margin: 0; font-weight: 500; }
.totals .grand { border-top: 1.5px solid var(--carvao); margin-top: 6px; padding-top: 12px; font-size: 1.25rem; }
.totals .desconto dt, .totals .desconto dd { color: var(--ok); }
.coupon-box { margin: 16px 0 4px; padding-top: 14px; border-top: 1px dashed var(--linha); }
.coupon-box label { display: block; font-weight: 500; margin-bottom: 6px; }
.coupon-box input { text-transform: uppercase; }
.coupon-on { display: grid; grid-template-columns: auto 1fr auto; gap: 8px; align-items: start; color: var(--ok); line-height: 1.35; }
.coupon-on form { margin: 0; }
.coupon-on strong { color: var(--carvao); }
.coupon-box .err { margin: 6px 0 0; }
.totals .grand dt { color: var(--carvao); font-weight: 600; }
.totals .grand dd { font-weight: 700; }
.secure { display: flex; align-items: center; gap: 6px; color: var(--grafite); justify-content: center; margin: 12px 0 0; }
.summary .btn-lg { margin-top: 10px; }

/* ---------- Checkout ---------- */
.checkout { display: grid; grid-template-columns: 1fr 400px; gap: 32px; align-items: start; margin-bottom: 32px; }
.box { background: #fff; border: 1px solid var(--linha); border-radius: var(--r-md); padding: 22px; margin-bottom: 18px; }
.box > h2 { font-family: var(--f-ui); font-size: 1.15rem; font-weight: 600; display: flex; align-items: center; gap: 10px; }
.step-n { width: 28px; height: 28px; border-radius: 50%; background: var(--carvao); color: #fff; display: grid; place-items: center; font-size: .9rem; }
.mini-items { list-style: none; padding: 0; margin: 0 0 12px; }
.mini-items li { display: grid; grid-template-columns: 52px 1fr auto; gap: 10px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--linha); font-size: .92rem; }
.mini-items img { width: 52px; height: 52px; object-fit: cover; border-radius: var(--r-sm); background: var(--blush-claro); }
.pay-note { display: flex; gap: 10px; align-items: flex-start; background: var(--blush-claro); padding: 12px 14px; border-radius: var(--r-sm); font-size: .92rem; }

/* ---------- Conta ---------- */
.auth-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 0; max-width: 900px; margin: 36px auto; background: #fff; border: 1px solid var(--linha); border-radius: var(--r-md); overflow: hidden; }
.auth-side { padding: 40px; background-color: var(--blush-claro);
  background-image: repeating-linear-gradient(0deg, transparent 0 31px, rgba(187, 205, 226, .7) 31px 32px); }
.auth-side h2 { font-size: 1.8rem; }
.auth-side ul { padding-left: 18px; color: #4b4341; }
.auth-form { padding: 40px; }
.auth-form h1 { font-size: 1.9rem; }
.auth-alt { text-align: center; margin-top: 16px; color: var(--grafite); }
.account { display: grid; grid-template-columns: 240px 1fr; gap: 32px; margin: 28px auto 40px; align-items: start; }
.account-nav { background: #fff; border: 1px solid var(--linha); border-radius: var(--r-md); padding: 10px; }
.account-nav a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: var(--r-sm); text-decoration: none; color: var(--carvao); }
.account-nav a[aria-current] { background: var(--blush-claro); color: var(--rosa-escuro); font-weight: 600; }
.account-nav a:hover { background: var(--papel); }
.orders-table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--linha); border-radius: var(--r-md); overflow: hidden; }
.orders-table th, .orders-table td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--linha); }
.orders-table th { font-size: .85rem; color: var(--grafite); font-weight: 500; background: var(--papel); }
.status { display: inline-block; padding: 3px 10px; border-radius: var(--r-pill); font-size: .82rem; font-weight: 500; background: #eee; white-space: nowrap; }
.st-aguardando_pagamento { background: #fff3d6; color: #7a5600; }
.st-pago, .st-em_separacao { background: #e3effa; color: #1f4f7a; }
.st-enviado, .st-pronto_retirada { background: #efe6fa; color: #553183; }
.st-entregue { background: #e5f4e9; color: #22663a; }
.st-cancelado, .st-reembolsado { background: #f6e3e1; color: #8d2a20; }

.order-steps { list-style: none; display: flex; padding: 0; margin: 18px 0 8px; counter-reset: s; }
.order-steps li { flex: 1; text-align: center; font-size: .85rem; color: var(--grafite); position: relative; padding-top: 30px; }
.order-steps li::before { content: ""; position: absolute; top: 8px; left: 50%; width: 16px; height: 16px; margin-left: -8px; border-radius: 50%; background: var(--linha); z-index: 1; }
.order-steps li::after { content: ""; position: absolute; top: 15px; left: -50%; width: 100%; height: 2px; background: var(--linha); }
.order-steps li:first-child::after { display: none; }
.order-steps li.done { color: var(--carvao); font-weight: 500; }
.order-steps li.done::before, .order-steps li.done::after { background: var(--rosa); }
.order-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.kv { margin: 0; }
.kv div { padding: 3px 0; }
.kv dt { display: inline; color: var(--grafite); }
.kv dd { display: inline; margin: 0; }

/* ---------- Páginas de texto ---------- */
.text-page { max-width: 760px; margin: 28px auto 48px; background: #fff; border: 1px solid var(--linha); border-radius: var(--r-md); padding: 36px 40px; }
.text-page h1 { font-size: 2.2rem; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 32px; margin: 28px 0 48px; }
.contact-cards a { display: flex; gap: 14px; align-items: center; padding: 16px; background: #fff; border: 1px solid var(--linha); border-radius: var(--r-md); margin-bottom: 12px; text-decoration: none; color: var(--carvao); }
.contact-cards strong { display: block; }

/* ---------- Rodapé ---------- */
.site-footer { background: var(--carvao); color: #e9dcd8; margin-top: 64px; padding-top: 44px; font-size: .95rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--blush); text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 32px; }
.site-footer h2 { font-family: var(--f-ui); font-size: 1rem; font-weight: 600; color: #fff; margin-bottom: 12px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { padding: 3px 0; }
.footer-tag { font-family: var(--f-marca); font-size: 1.15rem; color: var(--blush); margin: 12px 0; }
.social { display: flex; gap: 10px; }
.social a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid #5a5250; display: grid; place-items: center; }
.footer-pay { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; border-top: 1px solid #47403e; margin-top: 32px; padding-top: 20px; padding-bottom: 20px; }
.pay-badges { display: flex; gap: 8px; flex-wrap: wrap; }
.pay-badges span { background: #fff; color: var(--carvao); font-size: .78rem; font-weight: 600; padding: 4px 10px; border-radius: 6px; }
.footer-pay .secure { margin: 0; color: #cbbcb8; }
.footer-legal { font-size: .82rem; color: #a99d99; padding-bottom: 24px; }
.footer-legal p { margin: 0; }
.wa-float { position: fixed; right: 18px; bottom: 18px; width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; z-index: 50; box-shadow: 0 6px 18px rgba(0,0,0,.2); }
.wa-float:hover { color: #fff; background: #1ebe5a; }

/* ---------- Responsivo ---------- */
@media (max-width: 1080px) {
  .grid-products { grid-template-columns: repeat(3, 1fr); }
  .listing-main .grid-products { grid-template-columns: repeat(2, 1fr); }
  .hide-sm { display: none; }
  .perks-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .only-mobile { display: inline-flex !important; }
  .main-nav .only-mobile { display: block !important; }
  .header-main { flex-wrap: wrap; gap: 10px 14px; }
  .menu-toggle { display: block; }
  .brand img { width: 62px; height: 62px; }
  .search { order: 5; flex-basis: 100%; max-width: none; }
  .action span { display: none; }
  .main-nav { position: fixed; inset: 0 25% 0 0; background: #fff; transform: translateX(-100%); transition: transform .25s ease; z-index: 70; overflow-y: auto; border: 0; box-shadow: 0 0 0 100vmax rgba(43, 39, 38, 0); }
  .main-nav.open { transform: none; box-shadow: 0 0 0 100vmax rgba(43, 39, 38, .45); }
  .main-nav .container { padding-top: 12px; }
  .main-nav ul { flex-direction: column; }
  .main-nav a { border-bottom: 1px solid var(--linha); border-left: 3px solid transparent; padding: 14px 8px; }
  .main-nav a[aria-current] { border-bottom-color: var(--linha); border-left-color: var(--rosa); }
  .menu-close { display: block; margin-left: auto; }
  .hero-inner { grid-template-columns: 1fr; padding-left: 76px; padding-top: 36px; padding-bottom: 44px; gap: 16px; }
  .hero-art { display: none; }
  .listing { grid-template-columns: 1fr; }
  .filters { display: none; position: static; }
  .filters.open { display: block; }
  .listing-bar { justify-content: space-between; }
  .product, .cart-layout, .checkout, .account, .contact-grid { grid-template-columns: 1fr; gap: 24px; }
  .summary { position: static; }
  .auth-wrap { grid-template-columns: 1fr; margin: 20px auto; }
  .auth-side { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .insta-band { flex-direction: column; align-items: flex-start; }
  .order-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .container { padding-left: 16px; padding-right: 16px; }
  .grid-products, .listing-main .grid-products { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .card-body { padding: 10px; gap: 8px; }
  .card-title { font-size: .9rem; }
  .card-price strong { font-size: 1.1rem; }
  .btn-add { font-size: .88rem; padding: 8px 10px; }
  .hero-inner { padding-left: 24px; }
  .hero { background-image: repeating-linear-gradient(0deg, transparent 0 31px, var(--pauta) 31px 32px); }
  .cat-row { gap: 14px; flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; padding-bottom: 8px; }
  .cat-sticker { width: 92px; flex-shrink: 0; font-size: .9rem; }
  .cat-img { width: 84px; height: 84px; }
  .cat-img span { font-size: 2rem; }
  .perks-grid { grid-template-columns: 1fr; gap: 18px; }
  .cart-item { grid-template-columns: 72px 1fr; }
  .ci-img img { width: 72px; height: 72px; }
  .ci-end { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; align-items: center; }
  .text-page { padding: 24px 20px; }
  .auth-form, .box { padding: 20px; }
  .footer-grid { grid-template-columns: 1fr; }
  .orders-table .hide-xs { display: none; }
}
