/* garimpamos · vitrine
 * Uma cor de ação (--cta) usada só nos botões de compra; verde só para economia. */

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

:root {
    --ink: #16181D;
    --ink-2: #2E323A;
    --muted: #5B606B;
    --line: #E6E4DE;
    --line-2: #DAD8D1;
    --bg: #F5F4F0;
    --surface: #FFFFFF;
    --well: #F3F2EE;
    --brand: #F26B1D;
    --cta: #C2410C;
    --cta-dark: #9A3412;
    --save: #0F7A4F;
    --save-bg: #E7F4EC;
    --radius: 18px;
    --max-width: 1280px;
    --font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

html { -webkit-text-size-adjust: 100%; }
body {
    font-family: var(--font);
    font-size: 15px;
    line-height: 1.55;
    color: var(--ink);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
ul { list-style: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.tabular { font-variant-numeric: tabular-nums; }

.container { width: 100%; max-width: var(--max-width); margin: 0 auto; padding: 0 32px; }

:focus-visible { outline: 2px solid var(--cta); outline-offset: 2px; }

/* ------------------------------------------------------------------ marca */
.brand { display: inline-flex; align-items: center; gap: 8px; color: #fff; text-decoration: none; flex-shrink: 0; }
.brand svg { width: 28px; height: 28px; }
.brand-name { font-size: 26px; font-weight: 800; letter-spacing: -0.04em; line-height: 1; }

/* ------------------------------------------------------------- cabeçalho */
.site-header { background: var(--ink); position: sticky; top: 0; z-index: 50; }
.header-bar { display: flex; align-items: center; gap: 24px; padding-top: 14px; padding-bottom: 14px; }
.search-form {
    flex: 1 1 420px; display: flex; align-items: center; gap: 8px;
    background: var(--surface); border-radius: 999px; padding: 4px 4px 4px 20px;
}
.search-input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font-size: 15px; height: 44px; }
.search-input::-webkit-search-cancel-button { display: none; }
.search-btn, .icon-btn {
    width: 44px; height: 44px; flex-shrink: 0; border: 0; border-radius: 999px;
    display: inline-flex; align-items: center; justify-content: center; cursor: pointer;
}
.search-btn { background: var(--cta); color: #fff; }
.search-btn:hover { background: var(--cta-dark); }
.departments-btn {
    height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid #3A3E47;
    background: transparent; color: #fff; font-size: 14px; font-weight: 600;
    display: inline-flex; align-items: center; gap: 8px; cursor: pointer; white-space: nowrap;
}
.departments-btn:hover, .departments-btn[aria-expanded="true"] { background: #262A31; }

.dept-strip { background: var(--surface); border-bottom: 1px solid var(--line); }
.dept-strip ul { display: flex; gap: 28px; overflow-x: auto; scrollbar-width: none; }
.dept-strip ul::-webkit-scrollbar { display: none; }
.dept-strip a {
    display: block; padding: 13px 0; font-size: 14px; font-weight: 500; color: var(--muted);
    text-decoration: none; white-space: nowrap; border-bottom: 2px solid transparent;
}
.dept-strip a:hover { color: var(--ink); }
.dept-strip a[aria-current="page"] { color: var(--ink); font-weight: 700; border-bottom-color: var(--cta); }

.departments-panel {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    background: var(--surface); border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px -24px rgba(22, 24, 29, .35); max-height: 70vh; overflow-y: auto;
}
.departments-panel.active { display: block; }
.departments-panel ul { columns: 4 200px; column-gap: 32px; padding: 24px 0; }
.departments-panel a { display: block; padding: 7px 0; font-size: 14px; color: var(--ink-2); text-decoration: none; break-inside: avoid; }
.departments-panel a:hover { color: var(--cta); }

/* ----------------------------------------------------------- estrutura */
.main-content { padding-bottom: 8px; }
.breadcrumb { padding-top: 24px; font-size: 13px; color: var(--muted); }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
.breadcrumb li + li::before { content: '/'; margin-right: 8px; color: #A3A6AD; }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--ink); }
.breadcrumb li:last-child { color: var(--ink); max-width: 60ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.section-title { font-size: 20px; font-weight: 700; letter-spacing: -0.01em; }
.section-link { font-size: 14px; font-weight: 600; color: var(--cta); text-decoration: none; white-space: nowrap; }
.section-link:hover { text-decoration: underline; }

/* ----------------------------------------------------- topo da listagem */
.listing-hero { padding-top: 14px; display: flex; align-items: flex-end; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap; }
.listing-hero-text { max-width: 760px; }
.page-title { font-size: 40px; line-height: 1.1; font-weight: 800; letter-spacing: -0.025em; }
.category-intro { margin-top: 10px; font-size: 16px; line-height: 1.6; color: var(--muted); }
.category-intro p + p { margin-top: 8px; }
.category-intro a { color: var(--ink); }
.category-intro.is-clamped { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.intro-toggle { margin-top: 6px; background: none; border: 0; padding: 4px 0; font-size: 14px; font-weight: 700; color: var(--ink); cursor: pointer; text-decoration: underline; }
.price-check { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); white-space: nowrap; }
.price-check::before { content: ''; width: 8px; height: 8px; border-radius: 99px; background: var(--save); }

/* ---------------------------------------------------------- destaques */
.deals { margin-top: 28px; display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 20px; align-items: start; }
.deals.no-side { grid-template-columns: minmax(0, 1fr); }
.deals-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.deals-grid.is-single { grid-template-columns: minmax(0, 1fr); }
.deal-hero {
    background: var(--ink); color: #fff; border-radius: 20px; padding: 24px;
    display: flex; gap: 24px; align-items: center; text-decoration: none; min-width: 0;
}
.deal-hero-media {
    flex: 0 0 200px; height: 200px; border-radius: 14px; background: #fff;
    display: flex; align-items: center; justify-content: center; padding: 14px;
}
.deal-hero-media img { max-height: 100%; object-fit: contain; }
.deal-hero-info { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.deal-hero .card-brand { color: #A8ABB3; }
.deal-hero-name { font-size: 20px; line-height: 1.3; font-weight: 700; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.deal-hero .price-orig { color: #C9CBD1; }
.deal-hero .price-now { font-size: 32px; }
.deal-hero .pill-save { background: #1F3A2E; color: #9BE3BE; }
.deal-hero .btn-buy { align-self: flex-start; margin-top: 4px; }
.deal-list { display: flex; flex-direction: column; gap: 12px; }
.deal-mini {
    background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 12px;
    display: flex; gap: 14px; align-items: center; text-decoration: none; min-width: 0;
}
.deal-mini:hover { border-color: var(--line-2); box-shadow: 0 8px 20px -14px rgba(22, 24, 29, .35); }
.deal-mini-media { flex: 0 0 72px; height: 72px; border-radius: 10px; background: var(--well); padding: 6px; display: flex; align-items: center; justify-content: center; }
.deal-mini-media img { max-height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.deal-mini-info { flex: 1; min-width: 0; }
.deal-mini-name { font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.deal-mini-price { margin-top: 2px; font-size: 13px; color: var(--muted); }
.deal-mini-price b { color: var(--ink); font-size: 16px; }

/* ------------------------------------------------------- filtro / ordem */
.filter-bar {
    margin-top: 36px; padding-bottom: 16px; border-bottom: 1px solid var(--line);
    display: flex; align-items: center; justify-content: space-between; gap: 12px 16px; flex-wrap: wrap;
}
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
    display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 99px;
    background: var(--surface); border: 1px solid var(--line-2); font-size: 14px; font-weight: 500;
    text-decoration: none; white-space: nowrap;
}
.chip:hover { border-color: var(--ink); }
.chip[aria-current="true"] { background: var(--ink); border-color: var(--ink); color: #fff; font-weight: 600; }
.sort-form { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--muted); }
.sort-form select {
    min-height: 40px; padding: 0 36px 0 12px; border-radius: 10px; border: 1px solid var(--line-2);
    background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2316181D' stroke-width='2.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center;
    appearance: none; font-size: 14px; font-weight: 600; color: var(--ink); cursor: pointer;
}
.sort-form noscript button { min-height: 40px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--ink); background: var(--surface); font-weight: 600; }
.filter-note { margin-top: 12px; font-size: 13px; color: var(--muted); }

/* --------------------------------------------------------------- cards */
.main-listing { margin-top: 24px; }
.products-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.product-card {
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px;
    display: flex; flex-direction: column; gap: 8px; min-width: 0; transition: box-shadow .15s, border-color .15s;
}
.product-card:hover { border-color: var(--line-2); box-shadow: 0 14px 30px -20px rgba(22, 24, 29, .4); }
.card-media {
    position: relative; display: flex; align-items: center; justify-content: center;
    aspect-ratio: 1 / 1; border-radius: 12px; background: var(--well); padding: 10%; overflow: hidden;
}
.card-media img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; transition: transform .2s; }
.product-card:hover .card-media img { transform: scale(1.03); }
.badge-off {
    position: absolute; top: 10px; left: 10px; background: var(--ink); color: #fff;
    font-size: 13px; font-weight: 800; padding: 3px 9px; border-radius: 99px; line-height: 1.4;
}
.card-brand { margin-top: 4px; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; font-weight: 600; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card-name-link { text-decoration: none; }
.card-name { font-size: 15px; line-height: 1.35; font-weight: 600; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.7em; }
.card-name-link:hover .card-name { text-decoration: underline; text-underline-offset: 2px; }
.badge-deal {
    position: absolute; left: 10px; bottom: 10px; max-width: calc(100% - 20px);
    background: var(--cta); color: #fff; font-size: 11px; font-weight: 800; letter-spacing: .01em;
    padding: 3px 9px; border-radius: 99px; line-height: 1.4;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.card-tags { display: flex; flex-direction: column; gap: 3px; font-size: 12px; font-weight: 600; min-width: 0; }
.card-tags li { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card-tags li > svg { vertical-align: -2px; margin-right: 5px; }
.tag-rank { color: #8A5A00; }
.tag-amazon { color: var(--save); }
.card-price { margin-top: auto; min-height: 52px; display: flex; flex-direction: column; justify-content: flex-end; }
.price-orig { font-size: 13px; color: var(--muted); text-decoration: line-through; }
.price-now { font-size: 24px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; font-variant-numeric: tabular-nums; }
.price-check-label { font-size: 15px; font-weight: 600; color: var(--muted); }
.pill-save { align-self: flex-start; background: var(--save-bg); color: var(--save); font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 99px; }

.btn-buy {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 44px; padding: 0 20px; border-radius: 12px; border: 0;
    background: var(--cta); color: #fff; font-size: 15px; font-weight: 700; text-decoration: none; cursor: pointer;
    transition: background .15s;
}
.btn-buy:hover { background: var(--cta-dark); color: #fff; }
.btn-buy svg { flex-shrink: 0; }
.card-cta { width: 100%; font-size: 14px; }
.btn-outline {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 28px;
    border-radius: 12px; border: 1.5px solid var(--ink); color: var(--ink); background: transparent;
    font-size: 15px; font-weight: 700; text-decoration: none; cursor: pointer;
}
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-outline-cta { border-color: var(--cta); color: var(--cta); }
.btn-outline-cta:hover { background: var(--cta); color: #fff; }

/* ------------------------------------------------------------- banners */
.ad-horizontal { margin: 28px 0; display: flex; justify-content: center; }
.ad-square { align-self: start; }
.shop-banner { display: block; border-radius: 16px; overflow: hidden; }
.shop-banner img { width: 100%; height: auto; }

/* ----------------------------------------------------------- paginação */
.pagination { margin-top: 40px; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.pager { display: flex; align-items: center; gap: 6px; font-size: 14px; }
.pager a, .pager span { min-height: 40px; padding: 0 14px; border-radius: 10px; display: inline-flex; align-items: center; text-decoration: none; }
.pager a { font-weight: 600; }
.pager a:hover { background: var(--surface); }
.pager .is-current { background: var(--ink); color: #fff; font-weight: 700; }
.pager .is-disabled { color: #A3A6AD; }

/* ---------------------------------------------------------- vazio / avisos */
.empty-state { margin-top: 24px; padding: 40px 32px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); text-align: center; color: var(--muted); }
.empty-state p + p { margin-top: 16px; }
.empty-state a:not(.btn-buy) { color: var(--ink); font-weight: 600; }

/* ------------------------------------------------------- como funciona */
.how-it-works {
    margin-top: 56px; background: var(--surface); border: 1px solid var(--line); border-radius: 20px;
    padding: 28px 32px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px;
}
.how-item { display: flex; gap: 14px; }
.how-icon { flex: 0 0 40px; height: 40px; border-radius: 12px; background: var(--bg); display: flex; align-items: center; justify-content: center; }
.how-item h2 { font-size: 15px; font-weight: 700; }
.how-item p { margin-top: 4px; font-size: 14px; color: var(--muted); }

/* --------------------------------------------------------------- rodapé */
.site-footer { margin-top: 56px; background: var(--ink); color: #A8ABB3; font-size: 13px; line-height: 1.65; }
.site-footer .container { padding-top: 40px; padding-bottom: 40px; display: flex; gap: 24px 48px; flex-wrap: wrap; justify-content: space-between; }
.footer-about { flex: 1 1 520px; }
.footer-about .brand svg { width: 22px; height: 22px; }
.footer-about .brand-name { font-size: 20px; }
.footer-about p { margin-top: 12px; }
.footer-side { flex: 0 1 280px; }
.footer-side strong { color: #fff; }
.site-footer a { color: #fff; }

/* ============================================================ produto */
.product-layout { margin-top: 18px; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 40px; align-items: start; }
.product-media { display: flex; flex-direction: column; gap: 14px; position: sticky; top: 96px; }
.product-photo {
    position: relative; display: flex; align-items: center; justify-content: center;
    aspect-ratio: 1 / 1; background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 8%;
}
.product-photo img { width: 100%; height: 100%; object-fit: contain; }
.product-photo .badge-off { top: 18px; left: 18px; font-size: 15px; padding: 5px 12px; }
.share-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 13px; color: var(--muted); }
.share-actions { display: flex; gap: 8px; }
.share-btn {
    min-height: 40px; padding: 0 14px; border-radius: 99px; background: var(--surface); border: 1px solid var(--line-2);
    display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--ink);
    text-decoration: none; cursor: pointer;
}
.share-btn:hover { border-color: var(--ink); }

.product-summary { display: flex; flex-direction: column; gap: 20px; }
.product-brand { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; font-weight: 700; color: var(--muted); text-decoration: none; }
.product-brand:hover { color: var(--ink); }
.product-title { margin-top: 8px; font-size: 30px; line-height: 1.2; font-weight: 800; letter-spacing: -0.015em; overflow-wrap: anywhere; }

.rank-pill {
    margin-top: 12px; display: inline-flex; align-items: center; gap: 6px;
    background: #FFF4DB; color: #7A4F00; font-size: 13px; font-weight: 700; padding: 5px 12px; border-radius: 99px;
}
.rank-pill span { font-weight: 500; }
.deal-box { display: flex; flex-direction: column; gap: 6px; padding: 12px 14px; border-radius: 14px; background: #FFF1E8; color: var(--cta-dark); }
.deal-badge { display: flex; align-items: center; gap: 6px; font-size: 15px; font-weight: 800; }
.deal-ends { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; }
.deal-claimed { display: flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 700; }
.deal-bar { flex: 1; height: 6px; border-radius: 99px; background: rgba(194, 65, 12, .18); overflow: hidden; }
.deal-bar span { display: block; height: 100%; background: var(--cta); border-radius: 99px; }
.trust-list .trust-amazon { color: var(--save); font-weight: 700; }

.price-card {
    background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 24px;
    display: flex; flex-direction: column; gap: 14px; box-shadow: 0 12px 32px -18px rgba(22, 24, 29, .25);
}
.price-from { font-size: 15px; color: var(--muted); }
.price-big { font-size: 48px; line-height: 1; font-weight: 800; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; margin-top: 2px; }
.price-save { margin-top: 10px; font-size: 15px; font-weight: 700; color: var(--save); }
.btn-buy-main { width: 100%; min-height: 58px; border-radius: 14px; font-size: 17px; font-weight: 800; }
.price-disclaimer { font-size: 12px; line-height: 1.5; color: var(--muted); text-align: center; }
.trust-list { padding-top: 16px; border-top: 1px solid #EFEDE8; display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.trust-list li { display: flex; gap: 10px; align-items: center; }
.trust-list svg { flex-shrink: 0; }
.unavailable-notice { font-size: 16px; font-weight: 600; }

.highlights h2, .side-title { font-size: 16px; font-weight: 700; margin-bottom: 10px; }
.check-list { display: flex; flex-direction: column; gap: 8px; font-size: 14px; color: var(--ink-2); }
.check-list li { display: flex; gap: 10px; }
.check-list svg { flex: 0 0 18px; margin-top: 2px; color: var(--save); }

.panel { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 28px 32px; }
.price-history { margin-top: 56px; }
.price-history-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; }
.price-history-head p { margin-top: 6px; font-size: 14px; color: var(--muted); }
.price-history-body { margin-top: 20px; display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 1fr); gap: 32px; align-items: center; }
.price-chart { width: 100%; height: 200px; }
.price-stats { display: flex; flex-direction: column; gap: 16px; }
.price-stats dt { font-size: 13px; color: var(--muted); }
.price-stats dd { font-size: 20px; font-weight: 700; }
.price-stats .is-now { font-size: 24px; font-weight: 800; color: var(--cta); }
.pill-good { background: var(--save-bg); color: var(--save); font-size: 14px; font-weight: 700; padding: 8px 14px; border-radius: 99px; }

.about-grid { margin-top: 32px; display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 32px; align-items: start; }
.product-description { margin-top: 14px; font-size: 15px; line-height: 1.7; color: var(--ink-2); max-width: 70ch; overflow-wrap: anywhere; }
.product-description p, .product-description ul, .product-description ol, .product-description h3 { margin-top: 12px; }
.product-description ul, .product-description ol { padding-left: 20px; }
.product-description ul { list-style: disc; }
.product-description ol { list-style: decimal; }
.product-description h2, .product-description h3 { font-size: 16px; }
.product-description.is-clamped { max-height: 16em; overflow: hidden; -webkit-mask-image: linear-gradient(#000 70%, transparent); mask-image: linear-gradient(#000 70%, transparent); }
.read-more { margin-top: 14px; background: none; border: 0; padding: 4px 0; font-size: 14px; font-weight: 700; color: var(--cta); cursor: pointer; }
.facts { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px 20px; font-size: 14px; }
.facts dt { color: var(--muted); }
.facts dd { font-weight: 600; overflow-wrap: anywhere; }
.facts + .btn-buy { margin-top: 20px; width: 100%; background: var(--ink); }
.facts + .btn-buy:hover { background: #000; }

.related { margin-top: 48px; }
.related .products-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.related .card-cta { background: transparent; color: var(--cta); border: 1.5px solid var(--cta); }
.related .card-cta:hover { background: var(--cta); color: #fff; }
.related .price-now { font-size: 20px; }

/* Barra de compra: topo no desktop, rodapé no celular. Aparece quando o
   botão principal sai da tela (shop.js). */
.buy-bar {
    position: fixed; left: 0; right: 0; top: 0; z-index: 60; background: var(--surface);
    border-bottom: 1px solid var(--line); box-shadow: 0 8px 24px -14px rgba(22, 24, 29, .3);
    transform: translateY(-110%); transition: transform .2s ease; visibility: hidden;
}
.buy-bar.is-visible { transform: none; visibility: visible; }
.buy-bar-inner { display: flex; align-items: center; gap: 20px; padding-top: 12px; padding-bottom: 12px; }
.buy-bar-thumb { flex: 0 0 56px; height: 56px; border-radius: 10px; background: var(--well); padding: 4px; }
.buy-bar-thumb img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.buy-bar-name { flex: 1; min-width: 0; font-size: 15px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.buy-bar-price { text-align: right; white-space: nowrap; line-height: 1.2; }
.buy-bar-price .price-now { font-size: 22px; }
.buy-bar .btn-buy { min-height: 52px; padding: 0 24px; font-size: 16px; font-weight: 800; white-space: nowrap; }

/* ==================================================== páginas especiais */
.special-eyebrow { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; color: var(--cta); margin-bottom: 6px; }
.special-hero.has-cover { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 460px); align-items: center; gap: 32px; }
.special-cover { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 20px; }
.special-ended { margin-top: 20px; padding: 14px 18px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.special-body { margin-top: 40px; }
.special-body .product-description { margin-top: 0; }
.special-links { margin-top: 28px; display: flex; align-items: center; gap: 10px 12px; flex-wrap: wrap; }
.special-links-label { font-size: 13px; font-weight: 700; color: var(--muted); }
.product-description a, .category-intro a { color: var(--cta); text-underline-offset: 2px; }
.card-note { font-size: 13px; line-height: 1.45; color: var(--ink-2); background: var(--bg); border-radius: 10px; padding: 8px 10px; }
.deal-hero-note { font-size: 14px; line-height: 1.45; color: #C9CBD1; }

/* ========================================================= responsivo */

/* Páginas institucionais (privacidade) */
.legal-content { max-width: 760px; padding: 8px 0 64px; font-size: 16px; line-height: 1.7; color: var(--ink); }
.legal-content .page-title { margin-bottom: 4px; }
.legal-updated { color: var(--muted); font-size: 14px; margin-bottom: 24px; }
.legal-content h2 { font-size: 20px; font-weight: 800; letter-spacing: -0.01em; margin: 32px 0 10px; }
.legal-content p + p { margin-top: 12px; }
.legal-content ul { padding-left: 20px; display: grid; gap: 8px; }
.legal-content a { color: var(--ink); text-decoration: underline; }

@media (max-width: 1100px) {
    .products-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .related .products-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .deals { grid-template-columns: minmax(0, 1fr); }
    .deals-grid { grid-template-columns: minmax(0, 1fr); }
    .product-layout { gap: 28px; }
}

@media (max-width: 800px) {
    body { font-size: 14px; }
    .container { padding: 0 16px; }
    .header-bar { flex-wrap: wrap; gap: 12px; padding-top: 10px; padding-bottom: 12px; }
    .brand svg { width: 24px; height: 24px; }
    .brand-name { font-size: 22px; }
    .search-form { order: 3; flex-basis: 100%; padding-left: 16px; }
    .departments-btn { margin-left: auto; padding: 0 14px; }
    .dept-strip ul { gap: 22px; }
    .page-title { font-size: 28px; }
    .category-intro { font-size: 14px; }

    .site-header { position: relative; }
    .section-title { font-size: 17px; }
    .section-link { font-size: 13px; }

    /* Destaques viram um carrossel horizontal para não empurrar a grade. */
    .deals { margin-top: 20px; }
    .deals-grid { display: flex; gap: 12px; overflow-x: auto; margin: 0 -16px; padding: 0 16px 4px; scroll-snap-type: x mandatory; scrollbar-width: none; }
    .deals-grid::-webkit-scrollbar { display: none; }
    .deal-list { display: contents; }
    .deal-hero, .deal-mini { flex: 0 0 86%; scroll-snap-align: start; }
    .deals-grid.is-single .deal-hero { flex-basis: 100%; }
    .deal-hero { padding: 14px; gap: 14px; }
    .deal-hero-media { flex-basis: 110px; height: 110px; }
    .deal-hero-name { font-size: 15px; }
    .deal-hero .price-now { font-size: 22px; }
    .deal-hero .btn-buy { display: none; }

    .filter-bar { margin-top: 24px; flex-direction: column; align-items: stretch; }
    .chips { flex-wrap: nowrap; overflow-x: auto; width: calc(100% + 32px); min-width: 0; margin: 0 -16px; padding: 0 16px; scrollbar-width: none; }
    .chip { flex-shrink: 0; }
    .chips::-webkit-scrollbar { display: none; }
    .sort-form { justify-content: space-between; }

    .products-grid, .related .products-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    .product-card { padding: 10px; gap: 6px; border-radius: 16px; }
    .badge-off { top: 8px; left: 8px; font-size: 12px; }
    .badge-deal { left: 6px; bottom: 6px; max-width: calc(100% - 12px); font-size: 10px; padding: 2px 7px; }
    .card-tags { font-size: 11.5px; line-height: 1.3; }
    .card-tags li { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
    .card-name { font-size: 13px; }
    .price-now { font-size: 19px; }
    .card-cta { font-size: 13px; padding: 0 8px; }
    .card-cta svg { display: none; }

    .how-it-works { grid-template-columns: minmax(0, 1fr); gap: 18px; padding: 22px; }

    .product-layout { grid-template-columns: minmax(0, 1fr); }
    .product-media { position: static; }
    .product-title { font-size: 22px; }
    .price-card { padding: 18px; }
    .price-big { font-size: 38px; }
    .panel { padding: 18px; border-radius: 20px; }
    .price-history { margin-top: 28px; }
    .price-history-body { grid-template-columns: minmax(0, 1fr); gap: 16px; }
    .price-chart { height: 140px; }
    .price-stats { flex-direction: row; justify-content: space-between; }
    .about-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; margin-top: 16px; }
    .related { margin-top: 32px; }

    .buy-bar {
        top: auto; bottom: 0; border-bottom: 0; border-top: 1px solid var(--line);
        box-shadow: 0 -8px 24px -12px rgba(22, 24, 29, .3); transform: translateY(110%);
    }
    .buy-bar-inner { gap: 12px; padding-bottom: calc(12px + env(safe-area-inset-bottom)); }
    .buy-bar-thumb, .buy-bar-name { display: none; }
    .buy-bar-price { flex: 1; text-align: left; }
    .buy-bar .btn-buy { min-height: 50px; padding: 0 18px; font-size: 15px; }
    .product-page { padding-bottom: 80px; }
}

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

@media (max-width: 800px) {
    .special-hero.has-cover { grid-template-columns: minmax(0, 1fr); gap: 16px; }
    .special-cover { order: -1; border-radius: 16px; }
    .card-note { font-size: 12px; padding: 6px 8px; }
    .special-links { margin-top: 20px; flex-wrap: nowrap; overflow-x: auto; margin-left: -16px; margin-right: -16px; padding: 0 16px; scrollbar-width: none; }
    .special-links .chip { flex-shrink: 0; }
}

/* Telas estreitas (≤ 400 px): botão de departamentos só com o ícone, para caber ao lado da marca. */
@media (max-width: 400px) {
    .departments-btn { width: 44px; padding: 0; justify-content: center; }
    .dept-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
