:root {
    --bg: #060a12;
    --bg-elevated: #0d1420;
    --card: #111a29;
    --border: #1e2c40;
    --text: #eaf4ff;
    --text-muted: #8fa3bd;
    --accent: #29c1ff;
    --accent-2: #5ef4ff;
    --accent-strong: #0b6fd6;
    --success: #21d07a;
    --danger: #ff5470;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: "Segoe UI", Arial, Helvetica, sans-serif;
    line-height: 1.5;
}

a { color: inherit; text-decoration: none; }

.container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.site-header {
    background: rgba(6, 10, 18, 0.95);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(6px);
}

.site-header .inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    gap: 20px;
}

.logo img { height: 40px; display: block; }

.main-nav {
    display: flex;
}

/* Dropdown de categorias — usa <details>/<summary> nativo (funciona sem JS)
   pra manter o cabeçalho numa altura fixa, não importa quantos jogos a
   loja tiver: em vez de listar todos os links direto no cabeçalho (o que ia
   empurrando o banner cada vez mais pra baixo à medida que crescia o
   catálogo), fica tudo dentro de um painel que só abre quando clicado. */
.nav-dropdown { position: relative; }
.nav-dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 9px 16px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    color: var(--text);
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    cursor: pointer;
    user-select: none;
    list-style: none;
    white-space: nowrap;
}
.nav-dropdown-toggle::-webkit-details-marker { display: none; }
.nav-dropdown-toggle::after { content: "▾"; font-size: 11px; margin-left: 2px; }
.nav-dropdown[open] .nav-dropdown-toggle::after { content: "▴"; }
.nav-dropdown[open] .nav-dropdown-toggle {
    border-color: var(--accent);
    color: var(--accent-2);
}
.nav-dropdown-panel {
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    z-index: 50;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 8px;
    min-width: 220px;
    max-height: 70vh;
    overflow-y: auto;
    display: grid;
    gap: 2px;
    box-shadow: 0 16px 40px rgba(0,0,0,0.45);
}
.nav-dropdown-panel a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    color: var(--text-muted);
    white-space: nowrap;
}
.nav-dropdown-panel a img { width: 20px; height: 20px; object-fit: contain; flex-shrink: 0; }
.nav-dropdown-panel a:hover, .nav-dropdown-panel a.active {
    color: var(--accent-2);
    background: var(--bg-elevated);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}
.account-link {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 9px 14px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    color: var(--text-muted);
    border: 1px solid transparent;
    white-space: nowrap;
}
.account-link:hover {
    color: var(--accent-2);
    border-color: var(--border);
    background: var(--bg-elevated);
}
.cart-link {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    padding: 9px 16px;
    border-radius: 8px;
    font-weight: 600;
    white-space: nowrap;
}

.cart-badge {
    background: var(--accent);
    color: #04121f;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    padding: 1px 7px;
}

/* Banner */
.hero-banner { display: block; width: 100%; line-height: 0; }
.hero-banner img { width: 100%; height: auto; display: block; }

.hero-promo-strip {
    background: var(--bg-elevated);
    border-bottom: 1px solid var(--border);
    padding: 10px 0;
    text-align: center;
}
.hero-promo-badge-inline {
    height: 42px;
    width: auto;
    border-radius: 6px;
    vertical-align: middle;
}

@media (max-width: 640px) {
    .hero-promo-badge-inline { height: 34px; }
}

/* Trust strip */
.trust-strip {
    background: var(--bg-elevated);
    border-bottom: 1px solid var(--border);
    padding: 12px 0;
}
.trust-strip .container {
    display: flex;
    gap: 28px;
    flex-wrap: wrap;
    justify-content: center;
    font-size: 13px;
    color: var(--text-muted);
}
.trust-strip span { display: flex; align-items: center; gap: 8px; }
.trust-strip strong { color: var(--text); }

