:root {
    --bg: #030712;
    --surface: #071523;
    --surface2: #0b2038;
    --primary: #167cff;
    --primary-light: #2ea8ff;
    --text: #fff;
    --text2: #b5c5d5;
    --border: rgba(100, 170, 255, .18);
    --success: #2cc36b;
    --warning: #ffb020;
    --glass: rgba(5, 17, 33, .82);
    --shadow: 0 24px 70px rgba(0, 0, 0, .34);
    --radius: 18px;
    --transition: 180ms cubic-bezier(.2, .8, .2, 1);
}

html[data-market-theme="light"] {
    --bg: #f4f8fc;
    --surface: #fff;
    --surface2: #eaf2fa;
    --text: #0b1f35;
    --text2: #587087;
    --border: rgba(33, 92, 148, .16);
    --glass: rgba(255, 255, 255, .88);
    --shadow: 0 24px 70px rgba(36, 72, 110, .14);
    color-scheme: light;
}

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

html {
    scroll-behavior: smooth;
    color-scheme: dark;
    background: var(--bg);
}

body {
    min-width: 320px;
    margin: 0;
    background:
        radial-gradient(circle at 80% 0, rgba(22, 124, 255, .12), transparent 30rem),
        var(--bg);
    color: var(--text);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    -webkit-font-smoothing: antialiased;
}

button,
input,
select,
textarea {
    font: inherit;
}

a {
    color: inherit;
}

img,
svg {
    display: block;
    max-width: 100%;
}

:focus-visible {
    outline: 3px solid rgba(46, 168, 255, .75);
    outline-offset: 3px;
}

.product-container {
    width: min(100% - 40px, 1320px);
    margin-inline: auto;
}

.product-skip-link {
    position: fixed;
    z-index: 1000;
    top: 10px;
    left: 10px;
    padding: 10px 14px;
    border-radius: 9px;
    background: #fff;
    color: #071523;
    font-weight: 800;
    text-decoration: none;
    transform: translateY(-160%);
}

.product-skip-link:focus {
    transform: none;
}

.product-header {
    position: sticky;
    z-index: 100;
    top: 0;
    border-bottom: 1px solid var(--border);
    background: var(--glass);
    backdrop-filter: blur(20px) saturate(140%);
}

.product-header-inner {
    min-height: 75px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.product-logo {
    width: 205px;
    height: 58px;
}

.product-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: left center;
}

.product-header nav {
    display: flex;
    align-items: center;
    gap: 10px;
}

.product-header nav > a,
.product-header nav > button {
    display: inline-flex;
    min-height: 41px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--surface);
    color: var(--text2);
}

.product-header nav > a {
    padding: 0 14px;
    font-size: .78rem;
    font-weight: 800;
    text-decoration: none;
}

.product-header nav > button {
    width: 41px;
    padding: 0;
    cursor: pointer;
}

.product-header button svg {
    width: 19px;
    height: 19px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
}

.product-breadcrumb {
    overflow: hidden;
    display: flex;
    min-height: 62px;
    align-items: center;
    gap: 9px;
    color: var(--text2);
    font-size: .73rem;
    white-space: nowrap;
}

.product-breadcrumb a {
    color: var(--primary-light);
    text-decoration: none;
}

.product-breadcrumb span:last-child {
    overflow: hidden;
    text-overflow: ellipsis;
}

.product-notification {
    margin-bottom: 20px;
}

.product-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.03fr) minmax(430px, .97fr);
    gap: 34px;
    padding: 10px 0 44px;
}

.product-gallery {
    min-width: 0;
}

.product-main-media {
    position: relative;
    overflow: hidden;
    display: grid;
    min-height: 540px;
    place-items: center;
    border: 1px solid var(--border);
    border-radius: 24px;
    background:
        radial-gradient(circle at 80% 10%, rgba(22, 124, 255, .2), transparent 40%),
        linear-gradient(145deg, var(--surface2), var(--surface));
    box-shadow: var(--shadow);
}

.product-main-media > img {
    width: 100%;
    height: 540px;
    object-fit: contain;
}

