/* =========================================================
   CELESTYS • LOJA
   CSS principal, limpo e otimizado
   ========================================================= */

:root {
    --bg: #070a16;
    --bg-soft: #0b1020;
    --surface: rgba(15, 20, 40, .94);
    --surface-2: rgba(18, 23, 45, .92);
    --surface-3: #151b35;
    --border: #292f50;
    --border-soft: rgba(139, 92, 246, .18);
    --primary: #8b5cf6;
    --primary-light: #b88cff;
    --primary-hover: #9d73ff;
    --text: #f2f3ff;
    --muted: #9da3bb;
    --danger: #ff6b81;
    --success: #4ade80;
    --warning: #facc15;
    --shadow: 0 20px 60px rgba(0, 0, 0, .42);
}

* { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    scrollbar-color: #343b60 #070a16;
    scrollbar-width: thin;
}

body {
    margin: 0;
    min-height: 100vh;
    overflow-x: hidden;
    color: var(--text);
    font-family: Arial, Helvetica, sans-serif;
    background:
        radial-gradient(circle at 50% 0%, rgba(94, 58, 180, .20), transparent 34%),
        radial-gradient(circle at 100% 45%, rgba(70, 45, 150, .12), transparent 30%),
        var(--bg);
}

body::before,
body::after {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -1;
    background-image:
        radial-gradient(circle, rgba(255,255,255,.62) 1px, transparent 1px),
        radial-gradient(circle, rgba(139,92,246,.42) 1px, transparent 1px);
    background-size: 145px 145px, 225px 225px;
    background-position: 0 0, 70px 100px;
    animation: estrelas 42s linear infinite;
}

body::after {
    opacity: .38;
    background-size: 205px 205px, 295px 295px;
    animation-duration: 65s;
    animation-direction: reverse;
}

@keyframes estrelas {
    from { transform: translate3d(0, 0, 0); }
    to { transform: translate3d(-145px, -145px, 0); }
}

button,
input { font: inherit; }
button { -webkit-tap-highlight-color: transparent; }

/* =========================================================
   NAVBAR
   ========================================================= */

.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 14px 5%;
    background: rgba(7, 10, 22, .86);
    border-bottom: 1px solid var(--border-soft);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: max-content;
}

.logo img {
    width: 42px;
    height: 42px;
    object-fit: contain;
}

.logo span {
    font-size: 21px;
    font-weight: 900;
    letter-spacing: 3px;
    background: linear-gradient(90deg, #fff, var(--primary-light), var(--primary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 0 20px rgba(139,92,246,.25);
}

.navbar nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 28px;
}

.navbar nav a {
    position: relative;
    padding: 8px 0;
    color: #aeb3c7;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: color .25s ease;
}

.navbar nav a:hover,
.navbar nav a:focus-visible { color: #fff; }

.navbar nav a::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 0;
    height: 2px;
    border-radius: 10px;
    background: var(--primary);
    transform: translateX(-50%);
    transition: width .25s ease;
}

.navbar nav a:hover::after,
.navbar nav a:focus-visible::after { width: 100%; }

/* =========================================================
   ESTRUTURA DA LOJA
   ========================================================= */

.store {
    width: min(1200px, 90%);
    margin: 0 auto;
    padding: 72px 0 90px;
}

.store-hero {
    padding: 42px 20px 48px;
    text-align: center;
}

.store-tag {
    display: inline-block;
    padding: 8px 16px;
    color: #b99cff;
    background: rgba(139,92,246,.08);
    border: 1px solid rgba(139,92,246,.4);
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
}

.store-hero h1 {
    margin: 20px 0 12px;
    font-size: clamp(32px, 5vw, 46px);
    line-height: 1.1;
}

.store-hero p {
    max-width: 650px;
    margin: 0 auto;
    color: #aeb3c7;
    line-height: 1.7;
}

.store-categories {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin: 12px 0 72px;
}