/* Sections */
.section { padding: 46px 0; }
.section-title {
    font-size: 24px;
    font-weight: 800;
    margin: 0 0 22px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.section-title img { height: 30px; }

/* Banner de destaque no topo da página de categoria.
   Usa duas cópias da mesma imagem: uma de fundo (borrada, "cover", só pra
   preencher a caixa com uma cor/glow condizente) e uma em primeiro plano
   com "contain", que sempre mostra a arte inteira sem cortar nada (logo,
   texto, etc. nunca ficam pela metade, não importa a proporção da imagem). */
.category-banner {
    position: relative;
    width: 100%;
    height: 260px;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border);
    margin-bottom: 24px;
    background: var(--card);
}
.category-banner img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
}
.category-banner-bg {
    object-fit: cover;
    filter: blur(28px) brightness(0.55) saturate(1.3);
    transform: scale(1.2);
    z-index: 0;
}
.category-banner-fg {
    object-fit: contain;
    z-index: 1;
}
.category-banner::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background: linear-gradient(to top, rgba(6,10,18,0.85), rgba(6,10,18,0) 55%);
}

/* Texto explicativo sobre a categoria (Sobre PlayStation, Sobre Xbox, etc.) */
.category-description {
    margin-top: 32px;
    padding: 22px 24px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 14px;
}
.category-description h3 {
    margin: 0 0 12px;
    font-size: 17px;
}
.category-description p {
    margin: 0 0 12px;
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.7;
}
.category-description p:last-child { margin-bottom: 0; }

/* Game category grid on homepage */
.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 18px;
}
.game-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border);
    height: 180px;
    display: flex;
    align-items: flex-end;
    background: var(--card);
}
.game-card img.bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.55;
    transition: transform .3s ease, opacity .3s ease;
}
.game-card:hover img.bg { transform: scale(1.06); opacity: 0.75; }
.game-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(6,10,18,0.95), rgba(6,10,18,0.15));
}
.game-card .label {
    position: relative;
    z-index: 2;
    padding: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.game-card .label img { height: 28px; }
.game-card .label span { font-size: 19px; font-weight: 800; }

/* Product grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
    gap: 16px;
}
.product-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-top: 3px solid var(--game-color, var(--accent));
    border-radius: 14px;
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    position: relative;
    overflow: hidden;
    transition: transform .15s ease, border-color .15s ease;
}
.product-card:hover {
    transform: translateY(-3px);
}
.product-card .card-image {
    width: 100%;
    height: 190px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 10px;
    background: rgba(255,255,255,0.03);
}
.product-card .card-image img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    border-radius: 10px;
}
.product-card .icon-amount {
    display: flex;
    align-items: center;
    gap: 12px;
}
.product-card .icon-circle {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--game-color, var(--border));
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.product-card .icon-amount img { width: 26px; height: 26px; object-fit: contain; }
.product-card .amount { font-size: 19px; font-weight: 800; }
.product-card .bonus { font-size: 12px; color: var(--success); font-weight: 700; }
.product-card .price-row { margin-top: auto; }
.product-card .price-old {
    color: var(--text-muted);
    text-decoration: line-through;
    font-size: 13px;
    display: block;
}
.product-card .price-now { font-size: 22px; font-weight: 800; color: var(--accent-2); }
.product-card .badge-sold {
    position: absolute;
    top: 14px;
    right: 14px;
    background: var(--danger);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    padding: 3px 9px;
    border-radius: 999px;
}

/* Página de produto individual */
.product-detail {
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: 32px;
    align-items: flex-start;
    margin-bottom: 8px;
}
.product-detail-image {
    position: relative;
    background: var(--card);
    border: 1px solid var(--border);
    border-top: 3px solid var(--game-color, var(--accent));
    border-radius: 14px;
    padding: 24px;
    height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.product-detail-image img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}
.product-detail-image .badge-sold {
    position: absolute;
    top: 14px;
    right: 14px;
    background: var(--danger);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    padding: 3px 9px;
    border-radius: 999px;
}
.product-detail-info { padding-top: 4px; }
.product-detail-game {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 10px;
}
.product-detail-game img { width: 20px; height: 20px; object-fit: contain; }
.product-detail-info h1 { font-size: 26px; margin: 0 0 6px; }
.product-detail-info .bonus { font-size: 13px; color: var(--success); font-weight: 700; margin-bottom: 6px; }
.product-detail-info .price-row { margin: 18px 0 20px; }
.product-detail-info .price-old {
    color: var(--text-muted);
    text-decoration: line-through;
    font-size: 15px;
    display: block;
}
.product-detail-info .price-now { font-size: 32px; font-weight: 800; color: var(--accent-2); }
.product-detail-info form { max-width: 320px; }

/* Descrição do produto, ao lado da imagem/preço (não mais embaixo em bloco
   separado). Descrições longas (ex.: Roblox, com várias estatísticas) ficam
   truncadas com um degradê e um "ver mais" pra não desproporcionar o layout. */
.product-description {
    margin-top: 28px;
    padding-top: 22px;
    border-top: 1px solid var(--border);
}
.product-description h3 { margin: 0 0 12px; font-size: 16px; }
.product-description-text p {
    margin: 0 0 10px;
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.7;
}
.product-description-text p:last-child { margin-bottom: 0; }
.product-description.clamped .product-description-text {
    max-height: 220px;
    overflow: hidden;
    position: relative;
}
.product-description.clamped .product-description-text::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 56px;
    background: linear-gradient(to bottom, transparent, var(--bg));
    pointer-events: none;
}
.ver-mais-btn {
    display: none;
    margin-top: 12px;
    background: none;
    border: none;
    color: var(--accent);
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    padding: 0;
}
.ver-mais-btn:hover { text-decoration: underline; }