.product-media-placeholder {
    color: rgba(46, 168, 255, .6);
    font-size: 4rem;
    font-weight: 950;
    letter-spacing: -.08em;
}

.product-main-media > button {
    position: absolute;
    right: 16px;
    bottom: 16px;
    display: grid;
    width: 46px;
    height: 46px;
    place-items: center;
    border: 1px solid var(--border);
    border-radius: 13px;
    background: var(--glass);
    color: var(--text);
    cursor: pointer;
    backdrop-filter: blur(10px);
}

.product-main-media button svg {
    width: 21px;
    height: 21px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
}

.product-thumbnails {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    margin-top: 12px;
    padding: 2px;
    scrollbar-width: thin;
}

.product-thumbnails button {
    overflow: hidden;
    width: 78px;
    height: 68px;
    flex: 0 0 auto;
    padding: 0;
    border: 1px solid var(--border);
    border-radius: 11px;
    background: var(--surface);
    cursor: pointer;
}

.product-thumbnails button.is-active {
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(22, 124, 255, .16);
}

.product-thumbnails img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-summary {
    align-self: center;
    padding: 18px 0;
}

.product-labels {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.product-labels > span,
.product-labels > a,
.product-labels > small {
    padding: 6px 9px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: .67rem;
    font-weight: 800;
    text-decoration: none;
}

.product-labels > span {
    border-color: rgba(255, 176, 32, .4);
    background: rgba(255, 176, 32, .12);
    color: var(--warning);
    text-transform: uppercase;
}

.product-labels > a {
    background: rgba(22, 124, 255, .12);
    color: var(--primary-light);
}

.product-labels > small {
    color: var(--text2);
}

.product-summary h1 {
    margin: 18px 0 13px;
    font-size: clamp(2.2rem, 4vw, 3.8rem);
    line-height: 1.04;
    letter-spacing: -.055em;
}

.product-seller-line {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    color: var(--text2);
    font-size: .78rem;
    text-decoration: none;
}

.product-seller-line strong {
    color: var(--text);
}

.product-seller-line > span {
    display: grid;
    width: 17px;
    height: 17px;
    place-items: center;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    font-size: .58rem;
    font-weight: 900;
}

.product-seller-line small {
    width: 100%;
}

.product-lede {
    margin: 21px 0;
    color: var(--text2);
    font-size: .94rem;
    line-height: 1.75;
}

.product-price-row {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 11px;
}

.product-price-row strong {
    color: var(--primary-light);
    font-size: 2rem;
    letter-spacing: -.035em;
}

.product-price-row del {
    color: var(--text2);
}

.product-stock {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 9px;
    color: var(--success);
    font-size: .75rem;
    font-weight: 800;
}

.product-stock::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: currentColor;
    box-shadow: 0 0 9px currentColor;
}

.product-stock.is-confirmation {
    color: var(--warning);
}

.product-trust-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 9px;
    margin: 24px 0;
}

.product-trust-cards > div {
    min-width: 0;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: 13px;
    background: var(--surface);
}

.product-trust-cards > div > span {
    display: grid;
    width: 28px;
    height: 28px;
    margin-bottom: 8px;
    place-items: center;
    border-radius: 8px;
    background: rgba(22, 124, 255, .13);
    color: var(--primary-light);
    font-weight: 900;
}

.product-trust-cards strong,
.product-trust-cards small {
    display: block;
}

