:root{--bg:#06070b;--panel:#0c0e15;--panel2:#111421;--line:#24283a;--text:#f4f5fb;--muted:#a9afc2;--purple:#a02cff;--blue:#4e77ff;--green:#25d366;--danger:#ff647c;--radius:22px;--shadow:0 20px 70px rgba(0,0,0,.35)}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:radial-gradient(circle at 80% 10%,rgba(87,39,170,.13),transparent 28%),var(--bg);color:var(--text);font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}a{color:inherit;text-decoration:none}button,input{font:inherit}.container{width:min(1180px,calc(100% - 36px));margin:auto}.site-header{position:sticky;top:0;z-index:50;background:rgba(6,7,11,.92);backdrop-filter:blur(18px);border-bottom:1px solid #181b28}.header-row{height:82px;display:grid;grid-template-columns:260px 1fr 220px;gap:28px;align-items:center}.brand{display:flex;align-items:center;gap:12px}.brand img{width:54px;height:54px;object-fit:cover;border-radius:14px}.brand-copy{display:flex;flex-direction:column}.brand-copy strong{font-size:24px;letter-spacing:.03em}.brand-copy small{font-size:9px;letter-spacing:.3em;color:var(--muted);margin-top:3px}.search{height:46px;border:1px solid var(--line);background:#0d0f17;border-radius:15px;display:flex;align-items:center;padding:0 14px;gap:10px}.search svg,.cart-link svg{width:21px;fill:none;stroke:currentColor;stroke-width:1.8}.search input{border:0;outline:0;background:transparent;color:white;width:100%;font-size:15px}.header-actions{display:flex;justify-content:flex-end;align-items:center;gap:24px;font-weight:700}.cart-link{display:flex;gap:9px;align-items:center}.cart-count{display:inline-grid;place-items:center;min-width:25px;height:25px;border-radius:50%;padding:0 7px;background:linear-gradient(135deg,var(--purple),var(--blue));font-size:12px}.simple-tab{height:54px;display:flex;align-items:flex-end}.simple-tab a{padding:0 6px 17px;border-bottom:2px solid var(--purple);font-weight:700}.hero{margin-top:34px;min-height:390px;border:1px solid var(--line);border-radius:30px;background:linear-gradient(120deg,#0d0f17 0%,#0c0d16 48%,#18102d 100%);display:grid;grid-template-columns:1.03fr .97fr;align-items:center;overflow:hidden;box-shadow:var(--shadow)}.hero-copy{padding:64px 72px}.pill,.eyebrow,.section-kicker{font-size:11px;font-weight:800;letter-spacing:.18em;color:#d28cff}.pill{display:inline-block;padding:7px 12px;border:1px solid #8b3fc4;border-radius:999px}.hero h1{font-size:64px;line-height:.98;margin:24px 0 22px;letter-spacing:-.055em}.hero h1 span{background:linear-gradient(90deg,#ba39ff,#4e7dff);-webkit-background-clip:text;color:transparent}.hero p{font-size:18px;color:#c0c5d5;max-width:540px;line-height:1.65;margin-bottom:30px}.hero-visual{height:100%;display:grid;place-items:center;position:relative}.hero-visual:before{content:"";position:absolute;width:420px;height:420px;border-radius:50%;background:radial-gradient(circle,rgba(142,43,255,.3),transparent 65%);filter:blur(12px)}.hero-visual img{position:relative;width:min(72%,430px);aspect-ratio:1;object-fit:cover;border-radius:50%;box-shadow:0 0 55px rgba(144,45,255,.22)}.btn{display:inline-flex;align-items:center;justify-content:center;min-height:44px;border-radius:12px;padding:0 18px;font-weight:800;border:1px solid transparent;cursor:pointer}.btn-primary{background:linear-gradient(135deg,#7d45ff,#ba20f3);color:white;box-shadow:0 10px 28px rgba(152,37,248,.18)}.btn-secondary{background:#111521;border-color:#343b56}.btn-wide{width:100%}.section{padding-top:58px}.section-title-row{display:flex;justify-content:space-between;align-items:end;margin-bottom:20px}.section-title-row h2{font-size:31px;margin:5px 0 0;letter-spacing:-.03em}.section-title-row>a{color:#c45cff;font-weight:700}.product-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.compact-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:18px}.product-card{border:1px solid var(--line);border-radius:22px;overflow:hidden;background:linear-gradient(180deg,#0d0f18,#090b11);transition:.2s transform,.2s border-color;min-width:0}.product-card:hover{transform:translateY(-4px);border-color:#64328d}.product-media{height:220px;background:radial-gradient(circle at 50% 80%,rgba(129,45,255,.2),transparent 42%),#080910;display:grid;place-items:center;position:relative;overflow:hidden}.product-media img{width:100%;height:100%;object-fit:cover}.tag{position:absolute;top:14px;left:14px;z-index:3;background:#7e32ef;color:white;padding:7px 10px;border-radius:999px;font-size:10px;font-weight:800;text-transform:uppercase}.product-fallback{display:grid;place-items:center;width:110px;height:110px;border-radius:26px;background:linear-gradient(145deg,#0cb5a7,#0d725f);box-shadow:0 0 40px rgba(12,181,167,.18);font-size:34px;font-weight:900}.product-body{padding:20px}.product-body h3{font-size:23px;margin:5px 0 8px}.muted{color:var(--muted);line-height:1.55}.feature-line{border-top:1px solid #1e2230;margin-top:16px;padding-top:14px;color:#d9dceb;font-size:14px}.price-row{margin-top:17px;display:flex;justify-content:space-between;gap:12px;align-items:end}.price-row small{display:block;color:var(--muted);font-size:10px;text-transform:uppercase}.price-row strong{font-size:25px}.trust{margin-top:58px;margin-bottom:50px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);display:grid;grid-template-columns:repeat(4,1fr)}.trust>div{padding:24px 20px;display:flex;align-items:center;gap:12px;border-right:1px solid var(--line)}.trust>div:last-child{border:0}.trust-icon{font-size:23px;color:#bb46ff}.trust p{margin:0}.trust strong,.trust small{display:block}.trust small{color:var(--muted);margin-top:4px}.support{margin-bottom:54px;background:linear-gradient(105deg,#0e1018,#17102a);border:1px solid #6c2c99;border-radius:22px;padding:28px 34px;display:flex;align-items:center;justify-content:space-between}.support h2{margin:5px 0}.support p{margin:0;color:var(--muted)}footer{border-top:1px solid #161a27;padding:30px 0;color:var(--muted)}.footer-row{display:flex;align-items:center;justify-content:space-between}.footer-brand strong,.footer-brand span{display:block}.footer-brand strong{color:white}.toast{position:fixed;left:50%;bottom:28px;transform:translate(-50%,20px);opacity:0;pointer-events:none;background:#161a27;border:1px solid #3a4057;padding:13px 18px;border-radius:13px;transition:.2s;z-index:100}.toast.show{opacity:1;transform:translate(-50%,0)}
/* inner pages */.page-wrap{padding:42px 0 70px}.breadcrumbs{color:var(--muted);font-size:14px;margin-bottom:22px}.detail-grid{display:grid;grid-template-columns:.9fr 1.1fr;gap:28px}.detail-media,.detail-info,.panel,.summary-card,.confirmation-card{background:linear-gradient(180deg,#0d0f17,#090b11);border:1px solid var(--line);border-radius:24px}.detail-media{min-height:510px;display:grid;place-items:center;overflow:hidden;padding:24px}.detail-img{max-width:100%;max-height:460px;object-fit:contain;border-radius:28px}.detail-info{padding:34px}.detail-info h1{font-size:42px;margin:7px 0}.detail-summary{font-size:18px;color:var(--muted);line-height:1.6}.feature-list{list-style:none;padding:0;margin:24px 0;display:grid;gap:11px}.feature-list li{color:#d8dbea}.option-list{display:grid;gap:12px;margin:22px 0}.option-card{display:grid;grid-template-columns:auto 1fr auto;gap:14px;align-items:center;padding:17px;border:1px solid #2a3044;border-radius:15px;cursor:pointer}.option-card:has(input:checked){border-color:#8f38d1;background:#151020}.option-card input{accent-color:#aa2ff1}.option-card span strong,.option-card span small{display:block}.option-card span small{color:var(--muted);margin-top:5px}.detail-price{display:flex;align-items:end;justify-content:space-between;border-top:1px solid var(--line);padding-top:22px;margin-top:12px}.detail-price strong{font-size:35px}.detail-actions{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:18px}.info-box{margin-top:18px;padding:18px;border:1px solid #252b3c;border-radius:15px;color:var(--muted);line-height:1.55}.page-title{font-size:40px;margin:0 0 8px}.page-sub{color:var(--muted);margin:0 0 28px}.cart-layout,.checkout-layout{display:grid;grid-template-columns:1.35fr .65fr;gap:22px}.cart-list{display:grid;gap:14px}.cart-item{display:grid;grid-template-columns:92px 1fr auto auto;gap:18px;align-items:center;padding:16px;border:1px solid var(--line);border-radius:18px;background:#0c0e15}.cart-thumb{width:92px;height:92px;border-radius:14px;background:#090a10;overflow:hidden;display:grid;place-items:center}.cart-thumb img{width:100%;height:100%;object-fit:cover}.cart-copy h3{margin:0 0 5px}.cart-copy p{margin:0;color:var(--muted)}.link{background:none;border:0;padding:0;margin-top:9px;cursor:pointer}.danger{color:var(--danger)}.qty{display:flex;align-items:center;border:1px solid #30364a;border-radius:10px;overflow:hidden}.qty button{width:34px;height:34px;background:#10131d;color:white;border:0;cursor:pointer}.qty span{width:30px;text-align:center}.summary-card{padding:24px;height:max-content;position:sticky;top:110px}.summary-card h2{margin-top:0}.summary-line,.mini-line{display:flex;justify-content:space-between;gap:18px;padding:12px 0;border-bottom:1px solid #202433}.summary-line.total{font-size:20px;border:0;margin-top:4px}.empty-card{border:1px solid var(--line);border-radius:20px;padding:36px;background:#0c0e15;text-align:center}.checkout-form{display:grid;gap:20px}.panel{padding:24px}.panel h2{margin-top:0}.field-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.field{display:grid;gap:7px}.field.full{grid-column:1/-1}.field label{font-size:13px;color:#d5d8e6}.field input{height:46px;border-radius:12px;border:1px solid #2b3041;background:#090b11;color:white;padding:0 13px;outline:0}.payment-options{display:grid;gap:10px}.payment-option{display:flex;gap:12px;align-items:center;border:1px solid #2b3041;border-radius:13px;padding:15px}.payment-option:has(input:checked){border-color:#8f38d1;background:#151020}.payment-option input{accent-color:#ad33ef}.payment-hint{color:var(--muted);font-size:13px;line-height:1.5;margin-top:12px}.mini-line span small{display:block;color:var(--muted);margin-top:3px}.confirmation-card{max-width:720px;margin:30px auto;padding:42px;text-align:center}.check-circle{width:86px;height:86px;border-radius:50%;display:grid;place-items:center;margin:auto;background:radial-gradient(circle,#a43bff,#4b21aa);font-size:42px;box-shadow:0 0 44px rgba(164,59,255,.3)}.confirmation-card h1{font-size:38px}.confirmation-card>p{color:var(--muted);line-height:1.6}.order-box{margin:28px 0;text-align:left;border:1px solid #252a3b;border-radius:16px;padding:18px}.order-meta{display:flex;justify-content:space-between;margin-bottom:10px}.legal-note{font-size:12px;color:#858ca1;margin-top:16px;line-height:1.5}
@media(max-width:900px){.header-row{grid-template-columns:1fr auto;height:auto;padding:13px 0;gap:14px}.brand-copy{display:none}.brand img{width:46px;height:46px}.search{grid-row:2;grid-column:1/-1}.header-actions .all-link{display:none}.simple-tab{display:none}.hero{grid-template-columns:1fr;margin-top:20px;min-height:auto}.hero-copy{padding:42px 28px 20px}.hero h1{font-size:48px}.hero-visual{min-height:270px}.hero-visual img{width:250px}.product-grid,.compact-grid{grid-template-columns:1fr 1fr}.trust{grid-template-columns:1fr 1fr}.trust>div:nth-child(2){border-right:0}.support{gap:20px}.detail-grid,.cart-layout,.checkout-layout{grid-template-columns:1fr}.summary-card{position:static}.detail-media{min-height:380px}}
@media(max-width:620px){.container{width:min(100% - 24px,1180px)}.hero-copy{padding:32px 22px 12px}.hero h1{font-size:41px}.hero p{font-size:16px}.hero-visual{min-height:215px}.hero-visual img{width:190px}.section{padding-top:42px}.section-title-row h2{font-size:25px}.product-grid,.compact-grid{grid-template-columns:1fr}.product-media{height:205px}.trust{grid-template-columns:1fr}.trust>div{border-right:0;border-bottom:1px solid var(--line)}.support,.footer-row{align-items:flex-start;flex-direction:column}.detail-info{padding:23px}.detail-info h1,.page-title{font-size:33px}.detail-actions{grid-template-columns:1fr}.cart-item{grid-template-columns:72px 1fr}.cart-thumb{width:72px;height:72px}.cart-item>.qty,.cart-item>strong{grid-column:2}.field-grid{grid-template-columns:1fr}.field.full{grid-column:auto}.confirmation-card{padding:28px 20px}}
/* V4 hardening: prevents image overflow and stale-layout regressions */
img{max-width:100%;height:auto}.brand img{width:54px!important;height:54px!important;max-width:54px!important;max-height:54px!important;object-fit:cover!important;border-radius:14px}.detail-media img,.detail-img{width:auto!important;height:auto!important;max-width:100%!important;max-height:460px!important;object-fit:contain!important}.product-media img,.cart-thumb img{max-width:100%!important;max-height:100%!important}.page-wrap.container{width:min(1180px,calc(100% - 36px));margin-left:auto;margin-right:auto}.detail-grid{width:100%}

/* =========================================================
   EVOLUX - MOBILE FIX FINAL
   Ajustes baseados nos testes reais em iPhone/Safari
   ========================================================= */

@media (max-width: 620px) {
    html,
    body {
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: hidden !important;
    }

    .container,
    .page-wrap.container {
        width: calc(100% - 24px) !important;
        max-width: calc(100% - 24px) !important;
        margin-left: auto !important;
        margin-right: auto !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    /* HEADER */
    .header-row {
        width: 100% !important;
        grid-template-columns: 1fr auto !important;
        gap: 10px !important;
        padding: 12px 0 !important;
    }

    .brand {
        min-width: 0 !important;
    }

    .brand img {
        width: 48px !important;
        height: 48px !important;
        max-width: 48px !important;
        max-height: 48px !important;
    }

    .brand-copy {
        display: none !important;
    }

    .header-actions {
        min-width: 0 !important;
        gap: 10px !important;
    }

    .header-actions .all-link {
        display: none !important;
    }

    .search {
        grid-column: 1 / -1 !important;
        grid-row: 2 !important;
        width: 100% !important;
        min-width: 0 !important;
        height: 44px !important;
        margin-top: 2px !important;
    }

    /* HOME */
    .hero {
        grid-template-columns: minmax(0, 1fr) !important;
        width: 100% !important;
        min-width: 0 !important;
    }

    .hero-copy,
    .hero-visual {
        width: 100% !important;
        min-width: 0 !important;
    }

    .product-grid,
    .compact-grid {
        grid-template-columns: minmax(0, 1fr) !important;
        width: 100% !important;
    }

    .product-card,
    .product-body,
    .product-media {
        min-width: 0 !important;
        width: 100% !important;
    }

    .product-media {
        aspect-ratio: 16 / 9 !important;
        height: auto !important;
        background: #080910 !important;
    }

    .product-media img {
        width: 100% !important;
        height: 100% !important;
        max-width: 100% !important;
        max-height: 100% !important;
        object-fit: contain !important;
    }

    .product-body {
        display: flex !important;
        flex-direction: column !important;
    }

    .product-body .muted {
        min-height: 4.65em;
        display: -webkit-box !important;
        -webkit-line-clamp: 3 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
    }

    .feature-line {
        margin-top: auto !important;
    }

    /* PÁGINA DE PRODUTO */
    .detail-grid {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 16px !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        overflow: hidden !important;
    }

    .detail-grid > * {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
    }

    .detail-media,
    .detail-info,
    .detail-left,
    .product-about {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
    }

    .detail-media {
        min-height: 0 !important;
        height: auto !important;
        padding: 10px !important;
        overflow: hidden !important;
    }

    .detail-media img,
    .detail-img {
        display: block !important;
        width: 100% !important;
        height: auto !important;
        max-width: 100% !important;
        max-height: none !important;
        aspect-ratio: auto !important;
        object-fit: contain !important;
        margin: 0 auto !important;
    }

    .detail-info {
        padding: 18px !important;
        overflow: hidden !important;
    }

    .detail-info h1 {
        font-size: 28px !important;
        overflow-wrap: anywhere !important;
    }

    .detail-summary,
    .product-description,
    .info-box,
    .feature-list li {
        overflow-wrap: anywhere !important;
        word-break: normal !important;
    }

    .option-list {
        width: 100% !important;
        min-width: 0 !important;
    }

    .option-list .option-card,
    .option-card {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        padding: 14px 16px !important;
        overflow: hidden !important;
    }

    .option-main {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) auto !important;
        align-items: center !important;
        gap: 12px !important;
        width: 100% !important;
        min-width: 0 !important;
    }

    .option-copy {
        min-width: 0 !important;
    }

    .option-copy strong,
    .option-copy small {
        overflow-wrap: anywhere !important;
    }

    .option-price {
        min-width: 0 !important;
        text-align: right !important;
        white-space: nowrap !important;
        margin-left: auto !important;
    }

    .detail-price {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
    }

    .detail-actions {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 10px !important;
        width: 100% !important;
        min-width: 0 !important;
    }

    .detail-actions .btn {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        white-space: normal !important;
        text-align: center !important;
    }

    .product-about {
        grid-column: 1 !important;
        padding: 18px !important;
    }

    /* CARRINHO */
    .cart-layout,
    .checkout-layout {
        grid-template-columns: minmax(0, 1fr) !important;
        width: 100% !important;
        min-width: 0 !important;
    }

    .cart-list,
    .checkout-form,
    .summary-card {
        width: 100% !important;
        min-width: 0 !important;
    }

    .cart-item {
        grid-template-columns: 72px minmax(0, 1fr) !important;
        width: 100% !important;
        min-width: 0 !important;
        gap: 12px !important;
    }

    .cart-copy {
        min-width: 0 !important;
    }

    .cart-copy h3,
    .cart-copy p {
        overflow-wrap: anywhere !important;
    }

    .cart-item > .qty,
    .cart-item > strong {
        grid-column: 2 !important;
    }

    /* CHECKOUT */
    .page-title {
        font-size: 34px !important;
        line-height: 1.05 !important;
    }

    .page-sub {
        font-size: 16px !important;
        line-height: 1.45 !important;
    }

    .panel,
    .summary-card {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        padding: 18px !important;
    }

    .field-grid {
        grid-template-columns: minmax(0, 1fr) !important;
        width: 100% !important;
    }

    .field,
    .field.full,
    .field input {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
    }

    .payment-option {
        width: 100% !important;
        min-width: 0 !important;
    }
}

@media (max-width: 390px) {
    .container,
    .page-wrap.container {
        width: calc(100% - 18px) !important;
        max-width: calc(100% - 18px) !important;
    }

    .header-actions {
        font-size: 12px !important;
    }

    .detail-info h1,
    .page-title {
        font-size: 26px !important;
    }

    .option-list .option-card,
    .option-card {
        padding: 13px 14px !important;
    }

    .option-main {
        gap: 8px !important;
    }

    .option-price strong {
        font-size: 15px !important;
    }
}
