/* Loja Zeplay - layout novo (topo, hero, faixa de confianca, filtros e cartoes) */
:root {
    --n-ink: #1e293b;
    --n-muted: #64748b;
    --n-line: #e9edf3;
    --n-cream: #faf7f5;
    --n-orange: #ff6a00;
    --n-pink: #f0107a;
    --n-grad: linear-gradient(95deg, #ff6a00 0%, #f0107a 100%);
}

body { background: var(--n-cream); color: var(--n-ink); }

/* ---- topo ---- */
.account-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 46px;
    padding: 0 16px;
    border: 1px solid var(--n-line);
    border-radius: 999px;
    background: #fff;
    color: var(--n-ink);
    font-size: .85rem;
    font-weight: 700;
    text-decoration: none;
}
.account-pill:hover { border-color: #fdba74; color: #c2500a; }
.account-pill svg { width: 20px; height: 20px; }
@media (max-width: 700px) {
    .account-pill { width: 46px; padding: 0; justify-content: center; }
    .account-pill span { display: none; }
}

/* ---- hero ---- */
.hero2 {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    margin: 0 0 22px;
    overflow: hidden;
    border: 1px solid #fde3d0;
    border-radius: 28px;
    background: #fff;
    box-shadow: 0 22px 50px -24px rgba(249, 115, 22, .25);
}
.hero2-copy { padding: 44px 40px; }
.hero2-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border: 1px solid #fed7aa;
    border-radius: 999px;
    background: #fff7ed;
    color: #c2410c;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
}
.hero2-eyebrow:before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--n-orange); }
.hero2 h1 {
    margin: 16px 0 12px;
    color: var(--n-ink);
    font-size: clamp(1.9rem, 3.3vw, 2.7rem);
    line-height: 1.12;
    letter-spacing: -.02em;
}
.hero2 .grad { background: var(--n-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero2-lead { margin: 0 0 22px; color: #475569; font-size: 1.02rem; line-height: 1.6; }
.hero2-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 24px; }
.n-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 24px;
    border: 0;
    border-radius: 14px;
    background: var(--n-grad);
    color: #fff;
    font: inherit;
    font-size: .92rem;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 12px 26px -12px rgba(249, 115, 22, .6);
}
.n-btn.soft { border: 1px solid var(--n-line); background: var(--n-cream); color: #334155; box-shadow: none; font-weight: 700; }
.hero2-mini { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; padding-top: 20px; border-top: 1px solid #f1f5f9; }
.hero2-mini div { font-size: .8rem; color: var(--n-muted); }
.hero2-mini b { display: block; margin-bottom: 2px; color: #334155; font-size: .85rem; }
.hero2-photo { position: relative; min-height: 440px; background: linear-gradient(135deg, #ffedd5, #fce7f3); }
.hero2-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero2-photo:after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(15, 23, 42, .35), transparent 55%); }
.sale-card {
    position: absolute;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: 260px;
    padding: 14px 16px;
    border: 1px solid rgba(255, 255, 255, .9);
    border-radius: 18px;
    background: rgba(255, 255, 255, .88);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 18px 38px -10px rgba(30, 41, 59, .25), 0 4px 12px -2px rgba(249, 115, 22, .15);
    animation: zp-float 6s ease-in-out infinite;
}
.sale-card.a { top: 28px; right: 28px; }
.sale-card.b { bottom: 28px; left: 28px; animation-delay: 2.5s; }
.sale-badge {
    display: grid;
    flex: none;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: linear-gradient(135deg, #fb923c, #ea580c);
    color: #fff;
    box-shadow: inset 0 2px 3px rgba(255, 255, 255, .55), 0 8px 18px -4px rgba(234, 88, 12, .45);
}
.sale-card.b .sale-badge { background: linear-gradient(135deg, #f472b6, #db2777); box-shadow: inset 0 2px 3px rgba(255, 255, 255, .55), 0 8px 18px -4px rgba(219, 39, 119, .45); }
.sale-badge svg { width: 21px; height: 21px; }
.sale-card small { display: block; color: #059669; font-size: .65rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.sale-card.b small { color: #db2777; }
.sale-card strong { display: block; margin: 1px 0; color: #0f172a; font-size: .88rem; line-height: 1.25; }
.sale-card span { color: var(--n-muted); font-size: .72rem; }
@keyframes zp-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@media (prefers-reduced-motion: reduce) { .sale-card { animation: none; } }

@media (max-width: 900px) {
    .hero2 { grid-template-columns: 1fr; }
    .hero2-copy { padding: 28px 20px; }
    .hero2-photo { min-height: 300px; }
    .hero2-mini { grid-template-columns: 1fr; }
}

/* ---- faixa de confianca ---- */
.trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 0 0 34px; }
.trust div {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border: 1px solid var(--n-line);
    border-radius: 16px;
    background: #fff;
}
.trust i {
    display: grid;
    flex: none;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: #fff1e6;
    color: #c2500a;
}
.trust svg { width: 20px; height: 20px; }
.trust b { display: block; font-size: .92rem; }
.trust span { color: var(--n-muted); font-size: .78rem; }
@media (max-width: 800px) { .trust { grid-template-columns: 1fr; } }

/* ---- cabecalho da vitrine e filtros ---- */
.shop-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 18px; margin-bottom: 22px; }
.shop-head .kicker { color: #c2500a; font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.shop-head h2 { margin: 2px 0 4px; font-size: clamp(1.5rem, 2.4vw, 2rem); letter-spacing: -.01em; }
.shop-head p { margin: 0; color: var(--n-muted); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filter {
    padding: 9px 16px;
    border: 1px solid var(--n-line);
    border-radius: 999px;
    background: #fff;
    color: #475569;
    font: inherit;
    font-size: .85rem;
    font-weight: 700;
    cursor: pointer;
}
.filter:hover { border-color: #fdba74; color: #c2500a; }
.filter.on { border-color: transparent; background: var(--n-grad); color: #fff; box-shadow: 0 8px 18px -8px rgba(249, 115, 22, .6); }
.no-results { display: none; padding: 40px 16px; border: 1px solid var(--n-line); border-radius: 20px; background: #fff; text-align: center; color: var(--n-muted); }

/* ---- cartoes ---- */
.pgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 980px) { .pgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .pgrid { grid-template-columns: 1fr; } }
.pc {
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--n-line);
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 10px 30px -16px rgba(15, 23, 42, .12);
    transition: transform .25s ease, box-shadow .25s ease;
}
.pc:hover { transform: translateY(-4px); box-shadow: 0 24px 44px -20px rgba(249, 115, 22, .3); }
.pc.featured {
    border: 2px solid transparent;
    background: linear-gradient(#fff, #fff) padding-box, linear-gradient(135deg, #ff6a00, #f0107a) border-box;
    box-shadow: 0 20px 44px -16px rgba(240, 16, 122, .25);
}
.pc-photo { position: relative; height: 176px; overflow: hidden; background: var(--cover, #ffedd5); }
.pc-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.pc:hover .pc-photo img { transform: scale(1.05); }
.pc-photo:after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(15, 23, 42, .5), rgba(15, 23, 42, .05) 60%, transparent); }
.pc-tag {
    position: absolute;
    z-index: 2;
    top: 14px;
    left: 14px;
    padding: 4px 12px;
    border: 1px solid #fed7aa;
    border-radius: 999px;
    background: #fff7ed;
    color: #c2410c;
    font-size: .64rem;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
}
.pc.featured .pc-tag { border-color: transparent; background: var(--n-grad); color: #fff; }
.pc-icon {
    position: absolute;
    z-index: 3;
    right: 18px;
    top: 116px;
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border: 2px solid #fff;
    border-radius: 16px;
    background: var(--n-grad);
    color: #fff;
    box-shadow: 0 8px 18px -6px rgba(234, 88, 12, .5);
}
.pc-icon svg { width: 22px; height: 22px; }
.pc-body { flex: 1; padding: 30px 22px 6px; }
.pc-body h3 { margin: 0 0 8px; font-size: 1.12rem; line-height: 1.3; color: var(--n-ink); }
.pc-body p { margin: 0; color: #475569; font-size: .88rem; line-height: 1.55; }
.pc-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 14px 22px 22px; padding-top: 14px; border-top: 1px solid #f1f5f9; }
.pc-price small { display: block; color: #94a3b8; font-size: .62rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.pc-price b { font-size: 1.3rem; letter-spacing: -.01em; }
.pc-price b span { margin-left: 3px; color: var(--n-muted); font-size: .78rem; font-weight: 700; }
.pc-add {
    flex: none;
    padding: 11px 20px;
    border: 0;
    border-radius: 12px;
    background: var(--n-grad);
    color: #fff;
    font: inherit;
    font-size: .88rem;
    font-weight: 800;
    cursor: pointer;
}
.pc-add:hover { filter: brightness(1.06); }
.sale-card .sale-badge { color: #fff; }

.pc-price .per { margin-left: 3px; color: var(--n-muted); font-size: .78rem; font-weight: 700; }

/* ---- janela de adicionais ---- */
.addon-backdrop { position: fixed; inset: 0; z-index: 80; background: rgba(15, 23, 42, .45); }
.addon-backdrop[hidden], .addon-modal[hidden] { display: none; }
.addon-modal {
    position: fixed;
    z-index: 81;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: min(520px, calc(100vw - 28px));
    max-height: calc(100vh - 28px);
    overflow: auto;
    padding: 26px 24px 22px;
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 30px 70px -20px rgba(15, 23, 42, .45);
}
.addon-modal h2 { margin: 0 0 8px; font-size: 1.35rem; color: var(--n-ink); }
.addon-base { margin: 0 0 16px; padding: 12px 14px; border-radius: 14px; background: #f0fdf4; color: #166534; font-size: .9rem; line-height: 1.5; }
.addon-sub { margin: 0 0 10px; font-size: 1rem; color: var(--n-ink); }
.addon-sub span { color: var(--n-muted); font-weight: 600; font-size: .85rem; }
.addon-opt {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 10px;
    padding: 14px;
    border: 1px solid var(--n-line);
    border-radius: 16px;
    cursor: pointer;
}
.addon-opt:hover { border-color: #fdba74; }
.addon-opt input { position: absolute; opacity: 0; pointer-events: none; }
.addon-box { flex: none; width: 22px; height: 22px; margin-top: 2px; border: 2px solid #cbd5e1; border-radius: 7px; background: #fff; }
.addon-opt input:checked ~ .addon-box { border-color: #ff6a00; background: #ff6a00 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 14px no-repeat; }
.addon-opt:has(input:checked) { border-color: #ff6a00; background: #fff7ed; }
.addon-opt input:focus-visible ~ .addon-box { outline: 2px solid #ff6a00; outline-offset: 2px; }
.addon-text { flex: 1; }
.addon-text b { display: block; color: var(--n-ink); font-size: .95rem; }
.addon-text small { display: block; margin-top: 2px; color: var(--n-muted); font-size: .8rem; line-height: 1.45; }
.addon-opt em { flex: none; color: #c2500a; font-style: normal; font-weight: 800; font-size: .9rem; white-space: nowrap; }
.addon-total { display: flex; align-items: baseline; justify-content: space-between; margin: 14px 0; padding-top: 14px; border-top: 1px solid #f1f5f9; }
.addon-total span { color: var(--n-muted); font-weight: 700; }
.addon-total strong { font-size: 1.5rem; color: var(--n-ink); }
.addon-actions { display: flex; gap: 10px; justify-content: flex-end; }
.addon-actions .n-btn { padding: 12px 20px; }
@media (max-width: 480px) { .addon-actions { flex-direction: column-reverse; } .addon-actions .n-btn { justify-content: center; } }

/* ---- carrinho no novo padrao ---- */
.cart-modal { border-left: 1px solid #e2e8f0; box-shadow: -24px 0 60px -20px rgba(15, 23, 42, .3); }
.cart-modal .modal-head.cart-head { padding: 20px 24px; border-bottom: 1px solid #f1f5f9; background: var(--n-cream); }
.cart-title-wrap { display: flex; align-items: center; gap: 12px; }
.cart-badge {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: linear-gradient(135deg, #fb923c, #ea580c);
    color: #fff;
    box-shadow: inset 0 2px 3px rgba(255, 255, 255, .55), 0 8px 18px -4px rgba(234, 88, 12, .45);
}
.cart-badge svg { width: 18px; height: 18px; }
.cart-modal .modal-head h2 { font-size: 1.15rem; color: var(--n-ink); }
.cart-modal #close-cart { width: 40px; height: 40px; border: 1px solid #e2e8f0; border-radius: 12px; background: #fff; color: #64748b; }
.cart-modal .modal-body { padding: 20px 24px; background: #fff; }
.cart-modal .cart-list { display: grid; gap: 14px; }
.cart-modal .cart-item { grid-template-columns: 56px 1fr; padding: 14px; border: 1px solid #e8edf3; border-radius: 18px; background: var(--n-cream); }
.cart-modal .cart-thumb { width: 56px; height: 56px; overflow: hidden; border-radius: 14px; background: var(--cover, #ffedd5); }
.cart-modal .cart-thumb img { width: 100%; height: 100%; object-fit: cover; }
.cart-tag { color: #ea580c; font-size: .66rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.cart-modal .cart-line { font-weight: 800; color: var(--n-ink); font-size: .92rem; }
.cart-modal .coupon-row input { border-radius: 10px; }
.cart-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 100%;
    padding: 56px 16px;
    border: 0;
    background: transparent;
    text-align: center;
    color: var(--n-muted);
    font-size: .82rem;
}
.cart-empty strong { color: var(--n-ink); font-size: 1rem; }
.cart-empty-icon { display: grid; place-items: center; width: 64px; height: 64px; margin-bottom: 8px; border-radius: 50%; background: #fff4ea; color: #fb923c; }
.cart-empty-icon svg { width: 30px; height: 30px; }
.cart-modal .modal-footer { padding: 20px 24px 24px; border-top: 1px solid #e2e8f0; background: var(--n-cream); }
.cart-modal .cart-summary { display: grid; gap: 6px; margin-bottom: 16px; padding: 0; border: 0; background: transparent; }
.cart-modal .summary-row { display: flex; align-items: center; justify-content: space-between; color: #475569; font-size: .9rem; }
.cart-modal .summary-row strong { color: var(--n-ink); font-size: .9rem; font-weight: 700; }
.cart-modal .summary-row .discount-total { color: #15803d; }
.cart-modal .summary-row.total-row { margin-top: 6px; padding-top: 12px; border-top: 1px solid #e2e8f0; }
.cart-modal .summary-row.total-row span { color: var(--n-ink); font-weight: 800; font-size: 1rem; }
.cart-modal .summary-row.total-row strong { color: var(--n-ink); font-size: 1.6rem; font-weight: 800; letter-spacing: -.02em; }
.cart-modal #checkout-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    border: 0;
    border-radius: 14px;
    background: var(--n-grad);
    color: #fff;
    font-weight: 800;
    box-shadow: 0 12px 26px -12px rgba(249, 115, 22, .6);
}
.cart-modal #add-more-items { border-radius: 14px; background: #fff; }

@keyframes zp-shake { 0%, 100% { transform: translateX(0); } 20% { transform: translateX(-8px); } 40% { transform: translateX(8px); } 60% { transform: translateX(-5px); } 80% { transform: translateX(5px); } }
.cart-empty.nudge { animation: zp-shake .45s ease; }
.cart-empty.nudge strong, .cart-empty.nudge > span:last-child { color: #ea580c; }
.cart-empty.nudge .cart-empty-icon { background: #ffe4cf; box-shadow: 0 0 0 6px rgba(251, 146, 60, .25); }
.cart-modal #checkout-button.nudge { animation: zp-shake .45s ease; }
@media (prefers-reduced-motion: reduce) { .cart-empty.nudge, .cart-modal #checkout-button.nudge { animation: none; } }

svg.wa { fill: currentColor; stroke: none; }