.product-trust-cards strong {
    overflow: hidden;
    font-size: .72rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.product-trust-cards small {
    margin-top: 3px;
    color: var(--text2);
    font-size: .61rem;
}

.product-primary-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.product-button {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0 19px;
    border: 1px solid var(--border);
    border-radius: 11px;
    font-size: .8rem;
    font-weight: 850;
    text-decoration: none;
    transition: transform var(--transition), box-shadow var(--transition);
}

.product-button:hover {
    transform: translateY(-2px);
}

.product-button.is-primary {
    border-color: rgba(46, 168, 255, .45);
    background: linear-gradient(135deg, #168dff, #075bdc);
    box-shadow: 0 12px 26px rgba(8, 105, 235, .27);
    color: #fff;
}

.product-button.is-whatsapp {
    border-color: rgba(44, 195, 107, .38);
    background: rgba(44, 195, 107, .12);
    color: #42d97f;
}

.product-payment-note {
    margin: 15px 0 0;
    color: var(--text2);
    font-size: .73rem;
    line-height: 1.55;
}

.product-payment-note strong {
    color: var(--text);
}

.product-detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 410px;
    align-items: start;
    gap: 26px;
    padding-bottom: 70px;
}

.product-detail-main {
    min-width: 0;
}

.product-panel,
.product-request-card {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: linear-gradient(145deg, var(--surface2), var(--surface) 46%);
    box-shadow: var(--shadow);
}

.product-panel {
    overflow: hidden;
}

.product-tabs {
    display: flex;
    gap: 2px;
    overflow-x: auto;
    padding: 10px;
    border-bottom: 1px solid var(--border);
}

.product-tabs a {
    flex: 0 0 auto;
    padding: 10px 12px;
    border-radius: 9px;
    color: var(--text2);
    font-size: .73rem;
    font-weight: 800;
    text-decoration: none;
}

.product-tabs a:hover {
    background: rgba(22, 124, 255, .12);
    color: var(--primary-light);
}

.product-copy-section {
    padding: 30px;
    scroll-margin-top: 95px;
}

.product-copy-section + .product-copy-section {
    border-top: 1px solid var(--border);
}

.product-section-kicker {
    color: var(--primary-light);
    font-size: .64rem;
    font-weight: 850;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.product-copy-section h2,
.product-request-head h2,
.product-similar h2 {
    margin: 7px 0 13px;
    font-size: 1.42rem;
    letter-spacing: -.035em;
}

.product-copy-section > p {
    margin: 0;
    color: var(--text2);
    line-height: 1.78;
}

.product-specifications {
    display: grid;
    grid-template-columns: minmax(150px, .34fr) minmax(0, .66fr);
    margin: 0;
    border: 1px solid var(--border);
    border-radius: 13px;
}

.product-specifications dt,
.product-specifications dd {
    padding: 13px 15px;
    border-bottom: 1px solid var(--border);
}

.product-specifications dt:nth-last-of-type(1),
.product-specifications dd:last-child {
    border-bottom: 0;
}

.product-specifications dt {
    color: var(--text2);
    font-size: .76rem;
}

.product-specifications dd {
    margin: 0;
    font-size: .78rem;
    font-weight: 750;
}

.product-resources {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 11px;
}

.product-resources a {
    display: grid;
    grid-template-columns: 38px 1fr;
    gap: 3px 10px;
    padding: 14px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--surface);
    text-decoration: none;
}

.product-resources a > span {
    grid-row: 1 / 3;
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border-radius: 10px;
    background: rgba(22, 124, 255, .13);
    color: var(--primary-light);
}

.product-resources strong {
    font-size: .77rem;
}

.product-resources small {
    color: var(--text2);
    font-size: .65rem;
}

.product-request-card {
    position: sticky;
    top: 94px;
    overflow: hidden;
    scroll-margin-top: 95px;
}

.product-request-head {
    padding: 25px 25px 18px;
}

.product-request-head p {
    margin: 0;
    color: var(--text2);
    font-size: .77rem;
    line-height: 1.55;
}

.product-progress {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin: 0 25px 20px;
    padding: 0;
    list-style: none;
}

.product-progress li {
    position: relative;
    display: flex;
    min-width: 0;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    color: var(--text2);
    font-size: .59rem;
    font-weight: 800;
    text-align: center;
}

.product-progress li::after {
    position: absolute;
    z-index: 0;
    content: "";
    top: 13px;
    left: 50%;
    width: 100%;
    border-top: 1px solid var(--border);
}

.product-progress li:last-child::after {
    display: none;
}

.product-progress span {
    position: relative;
    z-index: 1;
    display: grid;
    width: 28px;
    height: 28px;
    place-items: center;
    border: 1px solid var(--border);
    border-radius: 50%;
    background: var(--surface);
}

.product-progress li.is-active {
    color: var(--primary-light);
}

.product-progress li.is-active span {
    border-color: var(--primary);
    background: var(--primary);
    color: #fff;
}

.product-request-form {
    padding: 0 25px 25px;
}

.product-request-form fieldset {
    margin: 0;
    padding: 16px 0;
    border: 0;
    border-top: 1px solid var(--border);
}

.product-request-form legend {
    padding: 0 8px 0 0;
    color: var(--text);
    font-size: .74rem;
    font-weight: 850;
}

.product-field {
    display: grid;
    gap: 6px;
    margin-top: 11px;
}

.product-field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.product-field label {
    color: var(--text2);
    font-size: .69rem;
    font-weight: 750;
}

.product-field input,
.product-field select,
.product-field textarea {
    width: 100%;
    min-height: 43px;
    border: 1px solid var(--border);
    border-radius: 9px;
    outline: 0;
    padding: 9px 11px;
    background: var(--surface);
    color: var(--text);
    font-size: .76rem;
    transition: border-color var(--transition), box-shadow var(--transition);
}

.product-field textarea {
    min-height: 88px;
    resize: vertical;
}

.product-field input:focus,
.product-field select:focus,
.product-field textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(22, 124, 255, .13);
}

