:root {
  --bg: #fffdfa;
  --bg-soft: #f5efe7;
  --sand: #cab397;
  --ink: #3c291d;
  --ink-2: #5e4c40;
  --muted: #8c7b6e;
  --line: #e9dfd3;
  --gold: #c4a064;
  --accent: #9a7742;
  --good: #3f7550;
  --bad: #a8402f;
  --radius: 3px;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Jost', system-ui, -apple-system, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--sans); font-weight: 400; color: var(--ink); background: var(--bg); font-size: 15px; line-height: 1.55; }
a { color: inherit; }
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { font-weight: 500; margin: 0 0 .5em; line-height: 1.2; }
p { margin: 0 0 1em; }
hr { border: 0; border-top: 1px solid var(--line); margin: 14px 0; }
.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 16px; }
.section { padding: 36px 16px; }
.narrow { max-width: 760px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.good { color: var(--good); }
.bad { color: var(--bad); }
.right { text-align: right; }
.full { width: 100%; }
.ic { flex-shrink: 0; }
[hidden] { display: none !important; }

/* Botões e formulários */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 20px; border: 1px solid var(--ink); background: transparent; color: var(--ink); font: 500 13px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; text-decoration: none; cursor: pointer; border-radius: var(--radius); transition: background .15s, color .15s; }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #2a1c13; }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-ghost { border-color: transparent; text-transform: none; letter-spacing: 0; font-size: 14px; }
.btn-ghost:hover { background: var(--bg-soft); }
.btn-lg { padding: 15px 26px; font-size: 13.5px; }
.btn.full { width: 100%; margin-top: 10px; }
.grow { flex: 1; }
.link-btn { background: none; border: 0; padding: 4px 6px; cursor: pointer; font: inherit; font-size: 13px; color: var(--ink-2); text-decoration: underline; display: inline-flex; align-items: center; gap: 4px; }
.link-btn.bad { color: var(--bad); }
.link-btn .ic { width: 15px; height: 15px; }
input, select, textarea { width: 100%; font: inherit; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; color: var(--ink); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--ink); }
input[type=checkbox], input[type=radio] { width: auto; accent-color: var(--ink); }
label { display: block; font-size: 13px; color: var(--ink-2); }
label > input, label > select, label > textarea { margin-top: 5px; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.fields.single { grid-template-columns: 1fr; }
.fields.grid-4 { grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
.span-2 { grid-column: span 2; }
.align-end { display: flex; align-items: flex-end; }
.check { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--ink); margin: 6px 0; }
.inline-form { display: flex; gap: 8px; align-items: center; }
.inline-form input { flex: 1; min-width: 0; }
.inline { display: inline; }
.w-sm { max-width: 90px; }
details summary { cursor: pointer; font-size: 14px; margin: 4px 0 10px; }
details label { margin-bottom: 10px; }

/* Flash */
.flashes { padding-top: 14px; }
.flash { padding: 12px 16px; border-radius: var(--radius); margin-bottom: 10px; font-size: 14px; background: var(--bg-soft); border-left: 3px solid var(--ink); }
.flash-success { border-color: var(--good); background: #eef6f0; }
.flash-error { border-color: var(--bad); background: #fbefef; }

/* Header */
.announce { background: var(--ink); color: var(--sand); text-align: center; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; padding: 9px 16px; }
.site-header { border-bottom: 1px solid var(--line); background: #fff; position: sticky; top: 0; z-index: 20; }
.header-row { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 76px; gap: 12px; }
.logo { font-family: var(--serif); font-size: 32px; font-weight: 500; letter-spacing: .04em; text-decoration: none; text-align: center; white-space: nowrap; }
.search { display: flex; align-items: center; gap: 8px; border-bottom: 1px solid var(--line); max-width: 280px; color: var(--muted); }
.search input { border: 0; padding: 8px 0; background: transparent; }
.header-icons { display: flex; justify-content: flex-end; gap: 4px; }
.icon-btn { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 0; background: none; cursor: pointer; color: var(--ink); text-decoration: none; border-radius: 50%; }
.icon-btn:hover { background: var(--bg-soft); }
.badge { position: absolute; top: 3px; right: 2px; background: var(--ink); color: #fff; font-size: 10px; min-width: 17px; height: 17px; border-radius: 9px; display: flex; align-items: center; justify-content: center; }
.menu-toggle, .search-mobile { display: none; }
.main-nav .container { display: flex; justify-content: center; flex-wrap: wrap; gap: 4px 28px; padding: 12px 16px 14px; }
.main-nav a { text-decoration: none; font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; padding: 2px 0; border-bottom: 1px solid transparent; }
.main-nav a:hover { border-color: var(--ink); }
.main-nav .accent { color: var(--accent); }
.main-nav .admin-link { color: var(--muted); }

/* Hero */
.hero { position: relative; min-height: 460px; display: flex; align-items: center; background: var(--bg-soft) var(--hero) center/cover no-repeat; }
.hero:not(.hero-plain)::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255,255,255,.85), rgba(255,255,255,.1) 65%); }
.hero { overflow: hidden; }
.hero-plain { background: linear-gradient(115deg, var(--bg-soft) 45%, #eadfcf); }
.hero-mark { position: absolute; right: 8%; top: 50%; height: 78%; transform: translateY(-50%); opacity: .9; pointer-events: none; }
.hero-inner { position: relative; padding: 60px 16px; }
.eyebrow { text-transform: uppercase; letter-spacing: .2em; font-size: 12px; color: var(--accent); }
.hero h1 { font-family: var(--serif); font-size: clamp(38px, 6vw, 68px); max-width: 640px; font-weight: 500; color: var(--ink); }
.hero-sub { font-size: 17px; max-width: 480px; color: var(--ink-2); margin-bottom: 28px; }

/* Seções */
.section-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 22px; }
.section-head h2, .page-title { font-family: var(--serif); font-size: 34px; font-weight: 500; }
.section-head a { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.crumbs { font-size: 12.5px; color: var(--muted); margin-bottom: 8px; }
.crumbs a { text-decoration: none; }

.cat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 14px; }
.cat-tile { position: relative; aspect-ratio: 4/5; overflow: hidden; background: var(--bg-soft); text-decoration: none; }
.cat-tile img, .cat-tile .ph { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.cat-tile:hover img { transform: scale(1.04); }
.cat-tile span { position: absolute; left: 0; right: 0; bottom: 0; padding: 14px; background: linear-gradient(transparent, rgba(0,0,0,.45)); color: #fff; font-family: var(--serif); font-size: 24px; }
.cat-tile .ph + span { color: var(--ink); background: none; }

/* Grid de produtos */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px 20px; }
.card { position: relative; }
.card-media { position: relative; display: block; aspect-ratio: 1; background: var(--bg-soft); overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.card:hover .card-media img { transform: scale(1.04); }
.ph { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; background: var(--bg-soft) url('../brand/icone-areia.png') center/26% auto no-repeat; }
.ph .ic { display: none; }
.ph .ic { width: 42px; height: 42px; stroke-width: 1; }
.ph-lg { aspect-ratio: 1; }
.ph-lg .ic { width: 80px; height: 80px; }
.tag { position: absolute; top: 10px; left: 10px; background: var(--ink); color: #fff; font-size: 11px; letter-spacing: .08em; padding: 4px 8px; text-transform: uppercase; }
.tag-light { background: #fff; color: var(--ink); }
.wish { position: absolute; top: 6px; right: 6px; }
.wish button { width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(255,255,255,.85); cursor: pointer; display: flex; align-items: center; justify-content: center; color: var(--ink); }
.wish .ic { width: 18px; height: 18px; }
.card-body { display: block; text-decoration: none; padding-top: 12px; }
.card-body h3 { font-size: 14.5px; font-weight: 400; margin-bottom: 4px; }
.price { display: flex; flex-direction: column; gap: 1px; }
.price s { color: var(--muted); font-size: 13px; }
.price .now { font-weight: 500; font-size: 16px; }
.price .inst { font-size: 12.5px; color: var(--ink-2); }
.price .pix { font-size: 12.5px; color: var(--good); font-weight: 500; }
.price-lg .now { font-size: 26px; }
.price-lg s { font-size: 15px; }
.price-lg .inst, .price-lg .pix { font-size: 14px; }

/* Catálogo */
.catalog-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 16px; }
.catalog-head .page-title { margin-bottom: 2px; }
.sort label { display: flex; align-items: center; gap: 8px; }
.sort select { width: auto; margin: 0; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; }
.chip { padding: 7px 14px; border: 1px solid var(--line); border-radius: 30px; font-size: 13px; text-decoration: none; white-space: nowrap; }
.chip.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.chip b { font-weight: 500; opacity: .6; margin-left: 2px; }
.catalog-search { display: none; margin-bottom: 14px; }
@media (max-width: 720px) { .catalog-search { display: flex; } }
.empty { text-align: center; padding: 60px 16px; color: var(--ink-2); }

/* Produto */
.product-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: start; }
.gallery-main { background: var(--bg-soft); aspect-ratio: 1; overflow: hidden; position: relative; touch-action: pan-y; }
.gal-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 50%; border: 0; background: rgba(255,255,255,.78); box-shadow: 0 1px 4px rgba(60,41,29,.12); display: flex; align-items: center; justify-content: center; cursor: pointer; padding: 0; transition: background .15s; }
.gal-arrow::before { content: ""; position: absolute; inset: -8px; }
.gal-arrow:hover { background: rgba(255,255,255,.95); }
.gal-arrow:focus-visible { outline: 1px solid var(--ink); outline-offset: 2px; }
.gal-arrow svg { width: 13px; height: 13px; fill: none; stroke: var(--ink); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.gal-prev { left: 10px; }
.gal-next { right: 10px; }
.gal-count { position: absolute; bottom: 10px; right: 10px; background: rgba(255,255,255,.78); color: var(--ink-2); font-size: 10px; letter-spacing: .06em; padding: 2px 8px; border-radius: 20px; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; }
.thumbs button { padding: 0; border: 1px solid transparent; width: 76px; height: 76px; flex-shrink: 0; cursor: pointer; background: var(--bg-soft); }
.thumbs button.on { border-color: var(--ink); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.buy-box h1 { font-family: var(--serif); font-size: 36px; }
.buy-form { margin: 22px 0; }
.variants { border: 0; padding: 0; margin: 0 0 18px; }
.variants legend { font-size: 13px; color: var(--ink-2); margin-bottom: 8px; }
.variant { display: inline-block; margin: 0 6px 6px 0; }
.variant input { position: absolute; opacity: 0; }
.variant span { display: inline-block; padding: 9px 14px; border: 1px solid var(--line); border-radius: var(--radius); cursor: pointer; font-size: 14px; color: var(--ink); }
.variant input:checked + span { border-color: var(--ink); background: var(--ink); color: #fff; }
.variant input:focus-visible + span { outline: 2px solid var(--accent); }
.variant.off span { color: #bbb; text-decoration: line-through; cursor: not-allowed; }
.qty-row { display: flex; gap: 10px; align-items: flex-end; }
.qty { width: 84px; }
.qty input { padding: 13px 10px; }
.stock-warn { color: var(--accent); font-size: 13px; margin-top: 10px; }
.ship-calc { background: var(--bg-soft); padding: 16px; margin: 18px 0; border-radius: var(--radius); }
.ship-calc > label { font-weight: 500; color: var(--ink); margin-bottom: 8px; }
.ship-calc .inline-form { margin-bottom: 4px; }
.ship-results { list-style: none; margin: 10px 0 0; padding: 0; }
.ship-results li { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0; border-top: 1px solid var(--line); font-size: 14px; }
.ship-results small { display: block; color: var(--muted); font-size: 12px; }
.desc { border-top: 1px solid var(--line); padding-top: 18px; color: var(--ink-2); }
.desc h3 { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink); }
.info-list { border-top: 1px solid var(--line); margin-top: 8px; }
.info { border-bottom: 1px solid var(--line); }
.info summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; padding: 16px 0; font-size: 13px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--ink); }
.info summary::-webkit-details-marker { display: none; }
.info summary::after { content: ""; width: 7px; height: 7px; border-right: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink); transform: rotate(45deg); margin: -4px 4px 0 0; transition: transform .2s; }
.info[open] summary::after { transform: rotate(-135deg); margin-top: 4px; }
.info summary:focus-visible { outline: 1px solid var(--ink); outline-offset: 2px; }
.info-body { color: var(--ink-2); padding-bottom: 16px; font-size: 14px; }
.info-body p { margin: 0 0 10px; }

/* Carrinho */
.cart-layout, .checkout-layout { display: grid; grid-template-columns: 1fr 380px; gap: 32px; align-items: start; }
.line { display: grid; grid-template-columns: 96px 1fr auto; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.line-img { width: 96px; height: 96px; background: var(--bg-soft); display: block; overflow: hidden; }
.line-img img { width: 100%; height: 100%; object-fit: cover; }
.line-info { display: flex; flex-direction: column; gap: 2px; }
.line-info a { text-decoration: none; }
.line-info .muted { font-size: 13px; }
.line-qty { display: flex; align-items: center; gap: 10px; margin-top: 8px; }
.line-qty input { width: 70px; padding: 6px 8px; }
.summary { background: var(--bg-soft); padding: 22px; border-radius: var(--radius); position: sticky; top: 140px; }
.summary h3 { font-family: var(--serif); font-size: 24px; }
.summary .inline-form { margin-bottom: 14px; }
.summary .ship-calc { padding: 0; background: none; margin: 8px 0; }
.row { display: flex; justify-content: space-between; gap: 12px; padding: 5px 0; font-size: 14.5px; }
.row.mini { font-size: 13.5px; color: var(--ink-2); }
.row.total { font-size: 18px; font-weight: 500; border-top: 1px solid var(--line); margin-top: 8px; padding-top: 12px; }
.pix-note { color: var(--good); font-size: 13px; text-align: right; }
.coupon-on { flex: 1; font-size: 14px; }

/* Checkout */
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; margin-bottom: 18px; }
.panel h3 { font-size: 17px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.step { width: 26px; height: 26px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 13px; display: inline-flex; align-items: center; justify-content: center; }
.cep-status { align-self: end; padding-bottom: 12px; }
.options { display: flex; flex-direction: column; gap: 8px; }
.option { display: flex; gap: 12px; align-items: flex-start; border: 1px solid var(--line); padding: 14px; border-radius: var(--radius); cursor: pointer; color: var(--ink); }
.option:has(input:checked) { border-color: var(--ink); background: var(--bg-soft); }
.option input { margin-top: 4px; }
.option small { display: block; color: var(--muted); font-size: 13px; }
.notes { margin-top: 14px; }

/* Pedido */
.success-head { text-align: center; margin-bottom: 26px; }
.check-badge { width: 56px; height: 56px; border-radius: 50%; background: var(--good); color: #fff; font-size: 28px; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 12px; }
.status-bar { display: flex; margin-bottom: 22px; }
.status-bar .st { flex: 1; text-align: center; font-size: 12px; color: var(--muted); position: relative; padding-top: 22px; }
.status-bar .st span { position: absolute; top: 4px; left: 50%; width: 12px; height: 12px; border-radius: 50%; background: var(--line); transform: translateX(-50%); }
.status-bar .st::before { content: ''; position: absolute; top: 9px; left: -50%; right: 50%; height: 2px; background: var(--line); }
.status-bar .st:first-child::before { display: none; }
.status-bar .st.done { color: var(--ink); }
.status-bar .st.done span, .status-bar .st.done::before { background: var(--good); }
.pay-panel { border-color: var(--ink); }
.copy-box { display: flex; gap: 8px; align-items: center; background: var(--bg-soft); padding: 10px; border-radius: var(--radius); margin-bottom: 10px; }
.copy-box code { flex: 1; word-break: break-all; font-size: 15px; }

/* Conta */
.auth { max-width: 460px; }
.account-head { display: flex; justify-content: space-between; align-items: center; }
.account-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 24px; align-items: start; }
.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th { text-align: left; font-weight: 500; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); padding: 10px 8px; border-bottom: 1px solid var(--line); }
.table td { padding: 12px 8px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.table td.right, .table td:first-child { white-space: nowrap; }
.click-row { cursor: pointer; }
.click-row:hover { background: var(--bg-soft); }
.pill { display: inline-block; padding: 3px 10px; border-radius: 20px; font-size: 12px; background: var(--bg-soft); white-space: nowrap; font-family: var(--sans); font-weight: 400; }
.pill-aguardando_pagamento { background: #fdf3dc; color: #8a5a00; }
.pill-pago, .pill-entregue { background: #e6f3ea; color: var(--good); }
.pill-em_separacao { background: #e9eefb; color: #2c4a9a; }
.pill-enviado { background: #efe8f8; color: #5b3a8c; }
.pill-cancelado { background: #f3eded; color: var(--bad); }
.prose p { color: var(--ink-2); font-size: 16px; }

/* Rodapé */
.trust { border-top: 1px solid var(--line); background: var(--bg-soft); }
.trust-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 28px 16px; }
.trust-row div { display: grid; grid-template-columns: auto 1fr; column-gap: 12px; font-size: 13px; }
.trust-row .ic { grid-row: span 2; width: 28px; height: 28px; color: var(--gold); }
.trust-row span { color: var(--muted); }
.trust-row strong { font-weight: 500; }
.site-footer { background: var(--ink); color: #e9dfd3; padding-top: 48px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.5fr; gap: 32px; padding-bottom: 36px; }
.site-footer h4 { color: var(--sand); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 14px; }
.site-footer a { display: block; text-decoration: none; font-size: 14px; color: #d6c8b8; margin-bottom: 8px; }
.site-footer a:hover { color: #fff; }
.logo-footer { height: 64px; width: auto; margin-bottom: 14px; }
.logo-footer-text { height: 16px; width: auto; margin-bottom: 10px; }
.site-footer .muted { color: #b9a693; }
.socials { display: flex; gap: 16px; }
.newsletter { display: flex; gap: 6px; }
.newsletter input { background: transparent; border-color: #6b5545; color: #fff; }
.newsletter .btn-dark { background: var(--sand); color: var(--ink); border-color: var(--sand); }
.footer-bottom { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; border-top: 1px solid #574233; padding: 18px 16px; font-size: 12.5px; color: #b9a693; }
.logo img { height: 22px; width: auto; margin: 0 auto; }
.wa-float { position: fixed; right: 18px; bottom: 18px; width: 54px; height: 54px; border-radius: 50%; background: #25d366; color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 14px rgba(0,0,0,.2); z-index: 30; }
.wa-float .ic { width: 28px; height: 28px; }

/* ---------- Admin ---------- */
body.admin { background: var(--bg-soft); }
.admin-shell { display: grid; grid-template-columns: 232px 1fr; min-height: 100vh; }
.admin-side { background: var(--ink); color: #e9dfd3; padding: 24px 16px; display: flex; flex-direction: column; position: sticky; top: 0; height: 100vh; }
.admin-side .logo { color: #fff; font-size: 26px; text-align: left; }
.side-label { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: #a8937f; margin: 10px 0 24px; }
.admin-side .logo img { height: 15px; width: auto; }
.admin-side nav { display: flex; flex-direction: column; gap: 2px; }
.admin-side nav a { text-decoration: none; padding: 10px 12px; border-radius: var(--radius); font-size: 14.5px; }
.admin-side nav a:hover { background: #4d382a; color: #fff; }
.admin-side nav a.on { background: var(--sand); color: var(--ink); }
.side-foot { margin-top: auto; display: flex; flex-direction: column; gap: 8px; font-size: 13.5px; }
.side-foot a { text-decoration: none; color: #cab397; }
.admin-main { padding: 24px 28px 60px; min-width: 0; }
.admin-top { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; flex-wrap: wrap; }
.admin-top h1 { font-family: var(--serif); font-size: 32px; margin: 0; flex: 1; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.admin-actions { display: flex; gap: 8px; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; margin-bottom: 18px; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; text-decoration: none; display: flex; flex-direction: column; gap: 6px; }
.stat span { font-size: 12.5px; color: var(--muted); }
.stat strong { font-size: 26px; font-weight: 500; }
a.stat:hover { border-color: var(--ink); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: start; }
.two-col.wide-left { grid-template-columns: 1.6fr 1fr; }
.checklist { border-color: var(--accent); }
.checklist a { display: block; padding: 4px 0; }
.filter-bar { max-width: 420px; margin-bottom: 14px; }
.thumb-cell img, .ph-sm { width: 48px; height: 48px; object-fit: cover; background: var(--bg-soft); }
.ph-sm { font-size: 9px; color: var(--muted); display: flex; align-items: center; justify-content: center; text-align: center; }
.img-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 10px; margin-bottom: 14px; }
.img-item { position: relative; border: 1px solid var(--line); background: #fff; }
.img-item img { aspect-ratio: 1; width: 100%; object-fit: cover; }
.img-item.is-cover { border-color: var(--ink); }
.img-actions { display: flex; justify-content: space-between; padding: 2px 4px; }
.upload { border: 1px dashed var(--line); padding: 16px; border-radius: var(--radius); background: var(--bg-soft); }
.upload input { border: 0; background: none; padding: 8px 0 0; }
.admin-form textarea { resize: vertical; }
.danger-zone { margin-top: 10px; }
.cat-row { padding: 8px 0; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.cat-row:last-child { border: 0; }
.uf-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(62px, 1fr)); gap: 0 6px; margin-bottom: 10px; }
.uf-grid .check { font-size: 13px; }
.stack { display: flex; flex-direction: column; }
.item-row .item-name { display: flex; align-items: center; gap: 10px; }
.item-row img { width: 40px; height: 40px; object-fit: cover; }
.hero-preview img { max-height: 160px; margin-bottom: 6px; }
code { background: var(--bg-soft); padding: 1px 5px; border-radius: 3px; font-size: 13px; }

/* ---------- Responsivo ---------- */
@media (max-width: 1000px) {
  .grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .trust-row { grid-template-columns: 1fr 1fr; }
  .product-grid { gap: 28px; }
}
@media (max-width: 860px) {
  .cart-layout, .checkout-layout, .account-grid, .two-col, .two-col.wide-left { grid-template-columns: 1fr; }
  .summary { position: static; }
  .product-grid { grid-template-columns: 1fr; }
  .admin-shell { grid-template-columns: 1fr; }
  .admin-side { position: fixed; z-index: 40; left: 0; top: 0; width: 250px; transform: translateX(-100%); transition: transform .2s; }
  .admin-side.open { transform: none; }
  .admin-main { padding: 16px; }
  .admin-top .menu-toggle { display: inline-flex; font-size: 20px; }
}
@media (max-width: 720px) {
  .header-row { grid-template-columns: auto 1fr auto; height: 62px; }
  .menu-toggle, .search-mobile { display: inline-flex; }
  .search, .hide-sm { display: none; }
  .logo { font-size: 26px; }
  .main-nav { display: none; border-top: 1px solid var(--line); }
  .main-nav.open { display: block; }
  .main-nav .container { flex-direction: column; align-items: flex-start; gap: 14px; padding: 18px 16px; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 22px 12px; }
  .hero { min-height: 360px; }
  .section { padding: 26px 16px; }
  .section-head h2, .page-title { font-size: 28px; }
  .fields { grid-template-columns: 1fr; }
  .span-2 { grid-column: auto; }
  .line { grid-template-columns: 72px 1fr; }
  .line-img { width: 72px; height: 72px; }
  .line-total { grid-column: 2; }
  .trust-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .status-bar .st { font-size: 10px; }
  .buy-box h1 { font-size: 30px; }
  .qty-row { flex-wrap: wrap; }
}

@media (max-width: 720px) {
  .logo img { height: 16px; }
  .hero-mark { right: -40px; height: 70%; opacity: .25; }
}
.mp-box { border: 1px solid var(--line); background: var(--bg-soft); padding: 16px; border-radius: var(--radius); margin-bottom: 18px; }
.mp-box.on { border-color: var(--good); }
.mp-box .fields { margin: 10px 0; }

/* Precificação */
.calc-box { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; margin: 4px 0 14px; }
.calc-title { font-weight: 500; font-size: 13px; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-2); margin: 0 0 10px; }
.calc-pct { display: flex; align-items: center; gap: 4px; width: 110px; flex: none; }
.calc-pct input { width: 100%; text-align: right; }
.calc-box .btn { margin-top: 6px; }
.calc-box .btn:disabled { opacity: .45; cursor: not-allowed; }
.profit-box { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 4px 0 6px; }
.profit-box.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.profit-box div { background: var(--bg-soft); border-radius: var(--radius); padding: 10px 12px; display: flex; flex-direction: column; gap: 2px; }
.profit-box span { font-size: 12px; color: var(--muted); }
.profit-box strong { font-size: 16px; font-weight: 500; }
.pack-item { margin: 4px 0; }
.pack-item span { flex: 1; }
.pack-item em { font-style: normal; color: var(--ink-2); }
.calc-total { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; border-top: 1px solid var(--line); margin: 10px 0; padding-top: 10px; font-size: 14px; }
.calc-total strong { font-weight: 500; }
.calc-line { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 14px; margin: 0 0 6px; }