@media (max-width: 700px) {
    .product-detail { grid-template-columns: 1fr; }
    .product-detail-image { height: 240px; }
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: none;
    border-radius: 9px;
    padding: 11px 18px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    background: linear-gradient(135deg, var(--accent-2), var(--accent-strong));
    color: #04121f;
}
.btn:hover { filter: brightness(1.08); }
.btn:disabled { opacity: 0.4; cursor: not-allowed; }
.btn.btn-outline {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text);
}
.btn.btn-block { width: 100%; }

/* Category tabs */
.category-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 26px;
    flex-wrap: wrap;
}
.category-tabs a {
    padding: 10px 18px;
    border-radius: 999px;
    border: 1px solid var(--border);
    font-weight: 700;
    font-size: 14px;
    color: var(--text-muted);
}
.category-tabs a.active {
    background: var(--accent);
    border-color: var(--accent);
    color: #04121f;
}

/* Cart & checkout */
.cart-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}
.cart-table th, .cart-table td {
    padding: 14px;
    border-bottom: 1px solid var(--border);
    text-align: left;
    font-size: 14px;
}
.cart-table th { color: var(--text-muted); font-size: 12px; text-transform: uppercase; }
.qty-input {
    width: 60px;
    padding: 6px;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    color: var(--text);
    border-radius: 6px;
}

/* Stepper de quantidade (+/-) do carrinho — o número já sobe/desce e o
   preço acompanha na hora via JS, sem precisar clicar em "Atualizar".
   O botão "Atualizar" continua existindo (escondido só quando o JS carrega
   com sucesso), pra funcionar como alternativa se o JS falhar por algum motivo. */
.qty-form {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.qty-stepper {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.qty-stepper .qty-input {
    width: 42px;
    padding: 6px 2px;
    text-align: center;
    -moz-appearance: textfield;
}
.qty-stepper .qty-input::-webkit-outer-spin-button,
.qty-stepper .qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
.qty-btn {
    width: 28px;
    height: 30px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    font-size: 16px;
    font-weight: 700;
    border-radius: 6px;
    border: 1px solid var(--border);
    background: var(--bg-elevated);
    color: var(--text);
    cursor: pointer;
    flex-shrink: 0;
}
.qty-btn:hover:not(:disabled) { border-color: var(--accent); color: var(--accent); }
.qty-btn:disabled { opacity: 0.35; cursor: not-allowed; }
.qty-js-ready .btn-atualizar { display: none; }

.cart-summary {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 22px;
    max-width: 340px;
    margin-left: auto;
}
.cart-summary .total-row {
    display: flex;
    justify-content: space-between;
    font-size: 20px;
    font-weight: 800;
    margin: 14px 0 18px;
}
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-muted);
}

form .field { margin-bottom: 16px; }
form label { display: block; margin-bottom: 6px; font-size: 13px; font-weight: 700; color: var(--text-muted); }
form input, form select, form textarea {
    width: 100%;
    padding: 12px 14px;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: 9px;
    color: var(--text);
    font-size: 14px;
}
form input:focus, form select:focus, form textarea:focus {
    outline: none;
    border-color: var(--accent);
}
.checkout-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 26px;
    align-items: flex-start;
}
@media (max-width: 800px) {
    .checkout-grid { grid-template-columns: 1fr; }
    .cart-summary { max-width: none; margin-left: 0; }
}