.product-field input[type="file"] {
    padding: 7px;
}

.product-field small {
    color: var(--text2);
    font-size: .6rem;
}

.product-live-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 11px;
    padding: 11px 12px;
    border: 1px solid rgba(46, 168, 255, .32);
    border-radius: 10px;
    background: rgba(22, 124, 255, .1);
    color: var(--text2);
    font-size: .68rem;
}

.product-live-total strong {
    color: var(--primary-light);
    font-size: .83rem;
}

.product-consent {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 5px 0 13px;
    color: var(--text2);
    font-size: .61rem;
    line-height: 1.5;
}

.product-form-status {
    margin: 5px 0 13px;
    padding: 10px 11px;
    border: 1px solid rgba(255, 93, 104, .42);
    border-radius: 9px;
    background: rgba(255, 93, 104, .1);
    color: #ff9ba3;
    font-size: .68rem;
    font-weight: 700;
    line-height: 1.5;
}

.product-form-status[hidden] {
    display: none;
}

html[data-market-theme="light"] .product-form-status {
    color: #a92232;
}

.product-request-form [aria-invalid="true"] {
    border-color: var(--danger);
    box-shadow: 0 0 0 3px rgba(255, 93, 104, .11);
}

.product-consent input {
    margin-top: 2px;
    accent-color: var(--primary);
}