.store-categories a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 11px 18px;
    color: #dcdff0;
    text-decoration: none;
    background: rgba(18,23,45,.9);
    border: 1px solid #2b3153;
    border-radius: 12px;
    font-weight: 600;
    transition: transform .25s ease, color .25s ease, border-color .25s ease, background .25s ease, box-shadow .25s ease;
}

.store-categories a:hover,
.store-categories a:focus-visible {
    color: #fff;
    border-color: var(--primary);
    background: rgba(139,92,246,.12);
    box-shadow: 0 8px 24px rgba(139,92,246,.12);
    transform: translateY(-3px);
}

.store-section {
    margin-bottom: 92px;
    scroll-margin-top: 100px;
}

.store-section h2 {
    margin: 0 0 10px;
    text-align: center;
    font-size: clamp(25px, 4vw, 30px);
}

.store-description {
    margin: 0 auto 35px;
    color: var(--muted);
    text-align: center;
    line-height: 1.6;
}

/* =========================================================
   CARDS
   ========================================================= */

.store-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.store-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 0;
    padding: 28px 22px;
    text-align: center;
    background: linear-gradient(180deg, rgba(18,24,48,.96), rgba(12,17,34,.96));
    border: 1px solid var(--border);
    border-radius: 18px;
    box-shadow: 0 8px 28px rgba(0,0,0,.16);
    transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}

.store-card:hover {
    transform: translateY(-7px);
    border-color: rgba(139,92,246,.85);
    box-shadow: 0 16px 42px rgba(139,92,246,.16);
}

.store-card.master {
    border-color: rgba(139,92,246,.45);
    background: linear-gradient(180deg, rgba(31,23,58,.96), rgba(15,17,38,.96));
}

.store-icon {
    display: grid;
    place-items: center;
    width: 62px;
    height: 62px;
    margin-bottom: 14px;
    border-radius: 16px;
    background: rgba(139,92,246,.09);
    border: 1px solid rgba(139,92,246,.16);
    font-size: 38px;
}

.store-card h3 {
    margin: 0 0 7px;
    font-size: 19px;
    line-height: 1.3;
}

.store-level {
    color: #9298b1;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
}

.product-description {
    min-height: 48px;
    margin: 12px 0 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.55;
}

.store-price {
    margin: 18px 0;
    color: #c7a6ff;
    font-size: 24px;
    font-weight: 800;
}

