:root {
    --u3e-ink: #111827;
    --u3e-muted: #667085;
    --u3e-line: #e5e7eb;
    --u3e-paper: #ffffff;
    --u3e-soft: #f5f7fb;
    --u3e-accent: #111827;
    --u3e-orange: #c2410c;
    --u3e-gold: #f59e0b;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--u3e-soft);
    color: var(--u3e-ink);
    font-family: Arial, Helvetica, sans-serif;
}

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

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

.u3e-shell {
    min-height: 100vh;
}

.u3e-wrap {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
}

.u3e-topbar {
    background: #0b1020;
    color: #f8e7c2;
    font-size: 13px;
}

.u3e-topbar .u3e-wrap {
    min-height: 34px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.u3e-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(255, 255, 255, .96);
    border-bottom: 1px solid var(--u3e-line);
    backdrop-filter: blur(10px);
}

.u3e-nav {
    min-height: 66px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.u3e-brand {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.u3e-brand strong {
    font-size: 22px;
    line-height: 1;
}

.u3e-brand span {
    color: var(--u3e-muted);
    font-size: 12px;
}

.u3e-links {
    display: flex;
    align-items: center;
    gap: 18px;
    color: #374151;
    font-size: 14px;
}

.u3e-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 20px;
    border: 1px solid transparent;
    border-radius: 999px;
    background: var(--u3e-accent);
    color: #fff;
    font-weight: 800;
    cursor: pointer;
}

.u3e-btn:hover {
    background: #000;
    color: #fff;
}

.u3e-landing,
.u3e-checkout-page {
    padding: 20px 0 50px;
}

.u3e-checkout,
.u3e-checkout-grid {
    display: grid;
    grid-template-columns: minmax(0, .92fr) minmax(420px, 1fr);
    gap: 28px;
    align-items: start;
}

.u3e-gallery-card,
.u3e-buy-card,
.u3e-panel,
.u3e-detail-card > div,
.u3e-benefits article,
.u3e-form-panel,
.u3e-order-panel {
    border: 1px solid var(--u3e-line);
    border-radius: 18px;
    background: var(--u3e-paper);
    box-shadow: 0 18px 50px rgba(17, 24, 39, .06);
}

.u3e-gallery-card {
    position: sticky;
    top: 94px;
    padding: 16px;
}

.u3e-main-image {
    display: grid;
    place-items: center;
    min-height: 430px;
    border-radius: 16px;
    background: #fff;
    overflow: hidden;
}

.u3e-main-image img {
    width: 100%;
    max-height: 500px;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    background: #fff;
}

.u3e-thumbs {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin-top: 14px;
}

.u3e-thumb {
    min-width: 0;
    padding: 0;
    border: 1px solid var(--u3e-line);
    border-radius: 12px;
    background: #fff;
    overflow: hidden;
    cursor: pointer;
}

.u3e-thumb img {
    width: 100%;
    height: 86px;
    object-fit: cover;
}

.u3e-thumb.is-active {
    border-color: var(--u3e-accent);
    box-shadow: 0 0 0 2px var(--u3e-accent);
}

.u3e-buy-card {
    padding: 22px;
}

.u3e-kicker {
    color: var(--u3e-orange);
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.u3e-buy-card h1 {
    margin: 8px 0 8px;
    font-size: clamp(32px, 3.8vw, 48px);
    line-height: .96;
}

.u3e-rating {
    color: var(--u3e-gold);
    font-weight: 900;
    margin: 4px 0 12px;
}

.u3e-rating span {
    color: var(--u3e-muted);
    font-weight: 700;
    font-size: 13px;
}

.u3e-lead {
    margin: 0 0 14px;
    color: var(--u3e-muted);
    line-height: 1.6;
}

.u3e-price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px;
    border-radius: 16px;
    background: #fff7ed;
    border: 1px solid #fed7aa;
    margin-bottom: 14px;
}

.u3e-price {
    color: var(--u3e-orange);
    font-size: 34px;
    font-weight: 900;
    line-height: 1;
}

.u3e-old-price {
    color: #98a2b3;
    font-weight: 800;
    text-decoration: line-through;
}

.u3e-compare {
    margin-top: 6px;
    color: var(--u3e-muted);
    font-size: 13px;
}

.u3e-compare span {
    text-decoration: line-through;
}

.u3e-badge,
.u3e-discount {
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    border-radius: 999px;
    background: var(--u3e-accent);
    color: #fff;
    font-weight: 900;
}

.u3e-mini-trust {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin: 0 0 14px;
}

.u3e-mini-trust span {
    border: 1px solid var(--u3e-line);
    border-radius: 999px;
    padding: 8px 10px;
    color: #344054;
    background: #fff;
    text-align: center;
    font-size: 12px;
    font-weight: 800;
}

.u3e-form {
    display: grid;
    gap: 12px;
}

.u3e-two-col {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.u3e-field {
    display: grid;
    gap: 7px;
}

.u3e-field-wide {
    grid-column: 1 / -1;
}

.u3e-field label {
    color: #344054;
    font-size: 14px;
    font-weight: 900;
}

.u3e-field input,
.u3e-field textarea {
    width: 100%;
    min-height: 44px;
    border: 1px solid #d0d5dd;
    border-radius: 12px;
    padding: 10px 12px;
    background: #fff;
    color: var(--u3e-ink);
    font-size: 14px;
}

.u3e-style-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.u3e-style-option {
    min-width: 0;
    position: relative;
    display: grid;
    gap: 6px;
    border: 1px solid var(--u3e-line);
    border-radius: 14px;
    padding: 6px;
    background: #fff;
    cursor: pointer;
    transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}

.u3e-style-option:hover {
    transform: translateY(-1px);
    border-color: #111827;
}

.u3e-style-option input {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}

.u3e-style-option img {
    width: 100%;
    height: 78px;
    border-radius: 10px;
    object-fit: cover;
    background: #fff;
}

.u3e-style-option span {
    text-align: center;
    font-size: 12px;
    line-height: 1.2;
    font-weight: 900;
    color: #374151;
}

.u3e-style-option.is-selected {
    border-color: var(--u3e-accent);
    box-shadow: 0 0 0 2px var(--u3e-accent);
}

.u3e-style-option:has(input:checked) {
    border-color: var(--u3e-accent);
    box-shadow: 0 0 0 2px var(--u3e-accent);
}

.u3e-payways {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.u3e-payway {
    display: flex;
    align-items: center;
    gap: 9px;
    min-height: 46px;
    border: 1px solid var(--u3e-line);
    border-radius: 12px;
    padding: 10px 12px;
    background: #fff;
    font-weight: 800;
}

.u3e-payway input {
    width: 16px;
    height: 16px;
}

.u3e-submit,
.u3e-pay-button {
    width: 100%;
    min-height: 52px;
    font-size: 16px;
}

.u3e-captcha {
    display: flex;
    align-items: center;
    gap: 10px;
}

.u3e-benefits {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 24px;
}

.u3e-benefits article {
    padding: 18px;
}

.u3e-benefits strong {
    display: block;
    margin-bottom: 5px;
    font-size: 17px;
}

.u3e-benefits span,
.u3e-panel p,
.u3e-order-panel p,
.u3e-form-panel p {
    color: var(--u3e-muted);
    line-height: 1.55;
}

.u3e-details,
.u3e-detail-card {
    margin-top: 24px;
}

.u3e-panel,
.u3e-detail-card > div,
.u3e-form-panel,
.u3e-order-panel {
    padding: 24px;
}

.u3e-panel h2,
.u3e-order-panel h1,
.u3e-form-panel h1 {
    margin: 0 0 12px;
}

.u3e-panel h3 {
    margin-bottom: 8px;
}

.u3e-panel ul {
    padding-left: 20px;
    line-height: 1.75;
}

.u3e-lines {
    display: grid;
    gap: 10px;
    margin: 18px 0;
}

.u3e-line {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    border-bottom: 1px solid var(--u3e-line);
    padding-bottom: 10px;
}

.u3e-line span:first-child {
    color: var(--u3e-muted);
}

.u3e-status {
    display: inline-flex;
    border-radius: 999px;
    padding: 6px 9px;
    background: #eef6e6;
    color: #446a18;
    font-weight: 800;
    font-size: 13px;
}

.u3e-footer {
    border-top: 1px solid var(--u3e-line);
    background: #fff;
    color: var(--u3e-muted);
    padding: 28px 0;
    font-size: 13px;
}

.u3e-footer .u3e-wrap {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
}

@media (max-width: 980px) {
    .u3e-checkout,
    .u3e-checkout-grid {
        grid-template-columns: 1fr;
    }

    .u3e-gallery-card {
        position: static;
    }

    .u3e-main-image {
        min-height: 360px;
    }
}

@media (max-width: 700px) {
    .u3e-topbar .u3e-wrap {
        align-items: flex-start;
        flex-direction: column;
        justify-content: center;
        padding: 8px 0;
    }

    .u3e-links {
        display: none;
    }

    .u3e-landing,
    .u3e-checkout-page {
        padding-top: 18px;
    }

    .u3e-buy-card,
    .u3e-gallery-card {
        padding: 14px;
        border-radius: 14px;
    }

    .u3e-thumbs,
    .u3e-style-grid,
    .u3e-payways,
    .u3e-two-col,
    .u3e-benefits,
    .u3e-mini-trust {
        grid-template-columns: 1fr 1fr;
    }

    .u3e-benefits {
        grid-template-columns: 1fr;
    }

    .u3e-style-option img {
        height: 110px;
    }

    .u3e-buy-card h1 {
        font-size: 36px;
    }
}

.u3e-checkout-page {
    padding: 28px 0 56px;
    background:
        radial-gradient(circle at 14% 8%, rgba(124, 58, 237, .08), transparent 28%),
        linear-gradient(180deg, #fff 0, #f6f8fb 42%, #fff 100%);
}

.u3e-checkout-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(390px, .82fr);
    gap: 28px;
    align-items: start;
}

.u3e-detail-card {
    margin-top: 28px;
    padding: 28px;
    border: 1px solid var(--u3e-line);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 18px 50px rgba(17, 24, 39, .06);
}

.u3e-detail-card h2 {
    margin: 0 0 12px;
}

.u3e-detail-card ul {
    padding-left: 20px;
    line-height: 1.75;
}

.u3e-checkout-page .u3e-gallery-card {
    display: grid;
    gap: 14px;
    padding: 14px;
}

.u3e-checkout-page .u3e-main-image {
    min-height: 0;
    border: 0;
    border-radius: 16px;
    background: #f7f7f5;
}

.u3e-checkout-page .u3e-main-image img {
    width: 100%;
    height: min(620px, calc(100vh - 190px));
    min-height: 430px;
    max-height: none;
    aspect-ratio: auto;
    object-fit: contain;
    padding: 10px;
}

.u3e-checkout-page .u3e-thumbs {
    grid-template-columns: repeat(8, minmax(0, 1fr));
    gap: 8px;
    margin-top: 0;
}

.u3e-checkout-page .u3e-thumb {
    opacity: .82;
    transition: opacity .15s ease, border-color .15s ease, transform .15s ease;
}

.u3e-checkout-page .u3e-thumb:hover,
.u3e-checkout-page .u3e-thumb.is-active {
    opacity: 1;
    border-color: #111827;
    box-shadow: 0 0 0 2px #111827;
    transform: translateY(-1px);
}

.u3e-checkout-page .u3e-thumb img {
    height: auto;
    aspect-ratio: 1;
}

.u3e-old-price {
    color: #9ca3af;
    font-size: 18px;
    text-decoration: line-through;
}

.u3e-discount {
    border-radius: 999px;
    padding: 5px 10px;
    background: #fee2e2;
    color: #b91c1c;
    font-size: 13px;
    font-weight: 900;
}

.u3e-checkout-page .u3e-price-row {
    justify-content: flex-start;
    flex-wrap: wrap;
}

.u3e-checkout-page .u3e-style-option:has(input:checked) {
    border-color: #111827;
    box-shadow: 0 0 0 2px #111827 inset, 0 10px 24px rgba(17, 24, 39, .12);
}

.u3e-pay-button {
    width: 100%;
    min-height: 54px;
    margin-top: 4px;
    font-size: 16px;
}

@media (max-width: 980px) {
    .u3e-checkout-grid {
        grid-template-columns: 1fr;
    }

    .u3e-checkout-page .u3e-gallery-card {
        position: static;
    }

    .u3e-checkout-page .u3e-main-image img {
        height: auto;
        min-height: 0;
        max-height: 540px;
    }
}

@media (max-width: 700px) {
    html,
    body,
    .u3e-shell {
        max-width: 100%;
        overflow-x: hidden;
    }

    .u3e-wrap {
        width: 100%;
        padding-left: 16px;
        padding-right: 16px;
    }

    .u3e-checkout-page {
        padding-top: 18px;
    }

    .u3e-checkout-grid {
        display: block !important;
        width: 100%;
        max-width: 100%;
    }

    .u3e-gallery-card,
    .u3e-buy-card,
    .u3e-detail-card {
        width: 100%;
        max-width: 100%;
        overflow: hidden;
    }

    .u3e-buy-card {
        margin-top: 28px;
    }

    .u3e-buy-card h1 {
        font-size: 32px;
        line-height: 1.02;
        overflow-wrap: anywhere;
    }

    .u3e-checkout-page .u3e-thumbs {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .u3e-checkout-page .u3e-main-image {
        display: block;
    }

    .u3e-checkout-page .u3e-main-image img {
        width: 100%;
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        padding: 0;
    }

    .u3e-checkout-page .u3e-payways {
        grid-template-columns: 1fr;
    }
}

/* Final storefront polish: keep the product page elegant and prevent tiny shadow overflow. */
.u3e-checkout-page .u3e-gallery-card,
.u3e-checkout-page .u3e-buy-card,
.u3e-detail-card {
    overflow: hidden;
}

.u3e-checkout-page .u3e-style-option,
.u3e-checkout-page .u3e-thumb,
.u3e-checkout-page .u3e-payway {
    overflow: hidden;
}

.u3e-checkout-page .u3e-style-option input {
    width: 100%;
    height: 100%;
    min-height: 0;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: inherit;
}

.u3e-checkout-page .u3e-style-option.is-selected,
.u3e-checkout-page .u3e-style-option:has(input:checked) {
    box-shadow: inset 0 0 0 2px #111827, 0 10px 24px rgba(17, 24, 39, .10);
}

.u3e-checkout-page .u3e-price-row {
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
}

.u3e-checkout-page .u3e-discount {
    display: inline-flex;
    width: auto;
    height: auto;
    min-height: 0;
    padding: 6px 11px;
    border-radius: 999px;
    background: #fee2e2;
    color: #b91c1c;
    font-size: 13px;
    line-height: 1;
}

.u3e-checkout-page .u3e-detail-card > div {
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.u3e-checkout-page .u3e-detail-card p {
    color: var(--u3e-muted);
    line-height: 1.75;
}

.u3e-checkout-page .u3e-detail-card img {
    width: auto;
    max-width: min(100%, 760px);
    height: auto;
    max-height: 760px;
    margin: 18px auto;
    border-radius: 16px;
}

@media (max-width: 700px) {
    .u3e-topbar .u3e-wrap {
        padding-left: 16px;
        padding-right: 16px;
    }

    .u3e-checkout-page * {
        min-width: 0;
    }

    .u3e-checkout-page .u3e-main-image {
        aspect-ratio: 1 / 1.12;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .u3e-checkout-page .u3e-main-image img {
        width: 100%;
        height: 100% !important;
        object-fit: contain;
    }

    .u3e-checkout-page .u3e-price-row {
        padding: 14px;
    }

    .u3e-checkout-page .u3e-price {
        font-size: 32px;
    }

    .u3e-checkout-page .u3e-old-price {
        font-size: 15px;
    }

    .u3e-checkout-page .u3e-mini-trust {
        grid-template-columns: 1fr;
    }

    .u3e-checkout-page .u3e-detail-card {
        padding: 18px;
    }
}