.product-submit {
    width: 100%;
    min-height: 48px;
    border: 0;
    border-radius: 10px;
    background: linear-gradient(135deg, #168dff, #075bdc);
    box-shadow: 0 12px 26px rgba(8, 105, 235, .25);
    color: #fff;
    font-weight: 850;
    cursor: pointer;
}

.product-submit:disabled {
    cursor: wait;
    opacity: .7;
}

.product-form-help {
    margin: 10px 0 0;
    color: var(--text2);
    font-size: .61rem;
    line-height: 1.5;
    text-align: center;
}

.product-honeypot {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

.product-similar {
    margin-top: 26px;
}

.product-similar > header {
    margin-bottom: 15px;
}

.product-similar > div {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 11px;
}

.product-similar article {
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 13px;
    background: var(--surface);
}

.product-similar article > a {
    display: flex;
    height: 100%;
    flex-direction: column;
    padding-bottom: 12px;
    text-decoration: none;
}

.product-similar img,
.product-similar article > a > span {
    display: grid;
    width: 100%;
    height: 130px;
    place-items: center;
    object-fit: cover;
    background: var(--surface2);
    color: var(--primary-light);
    font-weight: 900;
}

.product-similar h3,
.product-similar small,
.product-similar article strong {
    margin-inline: 11px;
}

.product-similar h3 {
    display: -webkit-box;
    overflow: hidden;
    margin-top: 11px;
    margin-bottom: 5px;
    font-size: .77rem;
    line-height: 1.35;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.product-similar small {
    color: var(--text2);
    font-size: .62rem;
}

.product-similar article strong {
    margin-top: auto;
    padding-top: 8px;
    color: var(--primary-light);
    font-size: .78rem;
}

.product-footer {
    border-top: 1px solid var(--border);
    background: #02050c;
    color: #9eb0c3;
}

.product-footer > div {
    min-height: 105px;
    display: flex;
    align-items: center;
    gap: 24px;
}

.product-footer img {
    width: 165px;
    height: 65px;
    object-fit: contain;
    object-position: left center;
}

.product-footer p {
    margin: 0;
    font-size: .72rem;
}

.product-footer a {
    margin-left: auto;
    color: var(--primary-light);
    font-size: .72rem;
    font-weight: 800;
    text-decoration: none;
}

.product-zoom-dialog {
    position: fixed;
    width: min(94vw, 1100px);
    height: min(90vh, 820px);
    padding: 0;
    border: 1px solid var(--border);
    border-radius: 20px;
    background: #02050c;
    box-shadow: 0 35px 100px rgba(0, 0, 0, .7);
}

.product-zoom-dialog::backdrop {
    background: rgba(0, 0, 0, .78);
    backdrop-filter: blur(6px);
}

.product-zoom-dialog img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-zoom-dialog button {
    position: absolute;
    z-index: 2;
    top: 12px;
    right: 12px;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 50%;
    background: rgba(0, 0, 0, .65);
    color: #fff;
    font-size: 1.4rem;
    cursor: pointer;
}

@media (max-width: 1080px) {
    .product-hero {
        grid-template-columns: 1fr 1fr;
    }

    .product-main-media,
    .product-main-media > img {
        min-height: 440px;
        height: 440px;
    }

    .product-detail-layout {
        grid-template-columns: minmax(0, 1fr) 370px;
    }

    .product-similar > div {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 820px) {
    .product-hero {
        grid-template-columns: 1fr;
    }

    .product-summary {
        padding-top: 0;
    }

    .product-detail-layout {
        grid-template-columns: 1fr;
    }

    .product-request-card {
        position: static;
    }
}

@media (max-width: 600px) {
    .product-container {
        width: min(100% - 28px, 1320px);
    }

    .product-header-inner {
        min-height: 66px;
    }

    .product-logo {
        width: 145px;
        height: 50px;
    }

    .product-header nav > a {
        width: 41px;
        overflow: hidden;
        padding: 0;
        font-size: 0;
    }

    .product-header nav > a::before {
        content: "←";
        font-size: 1rem;
    }

    .product-breadcrumb {
        min-height: 52px;
    }

    .product-main-media,
    .product-main-media > img {
        min-height: 350px;
        height: 350px;
        border-radius: 18px;
    }

    .product-summary h1 {
        font-size: 2.2rem;
    }

    .product-price-row strong {
        font-size: 1.6rem;
    }

    .product-trust-cards {
        gap: 6px;
    }

    .product-trust-cards > div {
        padding: 9px 7px;
    }

    .product-trust-cards strong {
        white-space: normal;
    }

    .product-primary-actions .product-button {
        flex: 1 1 auto;
    }

    .product-copy-section {
        padding: 22px 18px;
    }

    .product-specifications {
        grid-template-columns: 1fr;
    }

    .product-specifications dt {
        padding-bottom: 4px;
        border-bottom: 0;
    }

    .product-specifications dd {
        padding-top: 0;
    }

    .product-resources {
        grid-template-columns: 1fr;
    }

    .product-request-head {
        padding-inline: 18px;
    }

    .product-progress {
        margin-inline: 18px;
    }

    .product-request-form {
        padding-inline: 18px;
    }

    .product-field-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .product-similar > div {
        display: flex;
        gap: 10px;
        overflow-x: auto;
        margin-inline: -14px;
        padding: 0 14px 10px;
        scroll-snap-type: x mandatory;
    }

    .product-similar article {
        flex: 0 0 min(66vw, 240px);
        scroll-snap-align: start;
    }

    .product-footer > div {
        align-items: flex-start;
        flex-direction: column;
        gap: 6px;
        padding-top: 25px;
        padding-bottom: 25px;
    }

    .product-footer a {
        margin-left: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
    }
}
