@font-face {
    font-family: "Keep Calm";
    src: url("../fonts/KeepCalm-Medium.ttf") format("truetype");
    font-weight: 400 800;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Hexenkotel";
    src: url("../fonts/Hexenkotel.otf") format("opentype");
    font-weight: 400 800;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Romanica";
    src: url("../fonts/Romanica.ttf") format("truetype");
    font-weight: 400 800;
    font-style: normal;
    font-display: swap;
}

/* ══════════════════════════════════════
   RESET & BASE (MODERN E-COMMERCE)
══════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body {
    font-family: 'Inter', sans-serif;
    background-color: #f8f9fa;
    color: #333;
    -webkit-font-smoothing: antialiased;
}

/* Product detail page */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    padding: 0 30px;
    border-radius: var(--radius-sm);
    background: linear-gradient(120deg, var(--primary) 0%, #ffc83d 52%, var(--primary) 100%);
    color: #07151c;
    font-weight: 800;
    box-shadow: 0 14px 30px rgba(253,185,18,.22);
    transition: transform .18s ease, box-shadow .18s ease;
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 18px 36px rgba(253,185,18,.28);
}

.product-page {
    width: min(1280px, calc(100% - 48px));
    margin: 0 auto;
    padding: 36px 0 82px;
}

.breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 34px;
    color: var(--text-muted);
    font-size: 13px;
}

.breadcrumb strong {
    color: var(--text-main);
}

.product-detail-shell {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(410px, 520px);
    gap: clamp(34px, 5vw, 78px);
    align-items: start;
}

.product-gallery {
    position: relative;
    display: grid;
    gap: 16px;
}

.gallery-main {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 10px;
    background: var(--bg-white);
    border: 1px solid var(--border-color);
}

.gallery-arrow {
    position: absolute;
    top: calc(50% - 56px);
    z-index: 2;
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: var(--bg-white);
    color: var(--text-main);
    box-shadow: 0 14px 32px rgba(7,21,28,.14);
    font-size: 34px;
    line-height: 1;
}

.gallery-prev { left: 18px; }
.gallery-next { right: 18px; }

.gallery-thumbs {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.gallery-thumb {
    overflow: hidden;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    background: var(--bg-white);
}

.gallery-thumb.is-active {
    border-color: var(--text-main);
    box-shadow: inset 0 0 0 2px var(--text-main);
}

.gallery-thumb img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.product-summary {
    color: var(--text-main);
}

.product-summary h1 {
    margin: 8px 0 10px;
    color: var(--text-main);
    font-size: clamp(25px, 3vw, 34px);
    line-height: 1.15;
    letter-spacing: 0;
}

.product-code {
    margin-bottom: 14px;
    color: var(--text-muted);
    font-size: 14px;
}

.detail-rating {
    margin-bottom: 16px;
    color: #ff9800;
    font-size: 18px;
}

.detail-rating small {
    color: #aeb7bf;
    font-size: 14px;
}

.detail-price-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 22px;
}

.detail-discount {
    display: inline-grid;
    place-items: center;
    min-height: 42px;
    padding: 6px 12px;
    border-radius: 4px;
    background: #d6ffb8;
    color: #1f6f05;
    font-size: 14px;
    font-weight: 800;
}

.detail-price-row strong {
    color: var(--text-main);
    font-size: 29px;
}

.detail-price-row del {
    color: #aeb7bf;
    font-size: 16px;
}

.detail-customize-btn {
    width: min(100%, 320px);
    margin-bottom: 20px;
}

.detail-info-panel,
.detail-description,
.detail-media-box,
.reviews-panel {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: var(--bg-white);
}

.detail-info-panel {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    color: var(--text-muted);
    line-height: 1.5;
}

.detail-info-panel svg {
    flex: 0 0 24px;
    width: 24px;
    height: 24px;
    color: var(--text-main);
}

.detail-description {
    margin-top: 14px;
    padding: 22px 24px;
}

.detail-description h2,
.detail-media-box strong,
.reviews-panel h2 {
    display: block;
    margin-bottom: 12px;
    color: var(--text-main);
    font-size: 19px;
}

.detail-description ul {
    list-style: disc;
    padding-left: 20px;
    color: var(--text-muted);
    line-height: 1.72;
}

.detail-media-box {
    margin-top: 14px;
    padding: 18px;
}

.video-placeholder {
    min-height: 230px;
    display: grid;
    place-items: center;
    border-radius: 6px;
    background: linear-gradient(135deg, rgba(7,21,28,.88), rgba(7,21,28,.50));
}

.video-placeholder span {
    width: 74px;
    height: 52px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: #ff1717;
    color: #fff;
    font-size: 26px;
}

.detail-section {
    margin-top: 78px;
}

.detail-related-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.detail-related-card {
    display: block;
}

.reviews-panel {
    margin-top: 62px;
    padding: 28px;
}

.reviews-panel p {
    color: var(--text-muted);
    margin-bottom: 14px;
}

.review-stars {
    color: #ff9800;
    font-size: 30px;
    margin-bottom: 16px;
}

.reviews-panel textarea {
    width: 100%;
    min-height: 120px;
    resize: vertical;
    display: block;
    margin-bottom: 18px;
    padding: 14px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    background: var(--bg-white);
    color: var(--text-main);
}

.customization-modal[aria-hidden="true"] {
    display: none;
}

.customization-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: grid;
    place-items: center;
    padding: 34px;
}

.customization-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.72);
}

.customization-dialog {
    position: relative;
    z-index: 1;
    width: min(1120px, 100%);
    max-height: min(840px, calc(100vh - 68px));
    overflow: auto;
    border-radius: 8px;
    background: #f2f2f2;
    padding: 54px 42px 42px;
}

.customization-dialog h2 {
    margin-bottom: 22px;
    color: var(--text-main);
    font-family: 'Playfair Display', serif;
    font-size: 32px;
}

.modal-close {
    position: absolute;
    top: 18px;
    right: 24px;
    color: var(--text-main);
    font-size: 34px;
    line-height: 1;
}

.customization-fields {
    display: grid;
    gap: 16px;
    margin-bottom: 22px;
}

.custom-field {
    display: grid;
    gap: 12px;
    padding: 24px 28px;
    border: 1px solid #d8dde2;
    border-radius: 16px;
    background: #fff;
    color: #333;
    font-size: 20px;
}

.custom-field input[type="text"],
.custom-field select {
    min-height: 58px;
    width: 100%;
    padding: 0 18px;
    border: 1px solid #6d747b;
    border-radius: 2px;
    background: #fff;
    color: #222;
    font-size: 21px;
}

.custom-field input[type="file"] {
    color: #333;
}

.custom-field small {
    color: var(--text-muted);
    font-size: 13px;
}

.custom-field-check {
    display: flex;
    align-items: center;
    gap: 14px;
}

.custom-field-check input {
    width: 20px;
    height: 20px;
}

body.modal-open {
    overflow: hidden;
}

html[data-theme="dark"] .product-page,
html[data-theme="dark"] .product-summary h1,
html[data-theme="dark"] .detail-price-row strong,
html[data-theme="dark"] .detail-description h2,
html[data-theme="dark"] .reviews-panel h2 {
    color: var(--text-main);
}

html[data-theme="dark"] .gallery-main,
html[data-theme="dark"] .gallery-thumb,
html[data-theme="dark"] .detail-info-panel,
html[data-theme="dark"] .detail-description,
html[data-theme="dark"] .detail-media-box,
html[data-theme="dark"] .reviews-panel {
    background: var(--bg-white);
    border-color: var(--border-color);
}

@media (max-width: 900px) {
    .product-page {
        width: min(100% - 28px, 680px);
        padding-top: 24px;
    }

    .product-detail-shell {
        grid-template-columns: 1fr;
        gap: 32px;
    }

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

    .customization-modal {
        padding: 18px;
    }

    .customization-dialog {
        padding: 46px 18px 24px;
    }

    .customization-dialog h2 {
        font-size: 25px;
    }

    .custom-field {
        padding: 18px;
        font-size: 17px;
    }

    .custom-field input[type="text"],
    .custom-field select {
        min-height: 52px;
        font-size: 17px;
    }
}

/* Product detail refinements: compact recommendations, elegant reviews, live customizer */
body[data-product-page] .detail-section {
    width: min(1240px, 100%);
    margin: 58px auto 0;
}

body[data-product-page] .detail-section .section-title {
    margin-bottom: 26px;
    font-size: clamp(30px, 3.2vw, 42px);
}

body[data-product-page] .detail-related-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

body[data-product-page] .detail-related-card {
    min-height: 0;
    padding: 14px;
    border-radius: 14px;
    background: rgba(255,255,255,.92);
    box-shadow: 0 14px 42px rgba(7,21,28,.06);
}

body[data-product-page] .detail-related-card .pc-img-wrap {
    margin: 0 0 14px;
    border-radius: 12px;
}

body[data-product-page] .detail-related-card .pc-img-wrap img {
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

body[data-product-page] .detail-related-card .pc-content {
    padding: 0;
    gap: 9px;
}

body[data-product-page] .detail-related-card .pc-title {
    min-height: 44px;
    font-size: 15px;
    line-height: 1.35;
}

body[data-product-page] .detail-related-card .pc-price-new {
    font-size: 20px;
}

body[data-product-page] .detail-related-card .pc-price-old {
    font-size: 13px;
}

body[data-product-page] .reviews-panel {
    width: min(1120px, 100%);
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    column-gap: 34px;
    align-items: start;
    margin: 54px auto 0;
    padding: 28px;
    border-radius: 22px;
    background:
        radial-gradient(circle at 12% 0%, rgba(253,185,18,.09), transparent 30%),
        rgba(255,255,255,.82);
}

body[data-product-page] .reviews-panel h2 {
    margin: 0 0 10px;
    font-family: 'Playfair Display', serif;
    font-size: 34px;
}

body[data-product-page] .reviews-panel p,
body[data-product-page] .review-stars {
    grid-column: 1;
}

body[data-product-page] .reviews-panel textarea {
    grid-column: 2;
    grid-row: 1 / span 3;
    min-height: 132px;
    margin: 0;
    border-radius: 14px;
    border-color: rgba(7,21,28,.10);
}

body[data-product-page] .reviews-panel .btn-primary {
    grid-column: 2;
    justify-self: start;
    min-width: 150px;
    margin-top: 16px;
    border-radius: 12px;
    background: var(--primary);
    color: #07151c;
}

body[data-product-page] .customization-dialog {
    width: min(1040px, calc(100vw - 40px));
}

body[data-product-page] .customization-head {
    padding: 24px 30px 18px;
}

body[data-product-page] .customization-dialog h2 {
    font-size: clamp(28px, 3.2vw, 38px);
}

body[data-product-page] .customization-body {
    display: grid;
    grid-template-columns: minmax(260px, 380px) minmax(0, 1fr);
    gap: 26px;
    padding: 24px 30px 26px;
}

body[data-product-page] .custom-preview {
    align-self: start;
}

body[data-product-page] .custom-preview-card {
    position: relative;
    overflow: hidden;
    border-radius: 22px;
    background: #07151c;
    box-shadow: 0 22px 60px rgba(7,21,28,.18);
}

body[data-product-page] .custom-preview-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 68% 22%, rgba(253,185,18,.18), transparent 30%),
        linear-gradient(180deg, transparent 52%, rgba(7,21,28,.72));
    pointer-events: none;
}

body[data-product-page] .custom-preview-card img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
}

body[data-product-page] .preview-engrave {
    position: absolute;
    z-index: 2;
    color: rgba(255,255,255,.92);
    font-family: 'Playfair Display', serif;
    text-shadow: 0 2px 10px rgba(0,0,0,.45);
    pointer-events: none;
}

body[data-product-page] .preview-engrave-primary {
    left: 13%;
    bottom: 24%;
    font-size: clamp(22px, 2.4vw, 34px);
    transform: rotate(-4deg);
}

body[data-product-page] .preview-engrave-secondary {
    right: 15%;
    bottom: 32%;
    font-size: clamp(18px, 1.8vw, 27px);
    transform: rotate(3deg);
}

body[data-product-page] .preview-engrave-box {
    left: 11%;
    right: 11%;
    bottom: 11%;
    font-size: clamp(19px, 1.9vw, 28px);
    text-align: center;
}

body[data-product-page] .custom-preview p {
    margin-top: 12px;
    color: var(--text-muted);
    font-size: 13px;
    line-height: 1.45;
}

body[data-product-page] .custom-form-panel {
    min-width: 0;
}

body[data-product-page] .customization-fields {
    max-height: min(470px, calc(100vh - 300px));
    padding: 0;
    gap: 14px;
}

body[data-product-page] .custom-field {
    font-size: 13px;
    letter-spacing: .01em;
}

body[data-product-page] .custom-field input[type="text"],
body[data-product-page] .custom-field select,
body[data-product-page] .custom-field input[type="file"] {
    min-height: 46px;
    border-radius: 10px;
    font-size: 14px;
}

body[data-product-page] .custom-field-check {
    padding: 13px 14px;
}

body[data-product-page] .customization-actions {
    padding: 18px 30px 28px;
}

@media (max-width: 1100px) {
    body[data-product-page] .detail-related-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    body[data-product-page] .detail-related-grid,
    body[data-product-page] .reviews-panel,
    body[data-product-page] .customization-body {
        grid-template-columns: 1fr;
    }

    body[data-product-page] .reviews-panel textarea,
    body[data-product-page] .reviews-panel .btn-primary {
        grid-column: 1;
        grid-row: auto;
    }

    body[data-product-page] .custom-preview-card img {
        aspect-ratio: 16 / 11;
    }
}

/* Checkout final controls: searchable region input and contained choice animation. */
body[data-checkout-page] .checkout-card {
    overflow: visible;
}

body[data-checkout-page] .checkout-region-field {
    z-index: 3;
}

body[data-checkout-page] .checkout-combobox {
    position: relative;
    display: block;
    min-width: 0;
}

body[data-checkout-page] .checkout-combobox .commerce-input {
    padding-right: 46px;
}

body[data-checkout-page] .checkout-combobox-toggle {
    position: absolute;
    top: 50%;
    right: 12px;
    width: 28px;
    height: 28px;
    transform: translateY(-50%);
    border-radius: 999px;
    background:
        linear-gradient(45deg, transparent 50%, #667179 50%) 9px 11px/7px 7px no-repeat,
        linear-gradient(135deg, #667179 50%, transparent 50%) 13px 11px/7px 7px no-repeat;
}

body[data-checkout-page] .checkout-combobox-list {
    position: absolute;
    z-index: 20;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    display: grid;
    max-height: 248px;
    overflow: auto;
    padding: 6px;
    border: 1px solid rgba(7,21,28,.12);
    border-radius: 12px;
    background: rgba(255,255,255,.98);
    box-shadow: 0 18px 42px rgba(7,21,28,.14);
}

body[data-checkout-page] .checkout-combobox-list[hidden] {
    display: none;
}

body[data-checkout-page] .checkout-combobox-list button,
body[data-checkout-page] .checkout-combobox-empty {
    min-height: 38px;
    padding: 0 12px;
    border-radius: 8px;
    color: #17242a;
    font-size: 14px;
    font-weight: 550;
    line-height: 38px;
    text-align: left;
    white-space: nowrap;
}

body[data-checkout-page] .checkout-combobox-list button:hover,
body[data-checkout-page] .checkout-combobox-list button[aria-selected="true"] {
    background: rgba(253,185,18,.16);
    color: #7a5200;
}

body[data-checkout-page] .checkout-combobox-empty {
    color: #7d878d;
}

body[data-checkout-page] .checkout-agreement:hover,
body[data-checkout-page] .checkout-agreement:focus-within {
    border-color: rgba(253,185,18,.72);
    background:
        linear-gradient(90deg, rgba(253,185,18,.14), transparent 28%),
        #fff;
    box-shadow: inset 4px 0 0 rgba(253,185,18,.70);
}

html[data-theme="dark"] body[data-checkout-page] .checkout-combobox-list {
    border-color: rgba(255,255,255,.12);
    background: rgba(9,27,34,.98);
    box-shadow: 0 18px 42px rgba(0,0,0,.32);
}

html[data-theme="dark"] body[data-checkout-page] .checkout-combobox-list button,
html[data-theme="dark"] body[data-checkout-page] .checkout-combobox-empty {
    color: #f7f2e7;
}

html[data-theme="dark"] body[data-checkout-page] .checkout-combobox-list button:hover,
html[data-theme="dark"] body[data-checkout-page] .checkout-combobox-list button[aria-selected="true"] {
    background: rgba(253,185,18,.16);
    color: var(--primary);
}

html[data-theme="dark"] body[data-checkout-page] .checkout-agreement:hover,
html[data-theme="dark"] body[data-checkout-page] .checkout-agreement:focus-within {
    background:
        linear-gradient(90deg, rgba(253,185,18,.16), transparent 28%),
        rgba(255,255,255,.07);
}

@media (max-width: 760px) {
    body[data-checkout-page] .checkout-combobox-list {
        max-height: 220px;
    }
}

/* Mockup preview engine: product photo + template-driven overlay layers */
body[data-product-page] .customization-dialog {
    width: min(1320px, calc(100vw - 40px));
}

body[data-product-page] .customization-body {
    grid-template-columns: minmax(520px, 560px) minmax(420px, 1fr);
    gap: 34px;
    align-items: start;
}

body[data-product-page] .custom-preview-card.mockup-preview-stage {
    container-type: inline-size;
    isolation: isolate;
    border-radius: 20px;
    background: #07151c;
}

body[data-product-page] .custom-preview-card.mockup-preview-stage::after {
    background:
        linear-gradient(180deg, transparent 58%, rgba(7,21,28,.38)),
        radial-gradient(circle at 50% 70%, rgba(255,255,255,.12), transparent 24%);
    mix-blend-mode: soft-light;
}

body[data-product-page] .mockup-preview-stage img {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

body[data-product-page] .mockup-preview-stage canvas {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

body[data-product-page] .mockup-layer-host {
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
}

body[data-product-page] .mockup-text-layer {
    position: absolute;
    display: block;
    line-height: 1;
    white-space: nowrap;
    letter-spacing: .01em;
    transform-origin: 50% 50%;
    filter: blur(.12px);
    pointer-events: none;
    -webkit-font-smoothing: antialiased;
}

body[data-product-page] .custom-form-panel {
    padding-top: 6px;
}

body[data-product-page] .customization-fields {
    max-height: min(560px, calc(100vh - 310px));
}

body[data-product-page] .custom-field input[type="text"],
body[data-product-page] .custom-field select,
body[data-product-page] .custom-field input[type="file"] {
    min-height: 58px;
    padding-inline: 18px;
}

@media (max-width: 900px) {
    body[data-product-page] .customization-dialog {
        width: min(680px, calc(100vw - 24px));
    }

    body[data-product-page] .customization-body {
        grid-template-columns: 1fr;
    }

    body[data-product-page] .customization-fields {
        max-height: none;
    }
}

/* Refined product detail direction: clean corporate/minimal, not legacy WP */
body[data-product-page] {
    background:
        radial-gradient(circle at 72% 8%, rgba(253,185,18,.10), transparent 28%),
        linear-gradient(180deg, #f8f9fa 0%, #f2f4f5 100%);
}

body[data-product-page] .product-page {
    width: min(1240px, calc(100% - 48px));
    padding-top: 42px;
}

body[data-product-page] .breadcrumb {
    margin-bottom: 24px;
    color: #8a949c;
}

body[data-product-page] .product-detail-shell {
    position: relative;
    grid-template-columns: minmax(0, 1.02fr) minmax(380px, .86fr);
    gap: clamp(34px, 5vw, 70px);
    padding: clamp(24px, 4vw, 44px);
    border: 1px solid rgba(7,21,28,.08);
    border-radius: 28px;
    background:
        radial-gradient(circle at 12% 10%, rgba(253,185,18,.13), transparent 32%),
        linear-gradient(135deg, rgba(255,255,255,.96), rgba(248,250,250,.88));
    box-shadow: 0 28px 90px rgba(7,21,28,.08);
}

body[data-product-page] .product-gallery {
    align-self: start;
}

body[data-product-page] .gallery-main {
    border-radius: 20px;
    border-color: rgba(7,21,28,.08);
    box-shadow: 0 22px 60px rgba(7,21,28,.10);
}

body[data-product-page] .gallery-arrow {
    width: 42px;
    height: 42px;
    background: rgba(255,255,255,.92);
    border: 1px solid rgba(7,21,28,.08);
    color: #07151c;
    box-shadow: 0 14px 34px rgba(7,21,28,.12);
}

body[data-product-page] .gallery-thumbs {
    grid-template-columns: repeat(4, minmax(0, 92px));
}

body[data-product-page] .gallery-thumb {
    border-radius: 12px;
    border-color: rgba(7,21,28,.10);
    opacity: .72;
    transition: opacity .18s ease, transform .18s ease, border-color .18s ease;
}

body[data-product-page] .gallery-thumb:hover,
body[data-product-page] .gallery-thumb.is-active {
    opacity: 1;
    transform: translateY(-1px);
}

body[data-product-page] .gallery-thumb.is-active {
    border-color: var(--primary);
    box-shadow: inset 0 0 0 2px var(--primary);
}

body[data-product-page] .product-summary {
    padding-top: 8px;
}

body[data-product-page] .product-summary .pc-category {
    display: inline-flex;
    width: auto;
    padding: 8px 12px;
    border: 1px solid rgba(7,21,28,.08);
    border-radius: 999px;
    background: rgba(255,255,255,.72);
    color: #7a858d;
    font-size: 12px;
    letter-spacing: .08em;
}

body[data-product-page] .product-summary h1 {
    max-width: 620px;
    margin-top: 16px;
    font-family: 'Playfair Display', serif;
    font-size: clamp(34px, 4.2vw, 54px);
    line-height: 1.02;
}

body[data-product-page] .product-code {
    margin-top: 12px;
}

body[data-product-page] .detail-rating {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 4px 0 18px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255,255,255,.70);
    color: #ff9800;
}

body[data-product-page] .detail-price-row {
    margin: 8px 0 24px;
}

body[data-product-page] .detail-price-row strong {
    font-size: clamp(30px, 3.4vw, 42px);
    letter-spacing: 0;
}

body[data-product-page] .detail-discount {
    background: rgba(214,255,184,.78);
    border: 1px solid rgba(31,111,5,.13);
}

body[data-product-page] .detail-customize-btn {
    width: min(100%, 360px);
    min-height: 58px;
    border-radius: 12px;
    background: linear-gradient(120deg, #07151c 0%, #0e252d 62%, #263942 100%);
    color: #fff;
    box-shadow: 0 18px 40px rgba(7,21,28,.20);
}

body[data-product-page] .detail-info-panel,
body[data-product-page] .detail-description,
body[data-product-page] .detail-media-box,
body[data-product-page] .reviews-panel {
    border-color: rgba(7,21,28,.08);
    border-radius: 18px;
    background: rgba(255,255,255,.72);
    box-shadow: none;
}

body[data-product-page] .detail-info-panel {
    margin-top: 4px;
}

body[data-product-page] .detail-media-box {
    display: grid;
    grid-template-columns: 1fr 148px;
    gap: 18px;
    align-items: center;
}

body[data-product-page] .video-placeholder {
    min-height: 96px;
    border-radius: 14px;
}

body[data-product-page] .video-placeholder span {
    width: 54px;
    height: 38px;
    border-radius: 10px;
    font-size: 18px;
}

body[data-product-page] .detail-section {
    margin-top: 64px;
}

body[data-product-page] .detail-related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

body[data-product-page] .reviews-panel {
    width: min(860px, 100%);
}

body[data-product-page] .customization-modal {
    place-items: center;
    padding: 24px;
}

body[data-product-page] .customization-backdrop {
    background:
        radial-gradient(circle at 48% 20%, rgba(253,185,18,.14), transparent 30%),
        rgba(7,21,28,.68);
    backdrop-filter: blur(10px);
}

body[data-product-page] .customization-dialog {
    width: min(760px, 100%);
    max-height: min(820px, calc(100vh - 48px));
    padding: 0;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.72);
    border-radius: 24px;
    background:
        radial-gradient(circle at 84% 0%, rgba(253,185,18,.14), transparent 34%),
        rgba(255,255,255,.96);
    box-shadow: 0 34px 110px rgba(7,21,28,.34);
}

body[data-product-page] .customization-head {
    padding: 34px 38px 22px;
    border-bottom: 1px solid rgba(7,21,28,.08);
}

body[data-product-page] .customization-head span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #a36f00;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

body[data-product-page] .customization-head span::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: var(--primary);
}

body[data-product-page] .customization-dialog h2 {
    margin: 10px 0 8px;
    font-size: clamp(30px, 4vw, 42px);
    line-height: 1;
}

body[data-product-page] .customization-head p {
    max-width: 560px;
    color: var(--text-muted);
    line-height: 1.55;
}

body[data-product-page] .modal-close {
    top: 24px;
    right: 26px;
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: rgba(7,21,28,.05);
    font-size: 28px;
}

body[data-product-page] .customization-fields {
    max-height: min(430px, calc(100vh - 320px));
    overflow: auto;
    padding: 26px 38px;
    gap: 16px;
}

body[data-product-page] .custom-field {
    padding: 0;
    gap: 8px;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: var(--text-main);
    font-size: 14px;
    font-weight: 800;
}

body[data-product-page] .custom-field input[type="text"],
body[data-product-page] .custom-field select {
    min-height: 54px;
    border: 1px solid rgba(7,21,28,.12);
    border-radius: 12px;
    background: #fff;
    color: var(--text-main);
    font-size: 16px;
    font-weight: 500;
    box-shadow: inset 0 1px 0 rgba(7,21,28,.02);
}

body[data-product-page] .custom-field input[type="text"]:focus,
body[data-product-page] .custom-field select:focus {
    border-color: rgba(253,185,18,.85);
    box-shadow: 0 0 0 4px rgba(253,185,18,.16);
}

body[data-product-page] .custom-field input[type="file"] {
    min-height: 54px;
    padding: 14px;
    border: 1px dashed rgba(7,21,28,.18);
    border-radius: 12px;
    background: rgba(248,249,250,.9);
}

body[data-product-page] .custom-field-check {
    margin-top: 4px;
    padding: 16px 18px;
    border: 1px solid rgba(7,21,28,.08);
    border-radius: 14px;
    background: rgba(248,249,250,.86);
    font-weight: 700;
}

body[data-product-page] .customization-actions {
    padding: 20px 38px 34px;
    border-top: 1px solid rgba(7,21,28,.08);
}

body[data-product-page] .customization-actions .btn-primary {
    width: 100%;
    min-height: 56px;
    border-radius: 12px;
    background: linear-gradient(120deg, #07151c 0%, #0e252d 62%, #263942 100%);
    color: #fff;
}

html[data-theme="dark"] body[data-product-page] {
    background:
        radial-gradient(circle at 72% 8%, rgba(253,185,18,.08), transparent 28%),
        #07151c;
}

html[data-theme="dark"] body[data-product-page] .product-detail-shell {
    border-color: rgba(255,255,255,.08);
    background:
        radial-gradient(circle at 18% 4%, rgba(253,185,18,.12), transparent 30%),
        linear-gradient(135deg, rgba(12,31,38,.96), rgba(7,21,28,.92));
}

html[data-theme="dark"] body[data-product-page] .product-summary .pc-category,
html[data-theme="dark"] body[data-product-page] .detail-rating,
html[data-theme="dark"] body[data-product-page] .detail-info-panel,
html[data-theme="dark"] body[data-product-page] .detail-description,
html[data-theme="dark"] body[data-product-page] .detail-media-box,
html[data-theme="dark"] body[data-product-page] .reviews-panel {
    background: rgba(255,255,255,.06);
    border-color: rgba(255,255,255,.10);
}

html[data-theme="dark"] body[data-product-page] .product-summary h1,
html[data-theme="dark"] body[data-product-page] .detail-price-row strong,
html[data-theme="dark"] body[data-product-page] .breadcrumb strong,
html[data-theme="dark"] body[data-product-page] .detail-description h2,
html[data-theme="dark"] body[data-product-page] .detail-media-box strong,
html[data-theme="dark"] body[data-product-page] .reviews-panel h2 {
    color: #f8f9fa;
}

@media (max-width: 900px) {
    body[data-product-page] .product-page {
        width: min(100% - 28px, 680px);
    }

    body[data-product-page] .product-detail-shell {
        grid-template-columns: 1fr;
        padding: 18px;
        border-radius: 22px;
    }

    body[data-product-page] .product-summary h1 {
        font-size: clamp(30px, 9vw, 42px);
    }

    body[data-product-page] .detail-media-box {
        grid-template-columns: 1fr;
    }

    body[data-product-page] .detail-related-grid {
        grid-template-columns: 1fr;
    }

    body[data-product-page] .customization-dialog {
        border-radius: 20px;
    }

    body[data-product-page] .customization-head,
    body[data-product-page] .customization-fields,
    body[data-product-page] .customization-actions {
        padding-left: 20px;
        padding-right: 20px;
    }

    body[data-product-page] .customization-fields {
        max-height: min(460px, calc(100vh - 300px));
    }
}
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; height: auto; }
button, input, select { font: inherit; outline: none; border: none; background: none; cursor: pointer; }
input { cursor: text; }
ul { list-style: none; }

:root {
    --primary: #FDB912;
    --primary-dark: #d99a00;
    --text-main: #07151c;
    --text-muted: #6c757d;
    --bg-white: #ffffff;
    --bg-light: #f8f9fa;
    --border-color: #e9ecef;
    --radius-sm: 6px;
    --radius-md: 12px;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.04);
    --shadow-md: 0 16px 40px rgba(7,21,28,0.10);
    --container: 1200px;
}

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 20px;
}

/* ══════════════════════════════════════
   HEADER (CLEAN & UNIFIED)
══════════════════════════════════════ */
/* Topbar */
.topbar {
    background-color: var(--bg-light);
    border-bottom: 1px solid var(--border-color);
    font-size: 12px;
    color: var(--text-muted);
}
.topbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 36px;
}
.topbar-right { display: flex; gap: 20px; }
.topbar-right span { display: flex; align-items: center; gap: 6px; font-weight: 500; }

/* Main Header */
.header-main {
    background: var(--bg-white);
    padding: 20px 0;
    border-bottom: 1px solid var(--border-color);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

/* Logo */
.logo { display: flex; align-items: center; justify-content: flex-start; }
.logo img { width: 220px; height: auto; object-fit: contain; }
.footer-logo {
    font-family: 'Playfair Display', serif;
    font-size: 25px;
    font-weight: 700;
    color: var(--text-main);
    line-height: 1;
}
.footer-logo span { color: var(--primary); }

/* Search */
.search-box {
    flex: 1;
    max-width: 500px;
    display: flex;
    align-items: center;
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    overflow: hidden;
    transition: border-color 0.2s;
}
.search-box:focus-within { border-color: var(--primary); background: var(--bg-white); }
.search-box input {
    flex: 1;
    padding: 12px 16px;
    font-size: 14px;
    color: var(--text-main);
}
.search-box button {
    padding: 0 16px;
    color: var(--text-muted);
    transition: color 0.2s;
}
.search-box button:hover { color: var(--primary); }

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}
.action-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    color: var(--text-main);
    font-size: 12px;
    font-weight: 500;
    position: relative;
    transition: color 0.2s;
}
.action-btn:hover { color: var(--primary); }
.action-btn svg { width: 22px; height: 22px; stroke-width: 1.5; }
.cart-badge {
    position: absolute;
    top: -6px; right: 4px;
    background: var(--primary);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    width: 16px; height: 16px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
}

/* Navbar */
.navbar {
    background: var(--bg-white);
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
    position: relative;
    z-index: 100;
}
.nav-list {
    display: flex;
    justify-content: center;
    gap: 32px;
    position: relative;
}
.nav-item { position: static; }
.nav-link {
    display: flex;
    align-items: center;
    gap: 6px;
    height: 50px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-main);
    border-bottom: 2px solid transparent;
    transition: all 0.2s;
}
.nav-link:hover {
    color: var(--primary);
    border-bottom-color: var(--primary);
}
.nav-link svg { width: 13px; height: 13px; }
.mega-menu {
    position: absolute;
    top: 50px;
    left: 50%;
    width: min(980px, calc(100vw - 40px));
    transform: translateX(-50%) translateY(10px);
    opacity: 0;
    pointer-events: none;
    display: grid;
    grid-template-columns: 1.1fr 1fr 1fr 1fr;
    gap: 28px;
    padding: 28px;
    background: #fff;
    border: 1px solid var(--border-color);
    border-top: 3px solid var(--primary);
    border-radius: 0 0 var(--radius-md) var(--radius-md);
    box-shadow: 0 28px 60px rgba(7,21,28,.14);
    transition: opacity .18s ease, transform .18s ease;
}
.nav-item:hover .mega-menu {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}
.mega-menu h4 {
    margin-bottom: 12px;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--text-main);
}
.mega-menu a {
    display: block;
    padding: 7px 0;
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 500;
}
.mega-menu a:hover { color: var(--primary-dark); }
.mega-feature {
    padding: 18px;
    border-radius: var(--radius-sm);
    background: linear-gradient(135deg, #111820, #22272e);
    color: #fff;
}
.mega-feature strong { display: block; margin-bottom: 8px; font-size: 17px; }
.mega-feature span { display: block; color: rgba(255,255,255,.72); font-size: 13px; line-height: 1.5; }

/* ══════════════════════════════════════
   HERO BANNER (PREMIUM STAGE)
══════════════════════════════════════ */
.hero-section {
    padding: 34px 0 0;
    background:
        radial-gradient(circle at 78% 18%, rgba(253,185,18,.18), transparent 26%),
        linear-gradient(180deg, #f7f8fa 0%, #ffffff 100%);
}
.hero-wrapper {
    position: relative;
    isolation: isolate;
    min-height: 430px;
    display: grid;
    grid-template-columns: .92fr 1.08fr;
    align-items: center;
    gap: 34px;
    padding: 54px 56px;
    overflow: hidden;
    border-radius: 22px;
    background:
        linear-gradient(120deg, #161a1f 0%, #22272e 48%, #f2f3f5 48%, #ffffff 100%);
    box-shadow: 0 26px 80px rgba(7,21,28,.16);
}
.hero-wrapper::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(253,185,18,.12), transparent 34%),
        radial-gradient(circle at 52% 24%, rgba(255,255,255,.18), transparent 26%);
    pointer-events: none;
    z-index: -1;
}
.hero-wrapper::after {
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;
    right: 92px;
    top: 30px;
    border-radius: 50%;
    background: rgba(253,185,18,.14);
    filter: blur(18px);
    animation: heroGlow 5.5s ease-in-out infinite alternate;
    z-index: -1;
}
.hero-text {
    color: var(--bg-white);
    max-width: 480px;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255,255,255,0.09);
    padding: 8px 14px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.1px;
    margin-bottom: 22px;
    color: var(--primary);
}
.hero-badge::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--primary);
    box-shadow: 0 0 18px var(--primary);
}
.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(40px, 4.4vw, 58px);
    line-height: 1.06;
    margin-bottom: 18px;
    letter-spacing: -.02em;
}
.hero-title i { color: var(--primary); }
.hero-desc {
    font-size: 16px;
    color: rgba(255,255,255,.72);
    margin-bottom: 30px;
    line-height: 1.7;
    max-width: 440px;
}
.hero-btn {
    position: relative;
    overflow: hidden;
    background: var(--primary);
    color: #07151c;
    padding: 15px 30px;
    border-radius: var(--radius-sm);
    font-weight: 800;
    font-size: 14px;
    width: fit-content;
    transition: transform 0.2s, background 0.2s;
}
.hero-btn::after {
    content: "";
    position: absolute;
    inset: 0;
    width: 42%;
    transform: translateX(-140%) skewX(-18deg);
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.55), transparent);
    animation: btnLight 2.6s linear infinite;
}
.hero-btn:hover { background: var(--primary-dark); transform: translateY(-1px); }
.hero-stage {
    position: relative;
    min-height: 360px;
}
.hero-main-card {
    position: absolute;
    right: 72px;
    top: 12px;
    width: 360px;
    padding: 14px;
    border-radius: 22px;
    background: rgba(255,255,255,.9);
    border: 1px solid rgba(255,255,255,.7);
    box-shadow: 0 24px 70px rgba(7,21,28,.22);
    animation: heroFloat 5s ease-in-out infinite;
}
.hero-main-card img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    border-radius: 16px;
    background: #111;
}
.hero-main-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 4px 2px;
}
.hero-main-info strong {
    display: block;
    color: var(--text-main);
    font-size: 15px;
}
.hero-main-info span {
    color: var(--text-muted);
    font-size: 12px;
}
.hero-price {
    color: var(--text-main);
    font-weight: 800;
    white-space: nowrap;
}
.hero-mini {
    position: absolute;
    display: grid;
    grid-template-columns: 64px 1fr;
    align-items: center;
    gap: 12px;
    width: 230px;
    padding: 10px;
    border-radius: 16px;
    background: rgba(255,255,255,.92);
    border: 1px solid rgba(255,255,255,.8);
    box-shadow: 0 16px 42px rgba(7,21,28,.16);
    backdrop-filter: blur(10px);
}
.hero-mini img {
    width: 64px;
    height: 64px;
    border-radius: 12px;
    object-fit: cover;
}
.hero-mini b {
    display: block;
    margin-bottom: 3px;
    font-size: 13px;
    color: var(--text-main);
}
.hero-mini span {
    color: var(--primary-dark);
    font-size: 12px;
    font-weight: 700;
}
.hero-mini.one {
    left: 8px;
    top: 38px;
    animation: heroFloat 4.7s ease-in-out infinite .2s;
}
.hero-mini.two {
    right: 8px;
    bottom: 22px;
    animation: heroFloat 5.3s ease-in-out infinite .6s;
}
.hero-orbit {
    position: absolute;
    right: 78px;
    top: 20px;
    width: 370px;
    height: 370px;
    border: 1px solid rgba(253,185,18,.35);
    border-radius: 50%;
    animation: heroSpin 16s linear infinite;
}
.hero-orbit::before,
.hero-orbit::after {
    content: "";
    position: absolute;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--primary);
    box-shadow: 0 0 20px var(--primary);
}
.hero-orbit::before { left: 42px; top: 55px; }
.hero-orbit::after { right: 34px; bottom: 70px; }
@keyframes heroFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}
@keyframes heroSpin {
    to { transform: rotate(360deg); }
}
@keyframes heroGlow {
    from { opacity: .55; transform: scale(.96); }
    to { opacity: 1; transform: scale(1.04); }
}

/* ══════════════════════════════════════
   FINDER (SLEEK BAR)
══════════════════════════════════════ */
.finder-bar {
    background: var(--bg-white);
    border-radius: var(--radius-sm);
    padding: 20px 30px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: var(--shadow-sm);
    margin-top: -20px; /* Overlaps hero slightly */
    position: relative;
    z-index: 10;
}
.finder-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-main);
    flex-shrink: 0;
}
.finder-select {
    flex: 1;
    height: 44px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 0 16px;
    font-size: 14px;
    color: var(--text-main);
    appearance: none;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236c757d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") no-repeat right 16px center;
}
.finder-select:focus { border-color: var(--primary); }
.finder-submit {
    height: 44px;
    padding: 0 24px;
    background: var(--text-main);
    color: #fff;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 13px;
    transition: background 0.2s;
}
.finder-submit:hover { background: var(--primary); }

/* ══════════════════════════════════════
   FEATURES STRIP
══════════════════════════════════════ */
.features {
    padding: 40px 0;
}
.features-grid {
    display: flex;
    justify-content: space-between;
    background: var(--bg-white);
    padding: 30px 40px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}
.feature-item {
    display: flex;
    align-items: center;
    gap: 16px;
}
.feature-icon {
    width: 48px; height: 48px;
    background: var(--bg-light);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: var(--primary);
}
.feature-text h4 { font-size: 14px; font-weight: 700; margin-bottom: 2px; }
.feature-text p { font-size: 12px; color: var(--text-muted); }

/* ══════════════════════════════════════
   PRODUCT SECTION & CARDS (ELEGANT)
══════════════════════════════════════ */
.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    text-align: center;
    margin-bottom: 40px;
    color: var(--text-main);
}
.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 60px;
}

/* The Card */
.product-card {
    --rx: 0deg;
    --ry: 0deg;
    --mx: 50%;
    --my: 0%;
    background: #fff;
    border-radius: var(--radius-md);
    padding: 16px;
    transition: box-shadow 0.28s ease, transform 0.28s ease, border-color 0.28s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    isolation: isolate;
    border: 0;
    box-shadow:
        0 18px 42px rgba(7,21,28,.08),
        inset 0 0 0 1px #e5eaee,
        inset 0 1px 0 rgba(255,255,255,.96);
    transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry));
    backface-visibility: hidden;
    clip-path: inset(0 round var(--radius-md));
    -webkit-clip-path: inset(0 round var(--radius-md));
}
.product-card::before {
    content: "";
    position: absolute;
    z-index: 0;
    inset: 0;
    background: radial-gradient(circle at var(--mx) var(--my), rgba(255,255,255,1), rgba(255,255,255,.52) 15%, rgba(255,255,255,.16) 31%, transparent 50%);
    mix-blend-mode: screen;
    opacity: 0;
    transition: opacity .22s ease;
    pointer-events: none;
}
.product-card::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    border-radius: inherit;
    background: transparent;
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s ease;
}
.product-card > * {
    position: relative;
    z-index: 1;
}
.product-card:hover {
    box-shadow:
        0 24px 54px rgba(7,21,28,.12),
        inset 0 0 0 1px #e5eaee,
        inset 0 1px 0 rgba(255,255,255,1);
    transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry)) translateY(-4px);
}
.product-card:hover::before {
    opacity: .82;
}
.product-card:hover::after {
    opacity: 0;
}

html:not([data-theme="dark"]) .product-card {
    background: #fff;
    border: 0;
    box-shadow:
        0 18px 42px rgba(7,21,28,.08),
        inset 0 0 0 1px #e5eaee,
        inset 0 1px 0 rgba(255,255,255,.96);
    transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry));
}
html:not([data-theme="dark"]) .product-card::before {
    display: block;
    background: radial-gradient(circle at var(--mx) var(--my), rgba(255,255,255,.72), rgba(255,255,255,.22) 18%, transparent 42%);
}
html:not([data-theme="dark"]) .product-card::after {
    display: block;
    background:
        linear-gradient(135deg, rgba(255,255,255,.28), transparent 32%),
        linear-gradient(315deg, rgba(255,255,255,.10), transparent 38%);
    opacity: .42;
}
html:not([data-theme="dark"]) .product-card:hover {
    background: #fff;
    box-shadow:
        0 24px 54px rgba(7,21,28,.12),
        inset 0 0 0 1px #e5eaee,
        inset 0 1px 0 rgba(255,255,255,1);
    transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry)) translateY(-4px);
}
html:not([data-theme="dark"]) .product-card:hover::after {
    opacity: .56;
}

/* Image Area */
.pc-img-wrap {
    position: relative;
    border-radius: var(--radius-sm);
    overflow: hidden;
    transform: translateZ(0);
    clip-path: inset(0 round var(--radius-sm));
    -webkit-clip-path: inset(0 round var(--radius-sm));
    margin-bottom: 16px;
    aspect-ratio: 1 / 1;
    background: var(--bg-light);
}
.pc-img-wrap img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.product-card:hover .pc-img-wrap img {
    transform: scale(1.05);
}

/* Badges & Wishlist */
.pc-badges {
    position: absolute;
    top: 12px; left: 12px;
    display: flex; flex-direction: column; gap: 6px;
    z-index: 2;
}
.badge {
    background: var(--text-main); color: #fff;
    font-size: 10px; font-weight: 700; text-transform: uppercase;
    padding: 4px 8px; border-radius: 4px; letter-spacing: 0.5px;
}
.badge.gold { background: var(--primary); }

.pc-wishlist {
    position: absolute;
    top: 12px; right: 12px;
    width: 32px; height: 32px;
    background: rgba(255,255,255,0.9);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: var(--text-muted);
    z-index: 2;
    transition: all 0.2s;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}
.pc-wishlist:hover { color: #e74c3c; transform: scale(1.1); }
.pc-wishlist svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; }
.pc-wishlist.is-active {
    color: #e74c3c;
}
.pc-wishlist.is-active svg {
    fill: currentColor;
}

.header-icon.has-favorites {
    color: #e74c3c;
    border-color: rgba(231,76,60,.28);
}

.header-icon.has-favorites svg {
    fill: currentColor;
    stroke: currentColor;
}

/* Content */
.pc-content {
    display: flex; flex-direction: column; flex: 1;
}
.pc-category {
    font-size: 11px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 6px; font-weight: 600;
}
.pc-title {
    font-size: 14px; font-weight: 600; color: var(--text-main); line-height: 1.4; margin-bottom: 12px;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; flex: 1;
}
.pc-stars {
    color: #f39c12; font-size: 12px; margin-bottom: 12px; letter-spacing: 1px;
}
.pc-price-row {
    display: flex; align-items: flex-end; gap: 8px; margin-bottom: 16px;
}
.pc-price-old { font-size: 13px; color: #adb5bd; text-decoration: line-through; }
.pc-price-new { font-size: 18px; font-weight: 700; color: var(--text-main); }

/* Add to Cart Button */
.pc-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 12px 0;
    border: 1px solid var(--text-main);
    border-radius: var(--radius-sm);
    background: var(--text-main);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    transition: transform 0.2s, box-shadow 0.2s;
    position: relative;
    overflow: hidden;
}
.pc-btn::before {
    content: "";
    position: absolute;
    inset: 0;
    width: 42%;
    display: block;
    pointer-events: none;
    transform: translateX(-150%) skewX(-20deg);
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.28), transparent);
    animation: btnLight 3s linear infinite;
}
.pc-btn span { position: relative; z-index: 1; }
.pc-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(7,21,28,.18);
}
@keyframes btnLight {
    0% { transform: translateX(-150%) skewX(-20deg); }
    58%, 100% { transform: translateX(260%) skewX(-20deg); }
}

.mobile-carousel-controls {
    display: none;
}

/* ══════════════════════════════════════
   FOOTER
══════════════════════════════════════ */
.footer { background: var(--bg-white); border-top: 1px solid var(--border-color); padding: 60px 0 20px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-text { font-size: 14px; color: var(--text-muted); line-height: 1.6; margin-top: 16px; max-width: 280px; }
.footer h4 { font-size: 14px; font-weight: 700; color: var(--text-main); margin-bottom: 20px; }
.footer ul li { margin-bottom: 10px; }
.footer ul a { font-size: 14px; color: var(--text-muted); transition: color 0.2s; }
.footer ul a:hover { color: var(--primary); }
.footer-bottom { text-align: center; padding-top: 20px; border-top: 1px solid var(--border-color); font-size: 13px; color: #adb5bd; }

@media (max-width: 1024px) {
    .product-grid { grid-template-columns: repeat(2, 1fr); }
    .features-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; display: grid; }
    .hero-wrapper { grid-template-columns: 1fr; }
    .hero-stage { min-height: 430px; }
    .hero-main-card { left: calc(50% - 180px); right: auto; }
    .hero-mini.one { left: 20px; }
    .hero-mini.two { right: 20px; }
    .hero-orbit { left: calc(50% - 185px); right: auto; }
    .finder-bar { flex-direction: column; align-items: stretch; }
}
@media (max-width: 768px) {
    section.container {
        overflow-x: visible;
    }
    .product-grid { grid-template-columns: 1fr; }
    .header-inner { flex-direction: column; gap: 16px; }
    .search-box { max-width: 100%; }
    .nav-list { display: none; } /* Hide on mobile for demo */
    .footer-grid { grid-template-columns: 1fr; }
    .hero-wrapper { padding: 34px 22px; }
    .hero-stage { min-height: 360px; }
    .hero-main-card { width: 300px; max-width: 100%; left: calc(50% - 150px); right: auto; top: 34px; }
    .hero-orbit { display: none; }
    .hero-mini { display: none; }
}

/* Integrated header + hero direction */
.topbar {
    background: #07151c;
    border-bottom: 0;
    color: rgba(255,255,255,.84);
}
.topbar-right span { color: rgba(255,255,255,.82); }
.header-main {
    position: relative;
    z-index: 140;
    padding: 18px 0 16px;
    border-bottom: 0;
    background:
        radial-gradient(circle at 18% 0%, rgba(253,185,18,.12), transparent 28%),
        #fff;
}
.header-inner {
    min-height: 72px;
    gap: 34px;
}
.logo img {
    width: 245px;
    filter: drop-shadow(0 8px 18px rgba(7,21,28,.08));
}
.search-box {
    max-width: 610px;
    height: 54px;
    border-radius: 14px;
    background: #fff;
    border-color: #dfe5e8;
    box-shadow: 0 10px 28px rgba(7,21,28,.05);
}
.search-box button {
    width: 62px;
    align-self: stretch;
    display: grid;
    place-items: center;
    padding: 0;
    background: var(--primary);
    color: #07151c;
}
.header-actions { gap: 22px; }
.action-btn {
    font-weight: 700;
    color: #07151c;
}
.action-btn svg {
    width: 25px;
    height: 25px;
    stroke-width: 1.8;
}
.cart-badge {
    background: var(--primary);
    color: #07151c;
}
.navbar {
    z-index: 150;
    margin-bottom: -54px;
    background: transparent;
    box-shadow: none;
}
.navbar .container {
    max-width: 1020px;
}
.nav-list {
    height: 86px;
    align-items: center;
    justify-content: center;
    gap: 34px;
    padding: 0 44px;
    background: #07151c;
    border: 1px solid rgba(253,185,18,.18);
    border-top: 0;
    border-radius: 0 0 44px 44px;
    box-shadow: 0 26px 70px rgba(7,21,28,.18);
}
.nav-link {
    height: 86px;
    color: rgba(255,255,255,.9);
    border-bottom: 0;
}
.nav-link:hover {
    color: var(--primary);
    border-bottom-color: transparent;
}
.mega-menu {
    top: 78px;
    border-radius: 22px;
    border-top: 3px solid var(--primary);
}
.hero-section {
    padding: 0 0 42px;
    background:
        radial-gradient(circle at 82% 22%, rgba(253,185,18,.16), transparent 24%),
        linear-gradient(180deg, #f6f7f8 0%, #fff 100%);
}
.hero-wrapper {
    min-height: 575px;
    padding: 138px 72px 76px;
    border-radius: 50px;
    grid-template-columns: .9fr 1.1fr;
    gap: 46px;
    background:
        linear-gradient(112deg, #07151c 0%, #11191f 47%, transparent 47.2%),
        linear-gradient(115deg, rgba(253,185,18,.12), transparent 34%),
        linear-gradient(180deg, #fffaf0 0%, #f6f7f8 100%);
    border: 1px solid rgba(7,21,28,.08);
    box-shadow: 0 34px 90px rgba(7,21,28,.16);
}
.hero-wrapper::before {
    background:
        linear-gradient(90deg, rgba(253,185,18,.18), transparent 27%),
        radial-gradient(circle at 72% 48%, rgba(253,185,18,.18), transparent 31%),
        radial-gradient(circle at 20% 16%, rgba(255,255,255,.11), transparent 24%);
}
.hero-wrapper::after {
    width: 520px;
    height: 520px;
    right: 120px;
    top: 74px;
    background: radial-gradient(circle, rgba(253,185,18,.18), transparent 62%);
    filter: blur(8px);
}
.hero-text {
    position: relative;
    z-index: 2;
    max-width: 520px;
}
.hero-badge {
    background: rgba(255,255,255,.08);
    border-color: rgba(255,255,255,.18);
}
.hero-title {
    font-size: clamp(48px, 5.2vw, 76px);
    line-height: .98;
}
.hero-desc {
    max-width: 500px;
    font-size: 17px;
}
.hero-btn {
    min-width: 170px;
    text-align: center;
    border-radius: 12px;
    box-shadow: 0 15px 30px rgba(253,185,18,.24);
}
.hero-stage {
    min-height: 390px;
    perspective: 1200px;
}
.hero-main-card {
    top: 0;
    right: 14px;
    width: min(450px, 100%);
    padding: 18px;
    border-radius: 30px;
    background: rgba(255,255,255,.96);
    border: 1px solid rgba(255,255,255,.78);
    box-shadow: 0 30px 80px rgba(7,21,28,.18);
    animation: heroFloatCard 5.6s ease-in-out infinite;
}
.hero-main-card::before {
    content: "";
    position: absolute;
    inset: -18px;
    z-index: -1;
    border-radius: 38px;
    background: linear-gradient(135deg, rgba(253,185,18,.36), rgba(255,255,255,.08), rgba(7,21,28,.12));
    filter: blur(18px);
}
.hero-main-card img {
    aspect-ratio: 1.12 / 1;
    object-fit: cover;
    object-position: center;
    border-radius: 22px;
    background: #151515;
}
.hero-main-info {
    padding: 18px 6px 4px;
}
.hero-main-info strong {
    font-size: 18px;
    letter-spacing: -.01em;
}
.hero-main-info span { font-size: 13px; }
.hero-price { font-size: 22px; }
.hero-mini {
    z-index: 4;
    border-radius: 20px;
    background: rgba(255,255,255,.94);
    box-shadow: 0 22px 55px rgba(7,21,28,.15);
}
.hero-mini.one {
    left: -6px;
    top: 98px;
}
.hero-mini.two {
    right: -38px;
    bottom: 58px;
}
.hero-orbit {
    right: 28px;
    top: -8px;
    width: 440px;
    height: 440px;
    border-color: rgba(253,185,18,.24);
}
.finder-bar {
    margin-top: -50px;
    border-radius: 18px;
    padding: 22px 30px;
    border: 1px solid rgba(7,21,28,.08);
    box-shadow: 0 22px 60px rgba(7,21,28,.12);
}
.finder-submit {
    min-width: 132px;
    border-radius: 12px;
    background: #07151c;
}
.finder-submit:hover {
    background: var(--primary);
    color: #07151c;
}
@keyframes heroFloatCard {
    0%, 100% { transform: translateY(0) rotate(-1deg); }
    50% { transform: translateY(-12px) rotate(1deg); }
}

@media (max-width: 1024px) {
    .navbar {
        margin-bottom: -38px;
    }
    .nav-list {
        height: 72px;
        gap: 22px;
        padding: 0 28px;
        border-radius: 0 0 30px 30px;
    }
    .nav-link {
        height: 72px;
        font-size: 13px;
    }
    .mega-menu { top: 66px; }
    .hero-wrapper {
        min-height: auto;
        padding: 112px 44px 62px;
        grid-template-columns: 1fr;
        background:
            linear-gradient(180deg, #07151c 0%, #11191f 56%, #fffaf0 56.2%, #f7f8fa 100%);
    }
    .hero-stage { min-height: 450px; }
    .hero-main-card {
        left: 50%;
        right: auto;
        width: min(430px, 92vw);
        transform: translateX(-50%);
        animation: heroFloatCardTablet 5.6s ease-in-out infinite;
    }
    .hero-orbit {
        left: 50%;
        right: auto;
        transform: translateX(-50%);
    }
    .hero-mini.one { left: 6%; }
    .hero-mini.two { right: 6%; }
    @keyframes heroFloatCardTablet {
        0%, 100% { transform: translateX(-50%) translateY(0); }
        50% { transform: translateX(-50%) translateY(-12px); }
    }
}

@media (max-width: 768px) {
    .topbar-right { display: none; }
    .header-main { padding: 14px 0; }
    .logo img { width: 210px; }
    .header-actions { gap: 16px; }
    .action-btn { font-size: 11px; }
    .navbar {
        display: none;
        margin-bottom: 0;
    }
    .hero-section { padding-top: 0; }
    .hero-wrapper {
        border-radius: 26px;
        padding: 36px 20px 46px;
        background:
            linear-gradient(180deg, #07151c 0%, #11191f 58%, #fffaf0 58.2%, #f7f8fa 100%);
    }
    .hero-title {
        font-size: 42px;
    }
    .hero-desc {
        font-size: 15px;
    }
    .hero-stage {
        min-height: 360px;
    }
    .hero-main-card {
        top: 20px;
        left: 50%;
        right: auto;
        width: min(320px, 88vw);
        animation: heroFloatCardTablet 5.6s ease-in-out infinite;
    }
    .finder-bar {
        margin-top: -24px;
        padding: 18px;
    }
}

/* ══════════════════════════════════════
   AYRI HEADER & İÇİ MENÜLÜ HERO (Yeni Tasarım)
══════════════════════════════════════ */
.top-bar {
    max-width: 1260px; margin: 0 auto;
    padding: 10px 20px;
    display: flex; justify-content: space-between;
    color: #59656c; font-size: 12px; font-weight: 600;
}
.main-header {
    max-width: 1260px; margin: 0 auto;
    padding: 15px 20px 25px;
    /* 240px sabiti 'auto' yapıldı, artık logoya göre esneyecek */
    display: grid; grid-template-columns: auto 1fr auto; 
    align-items: center; gap: 40px;
}
.header-logo {
    font-family: 'Playfair Display', serif;
    font-size: 32px; font-weight: 700; color: #07151c;
    line-height: 1; letter-spacing: -0.5px;
}
.header-logo span { color: var(--primary); }
/* Logonu buradan istediğin gibi büyütebilirsin */
.header-logo img { 
    width: 320px !important; 
    max-width: 320px !important; 
    max-height: 120px !important; 
    object-fit: contain; 
}

.header-search {
    display: flex; height: 50px;
    border: none; border-radius: 18px;
    overflow: hidden; background: #fff;
    max-width: 500px; margin: 0 auto; width: 100%;
    box-shadow: none;
    transform: translateZ(0);
}
.header-search input {
    flex: 1; min-width: 0; height: 100%;
    border: none; outline: none; padding: 0 20px;
    color: #07151c; font-size: 14px; line-height: 50px;
}
.header-search button {
    width: 58px; height: 100%; background: var(--primary); color: #07151c;
    display: grid; place-items: center; cursor: pointer; border: none;
    border-radius: 0 17px 17px 0;
    box-shadow: none;
}
.header-search button svg { width: 21px; height: 21px; stroke-width: 2.4; }
.header-actions { display: flex; gap: 10px; }
/* Language-switch styling lives in the v94 block at the end of this file
   (compact globe dropdown). The legacy segmented-pill rules were removed here
   because their `.language-switch a` selector out-specified the new option
   styling and broke the dropdown layout. */
.theme-toggle {
    height: 46px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 0;
    border-radius: 999px;
    color: #07151c;
    background: transparent;
    box-shadow: none;
    font-size: 13px;
    font-weight: 500;
    transition: transform .2s ease;
}
.theme-toggle:hover {
    transform: translateY(-1px);
}
.theme-toggle-track {
    position: relative;
    width: 76px;
    height: 36px;
    border-radius: 999px;
    overflow: hidden;
    background:
        radial-gradient(circle at 82% 88%, #fff 0 17%, transparent 18%),
        radial-gradient(circle at 66% 88%, #fff 0 15%, transparent 16%),
        radial-gradient(circle at 49% 94%, #fff 0 18%, transparent 19%),
        linear-gradient(110deg, #d9ecfb 0%, #9fc5e3 100%);
    box-shadow:
        inset 0 0 0 1px rgba(7,21,28,.10),
        inset 0 -8px 18px rgba(7,21,28,.10),
        0 8px 18px rgba(7,21,28,.12);
}
.theme-toggle-track::before,
.theme-toggle-track::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}
.theme-toggle-track::before {
    inset: -12px auto auto 18px;
    width: 58px;
    height: 58px;
    border: 11px solid rgba(255,255,255,.14);
}
.theme-toggle-track::after {
    right: -5px;
    bottom: -10px;
    width: 42px;
    height: 26px;
    background: rgba(255,255,255,.95);
    box-shadow: -18px 3px 0 rgba(255,255,255,.92);
}
.theme-toggle-thumb {
    position: absolute;
    z-index: 2;
    top: 5px;
    left: 6px;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #f7cf45;
    box-shadow: inset -4px -5px 0 rgba(179,119,0,.14), 0 4px 9px rgba(7,21,28,.22);
    transition: transform .65s cubic-bezier(.175,.885,.32,1.275), background .4s ease;
}
.header-icon {
    position: relative; width: 46px; height: 46px;
    border-radius: 50%; display: grid; place-items: center;
    border: none; color: #07151c; transition: all 0.2s;
    background: linear-gradient(180deg, #fff, #f7f8fa);
    box-shadow: inset 0 0 0 1px rgba(7,21,28,.08), 0 10px 24px rgba(7,21,28,.06);
}
.header-icon svg { width: 21px; height: 21px; stroke-width: 1.9; }
.header-icon:hover { background: var(--primary); box-shadow: 0 14px 28px rgba(253,185,18,.22); transform: translateY(-1px); }
.header-badge {
    position: absolute; top: -6px; right: -3px;
    background: var(--primary); color: #07151c;
    width: 19px; height: 19px; border-radius: 50%;
    display: grid; place-items: center; font-size: 11px; font-weight: 900;
    box-shadow: 0 4px 10px rgba(253,185,18,.35);
}

.site-stage { padding: 0 20px 54px; background: #f8f9fa; }
.stage-card {
    position: relative; max-width: 1260px; min-height: 640px; margin: 0 auto;
    overflow: hidden; border-radius: 40px;
    background: linear-gradient(113deg, #07151c 0%, #11191f 53%, rgba(255,255,255,0) 53.2%),
                radial-gradient(circle at 79% 41%, rgba(253,185,18,.24), transparent 28%),
                linear-gradient(135deg, #fffdf8 0%, #f5f0e4 100%);
    box-shadow: 0 30px 80px rgba(7,21,28,.15);
}
.stage-card::before {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(90deg, rgba(253,185,18,.12), transparent 30%),
                repeating-linear-gradient(0deg, rgba(255,255,255,.025) 0 1px, transparent 1px 5px);
    pointer-events: none;
}

/* İç İçe Yuvarlak Menü Bloğu (REKO Tarzı Nested Blok) */
.stage-menu-wrapper {
    position: relative; z-index: 20;
    background: rgba(0, 0, 0, 0.18); /* Koyu iç blok rengi */
    border-radius: 0 0 40px 40px; /* Ters/iç kavis efekti */
    padding: 0 40px; height: 68px;
    display: flex; align-items: center; justify-content: center;
    box-shadow: inset 0 -4px 10px rgba(0,0,0,0.05);
}
.stage-menu {
    display: flex; gap: 36px;
}
.stage-menu a {
    display: inline-flex; align-items: center; gap: 6px;
    color: rgba(255,255,255,0.9); font-size: 14px; font-weight: 600;
    transition: color 0.2s;
}
.stage-menu a:hover { color: var(--primary); }
.stage-menu svg { width: 14px; height: 14px; opacity: 0.7; }

/* Minimalist Hero İçerik (Daha Dar ve Zarif) */
.stage-card {
    position: relative; max-width: 1060px; /* Genişlik küçültüldü */
    min-height: 440px; margin: 0 auto;
    overflow: hidden; border-radius: 32px;
    background: linear-gradient(110deg, #07151c 0%, #11191f 60%, rgba(255,255,255,0) 60.2%),
                linear-gradient(135deg, #fffdf8 0%, #f5f0e4 100%);
    box-shadow: 0 20px 50px rgba(7,21,28,.12);
}
.stage-card::before {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(90deg, rgba(253,185,18,.08), transparent 30%);
    pointer-events: none;
}

.stage-content {
    position: relative; z-index: 5;
    display: grid; grid-template-columns: 1fr 1fr;
    align-items: center; gap: 30px; padding: 40px 40px 110px 40px;
}

.stage-copy { max-width: 440px; color: #fff; }
.stage-eyebrow { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 16px; padding: 6px 14px; border-radius: 999px; border: 1px solid rgba(255,255,255,.15); background: rgba(255,255,255,.05); color: var(--primary); font-size: 11px; font-weight: 800; letter-spacing: .1em; }
.stage-eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--primary); box-shadow: 0 0 12px var(--primary); }
.stage-title { font-family: 'Playfair Display', serif; font-size: clamp(34px, 3.8vw, 48px); line-height: 1.1; letter-spacing: -.02em; margin-bottom: 16px; }
.stage-title em { color: var(--primary); font-style: italic; }
.stage-desc { max-width: 380px; color: rgba(255,255,255,.7); font-size: 14px; line-height: 1.6; margin-bottom: 24px; }
.stage-cta { position: relative; min-width: 150px; height: 46px; display: inline-grid; place-items: center; overflow: hidden; border-radius: 12px; background: var(--primary); color: #07151c; font-weight: 800; font-size: 14px; box-shadow: 0 12px 24px rgba(253,185,18,.2); }
.stage-cta::after { content: ""; position: absolute; inset: 0; width: 45%; transform: translateX(-145%) skewX(-18deg); background: linear-gradient(90deg, transparent, rgba(255,255,255,.5), transparent); animation: btnLight 3s linear infinite; }
.stage-cta-mobile { display: none; }

.stage-visual { position: relative; display: flex; justify-content: center; align-items: center; }
.stage-product { width: min(340px, 100%); padding: 12px; border-radius: 20px; background: rgba(255,255,255,.94); border: 1px solid rgba(255,255,255,.82); box-shadow: 0 20px 50px rgba(7,21,28,.12); animation: heroFloatCard 6s ease-in-out infinite; }
.stage-product img { width: 100%; aspect-ratio: 1.15 / 1; object-fit: cover; object-position: center; border-radius: 12px; }
.stage-product-info { padding: 16px 8px 6px; text-align: center; } /* Fiyat kaldırıldı, ortalandı */
.stage-product-info strong { display: block; color: #07151c; font-size: 16px; line-height: 1.2; font-weight: 700; margin-bottom: 6px; }
.stage-product-info span { display: inline-block; color: #7c858b; font-size: 12px; background: rgba(0,0,0,0.04); padding: 5px 12px; border-radius: 6px; }

.stage-finder { position: absolute; z-index: 22; left: 0; right: 0; bottom: 0; min-height: 80px; display: grid; grid-template-columns: 140px 1fr 1fr 140px; align-items: center; gap: 16px; padding: 16px 40px; background: rgba(255,255,255,.96); border-top: 1px solid rgba(7,21,28,.06); border-radius: 0 0 32px 32px; box-shadow: 0 -10px 30px rgba(7,21,28,.03); }
.stage-finder b { color: #07151c; font-size: 14px; }
.stage-finder select { width: 100%; height: 46px; padding: 0 16px; border: 1px solid #dfe5e8; border-radius: 10px; color: #07151c; background: #fff; font-size: 13px; }
.stage-finder button { height: 46px; border-radius: 10px; background: #07151c; color: #fff; font-weight: 800; cursor: pointer; border: none; font-size: 13px; }
.stage-finder button {
    position: relative;
    overflow: hidden;
}
.stage-finder button::before {
    content: "";
    position: absolute;
    inset: 0;
    width: 42%;
    pointer-events: none;
    transform: translateX(-150%) skewX(-20deg);
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.28), transparent);
    animation: btnLight 3s linear infinite;
}
.stage-finder button {
    isolation: isolate;
}
.stage-finder button::before {
    z-index: 0;
}
.stage-finder button {
    color: #fff;
}
.stage-finder button span {
    position: relative;
    z-index: 1;
}

@keyframes heroFloatCard { 0%, 100% { transform: translateY(0) rotate(-1deg); } 50% { transform: translateY(-8px) rotate(1deg); } }
@keyframes btnLight { 0% { transform: translateX(-150%) skewX(-20deg); } 58%, 100% { transform: translateX(260%) skewX(-20deg); } }

@media (max-width: 1100px) {
    .main-header { grid-template-columns: 1fr; justify-items: center; gap: 20px; padding-bottom: 20px; }
    .header-search { max-width: 100%; }
    .stage-menu-wrapper { padding: 0 16px; height: auto; padding-top: 12px; padding-bottom: 12px; border-radius: 0 0 30px 30px; }
    .stage-menu { flex-wrap: wrap; gap: 12px; justify-content: center;}
    .stage-card { background: linear-gradient(140deg, #07151c 0%, #11191f 100%); }
    .stage-content { grid-template-columns: 1fr; padding: 40px 30px 100px; text-align: center; gap: 40px;}
    .stage-copy { margin: 0 auto; }
}
@media (max-width: 768px) {
    .top-bar { display: none; }
    .stage-card { border-radius: 20px; }
    .stage-menu-wrapper { display: none; }
    .stage-content { padding: 30px 20px 100px; gap: 30px; }
    .stage-title { font-size: 32px; }
    .stage-desc { font-size: 14px; }
    .stage-product { width: min(280px, 100%); }
    .stage-finder { position: relative; grid-template-columns: 1fr; padding: 16px; margin-top: 0; border-radius: 20px;}
}
/* Referans görseldeki içe gömülü üst menü */
.stage-menu-wrapper {
    position: relative;
    z-index: 30;
    width: min(920px, calc(100% - 260px));
    height: 94px;
    margin: 0 auto;
    padding: 0 76px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #07151c;
    border-radius: 0 0 68px 68px;
    box-shadow: 0 24px 58px rgba(7,21,28,.22);
}
.stage-menu {
    position: relative;
    z-index: 2;
    width: 100%;
    justify-content: center;
    gap: 42px;
}
.stage-menu a {
    color: rgba(255,255,255,.82);
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
}
.stage-menu a:hover {
    color: var(--primary);
}
.stage-menu svg {
    display: none;
}

@media (max-width: 1100px) {
    .stage-menu-wrapper {
        width: calc(100% - 64px);
        height: auto;
        min-height: 78px;
        padding: 18px 28px;
        border-radius: 0 0 42px 42px;
    }
    .stage-menu {
        justify-content: center;
        flex-wrap: wrap;
        gap: 14px 20px;
    }
}
@media (max-width: 768px) {
    .stage-menu-wrapper {
        display: none;
    }
}
/* Final: minimal light hero + proportional inset menu */
html,
body {
    overflow-x: hidden;
}
.site-stage {
    padding: 0 18px 46px;
    background: #f7f8fa;
}
.stage-card {
    max-width: 1080px;
    min-height: 368px;
    border-radius: 82px;
    background:
        radial-gradient(circle at 74% 28%, rgba(253,185,18,.20), transparent 38%),
        #f6f0e3;
    box-shadow: 0 0 0 1px #f6f0e3;
    overflow: hidden;
    transform: translateZ(0);
}
.stage-card::before {
    display: none;
}
.stage-card-shape {
    display: none;
}
.stage-card > :not(.stage-card-shape) {
    position: relative;
}
.stage-menu-shape {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}
.stage-menu-wrapper {
    width: min(760px, calc(100% - 220px));
    height: 74px;
    padding: 0 48px;
    background: transparent;
    color: #07151c;
    border-radius: 0;
    box-shadow: none;
    overflow: visible;
}
.stage-menu-shape {
    z-index: 0;
    left: -1px;
    width: calc(100% + 2px);
    shape-rendering: auto;
}
.stage-menu-shape path {
    fill: currentColor;
}
.stage-menu-shape .menu-shape-feather {
    display: none;
}
.stage-menu-shape .menu-shape-core {
    shape-rendering: auto;
}
.stage-menu {
    position: relative;
    z-index: 1;
    gap: 28px;
}
.stage-menu a {
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    text-shadow: 0 1px 0 rgba(0,0,0,.15);
}
.stage-content {
    grid-template-columns: .9fr 1fr;
    gap: 40px;
    padding: 46px 56px 56px;
}
.stage-copy {
    max-width: 420px;
    color: #07151c;
}
.stage-eyebrow {
    border-color: rgba(7,21,28,.12);
    background: rgba(255,255,255,.72);
    color: #b68100;
}
.stage-title {
    color: #020b10;
    font-size: clamp(32px, 3vw, 46px);
    line-height: 1.02;
    font-weight: 700;
}
.stage-title span {
    display: block;
}
.stage-desc {
    max-width: 410px;
    color: #213039;
    font-size: 14px;
    font-weight: 500;
}
.stage-product {
    width: min(286px, 100%);
    border-radius: 22px;
    box-shadow: 0 16px 42px rgba(7,21,28,.10);
    transform: translateZ(0);
    backface-visibility: hidden;
    clip-path: inset(0 round 22px);
    -webkit-clip-path: inset(0 round 22px);
}
.stage-finder {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    width: 100%;
    max-width: 1080px;
    margin: 18px auto 0;
    min-height: 66px;
    display: grid;
    grid-template-columns: 128px 1fr 1fr 132px;
    align-items: center;
    gap: 16px;
    padding: 14px 36px;
    background: #fff;
    border: 0;
    border-radius: 28px;
    box-shadow: none;
}
.features .container,
section.container {
    max-width: 1120px;
}
.features-grid {
    border-radius: 26px;
    width: 100%;
    max-width: 1120px;
    margin-left: auto;
    margin-right: auto;
    transform: translateZ(0);
    backface-visibility: hidden;
    clip-path: inset(0 round 26px);
    -webkit-clip-path: inset(0 round 26px);
}
.mobile-menu-toggle,
.mobile-menu-panel {
    display: none;
}

html[data-theme="dark"] body {
    background: #050a0d;
    color: #e9eef1;
}
html[data-theme="dark"] .top-bar,
html[data-theme="dark"] .site-stage {
    background: #050a0d;
    color: rgba(255,255,255,.72);
}
html[data-theme="dark"] .main-header {
    background: transparent;
}
html[data-theme="dark"] .header-logo img {
    max-width: 230px;
    max-height: 86px;
    filter: drop-shadow(0 12px 24px rgba(0,0,0,.38));
}
html[data-theme="dark"] .header-search {
    background: #0d1b22;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.12), 0 16px 32px rgba(0,0,0,.22);
}
html[data-theme="dark"] .header-search input {
    color: #f4f7f8;
}
html[data-theme="dark"] .header-search input::placeholder {
    color: rgba(255,255,255,.52);
}
html[data-theme="dark"] .header-icon,
html[data-theme="dark"] .theme-toggle {
    color: #fff;
    background: transparent;
    box-shadow: none;
}
/* Dark-theme language switch handled in the v94 block at end of file. */
html[data-theme="dark"] .header-icon {
    background: linear-gradient(180deg, #10242d, #0a171d);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.12), 0 12px 26px rgba(0,0,0,.25);
}
html[data-theme="dark"] .theme-toggle-track {
    background:
        radial-gradient(circle at 74% 42%, rgba(255,255,255,.18) 0 2px, transparent 3px),
        radial-gradient(circle at 56% 24%, rgba(255,255,255,.22) 0 1px, transparent 2px),
        radial-gradient(circle at 84% 68%, rgba(255,255,255,.18) 0 1px, transparent 2px),
        linear-gradient(110deg, #12212b 0%, #07151c 100%);
    box-shadow:
        inset 0 0 0 1px rgba(255,255,255,.12),
        inset 0 -10px 18px rgba(0,0,0,.22),
        0 10px 22px rgba(0,0,0,.26);
}
html[data-theme="dark"] .theme-toggle-track::before {
    border-color: rgba(255,255,255,.05);
}
html[data-theme="dark"] .theme-toggle-track::after {
    opacity: 0;
}
html[data-theme="dark"] .theme-toggle-thumb {
    transform: translateX(38px);
    background: #f2e8b9;
    box-shadow: inset 7px -2px 0 #c5b06c, 0 4px 9px rgba(0,0,0,.32);
}
html[data-theme="dark"] .stage-card {
    background:
        radial-gradient(circle at 74% 28%, rgba(253,185,18,.16), transparent 38%),
        #07151c;
    box-shadow: 0 0 0 1px #07151c;
}
html[data-theme="dark"] .stage-card-shape {
    filter: none;
}
html[data-theme="dark"] .stage-menu-wrapper {
    background: transparent;
    color: #f5edde;
    box-shadow: none;
}
html[data-theme="dark"] .stage-menu a {
    color: #07151c;
}
html[data-theme="dark"] .stage-menu a:hover {
    color: #b68100;
}
html[data-theme="dark"] .stage-copy,
html[data-theme="dark"] .stage-title {
    color: #fff;
}
html[data-theme="dark"] .stage-desc {
    color: rgba(255,255,255,.72);
}
html[data-theme="dark"] .stage-eyebrow {
    border-color: rgba(253,185,18,.32);
    background: rgba(255,255,255,.06);
    color: var(--primary);
}
html[data-theme="dark"] .stage-finder,
html[data-theme="dark"] .features-grid,
html[data-theme="dark"] .footer {
    background: #0b171d;
    border: 1px solid rgba(255,255,255,.08);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.04), 0 18px 46px rgba(0,0,0,.28);
}
html[data-theme="dark"] .product-card {
    background: rgba(255,255,255,.08);
    border-top: 1px solid rgba(255,255,255,.28);
    border-left: 1px solid rgba(255,255,255,.22);
    border-right: 1px solid rgba(255,255,255,.08);
    border-bottom: 1px solid rgba(255,255,255,.08);
    box-shadow:
        20px 20px 46px rgba(0,0,0,.44),
        inset 0 1px 0 rgba(255,255,255,.09);
}
html[data-theme="dark"] .product-card::before {
    background: radial-gradient(circle at var(--mx) var(--my), rgba(255,255,255,.70), rgba(255,255,255,.18) 18%, transparent 42%);
}
html[data-theme="dark"] .product-card::after {
    background:
        linear-gradient(135deg, rgba(255,255,255,.12), transparent 32%),
        linear-gradient(315deg, rgba(255,255,255,.04), transparent 38%);
    opacity: .7;
}
html[data-theme="dark"] .product-card:hover {
    box-shadow:
        26px 28px 60px rgba(0,0,0,.56),
        inset 0 1px 0 rgba(255,255,255,.12);
}
html[data-theme="dark"] .product-card:hover::after {
    opacity: .82;
}
html[data-theme="dark"] .stage-product {
    border: 1px solid rgba(255,255,255,.09);
    background: #0b171d;
}
html[data-theme="dark"] .stage-finder b,
html[data-theme="dark"] .section-title,
html[data-theme="dark"] .feature-text h4,
html[data-theme="dark"] .pc-title,
html[data-theme="dark"] .pc-price-new,
html[data-theme="dark"] .footer h4,
html[data-theme="dark"] .footer-logo,
html[data-theme="dark"] .stage-product-info strong {
    color: #f5f7f8;
}
html[data-theme="dark"] .stage-finder select {
    background: #07151c;
    border-color: rgba(255,255,255,.14);
    color: #fff;
}
html[data-theme="dark"] .stage-finder button {
    background: var(--primary);
    color: #07151c;
    box-shadow: 0 12px 26px rgba(253,185,18,.18);
}
html[data-theme="dark"] .features,
html[data-theme="dark"] section.container {
    background: #050a0d;
}
html[data-theme="dark"] .feature-text p,
html[data-theme="dark"] .pc-category,
html[data-theme="dark"] .footer-text,
html[data-theme="dark"] .footer ul a,
html[data-theme="dark"] .footer li {
    color: rgba(255,255,255,.62) !important;
}
html[data-theme="dark"] .pc-img-wrap,
html[data-theme="dark"] .feature-icon {
    background: #07151c;
}
html[data-theme="dark"] .pc-btn {
    background: #fdb912;
    color: #07151c;
    border-color: #fdb912;
}
html[data-theme="dark"] .carousel-dot {
    background: rgba(255,255,255,.22);
}

@media (max-width: 1100px) {
    .stage-card {
        max-width: var(--container);
        background: transparent;
    }
    .stage-menu-wrapper {
        width: min(620px, calc(100% - 64px));
        border-radius: 0 0 58px 58px;
    }
    .stage-content {
        grid-template-columns: 1fr 1fr;
        text-align: left;
        padding: 62px 32px 104px;
        gap: 24px;
    }
    .stage-copy {
        margin: 0;
    }
}

@media (max-width: 768px) {
    .main-header {
        grid-template-columns: 46px 1fr;
        gap: 14px;
        padding: 16px 20px 20px;
    }
    .mobile-menu-toggle {
        grid-column: 1;
        grid-row: 1;
        width: 46px;
        height: 46px;
        display: grid;
        place-items: center;
        position: relative;
        border-radius: 50%;
        background: #07151c;
        box-shadow: 0 12px 28px rgba(7,21,28,.16);
    }
    .mobile-menu-toggle span {
        position: absolute;
        width: 20px;
        height: 2px;
        border-radius: 999px;
        background: #fff;
        transition: transform .28s ease, opacity .2s ease, top .28s ease;
    }
    .mobile-menu-toggle span:nth-child(1) { top: 16px; }
    .mobile-menu-toggle span:nth-child(2) { top: 22px; }
    .mobile-menu-toggle span:nth-child(3) { top: 28px; }
    body.mobile-nav-open .mobile-menu-toggle span:nth-child(1) {
        top: 22px;
        transform: rotate(45deg);
    }
    body.mobile-nav-open .mobile-menu-toggle span:nth-child(2) {
        opacity: 0;
    }
    body.mobile-nav-open .mobile-menu-toggle span:nth-child(3) {
        top: 22px;
        transform: rotate(-45deg);
    }
    .header-logo {
        grid-column: 2;
        grid-row: 1;
        justify-self: center;
    }
    .header-logo img {
        max-width: 190px;
    }
    .header-search {
        grid-column: 1 / -1;
        grid-row: 2;
        height: 48px;
        border-radius: 16px;
    }
    .header-search input {
        line-height: 48px;
        padding: 0 18px;
    }
    .header-search button {
        width: 56px;
        border-radius: 0 15px 15px 0;
    }
    .header-actions {
        grid-column: 1 / -1;
        grid-row: 3;
        justify-content: center;
    }
    .theme-toggle {
        width: 76px;
        padding: 0;
        justify-content: center;
        gap: 0;
    }
    .theme-label {
        display: none;
    }
    .theme-toggle-track {
        width: 58px;
        height: 30px;
    }
    .theme-toggle-thumb {
        top: 4px;
        left: 5px;
        width: 22px;
        height: 22px;
    }
    html[data-theme="dark"] .theme-toggle-thumb {
        transform: translateX(26px);
    }
    .mobile-menu-panel {
        display: block;
        max-width: calc(100% - 40px);
        margin: -8px auto 18px;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transform: translateY(-10px);
        border-radius: 22px;
        background: #07151c;
        box-shadow: 0 22px 48px rgba(7,21,28,.18);
        transition: max-height .32s ease, opacity .22s ease, transform .28s ease;
    }
    body.mobile-nav-open .mobile-menu-panel {
        max-height: 360px;
        opacity: 1;
        transform: translateY(0);
    }
    .mobile-menu-panel nav {
        display: grid;
        gap: 6px;
        padding: 12px;
    }
    .mobile-menu-panel a {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 14px 16px;
        border-radius: 14px;
        color: #fff;
        font-weight: 800;
        background: rgba(255,255,255,.05);
        transform: translateY(-6px);
        opacity: 0;
        transition: transform .28s ease, opacity .28s ease, background .2s ease;
    }
    .mobile-menu-panel a::after {
        content: "";
        width: 7px;
        height: 7px;
        border-top: 2px solid var(--primary);
        border-right: 2px solid var(--primary);
        transform: rotate(45deg);
    }
    body.mobile-nav-open .mobile-menu-panel a {
        transform: translateY(0);
        opacity: 1;
    }
    body.mobile-nav-open .mobile-menu-panel a:nth-child(2) { transition-delay: .03s; }
    body.mobile-nav-open .mobile-menu-panel a:nth-child(3) { transition-delay: .06s; }
    body.mobile-nav-open .mobile-menu-panel a:nth-child(4) { transition-delay: .09s; }
    body.mobile-nav-open .mobile-menu-panel a:nth-child(5) { transition-delay: .12s; }
    body.mobile-nav-open .mobile-menu-panel a:nth-child(6) { transition-delay: .15s; }
    .mobile-menu-panel a:hover {
        background: rgba(253,185,18,.16);
    }
    .site-stage {
        padding: 0 12px 32px;
    }
    .stage-card {
        max-width: 100%;
        min-height: auto;
        border-radius: 38px;
        background:
            radial-gradient(circle at 74% 28%, rgba(253,185,18,.20), transparent 38%),
            linear-gradient(135deg, #fff8ea 0%, #f6f0e3 100%);
        box-shadow: 0 0 0 1px #f2e6c9;
    }
    .stage-menu-wrapper {
        display: none;
    }
    .stage-content {
        grid-template-columns: 1fr;
        padding: 22px 20px 18px;
        text-align: left;
        overflow: hidden;
    }
    .stage-copy,
    .stage-visual {
        min-width: 0;
        max-width: 100%;
    }
    .stage-title {
        max-width: 100%;
        font-size: 27px;
        line-height: 1.08;
        overflow-wrap: break-word;
    }
    .stage-desc {
        max-width: 315px;
        font-size: 13px;
        line-height: 1.55;
        white-space: normal;
        overflow-wrap: break-word;
    }
    .stage-copy .stage-cta {
        display: none;
    }
    .stage-cta-mobile {
        display: inline-grid;
        margin: 16px auto 0;
        min-width: 172px;
    }
    .stage-product {
        width: min(280px, 100%);
        margin: 0 auto;
    }
    .stage-visual {
        flex-direction: column;
        align-items: center;
    }
    .stage-finder {
        position: relative;
        width: 100%;
        margin: 14px auto 0;
        grid-template-columns: 1fr;
        padding: 16px;
        border-radius: 22px;
    }

    .product-grid.is-mobile-carousel {
        display: block;
        position: relative;
        min-height: calc(var(--carousel-card-w) + 300px);
        height: auto;
        width: 100vw;
        max-width: 100vw;
        margin: 0 0 18px 50%;
        padding: 42px 8px 86px;
        overflow: visible;
        perspective: 960px;
        perspective-origin: 50% 38%;
        transform: translateX(-50%);
        --carousel-card-w: clamp(252px, 64vw, 352px);
        --carousel-step: clamp(78px, 18vw, 148px);
        --carousel-side-scale: .88;
        --carousel-depth: -86px;
        --carousel-turn: 22deg;
    }
    .product-grid.is-mobile-carousel .product-card {
        position: absolute;
        top: 0;
        left: 50%;
        width: var(--carousel-card-w);
        max-width: calc(100% - 32px);
        min-height: 506px;
        padding: 14px;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform-origin: center center;
        transform-style: preserve-3d;
        backface-visibility: hidden;
        -webkit-backface-visibility: hidden;
        clip-path: none;
        -webkit-clip-path: none;
        border: 1px solid #e5eaee;
        transition:
            transform .82s cubic-bezier(.22, 1, .36, 1),
            opacity .82s cubic-bezier(.22, 1, .36, 1),
            visibility 0s linear .82s;
        box-shadow: none !important;
        cursor: grab;
        transform: translate3d(-50%, 0, -120px) rotateY(0deg) scale(.84);
        will-change: transform, opacity;
        -webkit-font-smoothing: antialiased;
    }
    .product-grid.is-mobile-carousel.is-dragging .product-card {
        transition: none !important;
        cursor: grabbing;
    }
    .product-grid.is-mobile-carousel.is-js-animating .product-card {
        transition: none !important;
    }
    .product-grid.is-mobile-carousel.is-prepping-settle .product-card {
        transition: none !important;
    }
    .product-grid.is-mobile-carousel.is-roulette .product-card {
        transition:
            transform .2s cubic-bezier(.25, .46, .45, .94),
            opacity .2s cubic-bezier(.25, .46, .45, .94);
    }
    .product-grid.is-mobile-carousel .product-card.carousel-center {
        z-index: 10;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        filter: none;
        transform: translate3d(-50%, 0, 0) rotateY(0deg) scale(1);
    }
    .product-grid.is-mobile-carousel .product-card.carousel-left-1 {
        z-index: 5;
        opacity: .96;
        visibility: visible;
        pointer-events: none;
        filter: saturate(.9) brightness(.94);
        transform: translate3d(calc(-50% - var(--carousel-step)), 0, var(--carousel-depth))
            rotateY(var(--carousel-turn)) scale(var(--carousel-side-scale));
    }
    .product-grid.is-mobile-carousel .product-card.carousel-right-1 {
        z-index: 5;
        opacity: .96;
        visibility: visible;
        pointer-events: none;
        filter: saturate(.9) brightness(.94);
        transform: translate3d(calc(-50% + var(--carousel-step)), 0, var(--carousel-depth))
            rotateY(calc(var(--carousel-turn) * -1)) scale(var(--carousel-side-scale));
    }
    .product-grid.is-mobile-carousel .product-card > * {
        transform: translateZ(.6px);
        backface-visibility: hidden;
    }
    .product-grid.is-mobile-carousel .pc-btn {
        padding: 12px 0;
        min-height: 48px;
        font-size: 13px;
        border-radius: var(--radius-sm);
        box-shadow: none !important;
    }
    .product-grid.is-mobile-carousel .pc-btn:hover {
        transform: none;
        box-shadow: none !important;
    }
    .product-grid.is-mobile-carousel .pc-price-new,
    .product-grid.is-mobile-carousel .pc-price-old,
    .product-grid.is-mobile-carousel .pc-title,
    .product-grid.is-mobile-carousel .pc-btn span {
        -webkit-font-smoothing: antialiased;
    }
    .product-grid.is-mobile-carousel .product-card.carousel-hidden {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
    }
    .product-grid.is-mobile-carousel .product-card:hover,
    .product-grid.is-mobile-carousel .product-card.carousel-center:hover {
        box-shadow: none !important;
    }
    .product-grid.is-mobile-carousel .product-card:hover .pc-img-wrap img {
        transform: none;
    }
    .product-grid.is-mobile-carousel .pc-img-wrap {
        margin-bottom: 16px;
        transform: none;
    }
    .product-grid.is-mobile-carousel .pc-category {
        font-size: 11px;
        margin-bottom: 6px;
    }
    .product-grid.is-mobile-carousel .pc-title {
        font-size: 14px;
        line-height: 1.4;
        margin-bottom: 12px;
    }
    .product-grid.is-mobile-carousel .pc-stars {
        font-size: 12px;
        margin-bottom: 12px;
    }
    .product-grid.is-mobile-carousel .pc-price-row {
        gap: 8px;
        margin-bottom: 16px;
    }
    .product-grid.is-mobile-carousel .pc-price-new {
        font-size: 18px;
    }
    .product-grid.is-mobile-carousel .pc-price-old {
        font-size: 13px;
    }
    html[data-theme="dark"] .product-grid.is-mobile-carousel .product-card {
        background: #0b171d;
        border-color: rgba(255,255,255,.12);
    }
    html[data-theme="dark"] .product-grid.is-mobile-carousel .product-card.carousel-center {
        background: #0b171d;
        opacity: 1;
        box-shadow: none !important;
    }
    .product-grid.is-mobile-carousel .mobile-carousel-controls {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 16px;
        position: absolute;
        z-index: 220;
        left: 0;
        right: 0;
        top: auto;
        bottom: 0;
        height: 56px;
        padding: 0 14px;
        pointer-events: none;
    }
    .carousel-arrow {
        width: 42px;
        height: 42px;
        border-radius: 50%;
        display: grid;
        place-items: center;
        background: #07151c;
        color: #fff;
        font-size: 24px;
        font-weight: 700;
        border: 1px solid rgba(255,255,255,.14);
        box-shadow: none;
        transition: transform .18s ease, background .18s ease;
        pointer-events: auto;
    }
    .carousel-arrow:active {
        transform: scale(.94);
    }
    .carousel-arrow.is-hidden {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
    }
    .carousel-dots {
        display: flex;
        align-items: center;
        justify-content: center;
        position: static;
        gap: 7px;
        pointer-events: auto;
        order: 0;
    }
    .carousel-prev-btn { order: -1; }
    .carousel-next-btn { order: 1; }
    .carousel-dot {
        width: 7px;
        height: 7px;
        border-radius: 999px;
        background: #c9d0d4;
        transition: width .22s ease, background .22s ease;
    }
    .carousel-dot.is-active {
        width: 24px;
        background: var(--primary);
    }

    @media (max-width: 540px) {
        .product-grid.is-mobile-carousel {
            min-height: calc(var(--carousel-card-w) + 280px);
            padding: 28px 6px 78px;
            --carousel-turn: 11deg;
            --carousel-depth: -48px;
        }
        .product-grid.is-mobile-carousel .product-card {
            min-height: 468px;
            padding: 16px;
        }
        .product-grid.is-mobile-carousel .pc-btn {
            padding: 12px 0;
            min-height: 48px;
            font-size: 13px;
        }
    }
}

/* Final product detail polish overrides */
body[data-product-page] .detail-section {
    width: min(1240px, 100%);
    margin: 58px auto 0;
}

body[data-product-page] .detail-section .section-title {
    margin-bottom: 26px;
    font-size: clamp(30px, 3.2vw, 42px);
}

body[data-product-page] .detail-related-grid,
body[data-product-page] .detail-related-grid.product-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
    min-height: 0;
    width: 100%;
    margin: 0;
    padding: 0;
    perspective: none;
    overflow: visible;
}

body[data-product-page] .detail-related-card.product-card {
    position: relative;
    inset: auto;
    width: auto;
    min-height: 0;
    padding: 14px;
    border-radius: 14px;
    opacity: 1;
    visibility: visible;
    transform: none;
    background: rgba(255,255,255,.92);
    box-shadow: 0 14px 42px rgba(7,21,28,.06);
}

body[data-product-page] .detail-related-card .pc-img-wrap {
    margin: 0 0 14px;
    border-radius: 12px;
}

body[data-product-page] .detail-related-card .pc-img-wrap img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

body[data-product-page] .detail-related-card .pc-content {
    padding: 0;
}

body[data-product-page] .detail-related-card .pc-title {
    min-height: 44px;
    font-size: 15px;
    line-height: 1.35;
}

body[data-product-page] .detail-related-card .pc-price-new {
    font-size: 20px;
}

body[data-product-page] .reviews-panel {
    width: min(1120px, 100%);
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    column-gap: 34px;
    align-items: start;
    margin: 54px auto 0;
    padding: 28px;
    border-radius: 22px;
    background:
        radial-gradient(circle at 12% 0%, rgba(253,185,18,.09), transparent 30%),
        rgba(255,255,255,.82);
}

body[data-product-page] .reviews-panel h2 {
    margin: 0 0 10px;
    font-family: 'Playfair Display', serif;
    font-size: 34px;
}

body[data-product-page] .reviews-panel p,
body[data-product-page] .review-stars {
    grid-column: 1;
}

body[data-product-page] .reviews-panel textarea {
    grid-column: 2;
    grid-row: 1 / span 3;
    min-height: 132px;
    margin: 0;
    border-radius: 14px;
    border-color: rgba(7,21,28,.10);
}

body[data-product-page] .reviews-panel .btn-primary {
    grid-column: 2;
    justify-self: start;
    min-width: 150px;
    margin-top: 16px;
    border-radius: 12px;
    background: var(--primary);
    color: #07151c;
}

body[data-product-page] .customization-dialog {
    width: min(1040px, calc(100vw - 40px));
}

body[data-product-page] .customization-head {
    padding: 24px 30px 18px;
}

body[data-product-page] .customization-dialog h2 {
    font-size: clamp(28px, 3.2vw, 38px);
}

body[data-product-page] .customization-body {
    display: grid;
    grid-template-columns: minmax(260px, 380px) minmax(0, 1fr);
    gap: 26px;
    padding: 24px 30px 26px;
}

body[data-product-page] .custom-preview-card {
    position: relative;
    overflow: hidden;
    border-radius: 22px;
    background: #07151c;
    box-shadow: 0 22px 60px rgba(7,21,28,.18);
}

body[data-product-page] .custom-preview-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 68% 22%, rgba(253,185,18,.18), transparent 30%),
        linear-gradient(180deg, transparent 52%, rgba(7,21,28,.72));
    pointer-events: none;
}

body[data-product-page] .custom-preview-card img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
}

body[data-product-page] .preview-engrave {
    position: absolute;
    z-index: 2;
    color: rgba(255,255,255,.92);
    font-family: 'Playfair Display', serif;
    text-shadow: 0 2px 10px rgba(0,0,0,.45);
    pointer-events: none;
}

body[data-product-page] .preview-engrave-primary {
    left: 13%;
    bottom: 24%;
    font-size: clamp(22px, 2.4vw, 34px);
    transform: rotate(-4deg);
}

body[data-product-page] .preview-engrave-secondary {
    right: 15%;
    bottom: 32%;
    font-size: clamp(18px, 1.8vw, 27px);
    transform: rotate(3deg);
}

body[data-product-page] .preview-engrave-box {
    left: 11%;
    right: 11%;
    bottom: 11%;
    font-size: clamp(19px, 1.9vw, 28px);
    text-align: center;
}

body[data-product-page] .custom-preview p {
    margin-top: 12px;
    color: var(--text-muted);
    font-size: 13px;
    line-height: 1.45;
}

body[data-product-page] .customization-fields {
    max-height: min(470px, calc(100vh - 300px));
    padding: 0;
    gap: 14px;
}

body[data-product-page] .custom-field {
    font-size: 13px;
    letter-spacing: .01em;
}

body[data-product-page] .custom-field input[type="text"],
body[data-product-page] .custom-field select,
body[data-product-page] .custom-field input[type="file"] {
    min-height: 46px;
    border-radius: 10px;
    font-size: 14px;
}

body[data-product-page] .custom-field-check {
    padding: 13px 14px;
}

body[data-product-page] .customization-actions {
    padding: 18px 30px 28px;
}

@media (max-width: 1100px) {
    body[data-product-page] .detail-related-grid,
    body[data-product-page] .detail-related-grid.product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    body[data-product-page] .detail-related-grid,
    body[data-product-page] .detail-related-grid.product-grid,
    body[data-product-page] .reviews-panel,
    body[data-product-page] .customization-body {
        grid-template-columns: 1fr;
    }

    body[data-product-page] .reviews-panel textarea,
    body[data-product-page] .reviews-panel .btn-primary {
        grid-column: 1;
        grid-row: auto;
    }

    body[data-product-page] .custom-preview-card img {
        aspect-ratio: 16 / 11;
    }
}

/* Customization modal — tek kaynak stil */
body[data-product-page] .modal-close {
    top: 22px;
    right: 22px;
    width: 42px;
    height: 42px;
    padding: 0;
    display: block;
    position: absolute;
    border: 0;
    border-radius: 999px;
    background: #fff;
    color: transparent;
    font-size: 0;
    line-height: 0;
    box-shadow: 0 8px 20px rgba(7,21,28,.08);
    isolation: isolate;
    -webkit-font-smoothing: antialiased;
    transition: background .2s ease, border-color .2s ease, transform .2s ease;
}

body[data-product-page] .modal-close span {
    display: none;
}

body[data-product-page] .modal-close::before,
body[data-product-page] .modal-close::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 17px;
    height: 3px;
    border-radius: 999px;
    background: #b91c1c;
    transform-origin: center;
    transition: background .2s ease;
}

body[data-product-page] .modal-close::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

body[data-product-page] .modal-close::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

body[data-product-page] .modal-close:hover {
    transform: scale(1.04);
    background: #b91c1c;
    border-color: transparent;
}

body[data-product-page] .modal-close:hover::before,
body[data-product-page] .modal-close:hover::after {
    background: #fff;
}

body[data-product-page] .custom-form-panel,
body[data-product-page] .customization-fields {
    background: transparent !important;
    box-shadow: none !important;
    filter: none !important;
}

body[data-product-page] .custom-field {
    position: relative;
    display: grid;
    gap: 10px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    transform: none;
    color: var(--text-main);
    font-size: 14px;
    font-weight: 700;
    transition: color .2s ease, transform .2s ease;
}

body[data-product-page] .custom-field::before {
    display: none;
}

body[data-product-page] .custom-field:focus-within {
    transform: none;
    border: 0;
    background: transparent;
    box-shadow: none;
}

body[data-product-page] .custom-field:hover,
body[data-product-page] .custom-field:focus-within {
    color: #7a5200;
}

body[data-product-page] .custom-field input[type="text"],
body[data-product-page] .custom-field select {
    min-height: 52px;
    padding: 0 16px;
    border: 1px solid rgba(7,21,28,.14);
    border-radius: 12px;
    background: #fff;
    background-clip: border-box;
    color: var(--text-main);
    font-size: 15px;
    font-weight: 500;
    box-shadow: inset 0 1px 0 rgba(7,21,28,.025);
    outline: 0;
    appearance: none;
    transition: border-color .2s ease, background .2s ease, box-shadow .2s ease, transform .2s ease;
}

body[data-product-page] .custom-field:hover input[type="text"],
body[data-product-page] .custom-field:hover select,
body[data-product-page] .custom-field:hover input[type="file"] {
    border-color: rgba(253,185,18,.72);
    background:
        linear-gradient(90deg, rgba(253,185,18,.16), transparent 28%),
        #fff;
    box-shadow: inset 4px 0 0 rgba(253,185,18,.75);
}

body[data-product-page] .custom-field input[type="text"]:focus,
body[data-product-page] .custom-field select:focus {
    border-color: rgba(253,185,18,.95);
    background:
        linear-gradient(90deg, rgba(253,185,18,.22), transparent 34%),
        #fff;
    box-shadow: inset 4px 0 0 rgba(253,185,18,.95);
    transform: none;
}

body[data-product-page] .custom-field input[type="file"] {
    min-height: 52px;
    padding: 14px 16px;
    border: 1px dashed rgba(7,21,28,.16);
    border-radius: 12px;
    background: #fff;
    box-shadow: none;
}

body[data-product-page] .custom-field-check {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 4px;
    padding: 14px 16px;
    border: 1px solid rgba(7,21,28,.08);
    border-radius: 12px;
    background: #fff;
    box-shadow: none;
    cursor: pointer;
    transition: border-color .2s ease, background .2s ease, box-shadow .2s ease, transform .2s ease;
}

body[data-product-page] .custom-field-check:hover {
    border-color: rgba(253,185,18,.72);
    background:
        linear-gradient(90deg, rgba(253,185,18,.16), transparent 28%),
        #fff;
    box-shadow: inset 4px 0 0 rgba(253,185,18,.75);
    transform: none;
}

body[data-product-page] .custom-field-check input {
    accent-color: var(--primary);
}

body[data-product-page] .detail-customize-btn,
body[data-product-page] .customization-actions .btn-primary {
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    min-height: 60px;
    padding: 0 34px;
    border: 1px solid var(--text-main);
    border-radius: var(--radius-sm);
    background: linear-gradient(110deg, var(--text-main), #102a33 52%, var(--text-main));
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    box-shadow: none;
    transition: transform .2s ease, box-shadow .2s ease;
}

body[data-product-page] .detail-customize-btn {
    width: 100%;
    min-height: 64px;
}

body[data-product-page] .customization-actions {
    display: flex;
    justify-content: flex-end;
}

body[data-product-page] .customization-actions .btn-primary {
    width: min(100%, 280px);
    min-height: 58px;
}

body[data-product-page] .detail-customize-btn::before,
body[data-product-page] .customization-actions .btn-primary::before {
    content: "";
    position: absolute;
    inset: 0;
    width: 42%;
    display: block;
    pointer-events: none;
    transform: translateX(-150%) skewX(-20deg);
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.18), transparent);
    animation: btnLight 3s linear infinite;
    z-index: 0;
}

body[data-product-page] .detail-customize-btn::after,
body[data-product-page] .customization-actions .btn-primary::after {
    content: none !important;
    display: none !important;
}

body[data-product-page] .detail-customize-btn span,
body[data-product-page] .customization-actions .btn-primary span {
    position: relative;
    z-index: 1;
}

body[data-product-page] .detail-customize-btn:hover,
body[data-product-page] .customization-actions .btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(7,21,28,.18);
}

@media (max-width: 760px) {
    body[data-product-page] .detail-customize-btn,
    body[data-product-page] .customization-actions .btn-primary {
        width: 100%;
        min-height: 58px;
        padding: 0 22px;
        font-size: 15px;
    }

    body[data-product-page] .customization-actions {
        justify-content: stretch;
    }
}

/* Product detail: video, variants and premium information area */
body[data-product-page] .detail-video-card {
    width: 100%;
    min-height: 76px;
    margin-top: 18px;
    padding: 14px 16px;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    border: 1px solid rgba(7,21,28,.08);
    border-radius: 16px;
    background:
        linear-gradient(135deg, rgba(255,255,255,.92), rgba(255,248,235,.72));
    color: var(--text-main);
    text-align: left;
    cursor: pointer;
    transition: border-color .2s ease, background .2s ease, transform .2s ease;
}

body[data-product-page] .detail-video-card:hover {
    transform: translateY(-1px);
    border-color: rgba(253,185,18,.44);
    background:
        linear-gradient(135deg, rgba(255,255,255,.98), rgba(255,244,216,.82));
}

body[data-product-page] .video-play {
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--text-main), #17323b);
    color: #fff;
    font-size: 16px;
    box-shadow: 0 12px 24px rgba(7,21,28,.16);
}

body[data-product-page] .detail-video-card strong,
body[data-product-page] .detail-video-card small {
    display: block;
}

body[data-product-page] .detail-video-card strong {
    font-size: 15px;
}

body[data-product-page] .detail-video-card small {
    margin-top: 3px;
    color: var(--text-muted);
    font-size: 13px;
    line-height: 1.35;
}

body[data-product-page] .variant-panel {
    margin: -4px 0 22px;
}

body[data-product-page] .variant-heading {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 10px;
    color: var(--text-main);
    font-size: 15px;
    font-weight: 700;
}

body[data-product-page] .variant-heading strong {
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 600;
}

body[data-product-page] .variant-options {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

body[data-product-page] .variant-option {
    position: relative;
    display: grid;
    grid-template-columns: 62px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    min-width: 190px;
    padding: 8px 12px 8px 8px;
    border: 1px solid rgba(7,21,28,.10);
    border-radius: 14px;
    background: rgba(255,255,255,.82);
    color: var(--text-main);
    cursor: pointer;
    transition: border-color .2s ease, background .2s ease, transform .2s ease, box-shadow .2s ease;
}

body[data-product-page] .variant-option:hover {
    transform: translateY(-1px);
    border-color: rgba(253,185,18,.52);
    background: #fff;
    box-shadow: 0 12px 26px rgba(7,21,28,.07);
}

body[data-product-page] .variant-option.is-active {
    border-color: var(--primary);
    background:
        linear-gradient(135deg, rgba(253,185,18,.14), rgba(255,255,255,.92));
    box-shadow: inset 0 0 0 1px rgba(253,185,18,.72);
}

body[data-product-page] .variant-thumb {
    width: 62px;
    height: 62px;
    display: block;
    overflow: hidden;
    border-radius: 11px;
    background: #f2f4f4;
}

body[data-product-page] .variant-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

body[data-product-page] .variant-copy strong,
body[data-product-page] .variant-copy small {
    display: block;
}

body[data-product-page] .variant-copy strong {
    font-size: 14px;
}

body[data-product-page] .variant-copy small {
    margin-top: 3px;
    color: var(--text-muted);
    font-size: 12px;
}

body[data-product-page] .product-info-section {
    width: min(1240px, 100%);
    margin: 36px auto 0;
    overflow: hidden;
    border: 1px solid rgba(7,21,28,.08);
    border-radius: 24px;
    background:
        radial-gradient(circle at 8% 0%, rgba(253,185,18,.08), transparent 30%),
        rgba(255,255,255,.84);
}

body[data-product-page] .product-info-tabs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-bottom: 1px solid rgba(7,21,28,.08);
}

body[data-product-page] .product-info-tabs button {
    position: relative;
    min-height: 58px;
    border: 0;
    border-right: 1px solid rgba(7,21,28,.06);
    background: rgba(255,255,255,.60);
    color: #6f7a83;
    font: 700 14px/1.2 'Inter', sans-serif;
    cursor: pointer;
    transition: color .2s ease, background .2s ease;
}

body[data-product-page] .product-info-tabs button:last-child {
    border-right: 0;
}

body[data-product-page] .product-info-tabs button::after {
    content: "";
    position: absolute;
    left: 22px;
    right: 22px;
    bottom: 0;
    height: 3px;
    border-radius: 999px 999px 0 0;
    background: var(--primary);
    opacity: 0;
    transform: scaleX(.55);
    transition: opacity .2s ease, transform .2s ease;
}

body[data-product-page] .product-info-tabs button:hover,
body[data-product-page] .product-info-tabs button.is-active {
    color: var(--text-main);
    background: rgba(255,255,255,.96);
}

body[data-product-page] .product-info-tabs button.is-active::after {
    opacity: 1;
    transform: scaleX(1);
}

body[data-product-page] .product-info-body {
    padding: clamp(22px, 3vw, 36px);
}

body[data-product-page] .info-panel {
    display: none;
}

body[data-product-page] .info-panel.is-active {
    display: block;
}

body[data-product-page] .rich-copy {
    max-width: 880px;
    color: #56616a;
    font-size: 16px;
    line-height: 1.75;
}

body[data-product-page] .rich-copy p {
    margin: 0 0 14px;
}

body[data-product-page] .spec-grid,
body[data-product-page] .delivery-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

body[data-product-page] .spec-row,
body[data-product-page] .delivery-grid div {
    min-height: 58px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 14px 16px;
    border-radius: 12px;
    background: rgba(7,21,28,.035);
}

body[data-product-page] .spec-row span,
body[data-product-page] .delivery-grid span {
    color: #6f7a83;
}

body[data-product-page] .spec-row strong,
body[data-product-page] .delivery-grid strong {
    color: var(--text-main);
    text-align: right;
}

body[data-product-page] .delivery-grid div {
    display: grid;
    align-items: start;
    justify-content: stretch;
}

body[data-product-page] .delivery-grid strong {
    text-align: left;
}

@media (max-width: 900px) {
    body[data-product-page] .variant-option {
        min-width: 0;
        flex: 1 1 180px;
    }

    body[data-product-page] .spec-grid,
    body[data-product-page] .delivery-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 620px) {
    body[data-product-page] .product-info-tabs {
        grid-template-columns: 1fr;
    }

    body[data-product-page] .product-info-tabs button {
        border-right: 0;
        border-bottom: 1px solid rgba(7,21,28,.06);
    }

    body[data-product-page] .product-info-tabs button:last-child {
        border-bottom: 0;
    }

    body[data-product-page] .variant-options {
        display: grid;
        grid-template-columns: 1fr;
    }
}

/* Final brand yellow overrides: keep every purchase CTA in the warm HE yellow style. */
:root {
    --he-brand-yellow: #fdb912;
    --he-brand-yellow-light: #ffd35a;
    --he-brand-yellow-hover: #ffc83d;
    --he-brand-ink: #07151c;
}

.pc-btn,
.btn-primary,
.stage-finder button,
.finder-submit,
body[data-product-page] .detail-customize-btn,
body[data-product-page] .detail-action-row .detail-customize-btn,
body[data-product-page] .customization-actions .btn-primary,
body[data-product-page] .reviews-panel .btn-primary,
html[data-theme="dark"] .pc-btn,
html[data-theme="dark"] .btn-primary,
html[data-theme="dark"] .stage-finder button,
html[data-theme="dark"] .finder-submit,
html[data-theme="dark"] body[data-product-page] .detail-customize-btn,
html[data-theme="dark"] body[data-product-page] .detail-action-row .detail-customize-btn,
html[data-theme="dark"] body[data-product-page] .customization-actions .btn-primary,
html[data-theme="dark"] body[data-product-page] .reviews-panel .btn-primary {
    color: var(--he-brand-ink) !important;
    background:
        linear-gradient(112deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0) 39%, rgba(255,255,255,.34) 50%, rgba(255,255,255,0) 62%),
        linear-gradient(135deg, var(--he-brand-yellow-light) 0%, var(--he-brand-yellow) 52%, #f3a900 100%) !important;
    background-color: var(--he-brand-yellow) !important;
    border: 0 !important;
    box-shadow: 0 14px 28px rgba(253,185,18,.24) !important;
}

.pc-btn:hover,
.btn-primary:hover,
.stage-finder button:hover,
.finder-submit:hover,
body[data-product-page] .detail-customize-btn:hover,
body[data-product-page] .detail-action-row .detail-customize-btn:hover,
body[data-product-page] .customization-actions .btn-primary:hover,
body[data-product-page] .reviews-panel .btn-primary:hover,
html[data-theme="dark"] .pc-btn:hover,
html[data-theme="dark"] .btn-primary:hover,
html[data-theme="dark"] .stage-finder button:hover,
html[data-theme="dark"] .finder-submit:hover,
html[data-theme="dark"] body[data-product-page] .detail-customize-btn:hover,
html[data-theme="dark"] body[data-product-page] .detail-action-row .detail-customize-btn:hover,
html[data-theme="dark"] body[data-product-page] .customization-actions .btn-primary:hover,
html[data-theme="dark"] body[data-product-page] .reviews-panel .btn-primary:hover {
    color: var(--he-brand-ink) !important;
    background:
        linear-gradient(112deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0) 39%, rgba(255,255,255,.42) 50%, rgba(255,255,255,0) 62%),
        linear-gradient(135deg, #ffdc78 0%, var(--he-brand-yellow-hover) 52%, var(--he-brand-yellow) 100%) !important;
}

.pc-btn::before,
.btn-primary::before,
.stage-finder button::before,
.finder-submit::before,
body[data-product-page] .detail-customize-btn::before,
body[data-product-page] .detail-action-row .detail-customize-btn::before,
body[data-product-page] .customization-actions .btn-primary::before,
body[data-product-page] .reviews-panel .btn-primary::before {
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.45), transparent) !important;
}

.pc-btn span,
.btn-primary span,
body[data-product-page] .detail-customize-btn span,
body[data-product-page] .detail-action-row .detail-customize-btn span,
body[data-product-page] .customization-actions .btn-primary span,
body[data-product-page] .reviews-panel .btn-primary span {
    color: var(--he-brand-ink) !important;
}

body[data-category-page] .subcategory-card i,
html[data-theme="dark"] body[data-category-page] .subcategory-card i {
    background:
        linear-gradient(135deg, var(--he-brand-yellow-light), var(--he-brand-yellow)) !important;
    color: var(--he-brand-ink) !important;
    box-shadow: 0 10px 20px rgba(253,185,18,.18) !important;
}

body[data-category-page] .subcategory-card:hover i,
body[data-category-page] .subcategory-card.is-active i,
html[data-theme="dark"] body[data-category-page] .subcategory-card:hover i,
html[data-theme="dark"] body[data-category-page] .subcategory-card.is-active i {
    background:
        linear-gradient(135deg, #ffdc78, var(--he-brand-yellow)) !important;
    color: var(--he-brand-ink) !important;
}

/* Brand action color pass: category arrows and purchase CTAs use HE gold. */
:root {
    --he-gold: #fdb912;
    --he-gold-hover: #ffc83d;
    --he-ink: #07151c;
}

body[data-category-page] .subcategory-card i {
    background: rgba(253,185,18,.18) !important;
    color: var(--he-ink) !important;
}

body[data-category-page] .subcategory-card:hover i,
body[data-category-page] .subcategory-card.is-active i,
html[data-theme="dark"] body[data-category-page] .subcategory-card i,
html[data-theme="dark"] body[data-category-page] .subcategory-card:hover i,
html[data-theme="dark"] body[data-category-page] .subcategory-card.is-active i {
    background: var(--he-gold) !important;
    color: var(--he-ink) !important;
}

.btn-primary,
.pc-btn,
.stage-finder button,
.finder-submit,
body[data-product-page] .detail-customize-btn,
body[data-product-page] .detail-action-row .detail-customize-btn,
body[data-product-page] .customization-actions .btn-primary,
body[data-product-page] .reviews-panel .btn-primary {
    color: var(--he-ink) !important;
    background: var(--he-gold) !important;
    background-image: none !important;
    box-shadow: 0 16px 34px rgba(253,185,18,.24) !important;
}

.btn-primary:hover,
.pc-btn:hover,
.stage-finder button:hover,
.finder-submit:hover,
body[data-product-page] .detail-customize-btn:hover,
body[data-product-page] .detail-action-row .detail-customize-btn:hover,
body[data-product-page] .customization-actions .btn-primary:hover,
body[data-product-page] .reviews-panel .btn-primary:hover {
    color: var(--he-ink) !important;
    background: var(--he-gold-hover) !important;
}

/* Product detail action/title refinements */
body[data-product-page] .product-summary h1 {
    max-width: 720px;
    margin-top: 18px;
    font-family: 'Inter', sans-serif;
    font-size: clamp(28px, 2.65vw, 38px);
    line-height: 1.16;
    letter-spacing: -.02em;
    font-weight: 800;
}

body[data-product-page] .detail-action-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 64px;
    gap: 14px;
    width: 100%;
    margin: 0 0 22px;
}

body[data-product-page] .detail-action-row .detail-customize-btn {
    width: 100%;
    min-height: 62px;
    margin: 0;
    padding: 0 28px;
    font-size: 17px;
}

body[data-product-page] .detail-favorite-btn {
    position: relative;
    overflow: hidden;
    width: 64px;
    height: 62px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(7,21,28,.10);
    border-radius: 14px;
    background: rgba(255,255,255,.92);
    color: #07151c;
    cursor: pointer;
    transition: color .2s ease, border-color .2s ease, background .2s ease, transform .2s ease;
}

body[data-product-page] .detail-favorite-btn::before {
    content: "";
    position: absolute;
    inset: -40%;
    background: radial-gradient(circle, rgba(253,185,18,.22), transparent 58%);
    opacity: 0;
    transform: scale(.65);
    transition: opacity .2s ease, transform .2s ease;
}

body[data-product-page] .detail-favorite-btn svg {
    position: relative;
    width: 25px;
    height: 25px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    z-index: 1;
}

body[data-product-page] .detail-favorite-btn:hover {
    transform: translateY(-1px);
    border-color: rgba(253,185,18,.50);
    background: #fff;
    color: #b91c1c;
}

body[data-product-page] .detail-favorite-btn.is-active {
    color: #e74c3c;
}

body[data-product-page] .detail-favorite-btn.is-active svg {
    fill: currentColor;
}

body[data-product-page] .detail-favorite-btn:hover::before {
    opacity: 1;
    transform: scale(1);
}

body[data-product-page] .detail-info-panel {
    display: grid;
    gap: 12px;
    margin-top: 0;
    padding: 18px 20px;
}

body[data-product-page] .detail-info-panel h3 {
    margin: 0;
    color: var(--text-main);
    font-size: 17px;
    line-height: 1.2;
}

body[data-product-page] .delivery-line {
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px;
}

body[data-product-page] .delivery-line svg {
    width: 26px;
    height: 26px;
    color: #07151c;
}

body[data-product-page] .delivery-line span {
    color: #65717a;
    font-size: 16px;
    line-height: 1.5;
}

body[data-product-page] .delivery-line strong {
    color: var(--text-main);
}

body[data-product-page] .cargo-brand {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    padding: 8px 10px;
    border-radius: 10px;
    background: rgba(255,255,255,.86);
    color: #f07a12;
    font-size: 14px;
    line-height: 1;
    white-space: nowrap;
}

body[data-product-page] .cargo-brand i {
    color: #1f76ba;
    font-style: normal;
}

body[data-product-page] .delivery-hint {
    margin: 0;
    padding: 12px 14px;
    border-radius: 12px;
    background: rgba(31,118,186,.07);
    color: #607482;
    font-size: 14px;
    line-height: 1.45;
}

@media (max-width: 760px) {
    body[data-product-page] .product-summary h1 {
        font-size: clamp(25px, 7vw, 32px);
    }

    body[data-product-page] .detail-action-row {
        grid-template-columns: minmax(0, 1fr) 58px;
        gap: 10px;
    }

    body[data-product-page] .detail-action-row .detail-customize-btn,
    body[data-product-page] .detail-favorite-btn {
        min-height: 58px;
        height: 58px;
    }

    body[data-product-page] .detail-favorite-btn {
        width: 58px;
    }

    body[data-product-page] .delivery-line {
        grid-template-columns: 28px minmax(0, 1fr);
    }

    body[data-product-page] .cargo-brand {
        grid-column: 2;
        justify-self: start;
    }
}

/* Product detail density pass: keep the page premium without oversized ecommerce UI */
body[data-product-page] .product-page {
    width: min(1320px, calc(100% - 64px));
    padding-top: 28px;
}

body[data-product-page] .breadcrumb {
    margin-bottom: 18px;
    font-size: 13px;
}

body[data-product-page] .product-detail-shell {
    grid-template-columns: minmax(420px, 520px) minmax(0, 1fr);
    gap: clamp(34px, 4vw, 56px);
    padding: clamp(22px, 2.2vw, 32px);
    border-radius: 22px;
    box-shadow: 0 18px 58px rgba(7,21,28,.065);
}

body[data-product-page] .product-gallery {
    gap: 12px;
}

body[data-product-page] .gallery-main {
    width: 100%;
    max-height: 520px;
    border-radius: 16px;
    box-shadow: 0 14px 38px rgba(7,21,28,.08);
}

body[data-product-page] .gallery-arrow {
    top: calc(50% - 72px);
    width: 38px;
    height: 38px;
    font-size: 30px;
}

body[data-product-page] .gallery-prev {
    left: 14px;
}

body[data-product-page] .gallery-next {
    right: 14px;
}

body[data-product-page] .gallery-thumbs {
    grid-template-columns: repeat(auto-fill, 68px);
    gap: 10px;
}

body[data-product-page] .gallery-thumb {
    border-radius: 10px;
}

body[data-product-page] .product-summary {
    padding-top: 4px;
}

body[data-product-page] .product-summary .pc-category {
    padding: 7px 11px;
    font-size: 11px;
}

body[data-product-page] .product-summary h1 {
    max-width: 620px;
    margin: 14px 0 10px;
    font-size: clamp(24px, 1.55vw, 31px);
    line-height: 1.18;
    letter-spacing: -.015em;
}

body[data-product-page] .product-code {
    margin: 8px 0 12px;
    font-size: 13px;
}

body[data-product-page] .detail-rating {
    margin: 0 0 14px;
    padding: 7px 10px;
    font-size: 15px;
}

body[data-product-page] .detail-rating small {
    font-size: 12px;
}

body[data-product-page] .detail-price-row {
    gap: 12px;
    margin: 4px 0 18px;
}

body[data-product-page] .detail-discount {
    min-height: 36px;
    padding: 5px 11px;
    border-radius: 7px;
    font-size: 13px;
}

body[data-product-page] .detail-price-row strong {
    font-size: clamp(30px, 2.2vw, 38px);
}

body[data-product-page] .detail-price-row del {
    font-size: 15px;
}

body[data-product-page] .variant-panel {
    margin: -2px 0 18px;
}

body[data-product-page] .variant-heading {
    margin-bottom: 8px;
    font-size: 14px;
}

body[data-product-page] .variant-options {
    gap: 10px;
}

body[data-product-page] .variant-option {
    grid-template-columns: 54px minmax(0, 1fr);
    min-width: 172px;
    padding: 7px 10px 7px 7px;
    border-radius: 12px;
}

body[data-product-page] .variant-thumb {
    width: 54px;
    height: 54px;
    border-radius: 9px;
}

body[data-product-page] .variant-copy strong {
    font-size: 13px;
}

body[data-product-page] .variant-copy small {
    font-size: 11px;
}

body[data-product-page] .detail-action-row {
    grid-template-columns: minmax(0, 1fr) 56px;
    gap: 12px;
    margin-bottom: 18px;
}

body[data-product-page] .detail-action-row .detail-customize-btn {
    min-height: 54px;
    padding: 0 24px;
    border-radius: 12px;
    font-size: 15px;
}

body[data-product-page] .detail-favorite-btn {
    width: 56px;
    height: 54px;
    border-radius: 12px;
}

body[data-product-page] .detail-favorite-btn svg {
    width: 23px;
    height: 23px;
}

body[data-product-page] .detail-info-panel {
    gap: 10px;
    padding: 16px 18px;
    border-radius: 16px;
}

body[data-product-page] .detail-info-panel h3 {
    font-size: 15px;
}

body[data-product-page] .delivery-line {
    grid-template-columns: 24px minmax(0, 1fr) auto;
    gap: 12px;
}

body[data-product-page] .delivery-line svg {
    width: 23px;
    height: 23px;
}

body[data-product-page] .delivery-line span {
    font-size: 14px;
}

body[data-product-page] .cargo-brand {
    padding: 7px 9px;
    font-size: 12px;
}

body[data-product-page] .delivery-hint {
    padding: 10px 12px;
    font-size: 13px;
}

body[data-product-page] .detail-description {
    margin-top: 14px;
    padding: 18px 20px;
    border-radius: 16px;
}

body[data-product-page] .detail-description h2 {
    font-size: 20px;
}

body[data-product-page] .detail-description li {
    font-size: 14px;
    line-height: 1.55;
}

body[data-product-page] .detail-video-card {
    min-height: 64px;
    margin-top: 14px;
    padding: 12px 14px;
    border-radius: 14px;
}

body[data-product-page] .video-play {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
    font-size: 14px;
}

body[data-product-page] .detail-video-card strong {
    font-size: 14px;
}

body[data-product-page] .detail-video-card small {
    font-size: 12px;
}

body[data-product-page] .product-info-section {
    width: min(1320px, 100%);
    margin-top: 28px;
    border-radius: 20px;
}

body[data-product-page] .product-info-tabs button {
    min-height: 50px;
    font-size: 13px;
}

body[data-product-page] .product-info-body {
    padding: clamp(18px, 2.2vw, 28px);
}

body[data-product-page] .rich-copy {
    font-size: 15px;
    line-height: 1.65;
}

body[data-product-page] .spec-row,
body[data-product-page] .delivery-grid div {
    min-height: 52px;
    padding: 12px 14px;
    font-size: 14px;
}

@media (max-width: 980px) {
    body[data-product-page] .product-page {
        width: min(100% - 32px, 760px);
    }

    body[data-product-page] .product-detail-shell {
        grid-template-columns: 1fr;
    }

    body[data-product-page] .gallery-main {
        max-height: none;
    }
}

@media (max-width: 620px) {
    body[data-product-page] .product-page {
        width: calc(100% - 20px);
        padding-top: 18px;
    }

    body[data-product-page] .product-detail-shell {
        padding: 14px;
        border-radius: 18px;
    }

    body[data-product-page] .product-summary h1 {
        font-size: clamp(23px, 6.5vw, 29px);
    }
}

/* Product detail v5: compact marketplace rhythm with premium HE styling */
body[data-product-page] .product-page {
    width: min(1180px, calc(100% - 56px));
}

body[data-product-page] .product-detail-shell {
    grid-template-columns: minmax(500px, 560px) minmax(0, 1fr);
    gap: 30px;
    padding: 20px;
}

body[data-product-page] .gallery-main {
    max-height: 560px;
}

body[data-product-page] .product-summary h1 {
    max-width: 100%;
    margin: 12px 0 8px;
    font-size: clamp(24px, 1.45vw, 30px);
    line-height: 1.14;
}

body[data-product-page] .detail-buy-row {
    display: grid;
    grid-template-columns: 214px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    margin: 14px 0 16px;
}

body[data-product-page] .detail-price-row {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: end;
    gap: 5px 8px;
    min-width: 0;
    margin: 0;
}

body[data-product-page] .detail-price-row strong {
    color: #078a16;
    white-space: nowrap;
    font-size: 28px;
    line-height: .95;
    letter-spacing: 0;
}

body[data-product-page] .detail-price-row del {
    grid-column: 2;
    align-self: start;
    white-space: nowrap;
    font-size: 13px;
}

body[data-product-page] .detail-discount {
    flex: 0 0 auto;
    grid-row: span 2;
    min-width: 82px;
    min-height: 82px;
    padding: 8px 10px;
    border-radius: 6px;
    background: #d6ffb8;
    color: #123c16;
    font-size: 18px;
    font-weight: 800;
    line-height: 1.15;
    text-align: center;
    white-space: pre-line;
}

body[data-product-page] .detail-action-row {
    grid-template-columns: minmax(0, 1fr) 50px;
    gap: 10px;
    margin: 0;
}

body[data-product-page] .detail-action-row .detail-customize-btn {
    min-height: 50px;
    padding: 0 18px;
    background:
        linear-gradient(112deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0) 42%, rgba(255,255,255,.2) 52%, rgba(255,255,255,0) 64%),
        linear-gradient(135deg, #064f50, #0a6d69);
    box-shadow: 0 14px 30px rgba(4,79,80,.18);
    font-size: 14px;
}

body[data-product-page] .detail-favorite-btn {
    width: 50px;
    height: 50px;
}

body[data-product-page] .detail-info-panel {
    padding: 14px 16px;
}

body[data-product-page] .delivery-line {
    grid-template-columns: 24px minmax(0, 1fr) 112px;
}

body[data-product-page] .cargo-logo {
    width: 112px;
    height: auto;
    display: block;
    justify-self: end;
    border-radius: 8px;
    box-shadow: none;
}

body[data-product-page] .cargo-brand {
    display: inline-flex;
    align-items: baseline;
    justify-content: center;
    min-width: 102px;
    padding: 7px 9px;
    border: 0;
    border-radius: 10px;
    background: #fff;
    box-shadow: inset 0 0 0 1px rgba(7,21,28,.06), 0 8px 18px rgba(7,21,28,.06);
    color: #f27c12;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: -.03em;
}

body[data-product-page] .cargo-brand i {
    color: #1976bd;
    font-style: normal;
}

body[data-product-page] .detail-video-card {
    position: relative;
    min-height: 82px;
    overflow: hidden;
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
    border-color: rgba(227,75,56,.18);
    background:
        linear-gradient(135deg, rgba(227,75,56,.05), rgba(255,255,255,.92) 46%, rgba(255,178,18,.08)),
        #fff;
}

body[data-product-page] .detail-video-card::after {
    content: "";
    position: absolute;
    inset: auto 14px 10px 62px;
    height: 3px;
    border-radius: 99px;
    background: linear-gradient(90deg, #e34b38, rgba(227,75,56,0));
    opacity: .75;
}

body[data-product-page] .video-player-art {
    width: 78px;
    height: 54px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 12px 28px rgba(227,75,56,.14);
}

body[data-product-page] .video-player-art img {
    width: 82px;
    max-width: none;
    height: auto;
    display: block;
}

body[data-product-page] .detail-video-card strong {
    font-size: 15px;
}

body[data-product-page] .detail-video-card small {
    color: #7a848c;
}

body[data-product-page] .product-info-section {
    display: none;
}

@media (max-width: 1140px) {
    body[data-product-page] .product-detail-shell {
        grid-template-columns: minmax(430px, 520px) minmax(0, 1fr);
    }

    body[data-product-page] .detail-buy-row {
        grid-template-columns: 1fr;
    }

    body[data-product-page] .detail-action-row {
        grid-template-columns: minmax(0, 1fr) 50px;
    }
}

@media (max-width: 980px) {
    body[data-product-page] .product-detail-shell {
        grid-template-columns: 1fr;
    }
}

/* Product detail v6: fix buy-row overflow and clean video card */
body[data-product-page] .detail-buy-row {
    grid-template-columns: 218px minmax(0, 1fr) 50px;
    gap: 10px;
    align-items: center;
}

body[data-product-page] .detail-price-row {
    width: 218px;
    max-width: 218px;
    overflow: hidden;
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 4px 8px;
}

body[data-product-page] .detail-discount {
    width: 76px;
    min-height: 50px;
    padding: 6px 7px;
    font-size: 13px;
    line-height: 1.1;
    text-align: center;
}

body[data-product-page] .detail-price-row strong {
    min-width: 0;
    overflow: hidden;
    color: #078a16;
    font-size: 24px;
    line-height: 1;
    text-overflow: clip;
}

body[data-product-page] .detail-price-row del {
    min-width: 0;
    overflow: hidden;
    font-size: 13px;
    text-overflow: clip;
}

body[data-product-page] .detail-customize-btn {
    min-width: 0;
    min-height: 52px;
    border: 0;
    border-radius: 12px;
    background: #0b6f68;
    box-shadow: 0 10px 24px rgba(11,111,104,.16);
    color: #fff;
    font-size: 15px;
}

body[data-product-page] .detail-customize-btn::before {
    display: none;
}

body[data-product-page] .detail-customize-btn:hover {
    background: #075f59;
    transform: translateY(-1px);
}

body[data-product-page] .detail-video-card {
    grid-template-columns: 78px minmax(0, 1fr);
    gap: 14px;
    min-height: 76px;
    padding: 12px 16px;
    border: 1px solid rgba(227,75,56,.18);
    background: #fff;
    box-shadow: 0 10px 28px rgba(7,21,28,.045);
}

body[data-product-page] .detail-video-card::after {
    display: none;
}

body[data-product-page] .video-player-art {
    width: 64px;
    height: 46px;
    overflow: hidden;
    border-radius: 10px;
    background: transparent;
    box-shadow: none;
}

body[data-product-page] .video-player-art img {
    width: 70px;
    height: 50px;
    object-fit: contain;
    display: block;
}

body[data-product-page] .detail-video-card strong {
    font-size: 15px;
    line-height: 1.15;
}

body[data-product-page] .detail-video-card small {
    margin-top: 3px;
    font-size: 13px;
    line-height: 1.35;
}

@media (max-width: 1140px) {
    body[data-product-page] .detail-buy-row {
        grid-template-columns: 1fr 50px;
    }

    body[data-product-page] .detail-price-row {
        grid-column: 1 / -1;
        width: 100%;
        max-width: none;
    }
}

/* Product detail v7: compact price, flat petrol CTA, aligned wishlist, clean video row */
body[data-product-page] .detail-buy-row {
    grid-template-columns: 212px minmax(0, 1fr) 52px !important;
    gap: 10px !important;
    align-items: center !important;
}

body[data-product-page] .detail-price-row {
    width: 212px !important;
    max-width: 212px !important;
}

body[data-product-page] .detail-price-row strong {
    font-size: 22px !important;
    line-height: 1 !important;
    letter-spacing: 0 !important;
}

body[data-product-page] .detail-price-row del {
    font-size: 12px !important;
}

body[data-product-page] .detail-discount {
    min-height: 46px !important;
    padding: 5px 7px !important;
    font-size: 12px !important;
}

body[data-product-page] .detail-customize-btn,
body[data-product-page] .detail-action-row .detail-customize-btn {
    min-height: 52px !important;
    background: #055a57 !important;
    background-image: none !important;
    border: none !important;
    box-shadow: 0 8px 20px rgba(5, 90, 87, .2) !important;
}

body[data-product-page] .detail-customize-btn::before,
body[data-product-page] .detail-customize-btn::after {
    display: none !important;
    content: none !important;
}

body[data-product-page] .detail-customize-btn:hover {
    background: #044c49 !important;
    transform: translateY(-1px);
}

body[data-product-page] .detail-favorite-btn {
    width: 52px !important;
    height: 52px !important;
    min-height: 52px !important;
    border-radius: 14px !important;
    align-self: stretch !important;
}

body[data-product-page] .detail-video-card {
    grid-template-columns: 64px minmax(0, 1fr) !important;
    min-height: 76px !important;
    padding: 12px 14px !important;
    gap: 12px !important;
    border: 1px solid rgba(227, 75, 56, .15) !important;
    background: #fff !important;
    box-shadow: 0 8px 22px rgba(7, 21, 28, .04) !important;
    overflow: hidden !important;
}

body[data-product-page] .detail-video-card::before,
body[data-product-page] .detail-video-card::after {
    display: none !important;
    content: none !important;
}

body[data-product-page] .video-player-art {
    width: 52px !important;
    height: 40px !important;
    border-radius: 8px !important;
    background: transparent !important;
    box-shadow: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
}

body[data-product-page] .video-player-art img {
    width: 52px !important;
    height: 40px !important;
    object-fit: cover !important;
    object-position: center !important;
    border-radius: 8px !important;
    display: block !important;
}

body[data-product-page] .detail-video-card strong {
    font-size: 14px !important;
    line-height: 1.2 !important;
}

body[data-product-page] .detail-video-card small {
    margin-top: 2px !important;
    font-size: 12px !important;
    line-height: 1.32 !important;
}

/* CTA v8: unified petrol tone + light sweep effect */
:root {
    --cta-petrol: #055a57;
    --cta-petrol-hover: #044c49;
}

.btn-primary,
.pc-btn,
.stage-finder button,
.finder-submit,
body[data-product-page] .detail-customize-btn,
body[data-product-page] .detail-action-row .detail-customize-btn {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    color: #fff !important;
    background: var(--cta-petrol) !important;
    background-image: none !important;
    border: none !important;
}

.btn-primary:hover,
.pc-btn:hover,
.stage-finder button:hover,
.finder-submit:hover,
body[data-product-page] .detail-customize-btn:hover,
body[data-product-page] .detail-action-row .detail-customize-btn:hover {
    background: var(--cta-petrol-hover) !important;
}

.btn-primary::before,
.pc-btn::before,
.stage-finder button::before,
.finder-submit::before,
body[data-product-page] .detail-customize-btn::before,
body[data-product-page] .detail-action-row .detail-customize-btn::before {
    content: "" !important;
    display: block !important;
    position: absolute;
    inset: 0;
    width: 44%;
    pointer-events: none;
    z-index: 0;
    transform: translateX(-150%) skewX(-20deg);
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.28), transparent);
    animation: btnLight 3s linear infinite;
}

.btn-primary span,
.pc-btn span,
.stage-finder button span,
.finder-submit span,
body[data-product-page] .detail-customize-btn span,
body[data-product-page] .detail-action-row .detail-customize-btn span {
    position: relative;
    z-index: 1;
}

/* v10: exact buy-row alignment + consistent typography */
html,
body,
button,
input,
select,
textarea,
label,
a,
p,
span,
li {
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
}

h1,
h2,
h3,
.section-title,
.product-summary h1,
body[data-product-page] .product-summary h1 {
    font-family: "Playfair Display", Georgia, serif !important;
    font-weight: 700 !important;
    letter-spacing: 0 !important;
}

body[data-product-page] .product-summary h1 {
    font-size: clamp(30px, 2.15vw, 40px) !important;
    line-height: 1.05 !important;
}

.section-title {
    font-size: clamp(34px, 3.1vw, 48px) !important;
    line-height: 1.08 !important;
}

body[data-product-page] .detail-buy-row {
    align-items: start !important;
    grid-template-columns: 212px minmax(0, 1fr) 52px !important;
    gap: 12px !important;
    transform: translateY(8px) !important;
}

body[data-product-page] .detail-price-row {
    align-self: start !important;
}

body[data-product-page] .detail-customize-btn,
body[data-product-page] .detail-action-row .detail-customize-btn,
body[data-product-page] .detail-favorite-btn {
    margin-top: 0 !important;
    align-self: start !important;
}

/* v16: Hexenkotel type system + compact product controls */
:root {
    --font-ui: "Romanica", "Keep Calm", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

html,
body,
button,
input,
select,
textarea,
label,
a,
p,
span,
li,
strong,
small,
h1,
h2,
h3,
h4,
h5,
h6,
.section-title,
.product-summary h1,
.stage-title,
.footer-logo,
.logo,
.header-logo {
    font-family: var(--font-ui) !important;
    letter-spacing: 0 !important;
}

h1,
h2,
h3,
.section-title,
.product-summary h1,
body[data-product-page] .product-summary h1 {
    font-weight: 800 !important;
}

body[data-product-page] .product-summary h1 {
    max-width: 680px !important;
    font-family: var(--font-ui) !important;
    font-size: clamp(25px, 1.75vw, 31px) !important;
    line-height: 1.18 !important;
    font-weight: 700 !important;
}

.section-title {
    font-size: clamp(28px, 2.2vw, 36px) !important;
    line-height: 1.12 !important;
}

.btn-primary,
.pc-btn,
.stage-finder button,
.finder-submit,
body[data-product-page] .detail-customize-btn {
    font-weight: 800 !important;
}

.stage-title em {
    font-family: "Playfair Display", Georgia, serif !important;
    font-style: italic !important;
    font-weight: 600 !important;
    color: var(--primary) !important;
}

body[data-product-page] .detail-buy-row {
    grid-template-columns: 244px minmax(0, 1fr) 52px !important;
}

body[data-product-page] .detail-price-row {
    width: 244px !important;
    max-width: 244px !important;
    grid-template-columns: 82px minmax(0, 1fr) !important;
}

body[data-product-page] .detail-price-row strong {
    font-size: 22px !important;
}

body[data-product-page] .detail-price-row del {
    font-size: 12px !important;
}

body[data-product-page] .variant-option {
    min-width: 150px !important;
    grid-template-columns: 54px minmax(0, 1fr) !important;
    align-items: center !important;
}

body[data-product-page] .variant-copy small {
    display: none !important;
}

/* v19: Romanica only for main headings, Verdana for every UI/control text */
:root {
    --font-display: "Romanica", Georgia, serif;
    --font-ui: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

html,
body,
button,
input,
select,
textarea,
label,
a,
p,
span,
li,
strong,
small,
h3,
h4,
h5,
h6,
.pc-title,
.pc-category,
.pc-price,
.detail-rating,
.product-code,
.detail-price-row,
.detail-discount,
.variant-panel,
.variant-option,
.detail-info-panel,
.detail-description,
.reviews-panel,
.footer,
.header-logo,
.stage-desc,
.stage-eyebrow,
.stage-menu,
.stage-finder {
    font-family: var(--font-ui) !important;
}

h1,
h2,
.section-title,
.stage-title,
body[data-product-page] .product-summary h1,
body[data-product-page] .detail-description h2,
body[data-product-page] .reviews-panel h2 {
    font-family: var(--font-display) !important;
    font-weight: 700 !important;
    letter-spacing: 0 !important;
}

.category-hero-copy .stage-title,
.category-hero-copy .stage-title span,
[data-category-title],
.home-section-head h2 {
    font-family: var(--font-display) !important;
    font-weight: 700 !important;
    letter-spacing: 0 !important;
}

body[data-product-page] .detail-description,
body[data-product-page] .detail-description li,
body[data-product-page] .reviews-panel p,
body[data-product-page] .reviews-panel textarea {
    font-family: var(--font-ui) !important;
}

.btn-primary,
.pc-btn,
.stage-finder button,
.finder-submit,
body[data-product-page] .detail-customize-btn,
body[data-product-page] .detail-favorite-btn {
    font-family: var(--font-ui) !important;
}

body[data-product-page] .detail-price-row strong,
body[data-product-page] .detail-price-row del {
    font-family: var(--font-ui) !important;
}

/* v21: dark theme product page polish + yellow CTAs */
html[data-theme="dark"] .btn-primary,
html[data-theme="dark"] .pc-btn,
html[data-theme="dark"] .stage-finder button,
html[data-theme="dark"] .finder-submit,
html[data-theme="dark"] .stage-cta,
html[data-theme="dark"] body[data-product-page] .detail-customize-btn,
html[data-theme="dark"] body[data-product-page] .detail-action-row .detail-customize-btn,
html[data-theme="dark"] body[data-product-page] .reviews-panel .btn-primary,
html[data-theme="dark"] body[data-product-page] .customization-actions .btn-primary {
    color: #07151c !important;
    background: #fdb912 !important;
    background-image: none !important;
    box-shadow: 0 16px 34px rgba(253, 185, 18, .24) !important;
}

html[data-theme="dark"] .btn-primary:hover,
html[data-theme="dark"] .pc-btn:hover,
html[data-theme="dark"] .stage-finder button:hover,
html[data-theme="dark"] .finder-submit:hover,
html[data-theme="dark"] .stage-cta:hover,
html[data-theme="dark"] body[data-product-page] .detail-customize-btn:hover,
html[data-theme="dark"] body[data-product-page] .detail-action-row .detail-customize-btn:hover {
    background: #ffc83d !important;
}

html[data-theme="dark"] .btn-primary::before,
html[data-theme="dark"] .pc-btn::before,
html[data-theme="dark"] .stage-finder button::before,
html[data-theme="dark"] .finder-submit::before,
html[data-theme="dark"] body[data-product-page] .detail-customize-btn::before,
html[data-theme="dark"] body[data-product-page] .detail-action-row .detail-customize-btn::before {
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.55), transparent) !important;
}

html[data-theme="dark"] body[data-product-page] .product-page {
    color: #eef4f5 !important;
}

html[data-theme="dark"] body[data-product-page] .product-detail-shell,
html[data-theme="dark"] body[data-product-page] .detail-info-panel,
html[data-theme="dark"] body[data-product-page] .detail-description,
html[data-theme="dark"] body[data-product-page] .reviews-panel,
html[data-theme="dark"] body[data-product-page] .detail-video-card {
    border-color: rgba(255,255,255,.12) !important;
    background:
        radial-gradient(circle at 16% 0%, rgba(253,185,18,.08), transparent 34%),
        linear-gradient(145deg, rgba(17,35,42,.96), rgba(7,21,28,.94)) !important;
    color: #eef4f5 !important;
}

html[data-theme="dark"] body[data-product-page] .product-summary h1,
html[data-theme="dark"] body[data-product-page] .detail-description h2,
html[data-theme="dark"] body[data-product-page] .detail-info-panel h3,
html[data-theme="dark"] body[data-product-page] .reviews-panel h2,
html[data-theme="dark"] body[data-product-page] .section-title {
    color: #f8fbfb !important;
}

html[data-theme="dark"] body[data-product-page] .product-code,
html[data-theme="dark"] body[data-product-page] .variant-heading,
html[data-theme="dark"] body[data-product-page] .detail-info-panel,
html[data-theme="dark"] body[data-product-page] .detail-description li,
html[data-theme="dark"] body[data-product-page] .reviews-panel p,
html[data-theme="dark"] body[data-product-page] .detail-video-card small {
    color: rgba(238,244,245,.74) !important;
}

html[data-theme="dark"] body[data-product-page] .variant-option {
    border-color: rgba(255,255,255,.14) !important;
    background: rgba(255,255,255,.08) !important;
    color: #f8fbfb !important;
}

html[data-theme="dark"] body[data-product-page] .variant-option.is-active {
    border-color: #fdb912 !important;
    background: rgba(253,185,18,.14) !important;
}

html[data-theme="dark"] body[data-product-page] .detail-favorite-btn {
    border-color: rgba(255,255,255,.16) !important;
    background: rgba(255,255,255,.10) !important;
    color: #f8fbfb !important;
}

html[data-theme="dark"] body[data-product-page] .detail-favorite-btn:hover {
    border-color: rgba(253,185,18,.55) !important;
    background: rgba(253,185,18,.16) !important;
    color: #fdb912 !important;
}

html[data-theme="dark"] body[data-product-page] .detail-related-card.product-card,
html[data-theme="dark"] body[data-product-page] .detail-related-grid .product-card {
    border-color: rgba(255,255,255,.14) !important;
    background: linear-gradient(180deg, rgba(24,41,48,.98), rgba(18,33,39,.98)) !important;
    color: #eef4f5 !important;
}

html[data-theme="dark"] body[data-product-page] .detail-related-card .pc-title,
html[data-theme="dark"] body[data-product-page] .detail-related-card .pc-price-new,
html[data-theme="dark"] body[data-product-page] .detail-related-grid .pc-title,
html[data-theme="dark"] body[data-product-page] .detail-related-grid .pc-price-new {
    color: #f8fbfb !important;
}

html[data-theme="dark"] body[data-product-page] .detail-related-card .pc-category,
html[data-theme="dark"] body[data-product-page] .detail-related-grid .pc-category,
html[data-theme="dark"] body[data-product-page] .detail-related-card .pc-price-old,
html[data-theme="dark"] body[data-product-page] .detail-related-grid .pc-price-old {
    color: rgba(238,244,245,.58) !important;
}

html[data-theme="dark"] body[data-product-page] .reviews-panel textarea {
    border-color: rgba(255,255,255,.14) !important;
    background: rgba(255,255,255,.08) !important;
    color: #f8fbfb !important;
}

/* v22: dark delivery contrast and full-card product navigation affordance */
.product-card {
    cursor: pointer;
}

.product-card a,
.product-card button {
    cursor: pointer;
}

html[data-theme="dark"] body[data-product-page] .delivery-line,
html[data-theme="dark"] body[data-product-page] .delivery-line span {
    color: rgba(238,244,245,.78) !important;
}

html[data-theme="dark"] body[data-product-page] .delivery-line strong {
    color: #f8fbfb !important;
}

html[data-theme="dark"] body[data-product-page] .delivery-line svg {
    color: #fdb912 !important;
    stroke: currentColor !important;
}

html[data-theme="dark"] body[data-product-page] .delivery-hint {
    background: rgba(255,255,255,.075) !important;
    color: rgba(238,244,245,.74) !important;
}

/* v23: keep hero menu shell, add legacy dropdown content */
.stage-menu-wrapper {
    width: min(1010px, calc(100% - 160px)) !important;
    overflow: visible !important;
    z-index: 30 !important;
}

.stage-card {
    overflow: visible !important;
}

.stage-menu {
    align-items: center !important;
    justify-content: center !important;
    gap: clamp(14px, 1.8vw, 28px) !important;
}

.stage-menu-item {
    position: relative;
    display: flex;
    align-items: center;
    height: 74px;
}

.stage-menu > .stage-menu-item > a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    height: 48px;
    padding: 0 clamp(12px, 1.05vw, 20px);
    border-radius: 18px;
    color: #fff;
    font-family: var(--font-ui) !important;
    font-size: clamp(11px, .86vw, 13px);
    font-weight: 800;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color .18s ease, color .18s ease, box-shadow .18s ease;
}

.stage-menu > .stage-menu-item:hover > a,
.stage-menu > .stage-menu-item:focus-within > a,
.stage-menu > .stage-menu-item.is-open > a {
    background: #fdb912;
    color: #071417;
    box-shadow: 0 14px 30px rgba(253, 185, 18, .18);
}

.stage-menu > .stage-menu-item > a svg {
    width: 14px;
    height: 14px;
    transition: transform .18s ease;
}

.stage-menu-item:hover > a svg,
.stage-menu-item:focus-within > a svg,
.stage-menu-item.is-open > a svg {
    transform: rotate(180deg);
}

.stage-submenu {
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    min-width: 245px;
    padding: 10px;
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 18px;
    background:
        radial-gradient(circle at 18% 0%, rgba(253,185,18,.12), transparent 40%),
        linear-gradient(145deg, rgba(21,36,43,.98), rgba(8,22,28,.98));
    box-shadow: 0 26px 70px rgba(0,0,0,.26);
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, 8px);
    pointer-events: none;
    transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
    isolation: isolate;
}

.stage-submenu::before {
    content: "";
    position: absolute;
    top: -12px;
    left: 0;
    right: 0;
    height: 12px;
}

.stage-menu-item:hover .stage-submenu,
.stage-menu-item:focus-within .stage-submenu,
.stage-menu-item.is-open .stage-submenu {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
    pointer-events: auto;
}

.stage-submenu-right {
    left: auto;
    right: 0;
    transform: translate(0, 8px);
}

.stage-menu-item:hover .stage-submenu-right,
.stage-menu-item:focus-within .stage-submenu-right,
.stage-menu-item.is-open .stage-submenu-right {
    transform: translate(0, 0);
}

.stage-submenu-wide {
    left: 0;
    display: grid;
    grid-template-columns: 210px minmax(360px, 1fr);
    width: min(720px, calc(100vw - 56px));
    min-width: 0;
    max-width: calc(100vw - 56px);
    transform: translate(0, 8px);
}

.stage-menu-item:hover .stage-submenu-wide,
.stage-menu-item:focus-within .stage-submenu-wide,
.stage-menu-item.is-open .stage-submenu-wide {
    transform: translate(0, 0);
}

.stage-submenu a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 42px;
    padding: 10px 13px;
    border-radius: 12px;
    color: rgba(248,251,251,.86) !important;
    font-family: var(--font-ui) !important;
    font-size: 13px !important;
    font-weight: 750 !important;
    line-height: 1.2;
    text-decoration: none;
    text-shadow: none !important;
    white-space: normal !important;
    transition: background .16s ease, color .16s ease, transform .16s ease, box-shadow .16s ease;
}

.stage-submenu a:hover,
.stage-submenu a:focus-visible {
    color: #07151c !important;
    background: #fdb912;
    box-shadow: 0 10px 24px rgba(253,185,18,.18);
    transform: translateX(2px);
}

.stage-submenu-primary {
    display: grid;
    align-content: start;
    gap: 4px;
    padding-right: 8px;
    border-right: 1px solid rgba(255,255,255,.10);
}

.stage-submenu-tab {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 46px;
    padding: 10px 14px;
    border: 0;
    border-radius: 13px;
    background: transparent;
    color: rgba(248,251,251,.88);
    font: 800 13px/1.15 var(--font-ui);
    text-align: left;
    cursor: pointer;
    transition: background .16s ease, color .16s ease, transform .16s ease;
}

.stage-submenu-tab span {
    font-size: 20px;
    line-height: 1;
}

.stage-submenu-tab:hover,
.stage-submenu-tab:focus-visible,
.stage-submenu-tab.is-active {
    color: #07151c !important;
    background: #fdb912;
    transform: translateX(2px);
}

.stage-submenu-panels {
    min-width: 0;
    padding-left: 8px;
}

.stage-submenu-list {
    display: none;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px 6px;
}

.stage-submenu-list.is-active {
    display: grid;
}

.stage-submenu-list a {
    min-width: 0;
    overflow-wrap: anywhere;
}

html[data-theme="dark"] .stage-submenu {
    border-color: rgba(7,21,28,.10);
    background:
        radial-gradient(circle at 18% 0%, rgba(253,185,18,.18), transparent 38%),
        linear-gradient(145deg, rgba(255,255,255,.98), rgba(246,240,227,.98));
    box-shadow: 0 28px 72px rgba(0,0,0,.34);
}

html[data-theme="dark"] .stage-submenu-primary {
    border-right-color: rgba(7,21,28,.10);
}

html[data-theme="dark"] .stage-submenu a,
html[data-theme="dark"] .stage-submenu-tab {
    color: rgba(7,21,28,.82) !important;
}

html[data-theme="dark"] .stage-submenu a:hover,
html[data-theme="dark"] .stage-submenu a:focus-visible {
    color: #fff !important;
    background: #07151c;
    box-shadow: 0 12px 26px rgba(7,21,28,.18);
}

html[data-theme="dark"] .stage-submenu-tab:hover,
html[data-theme="dark"] .stage-submenu-tab:focus-visible,
html[data-theme="dark"] .stage-submenu-tab.is-active {
    color: #07151c !important;
    background: #fdb912;
}

html[data-theme="dark"] .stage-menu > .stage-menu-item:hover > a,
html[data-theme="dark"] .stage-menu > .stage-menu-item:focus-within > a,
html[data-theme="dark"] .stage-menu > .stage-menu-item.is-open > a {
    background: #071417;
    color: #fff;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.12), 0 14px 30px rgba(0,0,0,.24);
}

/* v24: homepage collection cards + refreshed footer */
.bestsellers-section {
    padding-top: clamp(18px, 3vw, 44px);
}

.home-categories {
    padding: clamp(18px, 4vw, 52px) 0 clamp(64px, 8vw, 96px);
}

.home-section-head {
    max-width: 760px;
    margin: 0 auto 28px;
    text-align: center;
}

.home-section-head > span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 30px;
    padding: 0 14px;
    border: 1px solid rgba(253,185,18,.34);
    border-radius: 999px;
    color: #9a6d00;
    background: rgba(253,185,18,.08);
    font-family: var(--font-ui) !important;
    font-size: 12px;
    font-weight: 850;
    letter-spacing: .12em;
}

.home-section-head > span::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #fdb912;
}

.home-section-head h2 {
    margin: 16px 0 10px;
    color: var(--text-main);
    font-family: var(--font-display) !important;
    font-size: clamp(34px, 4.2vw, 62px);
    font-weight: 700;
    line-height: .98;
}

.home-section-head p {
    margin: 0 auto;
    max-width: 560px;
    color: var(--text-muted);
    font-size: 16px;
    line-height: 1.7;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.category-tile {
    position: relative;
    min-height: 286px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    overflow: hidden;
    padding: 22px;
    border: 1px solid rgba(7,21,28,.10);
    border-radius: 22px;
    color: #fff;
    text-decoration: none;
    background: #07151c;
    box-shadow: 0 18px 42px rgba(7,21,28,.10);
    isolation: isolate;
}

.category-tile-large,
.category-tile-wide {
    grid-column: span 2;
}

.category-tile-large {
    min-height: 364px;
}

.category-tile img {
    position: absolute;
    inset: 0;
    z-index: -2;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.01);
    transition: transform .45s ease, filter .45s ease;
}

.category-tile::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(180deg, rgba(7,21,28,.08) 0%, rgba(7,21,28,.40) 48%, rgba(7,21,28,.86) 100%),
        radial-gradient(circle at 14% 8%, rgba(253,185,18,.16), transparent 34%);
}

.category-tile span {
    width: fit-content;
    max-width: 100%;
    padding: 7px 10px;
    border-radius: 999px;
    color: #07151c;
    background: #fdb912;
    font-family: var(--font-ui) !important;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.category-tile h3 {
    margin: 12px 0 8px;
    color: #fff;
    font-family: var(--font-display) !important;
    font-size: clamp(28px, 2.35vw, 42px);
    font-weight: 700;
    line-height: 1.02;
    text-shadow: 0 2px 14px rgba(0,0,0,.24);
}

.category-tile p {
    max-width: 420px;
    margin: 0 0 16px;
    color: rgba(255,255,255,.78);
    font-size: 14px;
    line-height: 1.55;
}

.category-tile b {
    width: fit-content;
    padding: 10px 14px;
    border-radius: 999px;
    color: #fff;
    background: rgba(255,255,255,.14);
    font-family: var(--font-ui) !important;
    font-size: 13px;
    font-weight: 850;
    transition: color .2s ease, background .2s ease, transform .2s ease;
}

.category-tile:hover img {
    transform: scale(1.06);
    filter: saturate(1.05);
}

.category-tile:hover b {
    color: #07151c;
    background: #fdb912;
    transform: translateY(-1px);
}

.footer {
    padding: 44px 0 22px;
}

.footer-marketplaces {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 0 34px;
    padding: 18px;
    border: 1px solid rgba(7,21,28,.08);
    border-radius: 22px;
    background: rgba(255,255,255,.76);
}

.footer-marketplaces span {
    margin-right: 8px;
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 800;
}

.footer-marketplaces b,
.footer-trust-row span {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 0 12px;
    border-radius: 999px;
    color: #07151c;
    background: rgba(253,185,18,.12);
    font-size: 13px;
    font-weight: 850;
}

.footer-brand-col .footer-text {
    max-width: 360px;
}

.footer-trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
}

.footer-grid {
    align-items: start;
}

.footer h4 {
    letter-spacing: .02em;
}

.footer-contact li {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.55;
}

html[data-theme="dark"] .home-categories {
    background: #020b0e;
}

html[data-theme="dark"] .home-section-head h2,
html[data-theme="dark"] .category-tile h3 {
    color: #f8fbfb;
}

html[data-theme="dark"] .home-section-head p {
    color: rgba(248,251,251,.62);
}

html[data-theme="dark"] .category-tile {
    border-color: rgba(255,255,255,.12);
    box-shadow: 0 22px 48px rgba(0,0,0,.30);
}

html[data-theme="dark"] .footer-marketplaces {
    border-color: rgba(255,255,255,.10);
    background: rgba(255,255,255,.04);
}

html[data-theme="dark"] .footer-marketplaces span,
html[data-theme="dark"] .footer-contact li {
    color: rgba(248,251,251,.62);
}

html[data-theme="dark"] .footer-marketplaces b,
html[data-theme="dark"] .footer-trust-row span {
    color: #07151c;
    background: #fdb912;
}

@media (max-width: 1024px) {
    .category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}

@media (max-width: 680px) {
    .home-section-head {
        text-align: left;
        margin-bottom: 18px;
    }

    .category-grid {
        grid-template-columns: 1fr;
    }

    .category-tile,
    .category-tile-large,
    .category-tile-wide {
        grid-column: auto;
        min-height: 260px;
        border-radius: 18px;
    }

    .footer-marketplaces {
        justify-content: flex-start;
        padding: 14px;
    }

    .footer-marketplaces span {
        flex-basis: 100%;
        margin-right: 0;
    }
}

@media (max-width: 1120px) {
    .stage-menu-wrapper {
        width: min(920px, calc(100% - 80px)) !important;
        padding-inline: 34px !important;
    }

    .stage-menu {
        gap: 12px !important;
    }
}

@media (max-width: 900px) {
    .stage-submenu,
    .stage-submenu-wide {
        display: none !important;
    }
}

/* Category listing prototype */
body[data-category-page] {
    background:
        radial-gradient(circle at 16% 7%, rgba(253,185,18,.11), transparent 26%),
        linear-gradient(180deg, #f7f8fa 0%, #fff 46%, #f7f8fa 100%);
}

body[data-category-page] .category-page {
    padding-bottom: 76px;
}

body[data-category-page] .category-stage {
    padding: 0 18px 28px;
}

body[data-category-page] .category-stage-card {
    position: relative;
    max-width: 1040px;
    min-height: 360px;
    margin: 0 auto;
    overflow: visible;
    display: grid;
    grid-template-columns: minmax(0, .96fr) minmax(300px, .58fr);
    gap: 28px;
    align-items: center;
    border-radius: 44px;
    background:
        radial-gradient(circle at 82% 24%, rgba(253,185,18,.24), transparent 34%),
        linear-gradient(112deg, #07151c 0%, #12252b 57%, #f5eddd 57.2%, #fff8eb 100%);
    box-shadow: 0 22px 54px rgba(7,21,28,.12);
}

body[data-category-page] .category-stage-card .stage-menu-wrapper {
    grid-column: 1 / -1;
}

body[data-category-page] .category-hero-copy {
    padding: 0 0 38px 48px;
    color: #fff;
}

body[data-category-page] .category-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 16px;
    color: rgba(255,255,255,.68);
    font-size: 13px;
}

body[data-category-page] .category-breadcrumb a {
    color: rgba(255,255,255,.78);
}

body[data-category-page] .category-breadcrumb strong {
    color: #fdb912;
}

body[data-category-page] .category-hero-copy .stage-eyebrow {
    color: #fdb912;
    background: rgba(255,255,255,.07);
    border-color: rgba(255,255,255,.14);
    margin-bottom: 0;
}

body[data-category-page] .category-hero-copy h1 {
    max-width: 620px;
    margin: 22px 0 12px;
    color: #fff;
    font-family: var(--font-display);
    font-size: clamp(34px, 3.25vw, 52px);
    line-height: 1.02;
    letter-spacing: 0;
}

body[data-category-page] .category-hero-copy p {
    max-width: 500px;
    color: rgba(255,255,255,.74);
    font-size: 15px;
    line-height: 1.58;
}

body[data-category-page] .category-hero-art {
    position: relative;
    align-self: stretch;
    min-height: 235px;
    margin: 0 34px 34px 0;
    display: grid;
    place-items: center;
}

body[data-category-page] .category-hero-art img {
    width: min(300px, 100%);
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 20px;
    box-shadow:
        0 22px 46px rgba(7,21,28,.16),
        inset 0 0 0 1px rgba(255,255,255,.82);
}

body[data-category-page] .category-hero-art span {
    position: absolute;
    left: 50%;
    bottom: 0;
    width: min(286px, calc(100% - 20px));
    transform: translateX(-50%);
    padding: 10px 14px;
    border-radius: 12px;
    background: rgba(255,255,255,.92);
    color: #07151c;
    font-size: 11px;
    font-weight: 800;
    text-align: center;
    box-shadow: 0 16px 34px rgba(7,21,28,.12);
}

body[data-category-page] .category-tools {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-top: 0;
    margin-bottom: 24px;
    padding-top: 0;
}

body[data-category-page] .category-family {
    margin-top: 10px;
    margin-bottom: 22px;
}

body[data-category-page] .category-family-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 10px;
}

body[data-category-page] .category-family-head span {
    display: inline-flex;
    width: max-content;
    align-items: center;
    gap: 8px;
    color: #b68100;
    font: 800 11px/1 var(--font-ui);
    letter-spacing: .06em;
}

body[data-category-page] .category-family-head span::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #fdb912;
}

body[data-category-page] .category-family-head h2 {
    display: none;
}

body[data-category-page] .category-family-head p {
    display: block;
    max-width: 520px;
    margin: 0;
    color: rgba(7,21,28,.56);
    font: 700 12px/1.35 var(--font-ui);
    text-align: right;
}

body[data-category-page] .category-subgrid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    align-items: stretch;
    gap: 9px;
    max-width: 1180px;
    margin-inline: auto;
    overflow: visible;
    padding: 0;
}

body[data-category-page] .subcategory-card {
    position: relative;
    min-height: 96px;
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) auto;
    grid-template-areas:
        "image count count"
        "image title title"
        "image desc arrow";
    align-content: center;
    align-items: center;
    gap: 4px 8px;
    padding: 10px;
    border: 1px solid rgba(7,21,28,.10);
    border-radius: 16px;
    background:
        radial-gradient(circle at 88% 12%, rgba(253,185,18,.14), transparent 30%),
        rgba(255,255,255,.84);
    color: #07151c;
    box-shadow: 0 16px 40px rgba(7,21,28,.06);
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease, background .18s ease;
    overflow: hidden;
}

body[data-category-page] .category-subgrid[data-card-count="5"],
body[data-category-page] .category-subgrid[data-card-count="6"] {
    max-width: 1180px;
}

body[data-category-page] .category-subgrid[data-card-count="6"] {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: 840px;
}

body[data-category-page] .category-subgrid[data-card-count="7"],
body[data-category-page] .category-subgrid[data-card-count="8"] {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    max-width: 980px;
}

body[data-category-page] .category-subgrid[data-card-count="9"],
body[data-category-page] .category-subgrid[data-card-count="10"] {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    max-width: 1180px;
}

body[data-category-page] .subcategory-card:hover,
body[data-category-page] .subcategory-card.is-active {
    transform: translateY(-2px);
    border-color: rgba(253,185,18,.55);
    background:
        radial-gradient(circle at 92% 12%, rgba(253,185,18,.30), transparent 36%),
        linear-gradient(135deg, #07151c 0%, #10252c 100%);
    color: #fff;
    box-shadow: 0 22px 48px rgba(7,21,28,.14);
}

body[data-category-page] .subcategory-card img {
    grid-area: image;
    width: 42px;
    height: 66px;
    border-radius: 11px;
    object-fit: cover;
    background: #f4efe4;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.40);
}

body[data-category-page] .subcategory-card.has-no-image {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
        "title arrow"
        "desc arrow";
    gap: 6px 10px;
    padding: 14px 16px;
}

body[data-category-page] .subcategory-card.has-no-image strong {
    min-height: 0;
}

body[data-category-page] .subcategory-card.has-no-image small {
    -webkit-line-clamp: 2;
}

body[data-category-page] .subcategory-card span {
    grid-area: count;
    justify-self: end;
    align-self: start;
    width: auto;
    padding: 5px 7px;
    border-radius: 999px;
    background: rgba(253,185,18,.15);
    color: #9b7100;
    font: 800 9px/1 var(--font-ui);
}

body[data-category-page] .subcategory-card:hover span,
body[data-category-page] .subcategory-card.is-active span {
    background: rgba(253,185,18,.18);
    color: #fdb912;
}

body[data-category-page] .subcategory-card strong {
    grid-area: title;
    align-self: center;
    color: inherit;
    font: 800 12px/1.18 var(--font-ui);
    display: -webkit-box;
    min-height: 29px;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow-wrap: anywhere;
    word-break: normal;
}

body[data-category-page] .subcategory-card small {
    grid-area: desc;
    display: block;
    color: rgba(7,21,28,.62);
    font: 600 9.5px/1.25 var(--font-ui);
    max-width: none;
    min-height: 0;
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

body[data-category-page] .subcategory-card:hover small,
body[data-category-page] .subcategory-card.is-active small {
    color: rgba(255,255,255,.68);
}

body[data-category-page] .subcategory-card i {
    grid-area: arrow;
    justify-self: end;
    align-self: end;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(7,21,28,.06);
    position: relative;
}

body[data-category-page] .subcategory-card i::before,
body[data-category-page] .subcategory-card i::after {
    content: "";
    position: absolute;
    background: currentColor;
}

body[data-category-page] .subcategory-card i::before {
    width: 8px;
    height: 2px;
    top: 10px;
    left: 7px;
}

body[data-category-page] .subcategory-card i::after {
    width: 6px;
    height: 6px;
    top: 8px;
    right: 6px;
    border-top: 2px solid currentColor;
    border-right: 2px solid currentColor;
    background: transparent;
    transform: rotate(45deg);
}

body[data-category-page] .category-chip-row {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    overflow-x: auto;
    padding: 4px 0;
    scrollbar-width: none;
}

body[data-category-page] .category-chip-row::-webkit-scrollbar {
    display: none;
}

body[data-category-page] .category-chip {
    flex: 0 0 auto;
    min-height: 38px;
    padding: 0 14px;
    border: 1px solid rgba(7,21,28,.10);
    border-radius: 999px;
    background: rgba(255,255,255,.92);
    color: #20313a;
    font: 800 12px/1 var(--font-ui);
    cursor: pointer;
    box-shadow: 0 8px 18px rgba(7,21,28,.045);
    transition: transform .18s ease, background .18s ease, color .18s ease, box-shadow .18s ease;
}

body[data-category-page] .category-chip:hover,
body[data-category-page] .category-chip.is-active {
    transform: translateY(-1px);
    background: #07151c;
    color: #fff;
    box-shadow: 0 14px 28px rgba(7,21,28,.14);
}

body[data-category-page] .category-shop {
    display: grid;
    grid-template-columns: 238px minmax(0, 1fr);
    gap: 22px;
    align-items: start;
}

body[data-category-page] .category-filter-panel {
    position: sticky;
    top: 18px;
    display: grid;
    gap: 15px;
    padding: 18px 18px 20px;
    border: 1px solid rgba(7,21,28,.08);
    border-radius: 20px;
    background:
        linear-gradient(145deg, rgba(255,255,255,.96), rgba(255,250,238,.86)),
        radial-gradient(circle at 98% 0%, rgba(253,185,18,.16), transparent 32%);
    box-shadow: 0 18px 44px rgba(7,21,28,.055);
}

body[data-category-page] .category-filter-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

body[data-category-page] .category-filter-head strong {
    color: #07151c;
    font: 900 17px/1 var(--font-ui);
}

body[data-category-page] .category-filter-head button {
    border: 0;
    background: linear-gradient(135deg, rgba(253,185,18,.18), rgba(253,185,18,.08));
    color: #9b7100;
    border-radius: 999px;
    padding: 8px 12px;
    font: 900 10px/1 var(--font-ui);
    cursor: pointer;
}

body[data-category-page] .category-filter-panel-toggle {
    display: none;
}

body[data-category-page] .category-filter-group {
    display: grid;
    gap: 9px;
}

body[data-category-page] .category-filter-group + .category-filter-group {
    padding-top: 14px;
    border-top: 1px solid rgba(7,21,28,.08);
}

body[data-category-page] .category-filter-group h3 {
    margin: 0 0 4px;
    color: rgba(7,21,28,.48);
    font: 900 10px/1 var(--font-ui);
    letter-spacing: .04em;
    text-transform: uppercase;
}

body[data-category-page] .category-filter-group label {
    display: flex;
    align-items: center;
    gap: 9px;
    color: #24343c;
    font: 800 12px/1.22 var(--font-ui);
    cursor: pointer;
}

body[data-category-page] .category-filter-tree {
    display: grid;
    gap: 6px;
}

body[data-category-page] .category-filter-tree-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 20px;
    align-items: center;
    gap: 6px;
}

body[data-category-page] .category-filter-check {
    min-width: 0;
}

body[data-category-page] .category-filter-check span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

body[data-category-page] .category-filter-toggle {
    width: 20px;
    height: 20px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #07151c;
    font-size: 0;
    cursor: pointer;
    opacity: .74;
    transition: opacity .18s ease, color .18s ease;
}

body[data-category-page] .category-filter-toggle::before {
    content: "";
    width: 8px;
    height: 8px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    background: transparent;
    transform: rotate(45deg) translate(-1px, -1px);
    transition: transform .18s ease;
}

body[data-category-page] .category-filter-toggle[aria-expanded="true"] {
    color: #9b7100;
    opacity: 1;
}

body[data-category-page] .category-filter-toggle[aria-expanded="true"]::before {
    transform: rotate(225deg) translate(-1px, -1px);
}

body[data-category-page] .category-filter-children {
    display: grid;
    gap: 6px;
    margin-left: 24px;
    padding: 2px 0 4px 12px;
    border-left: 1px solid rgba(182,129,0,.18);
}

body[data-category-page] .category-filter-children[hidden] {
    display: none;
}

body[data-category-page] .category-filter-children label {
    color: rgba(36,52,60,.82);
    font-size: 10.5px;
    font-weight: 800;
}

body[data-category-page] .category-filter-children input {
    width: 14px;
    height: 14px;
    flex-basis: 14px;
    border-radius: 4px;
}

body[data-category-page] .category-filter-group input {
    appearance: none;
    width: 15px;
    height: 15px;
    flex: 0 0 15px;
    border: 1px solid rgba(7,21,28,.16);
    border-radius: 4px;
    background: #fff;
    box-shadow: inset 0 0 0 3px #fff, 0 3px 8px rgba(7,21,28,.035);
}

body[data-category-page] .category-filter-group input:checked {
    border-color: #fdb912;
    background:
        linear-gradient(135deg, #fdb912, #d69500);
}

body[data-category-page] .category-price-range {
    display: grid;
    gap: 14px;
}

body[data-category-page] .category-price-fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

body[data-category-page] .category-price-fields label {
    display: grid;
    gap: 5px;
}

body[data-category-page] .category-price-fields span {
    color: rgba(7,21,28,.42);
    font: 900 9px/1 var(--font-ui);
    letter-spacing: .04em;
    text-transform: uppercase;
}

body[data-category-page] .category-price-fields input {
    appearance: textfield;
    -moz-appearance: textfield;
    flex: initial;
    width: 100%;
    height: 42px;
    padding: 0 10px;
    border: 1px solid rgba(7,21,28,.13);
    border-radius: 12px;
    background: rgba(255,255,255,.82);
    color: #07151c;
    font: 900 15px/1 var(--font-ui);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.7);
}

body[data-category-page] .category-price-fields input::-webkit-outer-spin-button,
body[data-category-page] .category-price-fields input::-webkit-inner-spin-button {
    appearance: none;
    -webkit-appearance: none;
    margin: 0;
}

body[data-category-page] .category-price-slider {
    position: relative;
    height: 34px;
}

body[data-category-page] .category-price-track {
    --price-left: 0%;
    --price-right: 0%;
    position: absolute;
    left: 7px;
    right: 7px;
    top: 15px;
    height: 4px;
    border-radius: 999px;
    background:
        linear-gradient(90deg,
            rgba(7,21,28,.10) 0,
            rgba(7,21,28,.10) var(--price-left),
            #f0ae10 var(--price-left),
            #f0ae10 calc(100% - var(--price-right)),
            rgba(7,21,28,.10) calc(100% - var(--price-right)),
            rgba(7,21,28,.10) 100%);
}

body[data-category-page] .category-price-slider input[type="range"] {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 34px;
    margin: 0;
    appearance: none;
    flex: initial;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
    pointer-events: none;
}

body[data-category-page] .category-price-slider input[type="range"]::-webkit-slider-runnable-track {
    height: 4px;
    background: transparent;
}

body[data-category-page] .category-price-slider input[type="range"]::-webkit-slider-thumb {
    appearance: none;
    width: 22px;
    height: 22px;
    margin-top: -9px;
    border: 3px solid #fff;
    border-radius: 50%;
    background: #07151c;
    box-shadow: 0 6px 14px rgba(7,21,28,.20);
    pointer-events: auto;
    cursor: grab;
}

body[data-category-page] .category-price-slider input[type="range"]::-moz-range-track {
    height: 4px;
    background: transparent;
}

body[data-category-page] .category-price-slider input[type="range"]::-moz-range-thumb {
    width: 18px;
    height: 18px;
    border: 3px solid #fff;
    border-radius: 50%;
    background: #07151c;
    box-shadow: 0 6px 14px rgba(7,21,28,.20);
    pointer-events: auto;
    cursor: grab;
}

body[data-category-page] .category-results {
    min-width: 0;
}

body[data-category-page] .category-sort-row {
    display: flex;
    align-items: center;
    gap: 14px;
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 800;
    white-space: nowrap;
}

body[data-category-page] .category-sort-row > strong {
    color: #07151c;
    font: 800 16px/1.1 var(--font-ui);
    margin-right: 4px;
}

body[data-category-page] .category-sort-row [data-filter-summary] {
    color: #b68100;
    font: 900 11px/1 var(--font-ui);
}

body[data-category-page] .category-sort-row label {
    display: inline-flex;
    align-items: center;
    gap: 9px;
}

body[data-category-page] .category-sort-row select {
    height: 38px;
    min-width: 160px;
    padding: 0 36px 0 14px;
    border: 1px solid rgba(7,21,28,.10);
    border-radius: 11px;
    background: #fff;
    color: #07151c;
    font: 800 13px/1 var(--font-ui);
}

body[data-category-page] .category-grid-products {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
}

body[data-category-page] .category-product-card {
    cursor: pointer;
}

body[data-category-page] .category-product-card .pc-stars span {
    color: #adb5bd;
    font-size: 11px;
}

body[data-category-page] .category-empty {
    margin: 32px auto 0;
    max-width: 520px;
    padding: 28px;
    border-radius: 18px;
    background: #fff;
    text-align: center;
    box-shadow: 0 16px 38px rgba(7,21,28,.08);
}

body[data-category-page] .category-empty strong,
body[data-category-page] .category-empty span {
    display: block;
}

body[data-category-page] .category-empty strong {
    color: #07151c;
    font-size: 18px;
    margin-bottom: 6px;
}

body[data-category-page] .category-empty span {
    color: var(--text-muted);
    font-size: 14px;
}

html[data-theme="dark"] body[data-category-page] {
    background:
        radial-gradient(circle at 18% 5%, rgba(253,185,18,.13), transparent 28%),
        linear-gradient(180deg, #061216 0%, #0d1a20 52%, #061216 100%);
}

html[data-theme="dark"] body[data-category-page] .category-stage-card {
    background:
        radial-gradient(circle at 82% 24%, rgba(253,185,18,.25), transparent 34%),
        linear-gradient(115deg, #07151c 0%, #101d22 58%, #18292f 58.2%, #111d23 100%);
    box-shadow: 0 28px 70px rgba(0,0,0,.34);
}

html[data-theme="dark"] body[data-category-page] .category-hero-art span,
html[data-theme="dark"] body[data-category-page] .category-chip,
html[data-theme="dark"] body[data-category-page] .category-sort-row select,
html[data-theme="dark"] body[data-category-page] .category-empty {
    background: rgba(17,29,35,.95);
    color: #f7f2e7;
    border-color: rgba(255,255,255,.10);
}

html[data-theme="dark"] body[data-category-page] .category-family-head h2,
html[data-theme="dark"] body[data-category-page] .category-sort-row > strong {
    color: #fff;
}

html[data-theme="dark"] body[data-category-page] .category-family-head p {
    color: rgba(255,255,255,.62);
}

html[data-theme="dark"] body[data-category-page] .category-family {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

html[data-theme="dark"] body[data-category-page] .subcategory-card {
    border-color: rgba(255,255,255,.10);
    background:
        radial-gradient(circle at 86% 12%, rgba(253,185,18,.13), transparent 34%),
        rgba(255,255,255,.045);
    color: rgba(255,255,255,.84);
    box-shadow: 0 18px 42px rgba(0,0,0,.18);
}

html[data-theme="dark"] body[data-category-page] .subcategory-card small {
    color: rgba(255,255,255,.58);
}

html[data-theme="dark"] body[data-category-page] .subcategory-card:hover,
html[data-theme="dark"] body[data-category-page] .subcategory-card.is-active {
    background:
        radial-gradient(circle at 88% 10%, rgba(255,255,255,.30), transparent 34%),
        #fdb912;
    color: #07151c;
    border-color: #fdb912;
}

html[data-theme="dark"] body[data-category-page] .subcategory-card:hover span,
html[data-theme="dark"] body[data-category-page] .subcategory-card.is-active span {
    background: rgba(7,21,28,.10);
    color: #07151c;
}

html[data-theme="dark"] body[data-category-page] .subcategory-card:hover small,
html[data-theme="dark"] body[data-category-page] .subcategory-card.is-active small {
    color: rgba(7,21,28,.68);
}

html[data-theme="dark"] body[data-category-page] .subcategory-card i {
    background: rgba(255,255,255,.08);
}

html[data-theme="dark"] body[data-category-page] .subcategory-card:hover i,
html[data-theme="dark"] body[data-category-page] .subcategory-card.is-active i {
    background: rgba(7,21,28,.10);
}

html[data-theme="dark"] body[data-category-page] .category-filter-panel {
    border-color: rgba(255,255,255,.10);
    background:
        linear-gradient(145deg, rgba(255,255,255,.055), rgba(253,185,18,.035)),
        radial-gradient(circle at 92% 8%, rgba(253,185,18,.12), transparent 32%);
    box-shadow: 0 18px 42px rgba(0,0,0,.18);
}

html[data-theme="dark"] body[data-category-page] .category-filter-head strong,
html[data-theme="dark"] body[data-category-page] .category-filter-group label {
    color: rgba(255,255,255,.88);
}

html[data-theme="dark"] body[data-category-page] .category-filter-toggle {
    background: transparent;
    color: rgba(255,255,255,.82);
}

html[data-theme="dark"] body[data-category-page] .category-filter-toggle[aria-expanded="true"] {
    color: #fdb912;
}

html[data-theme="dark"] body[data-category-page] .category-filter-children {
    border-left-color: rgba(255,255,255,.10);
}

html[data-theme="dark"] body[data-category-page] .category-filter-children label {
    color: rgba(255,255,255,.72);
}

html[data-theme="dark"] body[data-category-page] .category-filter-group + .category-filter-group {
    border-top-color: rgba(255,255,255,.08);
}

html[data-theme="dark"] body[data-category-page] .category-filter-group h3 {
    color: rgba(255,255,255,.50);
}

html[data-theme="dark"] body[data-category-page] .category-filter-group input {
    background: rgba(255,255,255,.08);
    border-color: rgba(255,255,255,.18);
    box-shadow: inset 0 0 0 3px #07151c;
}

html[data-theme="dark"] body[data-category-page] .category-price-fields span {
    color: rgba(255,255,255,.48);
}

html[data-theme="dark"] body[data-category-page] .category-price-fields input {
    border-color: rgba(255,255,255,.12);
    background: rgba(255,255,255,.06);
    color: #fff;
}

html[data-theme="dark"] body[data-category-page] .category-price-track {
    background:
        linear-gradient(90deg,
            rgba(255,255,255,.10) 0,
            rgba(255,255,255,.10) var(--price-left),
            #fdb912 var(--price-left),
            #fdb912 calc(100% - var(--price-right)),
            rgba(255,255,255,.10) calc(100% - var(--price-right)),
            rgba(255,255,255,.10) 100%);
}

html[data-theme="dark"] body[data-category-page] .category-price-slider input[type="range"]::-webkit-slider-thumb {
    background: #fdb912;
    border-color: #07151c;
}

html[data-theme="dark"] body[data-category-page] .category-price-slider input[type="range"]::-moz-range-thumb {
    background: #fdb912;
    border-color: #07151c;
}

html[data-theme="dark"] body[data-category-page] .category-chip:hover,
html[data-theme="dark"] body[data-category-page] .category-chip.is-active {
    background: #fdb912;
    color: #07151c;
}

html[data-theme="dark"] body[data-category-page] .category-empty strong {
    color: #fff;
}

html[data-theme="dark"] body[data-category-page] .category-empty span {
    color: rgba(255,255,255,.64);
}

@media (max-width: 1120px) {
    body[data-category-page] .category-stage-card {
        grid-template-columns: 1fr;
        gap: 8px;
        border-radius: 32px;
        background: linear-gradient(145deg, #07151c 0%, #13282f 100%);
    }

    body[data-category-page] .category-hero-copy {
        padding: 12px 38px 0;
        text-align: center;
    }

    body[data-category-page] .category-breadcrumb,
    body[data-category-page] .category-hero-copy .stage-eyebrow {
        justify-content: center;
    }

    body[data-category-page] .category-hero-copy p {
        margin-inline: auto;
    }

    body[data-category-page] .category-hero-art {
        margin: 0 28px 34px;
    }

    body[data-category-page] .category-grid-products {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

}

@media (max-width: 820px) {
    body[data-category-page] .category-stage {
        padding-inline: 12px;
    }

    body[data-category-page] .category-stage-card {
        border-radius: 24px;
        min-height: 0;
    }

    body[data-category-page] .category-hero-copy {
        padding: 24px 20px 0;
    }

    body[data-category-page] .category-hero-copy h1 {
        margin-top: 18px;
        font-size: clamp(30px, 10vw, 40px);
    }

    body[data-category-page] .category-hero-copy p {
        font-size: 14px;
    }

    body[data-category-page] .category-hero-art {
        min-height: 190px;
        margin: 0 18px 22px;
    }

    body[data-category-page] .category-hero-art img {
        width: min(220px, 78%);
        border-radius: 16px;
    }

    body[data-category-page] .category-tools {
        display: grid;
        gap: 12px;
        margin-bottom: 18px;
    }

    body[data-category-page] .category-shop {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    body[data-category-page] .category-filter-panel {
        position: static;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
        padding: 14px;
    }

    body[data-category-page] .category-filter-head {
        grid-column: 1 / -1;
    }

    body[data-category-page] .category-filter-panel-toggle {
        display: inline-flex;
    }

    body[data-category-page] .category-filter-panel:not(.is-open) {
        padding-bottom: 14px;
    }

    body[data-category-page] .category-filter-panel:not(.is-open) .category-filter-group {
        display: none;
    }

    body[data-category-page] .category-filter-group {
        gap: 8px;
    }

    body[data-category-page] .category-filter-group + .category-filter-group {
        padding-top: 0;
        border-top: 0;
    }

    body[data-category-page] .category-family-head {
        display: grid;
        gap: 6px;
    }

    body[data-category-page] .category-family-head p {
        text-align: left;
        font-size: 11.5px;
    }

    body[data-category-page] .category-subgrid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
        overflow: visible;
        margin-inline: 0;
        padding: 0;
    }

    body[data-category-page] .subcategory-card {
        min-height: 92px;
        grid-template-columns: 42px minmax(0, 1fr);
        gap: 6px 9px;
        grid-template-areas:
            "image count"
            "image title"
            "desc desc";
        padding: 9px;
        border-radius: 15px;
    }

    body[data-category-page] .subcategory-card img {
        width: 42px;
        height: 58px;
        border-radius: 11px;
    }

    body[data-category-page] .subcategory-card.has-no-image {
        min-height: 82px;
        grid-template-columns: minmax(0, 1fr);
        grid-template-areas:
            "title"
            "desc";
        padding: 12px 13px;
    }

    body[data-category-page] .subcategory-card strong {
        min-height: 28px;
        font-size: 11.5px;
        line-height: 1.18;
    }

    body[data-category-page] .subcategory-card small {
        font-size: 10px;
        -webkit-line-clamp: 2;
    }

    body[data-category-page] .subcategory-card i {
        display: none;
    }

    body[data-category-page] .category-chip-row {
        margin-inline: -20px;
        padding: 2px 20px 4px;
        gap: 8px;
    }

    body[data-category-page] .category-chip {
        min-height: 36px;
        padding-inline: 13px;
        font-size: 12px;
    }

    body[data-category-page] .category-sort-row {
        justify-content: space-between;
        gap: 10px;
        flex-wrap: wrap;
    }

    body[data-category-page] .category-sort-row > strong {
        width: 100%;
    }

    body[data-category-page] .category-sort-row label {
        flex: 1;
        justify-content: flex-end;
    }

    body[data-category-page] .category-grid-products {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    body[data-category-page] .category-sort-row select {
        min-width: 0;
        width: min(170px, 100%);
    }

    body[data-category-page] .category-grid-products {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }
}

@media (max-width: 560px) {
    body[data-category-page] .category-filter-panel,
    body[data-category-page] .category-grid-products {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 520px) {
    body[data-category-page] .category-grid-products {
        grid-template-columns: 1fr;
        max-width: 340px;
        margin-inline: auto;
    }
}

/* Category hero final: keep it in the same family as the homepage stage. */
body[data-category-page] .category-stage {
    padding: 0 18px 30px;
    background: transparent;
}

body[data-category-page] .category-stage-card {
    max-width: 1080px;
    min-height: 368px;
    grid-template-columns: .9fr 1fr;
    gap: 40px;
    align-items: center;
    border-radius: 82px;
    overflow: visible;
    background:
        radial-gradient(circle at 74% 28%, rgba(253,185,18,.20), transparent 38%),
        #f6f0e3;
    box-shadow: 0 0 0 1px #f6f0e3;
}

body[data-category-page] .category-stage-card .stage-menu-wrapper {
    width: min(760px, calc(100% - 220px)) !important;
    height: 74px;
    padding: 0 48px !important;
    color: #07151c;
}

body[data-category-page] .category-hero-copy {
    padding: 46px 0 56px 56px;
    color: #07151c;
}

body[data-category-page] .category-breadcrumb {
    margin-bottom: 18px;
    color: #5e6a70;
}

body[data-category-page] .category-breadcrumb a {
    color: #415057;
}

body[data-category-page] .category-breadcrumb strong {
    color: #b68100;
}

body[data-category-page] .category-hero-copy .stage-eyebrow {
    color: #b68100;
    background: rgba(255,255,255,.72);
    border-color: rgba(7,21,28,.12);
}

body[data-category-page] .category-hero-copy h1 {
    max-width: 520px;
    margin: 18px 0 12px;
    color: #020b10;
    font-size: clamp(32px, 3vw, 46px);
    line-height: 1.02;
}

body[data-category-page] .category-hero-copy p {
    max-width: 410px;
    color: #213039;
    font-size: 14px;
    line-height: 1.6;
}

body[data-category-page] .category-hero-art {
    align-self: center;
    min-height: auto;
    margin: 34px 56px 46px 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

body[data-category-page] .category-hero-art img {
    width: min(286px, 100%);
    aspect-ratio: 1.15 / 1;
    border-radius: 12px;
    box-shadow: none;
}

body[data-category-page] .category-hero-art span {
    bottom: -18px;
    width: min(270px, calc(100% - 18px));
    padding: 9px 12px;
    border-radius: 10px;
    background: rgba(255,255,255,.96);
    color: #07151c;
    font-size: 11px;
    box-shadow: 0 12px 26px rgba(7,21,28,.08);
}

body[data-category-page] .category-tools,
html[data-theme="dark"] body[data-category-page] .category-tools,
html[data-theme="dark"] body[data-category-page] .category-listing {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

body[data-category-page] .category-chip {
    box-shadow: none;
}

body[data-category-page] .category-chip:hover,
body[data-category-page] .category-chip.is-active {
    box-shadow: none;
}

html[data-theme="dark"] body[data-category-page] .category-stage-card {
    background:
        radial-gradient(circle at 74% 28%, rgba(253,185,18,.16), transparent 38%),
        #07151c;
    box-shadow: 0 0 0 1px #07151c;
}

html[data-theme="dark"] body[data-category-page] .category-stage-card .stage-menu-wrapper {
    color: #f5edde;
}

html[data-theme="dark"] body[data-category-page] .category-hero-copy,
html[data-theme="dark"] body[data-category-page] .category-hero-copy h1 {
    color: #fff;
}

html[data-theme="dark"] body[data-category-page] .category-breadcrumb,
html[data-theme="dark"] body[data-category-page] .category-breadcrumb a,
html[data-theme="dark"] body[data-category-page] .category-hero-copy p {
    color: rgba(255,255,255,.72);
}

html[data-theme="dark"] body[data-category-page] .category-breadcrumb strong {
    color: #fdb912;
}

@media (max-width: 1100px) {
    body[data-category-page] .category-stage-card {
        grid-template-columns: 1fr 1fr;
        max-width: var(--container);
        background:
            radial-gradient(circle at 74% 28%, rgba(253,185,18,.20), transparent 38%),
            #f6f0e3;
    }

    body[data-category-page] .category-stage-card .stage-menu-wrapper {
        width: min(620px, calc(100% - 64px)) !important;
    }

    body[data-category-page] .category-hero-copy {
        padding: 40px 0 48px 32px;
        text-align: left;
    }

    body[data-category-page] .category-breadcrumb,
    body[data-category-page] .category-hero-copy .stage-eyebrow {
        justify-content: flex-start;
    }

    body[data-category-page] .category-hero-copy p {
        margin-inline: 0;
    }

    body[data-category-page] .category-hero-art {
        margin: 28px 32px 42px 0;
    }
}

@media (max-width: 768px) {
    body[data-category-page] .category-stage {
        padding: 0 12px 24px;
    }

    body[data-category-page] .category-stage-card {
        grid-template-columns: 1fr;
        border-radius: 38px;
        background:
            radial-gradient(circle at 74% 28%, rgba(253,185,18,.20), transparent 38%),
            linear-gradient(135deg, #fff8ea 0%, #f6f0e3 100%);
        box-shadow: 0 0 0 1px #f2e6c9;
    }

    body[data-category-page] .category-hero-copy {
        padding: 22px 20px 0;
    }

    body[data-category-page] .category-hero-copy h1 {
        max-width: 100%;
        font-size: 27px;
        line-height: 1.08;
    }

    body[data-category-page] .category-hero-copy p {
        max-width: 315px;
        font-size: 13px;
        line-height: 1.55;
    }

    body[data-category-page] .category-hero-art {
        margin: 0 20px 34px;
    }

    body[data-category-page] .category-hero-art img {
        width: min(280px, 100%);
    }

    body[data-category-page] .category-chip-row {
        margin-inline: 0;
        padding: 2px 0 4px;
    }
}

/* Final category alignment: reuse homepage hero structure, avoid custom broken art. */
body[data-category-page] .category-stage-card {
    display: block;
}

body[data-category-page] .category-stage-card .stage-menu-wrapper {
    width: min(920px, calc(100% - 170px)) !important;
    padding-inline: clamp(64px, 7vw, 96px) !important;
}

body[data-category-page] .category-stage-content {
    display: grid;
    grid-template-columns: .9fr 1fr;
    gap: 40px;
    align-items: center;
    padding: 46px 56px 56px;
}

body[data-category-page] .category-hero-copy {
    padding: 0;
}

body[data-category-page] .category-hero-copy .stage-title {
    max-width: 420px;
    margin: 16px 0;
    color: #020b10;
    font-size: clamp(32px, 3vw, 46px);
    line-height: 1.02;
    font-weight: 700;
}

body[data-category-page] .category-hero-copy p {
    max-width: 410px;
    color: #213039;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 24px;
}

body[data-category-page] .category-hero-art {
    margin: 0;
    min-height: auto;
}

body[data-category-page] .category-stage-product {
    width: min(286px, 100%);
    padding: 12px;
    border-radius: 22px;
    background: rgba(255,255,255,.94);
    box-shadow: 0 16px 42px rgba(7,21,28,.10);
    clip-path: inset(0 round 22px);
    -webkit-clip-path: inset(0 round 22px);
}

body[data-category-page] .category-stage-product img {
    width: 100%;
    height: auto;
    aspect-ratio: 1.15 / 1;
    object-fit: cover;
    object-position: center;
    border-radius: 12px;
    box-shadow: none;
}

body[data-category-page] .category-stage-product .stage-product-info {
    position: static;
    padding: 16px 8px 6px;
    text-align: center;
}

body[data-category-page] .category-stage-product .stage-product-info strong,
body[data-category-page] .category-stage-product .stage-product-info span {
    position: static;
    left: auto;
    bottom: auto;
    width: auto;
    transform: none;
    box-shadow: none;
}

body[data-category-page] .category-stage-product .stage-product-info strong {
    display: block;
    color: #07151c;
    font-size: 16px;
    line-height: 1.2;
    font-weight: 700;
    margin-bottom: 6px;
}

body[data-category-page] .category-stage-product .stage-product-info span {
    display: inline-block;
    color: #7c858b;
    font-size: 12px;
    font-weight: 500;
    background: rgba(0,0,0,0.04);
    padding: 5px 12px;
    border-radius: 6px;
}

.stage-menu {
    gap: clamp(8px, 1.2vw, 18px) !important;
}

.stage-menu > .stage-menu-item > a {
    height: 42px;
    padding-inline: clamp(9px, .8vw, 14px);
    border-radius: 15px;
    font-size: clamp(11px, .78vw, 12.5px);
}

.stage-menu > .stage-menu-home > a.stage-home-link {
    width: 48px;
    height: 48px;
    padding: 0;
    justify-content: center;
    border-radius: 0;
    background: transparent;
    color: #fdb912;
    box-shadow: none;
}

.stage-home-link svg {
    display: block !important;
    width: 38px !important;
    height: 38px !important;
    opacity: 1 !important;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform .22s ease;
}

.stage-menu > .stage-menu-home:hover > a.stage-home-link,
.stage-menu > .stage-menu-home:focus-within > a.stage-home-link,
.stage-menu > .stage-menu-home.is-open > a.stage-home-link {
    color: #fdb912;
    background: transparent;
    box-shadow: none;
    transform: none;
}

.stage-menu-home:hover > a svg,
.stage-menu-home:focus-within > a svg,
.stage-menu-home.is-open > a svg {
    transform: rotate(180deg) !important;
}

html[data-theme="dark"] .stage-menu > .stage-menu-home > a.stage-home-link {
    background: transparent;
    box-shadow: none;
}

html[data-theme="dark"] .stage-menu > .stage-menu-home:hover > a.stage-home-link,
html[data-theme="dark"] .stage-menu > .stage-menu-home:focus-within > a.stage-home-link,
html[data-theme="dark"] .stage-menu > .stage-menu-home.is-open > a.stage-home-link {
    background: transparent;
    color: #fdb912;
    box-shadow: none;
}

.stage-menu-home {
    margin-right: 2px;
}

html[data-theme="dark"] body[data-category-page] .category-hero-copy .stage-title {
    color: #fff;
}

html[data-theme="dark"] body[data-category-page] .category-hero-copy p {
    color: rgba(255,255,255,.72);
}

html[data-theme="dark"] body[data-category-page] .category-stage-product {
    border: 1px solid rgba(255,255,255,.09);
    background: #0b171d;
}

html[data-theme="dark"] body[data-category-page] .category-stage-product .stage-product-info strong {
    color: #f5f7f8;
}

@media (max-width: 1120px) {
    body[data-category-page] .category-stage-card .stage-menu-wrapper {
        width: min(920px, calc(100% - 80px)) !important;
        padding-inline: 46px !important;
    }

    body[data-category-page] .category-stage-content {
        grid-template-columns: 1fr 1fr;
        padding: 44px 32px 48px;
        gap: 24px;
    }
}

@media (max-width: 768px) {
    body[data-category-page] .category-stage-content {
        grid-template-columns: 1fr;
        padding: 22px 20px 18px;
        gap: 26px;
    }

    body[data-category-page] .category-hero-copy .stage-title {
        max-width: 100%;
        font-size: 27px;
        line-height: 1.08;
    }

    body[data-category-page] .category-hero-copy p {
        max-width: 315px;
        font-size: 13px;
        line-height: 1.55;
    }

    body[data-category-page] .category-stage-product {
        width: min(280px, 100%);
        margin: 0 auto;
    }
}

/* EOF final: enforce HE warm yellow CTAs after all legacy petrol overrides. */
:root {
    --he-final-yellow: #fdb912;
    --he-final-yellow-light: #ffd35a;
    --he-final-yellow-hover: #ffc83d;
    --he-final-ink: #07151c;
}

.pc-btn,
.btn-primary,
.stage-finder button,
.finder-submit,
body[data-product-page] .detail-customize-btn,
body[data-product-page] .detail-action-row .detail-customize-btn,
body[data-product-page] .customization-actions .btn-primary,
body[data-product-page] .reviews-panel .btn-primary,
html[data-theme="dark"] .pc-btn,
html[data-theme="dark"] .btn-primary,
html[data-theme="dark"] .stage-finder button,
html[data-theme="dark"] .finder-submit,
html[data-theme="dark"] body[data-product-page] .detail-customize-btn,
html[data-theme="dark"] body[data-product-page] .detail-action-row .detail-customize-btn,
html[data-theme="dark"] body[data-product-page] .customization-actions .btn-primary,
html[data-theme="dark"] body[data-product-page] .reviews-panel .btn-primary {
    color: var(--he-final-ink) !important;
    background:
        linear-gradient(135deg, var(--he-final-yellow-light) 0%, var(--he-final-yellow) 52%, #f3a900 100%) !important;
    background-color: var(--he-final-yellow) !important;
    background-image:
        linear-gradient(135deg, var(--he-final-yellow-light) 0%, var(--he-final-yellow) 52%, #f3a900 100%) !important;
    border: 0 !important;
    box-shadow: 0 14px 28px rgba(253,185,18,.24) !important;
}

.pc-btn:hover,
.btn-primary:hover,
.stage-finder button:hover,
.finder-submit:hover,
body[data-product-page] .detail-customize-btn:hover,
body[data-product-page] .detail-action-row .detail-customize-btn:hover,
body[data-product-page] .customization-actions .btn-primary:hover,
body[data-product-page] .reviews-panel .btn-primary:hover {
    color: var(--he-final-ink) !important;
    background:
        linear-gradient(135deg, #ffdc78 0%, var(--he-final-yellow-hover) 52%, var(--he-final-yellow) 100%) !important;
}

.pc-btn::before,
.btn-primary::before,
.stage-finder button::before,
.finder-submit::before,
body[data-product-page] .detail-customize-btn::before,
body[data-product-page] .detail-action-row .detail-customize-btn::before,
body[data-product-page] .customization-actions .btn-primary::before,
body[data-product-page] .reviews-panel .btn-primary::before,
html[data-theme="dark"] .pc-btn::before,
html[data-theme="dark"] .btn-primary::before,
html[data-theme="dark"] .stage-finder button::before,
html[data-theme="dark"] .finder-submit::before,
html[data-theme="dark"] body[data-product-page] .detail-customize-btn::before,
html[data-theme="dark"] body[data-product-page] .detail-action-row .detail-customize-btn::before,
html[data-theme="dark"] body[data-product-page] .customization-actions .btn-primary::before,
html[data-theme="dark"] body[data-product-page] .reviews-panel .btn-primary::before {
    background: linear-gradient(90deg, transparent, rgba(255,211,90,.30), rgba(255,200,61,.18), transparent) !important;
}

.pc-btn span,
.btn-primary span,
body[data-product-page] .detail-customize-btn span,
body[data-product-page] .detail-action-row .detail-customize-btn span,
body[data-product-page] .customization-actions .btn-primary span,
body[data-product-page] .reviews-panel .btn-primary span {
    color: var(--he-final-ink) !important;
}

body[data-category-page] .subcategory-card i,
html[data-theme="dark"] body[data-category-page] .subcategory-card i {
    background:
        linear-gradient(135deg, var(--he-final-yellow-light), var(--he-final-yellow)) !important;
    color: var(--he-final-ink) !important;
    box-shadow: 0 10px 20px rgba(253,185,18,.18) !important;
}

body[data-category-page] .subcategory-card:hover i,
body[data-category-page] .subcategory-card.is-active i,
html[data-theme="dark"] body[data-category-page] .subcategory-card:hover i,
html[data-theme="dark"] body[data-category-page] .subcategory-card.is-active i {
    background:
        linear-gradient(135deg, #ffdc78, var(--he-final-yellow)) !important;
    color: var(--he-final-ink) !important;
}

/* EOF final: clean dark category surfaces. */
html[data-theme="dark"] body[data-category-page] .category-shop,
html[data-theme="dark"] body[data-category-page] .category-results,
html[data-theme="dark"] body[data-category-page] .category-tools,
html[data-theme="dark"] body[data-category-page] .category-listing {
    background: transparent !important;
    background-image: none !important;
    border: 0 !important;
    box-shadow: none !important;
}

html[data-theme="dark"] body[data-category-page] .subcategory-card {
    background: rgba(255,255,255,.055) !important;
    background-image: none !important;
    border-color: rgba(255,255,255,.12) !important;
    box-shadow: none !important;
    color: rgba(255,255,255,.88) !important;
}

html[data-theme="dark"] body[data-category-page] .subcategory-card:hover,
html[data-theme="dark"] body[data-category-page] .subcategory-card.is-active {
    background: #fff4da !important;
    background-image: none !important;
    border-color: #fdb912 !important;
    color: #07151c !important;
    box-shadow: none !important;
}

html[data-theme="dark"] body[data-category-page] .subcategory-card small {
    color: rgba(255,255,255,.62) !important;
}

html[data-theme="dark"] body[data-category-page] .subcategory-card:hover small,
html[data-theme="dark"] body[data-category-page] .subcategory-card.is-active small {
    color: rgba(7,21,28,.66) !important;
}

html[data-theme="dark"] body[data-category-page] .subcategory-card span,
html[data-theme="dark"] body[data-category-page] .subcategory-card:hover span,
html[data-theme="dark"] body[data-category-page] .subcategory-card.is-active span {
    background: #fff0c8 !important;
    color: #8b6500 !important;
    box-shadow: none !important;
}

html[data-theme="dark"] body[data-category-page] .category-filter-panel {
    background: rgba(255,255,255,.045) !important;
    background-image: none !important;
    border-color: rgba(255,255,255,.12) !important;
    box-shadow: none !important;
}

html[data-theme="dark"] body[data-category-page] .category-filter-head button {
    background: #fff0c8 !important;
    background-image: none !important;
    color: #8b6500 !important;
    box-shadow: none !important;
}

html[data-theme="dark"] body[data-category-page] .category-price-slider,
html[data-theme="dark"] body[data-category-page] .category-price-slider input[type="range"] {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    outline: 0 !important;
}

html[data-theme="dark"] body[data-category-page] .category-price-slider input[type="range"]:focus {
    outline: 0 !important;
}

html[data-theme="dark"] body[data-category-page] .category-price-track {
    box-shadow: none !important;
}

html[data-theme="dark"] body[data-category-page] .category-product-card {
    background: rgba(255,255,255,.07) !important;
    background-image: none !important;
    border: 1px solid rgba(255,255,255,.12) !important;
    box-shadow: none !important;
}

html[data-theme="dark"] body[data-category-page] .category-product-card::before,
html[data-theme="dark"] body[data-category-page] .category-product-card::after {
    display: none !important;
}

/* EOF final: flat HE yellow buttons, glow only. */
.pc-btn,
.btn-primary,
.stage-finder button,
.finder-submit,
body[data-product-page] .detail-customize-btn,
body[data-product-page] .detail-action-row .detail-customize-btn,
body[data-product-page] .customization-actions .btn-primary,
body[data-product-page] .reviews-panel .btn-primary,
html[data-theme="dark"] .pc-btn,
html[data-theme="dark"] .btn-primary,
html[data-theme="dark"] .stage-finder button,
html[data-theme="dark"] .finder-submit,
html[data-theme="dark"] body[data-product-page] .detail-customize-btn,
html[data-theme="dark"] body[data-product-page] .detail-action-row .detail-customize-btn,
html[data-theme="dark"] body[data-product-page] .customization-actions .btn-primary,
html[data-theme="dark"] body[data-product-page] .reviews-panel .btn-primary {
    background: #fdb912 !important;
    background-color: #fdb912 !important;
    background-image: none !important;
    color: #07151c !important;
    border: 0 !important;
    box-shadow: 0 14px 28px rgba(253,185,18,.28) !important;
}

.pc-btn:hover,
.btn-primary:hover,
.stage-finder button:hover,
.finder-submit:hover,
body[data-product-page] .detail-customize-btn:hover,
body[data-product-page] .detail-action-row .detail-customize-btn:hover,
body[data-product-page] .customization-actions .btn-primary:hover,
body[data-product-page] .reviews-panel .btn-primary:hover {
    background: #ffc21f !important;
    background-color: #ffc21f !important;
    background-image: none !important;
    color: #07151c !important;
    box-shadow: 0 16px 32px rgba(253,185,18,.34) !important;
}

.pc-btn::before,
.btn-primary::before,
.stage-finder button::before,
.finder-submit::before,
body[data-product-page] .detail-customize-btn::before,
body[data-product-page] .detail-action-row .detail-customize-btn::before,
body[data-product-page] .customization-actions .btn-primary::before,
body[data-product-page] .reviews-panel .btn-primary::before,
html[data-theme="dark"] .pc-btn::before,
html[data-theme="dark"] .btn-primary::before,
html[data-theme="dark"] .stage-finder button::before,
html[data-theme="dark"] .finder-submit::before,
html[data-theme="dark"] body[data-product-page] .detail-customize-btn::before,
html[data-theme="dark"] body[data-product-page] .detail-action-row .detail-customize-btn::before,
html[data-theme="dark"] body[data-product-page] .customization-actions .btn-primary::before,
html[data-theme="dark"] body[data-product-page] .reviews-panel .btn-primary::before {
    display: none !important;
    background: none !important;
}

/* EOF final: flat HE yellow buttons with shared moving shine. */
.stage-cta,
.pc-btn,
.btn-primary,
.stage-finder button,
.finder-submit,
body[data-product-page] .detail-customize-btn,
body[data-product-page] .detail-action-row .detail-customize-btn,
body[data-product-page] .customization-actions .btn-primary,
body[data-product-page] .reviews-panel .btn-primary,
html[data-theme="dark"] .stage-cta,
html[data-theme="dark"] .pc-btn,
html[data-theme="dark"] .btn-primary,
html[data-theme="dark"] .stage-finder button,
html[data-theme="dark"] .finder-submit,
html[data-theme="dark"] body[data-product-page] .detail-customize-btn,
html[data-theme="dark"] body[data-product-page] .detail-action-row .detail-customize-btn,
html[data-theme="dark"] body[data-product-page] .customization-actions .btn-primary,
html[data-theme="dark"] body[data-product-page] .reviews-panel .btn-primary {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    background: #fdb912 !important;
    background-color: #fdb912 !important;
    background-image: none !important;
    color: #07151c !important;
    border: 0 !important;
    box-shadow: 0 14px 28px rgba(253,185,18,.28) !important;
}

.stage-cta:hover,
.pc-btn:hover,
.btn-primary:hover,
.stage-finder button:hover,
.finder-submit:hover,
body[data-product-page] .detail-customize-btn:hover,
body[data-product-page] .detail-action-row .detail-customize-btn:hover,
body[data-product-page] .customization-actions .btn-primary:hover,
body[data-product-page] .reviews-panel .btn-primary:hover {
    background: #ffc21f !important;
    background-color: #ffc21f !important;
    background-image: none !important;
    color: #07151c !important;
    box-shadow: 0 16px 32px rgba(253,185,18,.34) !important;
}

.stage-cta::before,
.pc-btn::before,
.btn-primary::before,
.stage-finder button::before,
.finder-submit::before,
body[data-product-page] .detail-customize-btn::before,
body[data-product-page] .detail-action-row .detail-customize-btn::before,
body[data-product-page] .customization-actions .btn-primary::before,
body[data-product-page] .reviews-panel .btn-primary::before,
html[data-theme="dark"] .stage-cta::before,
html[data-theme="dark"] .pc-btn::before,
html[data-theme="dark"] .btn-primary::before,
html[data-theme="dark"] .stage-finder button::before,
html[data-theme="dark"] .finder-submit::before,
html[data-theme="dark"] body[data-product-page] .detail-customize-btn::before,
html[data-theme="dark"] body[data-product-page] .detail-action-row .detail-customize-btn::before,
html[data-theme="dark"] body[data-product-page] .customization-actions .btn-primary::before,
html[data-theme="dark"] body[data-product-page] .reviews-panel .btn-primary::before {
    content: "" !important;
    display: block !important;
    position: absolute !important;
    inset: 0 auto 0 0 !important;
    width: 44% !important;
    pointer-events: none !important;
    z-index: 0 !important;
    transform: translateX(-150%) skewX(-18deg);
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.30), rgba(255,255,255,.18), transparent) !important;
    animation: btnLight 3s linear infinite !important;
}

.stage-cta::after {
    display: none !important;
}

.stage-cta span,
.pc-btn span,
.btn-primary span,
.stage-finder button span,
.finder-submit span,
body[data-product-page] .detail-customize-btn span,
body[data-product-page] .detail-action-row .detail-customize-btn span,
body[data-product-page] .customization-actions .btn-primary span,
body[data-product-page] .reviews-panel .btn-primary span {
    position: relative;
    z-index: 1;
    color: #07151c !important;
}

/* EOF final: product detail keeps the same top category menu. */
body[data-product-page] .product-stage-nav {
    position: relative;
    z-index: 40;
    padding: 0 18px 18px;
    background: transparent;
}

body[data-product-page] .product-stage-nav .stage-menu-wrapper {
    width: min(1010px, calc(100% - 160px)) !important;
    height: 74px;
    margin: 0 auto;
    padding: 0 clamp(48px, 5vw, 88px) !important;
}

body[data-product-page] .product-stage-nav .stage-menu-shape {
    display: block;
}

body[data-product-page] .product-page {
    padding-top: 8px;
}

@media (max-width: 1100px) {
    body[data-product-page] .product-stage-nav .stage-menu-wrapper {
        width: calc(100% - 64px) !important;
        min-height: 78px;
        height: auto;
        padding: 18px 28px !important;
    }
}

@media (max-width: 768px) {
    body[data-product-page] .product-stage-nav {
        display: none;
    }
}

/* EOF final: product menu belongs inside the product hero shell. */
body[data-product-page] .product-detail-shell {
    padding-top: 0 !important;
    overflow: visible !important;
}

body[data-product-page] .product-detail-shell > .product-stage-nav {
    grid-column: 1 / -1;
    width: auto;
    margin: 0 calc(-1 * clamp(24px, 4vw, 44px)) 18px;
    padding: 0;
}

body[data-product-page] .product-detail-shell > .product-stage-nav .stage-menu-wrapper {
    width: min(1010px, calc(100% - 160px)) !important;
    height: 74px;
    margin: 0 auto;
    padding: 0 clamp(48px, 5vw, 88px) !important;
}

body[data-product-page] .product-detail-shell > .product-gallery {
    margin-top: 0;
}

@media (max-width: 1100px) {
    body[data-product-page] .product-detail-shell > .product-stage-nav {
        margin-inline: calc(-1 * clamp(24px, 4vw, 44px));
    }

    body[data-product-page] .product-detail-shell > .product-stage-nav .stage-menu-wrapper {
        width: calc(100% - 64px) !important;
        min-height: 78px;
        height: auto;
        padding: 18px 28px !important;
    }
}

/* EOF final: keep product hero menu inside the hero bounds. */
body[data-product-page] .product-detail-shell > .product-stage-nav {
    margin: 0 0 18px !important;
}

@media (max-width: 1100px) {
    body[data-product-page] .product-detail-shell > .product-stage-nav {
        margin-inline: 0 !important;
    }
}

/* EOF final: match product hero/menu radii to homepage proportions. */
body[data-product-page] .product-detail-shell {
    border-radius: 82px !important;
    background:
        radial-gradient(circle at 74% 12%, rgba(253,185,18,.14), transparent 38%),
        #f6f0e3 !important;
    box-shadow: 0 0 0 1px #f6f0e3 !important;
}

body[data-product-page] .product-detail-shell > .product-stage-nav .stage-menu-wrapper {
    width: min(1010px, calc(100% - 170px)) !important;
}

@media (max-width: 768px) {
    body[data-product-page] .product-detail-shell {
        border-radius: 38px !important;
    }
}

/* EOF final: remove inner boxes in product hero bottom sections. */
body[data-product-page] .product-detail-shell .detail-video-card,
body[data-product-page] .product-detail-shell .detail-description {
    background: transparent !important;
    background-image: none !important;
    border: 0 !important;
    box-shadow: none !important;
    border-radius: 0 !important;
}

body[data-product-page] .product-detail-shell .detail-video-card {
    padding: 14px 0 0 !important;
}

body[data-product-page] .product-detail-shell .detail-description {
    padding: 14px 0 0 !important;
}

body[data-product-page] .product-detail-shell .detail-description h2 {
    margin-bottom: 10px;
}

html[data-theme="dark"] body[data-product-page] .product-detail-shell .detail-video-card,
html[data-theme="dark"] body[data-product-page] .product-detail-shell .detail-description {
    background: transparent !important;
    background-image: none !important;
    border: 0 !important;
    box-shadow: none !important;
    border-radius: 0 !important;
}

/* EOF final: align product hero bottom content as one clean row. */
body[data-product-page] .product-hero-bottom {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(380px, .86fr);
    gap: clamp(34px, 5vw, 70px);
    align-items: start;
    margin-top: 6px;
    padding-top: 2px;
}

body[data-product-page] .product-hero-bottom .detail-video-card,
body[data-product-page] .product-hero-bottom .detail-description {
    margin: 0 !important;
    padding: 0 !important;
}

body[data-product-page] .product-hero-bottom .detail-video-card {
    min-height: 64px;
    display: grid;
    grid-template-columns: 74px minmax(0, 1fr);
    align-items: center;
    gap: 18px;
}

body[data-product-page] .product-hero-bottom .detail-video-card strong {
    color: #07151c !important;
    font-size: 17px;
    line-height: 1.2;
}

body[data-product-page] .product-hero-bottom .detail-video-card small {
    color: #43515a !important;
    font-size: 13.5px;
    line-height: 1.45;
}

body[data-product-page] .product-hero-bottom .detail-description h2 {
    color: #07151c !important;
    font-size: 24px;
    line-height: 1.1;
}

body[data-product-page] .product-hero-bottom .detail-description ul {
    margin-top: 12px;
    color: #22313a !important;
}

body[data-product-page] .product-hero-bottom .detail-description li {
    color: #22313a !important;
    font-weight: 600;
    line-height: 1.55;
}

body[data-product-page] .product-hero-bottom .detail-description li::marker {
    color: #6a747a;
}

@media (max-width: 980px) {
    body[data-product-page] .product-hero-bottom {
        grid-template-columns: 1fr;
        gap: 22px;
    }
}

html[data-theme="dark"] body[data-product-page] .product-hero-bottom .detail-video-card strong,
html[data-theme="dark"] body[data-product-page] .product-hero-bottom .detail-description h2 {
    color: #f7f2e7 !important;
}

html[data-theme="dark"] body[data-product-page] .product-hero-bottom .detail-video-card small,
html[data-theme="dark"] body[data-product-page] .product-hero-bottom .detail-description ul,
html[data-theme="dark"] body[data-product-page] .product-hero-bottom .detail-description li {
    color: rgba(255,255,255,.82) !important;
}

/* EOF final: rebalance product hero bottom row. */
body[data-product-page] .product-hero-bottom {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: clamp(42px, 5vw, 64px) !important;
    align-items: start !important;
}

body[data-product-page] .product-hero-bottom .detail-video-card,
body[data-product-page] .product-hero-bottom .detail-description {
    width: 100%;
    max-width: none;
    justify-self: stretch;
}

body[data-product-page] .product-hero-bottom .detail-video-card {
    grid-template-columns: 64px minmax(0, 1fr) !important;
    align-items: start !important;
    padding-top: 4px !important;
}

body[data-product-page] .product-hero-bottom .video-player-art {
    margin-top: -2px;
}

body[data-product-page] .product-hero-bottom .detail-description {
    padding-top: 0 !important;
}

body[data-product-page] .product-hero-bottom .detail-description h2 {
    margin: 0 0 12px !important;
    font-size: 23px;
}

body[data-product-page] .product-hero-bottom .detail-description ul {
    margin: 0;
    padding-left: 18px;
}

@media (max-width: 980px) {
    body[data-product-page] .product-hero-bottom {
        grid-template-columns: 1fr !important;
    }
}

/* EOF final: video belongs directly under gallery thumbnails. */
body[data-product-page] .product-gallery > .detail-video-card {
    margin-top: 18px !important;
    padding: 0 !important;
    width: 100%;
    min-height: 64px;
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr) !important;
    align-items: start !important;
    gap: 18px !important;
    background: transparent !important;
    background-image: none !important;
    border: 0 !important;
    box-shadow: none !important;
    border-radius: 0 !important;
}

body[data-product-page] .product-gallery > .detail-video-card .video-player-art {
    margin-top: -2px;
}

body[data-product-page] .product-gallery > .detail-video-card strong {
    color: #07151c !important;
    font-size: 17px;
    line-height: 1.2;
}

body[data-product-page] .product-gallery > .detail-video-card small {
    color: #43515a !important;
    font-size: 13.5px;
    line-height: 1.45;
}

html[data-theme="dark"] body[data-product-page] .product-gallery > .detail-video-card strong {
    color: #f7f2e7 !important;
}

html[data-theme="dark"] body[data-product-page] .product-gallery > .detail-video-card small {
    color: rgba(255,255,255,.82) !important;
}

/* EOF final: readable gradient card for in-hero product features. */
body[data-product-page] .product-summary > .detail-description {
    padding: 22px 24px !important;
    border: 1px solid rgba(7,21,28,.08) !important;
    border-radius: 18px !important;
    background:
        radial-gradient(circle at 96% 0%, rgba(253,185,18,.12), transparent 38%),
        linear-gradient(145deg, rgba(255,255,255,.96), rgba(255,250,238,.90)) !important;
    box-shadow: 0 16px 38px rgba(7,21,28,.045) !important;
}

body[data-product-page] .product-summary > .detail-description h2 {
    color: #07151c !important;
}

body[data-product-page] .product-summary > .detail-description li {
    color: #24343c !important;
}

html[data-theme="dark"] body[data-product-page] .product-summary > .detail-description {
    border-color: rgba(255,255,255,.10) !important;
    background:
        radial-gradient(circle at 96% 0%, rgba(253,185,18,.14), transparent 38%),
        linear-gradient(145deg, rgba(255,255,255,.09), rgba(255,255,255,.045)) !important;
    box-shadow: none !important;
}

/* EOF final: product features align with thumbnail row in the right column. */
body[data-product-page] .product-summary > .detail-description {
    margin-top: 24px !important;
    padding: 0 !important;
    background: transparent !important;
    background-image: none !important;
    border: 0 !important;
    box-shadow: none !important;
    border-radius: 0 !important;
}

body[data-product-page] .product-summary > .detail-description h2 {
    margin: 0 0 12px !important;
    color: #07151c !important;
    font-size: 23px;
    line-height: 1.1;
}

body[data-product-page] .product-summary > .detail-description ul {
    margin: 0;
    padding-left: 18px;
}

body[data-product-page] .product-summary > .detail-description li {
    color: #22313a !important;
    font-weight: 600;
    line-height: 1.55;
}

body[data-product-page] .product-hero-bottom {
    grid-template-columns: minmax(0, 1fr) minmax(380px, 1fr) !important;
}

body[data-product-page] .product-hero-bottom .detail-video-card {
    grid-column: 1;
}

html[data-theme="dark"] body[data-product-page] .product-summary > .detail-description {
    background: transparent !important;
    background-image: none !important;
    border: 0 !important;
    box-shadow: none !important;
}

html[data-theme="dark"] body[data-product-page] .product-summary > .detail-description h2 {
    color: #f7f2e7 !important;
}

html[data-theme="dark"] body[data-product-page] .product-summary > .detail-description li {
    color: rgba(255,255,255,.82) !important;
}

/* EOF final: feature card keeps gradient after alignment overrides. */
body[data-product-page] .product-summary > .detail-description {
    margin-top: 24px !important;
    padding: 22px 24px !important;
    border: 1px solid rgba(7,21,28,.08) !important;
    border-radius: 18px !important;
    background:
        radial-gradient(circle at 96% 0%, rgba(253,185,18,.12), transparent 38%),
        linear-gradient(145deg, rgba(255,255,255,.96), rgba(255,250,238,.90)) !important;
    background-image:
        radial-gradient(circle at 96% 0%, rgba(253,185,18,.12), transparent 38%),
        linear-gradient(145deg, rgba(255,255,255,.96), rgba(255,250,238,.90)) !important;
    box-shadow: 0 16px 38px rgba(7,21,28,.045) !important;
}

html[data-theme="dark"] body[data-product-page] .product-summary > .detail-description {
    border: 1px solid rgba(255,255,255,.12) !important;
    border-radius: 18px !important;
    background:
        radial-gradient(circle at 96% 0%, rgba(253,185,18,.16), transparent 38%),
        linear-gradient(145deg, rgba(255,255,255,.12), rgba(255,255,255,.055)) !important;
    background-image:
        radial-gradient(circle at 96% 0%, rgba(253,185,18,.16), transparent 38%),
        linear-gradient(145deg, rgba(255,255,255,.12), rgba(255,255,255,.055)) !important;
    box-shadow: none !important;
}

/* EOF final: no feature card, brighten the hero surface behind it. */
body[data-product-page] .product-detail-shell {
    background:
        radial-gradient(ellipse at 78% 88%, rgba(255,255,255,.94) 0%, rgba(255,255,255,.76) 24%, rgba(255,255,255,0) 52%),
        radial-gradient(circle at 74% 12%, rgba(253,185,18,.14), transparent 38%),
        #f6f0e3 !important;
}

body[data-product-page] .product-summary > .detail-description {
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    background-image: none !important;
    box-shadow: none !important;
}

html[data-theme="dark"] body[data-product-page] .product-detail-shell {
    background:
        radial-gradient(ellipse at 78% 88%, rgba(255,255,255,.12) 0%, rgba(255,255,255,.07) 28%, rgba(255,255,255,0) 56%),
        radial-gradient(circle at 74% 12%, rgba(253,185,18,.12), transparent 38%),
        #07151c !important;
}

html[data-theme="dark"] body[data-product-page] .product-summary > .detail-description {
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    background-image: none !important;
    box-shadow: none !important;
}

/* EOF final: product card prices match detail price color. */
.product-card .pc-price-new,
body[data-category-page] .category-product-card .pc-price-new,
body[data-product-page] .detail-related-card .pc-price-new,
body[data-product-page] .detail-related-grid .pc-price-new {
    color: #07151c !important;
    font-family: var(--font-ui) !important;
    font-weight: 900 !important;
    letter-spacing: 0 !important;
}

.product-card .pc-price-old,
body[data-category-page] .category-product-card .pc-price-old,
body[data-product-page] .detail-related-card .pc-price-old,
body[data-product-page] .detail-related-grid .pc-price-old {
    color: #aeb7bf !important;
    font-family: var(--font-ui) !important;
    font-weight: 500 !important;
    text-decoration: line-through !important;
}

html[data-theme="dark"] .product-card .pc-price-new,
html[data-theme="dark"] body[data-category-page] .category-product-card .pc-price-new,
html[data-theme="dark"] body[data-product-page] .detail-related-card .pc-price-new,
html[data-theme="dark"] body[data-product-page] .detail-related-grid .pc-price-new {
    color: #f5f7f8 !important;
}

html[data-theme="dark"] .product-card .pc-price-old,
html[data-theme="dark"] body[data-category-page] .category-product-card .pc-price-old,
html[data-theme="dark"] body[data-product-page] .detail-related-card .pc-price-old,
html[data-theme="dark"] body[data-product-page] .detail-related-grid .pc-price-old {
    color: rgba(238,244,245,.48) !important;
}

/* EOF final: all product card current prices use detail-page green. */
.product-card .pc-price-new,
body[data-category-page] .category-product-card .pc-price-new,
body[data-product-page] .detail-related-card .pc-price-new,
body[data-product-page] .detail-related-grid .pc-price-new,
html[data-theme="dark"] .product-card .pc-price-new,
html[data-theme="dark"] body[data-category-page] .category-product-card .pc-price-new,
html[data-theme="dark"] body[data-product-page] .detail-related-card .pc-price-new,
html[data-theme="dark"] body[data-product-page] .detail-related-grid .pc-price-new {
    color: #158318 !important;
    font-family: var(--font-ui) !important;
    font-weight: 900 !important;
    letter-spacing: 0 !important;
}

/* HE stock and badge polish. */
.badge,
html[data-theme="dark"] .badge {
    background: var(--he-brand-yellow, var(--primary, #ffb316)) !important;
    color: #07151c !important;
    box-shadow: 0 8px 18px rgba(253,185,18,.24);
}

.product-card.is-out-of-stock .pc-img-wrap img {
    filter: grayscale(.35);
    opacity: .72;
}

.stock-ribbon {
    position: absolute;
    left: -34%;
    top: calc(50% - 17px);
    z-index: 5;
    width: 168%;
    min-height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transform: rotate(-38deg);
    background: rgba(7,21,28,.92);
    color: #fff;
    font-size: 12px;
    font-weight: 950;
    letter-spacing: .12em;
    line-height: 1;
    text-transform: uppercase;
    pointer-events: none;
    box-shadow: 0 12px 28px rgba(7,21,28,.28);
}

.product-card.is-out-of-stock .pc-btn,
html[data-theme="dark"] .product-card.is-out-of-stock .pc-btn,
body[data-product-page].product-out-of-stock .detail-customize-btn,
html[data-theme="dark"] body[data-product-page].product-out-of-stock .detail-customize-btn {
    background: #07151c !important;
    color: #fff !important;
    box-shadow: none !important;
    cursor: not-allowed;
}

.gallery-main-wrap {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 10px;
}

.gallery-main-wrap .gallery-main {
    display: block;
}

.detail-stock-ribbon {
    display: none;
}

body[data-product-page].product-out-of-stock .detail-stock-ribbon {
    display: inline-flex;
}

body[data-product-page].product-out-of-stock .gallery-main {
    filter: grayscale(.25);
    opacity: .76;
}

/* EOF final: feature modal close matches customization modal close. */
body[data-product-page] .feature-modal-close,
html[data-theme="dark"] body[data-product-page] .feature-modal-close {
    top: 22px !important;
    right: 22px !important;
    width: 42px !important;
    height: 42px !important;
    padding: 0 !important;
    display: block !important;
    position: absolute !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: #fff !important;
    color: transparent !important;
    font-size: 0 !important;
    line-height: 0 !important;
    box-shadow: 0 8px 20px rgba(7,21,28,.08) !important;
    isolation: isolate;
    cursor: pointer;
    transition: background .2s ease, border-color .2s ease, transform .2s ease;
}

body[data-product-page] .feature-modal-close span {
    display: none !important;
}

body[data-product-page] .feature-modal-close::before,
body[data-product-page] .feature-modal-close::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 17px;
    height: 3px;
    border-radius: 999px;
    background: #b91c1c;
    transform-origin: center;
    transition: background .2s ease;
}

body[data-product-page] .feature-modal-close::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

body[data-product-page] .feature-modal-close::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

body[data-product-page] .feature-modal-close:hover,
body[data-product-page] .feature-modal-close:focus-visible,
html[data-theme="dark"] body[data-product-page] .feature-modal-close:hover,
html[data-theme="dark"] body[data-product-page] .feature-modal-close:focus-visible {
    transform: scale(1.04);
    background: #b91c1c !important;
}

body[data-product-page] .feature-modal-close:hover::before,
body[data-product-page] .feature-modal-close:hover::after,
body[data-product-page] .feature-modal-close:focus-visible::before,
body[data-product-page] .feature-modal-close:focus-visible::after {
    background: #fff;
}

/* EOF final: compact product feature summary with full-detail popup. */
body[data-product-page] .product-summary > .detail-description {
    cursor: pointer;
    outline: 0;
}

body[data-product-page] .product-summary > .detail-description:focus-visible h2,
body[data-product-page] .product-summary > .detail-description:hover h2 {
    color: #b97f00 !important;
}

body[data-product-page] .product-summary > .detail-description ul {
    display: grid;
    gap: 4px;
}

body[data-product-page] .detail-more-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #b97f00;
    font: 900 14px/1 var(--font-ui);
    letter-spacing: 0;
    cursor: pointer;
}

body[data-product-page] .detail-more-link::after {
    content: "→";
    transform: translateY(-1px);
    transition: transform .18s ease;
}

body[data-product-page] .detail-more-link:hover::after,
body[data-product-page] .detail-more-link:focus-visible::after {
    transform: translate(4px, -1px);
}

body[data-product-page] .detail-more-link[hidden] {
    display: none !important;
}

body.feature-modal-open {
    overflow: hidden;
}

body[data-product-page] .feature-modal {
    position: fixed;
    inset: 0;
    z-index: 140;
    display: grid;
    place-items: center;
    padding: 24px;
}

body[data-product-page] .feature-modal[aria-hidden="true"] {
    pointer-events: none;
    visibility: hidden;
}

body[data-product-page] .feature-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(3, 13, 18, .58);
    backdrop-filter: blur(8px);
}

body[data-product-page] .feature-modal-dialog {
    position: relative;
    width: min(920px, 100%);
    max-height: min(720px, calc(100vh - 48px));
    display: grid;
    grid-template-rows: auto auto auto minmax(0, 1fr);
    overflow: hidden;
    padding: 34px 38px 38px;
    border: 1px solid rgba(7, 21, 28, .10);
    border-radius: 26px;
    background:
        radial-gradient(circle at 92% 0%, rgba(253, 185, 18, .15), transparent 34%),
        linear-gradient(145deg, rgba(255,255,255,.98), rgba(255,249,236,.96));
    box-shadow: 0 28px 90px rgba(0, 0, 0, .24);
    transform: translateY(0) scale(1);
    opacity: 1;
    transition: opacity .2s ease, transform .2s ease;
}

body[data-product-page] .feature-modal-dialog::-webkit-scrollbar {
    width: 0;
}

body[data-product-page] .feature-modal-content {
    min-height: 0;
    max-height: 100%;
    overflow: hidden auto;
    overscroll-behavior: contain;
    scrollbar-gutter: stable;
    scrollbar-width: thin;
    scrollbar-color: rgba(185, 127, 0, .58) transparent;
    padding-right: 16px;
}

body[data-product-page] .feature-modal-content::-webkit-scrollbar {
    width: 8px;
}

body[data-product-page] .feature-modal-content::-webkit-scrollbar-track {
    background: transparent;
    margin: 4px 0;
}

body[data-product-page] .feature-modal-content::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: rgba(185, 127, 0, .46);
}

body[data-product-page] .feature-modal[aria-hidden="true"] .feature-modal-dialog {
    opacity: 0;
    transform: translateY(12px) scale(.98);
}

body[data-product-page] .feature-modal-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #b97f00;
    font: 900 13px/1 var(--font-ui);
    text-transform: uppercase;
}

body[data-product-page] .feature-modal-eyebrow::before {
    content: "";
    width: 9px;
    height: 9px;
    border-radius: 999px;
    background: #fdb912;
}

body[data-product-page] .feature-modal-dialog h2 {
    margin: 12px 48px 18px 0;
    color: #07151c;
    font-family: var(--font-display);
    font-size: clamp(34px, 4vw, 52px);
    font-weight: 500;
    line-height: 1.02;
    letter-spacing: 0;
}

body[data-product-page] .product-summary > .detail-description p {
    max-width: 520px;
    margin: 0;
    color: #22313a;
    font: 700 17px/1.5 var(--font-ui);
}

body[data-product-page] .feature-modal-dialog ul {
    display: grid;
    gap: 12px;
    margin: 0;
    padding-left: 22px;
}

body[data-product-page] .feature-modal-block {
    display: grid;
    gap: 22px;
}

body[data-product-page] .feature-modal-block h3 {
    margin: 0 0 2px;
    color: #b68100;
    font: 900 18px/1.2 var(--font-ui);
}

body[data-product-page] .feature-modal-story p {
    margin: 0;
    color: #22313a;
    font: 700 18px/1.5 var(--font-ui);
}

body[data-product-page] .feature-modal-dialog li {
    color: #22313a;
    font: 700 18px/1.48 var(--font-ui);
}

body[data-product-page] .feature-spec-list strong {
    color: #07151c;
}

body[data-product-page] .feature-modal-close {
    position: absolute;
    top: 22px;
    right: 22px;
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 999px;
    background: rgba(253, 185, 18, .18);
    color: #07151c;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
}

body[data-product-page] .feature-modal-close:hover,
body[data-product-page] .feature-modal-close:focus-visible {
    background: #fdb912;
}

html[data-theme="dark"] body[data-product-page] .product-summary > .detail-description:hover h2,
html[data-theme="dark"] body[data-product-page] .product-summary > .detail-description:focus-visible h2,
html[data-theme="dark"] body[data-product-page] .detail-more-link {
    color: #fdb912 !important;
}

html[data-theme="dark"] body[data-product-page] .feature-modal-backdrop {
    background: rgba(0, 6, 9, .72);
}

html[data-theme="dark"] body[data-product-page] .feature-modal-dialog {
    border-color: rgba(253,185,18,.16);
    background:
        radial-gradient(circle at 92% 0%, rgba(253,185,18,.18), transparent 36%),
        linear-gradient(145deg, rgba(17,31,36,.98), rgba(7,21,28,.98));
    box-shadow: 0 28px 90px rgba(0,0,0,.52);
}

html[data-theme="dark"] body[data-product-page] .product-summary > .detail-description p {
    color: rgba(255,255,255,.82);
}

html[data-theme="dark"] body[data-product-page] .feature-modal-dialog h2,
html[data-theme="dark"] body[data-product-page] .feature-modal-dialog li,
html[data-theme="dark"] body[data-product-page] .feature-modal-story p,
html[data-theme="dark"] body[data-product-page] .feature-spec-list strong {
    color: #f7f2e7;
}

html[data-theme="dark"] body[data-product-page] .feature-modal-block h3 {
    color: #fdb912;
}

html[data-theme="dark"] body[data-product-page] .feature-modal-close {
    background: rgba(253,185,18,.16);
    color: #f7f2e7;
}

html[data-theme="dark"] body[data-product-page] .feature-modal-close:hover,
html[data-theme="dark"] body[data-product-page] .feature-modal-close:focus-visible {
    background: #fdb912;
    color: #07151c;
}

@media (max-width: 640px) {
    body[data-product-page] .feature-modal {
        padding: 14px;
        align-items: end;
    }

    body[data-product-page] .feature-modal-dialog {
        max-height: calc(100vh - 28px);
        padding: 26px 24px 30px;
        border-radius: 24px;
    }

    body[data-product-page] .feature-modal-dialog h2 {
        margin-right: 44px;
    }

    body[data-product-page] .feature-modal-dialog li {
        font-size: 16px;
    }
}

/* EOF final: sub-410px product detail guardrails. */
@media (max-width: 410px) {
    html,
    body {
        max-width: 100%;
        overflow-x: hidden;
    }

    body[data-product-page] .product-page {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 auto !important;
        padding: 0 10px 26px !important;
        box-sizing: border-box;
    }

    body[data-product-page] .breadcrumb {
        padding-inline: 4px;
        font-size: 12px;
    }

    body[data-product-page] .product-detail-shell {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 22px !important;
        padding: 0 14px 26px !important;
        border-radius: 28px !important;
        overflow: hidden !important;
        box-sizing: border-box;
    }

    body[data-product-page] .product-gallery,
    body[data-product-page] .product-summary {
        min-width: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    body[data-product-page] .gallery-main {
        max-height: none !important;
        border-radius: 22px !important;
    }

    body[data-product-page] .gallery-thumbs {
        display: grid !important;
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 10px !important;
        width: 100% !important;
        max-width: 100% !important;
        overflow: visible !important;
    }

    body[data-product-page] .gallery-thumb {
        width: 100% !important;
        min-width: 0 !important;
        aspect-ratio: 1 / 1;
    }

    body[data-product-page] .product-gallery > .detail-video-card {
        grid-template-columns: 72px minmax(0, 1fr) !important;
        gap: 12px !important;
        align-items: center !important;
        width: 100% !important;
        margin-top: 6px !important;
    }

    body[data-product-page] .product-gallery > .detail-video-card .video-player-art {
        width: 64px !important;
        min-width: 64px !important;
    }

    body[data-product-page] .product-gallery > .detail-video-card small {
        font-size: 13px !important;
    }

    body[data-product-page] .product-summary h1 {
        max-width: 100% !important;
        font-size: clamp(25px, 8.2vw, 31px) !important;
        line-height: 1.16 !important;
    }

    body[data-product-page] .variant-options {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 10px !important;
        width: 100% !important;
    }

    body[data-product-page] .variant-option {
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        grid-template-columns: 58px minmax(0, 1fr) !important;
        padding: 8px 12px 8px 8px !important;
        box-sizing: border-box !important;
    }

    body[data-product-page] .detail-buy-row {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) 58px !important;
        gap: 12px !important;
        align-items: stretch !important;
        transform: none !important;
    }

    body[data-product-page] .detail-price-row {
        grid-column: 1 / -1 !important;
        width: 100% !important;
        max-width: 100% !important;
        grid-template-columns: 92px minmax(0, 1fr) !important;
    }

    body[data-product-page] .detail-price-row strong {
        font-size: clamp(28px, 8vw, 32px) !important;
    }

    body[data-product-page] .detail-customize-btn {
        grid-column: 1 !important;
        width: 100% !important;
        min-width: 0 !important;
        min-height: 58px !important;
        padding-inline: 12px !important;
        font-size: 17px !important;
        line-height: 1.12 !important;
    }

    body[data-product-page] .detail-favorite-btn {
        grid-column: 2 !important;
        width: 58px !important;
        height: 58px !important;
    }

    body[data-product-page] .detail-info-panel {
        width: 100% !important;
        max-width: 100% !important;
        padding: 18px 16px !important;
        box-sizing: border-box !important;
    }

    body[data-product-page] .delivery-line {
        grid-template-columns: 28px minmax(0, 1fr) !important;
        gap: 12px !important;
        align-items: start !important;
    }

    body[data-product-page] .delivery-line .cargo-logo {
        grid-column: 1 / -1 !important;
        justify-self: end !important;
        width: min(150px, 54vw) !important;
        max-width: 100% !important;
    }

    body[data-product-page] .delivery-hint {
        font-size: 13px !important;
        line-height: 1.45 !important;
    }

    body[data-product-page] .product-summary > .detail-description h2 {
        font-size: 27px !important;
    }

    body[data-product-page] .product-summary > .detail-description li {
        font-size: 15px !important;
        line-height: 1.45 !important;
    }
}

/* EOF final: login page remains a two-card auth screen. */
body[data-auth-page] {
    min-height: 100vh !important;
    background:
        linear-gradient(180deg, #eef1f3 0 48%, #ffffff 48% 100%),
        radial-gradient(circle at 50% 18%, rgba(253,185,18,.12), transparent 30%) !important;
}

html[data-theme="dark"] body[data-auth-page] {
    background:
        linear-gradient(180deg, #001820 0 48%, #001016 48% 100%),
        radial-gradient(circle at 50% 18%, rgba(253,185,18,.12), transparent 30%) !important;
}

/* EOF final: clear section breathing inside product detail popup. */
body[data-product-page] .feature-modal-content {
    display: grid !important;
    gap: 48px !important;
}

body[data-product-page] .feature-modal-block {
    display: grid !important;
    gap: 24px !important;
}

body[data-product-page] .feature-modal-block + .feature-modal-block {
    margin-top: 8px !important;
    padding-top: 8px !important;
}

body[data-product-page] .feature-modal-block h3 {
    margin: 0 !important;
}

/* EOF final: product video opens in a clean embedded modal. */
body.video-modal-open {
    overflow: hidden;
}

body[data-product-page] .video-modal {
    position: fixed;
    inset: 0;
    z-index: 150;
    display: grid;
    place-items: center;
    padding: 24px;
}

body[data-product-page] .video-modal[aria-hidden="true"] {
    pointer-events: none;
    visibility: hidden;
}

body[data-product-page] .video-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(3, 13, 18, .66);
    backdrop-filter: blur(9px);
}

body[data-product-page] .video-modal-dialog {
    position: relative;
    width: min(1040px, 100%);
    padding: 30px;
    border: 1px solid rgba(7,21,28,.10);
    border-radius: 30px;
    background:
        radial-gradient(circle at 92% 0%, rgba(253,185,18,.16), transparent 34%),
        linear-gradient(145deg, rgba(255,255,255,.98), rgba(255,249,236,.96));
    box-shadow: 0 28px 90px rgba(0,0,0,.30);
    opacity: 1;
    transform: translateY(0) scale(1);
    transition: opacity .2s ease, transform .2s ease;
}

body[data-product-page] .video-modal[aria-hidden="true"] .video-modal-dialog {
    opacity: 0;
    transform: translateY(12px) scale(.98);
}

body[data-product-page] .video-modal-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #b97f00;
    font: 900 13px/1 var(--font-ui);
    text-transform: uppercase;
}

body[data-product-page] .video-modal-eyebrow::before {
    content: "";
    width: 9px;
    height: 9px;
    border-radius: 999px;
    background: #fdb912;
}

body[data-product-page] .video-modal-dialog h2 {
    margin: 12px 64px 20px 0;
    color: #07151c;
    font-family: var(--font-ui);
    font-size: clamp(26px, 3vw, 42px);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: 0;
}

body[data-product-page] .video-modal-frame {
    overflow: hidden;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 22px;
    background: #07151c;
    box-shadow: 0 18px 50px rgba(7,21,28,.20);
}

body[data-product-page] .video-modal-frame iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

body[data-product-page] .video-modal-close,
html[data-theme="dark"] body[data-product-page] .video-modal-close {
    top: 24px !important;
    right: 24px !important;
    width: 46px !important;
    height: 46px !important;
    padding: 0 !important;
    display: block !important;
    position: absolute !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: #fff !important;
    color: transparent !important;
    font-size: 0 !important;
    line-height: 0 !important;
    box-shadow: 0 8px 20px rgba(7,21,28,.08) !important;
    cursor: pointer;
    transition: background .2s ease, transform .2s ease;
}

body[data-product-page] .video-modal-close span {
    display: none !important;
}

body[data-product-page] .video-modal-close::before,
body[data-product-page] .video-modal-close::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 18px;
    height: 3px;
    border-radius: 999px;
    background: #b91c1c;
    transform-origin: center;
    transition: background .2s ease;
}

body[data-product-page] .video-modal-close::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

body[data-product-page] .video-modal-close::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

body[data-product-page] .video-modal-close:hover,
body[data-product-page] .video-modal-close:focus-visible,
html[data-theme="dark"] body[data-product-page] .video-modal-close:hover,
html[data-theme="dark"] body[data-product-page] .video-modal-close:focus-visible {
    transform: scale(1.04);
    background: #b91c1c !important;
}

body[data-product-page] .video-modal-close:hover::before,
body[data-product-page] .video-modal-close:hover::after,
body[data-product-page] .video-modal-close:focus-visible::before,
body[data-product-page] .video-modal-close:focus-visible::after {
    background: #fff;
}

html[data-theme="dark"] body[data-product-page] .video-modal-dialog {
    border-color: rgba(253,185,18,.16);
    background:
        radial-gradient(circle at 92% 0%, rgba(253,185,18,.18), transparent 36%),
        linear-gradient(145deg, rgba(17,31,36,.98), rgba(7,21,28,.98));
}

html[data-theme="dark"] body[data-product-page] .video-modal-dialog h2 {
    color: #f7f2e7;
}

@media (max-width: 640px) {
    body[data-product-page] .video-modal {
        padding: 14px;
    }

    body[data-product-page] .video-modal-dialog {
        padding: 22px 16px 16px;
        border-radius: 24px;
    }

    body[data-product-page] .video-modal-dialog h2 {
        margin-right: 56px;
        font-size: 22px;
    }

    body[data-product-page] .video-modal-frame {
        border-radius: 16px;
    }
}

/* EOF final: draw video icon without the PNG white fringe. */
body[data-product-page] .product-gallery > .detail-video-card .video-player-art,
body[data-product-page] .video-player-art {
    position: relative !important;
    width: 58px !important;
    height: 42px !important;
    min-width: 58px !important;
    overflow: visible !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

body[data-product-page] .video-player-art img {
    display: none !important;
}

body[data-product-page] .video-player-art::before {
    content: "";
    position: absolute;
    inset: 4px 2px;
    border: 3px solid #07151c;
    border-radius: 11px;
    background: #ff1616;
    box-shadow: none;
}

body[data-product-page] .video-player-art::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-left: 16px solid #fff;
    filter: drop-shadow(2px 0 0 #07151c) drop-shadow(-1px 0 0 #07151c) drop-shadow(0 1px 0 #07151c) drop-shadow(0 -1px 0 #07151c);
    transform: translate(-35%, -50%);
}

/* EOF final: soften dark hero borders and use uploaded round video PNG. */
html[data-theme="dark"] body[data-product-page] .product-detail-shell {
    border: 1px solid rgba(255,255,255,.16) !important;
    box-shadow:
        0 0 0 1px rgba(253,185,18,.05) inset,
        0 18px 70px rgba(0,0,0,.34) !important;
}

html[data-theme="dark"] body[data-product-page] .gallery-main {
    border-color: rgba(255,255,255,.18) !important;
    box-shadow: 0 0 0 1px rgba(253,185,18,.04) inset !important;
}

html[data-theme="dark"] body[data-product-page] .variant-option,
html[data-theme="dark"] body[data-product-page] .detail-info-panel,
html[data-theme="dark"] body[data-product-page] .product-aide-card {
    border-color: rgba(255,255,255,.14) !important;
}

body[data-product-page] .product-gallery > .detail-video-card .video-player-art,
body[data-product-page] .video-player-art {
    position: relative !important;
    display: grid !important;
    place-items: center !important;
    width: 58px !important;
    height: 58px !important;
    min-width: 58px !important;
    overflow: hidden !important;
    border: 1px solid rgba(253,185,18,.30) !important;
    border-radius: 999px !important;
    background:
        radial-gradient(circle at 30% 22%, rgba(255,255,255,.95), rgba(255,255,255,.78) 44%, rgba(255,247,226,.92)) !important;
    box-shadow: 0 12px 28px rgba(7,21,28,.10) !important;
}

body[data-product-page] .video-player-art::before,
body[data-product-page] .video-player-art::after {
    display: none !important;
    content: none !important;
}

body[data-product-page] .video-player-art img {
    display: block !important;
    width: 38px !important;
    height: 38px !important;
    object-fit: contain !important;
    border-radius: 0 !important;
}

html[data-theme="dark"] body[data-product-page] .video-player-art {
    border-color: rgba(253,185,18,.35) !important;
    background:
        radial-gradient(circle at 30% 22%, rgba(255,255,255,.18), rgba(255,255,255,.08) 44%, rgba(7,21,28,.68)) !important;
    box-shadow: 0 14px 30px rgba(0,0,0,.28) !important;
}

/* EOF final: lock product detail dark-mode polish. */
html[data-theme="dark"] body[data-product-page] .product-detail-shell {
    border-color: rgba(255,255,255,.10) !important;
    box-shadow:
        0 0 0 1px rgba(253,185,18,.035) inset,
        0 18px 70px rgba(0,0,0,.34) !important;
}

html[data-theme="dark"] body[data-product-page] .gallery-main {
    border: 1px solid rgba(255,255,255,.10) !important;
    box-shadow: 0 0 0 1px rgba(253,185,18,.025) inset !important;
}

body[data-product-page] .product-gallery > .detail-video-card .video-player-art,
body[data-product-page] .video-player-art {
    width: 58px !important;
    height: 58px !important;
    min-width: 58px !important;
    overflow: visible !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: transparent !important;
    box-shadow: none !important;
}

body[data-product-page] .video-player-art img {
    width: 56px !important;
    height: 56px !important;
    transform: none !important;
}

html[data-theme="dark"] body[data-product-page] .video-player-art {
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

html[data-theme="dark"] body[data-product-page] .customization-dialog {
    color: #f7f2e7 !important;
    border-color: rgba(255,255,255,.12) !important;
    background:
        radial-gradient(circle at 92% 0%, rgba(253,185,18,.13), transparent 34%),
        linear-gradient(145deg, rgba(17,31,36,.98), rgba(7,21,28,.98)) !important;
    box-shadow: 0 28px 90px rgba(0,0,0,.58) !important;
}

html[data-theme="dark"] body[data-product-page] .customization-head,
html[data-theme="dark"] body[data-product-page] .customization-actions {
    border-color: rgba(255,255,255,.10) !important;
    background: rgba(255,255,255,.02) !important;
}

html[data-theme="dark"] body[data-product-page] .customization-head h2,
html[data-theme="dark"] body[data-product-page] .customization-form label,
html[data-theme="dark"] body[data-product-page] .custom-field-check,
html[data-theme="dark"] body[data-product-page] .custom-field-check span {
    color: #f7f2e7 !important;
}

html[data-theme="dark"] body[data-product-page] .customization-head p,
html[data-theme="dark"] body[data-product-page] .custom-preview p {
    color: rgba(247,242,231,.68) !important;
}

html[data-theme="dark"] body[data-product-page] .custom-preview-card,
html[data-theme="dark"] body[data-product-page] .custom-field-check {
    border-color: rgba(255,255,255,.12) !important;
    background: rgba(255,255,255,.055) !important;
}

html[data-theme="dark"] body[data-product-page] .custom-field {
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

html[data-theme="dark"] body[data-product-page] .custom-field,
html[data-theme="dark"] body[data-product-page] .custom-field input[type="text"],
html[data-theme="dark"] body[data-product-page] .custom-field input[type="file"],
html[data-theme="dark"] body[data-product-page] .custom-field select {
    color: #f7f2e7 !important;
}

html[data-theme="dark"] body[data-product-page] .custom-field input[type="text"],
html[data-theme="dark"] body[data-product-page] .custom-field input[type="file"],
html[data-theme="dark"] body[data-product-page] .custom-field select {
    border-color: rgba(255,255,255,.13) !important;
    background: rgba(255,255,255,.06) !important;
}

html[data-theme="dark"] body[data-product-page] .custom-field::placeholder {
    color: rgba(247,242,231,.48) !important;
}

html[data-theme="dark"] body[data-product-page] .custom-field input::placeholder {
    color: rgba(247,242,231,.48) !important;
}

/* EOF final: fix dark product detail clipping and over-bright borders. */
body[data-product-page] .product-gallery,
body[data-product-page] .product-gallery > .detail-video-card {
    overflow: visible !important;
}

body[data-product-page] .product-gallery > .detail-video-card .video-player-art {
    margin-top: 0 !important;
}

html[data-theme="dark"] body[data-product-page] .gallery-main {
    border: 0 !important;
    box-shadow: none !important;
    outline: 0 !important;
}

html[data-theme="dark"] body[data-product-page] .product-detail-shell {
    border-color: rgba(255,255,255,.065) !important;
}

html[data-theme="dark"] body[data-product-page] .custom-field:hover,
html[data-theme="dark"] body[data-product-page] .custom-field:focus-within {
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

html[data-theme="dark"] body[data-product-page] .customization-fields > .custom-field,
html[data-theme="dark"] body[data-product-page] .customization-fields > .custom-field:hover,
html[data-theme="dark"] body[data-product-page] .customization-fields > .custom-field:focus-within {
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    background-image: none !important;
    box-shadow: none !important;
    filter: none !important;
}

html[data-theme="dark"] body[data-product-page] .customization-fields > .custom-field input[type="text"],
html[data-theme="dark"] body[data-product-page] .customization-fields > .custom-field select,
html[data-theme="dark"] body[data-product-page] .customization-fields > .custom-field input[type="file"] {
    box-shadow: none !important;
}

/* EOF final: requested hard fixes for gallery, video row and dark form interactions. */
body[data-product-page] .gallery-main {
    border: 0 !important;
    outline: 0 !important;
}

body[data-product-page] .product-gallery > .detail-video-card {
    grid-template-columns: 64px minmax(0, 1fr) !important;
    align-items: center !important;
    gap: 18px !important;
    min-height: 64px !important;
}

body[data-product-page] .product-gallery > .detail-video-card .video-player-art {
    align-self: center !important;
    justify-self: center !important;
    margin: 0 !important;
}

body[data-product-page] .product-gallery > .detail-video-card > span:last-child {
    align-self: center !important;
    display: grid !important;
    gap: 4px !important;
}

html[data-theme="dark"] body[data-product-page] .customization-fields > .custom-field:hover {
    color: #fdb912 !important;
}

html[data-theme="dark"] body[data-product-page] .customization-fields > .custom-field:hover input[type="text"],
html[data-theme="dark"] body[data-product-page] .customization-fields > .custom-field:hover select,
html[data-theme="dark"] body[data-product-page] .customization-fields > .custom-field:hover input[type="file"] {
    border-color: rgba(253,185,18,.72) !important;
    background:
        linear-gradient(90deg, rgba(253,185,18,.18), rgba(253,185,18,0) 30%),
        rgba(255,255,255,.06) !important;
    box-shadow: inset 4px 0 0 rgba(253,185,18,.75) !important;
}

html[data-theme="dark"] body[data-product-page] .customization-fields > .custom-field input[type="text"]:focus,
html[data-theme="dark"] body[data-product-page] .customization-fields > .custom-field select:focus {
    border-color: rgba(253,185,18,.95) !important;
    background:
        linear-gradient(90deg, rgba(253,185,18,.24), rgba(253,185,18,0) 34%),
        rgba(255,255,255,.07) !important;
    box-shadow: inset 4px 0 0 rgba(253,185,18,.95) !important;
}

/* EOF final: make reviews panel match the page/card grid width. */
body[data-product-page] .reviews-panel {
    width: 100% !important;
    max-width: none !important;
    box-sizing: border-box !important;
}

/* EOF final: compact auth/cart scale. */
body[data-auth-page] .login-simple-page {
    width: min(100% - 32px, 520px) !important;
    gap: 24px !important;
    padding: clamp(28px, 6vh, 58px) 0 0 !important;
}

body[data-auth-page] .login-simple-logo img {
    width: min(230px, 58vw) !important;
    max-height: 68px !important;
}

body[data-auth-page] .login-simple-layout {
    grid-template-columns: 1fr !important;
    gap: 0 !important;
    align-items: start !important;
}

body[data-auth-page] .login-simple-card {
    border-radius: 20px !important;
    padding: 22px !important;
    box-shadow: 0 18px 48px rgba(7,21,28,.10) !important;
}

body[data-auth-page] .login-tabs {
    margin-bottom: 18px !important;
    border-radius: 14px !important;
}

body[data-auth-page] .login-tabs button {
    min-height: 38px !important;
    border-radius: 10px !important;
    font-size: 14px !important;
}

body[data-auth-page] .login-panel {
    gap: 11px !important;
}

body[data-auth-page] .simple-field {
    gap: 6px !important;
    font-size: 14px !important;
}

body[data-auth-page] .simple-field input {
    min-height: 46px !important;
    border-radius: 8px !important;
    font-size: 14px !important;
    padding: 0 13px !important;
}

body[data-auth-page] .simple-line {
    font-size: 14px !important;
}

body[data-auth-page] .simple-line input {
    width: 20px !important;
    height: 20px !important;
}

body[data-auth-page] .simple-submit {
    min-height: 48px !important;
    margin-top: 2px !important;
    border-radius: 8px !important;
    font-size: 14px !important;
}

body[data-auth-page] .login-divider {
    margin: 18px 0 14px !important;
    gap: 14px !important;
    font-size: 14px !important;
}

body[data-auth-page] .social-login-row {
    gap: 8px !important;
}

body[data-auth-page] .social-login {
    min-height: 44px !important;
    border-radius: 8px !important;
    font-size: 13px !important;
}

.guest-inline {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 14px;
    align-items: center;
    margin-top: 18px;
    padding: 14px;
    border: 1px solid rgba(7,21,28,.08);
    border-radius: 14px;
    background:
        radial-gradient(circle at 100% 0%, rgba(253,185,18,.14), transparent 42%),
        #fbfaf7;
}

.guest-inline span {
    display: block;
    margin-bottom: 4px;
    color: #bd8300;
    font-weight: 900;
    font-size: 11px;
    letter-spacing: .02em;
}

.guest-inline strong {
    display: block;
    color: #07151c;
    font-size: 17px;
    line-height: 1.15;
    font-weight: 900;
}

.guest-inline p {
    margin: 4px 0 0;
    color: #6c757d;
    font-size: 13px;
    line-height: 1.35;
}

.guest-inline-link {
    min-height: 42px;
    display: inline-grid;
    place-items: center;
    padding: 0 16px;
    border-radius: 10px;
    background: var(--primary);
    color: #07151c;
    font-weight: 900;
    white-space: nowrap;
}

body[data-auth-page] .guest-card span {
    font-size: 13px !important;
}

body[data-auth-page] .guest-card h1 {
    margin: 12px 0 10px !important;
    font-size: clamp(32px, 3vw, 42px) !important;
    line-height: 1 !important;
}

body[data-auth-page] .guest-card p {
    margin-bottom: 20px !important;
    font-size: 14px !important;
    line-height: 1.55 !important;
}

@media (max-width: 760px) {
    body[data-auth-page] .login-simple-layout {
        grid-template-columns: 1fr !important;
    }

    body[data-auth-page] .login-simple-card,
    body[data-auth-page] .guest-card {
        padding: 20px !important;
    }
}

@media (max-width: 430px) {
    .guest-inline {
        grid-template-columns: 1fr;
    }

    .guest-inline-link {
        width: 100%;
    }
}

html[data-theme="dark"] .guest-inline {
    border-color: rgba(255,255,255,.10);
    background:
        radial-gradient(circle at 100% 0%, rgba(253,185,18,.13), transparent 44%),
        rgba(255,255,255,.055);
}

html[data-theme="dark"] .guest-inline strong {
    color: #f7f2e7;
}

html[data-theme="dark"] .guest-inline p {
    color: rgba(247,242,231,.62);
}

/* EOF final: login page must stay simple, not commerce-hero style. */
body[data-auth-page] {
    min-height: 100vh !important;
    background:
        linear-gradient(180deg, #eef1f3 0 48%, #ffffff 48% 100%),
        radial-gradient(circle at 50% 18%, rgba(253,185,18,.12), transparent 30%) !important;
}

html[data-theme="dark"] body[data-auth-page] {
    background:
        linear-gradient(180deg, #001820 0 48%, #001016 48% 100%),
        radial-gradient(circle at 50% 18%, rgba(253,185,18,.12), transparent 30%) !important;
}

/* Simple auth screen */
body[data-auth-page] {
    min-height: 100vh;
    background:
        linear-gradient(180deg, #eef1f3 0 48%, #ffffff 48% 100%),
        radial-gradient(circle at 50% 18%, rgba(253,185,18,.12), transparent 30%) !important;
}

.login-simple-page {
    min-height: auto;
    display: grid;
    grid-template-rows: auto auto;
    justify-items: center;
    align-content: center;
    gap: 28px;
    width: min(100% - 32px, 860px);
    margin: 0 auto;
    padding: clamp(28px, 5vh, 58px) 0 clamp(34px, 6vh, 72px);
}

body[data-auth-page] .login-simple-page {
    padding-bottom: 0 !important;
}

body[data-auth-page] .he-site-footer {
    margin-top: 0 !important;
}

.login-simple-logo img {
    width: min(310px, 72vw);
    max-height: 92px;
    object-fit: contain;
    display: block;
}

.login-simple-layout {
    display: grid;
    grid-template-columns: minmax(320px, 520px) minmax(260px, 320px);
    gap: 20px;
    align-items: stretch;
    width: 100%;
}

.login-simple-card,
.guest-card {
    border: 1px solid rgba(7,21,28,.08);
    border-radius: 24px;
    background: rgba(255,255,255,.96);
    box-shadow: 0 24px 74px rgba(7,21,28,.13);
}

.login-simple-card {
    padding: 30px;
}

.guest-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 30px;
}

.login-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 22px;
    padding: 6px;
    border-radius: 18px;
    background: #f2f4f5;
}

.login-tabs button {
    min-height: 44px;
    border: 0;
    border-radius: 14px;
    background: transparent;
    color: #6c757d;
    font: inherit;
    font-weight: 900;
    cursor: pointer;
}

.login-tabs button.is-active {
    background: #fff;
    color: #07151c;
    box-shadow: 0 8px 22px rgba(7,21,28,.08);
}

.login-panel {
    display: grid;
    gap: 14px;
}

.login-panel[hidden] {
    display: none !important;
}

.simple-field {
    display: grid;
    gap: 8px;
    color: #07151c;
    font-weight: 900;
}

.simple-field input {
    width: 100%;
    min-height: 58px;
    border: 1px solid rgba(7,21,28,.16);
    border-radius: 8px;
    background: #fff;
    color: #07151c;
    padding: 0 16px;
    font: inherit;
    font-weight: 700;
    transition: border-color .18s ease, box-shadow .18s ease;
}

.simple-field input:focus {
    outline: 0;
    border-color: rgba(253,185,18,.95);
    box-shadow: inset 4px 0 0 rgba(253,185,18,.9);
}

.password-input-wrap {
    position: relative;
    display: block;
}

.password-input-wrap input {
    padding-right: 54px !important;
}

.password-toggle {
    position: absolute;
    top: 50%;
    right: 12px;
    width: 32px;
    height: 32px;
    display: inline-grid;
    place-items: center;
    border: 0;
    padding: 0;
    background: transparent;
    color: #687781;
    cursor: pointer;
    transform: translateY(-50%);
    transition: color .18s ease;
}

.password-toggle::after {
    content: "";
    position: absolute;
    width: 20px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
    opacity: 0;
    transform: rotate(-42deg) scaleX(.7);
    transition: opacity .18s ease, transform .18s ease;
}

.password-toggle:hover,
.password-toggle[aria-pressed="true"] {
    background: transparent;
    color: #07151c;
}

.password-toggle[aria-pressed="true"]::after {
    opacity: 1;
    transform: rotate(-42deg) scaleX(1);
}

.password-toggle:focus-visible {
    outline: 2px solid rgba(253, 185, 18, .55);
    outline-offset: 2px;
}

.password-toggle svg {
    width: 19px;
    height: 19px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.simple-field-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.simple-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    color: #27343a;
    font-weight: 800;
}

.simple-line label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.simple-line input {
    width: 22px;
    height: 22px;
    accent-color: var(--primary);
}

.simple-line a,
.guest-card span {
    color: #bd8300;
    font-weight: 900;
}

.simple-submit {
    min-height: 58px;
    width: 100%;
    border: 0;
    margin-top: 4px;
    cursor: pointer;
}

.login-divider {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 18px;
    align-items: center;
    margin: 24px 0 18px;
    color: #6c757d;
    font-weight: 800;
}

.login-divider::before,
.login-divider::after {
    content: "";
    height: 1px;
    background: rgba(7,21,28,.16);
}

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

.social-login {
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 1px solid rgba(7,21,28,.14);
    border-radius: 8px;
    background: #fff;
    color: #07151c;
    font: inherit;
    font-weight: 900;
    cursor: pointer;
    text-decoration: none;
}

.social-login:hover {
    text-decoration: none;
}

.social-login:disabled,
.social-login[disabled] {
    cursor: not-allowed;
    opacity: .52;
}

.login-alert {
    margin-bottom: 16px;
    border: 1px solid rgba(201,48,44,.18);
    border-radius: 12px;
    background: #fff5f5;
    color: #a12622;
    padding: 12px 14px;
    font-weight: 800;
    line-height: 1.45;
}

.login-alert-success {
    border-color: rgba(44, 142, 71, .2);
    background: #edf8ef;
    color: #206b35;
}

.login-flow-copy {
    display: grid;
    gap: 8px;
}

.login-flow-copy h1 {
    margin: 0;
    font-family: Manrope, sans-serif;
    font-size: clamp(24px, 3vw, 34px);
    line-height: 1.12;
    letter-spacing: 0;
    color: var(--ink);
}

.login-flow-copy p {
    margin: 0;
    color: rgba(24, 36, 42, .7);
    font-size: 14px;
    line-height: 1.6;
}

.login-secondary-link {
    justify-self: center;
    color: #7a5a09;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
}

.password-rules {
    grid-column: 1 / -1;
    display: grid;
    gap: 8px;
    margin: -2px 0 4px;
    padding: 0;
    list-style: none;
}

.password-rules li {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #a12622;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.35;
}

.password-rules li::before {
    content: "";
    width: 9px;
    height: 9px;
    border-radius: 999px;
    background: currentColor;
    box-shadow: 0 0 0 4px color-mix(in srgb, currentColor 12%, transparent);
}

.password-rules li.is-valid {
    color: #237a3a;
}

[data-password-submit]:disabled {
    cursor: not-allowed;
    opacity: .55;
    filter: saturate(.55);
}

.google-login .google-mark {
    width: 26px;
    height: 26px;
    flex: 0 0 26px;
    display: block;
}

.apple-login svg {
    width: 26px;
    height: 26px;
    fill: currentColor;
}

.guest-card h1 {
    margin: 16px 0 14px;
    font-family: "Romanica", "Manrope", sans-serif;
    font-size: clamp(44px, 5vw, 64px);
    line-height: .92;
    font-weight: 400;
    color: #07151c;
}

.guest-card p {
    color: #6c757d;
    line-height: 1.65;
    margin-bottom: 24px;
}

html[data-theme="dark"] body[data-auth-page] {
    background:
        linear-gradient(180deg, #001820 0 48%, #001016 48% 100%),
        radial-gradient(circle at 50% 18%, rgba(253,185,18,.12), transparent 30%) !important;
}

html[data-theme="dark"] .login-simple-card,
html[data-theme="dark"] .guest-card {
    border-color: rgba(255,255,255,.10);
    background: linear-gradient(145deg, rgba(29,42,45,.94), rgba(5,22,28,.96));
    box-shadow: 0 26px 80px rgba(0,0,0,.32);
}

html[data-theme="dark"] .login-tabs {
    background: rgba(255,255,255,.06);
}

html[data-theme="dark"] .login-tabs button {
    color: rgba(247,242,231,.66);
}

html[data-theme="dark"] .login-tabs button.is-active,
html[data-theme="dark"] .social-login,
html[data-theme="dark"] .simple-field input {
    background: rgba(255,255,255,.07);
    color: #f7f2e7;
    border-color: rgba(255,255,255,.13);
}

html[data-theme="dark"] .simple-field,
html[data-theme="dark"] .simple-line,
html[data-theme="dark"] .guest-card h1 {
    color: #f7f2e7;
}

html[data-theme="dark"] .guest-card p {
    color: rgba(247,242,231,.64);
}

html[data-theme="dark"] .login-divider::before,
html[data-theme="dark"] .login-divider::after {
    background: rgba(255,255,255,.14);
}

@media (max-width: 760px) {
    .login-simple-layout {
        grid-template-columns: 1fr;
    }

    .login-simple-card,
    .guest-card {
        border-radius: 20px;
        padding: 22px;
    }
}

@media (max-width: 430px) {
    .login-simple-page {
        width: min(100% - 20px, 430px);
    }

    .simple-field-grid,
    .social-login-row {
        grid-template-columns: 1fr;
    }

    .simple-line {
        align-items: flex-start;
        flex-direction: column;
    }
}

/* Commerce pages: login, cart and checkout foundation. */
body[data-auth-page],
body[data-cart-page] {
    background:
        radial-gradient(circle at 78% 8%, rgba(253,185,18,.12), transparent 26%),
        linear-gradient(180deg, #f7f8f9 0%, #eef2f4 100%);
    color: var(--text-main);
}

.commerce-page {
    width: min(1280px, calc(100% - 48px));
    margin: 0 auto;
    padding: 34px 0 76px;
}

.commerce-breadcrumb {
    margin-bottom: 22px;
}

.commerce-hero {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 28px;
    align-items: end;
    margin-bottom: 26px;
    padding: clamp(26px, 4vw, 48px);
    border: 1px solid rgba(7,21,28,.08);
    border-radius: 42px;
    background:
        radial-gradient(circle at 88% 6%, rgba(253,185,18,.18), transparent 30%),
        linear-gradient(135deg, rgba(255,255,255,.96), rgba(248,241,225,.78));
    box-shadow: 0 22px 70px rgba(7,21,28,.08);
}

.commerce-hero h1 {
    max-width: 840px;
    margin: 18px 0 12px;
    font-family: "Romanica", "Manrope", sans-serif;
    font-size: clamp(44px, 7vw, 92px);
    line-height: .94;
    font-weight: 400;
    letter-spacing: 0;
    color: #07151c;
}

.commerce-hero p {
    max-width: 720px;
    color: #5f6a70;
    font-size: clamp(16px, 1.3vw, 20px);
    line-height: 1.65;
}

.commerce-mini-steps,
.checkout-steps {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
}

.commerce-mini-steps span,
.checkout-steps li {
    list-style: none;
    min-height: 42px;
    display: inline-grid;
    place-items: center;
    padding: 0 18px;
    border: 1px solid rgba(7,21,28,.08);
    border-radius: 999px;
    background: rgba(255,255,255,.74);
    color: #6c757d;
    font-weight: 800;
    white-space: nowrap;
}

.checkout-steps li.is-active {
    background: var(--primary);
    color: #07151c;
    border-color: transparent;
}

.auth-layout {
    display: grid;
    grid-template-columns: minmax(300px, .86fr) minmax(360px, 1fr) minmax(260px, .68fr);
    gap: 20px;
    align-items: stretch;
}

.commerce-card,
.summary-card,
.cart-item {
    border: 1px solid rgba(7,21,28,.09);
    border-radius: 28px;
    background:
        radial-gradient(circle at 92% 0%, rgba(253,185,18,.11), transparent 28%),
        rgba(255,255,255,.9);
    box-shadow: 0 18px 50px rgba(7,21,28,.07);
}

.auth-card,
.auth-support,
.summary-card {
    padding: clamp(22px, 3vw, 34px);
}

.commerce-card-head {
    margin-bottom: 22px;
}

.commerce-card-head span,
.cart-section-head span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    color: #bd8300;
    font-weight: 900;
    text-transform: uppercase;
    font-size: 13px;
}

.commerce-card-head span::before,
.cart-section-head span::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: var(--primary);
}

.commerce-card-head h2,
.cart-section-head h2 {
    font-family: "Romanica", "Manrope", sans-serif;
    font-size: clamp(34px, 4vw, 56px);
    line-height: .98;
    font-weight: 400;
    color: #07151c;
}

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

.form-field {
    display: grid;
    gap: 8px;
    margin-bottom: 15px;
    color: #07151c;
    font-weight: 800;
}

.commerce-input {
    width: 100%;
    min-height: 58px;
    border: 1px solid rgba(7,21,28,.12);
    border-radius: 16px;
    background: rgba(255,255,255,.92);
    color: #07151c;
    font: inherit;
    font-size: 16px;
    font-weight: 700;
    padding: 0 18px;
    transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.commerce-input::placeholder {
    color: rgba(7,21,28,.42);
}

.commerce-input:hover,
.commerce-input:focus {
    outline: 0;
    border-color: rgba(253,185,18,.9);
    background:
        linear-gradient(90deg, rgba(253,185,18,.16), rgba(253,185,18,0) 34%),
        rgba(255,255,255,.96);
    box-shadow: inset 4px 0 0 rgba(253,185,18,.88);
}

.form-row-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin: 2px 0 18px;
}

.form-row-line a,
.commerce-ghost-link,
.cart-remove {
    color: #bd8300;
    font-weight: 900;
}

.commerce-check {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #27343a;
    font-weight: 800;
    line-height: 1.35;
}

.commerce-check input {
    width: 24px;
    height: 24px;
    accent-color: var(--primary);
    flex: 0 0 auto;
}

.commerce-submit,
.summary-checkout {
    width: 100%;
    border: 0;
    cursor: pointer;
    text-align: center;
}

.auth-support p {
    color: #637078;
    line-height: 1.65;
    margin-bottom: 20px;
}

.auth-trust-list {
    display: grid;
    gap: 10px;
    margin-top: 24px;
}

.auth-trust-list span,
.payment-preview span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #445158;
    font-weight: 800;
}

.auth-trust-list span::before,
.payment-preview span::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: var(--primary);
}

.cart-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 390px);
    gap: 24px;
    align-items: start;
}

.cart-column {
    min-width: 0;
}

.cart-section-head {
    margin: 6px 0 18px;
}

.cart-list {
    display: grid;
    gap: 16px;
}

.cart-item {
    display: grid;
    grid-template-columns: 128px minmax(0, 1fr) minmax(156px, auto);
    gap: 20px;
    align-items: center;
    padding: 18px;
}

.cart-item-media {
    overflow: hidden;
    aspect-ratio: 1;
    border-radius: 18px;
    background: #eef2f4;
}

.cart-item-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.cart-item-category {
    display: block;
    color: #7d878d;
    font-weight: 900;
    font-size: 12px;
    letter-spacing: .06em;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.cart-item h2 {
    max-width: 640px;
    margin-bottom: 12px;
    font-size: clamp(18px, 1.8vw, 24px);
    line-height: 1.25;
    font-weight: 900;
}

.cart-item h2 a {
    color: inherit;
}

.cart-custom-list {
    display: grid;
    gap: 6px;
}

.cart-custom-list div {
    display: grid;
    grid-template-columns: minmax(150px, 230px) minmax(0, 1fr);
    gap: 8px;
}

.cart-custom-list dt {
    color: #7d878d;
    font-size: 13px;
    font-weight: 800;
}

.cart-custom-list dd {
    color: #27343a;
    font-weight: 800;
}

.cart-item-side {
    display: grid;
    justify-items: end;
    gap: 12px;
}

.cart-price {
    display: grid;
    justify-items: end;
    gap: 2px;
}

.cart-price strong,
.cart-line-total,
.summary-total strong {
    color: #149019;
    font-size: 22px;
    font-weight: 900;
}

.cart-price span {
    color: #aeb7bd;
    text-decoration: line-through;
    font-weight: 700;
}

.qty-control {
    display: inline-grid;
    grid-template-columns: 38px 46px 38px;
    align-items: center;
    overflow: hidden;
    border: 1px solid rgba(7,21,28,.1);
    border-radius: 999px;
    background: rgba(255,255,255,.78);
}

.qty-control button {
    height: 38px;
    border: 0;
    background: transparent;
    cursor: pointer;
    color: #07151c;
    font-size: 20px;
    font-weight: 900;
}

.qty-control output {
    text-align: center;
    font-weight: 900;
}

.cart-remove {
    border: 0;
    background: transparent;
    cursor: pointer;
}

.summary-card {
    position: sticky;
    top: 18px;
}

.summary-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 12px 0;
    color: #6c757d;
    font-weight: 800;
}

.summary-row strong {
    color: #07151c;
    font-size: 18px;
    font-weight: 900;
}

.shipping-note {
    margin: 4px 0 10px;
    padding: 12px 14px;
    border-radius: 14px;
    background: rgba(253,185,18,.13);
    color: #8a6100;
    font-weight: 800;
    line-height: 1.35;
}

.summary-divider {
    height: 1px;
    margin: 8px 0;
    background: rgba(7,21,28,.1);
}

.summary-total span {
    color: #07151c;
    font-size: 18px;
}

.summary-checkout {
    margin-top: 16px;
}

.payment-preview {
    display: grid;
    gap: 10px;
    margin-top: 20px;
}

.empty-cart {
    padding: clamp(28px, 5vw, 56px);
    text-align: center;
}

.empty-cart h2 {
    font-family: "Romanica", "Manrope", sans-serif;
    font-size: clamp(42px, 6vw, 74px);
    font-weight: 400;
}

.empty-cart p {
    margin: 12px auto 24px;
    max-width: 520px;
    color: #637078;
    line-height: 1.65;
}

html[data-theme="dark"] body[data-auth-page],
html[data-theme="dark"] body[data-cart-page] {
    background:
        radial-gradient(circle at 78% 8%, rgba(253,185,18,.10), transparent 28%),
        linear-gradient(180deg, #001820 0%, #001016 100%);
    color: #f7f2e7;
}

html[data-theme="dark"] .commerce-hero,
html[data-theme="dark"] .commerce-card,
html[data-theme="dark"] .summary-card,
html[data-theme="dark"] .cart-item {
    border-color: rgba(255,255,255,.10);
    background:
        radial-gradient(circle at 92% 0%, rgba(253,185,18,.11), transparent 32%),
        linear-gradient(145deg, rgba(29,42,45,.92), rgba(5,22,28,.92));
    box-shadow: 0 22px 70px rgba(0,0,0,.26);
}

html[data-theme="dark"] .commerce-hero h1,
html[data-theme="dark"] .commerce-card-head h2,
html[data-theme="dark"] .cart-section-head h2,
html[data-theme="dark"] .form-field,
html[data-theme="dark"] .commerce-check,
html[data-theme="dark"] .cart-item h2,
html[data-theme="dark"] .cart-custom-list dd,
html[data-theme="dark"] .summary-total span,
html[data-theme="dark"] .summary-row strong,
html[data-theme="dark"] .qty-control button,
html[data-theme="dark"] .empty-cart h2 {
    color: #f7f2e7;
}

html[data-theme="dark"] .commerce-hero p,
html[data-theme="dark"] .auth-support p,
html[data-theme="dark"] .cart-custom-list dt,
html[data-theme="dark"] .cart-item-category,
html[data-theme="dark"] .summary-row,
html[data-theme="dark"] .empty-cart p {
    color: rgba(247,242,231,.62);
}

html[data-theme="dark"] .commerce-mini-steps span,
html[data-theme="dark"] .checkout-steps li,
html[data-theme="dark"] .qty-control,
html[data-theme="dark"] .commerce-input {
    border-color: rgba(255,255,255,.12);
    background: rgba(255,255,255,.06);
    color: #f7f2e7;
}

html[data-theme="dark"] .commerce-input::placeholder {
    color: rgba(247,242,231,.48);
}

html[data-theme="dark"] .commerce-input:hover,
html[data-theme="dark"] .commerce-input:focus {
    border-color: rgba(253,185,18,.78);
    background:
        linear-gradient(90deg, rgba(253,185,18,.18), rgba(253,185,18,0) 34%),
        rgba(255,255,255,.07);
}

html[data-theme="dark"] .commerce-mini-steps span,
html[data-theme="dark"] .checkout-steps li {
    color: rgba(247,242,231,.76);
}

html[data-theme="dark"] .checkout-steps li.is-active {
    color: #07151c;
}

html[data-theme="dark"] .shipping-note {
    background: rgba(253,185,18,.14);
    color: #f3c650;
}

html[data-theme="dark"] .summary-divider {
    background: rgba(255,255,255,.10);
}

html[data-theme="dark"] .auth-trust-list span,
html[data-theme="dark"] .payment-preview span {
    color: rgba(247,242,231,.76);
}

@media (max-width: 1080px) {
    .auth-layout,
    .cart-layout {
        grid-template-columns: 1fr;
    }

    .summary-card {
        position: static;
    }
}

@media (max-width: 760px) {
    .commerce-page {
        width: min(100% - 24px, 680px);
        padding-top: 22px;
    }

    .commerce-hero {
        grid-template-columns: 1fr;
        border-radius: 28px;
        padding: 24px;
    }

    .commerce-hero h1 {
        font-size: clamp(42px, 13vw, 62px);
    }

    .commerce-mini-steps,
    .checkout-steps {
        justify-content: flex-start;
    }

    .auth-layout {
        gap: 14px;
    }

    .field-grid {
        grid-template-columns: 1fr;
    }

    .cart-item {
        grid-template-columns: 96px minmax(0, 1fr);
        align-items: start;
    }

    .cart-item-side {
        grid-column: 1 / -1;
        grid-template-columns: 1fr auto;
        justify-items: stretch;
        align-items: center;
    }

    .cart-price {
        justify-items: start;
    }

    .cart-line-total {
        justify-self: end;
    }

    .cart-custom-list div {
        grid-template-columns: 1fr;
        gap: 2px;
    }
}

@media (max-width: 410px) {
    .commerce-page {
        width: calc(100% - 18px);
    }

    .auth-card,
    .auth-support,
    .summary-card,
    .cart-item,
    .commerce-hero {
        border-radius: 22px;
    }

    .cart-item {
        grid-template-columns: 82px minmax(0, 1fr);
        gap: 12px;
        padding: 14px;
    }

    .cart-item h2 {
        font-size: 16px;
    }

    .cart-item-side {
        grid-template-columns: 1fr;
        justify-items: start;
    }

    .cart-line-total {
        justify-self: start;
    }

    .commerce-mini-steps span,
    .checkout-steps li {
        min-height: 36px;
        padding: 0 12px;
        font-size: 13px;
    }
}

/* Cart final polish: quieter typography, denser rhythm, premium surfaces. */
body[data-cart-page] {
    background:
        radial-gradient(circle at 78% 10%, rgba(253,185,18,.10), transparent 27%),
        linear-gradient(180deg, #f8f9fa 0%, #eef3f5 100%) !important;
}

body[data-cart-page] .commerce-page {
    width: min(1240px, calc(100% - 56px)) !important;
    padding: 26px 0 84px !important;
}

body[data-cart-page] .commerce-breadcrumb {
    margin: 0 0 18px !important;
    font-size: 12px !important;
}

body[data-cart-page] .commerce-hero {
    grid-template-columns: minmax(0, 1fr) auto !important;
    gap: 22px !important;
    align-items: end !important;
    margin-bottom: 28px !important;
    padding: 22px 26px !important;
    border-radius: 22px !important;
    border-color: rgba(7,21,28,.08) !important;
    background:
        linear-gradient(135deg, rgba(255,255,255,.98), rgba(248,244,235,.90) 64%, rgba(255,238,194,.72)) !important;
    box-shadow: 0 18px 54px rgba(7,21,28,.07) !important;
}

body[data-cart-page] .commerce-hero .stage-eyebrow,
body[data-cart-page] .commerce-card-head span,
body[data-cart-page] .cart-section-head span {
    min-height: 0 !important;
    margin-bottom: 9px !important;
    color: #a87400 !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    letter-spacing: .05em !important;
}

body[data-cart-page] .commerce-hero h1 {
    margin: 0 0 7px !important;
    font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
    font-size: clamp(30px, 2.6vw, 38px) !important;
    font-weight: 650 !important;
    line-height: 1.12 !important;
    color: #07151c !important;
}

body[data-cart-page] .commerce-hero p {
    max-width: 660px !important;
    color: #667179 !important;
    font-size: 14px !important;
    line-height: 1.58 !important;
}

body[data-cart-page] .checkout-steps {
    gap: 8px !important;
}

body[data-cart-page] .checkout-steps li {
    min-height: 36px !important;
    padding: 0 15px !important;
    border-color: rgba(7,21,28,.08) !important;
    background: rgba(255,255,255,.78) !important;
    color: #69737a !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    box-shadow: 0 8px 22px rgba(7,21,28,.04) !important;
}

body[data-cart-page] .checkout-steps li.is-active {
    background: var(--primary) !important;
    color: #07151c !important;
    box-shadow: 0 12px 24px rgba(253,185,18,.20) !important;
}

body[data-cart-page] .cart-layout {
    grid-template-columns: minmax(0, 1fr) minmax(340px, 416px) !important;
    gap: 28px !important;
}

body[data-cart-page] .cart-section-head {
    margin: 4px 0 16px !important;
}

body[data-cart-page] .commerce-card-head h2,
body[data-cart-page] .cart-section-head h2,
body[data-cart-page] .empty-cart h2 {
    font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
    font-size: clamp(22px, 1.8vw, 27px) !important;
    font-weight: 600 !important;
    line-height: 1.22 !important;
    color: #07151c !important;
}

body[data-cart-page] .cart-list {
    gap: 14px !important;
}

body[data-cart-page] .cart-item {
    position: relative !important;
    overflow: hidden !important;
    grid-template-columns: 136px minmax(0, 1fr) 158px !important;
    gap: 20px !important;
    align-items: center !important;
    padding: 18px !important;
    border-radius: 24px !important;
    border-color: rgba(7,21,28,.08) !important;
    background:
        linear-gradient(135deg, rgba(255,255,255,.98), rgba(250,251,250,.90)) !important;
    box-shadow: 0 18px 46px rgba(7,21,28,.065) !important;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease !important;
}

body[data-cart-page] .cart-item::before {
    content: "" !important;
    position: absolute !important;
    inset: 18px auto 18px 0 !important;
    width: 3px !important;
    border-radius: 0 999px 999px 0 !important;
    background: linear-gradient(180deg, rgba(253,185,18,.95), rgba(163,111,0,.25)) !important;
}

body[data-cart-page] .cart-item:hover {
    transform: translateY(-2px) !important;
    border-color: rgba(253,185,18,.28) !important;
    box-shadow: 0 22px 58px rgba(7,21,28,.09) !important;
}

body[data-cart-page] .cart-item-media {
    border-radius: 18px !important;
    background: #edf1f3 !important;
    box-shadow: 0 14px 34px rgba(7,21,28,.10) !important;
}

body[data-cart-page] .cart-item-main {
    min-width: 0 !important;
}

body[data-cart-page] .cart-item-media img {
    transition: transform .28s ease !important;
}

body[data-cart-page] .cart-item:hover .cart-item-media img {
    transform: scale(1.035) !important;
}

body[data-cart-page] .cart-item-category {
    margin-bottom: 7px !important;
    color: #77828a !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    letter-spacing: .04em !important;
}

body[data-cart-page] .cart-item h2 {
    max-width: 600px !important;
    margin-bottom: 12px !important;
    color: #07151c !important;
    font-size: clamp(16px, 1.14vw, 18px) !important;
    font-weight: 700 !important;
    line-height: 1.36 !important;
    overflow-wrap: anywhere !important;
}

body[data-cart-page] .cart-custom-list {
    max-width: 650px !important;
    gap: 0 !important;
    padding-top: 2px !important;
}

body[data-cart-page] .cart-custom-list div {
    grid-template-columns: minmax(156px, 238px) minmax(0, 1fr) !important;
    gap: 14px !important;
    padding: 5px 0 !important;
    border-top: 1px solid rgba(7,21,28,.055) !important;
}

body[data-cart-page] .cart-custom-list div:first-child {
    border-top: 0 !important;
}

body[data-cart-page] .cart-custom-list dt {
    color: #808b92 !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    line-height: 1.35 !important;
}

body[data-cart-page] .cart-custom-list dd {
    color: #243137 !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    line-height: 1.35 !important;
    overflow-wrap: anywhere !important;
}

body[data-cart-page] .cart-item-side {
    align-self: stretch !important;
    display: grid !important;
    grid-template-rows: auto auto 1fr auto !important;
    justify-items: end !important;
    align-content: center !important;
    gap: 10px !important;
}

body[data-cart-page] .cart-price {
    gap: 1px !important;
}

body[data-cart-page] .cart-price strong,
body[data-cart-page] .cart-line-total,
body[data-cart-page] .summary-total strong {
    color: #0f7a3a !important;
    font-size: 18px !important;
    font-weight: 750 !important;
}

body[data-cart-page] .cart-price span {
    color: #a7b0b7 !important;
    font-size: 13px !important;
    font-weight: 600 !important;
}

body[data-cart-page] .qty-control {
    grid-template-columns: 36px 44px 36px !important;
    border-color: rgba(7,21,28,.09) !important;
    background: rgba(255,255,255,.82) !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.80) !important;
}

body[data-cart-page] .qty-control button {
    height: 36px !important;
    color: #07151c !important;
    font-size: 17px !important;
    font-weight: 700 !important;
    transition: background .18s ease, color .18s ease !important;
}

body[data-cart-page] .qty-control button:hover {
    background: rgba(253,185,18,.20) !important;
    color: #07151c !important;
}

body[data-cart-page] .qty-control output {
    font-size: 14px !important;
    font-weight: 700 !important;
}

body[data-cart-page] .cart-line-total {
    align-self: end !important;
}

body[data-cart-page] .cart-remove {
    padding: 6px 0 !important;
    color: #a06d00 !important;
    font-size: 13px !important;
    font-weight: 650 !important;
    line-height: 1 !important;
    transition: color .18s ease !important;
}

body[data-cart-page] .cart-remove:hover {
    color: #07151c !important;
}

body[data-cart-page] .summary-card {
    top: 22px !important;
    padding: 24px !important;
    border-radius: 24px !important;
    border-color: rgba(7,21,28,.08) !important;
    background:
        linear-gradient(150deg, rgba(255,255,255,.98), rgba(250,247,239,.90)) !important;
    box-shadow: 0 24px 62px rgba(7,21,28,.09) !important;
}

body[data-cart-page] .commerce-card-head {
    margin-bottom: 16px !important;
}

body[data-cart-page] .summary-row {
    padding: 10px 0 !important;
    color: #67727a !important;
    font-size: 14px !important;
    font-weight: 600 !important;
}

body[data-cart-page] .summary-row strong {
    color: #07151c !important;
    font-size: 14px !important;
    font-weight: 700 !important;
}

body[data-cart-page] .shipping-note {
    margin: 6px 0 12px !important;
    padding: 12px 14px !important;
    border: 1px solid rgba(253,185,18,.20) !important;
    border-left: 3px solid var(--primary) !important;
    border-radius: 14px !important;
    background: rgba(253,185,18,.10) !important;
    color: #7b5600 !important;
    font-size: 14px !important;
    font-weight: 600 !important;
}

body[data-cart-page] .summary-divider {
    margin: 8px 0 10px !important;
    background: rgba(7,21,28,.08) !important;
}

body[data-cart-page] .summary-total {
    padding-top: 12px !important;
}

body[data-cart-page] .summary-total span {
    color: #07151c !important;
    font-size: 17px !important;
    font-weight: 700 !important;
}

body[data-cart-page] .summary-total strong {
    font-size: 18px !important;
}

body[data-cart-page] .summary-checkout {
    min-height: 56px !important;
    margin-top: 18px !important;
    border-radius: 12px !important;
    font-weight: 750 !important;
}

body[data-cart-page] .payment-preview {
    gap: 9px !important;
    margin-top: 18px !important;
}

body[data-cart-page] .payment-preview span {
    color: #536069 !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    line-height: 1.35 !important;
}

body[data-cart-page] .payment-preview span::before {
    width: 6px !important;
    height: 6px !important;
}

body[data-cart-page] .empty-cart {
    border-radius: 24px !important;
    padding: 42px !important;
}

html[data-theme="dark"] body[data-cart-page] {
    background:
        radial-gradient(circle at 78% 8%, rgba(253,185,18,.09), transparent 29%),
        linear-gradient(180deg, #061a20 0%, #031116 100%) !important;
}

html[data-theme="dark"] body[data-cart-page] .commerce-hero,
html[data-theme="dark"] body[data-cart-page] .cart-item,
html[data-theme="dark"] body[data-cart-page] .summary-card,
html[data-theme="dark"] body[data-cart-page] .empty-cart {
    border-color: rgba(255,255,255,.10) !important;
    background:
        linear-gradient(145deg, rgba(19,35,40,.95), rgba(6,20,26,.94)) !important;
    box-shadow: 0 24px 70px rgba(0,0,0,.28) !important;
}

html[data-theme="dark"] body[data-cart-page] .commerce-hero h1,
html[data-theme="dark"] body[data-cart-page] .commerce-card-head h2,
html[data-theme="dark"] body[data-cart-page] .cart-section-head h2,
html[data-theme="dark"] body[data-cart-page] .cart-item h2,
html[data-theme="dark"] body[data-cart-page] .cart-custom-list dd,
html[data-theme="dark"] body[data-cart-page] .summary-total span,
html[data-theme="dark"] body[data-cart-page] .summary-row strong,
html[data-theme="dark"] body[data-cart-page] .qty-control button,
html[data-theme="dark"] body[data-cart-page] .qty-control output,
html[data-theme="dark"] body[data-cart-page] .empty-cart h2 {
    color: #f7f2e7 !important;
}

html[data-theme="dark"] body[data-cart-page] .commerce-hero p,
html[data-theme="dark"] body[data-cart-page] .cart-item-category,
html[data-theme="dark"] body[data-cart-page] .cart-custom-list dt,
html[data-theme="dark"] body[data-cart-page] .summary-row,
html[data-theme="dark"] body[data-cart-page] .payment-preview span,
html[data-theme="dark"] body[data-cart-page] .empty-cart p {
    color: rgba(247,242,231,.66) !important;
}

html[data-theme="dark"] body[data-cart-page] .checkout-steps li,
html[data-theme="dark"] body[data-cart-page] .qty-control {
    border-color: rgba(255,255,255,.12) !important;
    background: rgba(255,255,255,.07) !important;
    color: rgba(247,242,231,.72) !important;
}

html[data-theme="dark"] body[data-cart-page] .checkout-steps li.is-active {
    background: var(--primary) !important;
    color: #07151c !important;
}

html[data-theme="dark"] body[data-cart-page] .cart-custom-list div {
    border-top-color: rgba(255,255,255,.08) !important;
}

html[data-theme="dark"] body[data-cart-page] .cart-price strong,
html[data-theme="dark"] body[data-cart-page] .cart-line-total,
html[data-theme="dark"] body[data-cart-page] .summary-total strong {
    color: #f3c650 !important;
}

html[data-theme="dark"] body[data-cart-page] .shipping-note {
    border-color: rgba(253,185,18,.22) !important;
    border-left-color: var(--primary) !important;
    background: rgba(253,185,18,.12) !important;
    color: #f1c760 !important;
}

html[data-theme="dark"] body[data-cart-page] .summary-divider {
    background: rgba(255,255,255,.10) !important;
}

html[data-theme="dark"] body[data-cart-page] .cart-remove {
    color: #f1c760 !important;
}

html[data-theme="dark"] body[data-cart-page] .cart-remove:hover {
    color: #fff6df !important;
}

@media (max-width: 1080px) {
    body[data-cart-page] .commerce-page {
        width: min(100% - 36px, 820px) !important;
    }

    body[data-cart-page] .cart-layout {
        grid-template-columns: 1fr !important;
    }

    body[data-cart-page] .summary-card {
        position: static !important;
    }
}

@media (max-width: 760px) {
    body[data-cart-page] .commerce-page {
        width: min(100% - 24px, 680px) !important;
        padding-top: 20px !important;
    }

    body[data-cart-page] .commerce-hero {
        grid-template-columns: 1fr !important;
        align-items: start !important;
        padding: 20px !important;
        border-radius: 20px !important;
    }

    body[data-cart-page] .checkout-steps {
        justify-content: flex-start !important;
    }

    body[data-cart-page] .cart-item {
        grid-template-columns: 108px minmax(0, 1fr) !important;
        gap: 16px !important;
        align-items: start !important;
        padding: 16px !important;
        border-radius: 20px !important;
    }

    body[data-cart-page] .cart-item-media {
        align-self: start !important;
    }

    body[data-cart-page] .cart-item-side {
        grid-column: 1 / -1 !important;
        grid-template-columns: 1fr auto !important;
        grid-template-rows: auto auto !important;
        justify-items: stretch !important;
        align-items: center !important;
        gap: 10px 14px !important;
        padding-top: 2px !important;
    }

    body[data-cart-page] .cart-price,
    body[data-cart-page] .qty-control {
        justify-self: start !important;
    }

    body[data-cart-page] .cart-line-total,
    body[data-cart-page] .cart-remove {
        justify-self: end !important;
    }

body[data-cart-page] .cart-custom-list div {
    grid-template-columns: 1fr !important;
    gap: 2px !important;
    }
}

/* Product customization final fit: no nested scroll, compact note field. */
body[data-product-page] .customization-dialog {
    max-height: min(820px, calc(100vh - 40px)) !important;
}

body[data-product-page] .customization-head {
    padding: 24px 32px 18px !important;
}

body[data-product-page] .customization-dialog h2 {
    margin: 8px 0 6px !important;
    font-size: clamp(30px, 3.2vw, 40px) !important;
}

body[data-product-page] .customization-body {
    align-items: start !important;
}

body[data-product-page] .custom-preview-card {
    max-height: 380px !important;
}

body[data-product-page] .customization-fields {
    max-height: none !important;
    overflow: visible !important;
    gap: 10px !important;
    padding: 18px 30px !important;
}

body[data-product-page] .customization-fields .custom-field {
    gap: 7px !important;
    padding: 0 !important;
}

body[data-product-page] .customization-fields .custom-field input[type="text"],
body[data-product-page] .customization-fields .custom-field select {
    min-height: 44px !important;
    padding: 0 14px !important;
    border-radius: 10px !important;
    font-size: 15px !important;
}

body[data-product-page] .customization-fields .custom-field-check {
    min-height: 48px !important;
    margin-top: 0 !important;
    padding: 10px 14px !important;
    border-radius: 12px !important;
}

body[data-product-page] .gift-note-field {
    gap: 7px !important;
    margin-top: 2px !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

body[data-product-page] .gift-note-field textarea {
    min-height: 72px !important;
    max-height: 96px !important;
    padding: 11px 14px !important;
    border: 1px solid rgba(7,21,28,.14) !important;
    border-radius: 12px !important;
    background: #fff !important;
    color: #07151c !important;
    font-size: 14px !important;
    line-height: 1.4 !important;
    resize: vertical;
    box-shadow: inset 0 1px 0 rgba(7,21,28,.025) !important;
}

body[data-product-page] .gift-note-field > small {
    color: #6f7b84 !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
}

body[data-product-page] .customization-actions {
    padding: 16px 32px 24px !important;
}

body[data-product-page] .customization-actions .btn-primary {
    min-height: 50px !important;
}

.header-icon.account-avatar-link {
    text-decoration: none;
}

.header-account-initial {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    border-radius: inherit;
    background: #07151c;
    color: var(--primary);
    font-size: 15px;
    font-weight: 900;
    line-height: 1;
}

html[data-theme="dark"] .header-account-initial {
    background: var(--primary);
    color: #07151c;
}

body[data-checkout-page] .checkout-saved-profile,
body[data-checkout-page] .checkout-saved-addresses {
    margin: 0 0 16px;
    padding: 14px;
    border: 1px solid rgba(253,185,18,.38);
    border-radius: 14px;
    background: #fffaf0;
}

body[data-checkout-page] .checkout-saved-profile {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

body[data-checkout-page] .checkout-saved-profile[hidden],
body[data-checkout-page] .checkout-saved-addresses[hidden] {
    display: none !important;
}

body[data-checkout-page] .checkout-saved-profile strong,
body[data-checkout-page] .checkout-saved-head strong,
body[data-checkout-page] .checkout-saved-address-list strong {
    display: block;
    color: #07151c;
    font-weight: 900;
}

body[data-checkout-page] .checkout-saved-profile span,
body[data-checkout-page] .checkout-saved-head span,
body[data-checkout-page] .checkout-saved-address-list span,
body[data-checkout-page] .checkout-saved-address-list small {
    display: block;
    margin-top: 3px;
    color: #737f88;
    font-size: 12px;
    font-weight: 700;
}

body[data-checkout-page] .checkout-saved-address-list em {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    margin-top: 10px;
    padding: 0 10px;
    border-radius: 999px;
    background: #fff4d8;
    color: #8a5a00;
    font-size: 12px;
    font-style: normal;
    font-weight: 900;
}

body[data-checkout-page] .checkout-saved-profile button,
body[data-checkout-page] .checkout-saved-address-list button {
    border: 1px solid rgba(7,21,28,.1);
    background: #fff;
    color: #07151c;
    font: inherit;
    font-weight: 900;
    cursor: pointer;
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

body[data-checkout-page] .checkout-saved-profile button {
    min-height: 42px;
    padding: 0 16px;
    border-radius: 12px;
    white-space: nowrap;
}

body[data-checkout-page] .checkout-saved-address-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 12px;
}

body[data-checkout-page] .checkout-saved-address-list button {
    min-width: 0;
    padding: 13px;
    border-radius: 12px;
    text-align: left;
}

body[data-checkout-page] .checkout-saved-profile button:hover,
body[data-checkout-page] .checkout-saved-address-list button:hover {
    transform: translateY(-1px);
    border-color: rgba(253,185,18,.8);
    box-shadow: 0 12px 24px rgba(7,21,28,.08);
}

html[data-theme="dark"] body[data-checkout-page] .checkout-saved-profile,
html[data-theme="dark"] body[data-checkout-page] .checkout-saved-addresses {
    border-color: rgba(253,185,18,.22);
    background: rgba(253,185,18,.08);
}

html[data-theme="dark"] body[data-checkout-page] .checkout-saved-profile strong,
html[data-theme="dark"] body[data-checkout-page] .checkout-saved-head strong,
html[data-theme="dark"] body[data-checkout-page] .checkout-saved-address-list strong {
    color: #f7f2e7;
}

html[data-theme="dark"] body[data-checkout-page] .checkout-saved-profile button,
html[data-theme="dark"] body[data-checkout-page] .checkout-saved-address-list button {
    border-color: rgba(253,185,18,.2);
    background: rgba(255,255,255,.06);
    color: #f7f2e7;
}

@media (max-width: 760px) {
    body[data-checkout-page] .checkout-saved-profile {
        align-items: stretch;
        flex-direction: column;
    }

    body[data-checkout-page] .checkout-saved-profile button {
        width: 100%;
    }

    body[data-checkout-page] .checkout-saved-address-list {
        grid-template-columns: 1fr;
    }
}

body[data-product-page] .customization-fields {
    gap: 14px !important;
}

body[data-product-page] .customization-fields .custom-field {
    padding: 14px 0 !important;
}

body[data-product-page] .customization-fields .custom-field input[type="text"],
body[data-product-page] .customization-fields .custom-field select {
    min-height: 54px !important;
    padding: 0 18px !important;
    font-size: 18px !important;
}

body[data-product-page] .customization-fields .custom-field-check {
    min-height: 58px !important;
    padding: 12px 18px !important;
}

body[data-product-page] .gift-note-field {
    gap: 9px !important;
    padding: 14px 0 0 !important;
    border: 0 !important;
    background: transparent !important;
    color: #07151c !important;
    box-shadow: none !important;
}

body[data-product-page] .gift-note-field > span {
    display: flex;
    align-items: baseline;
    gap: 10px;
    color: #07151c;
    font-weight: 850;
}

body[data-product-page] .gift-note-field > span small {
    color: #b37a00;
    font-size: 13px;
    font-weight: 850;
}

body[data-product-page] .gift-note-field textarea {
    width: 100%;
    min-height: 92px;
    max-height: 120px;
    padding: 14px 16px;
    border: 1px solid rgba(7,21,28,.14);
    border-radius: 14px;
    background: #fff;
    color: #07151c;
    font: inherit;
    font-size: 16px;
    font-weight: 650;
    line-height: 1.45;
    resize: vertical;
    outline: 0;
    box-shadow: inset 0 1px 0 rgba(7,21,28,.025);
}

body[data-product-page] .gift-note-field textarea::placeholder {
    color: #8a939a;
}

body[data-product-page] .gift-note-field textarea:focus {
    border-color: rgba(253,185,18,.78);
    box-shadow: 0 0 0 4px rgba(253,185,18,.14);
}

body[data-product-page] .gift-note-field > small {
    color: #737f88;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.45;
}

/* Checkout gift flow: product customizer-style field lines. */
body[data-checkout-page] .checkout-card-note {
    max-width: 640px;
    margin: -4px 0 16px;
    color: #667179;
    font-size: 13px;
    line-height: 1.55;
}

body[data-checkout-page] .checkout-field {
    position: relative;
    display: grid;
    gap: 8px;
    margin-bottom: 14px;
    color: #07151c;
    font-size: 13px;
    font-weight: 650;
    transition: color .2s ease;
}

body[data-checkout-page] .checkout-field small {
    color: #7d878d;
    font-size: 12px;
    font-weight: 500;
}

body[data-checkout-page] .checkout-field:hover,
body[data-checkout-page] .checkout-field:focus-within {
    color: #7a5200;
}

body[data-checkout-page] .checkout-field .commerce-input {
    min-height: 52px;
    padding: 0 16px;
    border: 1px solid rgba(7,21,28,.14);
    border-radius: 12px;
    background: #fff;
    color: #07151c;
    font-size: 15px;
    font-weight: 500;
    box-shadow: inset 0 1px 0 rgba(7,21,28,.025);
    transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}

body[data-checkout-page] .checkout-field textarea.commerce-input {
    min-height: auto;
    padding-block: 14px;
}

body[data-checkout-page] .checkout-field:hover .commerce-input {
    border-color: rgba(253,185,18,.72);
    background:
        linear-gradient(90deg, rgba(253,185,18,.16), transparent 28%),
        #fff;
    box-shadow: inset 4px 0 0 rgba(253,185,18,.75);
}

body[data-checkout-page] .checkout-field .commerce-input:focus {
    border-color: rgba(253,185,18,.95);
    background:
        linear-gradient(90deg, rgba(253,185,18,.22), transparent 34%),
        #fff;
    box-shadow: inset 4px 0 0 rgba(253,185,18,.95);
}

body[data-checkout-page] .checkout-inline-check,
body[data-checkout-page] .checkout-option,
body[data-checkout-page] .checkout-agreement {
    border-radius: 12px;
    transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}

body[data-checkout-page] .checkout-inline-check {
    margin: 4px 0 16px;
    padding: 13px 14px;
    border: 1px solid rgba(7,21,28,.08);
    background: #fff;
    color: #27343a;
    font-size: 13px;
    font-weight: 600;
}

body[data-checkout-page] .checkout-inline-check:hover,
body[data-checkout-page] .checkout-option:hover {
    border-color: rgba(253,185,18,.72);
    background:
        linear-gradient(90deg, rgba(253,185,18,.14), transparent 28%),
        #fff;
    box-shadow: inset 4px 0 0 rgba(253,185,18,.70);
}

body[data-checkout-page] .checkout-account-fields {
    padding-top: 2px;
}

body[data-checkout-page] .checkout-account-fields[hidden],
body[data-checkout-page] [data-guest-only][hidden] {
    display: none !important;
}

html[data-theme="dark"] body[data-checkout-page] .checkout-card-note,
html[data-theme="dark"] body[data-checkout-page] .checkout-field small {
    color: rgba(247,242,231,.62);
}

html[data-theme="dark"] body[data-checkout-page] .checkout-field,
html[data-theme="dark"] body[data-checkout-page] .checkout-inline-check {
    color: #f7f2e7;
}

html[data-theme="dark"] body[data-checkout-page] .checkout-field .commerce-input,
html[data-theme="dark"] body[data-checkout-page] .checkout-inline-check {
    border-color: rgba(255,255,255,.12);
    background: rgba(255,255,255,.06);
    color: #f7f2e7;
}

html[data-theme="dark"] body[data-checkout-page] .checkout-field:hover .commerce-input,
html[data-theme="dark"] body[data-checkout-page] .checkout-field .commerce-input:focus,
html[data-theme="dark"] body[data-checkout-page] .checkout-inline-check:hover,
html[data-theme="dark"] body[data-checkout-page] .checkout-option:hover {
    border-color: rgba(253,185,18,.72);
    background:
        linear-gradient(90deg, rgba(253,185,18,.16), transparent 28%),
        rgba(255,255,255,.07);
}

/* Checkout choice controls: avoid oversized native radio/checkbox rendering. */
body[data-checkout-page] .checkout-option,
body[data-checkout-page] .checkout-inline-check,
body[data-checkout-page] .checkout-agreement {
    position: relative;
    overflow: hidden;
    min-width: 0;
}

body[data-checkout-page] .checkout-option {
    display: grid;
    grid-template-columns: 18px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
}

body[data-checkout-page] .checkout-inline-check,
body[data-checkout-page] .checkout-agreement {
    display: grid;
    grid-template-columns: 18px minmax(0, 1fr);
    gap: 10px;
    align-items: start;
}

body[data-checkout-page] .checkout-option input,
body[data-checkout-page] .checkout-inline-check input,
body[data-checkout-page] .checkout-agreement input {
    appearance: none;
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    margin: 1px 0 0;
    border: 1.5px solid rgba(7,21,28,.34);
    background: #fff;
    box-shadow: none;
    flex: 0 0 18px;
    cursor: pointer;
}

body[data-checkout-page] .checkout-option input {
    border-radius: 999px;
}

body[data-checkout-page] .checkout-inline-check input,
body[data-checkout-page] .checkout-agreement input {
    border-radius: 4px;
}

body[data-checkout-page] .checkout-option input:checked {
    border-color: #07151c;
    background:
        radial-gradient(circle at 50% 50%, var(--primary) 0 48%, transparent 52%),
        #fff;
    box-shadow: 0 0 0 2px rgba(253,185,18,.30);
}

body[data-checkout-page] .checkout-inline-check input:checked,
body[data-checkout-page] .checkout-agreement input:checked {
    border-color: #07151c;
    background:
        linear-gradient(135deg, transparent 0 42%, #07151c 43% 58%, transparent 59%) center/12px 12px no-repeat,
        linear-gradient(45deg, transparent 0 45%, #07151c 46% 58%, transparent 59%) center/12px 12px no-repeat,
        var(--primary);
    box-shadow: 0 0 0 2px rgba(253,185,18,.22);
}

body[data-checkout-page] .checkout-option input:focus-visible,
body[data-checkout-page] .checkout-inline-check input:focus-visible,
body[data-checkout-page] .checkout-agreement input:focus-visible {
    outline: 2px solid rgba(253,185,18,.55);
    outline-offset: 2px;
}

body[data-checkout-page] .checkout-option > span,
body[data-checkout-page] .checkout-inline-check > span,
body[data-checkout-page] .checkout-agreement > span {
    min-width: 0;
    overflow-wrap: anywhere;
}

body[data-checkout-page] .checkout-option strong,
body[data-checkout-page] .checkout-option small {
    min-width: 0;
    overflow-wrap: anywhere;
}

html[data-theme="dark"] body[data-checkout-page] .checkout-option input,
html[data-theme="dark"] body[data-checkout-page] .checkout-inline-check input,
html[data-theme="dark"] body[data-checkout-page] .checkout-agreement input {
    border-color: rgba(247,242,231,.44);
    background-color: rgba(255,255,255,.07);
}

html[data-theme="dark"] body[data-checkout-page] .checkout-option input:checked {
    border-color: var(--primary);
    background:
        radial-gradient(circle at 50% 50%, var(--primary) 0 48%, transparent 52%),
        rgba(255,255,255,.07);
}

html[data-theme="dark"] body[data-checkout-page] .checkout-inline-check input:checked,
html[data-theme="dark"] body[data-checkout-page] .checkout-agreement input:checked {
    border-color: var(--primary);
    background:
        linear-gradient(135deg, transparent 0 42%, #07151c 43% 58%, transparent 59%) center/12px 12px no-repeat,
        linear-gradient(45deg, transparent 0 45%, #07151c 46% 58%, transparent 59%) center/12px 12px no-repeat,
        var(--primary);
}

/* Checkout hard fix: contained controls, required marks and stable selects. */
body[data-checkout-page] .checkout-option,
body[data-checkout-page] .checkout-inline-check,
body[data-checkout-page] .checkout-agreement {
    overflow: visible !important;
    max-width: 100%;
    padding-left: 14px;
    padding-right: 14px;
}

body[data-checkout-page] .checkout-option {
    grid-template-columns: 20px minmax(0, 1fr) !important;
    gap: 12px !important;
}

body[data-checkout-page] .checkout-inline-check,
body[data-checkout-page] .checkout-agreement {
    grid-template-columns: 20px minmax(0, 1fr) !important;
    gap: 10px !important;
}

body[data-checkout-page] .checkout-option input,
body[data-checkout-page] .checkout-inline-check input,
body[data-checkout-page] .checkout-agreement input {
    width: 18px !important;
    height: 18px !important;
    min-width: 18px !important;
    margin: 2px 0 0 !important;
    box-shadow: none !important;
    outline: 0 !important;
}

body[data-checkout-page] .checkout-option input:checked {
    border-color: #07151c !important;
    background:
        radial-gradient(circle at 50% 50%, var(--primary) 0 5px, transparent 6px),
        #fff !important;
    box-shadow: none !important;
}

body[data-checkout-page] .checkout-inline-check input:checked,
body[data-checkout-page] .checkout-agreement input:checked {
    border-color: #07151c !important;
    background:
        linear-gradient(135deg, transparent 0 42%, #07151c 43% 58%, transparent 59%) center/11px 11px no-repeat,
        linear-gradient(45deg, transparent 0 45%, #07151c 46% 58%, transparent 59%) center/11px 11px no-repeat,
        var(--primary) !important;
    box-shadow: none !important;
}

body[data-checkout-page] .checkout-option input:focus-visible,
body[data-checkout-page] .checkout-inline-check input:focus-visible,
body[data-checkout-page] .checkout-agreement input:focus-visible {
    box-shadow: 0 0 0 2px rgba(253,185,18,.28) !important;
}

body[data-checkout-page] .checkout-option > span,
body[data-checkout-page] .checkout-inline-check > span,
body[data-checkout-page] .checkout-agreement > span {
    min-width: 0 !important;
    max-width: 100%;
    overflow: hidden;
}

body[data-checkout-page] .checkout-option strong,
body[data-checkout-page] .checkout-option small {
    max-width: 100%;
    overflow-wrap: anywhere;
}

body[data-checkout-page] .checkout-field {
    min-width: 0;
}

body[data-checkout-page] .checkout-field.is-required {
    color: #7a5200;
}

body[data-checkout-page] .checkout-field.is-required::after {
    content: none;
}

body[data-checkout-page] .checkout-field > span:first-child {
    display: inline-flex;
    align-items: baseline;
    gap: 4px;
    min-width: 0;
}

body[data-checkout-page] .checkout-field em {
    color: #c0392b;
    font-style: normal;
    font-weight: 800;
}

body[data-checkout-page] .checkout-field .commerce-input,
body[data-checkout-page] .checkout-field select.commerce-input,
body[data-checkout-page] .checkout-field textarea.commerce-input {
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

body[data-checkout-page] .checkout-field select.commerce-input {
    appearance: none;
    -webkit-appearance: none;
    padding-right: 42px;
    cursor: pointer;
    background-image:
        linear-gradient(45deg, transparent 50%, #667179 50%),
        linear-gradient(135deg, #667179 50%, transparent 50%);
    background-position:
        calc(100% - 20px) 50%,
        calc(100% - 14px) 50%;
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat;
}

body[data-checkout-page] .checkout-field input:invalid:not(:placeholder-shown),
body[data-checkout-page] .checkout-field textarea:invalid:not(:placeholder-shown) {
    border-color: rgba(192,57,43,.72) !important;
    box-shadow: inset 4px 0 0 rgba(192,57,43,.68) !important;
}

html[data-theme="dark"] body[data-checkout-page] .checkout-option input:checked {
    border-color: var(--primary) !important;
    background:
        radial-gradient(circle at 50% 50%, var(--primary) 0 5px, transparent 6px),
        rgba(255,255,255,.07) !important;
}

/* Checkout page: compact OpenCart-ready delivery and payment flow. */
body[data-checkout-page] {
    background:
        radial-gradient(circle at 78% 10%, rgba(253,185,18,.08), transparent 27%),
        linear-gradient(180deg, #f8f9fa 0%, #eef3f5 100%);
    color: var(--text-main);
}

body[data-checkout-page] .commerce-page {
    width: min(1180px, calc(100% - 44px));
    padding: 22px 0 72px;
}

body[data-checkout-page] .commerce-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 18px;
    margin-bottom: 28px;
    padding: 22px 26px;
    border: 1px solid rgba(7,21,28,.08);
    border-radius: 16px;
    background: rgba(255,255,255,.82);
    box-shadow: 0 12px 30px rgba(7,21,28,.045);
}

body[data-checkout-page] .commerce-hero .stage-eyebrow,
body[data-checkout-page] .commerce-card-head span {
    margin-bottom: 8px;
    color: #b37a00;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .04em;
}

body[data-checkout-page] .commerce-hero h1,
body[data-checkout-page] .commerce-card-head h2,
body[data-checkout-page] .empty-cart h2 {
    font-family: "Romanica", "Manrope", sans-serif;
    font-weight: 400;
    letter-spacing: 0;
}

body[data-checkout-page] .commerce-hero h1 {
    margin: 0 0 6px;
    font-size: clamp(28px, 2.4vw, 34px);
    line-height: 1.08;
}

body[data-checkout-page] .commerce-hero p {
    max-width: 640px;
    color: #667179;
    font-size: 14px;
    line-height: 1.5;
}

body[data-checkout-page] .checkout-steps {
    gap: 8px;
}

body[data-checkout-page] .checkout-steps li {
    min-height: 32px;
    padding: 0 13px;
    border: 1px solid rgba(7,21,28,.08);
    background: rgba(255,255,255,.70);
    color: #6c757d;
    font-size: 12px;
    font-weight: 600;
    box-shadow: none;
}

body[data-checkout-page] .checkout-steps li.is-active {
    background: var(--primary);
    color: #07151c;
}

.checkout-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 370px;
    gap: 24px;
    align-items: start;
}

.checkout-form {
    display: grid;
    gap: 16px;
    min-width: 0;
}

.checkout-card,
.checkout-summary {
    border-radius: 16px;
    background: rgba(255,255,255,.88);
    box-shadow: 0 12px 30px rgba(7,21,28,.055);
}

.checkout-card {
    padding: 22px;
}

body[data-checkout-page] .commerce-card-head h2 {
    font-size: clamp(23px, 2vw, 28px);
    line-height: 1.12;
}

body[data-checkout-page] .form-field {
    gap: 7px;
    margin-bottom: 14px;
    font-size: 13px;
    font-weight: 600;
}

body[data-checkout-page] .commerce-input {
    min-height: 48px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
}

body[data-checkout-page] .commerce-input:hover,
body[data-checkout-page] .commerce-input:focus {
    box-shadow: 0 0 0 3px rgba(253,185,18,.14);
}

.checkout-textarea {
    min-height: auto;
    padding: 13px 15px;
    resize: vertical;
}

.checkout-option {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 14px 0;
    border-top: 1px solid rgba(7,21,28,.08);
    color: #07151c;
}

.checkout-option input {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: var(--primary);
    flex: 0 0 auto;
}

.checkout-option strong,
.checkout-option small {
    display: block;
}

.checkout-option strong {
    font-size: 14px;
    font-weight: 700;
}

.checkout-option small {
    margin-top: 3px;
    color: #667179;
    font-size: 13px;
    line-height: 1.45;
}

.checkout-agreement {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid rgba(7,21,28,.08);
    font-size: 13px;
    font-weight: 500;
}

.checkout-summary {
    position: sticky;
    top: 22px;
    padding: 22px;
}

.checkout-mini-list {
    display: grid;
    gap: 12px;
    margin-bottom: 14px;
}

.checkout-mini-item {
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 11px;
    align-items: center;
}

.checkout-mini-item img {
    width: 54px;
    height: 54px;
    border-radius: 10px;
    object-fit: cover;
    background: #eef2f4;
}

.checkout-mini-item strong {
    display: -webkit-box;
    overflow: hidden;
    color: #07151c;
    font-size: 13px;
    font-weight: 650;
    line-height: 1.35;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.checkout-mini-item span {
    display: block;
    margin-top: 3px;
    color: #667179;
    font-size: 12px;
}

html[data-theme="dark"] body[data-checkout-page] {
    background:
        radial-gradient(circle at 78% 8%, rgba(253,185,18,.09), transparent 29%),
        linear-gradient(180deg, #061a20 0%, #031116 100%);
    color: #f7f2e7;
}

html[data-theme="dark"] body[data-checkout-page] .commerce-hero,
html[data-theme="dark"] body[data-checkout-page] .commerce-card,
html[data-theme="dark"] body[data-checkout-page] .summary-card {
    border-color: rgba(255,255,255,.10);
    background: rgba(10,28,35,.92);
    box-shadow: 0 16px 42px rgba(0,0,0,.22);
}

html[data-theme="dark"] body[data-checkout-page] .commerce-hero h1,
html[data-theme="dark"] body[data-checkout-page] .commerce-card-head h2,
html[data-theme="dark"] body[data-checkout-page] .form-field,
html[data-theme="dark"] body[data-checkout-page] .checkout-option,
html[data-theme="dark"] body[data-checkout-page] .checkout-option strong,
html[data-theme="dark"] body[data-checkout-page] .checkout-mini-item strong,
html[data-theme="dark"] body[data-checkout-page] .summary-row strong,
html[data-theme="dark"] body[data-checkout-page] .summary-total span {
    color: #f7f2e7;
}

html[data-theme="dark"] body[data-checkout-page] .commerce-hero p,
html[data-theme="dark"] body[data-checkout-page] .checkout-option small,
html[data-theme="dark"] body[data-checkout-page] .checkout-mini-item span,
html[data-theme="dark"] body[data-checkout-page] .summary-row {
    color: rgba(247,242,231,.66);
}

html[data-theme="dark"] body[data-checkout-page] .commerce-input {
    border-color: rgba(255,255,255,.12);
    background: rgba(255,255,255,.06);
    color: #f7f2e7;
}

html[data-theme="dark"] body[data-checkout-page] .checkout-option,
html[data-theme="dark"] body[data-checkout-page] .checkout-agreement {
    border-top-color: rgba(255,255,255,.10);
}

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

    .checkout-summary {
        position: static;
    }
}

@media (max-width: 760px) {
    body[data-checkout-page] .commerce-page {
        width: min(100% - 24px, 680px);
    }

    body[data-checkout-page] .commerce-hero {
        grid-template-columns: 1fr;
        padding: 18px;
    }

    body[data-checkout-page] .commerce-hero h1 {
        font-size: 28px;
    }

    .checkout-card,
    .checkout-summary {
        padding: 18px;
    }
}

/* Simple content pages and empty wishlist state. */
body[data-info-page] {
    background:
        radial-gradient(circle at 78% 10%, rgba(253,185,18,.08), transparent 27%),
        linear-gradient(180deg, #f8f9fa 0%, #eef3f5 100%);
    color: var(--text-main);
}

.info-page {
    width: min(980px, calc(100% - 44px));
    margin: 0 auto;
    padding: 22px 0 72px;
}

.info-panel {
    padding: clamp(24px, 4vw, 34px);
    border: 1px solid rgba(7,21,28,.08);
    border-radius: 16px;
    background: rgba(255,255,255,.86);
    box-shadow: 0 12px 30px rgba(7,21,28,.045);
}

.info-panel .stage-eyebrow {
    margin-bottom: 8px;
    color: #b37a00;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .04em;
}

.info-panel h1 {
    margin: 0 0 10px;
    font-family: "Romanica", "Manrope", sans-serif;
    font-size: clamp(30px, 3vw, 38px);
    font-weight: 400;
    line-height: 1.08;
}

.info-panel p {
    max-width: 660px;
    color: #667179;
    font-size: 14px;
    line-height: 1.65;
}

.info-panel h3 {
    margin: 24px 0 8px;
    color: var(--text-main);
    font-size: 18px;
    line-height: 1.3;
}

.info-copy a {
    color: #b37a00;
    font-weight: 800;
    text-decoration: none;
}

.info-copy a:hover {
    color: var(--primary);
}

.info-definition-list {
    display: grid;
    gap: 0;
    max-width: 760px;
    margin: 22px 0;
    overflow: hidden;
    border: 1px solid rgba(7,21,28,.10);
    border-radius: 14px;
    background: rgba(255,255,255,.70);
}

.info-definition-list div {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 18px;
    padding: 14px 16px;
}

.info-definition-list div + div {
    border-top: 1px solid rgba(7,21,28,.08);
}

.info-definition-list dt {
    color: var(--text-main);
    font-weight: 850;
}

.info-definition-list dd {
    margin: 0;
    color: #667179;
    line-height: 1.55;
}

.info-step-list {
    counter-reset: info-step;
    display: grid;
    gap: 14px;
    max-width: 760px;
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
}

.info-step-list li {
    position: relative;
    min-height: 36px;
    padding-left: 48px;
    color: #667179;
    font-size: 15px;
    line-height: 1.6;
}

.info-step-list li::before {
    counter-increment: info-step;
    content: counter(info-step) ".";
    position: absolute;
    left: 0;
    top: 0;
    color: #c78300;
    font-size: 18px;
    font-weight: 900;
}

.info-copy details {
    max-width: 820px;
    border: 1px solid rgba(7,21,28,.10);
    border-radius: 14px;
    background: rgba(255,255,255,.74);
}

.info-copy details + details {
    margin-top: 12px;
}

.info-copy summary {
    cursor: pointer;
    padding: 16px 18px;
    color: var(--text-main);
    font-size: 15px;
    font-weight: 850;
}

.info-copy details p {
    margin: 0;
    padding: 0 18px 16px;
}

.info-action {
    width: auto;
    min-width: 180px;
    margin-top: 22px;
}

html[data-theme="dark"] body[data-info-page] {
    background:
        radial-gradient(circle at 78% 8%, rgba(253,185,18,.09), transparent 29%),
        linear-gradient(180deg, #061a20 0%, #031116 100%);
}

html[data-theme="dark"] .info-panel {
    border-color: rgba(255,255,255,.10);
    background: rgba(10,28,35,.92);
    box-shadow: 0 16px 42px rgba(0,0,0,.22);
}

html[data-theme="dark"] .info-panel h1 {
    color: #f7f2e7;
}

html[data-theme="dark"] .info-panel p {
    color: rgba(247,242,231,.66);
}

html[data-theme="dark"] .info-panel h3,
html[data-theme="dark"] .info-definition-list dt,
html[data-theme="dark"] .info-copy summary {
    color: #f7f2e7;
}

html[data-theme="dark"] .info-definition-list,
html[data-theme="dark"] .info-copy details {
    border-color: rgba(255,255,255,.10);
    background: rgba(255,255,255,.04);
}

html[data-theme="dark"] .info-definition-list div + div {
    border-top-color: rgba(255,255,255,.08);
}

html[data-theme="dark"] .info-definition-list dd,
html[data-theme="dark"] .info-step-list li {
    color: rgba(247,242,231,.66);
}

@media (max-width: 760px) {
    .info-page {
        width: min(100% - 24px, 680px);
    }

    .info-definition-list div {
        grid-template-columns: 1fr;
        gap: 4px;
    }
}

/* Cart correction: minimal, calmer spacing and title hierarchy. */
body[data-cart-page] .cart-layout[hidden],
body[data-cart-page] .empty-cart[hidden],
body[data-checkout-page] .checkout-layout[hidden],
body[data-checkout-page] .empty-cart[hidden] {
    display: none !important;
}

body[data-cart-page] .commerce-page {
    width: min(1180px, calc(100% - 44px)) !important;
    padding: 22px 0 72px !important;
}

body[data-cart-page] .commerce-hero {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    align-items: end !important;
    gap: 18px !important;
    margin-bottom: 28px !important;
    padding: 22px 26px !important;
    border-radius: 16px !important;
    border: 1px solid rgba(7,21,28,.08) !important;
    background: rgba(255,255,255,.82) !important;
    box-shadow: 0 12px 30px rgba(7,21,28,.045) !important;
}

body[data-cart-page] .commerce-hero .stage-eyebrow,
body[data-cart-page] .commerce-card-head span,
body[data-cart-page] .cart-section-head span {
    margin-bottom: 8px !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    color: #b37a00 !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    letter-spacing: .04em !important;
}

body[data-cart-page] .commerce-hero h1 {
    margin: 0 0 6px !important;
    font-family: "Romanica", "Manrope", sans-serif !important;
    font-size: clamp(28px, 2.4vw, 34px) !important;
    font-weight: 400 !important;
    line-height: 1.08 !important;
    letter-spacing: 0 !important;
}

body[data-cart-page] .commerce-hero p {
    max-width: 640px !important;
    color: #667179 !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
}

body[data-cart-page] .checkout-steps {
    gap: 8px !important;
}

body[data-cart-page] .checkout-steps li {
    min-height: 32px !important;
    padding: 0 13px !important;
    border: 1px solid rgba(7,21,28,.08) !important;
    background: rgba(255,255,255,.70) !important;
    color: #6c757d !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    box-shadow: none !important;
}

body[data-cart-page] .checkout-steps li.is-active {
    background: var(--primary) !important;
    color: #07151c !important;
}

body[data-cart-page] .cart-layout {
    grid-template-columns: minmax(0, 1fr) 370px !important;
    gap: 24px !important;
}

body[data-cart-page] .cart-section-head {
    margin: 0 0 14px !important;
}

body[data-cart-page] .commerce-card-head h2,
body[data-cart-page] .cart-section-head h2,
body[data-cart-page] .empty-cart h2 {
    font-family: "Romanica", "Manrope", sans-serif !important;
    font-size: clamp(23px, 2vw, 28px) !important;
    font-weight: 400 !important;
    line-height: 1.12 !important;
    letter-spacing: 0 !important;
}

body[data-cart-page] .cart-list {
    gap: 12px !important;
}

body[data-cart-page] .cart-item {
    grid-template-columns: 116px minmax(0, 1fr) 150px !important;
    gap: 18px !important;
    align-items: center !important;
    padding: 16px !important;
    border-radius: 16px !important;
    border-color: rgba(7,21,28,.08) !important;
    background: rgba(255,255,255,.88) !important;
    box-shadow: 0 10px 26px rgba(7,21,28,.045) !important;
    transform: none !important;
}

body[data-cart-page] .cart-item::before {
    content: none !important;
}

body[data-cart-page] .cart-item:hover {
    transform: none !important;
    border-color: rgba(7,21,28,.10) !important;
    box-shadow: 0 12px 28px rgba(7,21,28,.055) !important;
}

body[data-cart-page] .cart-item-media {
    border-radius: 12px !important;
    box-shadow: none !important;
}

body[data-cart-page] .cart-item:hover .cart-item-media img {
    transform: none !important;
}

body[data-cart-page] .cart-item-category {
    margin-bottom: 6px !important;
    color: #7b858c !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    letter-spacing: .04em !important;
}

body[data-cart-page] .cart-item h2 {
    max-width: 600px !important;
    margin-bottom: 10px !important;
    font-size: clamp(15px, 1.05vw, 17px) !important;
    font-weight: 650 !important;
    line-height: 1.35 !important;
}

body[data-cart-page] .cart-custom-list div {
    grid-template-columns: minmax(150px, 225px) minmax(0, 1fr) !important;
    gap: 12px !important;
    padding: 4px 0 !important;
    border-top: 1px solid rgba(7,21,28,.055) !important;
}

body[data-cart-page] .cart-custom-list dt {
    color: #7f8990 !important;
    font-size: 12px !important;
    font-weight: 500 !important;
}

body[data-cart-page] .cart-custom-list dd {
    color: #26343a !important;
    font-size: 13px !important;
    font-weight: 600 !important;
}

body[data-cart-page] .cart-price strong,
body[data-cart-page] .cart-line-total,
body[data-cart-page] .summary-total strong {
    color: #0f7a3a !important;
    font-size: 17px !important;
    font-weight: 700 !important;
}

body[data-cart-page] .cart-price span {
    font-size: 12px !important;
    font-weight: 500 !important;
}

body[data-cart-page] .qty-control {
    grid-template-columns: 34px 42px 34px !important;
    box-shadow: none !important;
}

body[data-cart-page] .qty-control button {
    height: 34px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
}

body[data-cart-page] .qty-control output {
    font-size: 13px !important;
    font-weight: 600 !important;
}

body[data-cart-page] .cart-remove {
    font-size: 13px !important;
    font-weight: 600 !important;
}

body[data-cart-page] .summary-card {
    padding: 22px !important;
    border-radius: 16px !important;
    background: rgba(255,255,255,.88) !important;
    box-shadow: 0 12px 30px rgba(7,21,28,.055) !important;
}

body[data-cart-page] .summary-row {
    padding: 9px 0 !important;
    font-size: 14px !important;
    font-weight: 500 !important;
}

body[data-cart-page] .summary-row strong {
    font-size: 14px !important;
    font-weight: 650 !important;
}

body[data-cart-page] .shipping-note {
    margin: 6px 0 10px !important;
    padding: 11px 13px !important;
    border: 0 !important;
    border-radius: 10px !important;
    background: rgba(253,185,18,.11) !important;
    color: #7b5600 !important;
    font-size: 13px !important;
    font-weight: 600 !important;
}

body[data-cart-page] .summary-total span {
    font-size: 16px !important;
    font-weight: 650 !important;
}

body[data-cart-page] .summary-checkout {
    min-height: 52px !important;
    border-radius: 10px !important;
    font-weight: 700 !important;
}

body[data-cart-page] .payment-preview span {
    font-size: 13px !important;
    font-weight: 500 !important;
}

html[data-theme="dark"] body[data-cart-page] .commerce-hero,
html[data-theme="dark"] body[data-cart-page] .cart-item,
html[data-theme="dark"] body[data-cart-page] .summary-card,
html[data-theme="dark"] body[data-cart-page] .empty-cart {
    background: rgba(10,28,35,.92) !important;
    box-shadow: 0 16px 42px rgba(0,0,0,.22) !important;
}

@media (max-width: 1080px) {
    body[data-cart-page] .cart-layout {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 760px) {
    body[data-cart-page] .commerce-page {
        width: min(100% - 24px, 680px) !important;
    }

    body[data-cart-page] .commerce-hero {
        grid-template-columns: 1fr !important;
        padding: 18px !important;
    }

    body[data-cart-page] .commerce-hero h1 {
        font-size: 28px !important;
    }

    body[data-cart-page] .cart-item {
        grid-template-columns: 92px minmax(0, 1fr) !important;
        gap: 14px !important;
        align-items: start !important;
        padding: 14px !important;
    }

    body[data-cart-page] .cart-custom-list div {
        grid-template-columns: 1fr !important;
        gap: 2px !important;
    }
}

/* Product customization real final: keep gift note and button inside the popup. */
body[data-product-page] .customization-head {
    padding: 20px 32px 14px !important;
}

body[data-product-page] .customization-dialog h2 {
    margin: 6px 0 5px !important;
    font-size: clamp(28px, 3vw, 38px) !important;
}

body[data-product-page] .customization-head p {
    max-width: 520px !important;
    font-size: 14px !important;
    line-height: 1.42 !important;
}

body[data-product-page] .customization-fields {
    max-height: none !important;
    overflow: visible !important;
    gap: 8px !important;
    padding: 16px 30px !important;
}

body[data-product-page] .customization-fields > .custom-field {
    gap: 6px !important;
    padding: 0 !important;
}

body[data-product-page] .customization-fields > .custom-field input[type="text"],
body[data-product-page] .customization-fields > .custom-field select {
    min-height: 42px !important;
    padding: 0 14px !important;
    border-radius: 10px !important;
    font-size: 15px !important;
}

body[data-product-page] .customization-fields > .custom-field-check {
    min-height: 46px !important;
    margin-top: 0 !important;
    padding: 9px 14px !important;
}

body[data-product-page] .customization-fields > .gift-note-field {
    gap: 6px !important;
    margin-top: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

body[data-product-page] .customization-fields > .gift-note-field textarea {
    min-height: 66px !important;
    max-height: 86px !important;
    padding: 10px 14px !important;
    border: 1px solid rgba(7,21,28,.14) !important;
    border-radius: 12px !important;
    background: #fff !important;
    color: #07151c !important;
    font-size: 14px !important;
    line-height: 1.35 !important;
    box-shadow: inset 0 1px 0 rgba(7,21,28,.025) !important;
}

body[data-product-page] .customization-fields > .gift-note-field > small {
    color: #6f7b84 !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    line-height: 1.25 !important;
}

body[data-product-page] .customization-actions {
    padding: 14px 32px 22px !important;
}

body[data-product-page] .customization-actions .btn-primary {
    min-height: 48px !important;
}

/* Product customization actions: approval belongs beside the submit button. */
body[data-product-page] .customization-actions {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 36%) !important;
    align-items: center !important;
    gap: 18px !important;
}

body[data-product-page] .custom-action-checks {
    min-width: 0;
}

body[data-product-page] .custom-action-checks .custom-field-check {
    display: inline-flex !important;
    align-items: center !important;
    width: auto !important;
    max-width: 100% !important;
    min-height: 44px !important;
    margin: 0 !important;
    padding: 9px 14px !important;
    border-radius: 12px !important;
    background: #fff !important;
}

body[data-product-page] .custom-action-checks .custom-field-check input {
    width: 20px !important;
    height: 20px !important;
    min-width: 20px !important;
}

body[data-product-page] .custom-action-checks .custom-field-check span {
    font-size: 14px !important;
    line-height: 1.25 !important;
}

body[data-product-page] .customization-actions .btn-primary {
    width: 100% !important;
}

body[data-product-page] .gift-note-field textarea {
    resize: none !important;
    overflow: hidden !important;
}

body[data-product-page] .gift-note-field textarea::-webkit-scrollbar {
    display: none !important;
}

@media (max-width: 760px) {
    body[data-product-page] .customization-actions {
        grid-template-columns: 1fr !important;
    }
}

/* Mobile hotfix: product customization modal must scroll inside the viewport. */
@media (max-width: 760px) {
    body[data-product-page] .customization-modal {
        align-items: stretch !important;
        justify-items: center !important;
        place-items: stretch center !important;
        padding: 10px !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch !important;
    }

    body[data-product-page] .customization-dialog {
        width: min(100%, 620px) !important;
        max-height: calc(100dvh - 20px) !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
        -webkit-overflow-scrolling: touch !important;
        display: block !important;
        border-radius: 18px !important;
    }

    body[data-product-page] .customization-head {
        padding: 20px 70px 14px 22px !important;
    }

    body[data-product-page] .customization-dialog h2 {
        font-size: clamp(28px, 8vw, 36px) !important;
        line-height: 1.05 !important;
    }

    body[data-product-page] .customization-head p {
        font-size: 15px !important;
        line-height: 1.45 !important;
    }

    body[data-product-page] .modal-close {
        top: 14px !important;
        right: 16px !important;
        width: 48px !important;
        height: 48px !important;
        min-width: 48px !important;
        z-index: 3 !important;
    }

    body[data-product-page] .customization-body,
    body[data-product-page] .customization-fields {
        max-height: none !important;
        overflow: visible !important;
    }

    body[data-product-page] .customization-body {
        display: block !important;
        padding: 18px 22px 0 !important;
    }

    body[data-product-page] .custom-preview-card {
        border-radius: 16px !important;
    }

    body[data-product-page] .custom-preview p {
        margin: 12px 0 18px !important;
        font-size: 14px !important;
    }

    body[data-product-page] .customization-fields {
        padding: 0 22px 22px !important;
        gap: 12px !important;
    }

    body[data-product-page] .custom-field input[type="text"],
    body[data-product-page] .custom-field select,
    body[data-product-page] .custom-field textarea {
        min-height: 48px !important;
        font-size: 15px !important;
    }

    body[data-product-page] .customization-actions {
        position: sticky !important;
        bottom: 0 !important;
        padding: 12px 22px 18px !important;
        background: rgba(255,255,255,.96) !important;
        backdrop-filter: blur(10px) !important;
    }
}

/* HE live fixes: empty discount badge and out-of-stock button contrast. */
body[data-product-page] .detail-discount:empty,
body[data-product-page] .detail-discount[hidden] {
    display: none !important;
}

.pc-price-old:empty,
body[data-product-page] [data-product-old-price]:empty,
body[data-product-page] [data-product-old-price][hidden],
body[data-product-page] .detail-price-old:empty,
body[data-product-page] .detail-price-old[hidden] {
    display: none !important;
}

.product-card.is-out-of-stock .pc-btn,
body[data-product-page].product-out-of-stock .detail-customize-btn {
    background: #07151c !important;
    background-image: none !important;
    border-color: #07151c !important;
    color: #fff !important;
    opacity: 1 !important;
}

.product-card.is-out-of-stock .pc-btn::before,
body[data-product-page].product-out-of-stock .detail-customize-btn::before {
    display: none !important;
    opacity: 0 !important;
}

.product-card.is-out-of-stock .pc-btn span,
body[data-product-page].product-out-of-stock .detail-customize-btn span {
    color: inherit !important;
    position: relative !important;
    z-index: 2 !important;
}

/* HE live fix: restore computed discount badge beside product detail price. */
body[data-product-page] .detail-buy-row {
    grid-template-columns: minmax(390px, 1fr) 260px 50px !important;
    gap: 18px !important;
}

body[data-product-page] .detail-price-row {
    width: auto !important;
    max-width: none !important;
    grid-template-columns: 64px minmax(0, max-content) !important;
    justify-content: start !important;
    align-items: center !important;
    gap: 4px 16px !important;
    overflow: visible !important;
}

body[data-product-page] .detail-discount {
    width: 64px !important;
    min-width: 64px !important;
    min-height: 56px !important;
    padding: 6px 7px !important;
    border-radius: 6px !important;
    background: #d6ffb8 !important;
    border: 0 !important;
    color: #123c16 !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    line-height: 1.12 !important;
    text-align: center !important;
    white-space: pre-line !important;
}

body[data-product-page] .detail-price-row strong {
    max-width: none !important;
    overflow: visible !important;
    white-space: nowrap !important;
    text-overflow: clip !important;
    font-size: clamp(28px, 3vw, 38px) !important;
}

body[data-product-page] .detail-customize-btn,
body[data-product-page] .detail-action-row .detail-customize-btn {
    width: 100% !important;
    min-width: 0 !important;
}

@media (max-width: 1180px) {
    body[data-product-page] .detail-buy-row {
        grid-template-columns: 1fr !important;
    }

    body[data-product-page] .detail-price-row {
        grid-template-columns: 64px minmax(0, max-content) !important;
    }
}

html[data-theme="dark"] .product-card.is-out-of-stock .pc-btn,
html[data-theme="dark"] body[data-product-page].product-out-of-stock .detail-customize-btn {
    background: #fff !important;
    background-image: none !important;
    border-color: rgba(255,255,255,.5) !important;
    color: #07151c !important;
}

/* HE local verified fix: product detail price and discount stay inside their lane. */
body[data-product-page] .detail-buy-row {
    grid-template-columns: minmax(220px, max-content) minmax(210px, 260px) 50px !important;
    gap: 12px !important;
    align-items: center !important;
    justify-content: start !important;
}

body[data-product-page] .detail-price-row {
    display: grid !important;
    width: auto !important;
    max-width: none !important;
    min-width: 0 !important;
    justify-content: start !important;
    align-items: center !important;
    overflow: visible !important;
}

body[data-product-page] .detail-price-row.has-discount {
    grid-template-columns: 70px minmax(0, max-content) !important;
    grid-template-rows: auto auto !important;
    column-gap: 10px !important;
    row-gap: 2px !important;
}

body[data-product-page] .detail-price-row:not(.has-discount) {
    grid-template-columns: max-content max-content !important;
    grid-template-rows: auto !important;
    column-gap: 16px !important;
    row-gap: 0 !important;
    align-items: baseline !important;
}

body[data-product-page] .detail-discount {
    grid-column: 1 !important;
    grid-row: 1 / span 2 !important;
    display: inline-flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    width: 70px !important;
    min-width: 70px !important;
    min-height: 60px !important;
    padding: 7px 8px !important;
    border: 0 !important;
    border-radius: 6px !important;
    background: #d6ffb8 !important;
    color: #123c16 !important;
    font-size: 16px !important;
    font-weight: 800 !important;
    line-height: 1.12 !important;
    text-align: center !important;
    white-space: pre-line !important;
}

body[data-product-page] .detail-discount strong {
    display: block !important;
    grid-column: auto !important;
    grid-row: auto !important;
    color: #123c16 !important;
    font-size: 21px !important;
    font-weight: 900 !important;
    line-height: 1 !important;
    letter-spacing: 0 !important;
    white-space: nowrap !important;
}

body[data-product-page] .detail-discount span {
    display: block !important;
    color: #123c16 !important;
    font-size: 14px !important;
    font-weight: 850 !important;
    line-height: 1.05 !important;
    letter-spacing: 0 !important;
    white-space: nowrap !important;
}

body[data-product-page] .detail-price-row > strong {
    grid-column: 1 !important;
    grid-row: 1 !important;
    max-width: none !important;
    overflow: visible !important;
    white-space: nowrap !important;
    text-overflow: clip !important;
    color: #078a16 !important;
    font-size: clamp(24px, 1.75vw, 30px) !important;
    line-height: 1 !important;
}

body[data-product-page] .detail-price-row.has-discount > strong {
    grid-column: 2 !important;
}

body[data-product-page] .detail-price-row del {
    grid-column: 2 !important;
    grid-row: 1 !important;
    align-self: baseline !important;
    margin-left: 0 !important;
    white-space: nowrap !important;
    color: #aeb7bf !important;
    font-size: 16px !important;
    line-height: 1 !important;
}

body[data-product-page] .detail-price-row.has-discount > del {
    grid-column: 2 !important;
    grid-row: 2 !important;
    align-self: start !important;
    font-size: 13px !important;
}

body[data-product-page] .detail-discount:empty,
body[data-product-page] .detail-discount[hidden] {
    display: none !important;
}

body[data-product-page] .detail-customize-btn,
body[data-product-page] .detail-action-row .detail-customize-btn {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 260px !important;
    min-height: 50px !important;
    padding-inline: 16px !important;
    font-size: 15px !important;
    white-space: normal !important;
}

body[data-product-page] .detail-favorite-btn {
    width: 50px !important;
    min-width: 50px !important;
    height: 50px !important;
}

@media (max-width: 1180px) {
    body[data-product-page] .detail-buy-row {
        grid-template-columns: minmax(0, 1fr) 58px !important;
    }

    body[data-product-page] .detail-price-row {
        grid-column: 1 / -1 !important;
    }
}

@media (max-width: 640px) {
    body[data-product-page] .detail-buy-row {
        grid-template-columns: minmax(0, 1fr) 58px !important;
        gap: 12px !important;
    }

    body[data-product-page] .detail-price-row.has-discount {
        grid-template-columns: 64px minmax(0, max-content) !important;
        column-gap: 10px !important;
    }

    body[data-product-page] .detail-discount {
        width: 64px !important;
        min-width: 64px !important;
        min-height: 56px !important;
        font-size: 14px !important;
    }

    body[data-product-page] .detail-discount strong {
        font-size: 19px !important;
    }

    body[data-product-page] .detail-discount span {
        font-size: 13px !important;
    }

    body[data-product-page] .detail-price-row > strong {
        font-size: clamp(26px, 8vw, 34px) !important;
    }
}

/* HE menu/category alignment pass */
body[data-product-page] .product-summary > .pc-category {
    display: none !important;
}

@media (max-width: 760px) {
    body[data-product-page] .product-detail-shell {
        padding-top: 18px !important;
    }

    body[data-product-page] .product-gallery {
        padding-top: 8px !important;
    }
}

/* v39: unified rich footer */
.he-site-footer {
    padding: 52px 0 26px;
    border-top: 1px solid rgba(7,21,28,.08);
    background:
        radial-gradient(circle at 14% 10%, rgba(253,185,18,.10), transparent 28%),
        radial-gradient(circle at 86% 18%, rgba(35,160,132,.08), transparent 30%),
        linear-gradient(180deg, #fff, #f7f9fa);
}

.he-site-footer .container {
    width: min(1500px, calc(100% - 48px));
}

.he-site-footer .footer-marketplaces {
    display: grid;
    justify-items: center;
    gap: 22px;
    margin: 0 0 30px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.he-site-footer .footer-marketplaces h2 {
    margin: 0;
    color: var(--text-main);
    font-size: clamp(22px, 2vw, 30px);
    font-weight: 750;
    letter-spacing: 0;
}

.footer-marketplace-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: clamp(24px, 5vw, 70px);
    width: 100%;
    background: transparent;
    box-shadow: none;
}

.footer-marketplace-logos a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 132px;
    height: 54px;
    transition: transform .2s ease, opacity .2s ease;
}

.footer-marketplace-logos a:hover {
    transform: translateY(-2px);
    opacity: .82;
}

.footer-marketplace-logos img {
    display: block;
    max-width: 138px;
    max-height: 42px;
    object-fit: contain;
}

.footer-service-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    margin: 0 0 44px;
}

.footer-service-item {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 76px;
    padding: 16px 18px;
    border: 1px solid rgba(7,21,28,.10);
    border-radius: 8px;
    background: rgba(255,255,255,.78);
    box-shadow: 0 16px 34px rgba(7,21,28,.05);
}

.footer-service-item span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    border: 1px solid rgba(253,185,18,.42);
    border-radius: 50%;
    color: #c78300;
    background: rgba(253,185,18,.08);
}

.footer-service-item svg {
    width: 25px;
    height: 25px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.footer-service-item strong {
    color: var(--text-main);
    font-size: 16px;
    line-height: 1.35;
}

.he-site-footer .footer-grid-rich {
    display: grid;
    grid-template-columns: minmax(190px, .85fr) minmax(150px, .7fr) minmax(190px, .82fr) minmax(170px, .72fr) minmax(250px, 1fr);
    gap: 34px;
    align-items: start;
    margin-bottom: 34px;
}

.he-site-footer .footer-brand-col .footer-text {
    max-width: 310px;
    margin-top: 14px;
}

.footer-etbis {
    display: inline-flex;
    margin-top: 22px;
}

.footer-etbis img {
    width: 128px;
    height: auto;
    display: block;
}

.he-site-footer h4 {
    margin: 0 0 15px;
    color: var(--text-main);
    font-size: 15px;
    font-weight: 800;
}

.he-site-footer ul,
.he-site-footer ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

.he-site-footer li,
.he-site-footer p {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.62;
}

.he-site-footer nav li + li,
.footer-contact li + li {
    margin-top: 8px;
}

.he-site-footer a {
    color: var(--text-muted);
    text-decoration: none;
}

.he-site-footer a:hover {
    color: var(--primary);
}

.footer-contact-col {
    display: grid;
    gap: 14px;
}

.footer-social {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 11px;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border: 0;
    border-radius: 50%;
    color: #07151c;
    background: transparent;
    box-shadow: none;
    transition: transform .2s ease, border-color .2s ease;
}

.footer-social a:hover {
    transform: translateY(-2px);
    border-color: transparent;
}

.footer-social svg {
    width: 21px;
    height: 21px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.footer-social img {
    display: block;
    width: 46px;
    height: 46px;
    object-fit: contain;
    border-radius: 50%;
}

.he-site-footer .footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-top: 22px;
    border-top: 1px solid rgba(7,21,28,.08);
    color: #7c8992;
}

html[data-theme="dark"] .he-site-footer {
    border-top-color: rgba(255,255,255,.10);
    background: linear-gradient(180deg, #061114, #03090b);
}

html[data-theme="dark"] .he-site-footer .footer-marketplaces,
html[data-theme="dark"] .footer-marketplace-logos {
    background: transparent !important;
    box-shadow: none !important;
    filter: none !important;
}

html[data-theme="dark"] .footer-marketplace-logos img[src$="he-trendyol.png"] {
    content: url("../img/footer/he-trendyol-dark.png");
    filter: none;
    opacity: .92;
}

html[data-theme="dark"] .footer-service-item {
    border-color: rgba(255,255,255,.12);
    background: rgba(255,255,255,.05);
}

html[data-theme="dark"] .footer-social a {
    border: 1px solid rgba(255,255,255,.58);
}

html[data-theme="dark"] .footer-social a:hover {
    border-color: rgba(255,255,255,.86);
}

html[data-theme="dark"] .footer-social img {
    width: 42px;
    height: 42px;
}

html[data-theme="dark"] .footer-social .social-instagram img {
    content: url("../img/social/v69-dark/instagram.png");
}

html[data-theme="dark"] .footer-social .social-facebook img {
    content: url("../img/social/v69-dark/facebook.png");
}

html[data-theme="dark"] .footer-social .social-x img {
    content: url("../img/social/v69-dark/x.png");
}

html[data-theme="dark"] .footer-social .social-tiktok img {
    content: url("../img/social/v69-dark/tiktok.png");
}

html[data-theme="dark"] .footer-social .social-pinterest img {
    content: url("../img/social/v69-dark/pinterest.png");
}

html[data-theme="dark"] .footer-social .social-youtube img {
    content: url("../img/social/v69-dark/youtube.png");
}

html[data-theme="dark"] .footer-social .social-whatsapp img {
    content: url("../img/social/v69-dark/whatsapp.png");
}

.favorites-panel {
    display: grid;
    gap: 24px;
}

.favorites-grid {
    width: 100%;
}

.favorite-product-card .pc-stars span {
    color: #adb5bd;
    font-size: 11px;
}

html[data-theme="dark"] .footer-service-item strong,
html[data-theme="dark"] .he-site-footer .footer-marketplaces h2,
html[data-theme="dark"] .he-site-footer h4 {
    color: #f8fbfb;
}

html[data-theme="dark"] .he-site-footer li,
html[data-theme="dark"] .he-site-footer p,
html[data-theme="dark"] .he-site-footer a {
    color: rgba(248,251,251,.68);
}

html[data-theme="dark"] .he-site-footer a:hover {
    color: #fdb912;
}

html[data-theme="dark"] .he-site-footer .footer-bottom {
    border-top-color: rgba(255,255,255,.10);
    color: rgba(248,251,251,.52);
}

@media (max-width: 1180px) {
    .footer-service-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .he-site-footer .footer-grid-rich {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .he-site-footer {
        padding: 38px 0 22px;
    }

    .he-site-footer .container {
        width: min(100% - 28px, 1500px);
    }

    .footer-marketplace-logos {
        gap: 14px 20px;
    }

    .footer-marketplace-logos a {
        min-width: 118px;
        height: 46px;
    }

    .footer-marketplace-logos img {
        max-width: 118px;
        max-height: 36px;
    }

    .footer-service-strip,
    .he-site-footer .footer-grid-rich {
        grid-template-columns: 1fr;
    }

    .footer-service-strip {
        gap: 12px;
        margin-bottom: 30px;
    }

    .footer-service-item {
        min-height: 68px;
    }

    .he-site-footer .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
    }
}

/* Dynamic homepage hero products: keep this block at the end so it wins over older stage rules. */
.site-stage .stage-content[data-hero-rotator] {
    display: block;
    position: relative;
    min-height: 430px;
    padding: 46px 56px 56px;
}

.site-stage .stage-slide {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(280px, 1fr);
    align-items: center;
    gap: 40px;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    position: absolute;
    transform: translateY(14px);
    transition: opacity .45s ease, transform .45s ease;
}

.site-stage .stage-slide.is-leaving {
    position: absolute;
}

.site-stage .stage-slide .stage-copy,
.site-stage .stage-slide .stage-visual {
    will-change: opacity, transform, filter;
}

.site-stage .stage-slide.is-active {
    opacity: 1;
    pointer-events: auto;
    position: relative;
    transform: translateY(0);
}

.site-stage .stage-slide.is-active .stage-copy {
    animation: heroCopyIn .78s cubic-bezier(.16,.86,.26,1) both;
}

.site-stage .stage-slide.is-active .stage-visual {
    animation: heroVisualIn .82s cubic-bezier(.16,.86,.26,1) both;
}

.site-stage .stage-slide.is-leaving .stage-copy {
    animation: heroCopyOut .38s ease both;
}

.site-stage .stage-slide.is-leaving .stage-visual {
    animation: heroVisualOut .38s ease both;
}

.site-stage .stage-slide.is-active .stage-eyebrow {
    animation: heroEyebrowIn .58s cubic-bezier(.18,.84,.24,1) .08s both;
}

.site-stage .stage-slide.is-active .stage-title {
    animation: heroTitleFromLeft .98s cubic-bezier(.16,.86,.26,1) .12s both;
}

.site-stage .stage-slide.is-active .stage-desc {
    animation: heroDescFromRight 1.04s cubic-bezier(.16,.86,.26,1) .22s both;
}

.site-stage .stage-slide.is-active .stage-copy .stage-cta {
    animation: heroEyebrowIn .7s cubic-bezier(.18,.84,.24,1) .36s both;
}

.site-stage .stage-slide.is-active .stage-product {
    animation: heroFloatCard 6s ease-in-out 1s infinite;
}

@keyframes heroCopyIn {
    from { opacity: 0; transform: translate3d(-28px, 8px, 0); }
    to { opacity: 1; transform: translate3d(0, 0, 0); }
}

@keyframes heroVisualIn {
    from { opacity: 0; transform: translate3d(34px, 10px, 0) scale(.985); filter: blur(3px); }
    to { opacity: 1; transform: translate3d(0, 0, 0) scale(1); filter: blur(0); }
}

@keyframes heroCopyOut {
    from { opacity: 1; transform: translate3d(0, 0, 0); }
    to { opacity: 0; transform: translate3d(24px, -4px, 0); }
}

@keyframes heroVisualOut {
    from { opacity: 1; transform: translate3d(0, 0, 0) scale(1); filter: blur(0); }
    to { opacity: 0; transform: translate3d(-24px, -4px, 0) scale(.99); filter: blur(2px); }
}

@keyframes heroEyebrowIn {
    from { opacity: 0; transform: translate3d(-16px, 10px, 0); }
    to { opacity: 1; transform: translate3d(0, 0, 0); }
}

@keyframes heroTitleFromLeft {
    0% { opacity: 0; transform: translate3d(clamp(-520px, -38vw, -230px), 0, 0); }
    54% { opacity: 1; }
    100% { opacity: 1; transform: translate3d(0, 0, 0); }
}

@keyframes heroDescFromRight {
    0% { opacity: 0; transform: translate3d(clamp(230px, 38vw, 520px), 0, 0); }
    54% { opacity: 1; }
    100% { opacity: 1; transform: translate3d(0, 0, 0); }
}

.site-stage .stage-slide:not(.is-active) .stage-cta,
.site-stage .stage-slide:not(.is-active) .stage-product {
    pointer-events: none;
}

.site-stage .stage-slide .stage-title {
    color: #07151c;
    max-width: 720px;
    overflow: visible;
    font-size: var(--hero-title-size, 38px);
    line-height: 1.08;
    letter-spacing: 0;
    text-wrap: balance;
}

.site-stage .stage-slide .stage-desc {
    color: #4f5f68;
    display: -webkit-box;
    max-width: 560px;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.site-stage .stage-slide .stage-product {
    color: inherit;
    text-decoration: none;
}

.site-stage .stage-product-info strong {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.site-stage .stage-product-info span {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.site-stage .stage-slide .stage-product:hover .stage-product-info strong {
    color: #c47f00;
}

.site-stage .stage-product img[src=""],
.site-stage .stage-product img:not([src]) {
    background: linear-gradient(135deg, #f5efe1, #ffffff);
}

html[data-theme="dark"] .site-stage .stage-slide .stage-title {
    color: #f8fbfb;
}

html[data-theme="dark"] .site-stage .stage-slide .stage-desc {
    color: rgba(248,251,251,.70);
}

html[data-theme="dark"] .site-stage .stage-product {
    position: relative;
    background:
        linear-gradient(145deg, rgba(255,255,255,.13), rgba(255,255,255,.045) 34%, rgba(7,21,28,.70) 100%),
        linear-gradient(180deg, rgba(42,48,48,.86), rgba(28,34,35,.92));
    border-top: 1px solid rgba(255,255,255,.22);
    border-left: 1px solid rgba(255,255,255,.16);
    border-right: 1px solid rgba(255,255,255,.07);
    border-bottom: 1px solid rgba(255,255,255,.06);
    box-shadow:
        18px 24px 54px rgba(0,0,0,.54),
        0 0 0 1px rgba(255,255,255,.035),
        inset 0 1px 0 rgba(255,255,255,.14),
        inset 0 -28px 44px rgba(0,0,0,.16);
    overflow: hidden;
    isolation: isolate;
    -webkit-backdrop-filter: blur(18px) saturate(112%);
    backdrop-filter: blur(18px) saturate(112%);
}

html[data-theme="dark"] .site-stage .stage-product::before,
html[data-theme="dark"] .site-stage .stage-product::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    z-index: 0;
}

html[data-theme="dark"] .site-stage .stage-product::before {
    background:
        radial-gradient(circle at 18% 9%, rgba(255,255,255,.12), transparent 30%),
        radial-gradient(circle at 90% 92%, rgba(255,255,255,.045), transparent 42%);
    mix-blend-mode: screen;
    opacity: .46;
}

html[data-theme="dark"] .site-stage .stage-product::after {
    background:
        linear-gradient(135deg, rgba(255,255,255,.12), transparent 24%),
        linear-gradient(315deg, rgba(255,255,255,.035), transparent 42%),
        linear-gradient(180deg, transparent 56%, rgba(0,0,0,.18));
    opacity: .58;
}

html[data-theme="dark"] .site-stage .stage-product > * {
    position: relative;
    z-index: 1;
}

@media (max-width: 980px) {
    .site-stage .stage-content[data-hero-rotator] {
        min-height: 640px;
        padding: 40px 30px 100px;
        text-align: center;
    }

    .site-stage .stage-slide {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .site-stage .stage-slide .stage-title {
        max-width: 100%;
        font-size: var(--hero-title-size, 34px);
    }

    .site-stage .stage-slide .stage-desc {
        max-width: 100%;
    }
}

@media (max-width: 640px) {
    .site-stage .stage-content[data-hero-rotator] {
        min-height: 610px;
        padding: 34px 20px 94px;
    }

    .site-stage .stage-slide {
        gap: 28px;
    }

    .site-stage .stage-slide .stage-title {
        font-size: var(--hero-title-size, 28px);
    }
}

/* Brand logo typography */
@font-face {
    font-family: "Antipasto HE";
    src: url("../fonts/antipasto/Antipasto-Pro-Regular-trial.ttf") format("truetype");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

.header-logo,
.footer-logo-link,
.login-simple-logo {
    color: inherit;
    text-decoration: none;
}

.brand-logo-text {
    display: inline-flex;
    align-items: baseline;
    gap: .12em;
    color: #07151c;
    font-family: "Antipasto HE", var(--font-ui), -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
    font-size: clamp(24px, 2.25vw, 36px);
    font-weight: 700;
    line-height: .98;
    letter-spacing: 0 !important;
    white-space: nowrap;
}

.brand-logo-text span {
    color: #07151c;
}

.brand-logo-text span:last-child {
    color: #ffb514;
}

.header-logo .brand-logo-text {
    font-size: clamp(24px, 1.9vw, 34px);
}

.footer-logo.brand-logo-text {
    display: inline-flex;
    flex-direction: row;
    align-items: baseline;
    gap: .12em;
    font-size: clamp(24px, 1.75vw, 30px);
    line-height: .98;
}

.login-simple-logo .brand-logo-text {
    font-size: clamp(30px, 4vw, 42px);
}

html[data-theme="dark"] .brand-logo-text,
html[data-theme="dark"] .brand-logo-text span {
    color: #f5f7f8;
}

html[data-theme="dark"] .brand-logo-text span:last-child {
    color: #ffb514;
}

@media (max-width: 980px) {
    .header-logo .brand-logo-text {
        font-size: clamp(22px, 4.2vw, 30px);
    }
}

@media (max-width: 640px) {
    .brand-logo-text {
        font-size: 26px;
    }

    .header-logo .brand-logo-text {
        font-size: clamp(20px, 6vw, 28px);
    }

    .footer-logo.brand-logo-text {
        font-size: 26px;
    }
}

/* Header/footer logo alignment fixes */
.main-header {
    width: min(calc(100% - 36px), 1080px);
    max-width: 1080px;
    padding-left: 0;
    padding-right: 0;
    grid-template-columns: auto minmax(260px, 1fr) auto;
    gap: 28px;
}

.header-logo .brand-logo-text {
    font-size: clamp(21px, 1.55vw, 28px);
}

.he-site-footer .footer-grid-rich {
    grid-template-columns: minmax(250px, .95fr) minmax(140px, .65fr) minmax(180px, .78fr) minmax(160px, .68fr) minmax(230px, 1fr);
    gap: 28px;
}

.footer-logo.brand-logo-text {
    max-width: 100%;
    font-size: clamp(19px, 1.25vw, 22px);
}

.footer-brand-col .footer-text,
.he-site-footer .footer-brand-col .footer-text {
    max-width: 250px;
}

@media (max-width: 980px) {
    .main-header {
        width: min(calc(100% - 28px), 1080px);
        grid-template-columns: auto 1fr;
        gap: 16px;
    }

    .header-logo .brand-logo-text {
        font-size: clamp(20px, 4.6vw, 28px);
    }
}

@media (max-width: 720px) {
    .footer-logo.brand-logo-text {
        font-size: clamp(20px, 5.2vw, 24px);
    }
}

/* Live logo hard override */
.main-header {
    width: min(calc(100% - 36px), 1080px) !important;
    max-width: 1080px !important;
    padding-left: clamp(86px, 8vw, 128px) !important;
    padding-right: 0 !important;
    grid-template-columns: auto minmax(240px, 1fr) auto !important;
    gap: 28px !important;
}

.header-logo {
    max-width: 260px !important;
    min-width: 0 !important;
}

.header-logo .brand-logo-text {
    font-size: clamp(24px, 2vw, 34px) !important;
    line-height: .98 !important;
    white-space: nowrap !important;
}

.he-site-footer .footer-brand-col {
    min-width: 0 !important;
}

.footer-logo.brand-logo-text {
    width: max-content !important;
    max-width: 100% !important;
    font-size: clamp(18px, 1.15vw, 21px) !important;
    line-height: 1 !important;
    white-space: nowrap !important;
}

@media (max-width: 980px) {
    .main-header {
        padding-left: 0 !important;
        grid-template-columns: auto 1fr !important;
    }

    .header-logo .brand-logo-text {
        font-size: clamp(22px, 4.6vw, 30px) !important;
    }
}

/* v83: align compact brand mark with the hero card */
.main-header {
    padding-left: clamp(152px, 19.5vw, 212px) !important;
}

.header-logo {
    max-width: 230px !important;
}

.header-logo .brand-logo-text {
    font-size: clamp(20px, 1.65vw, 28px) !important;
}

.footer-logo.brand-logo-text {
    display: inline-grid !important;
    grid-auto-flow: column !important;
    grid-auto-columns: max-content !important;
    align-items: baseline !important;
    width: auto !important;
    max-width: none !important;
    white-space: nowrap !important;
    font-size: clamp(17px, 1.02vw, 19px) !important;
}

@media (max-width: 980px) {
    .main-header {
        padding-left: 0 !important;
    }

    .header-logo .brand-logo-text {
        font-size: clamp(20px, 4.2vw, 28px) !important;
    }
}

/* v84: keep header brand left aligned and vertically centered */
.main-header {
    padding-left: 0 !important;
    padding-right: 0 !important;
    align-items: center !important;
}

.header-logo {
    display: inline-flex !important;
    align-items: center !important;
    justify-self: start !important;
}

.header-logo .brand-logo-text {
    display: inline-flex !important;
    align-items: baseline !important;
}

/* v85: sync hero product card fan-in with the copy animation */
.site-stage .stage-slide .stage-product {
    transform-origin: 86% 52%;
    backface-visibility: hidden;
    transform-style: preserve-3d;
}

.site-stage .stage-slide.is-active .stage-product {
    animation: heroCardFanIn 1.28s cubic-bezier(.2,.82,.18,1) .12s both !important;
}

.site-stage .stage-slide.is-leaving .stage-product {
    animation: heroCardFanOut .38s ease both !important;
}

@keyframes heroCardFanIn {
    0% {
        opacity: .86;
        transform: perspective(900px) translate3d(32px, 2px, 0) rotateY(-42deg) rotateZ(14deg) scale(.965);
    }
    100% {
        opacity: 1;
        transform: perspective(900px) translate3d(0, 0, 0) rotateY(0deg) rotateZ(0deg) scale(1);
    }
}

@keyframes heroCardFanOut {
    from {
        opacity: 1;
        transform: perspective(900px) translate3d(0, 0, 0) rotateY(0deg) rotateZ(0deg) scale(1);
    }
    to {
        opacity: 0;
        transform: perspective(900px) translate3d(-18px, -4px, 0) rotateY(10deg) rotateZ(-3deg) scale(.99);
    }
}

@media (prefers-reduced-motion: reduce) {
    .site-stage .stage-slide.is-active .stage-product,
    .site-stage .stage-slide.is-leaving .stage-product {
        animation: none !important;
    }
}

/* v88: remove menu/category labels from product cards and hero card badges */
.product-card .pc-category,
.category-product-card .pc-category,
.site-stage .stage-product-info span,
.pc-badges {
    display: none !important;
}

/* v89: fixed header rhythm, real search fallback, and balanced homepage spacing */
.top-bar {
    display: none !important;
}

.main-header {
    width: min(calc(100% - 80px), 1500px) !important;
    max-width: 1500px !important;
    min-height: 112px !important;
    display: grid !important;
    grid-template-columns: minmax(320px, max-content) minmax(420px, 560px) max-content !important;
    justify-content: center !important;
    align-items: center !important;
    column-gap: clamp(28px, 3vw, 48px) !important;
    padding: 22px 0 !important;
}

.header-logo {
    max-width: none !important;
    min-width: 0 !important;
    justify-self: end !important;
}

.header-logo .brand-logo-text {
    font-size: clamp(27px, 2vw, 36px) !important;
    line-height: 1 !important;
}

.header-search {
    justify-self: stretch !important;
    width: 100% !important;
    max-width: 560px !important;
    margin: 0 !important;
}

.header-actions {
    flex: 0 0 auto !important;
    justify-self: start !important;
    align-items: center !important;
}

.site-stage {
    padding-bottom: clamp(28px, 3vw, 44px) !important;
}

.features {
    padding: clamp(28px, 3vw, 44px) 0 !important;
}

.bestsellers-section {
    padding-top: clamp(36px, 4vw, 58px) !important;
    padding-bottom: clamp(34px, 4vw, 56px) !important;
}

.section-title {
    margin-bottom: clamp(30px, 3.5vw, 48px) !important;
}

.home-categories {
    padding: clamp(42px, 5vw, 70px) 0 clamp(42px, 5vw, 70px) !important;
}

.home-section-head {
    margin-bottom: clamp(28px, 3vw, 42px) !important;
}

.he-site-footer .footer-marketplaces {
    margin-top: clamp(34px, 4vw, 58px) !important;
    margin-bottom: clamp(30px, 3.5vw, 48px) !important;
}

.category-grid > a > span {
    display: none !important;
}

@media (max-width: 1180px) {
    .main-header {
        width: min(calc(100% - 36px), 1080px) !important;
        grid-template-columns: minmax(240px, max-content) minmax(320px, 1fr) max-content !important;
        column-gap: 20px !important;
    }

    .header-logo {
        justify-self: start !important;
    }

    .header-logo .brand-logo-text {
        font-size: clamp(24px, 2.4vw, 30px) !important;
    }
}

@media (max-width: 860px) {
    .main-header {
        min-height: auto !important;
        grid-template-columns: 46px 1fr auto !important;
        row-gap: 14px !important;
        padding: 16px 0 18px !important;
    }

    .header-logo {
        justify-self: start !important;
    }

    .header-search {
        grid-column: 1 / -1 !important;
        max-width: none !important;
    }
}

/* v91: keep hero width unchanged; fit the header inside the existing hero span. */
.main-header {
    width: min(calc(100% - 36px), 1080px) !important;
    max-width: 1080px !important;
    min-height: 92px !important;
    grid-template-columns: minmax(250px, 300px) minmax(300px, 1fr) minmax(220px, 250px) !important;
    justify-content: stretch !important;
    align-items: center !important;
    column-gap: 18px !important;
    padding: 14px 0 16px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.header-logo {
    justify-self: start !important;
    max-width: 300px !important;
    overflow: hidden !important;
}

.header-logo .brand-logo-text {
    font-size: 27px !important;
    line-height: 1 !important;
    white-space: nowrap !important;
}

.header-search {
    justify-self: stretch !important;
    width: 100% !important;
    max-width: none !important;
    height: 56px !important;
    margin: 0 !important;
}

.header-search input {
    font-size: 16px !important;
    padding-left: 18px !important;
}

.header-search button {
    width: 64px !important;
}

.header-actions {
    justify-self: end !important;
    gap: 10px !important;
}

.action-btn {
    width: 50px !important;
    height: 50px !important;
}

.theme-toggle {
    height: 50px !important;
}

.theme-toggle-track {
    width: 80px !important;
    height: 42px !important;
}

@media (max-width: 1180px) {
    .main-header {
        width: min(calc(100% - 28px), 1080px) !important;
        grid-template-columns: minmax(210px, 260px) minmax(240px, 1fr) max-content !important;
        column-gap: 14px !important;
    }

    .header-logo {
        max-width: 260px !important;
    }

    .header-logo .brand-logo-text {
        font-size: 24px !important;
    }

    .header-search {
        height: 52px !important;
    }

    .action-btn {
        width: 46px !important;
        height: 46px !important;
    }
}

@media (max-width: 860px) {
    .main-header {
        min-height: auto !important;
        grid-template-columns: 44px 1fr auto !important;
        row-gap: 12px !important;
        padding: 14px 0 16px !important;
    }

    .header-logo {
        max-width: none !important;
    }

    .header-search {
        grid-column: 1 / -1 !important;
        height: 52px !important;
    }
}

/* v92: lock the homepage to the hero axis and balance sparse product grids. */
.main-header,
.site-stage .stage-card,
.features .features-grid {
    width: min(calc(100% - 36px), 1080px) !important;
    max-width: 1080px !important;
}

.features .container {
    width: min(calc(100% - 36px), 1080px) !important;
    max-width: 1080px !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.features .features-grid {
    width: 100% !important;
}

.main-header {
    grid-template-columns: minmax(300px, 300px) minmax(300px, 1fr) minmax(220px, 250px) !important;
}

.header-logo {
    max-width: 300px !important;
}

.header-logo .brand-logo-text {
    font-size: 31px !important;
}

.home-categories .container,
.he-site-footer .container {
    width: min(calc(100% - 36px), 1120px) !important;
    max-width: 1120px !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
}

.home-categories .category-grid {
    width: 100% !important;
}

.bestsellers-section .product-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 252px)) !important;
    justify-content: center !important;
    gap: 24px !important;
    margin-bottom: 0 !important;
}

.bestsellers-section {
    padding-top: clamp(34px, 3.6vw, 50px) !important;
    padding-bottom: clamp(30px, 3.4vw, 46px) !important;
}

.home-categories {
    padding-top: clamp(30px, 3.4vw, 46px) !important;
    padding-bottom: clamp(50px, 6vw, 78px) !important;
}

@media (max-width: 1180px) {
    .main-header {
        grid-template-columns: minmax(250px, 286px) minmax(240px, 1fr) max-content !important;
    }

    .header-logo {
        max-width: 286px !important;
    }

    .header-logo .brand-logo-text {
        font-size: clamp(25px, 2.55vw, 30px) !important;
    }
}

@media (max-width: 860px) {
    .main-header {
        grid-template-columns: 44px 1fr auto !important;
    }

    .header-logo .brand-logo-text {
        font-size: clamp(22px, 5.5vw, 29px) !important;
    }
}

/* v93: equalize homepage vertical rhythm and footer marketplace spacing. */
:root {
    --he-home-rhythm: clamp(48px, 4.4vw, 64px);
    --he-home-title-gap: clamp(42px, 4vw, 56px);
}

.site-stage {
    padding-bottom: var(--he-home-rhythm) !important;
}

.features {
    padding-top: 0 !important;
    padding-bottom: var(--he-home-rhythm) !important;
}

.bestsellers-section {
    padding-top: 0 !important;
    padding-bottom: var(--he-home-rhythm) !important;
}

.bestsellers-section .section-title {
    margin-top: 0 !important;
    margin-bottom: var(--he-home-title-gap) !important;
}

.home-categories {
    padding-top: 0 !important;
}

.home-section-head {
    margin-top: 0 !important;
}

.he-site-footer {
    padding-top: clamp(72px, 7vw, 104px) !important;
}

.he-site-footer .footer-marketplaces {
    gap: clamp(38px, 4.2vw, 58px) !important;
    margin-top: 0 !important;
    margin-bottom: var(--he-home-rhythm) !important;
}

.he-site-footer .footer-marketplaces h2 {
    transform: translateY(-8px);
}

@media (max-width: 720px) {
    :root {
        --he-home-rhythm: 38px;
        --he-home-title-gap: 34px;
    }

    .he-site-footer {
        padding-top: 54px !important;
    }

    .he-site-footer .footer-marketplaces {
        gap: 30px !important;
    }

    .he-site-footer .footer-marketplaces h2 {
        transform: none;
    }
}

/* v94: add the HE gift mark to the header brand without crossing the hero axis. */
.header-logo {
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
    width: 300px !important;
    max-width: 300px !important;
    overflow: visible !important;
}

.header-logo::before {
    content: "";
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    background: url("../img/he-gift-mark.png") center / contain no-repeat;
}

.header-logo .brand-logo-text {
    flex: 0 1 auto;
    min-width: 0;
    font-size: 26px !important;
}

.brand-logo-text span:last-child {
    color: #fdb912 !important;
}

@media (max-width: 1180px) {
    .header-logo {
        width: 286px !important;
        max-width: 286px !important;
        gap: 9px !important;
    }

    .header-logo::before {
        flex-basis: 32px;
        width: 32px;
        height: 32px;
    }

    .header-logo .brand-logo-text {
        font-size: clamp(23px, 2.3vw, 25px) !important;
    }
}

@media (max-width: 860px) {
    .header-logo {
        width: auto !important;
        max-width: 100% !important;
        gap: 8px !important;
    }

    .header-logo::before {
        flex-basis: 28px;
        width: 28px;
        height: 28px;
    }

    .header-logo .brand-logo-text {
        font-size: clamp(20px, 4.8vw, 24px) !important;
    }
}

/* v96: keep checkout choice rows dark after the late light-theme control fixes. */
html[data-theme="dark"] body[data-checkout-page] .checkout-option,
html[data-theme="dark"] body[data-checkout-page] .checkout-inline-check,
html[data-theme="dark"] body[data-checkout-page] .checkout-agreement {
    border-color: rgba(255,255,255,.13) !important;
    background:
        linear-gradient(135deg, rgba(255,255,255,.075), rgba(255,255,255,.035)),
        #0a1c23 !important;
    color: #f7f2e7 !important;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.035) !important;
}

html[data-theme="dark"] body[data-checkout-page] .checkout-option:hover,
html[data-theme="dark"] body[data-checkout-page] .checkout-option:focus-within,
html[data-theme="dark"] body[data-checkout-page] .checkout-inline-check:hover,
html[data-theme="dark"] body[data-checkout-page] .checkout-inline-check:focus-within,
html[data-theme="dark"] body[data-checkout-page] .checkout-agreement:hover,
html[data-theme="dark"] body[data-checkout-page] .checkout-agreement:focus-within {
    border-color: rgba(253,185,18,.62) !important;
    background:
        linear-gradient(90deg, rgba(253,185,18,.15), transparent 34%),
        #10262d !important;
    box-shadow: inset 4px 0 0 rgba(253,185,18,.52) !important;
}

html[data-theme="dark"] body[data-checkout-page] .checkout-option strong,
html[data-theme="dark"] body[data-checkout-page] .checkout-inline-check > span,
html[data-theme="dark"] body[data-checkout-page] .checkout-agreement > span {
    color: #f7f2e7 !important;
}

html[data-theme="dark"] body[data-checkout-page] .checkout-option small {
    color: rgba(247,242,231,.62) !important;
}

html[data-theme="dark"] body[data-checkout-page] .checkout-option input,
html[data-theme="dark"] body[data-checkout-page] .checkout-inline-check input,
html[data-theme="dark"] body[data-checkout-page] .checkout-agreement input {
    border-color: rgba(247,242,231,.42) !important;
    background-color: rgba(255,255,255,.04) !important;
}

html[data-theme="dark"] body[data-checkout-page] .checkout-option input:checked {
    border-color: var(--primary) !important;
    background:
        radial-gradient(circle at 50% 50%, var(--primary) 0 5px, transparent 6px),
        rgba(255,255,255,.04) !important;
}

html[data-theme="dark"] body[data-checkout-page] .checkout-inline-check input:checked,
html[data-theme="dark"] body[data-checkout-page] .checkout-agreement input:checked {
    border-color: var(--primary) !important;
    background:
        linear-gradient(135deg, transparent 0 42%, #07151c 43% 58%, transparent 59%) center/11px 11px no-repeat,
        linear-gradient(45deg, transparent 0 45%, #07151c 46% 58%, transparent 59%) center/11px 11px no-repeat,
        var(--primary) !important;
}

/* =========================================================================
   v94: Minimalist language switch + header column fix
   The earlier overrides capped the actions column at 250px, which clipped the
   language switch behind the search field on desktop. Give actions intrinsic
   width and ship a compact, icon-row-friendly dropdown.
   ========================================================================= */
.main-header {
    grid-template-columns: minmax(0, 300px) minmax(220px, 1fr) max-content !important;
}
@media (max-width: 1180px) {
    .main-header {
        grid-template-columns: minmax(200px, 260px) minmax(200px, 1fr) max-content !important;
    }
}
@media (max-width: 860px) {
    .main-header {
        grid-template-columns: 44px 1fr auto !important;
    }
    .header-search {
        grid-column: 1 / -1 !important;
    }
}
.header-actions {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
}

/* ---- Language switch (compact globe dropdown) ---- */
.language-switch {
    position: relative;
    flex: 0 0 auto;
    height: auto;
    padding: 0;
    background: none;
    box-shadow: none;
    border-radius: 0;
    display: inline-block;
}
.language-switch > .language-switch-trigger {
    list-style: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 46px;
    padding: 0 12px 0 13px;
    border-radius: 999px;
    color: #07151c;
    background: linear-gradient(180deg, #fff, #f7f8fa);
    box-shadow: inset 0 0 0 1px rgba(7,21,28,.08), 0 10px 24px rgba(7,21,28,.06);
    transition: background .2s, box-shadow .2s, transform .2s;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}
.language-switch > .language-switch-trigger::-webkit-details-marker { display: none; }
.language-switch > .language-switch-trigger::marker { content: ""; }
.language-switch-globe { width: 19px; height: 19px; stroke-width: 1.9; opacity: .9; }
.language-switch-code { font-size: 12.5px; font-weight: 800; letter-spacing: .4px; }
.language-switch-caret { width: 13px; height: 13px; opacity: .55; transition: transform .2s ease; }
.language-switch[open] > .language-switch-trigger { box-shadow: inset 0 0 0 1px rgba(7,21,28,.16), 0 12px 26px rgba(7,21,28,.1); }
.language-switch[open] > .language-switch-trigger .language-switch-caret { transform: rotate(180deg); }
.language-switch > .language-switch-trigger:hover {
    background: var(--primary);
    box-shadow: 0 14px 28px rgba(253,185,18,.22);
    transform: translateY(-1px);
}
.language-switch > .language-switch-trigger:hover .language-switch-globe,
.language-switch > .language-switch-trigger:hover .language-switch-caret { opacity: 1; }

/* Absolutely-positioned content can stay visible inside a closed <details> in
   Chromium, so hide it explicitly until the switch is opened. */
.language-switch:not([open]) > .language-switch-menu { display: none; }
.language-switch-menu {
    position: absolute;
    top: calc(100% + 9px);
    right: 0;
    min-width: 176px;
    padding: 6px;
    border-radius: 16px;
    background: #fff;
    box-shadow: inset 0 0 0 1px rgba(7,21,28,.07), 0 22px 48px rgba(7,21,28,.16);
    z-index: 1200;
    display: flex;
    flex-direction: column;
    gap: 2px;
    animation: heLangIn .16s ease;
}
@keyframes heLangIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.language-switch-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 10px 12px;
    border-radius: 11px;
    text-decoration: none;
    color: #1c2b33;
    font-size: 14px;
    font-weight: 600;
    transition: background .15s;
}
.language-switch-option:hover { background: rgba(7,21,28,.05); }
.language-switch-option-code { font-size: 11px; font-weight: 800; letter-spacing: .5px; color: rgba(7,21,28,.45); }
.language-switch-option.is-active { background: rgba(253,185,18,.16); color: #07151c; }
.language-switch-option.is-active .language-switch-option-code { color: #b07d00; }

/* Login layout: center the switch under the brand mark */
.login-simple-logo + .language-switch { display: block; margin: 16px auto 0; text-align: center; width: max-content; }
.login-simple-logo + .language-switch .language-switch-menu { right: auto; left: 50%; transform: translateX(-50%); }

/* Dark theme */
html[data-theme="dark"] .language-switch > .language-switch-trigger {
    color: #f7f2e7;
    background: linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.03));
    box-shadow: inset 0 0 0 1px rgba(247,242,231,.14), 0 10px 24px rgba(0,0,0,.3);
}
html[data-theme="dark"] .language-switch > .language-switch-trigger:hover {
    color: #07151c;
    background: var(--primary);
}
html[data-theme="dark"] .language-switch-menu {
    background: #122530;
    box-shadow: inset 0 0 0 1px rgba(247,242,231,.12), 0 22px 48px rgba(0,0,0,.5);
}
html[data-theme="dark"] .language-switch-option { color: #f7f2e7; }
html[data-theme="dark"] .language-switch-option:hover { background: rgba(247,242,231,.08); }
html[data-theme="dark"] .language-switch-option-code { color: rgba(247,242,231,.5); }
html[data-theme="dark"] .language-switch-option.is-active { background: rgba(253,185,18,.2); }
html[data-theme="dark"] .language-switch-option.is-active .language-switch-option-code { color: var(--primary); }

/* v95: centered mobile header (logo + action toggles centered, menu button in corner) */
@media (max-width: 860px) {
    /* Row 1: [menu button | centered logo | balancing spacer]. The 44px third
       column mirrors the menu button so the logo sits in the true center. */
    .main-header {
        grid-template-columns: 44px 1fr 44px !important;
        justify-items: center !important;
        align-items: center !important;
        row-gap: 14px !important;
        padding-top: 16px !important;
    }
    .mobile-menu-toggle {
        grid-column: 1 !important;
        justify-self: start !important;
    }
    .header-logo {
        grid-column: 2 !important;
        justify-self: center !important;
        text-align: center !important;
        max-width: none !important;
    }
    .header-search {
        grid-column: 1 / -1 !important;
        width: 100% !important;
        justify-self: stretch !important;
    }
    .header-actions {
        grid-column: 1 / -1 !important;
        width: 100% !important;
        justify-self: center !important;
        justify-content: center !important;
        flex-wrap: nowrap !important;
        gap: 7px !important;
    }
    /* keep the whole action row on a single centered line on small screens */
    .header-actions .theme-toggle { height: 44px !important; }
    .header-actions .theme-toggle-track { width: 64px !important; height: 34px !important; }
    .header-actions .header-icon { width: 42px !important; height: 42px !important; }
    .header-actions .language-switch > .language-switch-trigger { height: 42px !important; padding: 0 9px 0 10px !important; gap: 4px !important; }
    /* keep the dropdown aligned to the trigger, not the viewport edge */
    .header-actions .language-switch-menu { right: 0; }
}

/* v97: brand gift mark on login + footer logos (matches the header logo) */
.login-simple-logo,
.footer-logo-link {
    display: inline-flex !important;
    align-items: center !important;
    gap: 12px !important;
}
.login-simple-logo::before {
    content: "";
    flex: 0 0 auto;
    width: clamp(34px, 4.2vw, 46px);
    height: clamp(34px, 4.2vw, 46px);
    background: url("../img/he-gift-mark.png") center / contain no-repeat;
}
.footer-logo-link::before {
    content: "";
    flex: 0 0 auto;
    width: clamp(26px, 2vw, 32px);
    height: clamp(26px, 2vw, 32px);
    background: url("../img/he-gift-mark.png") center / contain no-repeat;
}
@media (max-width: 860px) {
    .login-simple-logo { gap: 9px !important; }
    .login-simple-logo::before { width: 36px; height: 36px; }
    .footer-logo-link { gap: 9px !important; }
}

/* v98: Collection tiles — when no category image is set the generic product
   placeholder (which has the brand wordmark baked in) was filling the card and
   colliding with the tile's own title/description/button. Drop the placeholder
   so the tile falls back to its clean dark brand card, and add a faint gift
   watermark in the corner for texture. */
.category-tile img[src*="placeholder"] { display: none !important; }
.category-tile {
    background:
        radial-gradient(120% 90% at 85% 12%, rgba(253,185,18,.18), transparent 46%),
        linear-gradient(160deg, #0e2530 0%, #07151c 72%) !important;
}
.category-tile::after {
    content: "";
    position: absolute;
    right: -6%;
    bottom: -8%;
    width: 58%;
    height: 58%;
    background: url("../img/he-gift-mark.png") right bottom / contain no-repeat;
    opacity: .07;
    z-index: -1;
    pointer-events: none;
}

/* v99: A later unconditional 5-column .footer-grid-rich rule (≈line 14352) was
   overriding the responsive collapse, so the footer overflowed horizontally on
   phones/tablets. Re-assert the responsive columns with higher precedence. */
@media (max-width: 1180px) {
    .he-site-footer .footer-grid-rich { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}
@media (max-width: 720px) {
    .he-site-footer .footer-grid-rich { grid-template-columns: 1fr !important; gap: 26px !important; }
    .he-site-footer .footer-grid-rich > * { min-width: 0 !important; }
}

/* v100: (a) keep the language dropdown on-screen on phones (it was anchored
   right:0 and overflowed off the left edge); (b) Azerbaijani schwa "ə" is missing
   from the decorative display font, so AZ headings use Manrope which includes it. */
@media (max-width: 860px) {
    .header-actions .language-switch-menu { left: 0; right: auto; }
}
html[lang="az"] h1,
html[lang="az"] h2,
html[lang="az"] h3,
html[lang="az"] h4,
html[lang="az"] .stage-title,
html[lang="az"] .section-title,
html[lang="az"] .home-section-head h2,
html[lang="az"] .category-tile h3,
html[lang="az"] .he-site-footer .footer-marketplaces h2 {
    font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif !important;
}

/* v101: ürün detay popup'ında zengin (HTML) açıklama düzeni */
.feature-modal-rich h1, .feature-modal-rich h2, .feature-modal-rich h3 {
    font-size: 16px; font-weight: 800; margin: 18px 0 8px; color: var(--primary); line-height: 1.3;
}
.feature-modal-rich p { margin: 0 0 10px; line-height: 1.6; }
.feature-modal-rich ul, .feature-modal-rich ol { margin: 0 0 12px; padding-left: 20px; }
.feature-modal-rich li { margin: 4px 0; line-height: 1.55; }
.feature-modal-rich strong, .feature-modal-rich b { font-weight: 800; }
.feature-modal-rich a { color: var(--primary); text-decoration: underline; }

/* v102: özelleştirme modalı uzun formlarda taşmasın — gövde scroll, başlık+buton sabit */
.customization-dialog {
    max-height: 92vh !important;
    display: flex !important;
    flex-direction: column !important;
}
.customization-head { flex: 0 0 auto; }
.customization-body {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}
.customization-actions {
    flex: 0 0 auto;
    position: sticky;
    bottom: 0;
}

/* ===== v103a: Koyu temada "Hediye notu" alanı okunur olsun ===== */
html[data-theme="dark"] body[data-product-page] .gift-note-field,
html[data-theme="dark"] body[data-product-page] .gift-note-field > span,
html[data-theme="dark"] body[data-product-page] .gift-note-field small,
html[data-theme="dark"] body[data-product-page] .gift-note-field textarea {
    color: #f7f2e7 !important;
}
html[data-theme="dark"] body[data-product-page] .gift-note-field textarea {
    border-color: rgba(255,255,255,.13) !important;
    background: rgba(255,255,255,.06) !important;
}
html[data-theme="dark"] body[data-product-page] .gift-note-field textarea::placeholder {
    color: rgba(247,242,231,.48) !important;
}

/* ===== v103: Ürün galerisi — oklar, zoom, mobil kaydırma, nokta göstergesi, tam ekran ===== */

/* Okları küçült + yarı saydam yap (ürünü kapatmasın) */
body[data-product-page] .gallery-arrow {
    width: 34px !important;
    height: 34px !important;
    font-size: 22px !important;
    background: rgba(255,255,255,.78) !important;
    box-shadow: 0 6px 18px rgba(7,21,28,.16) !important;
    opacity: 0;
    transition: opacity .2s ease, background .2s ease, transform .15s ease;
}
body[data-product-page] .product-gallery:hover .gallery-arrow {
    opacity: 1;
}
body[data-product-page] .gallery-arrow:hover {
    background: #fff !important;
    transform: scale(1.06);
}
html[data-theme="dark"] body[data-product-page] .gallery-arrow {
    background: rgba(28,34,40,.82) !important;
    color: #fff;
}

/* Masaüstü hover-zoom */
body[data-product-page] .gallery-main-wrap {
    cursor: zoom-in;
}
body[data-product-page] .gallery-main {
    transition: transform .18s ease;
    will-change: transform;
}
body[data-product-page] .gallery-main-wrap.is-zooming .gallery-main {
    transform: scale(1.9);
}

/* Mobil kaydırmalı şerit varsayılan gizli (masaüstü) */
.gallery-scroller {
    display: none;
}

/* Nokta göstergesi — anasayfa carousel-dot ile aynı görünüm */
.gallery-dots {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 7px;
    margin: 12px 0 2px;
}
.gallery-dots.is-single {
    display: none !important;
}
.gallery-dot {
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: #c9d0d4;
    border: none;
    padding: 0;
    cursor: pointer;
    transition: width .22s ease, background .22s ease;
}
.gallery-dot.is-active {
    width: 24px;
    background: var(--primary);
}

/* Tam ekran galeri */
.gallery-lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(8,12,16,.92);
    padding: 24px;
    -webkit-tap-highlight-color: transparent;
}
.gallery-lightbox.is-open {
    display: flex;
}
body.gallery-lightbox-open {
    overflow: hidden;
}
.gallery-lightbox-track {
    display: flex;
    width: min(960px, 92vw);
    max-width: 92vw;
    height: 88vh;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    border-radius: 10px;
}
.gallery-lightbox-track::-webkit-scrollbar {
    display: none;
}
.gallery-lightbox-slide {
    flex: 0 0 100%;
    scroll-snap-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}
.gallery-lightbox-slide img {
    max-width: 100%;
    max-height: 88vh;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 24px 70px rgba(0,0,0,.5);
}
.gallery-lightbox-close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 44px;
    height: 44px;
    border-radius: 999px;
    border: none;
    background: rgba(255,255,255,.14);
    color: #fff;
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
    /* iOS: kaydırılabilir track butonun üstüne binmesin diye yüksek katman + hızlı dokunma */
    z-index: 10;
    touch-action: manipulation;
}
.gallery-lightbox-close:hover {
    background: rgba(255,255,255,.26);
}
.gallery-lightbox-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 999px;
    border: none;
    background: rgba(255,255,255,.14);
    color: #fff;
    font-size: 34px;
    line-height: 1;
    cursor: pointer;
    display: grid;
    place-items: center;
    z-index: 10;
    touch-action: manipulation;
}
.gallery-lightbox-arrow:hover {
    background: rgba(255,255,255,.26);
}
.gallery-lightbox-prev { left: 20px; }
.gallery-lightbox-next { right: 20px; }
.gallery-lightbox.single-image .gallery-lightbox-arrow,
.gallery-lightbox.single-image .gallery-lightbox-dots {
    display: none;
}
.gallery-lightbox-dots {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
}
.gallery-lightbox-dots .gallery-dot {
    background: rgba(255,255,255,.42);
}
.gallery-lightbox-dots .gallery-dot.is-active {
    background: #fff;
}

/* ---- Mobil (<=768px): oklar gizli, kaydırmalı şerit, nokta göstergesi ---- */
@media (max-width: 768px) {
    body[data-product-page] .gallery-arrow {
        display: none !important;
    }
    body[data-product-page] .gallery-main-wrap {
        cursor: default;
    }
    body[data-product-page] .gallery-main-wrap .gallery-main {
        display: none !important;
    }
    body[data-product-page] .gallery-scroller {
        display: flex !important;
        width: 100%;
        gap: 0;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        border-radius: 22px;
    }
    body[data-product-page] .gallery-scroller::-webkit-scrollbar {
        display: none;
    }
    .gallery-slide {
        flex: 0 0 100%;
        scroll-snap-align: center;
        border: none;
        padding: 0;
        margin: 0;
        background: none;
        cursor: pointer;
    }
    .gallery-slide img {
        width: 100%;
        display: block;
        border-radius: 22px;
        object-fit: cover;
    }
    body[data-product-page] .gallery-dots {
        display: flex !important;
    }

    /* Mobilde videonun altına taşınan "Ürün Detayları" bloğu */
    body[data-product-page] .detail-description--mobile-moved {
        margin-top: 18px;
        width: 100%;
    }

    /* Tam ekranda da mobilde oklar gizli — kaydırmalı gezinme */
    .gallery-lightbox-arrow {
        display: none !important;
    }
    .gallery-lightbox {
        padding: 12px;
    }
    .gallery-lightbox-track {
        width: 100vw;
        max-width: 100vw;
    }
}

/* ===== v105: Ürün kartı görseli ve başlığı tıklanabilir link ===== */
.pc-img-link {
    display: block;
    width: 100%;
    height: 100%;
    cursor: pointer;
}
.pc-img-link img {
    display: block;
    width: 100%;
}
.pc-title-link {
    color: inherit;
    text-decoration: none;
}
.pc-title-link:hover {
    text-decoration: underline;
}

/* ===== v104: Özelleştirme formu scroll'u, ürün detay popup'ı ile aynı (ince altın) ===== */
body[data-product-page] .customization-body,
body[data-product-page] .customization-dialog,
body[data-product-page] .customization-fields {
    scrollbar-width: thin;
    scrollbar-color: rgba(185, 127, 0, .58) transparent;
}
body[data-product-page] .customization-body::-webkit-scrollbar,
body[data-product-page] .customization-dialog::-webkit-scrollbar,
body[data-product-page] .customization-fields::-webkit-scrollbar {
    width: 8px;
}
body[data-product-page] .customization-body::-webkit-scrollbar-track,
body[data-product-page] .customization-dialog::-webkit-scrollbar-track,
body[data-product-page] .customization-fields::-webkit-scrollbar-track {
    background: transparent;
    margin: 4px 0;
}
body[data-product-page] .customization-body::-webkit-scrollbar-thumb,
body[data-product-page] .customization-dialog::-webkit-scrollbar-thumb,
body[data-product-page] .customization-fields::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: rgba(185, 127, 0, .46);
}

/* ===== v106: Azerice "ə" (schwa) için başlık fontu — Playfair !important kurallarını ez ===== */
html[lang="az"] h1,
html[lang="az"] h2,
html[lang="az"] h3,
html[lang="az"] h4,
html[lang="az"] .section-title,
html[lang="az"] .stage-title,
html[lang="az"] .stage-title em,
html[lang="az"] .pc-title,
html[lang="az"] [data-product-title],
html[lang="az"] [data-category-title],
html[lang="az"] [data-breadcrumb-current],
html[lang="az"] .product-summary h1,
html[lang="az"] body[data-product-page] .product-summary h1,
html[lang="az"] .feature-modal-dialog h1,
html[lang="az"] .feature-modal-dialog h2,
html[lang="az"] .feature-modal-rich h2,
html[lang="az"] .feature-modal-rich h3,
html[lang="az"] .customization-dialog h2 {
    font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif !important;
}

/* ===== v107: Özelleştir butonu tek satırda kalsın (uzun dillerde 2 satıra düşmesin) ===== */
body[data-product-page] .detail-customize-btn span {
    white-space: nowrap;
}
html[lang="az"] body[data-product-page] .detail-customize-btn span {
    font-size: 15px;
    letter-spacing: 0;
}

/* ===== v108: AZ "ə" — yüksek özgüllüklü detail/review başlıklarını da Manrope yap ===== */
html[lang="az"] body[data-product-page] .detail-description h2,
html[lang="az"] body[data-product-page] .reviews-panel h2,
html[lang="az"] body[data-product-page] .product-summary > .detail-description h2,
html[lang="az"] body[data-product-page] .product-detail-shell .detail-description h2,
html[lang="az"] body[data-product-page] .product-hero-bottom .detail-description h2,
html[lang="az"] body[data-product-page] .feature-modal-dialog h2,
html[lang="az"] body[data-product-page] .feature-modal-dialog h1 {
    font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif !important;
}

/* ===== v111: Özelleştirme formu placeholder'ları (örnek metinler) bir tık daha soluk ===== */
body[data-product-page] .custom-field input::placeholder,
body[data-product-page] .custom-field textarea::placeholder,
body[data-product-page] .gift-note-field textarea::placeholder {
    color: #b3b9be !important;
    opacity: 1;
    font-style: italic;
}
html[data-theme="dark"] body[data-product-page] .custom-field input::placeholder,
html[data-theme="dark"] body[data-product-page] .custom-field textarea::placeholder,
html[data-theme="dark"] body[data-product-page] .gift-note-field textarea::placeholder {
    color: rgba(247,242,231,.34) !important;
}
/* Odaklanınca (tıklama/mobil dokunma) örnek yazı kaybolsun */
body[data-product-page] .custom-field input:focus::placeholder,
body[data-product-page] .custom-field textarea:focus::placeholder,
body[data-product-page] .gift-note-field textarea:focus::placeholder {
    color: transparent !important;
    opacity: 0 !important;
}

/* ===== v110: Açıklamadaki bölüm başlıkları (Ürün İçeriği / Teknik Özellikler / Önemli Bilgilendirme) otomatik renkli ===== */
body[data-product-page] .he-rich-heading {
    display: block;
    margin: 18px 0 8px;
    color: var(--primary, #b97f00) !important;
    font-weight: 800;
    font-size: 16px;
    line-height: 1.3;
}
body[data-product-page] .he-rich-heading b,
body[data-product-page] .he-rich-heading strong {
    font-weight: 800;
}

/* ===== v109: Video kartı içi bilgilendirme metni (başlığın hemen altında) ===== */
body[data-product-page] .detail-video-card .video-disclaimer {
    display: block;
    margin-top: 6px;
    font-size: 12px;
    line-height: 1.5;
    color: var(--text-muted, #7d878d);
    white-space: normal;
}
html[data-theme="dark"] body[data-product-page] .detail-video-card .video-disclaimer {
    color: rgba(247,242,231,.55);
}

/* ===== v112: Anasayfa "Çok Satan Hediyeler" masaüstünde yatay kaydırma + oklar (mobil dokunulmadı) ===== */
@media (min-width: 769px) {
    .bestsellers-section { position: relative; }
    .bestsellers-section .product-grid {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        overflow-y: hidden;
        gap: 24px;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        scrollbar-width: none;
        padding-bottom: 4px;
    }
    .bestsellers-section .product-grid::-webkit-scrollbar { display: none; }
    .bestsellers-section .product-grid > .product-card {
        flex: 0 0 calc((100% - 72px) / 4);
        scroll-snap-align: start;
    }
    .bestsellers-arrow {
        position: absolute;
        transform: translateY(-50%);
        z-index: 6;
        width: 48px;
        height: 48px;
        border-radius: 999px;
        border: 1px solid rgba(255,255,255,.14);
        background: rgba(18,26,32,.9);
        color: #fff;
        font-size: 28px;
        line-height: 1;
        cursor: pointer;
        display: grid;
        place-items: center;
        box-shadow: 0 10px 28px rgba(0,0,0,.4);
        transition: opacity .2s ease, background .2s ease;
    }
    .bestsellers-arrow:hover { background: rgba(28,38,46,.98); }
    .bestsellers-arrow.prev { left: -10px; }
    .bestsellers-arrow.next { right: -10px; }
    .bestsellers-arrow[disabled] { opacity: .35; cursor: default; }
    html[data-theme="light"] .bestsellers-arrow {
        background: rgba(255,255,255,.95);
        color: #0b1b20;
        border-color: rgba(7,21,28,.12);
    }
}
@media (max-width: 768px) {
    .bestsellers-arrow { display: none !important; }
}

/* ===== v113: Sağ alt WhatsApp destek butonu ===== */
.he-whatsapp-fab {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 9990;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #25D366;
    display: grid;
    place-items: center;
    box-shadow: 0 8px 26px rgba(0,0,0,.3);
    transition: transform .2s ease, box-shadow .2s ease;
    animation: heWaPulse 2.4s ease-out infinite;
}
.he-whatsapp-fab:hover {
    transform: scale(1.08);
    box-shadow: 0 12px 34px rgba(37,211,102,.5);
}
.he-whatsapp-fab svg { width: 34px; height: 34px; fill: #fff; }
@keyframes heWaPulse {
    0% { box-shadow: 0 8px 26px rgba(0,0,0,.3), 0 0 0 0 rgba(37,211,102,.45); }
    70% { box-shadow: 0 8px 26px rgba(0,0,0,.3), 0 0 0 14px rgba(37,211,102,0); }
    100% { box-shadow: 0 8px 26px rgba(0,0,0,.3), 0 0 0 0 rgba(37,211,102,0); }
}
@media (max-width: 768px) {
    .he-whatsapp-fab { right: 16px; bottom: 16px; width: 52px; height: 52px; }
    .he-whatsapp-fab svg { width: 30px; height: 30px; }
}
/* Tam ekran/modal açıkken gizle (kapatma butonlarını engellemesin) */
body.modal-open .he-whatsapp-fab,
body.gallery-lightbox-open .he-whatsapp-fab,
body.feature-modal-open .he-whatsapp-fab,
body.video-modal-open .he-whatsapp-fab {
    display: none;
}

/* ===== v114: TÜM input/textarea alanlarında odaklanınca placeholder kaybolsun =====
   Vendor-prefixli pseudo-element'ler standart ile aynı grupta olursa tarayıcı tüm kuralı
   geçersiz sayar; bu yüzden her biri AYRI kural. */
input:focus::placeholder,
textarea:focus::placeholder {
    color: transparent !important;
    opacity: 0 !important;
}
input:focus::-webkit-input-placeholder,
textarea:focus::-webkit-input-placeholder {
    color: transparent !important;
    opacity: 0 !important;
}
input:focus::-moz-placeholder,
textarea:focus::-moz-placeholder {
    color: transparent !important;
    opacity: 0 !important;
}

/* ===== v115: Ülke alanı tek seçenek (Türkiye) — ok yok, tıklanamaz, statik görünüm ===== */
body[data-checkout-page] .checkout-field select.commerce-input.country-fixed {
    background-image: none !important;
    padding-right: 18px;
    pointer-events: none;
    cursor: default;
}