.store-card button,
.beneficios-buy,
.payment-confirm-button,
.checkout-button {
    width: 100%;
    min-height: 44px;
    padding: 12px 18px;
    border: none;
    border-radius: 10px;
    background: linear-gradient(135deg, #8053eb, var(--primary));
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: transform .25s ease, filter .25s ease, box-shadow .25s ease;
}

.store-card button:hover,
.beneficios-buy:hover,
.payment-confirm-button:hover:not(:disabled),
.checkout-button:hover {
    filter: brightness(1.08);
    transform: translateY(-2px);
    box-shadow: 0 9px 24px rgba(139,92,246,.28);
}

.store-card button:focus-visible,
.beneficios-buy:focus-visible,
.payment-confirm-button:focus-visible,
.checkout-button:focus-visible,
.cart-button:focus-visible,
.cart-close:focus-visible,
.checkout-close:focus-visible,
.payment-close:focus-visible,
.beneficios-close:focus-visible { outline: 2px solid #c4b5fd; outline-offset: 3px; }

/* =========================================================
   QUANTIDADES
   ========================================================= */

.quantity-selector {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 8px 0 15px;
}

.store-card .quantity-selector button {
    width: 34px !important;
    height: 34px !important;
    min-height: 34px !important;
    padding: 0 !important;
    margin: 0 !important;
    flex: 0 0 34px;
    border: 1px solid #343b60 !important;
    border-radius: 8px !important;
    background: #151b35 !important;
    color: #fff !important;
    font-size: 19px !important;
    line-height: 34px !important;
    box-shadow: none !important;
    transform: none !important;
    filter: none !important;
}

.store-card .quantity-selector button:hover {
    background: var(--primary) !important;
    border-color: var(--primary) !important;
    transform: none !important;
    box-shadow: 0 5px 15px rgba(139,92,246,.2) !important;
}

.quantity-selector span {
    min-width: 38px;
    text-align: center;
    color: #fff;
    font-size: 17px;
    font-weight: 700;
}

#chaves .store-grid { align-items: stretch; }
#chaves .store-card { padding: 22px 18px; }
#chaves .store-card .store-icon { margin-bottom: 8px; }
#chaves .store-card .product-description { min-height: 0; margin: 8px 0; }
#chaves .store-card .store-price { margin: 8px 0; }

/* =========================================================
   CARRINHO
   ========================================================= */

.cart-button {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    min-height: 42px;
    padding: 9px 15px;
    border: 1px solid #343b60;
    border-radius: 10px;
    background: rgba(18,23,45,.9);
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    transition: transform .25s ease, border-color .25s ease, background .25s ease;
}

.cart-button:hover {
    border-color: var(--primary);
    background: rgba(139,92,246,.1);
    transform: translateY(-2px);
}

#cart-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    margin-left: 3px;
    padding: 0 5px;
    border-radius: 50px;
    background: var(--primary);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
}

.cart-overlay,
.checkout-overlay,
.payment-overlay,
.success-overlay {
    position: fixed;
    inset: 0;
    padding: 20px;
    background: rgba(0,0,0,.72);
    z-index: 10000;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.cart-overlay {
    display: none;
    align-items: center;
    justify-content: flex-end;
    z-index: 9999;
}

.cart-overlay.active,
.checkout-overlay.active,
.payment-overlay.active,
.success-overlay.active { display: flex; }

.cart {
    width: min(420px, 100%);
    max-height: 90vh;
    overflow-y: auto;
    padding: 28px;
    background: #10152a;
    border: 1px solid #343b60;
    border-radius: 18px;
    box-shadow: var(--shadow);
}

.cart-close,
.checkout-close,
.payment-close,
.beneficios-close {
    border: none;
    background: transparent;
    color: #aaa;
    cursor: pointer;
    transition: color .2s ease, transform .2s ease;
}

.cart-close { float: right; font-size: 22px; }
.cart-close:hover,
.checkout-close:hover,
.payment-close:hover,
.beneficios-close:hover { color: #fff; transform: scale(1.05); }

.cart h2 { margin: 0 0 18px; }

.cart-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid var(--border);
}

.cart-item div {
    display: flex;
    flex-direction: column;
    gap: 5px;
    min-width: 0;
}

.cart-item strong { overflow-wrap: anywhere; }
.cart-item span { color: #b99cff; font-size: 14px; }

.cart-item button {
    flex: 0 0 auto;
    border: none;
    background: transparent;
    color: var(--danger);
    cursor: pointer;
    font-size: 16px;
}

.cart-total,
.checkout-total,
.payment-total,
.checkout-final {
    display: flex;
    justify-content: space-between;
    gap: 15px;
}

.cart-total {
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid #343b60;
    font-size: 20px;
}

.cart-total strong,
.checkout-total strong,
.payment-total strong,
.checkout-final strong { color: #c7a6ff; }

.checkout-button { margin-top: 22px; }

/* =========================================================
   CHECKOUT
   ========================================================= */

.checkout-overlay {
    display: none;
    align-items: center;
    justify-content: center;
}

.checkout {
    position: relative;
    width: min(800px, 100%);
    max-height: 92vh;
    overflow-y: auto;
    padding: 34px;
    background: #10152a;
    border: 1px solid #343b60;
    border-radius: 20px;
    box-shadow: 0 25px 80px rgba(0,0,0,.6);
}

.checkout-close,
.payment-close {
    position: absolute;
    top: 16px;
    right: 18px;
    font-size: 22px;
}

.checkout h2 { margin: 0 0 8px; font-size: 28px; }
.checkout-subtitle { margin: 0; color: var(--muted); }

.checkout-order,
.payment-summary,
.payment-method {
    margin-top: 24px;
    padding: 20px;
    background: rgba(18,23,45,.86);
    border: 1px solid var(--border);
    border-radius: 14px;
}

.checkout-order h3,
.payment-summary h3,
.payment-method h3 { margin-top: 0; }

.checkout-total { margin-top: 18px; padding-top: 15px; border-top: 1px solid #343b60; font-size: 18px; }
.checkout-final { margin-top: 10px; padding-top: 15px; border-top: 1px solid #343b60; font-size: 21px; }
.checkout-final strong { font-size: 23px; }

.checkout-discount,
.checkout-coupon {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    margin-top: 12px;
    color: #b7c0d9;
}

.checkout-discount strong { color: var(--success); }
.checkout-coupon strong { color: #c4b5fd; }

.checkout-coupon { align-items: center; }

.coupon-input-area {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.coupon-input-area input,
.checkout-coupon input {
    width: 100%;
    min-width: 0;
    padding: 12px 13px;
    color: #fff;
    background: #0b1020;
    border: 1px solid #343b60;
    border-radius: 10px;
    outline: none;
}

.coupon-input-area input:focus,
.checkout-coupon input:focus,
.payment-player input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(139,92,246,.10);
}

.coupon-input-area button {
    flex: 0 0 auto;
    padding: 12px 17px;
    border: none;
    border-radius: 10px;
    background: var(--primary);
    color: #fff;
    font-weight: 700;
    cursor: pointer;
}

#coupon-message {
    display: block;
    min-height: 18px;
    margin-top: 8px;
    color: var(--muted);
    font-size: 13px;
}

.checkout-terms { margin-top: 25px; }
.checkout-terms h3 { margin-bottom: 12px; }

.terms-box {
    max-height: 300px;
    overflow-y: auto;
    padding: 20px;
    color: #aeb3c7;
    background: #0b1020;
    border: 1px solid var(--border);
    border-radius: 12px;
    font-size: 13px;
    line-height: 1.6;
}

.terms-box h4 { margin: 20px 0 8px; color: #dcdff0; font-size: 15px; }
.terms-box h4:first-child { margin-top: 0; }
.terms-box p { margin: 8px 0; }
.terms-box li { margin-bottom: 5px; }

.checkout-confirmations {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 25px;
}

.checkout-confirmations label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 13px;
    color: #dcdff0;
    background: rgba(139,92,246,.06);
    border: 1px solid var(--border);
    border-radius: 10px;
    cursor: pointer;
}

.checkout-confirmations input {
    width: 18px;
    height: 18px;
    margin: 1px 0 0;
    accent-color: var(--primary);
    cursor: pointer;
}

.checkout-actions { display: flex; gap: 12px; margin-top: 25px; }
.checkout-actions button { flex: 1; min-height: 46px; padding: 13px; border-radius: 10px; font-weight: 700; cursor: pointer; transition: .25s ease; }
.back-cart-button { border: 1px solid #343b60; background: #151b35; color: #dcdff0; }
.back-cart-button:hover { border-color: var(--primary); }
.payment-button { border: none; background: var(--primary); color: #fff; }
.payment-button:hover:not(:disabled) { background: var(--primary-hover); transform: translateY(-2px); }
.payment-button:disabled { background: #34384f; color: #777b8d; cursor: not-allowed; }

/* =========================================================
   PAGAMENTO
   ========================================================= */

.payment-overlay {
    display: none;
    align-items: center;
    justify-content: center;
}

.payment-box {
    position: relative;
    width: min(600px, 100%);
    max-height: 90vh;
    overflow-y: auto;
    padding: 30px;
    background: #10152a;
    border: 1px solid #343b60;
    border-radius: 18px;
    box-shadow: var(--shadow);
}

.payment-box h2 { margin-top: 0; text-align: center; }
.payment-subtitle { color: var(--muted); text-align: center; line-height: 1.5; }
.payment-total { margin-top: 18px; padding-top: 15px; border-top: 1px solid #343b60; font-size: 20px; }

.payment-player { margin-top: 20px; }
.payment-player label { display: block; margin-bottom: 8px; font-weight: 700; }
.payment-player input {
    width: 100%;
    padding: 13px;
    color: #fff;
    background: #151b35;
    border: 1px solid #343b60;
    border-radius: 10px;
    outline: none;
}

.payment-method p { color: var(--muted); line-height: 1.6; }
.payment-status {
    margin-top: 20px;
    padding: 14px;
    color: var(--warning);
    background: rgba(234,179,8,.08);
    border: 1px solid rgba(234,179,8,.12);
    border-radius: 10px;
    text-align: center;
}

.payment-confirm-button { margin-top: 20px; }
.payment-confirm-button:disabled { background: #34384f; cursor: not-allowed; filter: none; box-shadow: none; transform: none; }

/* =========================================================
   BENEFÍCIOS VIP
   ========================================================= */

.beneficios-overlay {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s ease, visibility .25s ease;
}

.beneficios-overlay.active { opacity: 1; visibility: visible; }

.beneficios-box {
    position: relative;
    width: min(700px, 100%);
    max-height: 85vh;
    overflow-y: auto;
    padding: 30px;
    background: radial-gradient(circle at top, rgba(139,92,246,.18), transparent 60%), #090914;
    border: 1px solid rgba(139,92,246,.5);
    border-radius: 20px;
    box-shadow: 0 0 40px rgba(139,92,246,.25);
}

.beneficios-box h2 { margin: 0; color: var(--primary); font-size: 28px; }
.beneficios-subtitle { margin: 8px 0 25px; color: #aaa; }

.beneficios-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: rgba(255,255,255,.08);
    color: #fff;
    font-size: 18px;
}

.beneficio-grupo {
    margin-bottom: 20px;
    padding: 18px;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 14px;
}

.beneficio-grupo h3 { margin: 0 0 12px; color: #c4b5fd; }
.beneficio-grupo ul { margin: 0; padding-left: 20px; color: #ddd; line-height: 1.8; }
.beneficios-buy { margin-top: 2px; }

/* =========================================================
   ELEMENTOS LEGADOS DO PIX / SUCESSO
   Mantidos apenas para não quebrar HTML antigo. Se não forem
   usados pela loja, podem ser removidos futuramente.
   ========================================================= */

.pix-area { display: flex; align-items: center; gap: 15px; flex-wrap: wrap; margin-top: 15px; }
.pix-qrcode { width: 150px; height: 150px; display: grid; place-items: center; flex-shrink: 0; background: #fff; border-radius: 12px; }
#pix-qrcode { color: #222; font-weight: 700; text-align: center; }
.pix-info { flex: 1; min-width: 220px; }
.pix-label { display: block; margin-bottom: 8px; font-weight: 700; }
.pix-code-box { width: 100%; max-width: 500px; margin: 15px auto 0; display: flex; flex-direction: column; gap: 10px; }
.pix-code-box span,
.pix-code-text { width: 100%; padding: 12px; color: #b99cff; background: #0b1020; border: 1px solid #343b60; border-radius: 8px; word-break: break-all; }
.pix-code-text { max-height: 90px; overflow-y: auto; font-size: 12px; line-height: 1.5; }
.pix-code-box button { width: 100%; padding: 12px; border: none; border-radius: 10px; background: var(--primary); color: #fff; font-weight: 700; cursor: pointer; }
#pix-message { display: block; margin-top: 8px; color: var(--muted); }

.success-overlay { display: none; align-items: center; justify-content: center; }
.success-box { width: 100%; max-width: 520px; padding: 35px; text-align: center; background: #151020; border: 1px solid var(--primary); border-radius: 20px; box-shadow: 0 0 40px rgba(139,92,246,.35); }
.success-icon { margin-bottom: 10px; font-size: 55px; }
.success-box h2 { margin: 0; color: #fff; font-size: 30px; }
.success-subtitle { margin-bottom: 25px; color: #aaa; }
.success-order { margin-bottom: 20px; padding: 18px; text-align: left; background: #0d0a14; border-radius: 14px; }
.success-row { display: flex; justify-content: space-between; gap: 15px; padding: 9px 0; border-bottom: 1px solid rgba(255,255,255,.06); }
.success-row:last-child { border-bottom: none; }
.success-row span { color: #aaa; }
.success-row strong { color: #fff; text-align: right; }
.success-key { margin-bottom: 20px; padding: 20px; background: rgba(139,92,246,.10); border: 1px solid rgba(139,92,246,.4); border-radius: 14px; }
.success-key > span { display: block; margin-bottom: 12px; color: #c084fc; font-weight: 700; }
.key-display { display: flex; align-items: center; gap: 8px; }
.key-display strong { flex: 1; padding: 12px; color: #fff; background: #0d0a14; border-radius: 8px; font-size: 15px; word-break: break-all; }
.key-display button { padding: 12px; border: none; border-radius: 8px; background: var(--primary); color: #fff; cursor: pointer; }
.success-key small { display: block; margin-top: 12px; color: #888; }
.success-close-button { width: 100%; padding: 14px; border: none; border-radius: 10px; background: linear-gradient(90deg, var(--primary), #c084fc); color: #fff; font-size: 16px; font-weight: 700; cursor: pointer; }

/* =========================================================
   ACESSIBILIDADE / SCROLLBARS
   ========================================================= */

.cart,
.checkout,
.payment-box,
.beneficios-box,
.terms-box { scrollbar-color: #343b60 #0b1020; scrollbar-width: thin; }

::selection { background: rgba(139,92,246,.45); color: #fff; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* =========================================================
   RESPONSIVO
   ========================================================= */

@media (max-width: 1000px) {
    .store-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
    .navbar { padding: 12px 4%; }
    .navbar nav { gap: 16px; }
    .navbar nav a { font-size: 13px; }
    .logo span { font-size: 18px; letter-spacing: 2px; }
    .store { width: 92%; padding-top: 52px; }
}

@media (max-width: 600px) {
    .navbar { flex-wrap: wrap; justify-content: center; }
    .navbar nav { width: 100%; justify-content: center; flex-wrap: wrap; gap: 14px 20px; }
    .store { width: 92%; padding: 42px 0 65px; }
    .store-hero { padding: 30px 10px 38px; }
    .store-hero h1 { font-size: 32px; }
    .store-categories { gap: 8px; margin-bottom: 52px; }
    .store-categories a { min-height: 40px; padding: 9px 12px; font-size: 13px; }
    .store-grid { grid-template-columns: 1fr; gap: 16px; }
    .store-card { padding: 26px 20px; }
    .store-section { margin-bottom: 70px; }
    .checkout { padding: 25px 18px; max-height: 95vh; }
    .checkout h2 { font-size: 23px; padding-right: 25px; }
    .checkout-actions { flex-direction: column; }
    .coupon-input-area { flex-direction: column; }
    .coupon-input-area button { width: 100%; }
    .payment-box { padding: 25px 18px; }
    .payment-box h2 { padding-right: 24px; }
    .cart { padding: 24px 18px; }
    .beneficios-box { max-height: 90vh; padding: 25px 18px; }
    .beneficios-box h2 { font-size: 24px; padding-right: 35px; }
    .pix-area { flex-direction: column; align-items: stretch; }
    .pix-qrcode { margin: 0 auto; }
    .pix-info { min-width: 0; }
    .success-box { padding: 28px 18px; }
    .success-row { flex-direction: column; gap: 4px; }
    .success-row strong { text-align: left; }
    .key-display { flex-direction: column; align-items: stretch; }
    .key-display button { width: 100%; }
}

@media (max-width: 380px) {
    .logo span { font-size: 16px; letter-spacing: 1px; }
    .navbar nav { gap: 10px 14px; }
    .store-hero h1 { font-size: 28px; }
}