.order-item-row {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 12px 14px;
    margin-bottom: 10px;
}
.order-item-row .game-account {
    margin-top: 8px;
}
.order-item-row .field-note {
    margin-top: 8px;
    padding: 8px 10px;
    background: rgba(41, 193, 255, 0.08);
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 13px;
    color: var(--text-muted);
}

/* Confirmation */
.confirm-box {
    max-width: 620px;
    margin: 0 auto;
    text-align: center;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 46px 34px;
}
.confirm-icon {
    width: 72px; height: 72px;
    border-radius: 50%;
    background: rgba(33, 208, 122, 0.14);
    color: var(--success);
    display: flex; align-items: center; justify-content: center;
    font-size: 34px;
    margin: 0 auto 20px;
}
.pix-box {
    background: var(--bg-elevated);
    border: 1px dashed var(--border);
    border-radius: 12px;
    padding: 20px;
    margin: 22px 0;
}
.pix-box img { max-width: 220px; margin: 0 auto 14px; display: block; }
.copy-paste {
    display: flex;
    gap: 8px;
    margin-top: 10px;
}
.copy-paste input {
    flex: 1;
    font-size: 12px;
}

.next-steps {
    text-align: left;
    background: rgba(41, 193, 255, 0.06);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 20px 22px;
    margin-top: 22px;
}
.next-steps h4 {
    margin: 0 0 12px;
    font-size: 14px;
    color: var(--accent-2);
}
.next-steps ol {
    margin: 0;
    padding-left: 20px;
    font-size: 14px;
    color: var(--text);
}
.next-steps li { margin-bottom: 6px; }
.next-steps li:last-child { margin-bottom: 0; }

/* Footer */
.site-footer {
    border-top: 1px solid var(--border);
    background: var(--bg-elevated);
    padding: 36px 0 26px;
    margin-top: 60px;
    color: var(--text-muted);
    font-size: 13px;
}
.site-footer .foot-grid {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
    margin-bottom: 22px;
}
.site-footer h4 {
    color: var(--text);
    font-size: 14px;
    margin: 0 0 10px;
}
.site-footer .legal {
    border-top: 1px solid var(--border);
    padding-top: 18px;
    font-size: 12px;
}

.alert {
    padding: 14px 16px;
    border-radius: 10px;
    margin-bottom: 18px;
    font-size: 14px;
}
.alert-error { background: rgba(255, 84, 112, 0.12); border: 1px solid var(--danger); color: #ffc2cd; }
.alert-info { background: rgba(41, 193, 255, 0.1); border: 1px solid var(--accent); color: var(--accent-2); }
.alert-success { background: rgba(33, 208, 122, 0.12); border: 1px solid var(--success); color: var(--success); }

/* Minha Conta / login / consulta de pedido sem conta */
.account-box {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 16px 18px;
    margin-bottom: 20px;
}
.account-box a { color: var(--accent-2); font-weight: 700; }
.account-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.account-panel {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 22px;
}
.account-panel h3 { margin: 0 0 14px; }
.account-panel-hint { font-size: 13px; color: var(--text-muted); margin: 0 0 14px; }
@media (max-width: 700px) {
    .account-grid { grid-template-columns: 1fr; }
}

/* Prompt de criar conta na página de confirmação do pedido */
.account-prompt {
    margin-top: 20px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 20px 22px;
}
.account-prompt h4 { margin: 0 0 8px; }
.account-prompt p { color: var(--text-muted); font-size: 14px; }
.account-prompt-form {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 14px;
}
.account-prompt-form input {
    flex: 1;
    min-width: 160px;
    padding: 10px 12px;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    color: var(--text);
    border-radius: 8px;
}
.account-prompt-form .btn { flex-shrink: 0; }

.status-pill {
    display: inline-block;
    padding: 3px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
}
.status-pending { background: rgba(255,193,7,0.15); color: #ffc107; }
.status-paid { background: rgba(33,208,122,0.15); color: var(--success); }
.status-delivered { background: rgba(41,193,255,0.15); color: var(--accent-2); }
.status-cancelled { background: rgba(255,84,112,0.15); color: var(--danger); }

/* Redes sociais no rodapé */
.social-links {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}
.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border);
}
.social-links a img { width: 18px; height: 18px; object-fit: contain; }
.social-links a:hover { border-color: var(--accent); }

/* ===================== Mobile ===================== */
@media (max-width: 640px) {
    .container { padding: 0 14px; }

    .site-header .inner {
        flex-wrap: wrap;
        padding: 10px 14px;
        gap: 8px;
    }
    .logo img { height: 30px; }
    .nav-dropdown-toggle { padding: 7px 12px; font-size: 13px; }
    .nav-dropdown-panel { left: auto; right: 0; transform: none; min-width: 200px; }
    .cart-link { padding: 7px 12px; font-size: 13px; }
    .account-link { padding: 7px 10px; font-size: 13px; }
    .header-actions { gap: 6px; }

    .trust-strip .container { gap: 12px; font-size: 12px; }

    .section { padding: 30px 0; }
    .section-title { font-size: 19px; }

    .games-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
    .game-card { height: 120px; }
    .game-card .label span { font-size: 15px; }
    .game-card .label img { height: 20px; }

    .category-banner { height: 140px; margin-bottom: 16px; }

    .products-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
    .product-card { padding: 13px; }
    .product-card .card-image { height: 120px; }
    .product-card .icon-circle { width: 38px; height: 38px; }
    .product-card .icon-circle img { width: 20px; height: 20px; }
    .product-card .amount { font-size: 15px; }
    .product-card .price-now { font-size: 18px; }

    /* Carrinho: tabela de 5 colunas não cabe numa tela de celular (fica maior
       que o viewport e empurra o botão "Atualizar"/"Remover" pra fora, sem
       nenhum indício de que dá pra rolar o dedo pro lado — por isso o cliente
       via celular consegue mudar o número da quantidade mas o clique no botão
       nunca chega a acontecer). Em telas pequenas cada linha vira um cartão
       empilhado, com tudo sempre visível sem precisar de scroll horizontal. */
    .cart-table thead { display: none; }
    .cart-table, .cart-table tbody, .cart-table tr, .cart-table td {
        display: block;
        width: 100%;
    }
    .cart-table tr {
        border: 1px solid var(--border);
        border-radius: 10px;
        padding: 10px 12px;
        margin-bottom: 10px;
    }
    .cart-table td {
        border-bottom: none;
        padding: 6px 0;
        font-size: 13px;
    }
    .cart-table td:nth-child(2),
    .cart-table td:nth-child(3),
    .cart-table td:nth-child(4) {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
    }
    .cart-table td:nth-child(2)::before { content: "Preço"; }
    .cart-table td:nth-child(3)::before { content: "Quantidade"; }
    .cart-table td:nth-child(4)::before { content: "Subtotal"; }
    .cart-table td:nth-child(2)::before,
    .cart-table td:nth-child(3)::before,
    .cart-table td:nth-child(4)::before {
        font-size: 11px;
        text-transform: uppercase;
        color: var(--text-muted);
        flex-shrink: 0;
    }
    .cart-table td:nth-child(3) form { flex-shrink: 0; }
    .cart-table td:nth-child(4) { font-weight: 700; }
    .cart-table td:nth-child(5) form { display: flex; justify-content: flex-end; }
    .cart-summary { max-width: none; }

    .site-footer .foot-grid { flex-direction: column; gap: 18px; }
}

/* Páginas de política */
.policy-page {
    max-width: 780px;
    margin: 0 auto;
}
.policy-page h1 { font-size: 26px; margin-bottom: 6px; }
.policy-page .updated-at { color: var(--text-muted); font-size: 13px; margin-bottom: 30px; }
.policy-page h2 { font-size: 18px; margin: 32px 0 10px; color: var(--accent-2); }
.policy-page p { margin: 0 0 14px; color: var(--text); line-height: 1.7; }
.policy-page ul { margin: 0 0 14px; padding-left: 22px; color: var(--text); line-height: 1.7; }
.policy-page li { margin-bottom: 6px; }
.policy-page a { color: var(--accent-2); text-decoration: underline; }
