:root {
    --black: #050609;
    --ink: #0b1020;
    --navy: #101a33;
    --navy-soft: #162440;
    --gold: #d7ad45;
    --gold-bright: #f1ca63;
    --text: #f5f7fb;
    --muted: #b5bfd5;
    --line: rgba(255, 255, 255, 0.12);
    --panel: rgba(255, 255, 255, 0.055);
    --radius: 8px;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: var(--black);
    color: var(--text);
    font-family: Inter, Arial, sans-serif;
    line-height: 1.6;
}

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

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 74px;
    padding: 14px clamp(18px, 4vw, 56px);
    background: rgba(5, 6, 9, 0.9);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(14px);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border: 1px solid rgba(215, 173, 69, 0.55);
    color: var(--gold-bright);
    background: linear-gradient(135deg, rgba(215, 173, 69, 0.18), rgba(16, 26, 51, 0.8));
    border-radius: 6px;
    font-size: 13px;
}

.brand-mark-image {
    width: 46px;
    height: 46px;
    padding: 5px;
    border-radius: 10px;
    background: #fff;
    border: 1px solid rgba(215, 173, 69, 0.55);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
}

.brand-logo {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.site-nav ul,
.fallback-nav {
    display: flex;
    align-items: center;
    gap: 20px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-nav a {
    color: var(--muted);
    font-weight: 700;
    font-size: 14px;
}

.site-nav a:hover {
    color: var(--text);
}

.site-nav .nav-cta {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 0 16px;
    color: #0b0d12;
    background: var(--gold);
    border-radius: 6px;
}

.nav-toggle {
    display: none;
    min-height: 40px;
    border: 1px solid var(--line);
    color: var(--text);
    background: transparent;
    border-radius: 6px;
    font-weight: 800;
}

.hero {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
    gap: clamp(26px, 5vw, 72px);
    align-items: center;
    min-height: calc(100vh - 74px);
    padding: clamp(56px, 8vw, 104px) clamp(18px, 4vw, 56px);
    background:
        radial-gradient(circle at 85% 20%, rgba(215, 173, 69, 0.18), transparent 26%),
        linear-gradient(135deg, #050609 0%, #0b1020 48%, #111b33 100%);
}

.eyebrow {
    margin: 0 0 12px;
    color: var(--gold-bright);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

h1,
h2 {
    margin: 0;
    line-height: 0.98;
    letter-spacing: 0;
}

h1 {
    max-width: 980px;
    font-size: clamp(54px, 12vw, 148px);
    font-weight: 900;
}

h2 {
    font-size: clamp(32px, 5vw, 62px);
    font-weight: 900;
}

.hero-subtitle {
    max-width: 760px;
    margin: 18px 0 0;
    color: var(--gold-bright);
    font-size: clamp(19px, 3vw, 32px);
    font-weight: 800;
}

.hero-text,
.page-hero p,
.split-section p,
.manufacturer-note {
    color: var(--muted);
    font-size: 18px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 22px;
    border-radius: 6px;
    font-weight: 900;
    border: 1px solid transparent;
}

.button-gold {
    color: #07080b;
    background: linear-gradient(180deg, var(--gold-bright), var(--gold));
}

.button-outline {
    color: var(--text);
    border-color: var(--line);
    background: rgba(255, 255, 255, 0.04);
}

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

.hero-showcase img,
.gallery-grid img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--navy);
}

.hero-showcase img:nth-child(2),
.hero-showcase img:nth-child(3) {
    transform: translateY(26px);
}

.image-placeholder {
    display: grid;
    place-items: center;
    min-height: 340px;
    padding: 24px;
    border: 1px dashed rgba(215, 173, 69, 0.45);
    color: var(--gold-bright);
    background: rgba(255, 255, 255, 0.04);
    border-radius: var(--radius);
    text-align: center;
    font-weight: 800;
}

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

.trust-band {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: #070a12;
}

.trust-band div {
    min-height: 150px;
    padding: 28px;
    border-right: 1px solid var(--line);
}

.trust-band strong {
    display: block;
    color: var(--text);
    font-size: 18px;
}

.trust-band span {
    display: block;
    margin-top: 8px;
    color: var(--muted);
}

.section,
.page-hero,
.cta-section {
    padding: clamp(56px, 8vw, 108px) clamp(18px, 4vw, 56px);
}

.page-hero {
    background: linear-gradient(135deg, #050609, #101a33);
    border-bottom: 1px solid var(--line);
}

.page-hero h1 {
    font-size: clamp(42px, 8vw, 92px);
}

.page-hero p {
    max-width: 780px;
}

.split-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(24px, 6vw, 80px);
    align-items: start;
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 26px;
}

.section-heading h2 {
    max-width: 850px;
}

.section-heading a {
    color: var(--gold-bright);
    font-weight: 900;
}

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

.compact-gallery {
    grid-template-columns: repeat(6, minmax(0, 1fr));
}

.gallery-item {
    margin: 0;
}

.gallery-item figcaption {
    margin-top: 8px;
    color: var(--muted);
    font-weight: 700;
}

.filter-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 24px;
}

.filter-tabs button {
    min-height: 42px;
    padding: 0 16px;
    border: 1px solid var(--line);
    color: var(--text);
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    font-weight: 800;
    cursor: pointer;
}

.filter-tabs button.active {
    color: #080a0f;
    background: var(--gold);
}

.order-layout,
.contact-grid {
    display: grid;
    grid-template-columns: minmax(260px, 0.7fr) minmax(0, 1.3fr);
    gap: 24px;
}

.order-panel,
.form-shell,
.contact-card {
    padding: clamp(22px, 4vw, 34px);
    border: 1px solid var(--line);
    background: var(--panel);
    border-radius: var(--radius);
}

.order-panel h2,
.contact-card h2 {
    font-size: 28px;
}

.check-list {
    padding: 0;
    list-style: none;
}

.check-list li {
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
    color: var(--muted);
}

.order-form {
    display: grid;
    gap: 18px;
}

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

.order-form label {
    display: grid;
    gap: 8px;
    color: var(--text);
    font-weight: 800;
}

.order-form input,
.order-form select,
.order-form textarea {
    width: 100%;
    min-height: 48px;
    padding: 12px 14px;
    border: 1px solid var(--line);
    color: var(--text);
    background: rgba(5, 6, 9, 0.82);
    border-radius: 6px;
    font: inherit;
}

.order-form textarea {
    resize: vertical;
}

.form-alert {
    margin-bottom: 18px;
    padding: 14px;
    border-radius: 6px;
    font-weight: 800;
}

.form-alert-success {
    color: #dfffe5;
    background: rgba(29, 148, 77, 0.18);
    border: 1px solid rgba(29, 148, 77, 0.45);
}

.form-alert-error {
    color: #ffe7e7;
    background: rgba(183, 45, 45, 0.18);
    border: 1px solid rgba(183, 45, 45, 0.45);
}

.contact-card iframe {
    width: 100%;
    min-height: 360px;
    border: 0;
    border-radius: var(--radius);
    filter: grayscale(1) contrast(1.05);
}

.cta-section {
    text-align: center;
    background: linear-gradient(135deg, #101a33, #050609);
    border-top: 1px solid var(--line);
}

.cta-section h2 {
    max-width: 850px;
    margin: 0 auto 24px;
}

.whatsapp-float {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 30;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 18px;
    color: #06110a;
    background: #27d367;
    border-radius: 999px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
    font-weight: 900;
}

.site-footer {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    padding: 36px clamp(18px, 4vw, 56px);
    color: var(--muted);
    border-top: 1px solid var(--line);
    background: #040508;
}

.site-footer a {
    display: block;
    color: var(--text);
    font-weight: 800;
}

@media (max-width: 900px) {
    .nav-toggle {
        display: inline-flex;
        align-items: center;
        padding: 0 14px;
    }

    .site-nav {
        position: absolute;
        top: 73px;
        right: 18px;
        left: 18px;
        display: none;
        padding: 16px;
        border: 1px solid var(--line);
        background: #070a12;
        border-radius: var(--radius);
    }

    .site-nav.is-open {
        display: block;
    }

    .site-nav ul,
    .fallback-nav {
        align-items: stretch;
        flex-direction: column;
    }

    .hero,
    .split-section,
    .order-layout,
    .contact-grid,
    .calculator-layout {
        grid-template-columns: 1fr;
    }

    .calculator-result {
        position: static;
    }

    .trust-band {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .gallery-grid,
    .compact-gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    .hero {
        min-height: auto;
    }

    .hero-showcase,
    .form-grid,
    .gallery-grid,
    .compact-gallery,
    .trust-band {
        grid-template-columns: 1fr;
    }

    .hero-showcase img:nth-child(2),
    .hero-showcase img:nth-child(3) {
        transform: none;
    }

    .section-heading,
    .site-footer {
        align-items: flex-start;
        flex-direction: column;
    }
}



.calculator-hero {
    background:
        radial-gradient(circle at 82% 18%, rgba(215, 173, 69, 0.2), transparent 28%),
        linear-gradient(135deg, #050609, #101a33 70%);
}

.calculator-login-panel {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-top: 24px;
    padding: 14px 16px;
    border: 1px solid rgba(215, 173, 69, 0.32);
    background: rgba(215, 173, 69, 0.08);
    border-radius: var(--radius);
}

.calculator-login-panel a,
.tier-badge,
.result-meta span {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 0 12px;
    border: 1px solid rgba(215, 173, 69, 0.38);
    color: var(--gold-bright);
    background: rgba(215, 173, 69, 0.08);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 900;
}

.calculator-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
    gap: 24px;
    align-items: start;
}

.calculator-form,
.calculator-result {
    padding: clamp(22px, 4vw, 34px);
    border: 1px solid var(--line);
    background: var(--panel);
    border-radius: var(--radius);
}

.calculator-result {
    position: sticky;
    top: 94px;
    background:
        radial-gradient(circle at top right, rgba(215, 173, 69, 0.14), transparent 36%),
        rgba(255, 255, 255, 0.055);
}

.calculator-result h2 {
    margin-top: 8px;
    color: var(--gold-bright);
    font-size: clamp(36px, 5vw, 62px);
}

.result-total {
    margin: 8px 0 0;
    color: var(--text);
    font-size: 22px;
    font-weight: 900;
}

.result-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 18px 0;
}

.result-summary {
    display: grid;
    gap: 0;
    margin: 22px 0;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
}

.result-summary div {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 12px;
    padding: 12px 14px;
    border-bottom: 1px solid var(--line);
}

.result-summary div:last-child {
    border-bottom: 0;
}

.result-summary dt {
    color: var(--muted);
    font-weight: 800;
}

.result-summary dd {
    margin: 0;
    color: var(--text);
    font-weight: 900;
    text-align: right;
}

.calculator-section-title {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
}

.calculator-section-title.compact {
    margin-top: 18px;
    margin-bottom: 8px;
}

.calculator-section-title h2 {
    font-size: clamp(26px, 4vw, 42px);
}

.dtf-panel {
    margin-top: 8px;
    padding: 18px;
    border: 1px solid rgba(215, 173, 69, 0.22);
    background: rgba(215, 173, 69, 0.05);
    border-radius: var(--radius);
}

.calculator-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 8px;
}

.field-muted input:disabled {
    color: var(--muted);
    opacity: 0.8;
}

.calculator-disclaimer,
.calculator-note,
.calculator-promo-status {
    color: var(--muted);
    font-size: 14px;
}

.calculator-promo-status:not(:empty) {
    color: var(--gold-bright);
    font-weight: 800;
}

.whatsapp-quote-button {
    width: 100%;
    margin-top: 16px;
}

.whatsapp-quote-button.is-disabled {
    pointer-events: none;
    opacity: 0.55;
}

[hidden] {
    display: none !important;
}


@media (max-width: 560px) {
    .calculator-section-title,
    .calculator-actions,
    .result-summary div {
        align-items: flex-start;
        grid-template-columns: 1fr;
        flex-direction: column;
    }

    .result-summary dd {
        text-align: left;
    }
}

/* v1.3 account, homepage, and ordering upgrades */
.hero-premium {
    align-items: center;
    min-height: 640px;
    overflow: hidden;
}

.hero-premium h1 {
    font-size: clamp(2.8rem, 7vw, 6.25rem);
    line-height: 0.94;
    max-width: 980px;
}

.hero-collage {
    position: relative;
    min-height: 540px;
}

.hero-collage::before {
    content: "";
    position: absolute;
    inset: 10% 6%;
    background: radial-gradient(circle, rgba(215,173,69,0.34), transparent 62%);
    filter: blur(18px);
}

.collage-item {
    position: absolute;
    width: 42%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    border: 1px solid var(--line);
    border-radius: 22px;
    box-shadow: 0 24px 70px rgba(0,0,0,0.42);
    background: #111;
}

.collage-1 { left: 2%; top: 7%; transform: rotate(-7deg); z-index: 2; }
.collage-2 { right: 6%; top: 0; transform: rotate(5deg); z-index: 3; }
.collage-3 { left: 30%; top: 22%; transform: rotate(1deg); z-index: 4; }
.collage-4 { left: 8%; bottom: 2%; transform: rotate(6deg); z-index: 1; }
.collage-5 { right: 0; bottom: 6%; transform: rotate(-6deg); z-index: 2; }

.process-band strong,
.account-steps strong {
    color: var(--gold);
}

.homepage-proposition {
    align-items: start;
}

.proposition-grid,
.workflow-cards,
.account-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.proposition-grid article,
.workflow-cards article,
.account-card,
.payment-qr-card,
.payment-qr-inline {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 22px;
}

.proposition-grid strong,
.workflow-cards h3 {
    display: block;
    color: var(--text);
    margin-bottom: 8px;
}

.proposition-grid span,
.workflow-cards p,
.small-note {
    color: var(--muted);
}

.centered-heading {
    justify-content: center;
    text-align: center;
}

.workflow-cards {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.workflow-cards span {
    display: inline-grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 999px;
    background: rgba(215, 173, 69, 0.12);
    color: var(--gold);
    font-weight: 800;
    margin-bottom: 18px;
}

.visual-strip {
    display: grid;
    grid-template-columns: repeat(8, minmax(120px, 1fr));
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 8px;
}

.visual-strip img {
    width: 100%;
    min-width: 130px;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    border-radius: 16px;
    border: 1px solid var(--line);
}

.center-actions {
    justify-content: center;
}

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

.account-card h2 {
    margin-top: 0;
}

.account-actions,
.order-side-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 18px;
}

.account-card .login-username,
.account-card .login-password,
.account-card .login-remember {
    display: grid;
    gap: 8px;
    color: var(--muted);
    font-weight: 700;
}

.account-card input[type="text"],
.account-card input[type="password"] {
    width: 100%;
    background: rgba(255,255,255,0.04);
    color: var(--text);
    border: 1px solid var(--line);
    padding: 12px 14px;
    border-radius: 6px;
}

.account-card .login-submit input {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 18px;
    background: var(--gold);
    color: #111;
    border: 0;
    border-radius: 6px;
    font-weight: 900;
    cursor: pointer;
}

.payment-qr-card {
    margin-top: 20px;
    text-align: center;
}

.payment-qr-card img,
.payment-qr-inline img {
    width: min(220px, 100%);
    border-radius: 16px;
    background: #fff;
    padding: 12px;
}

.payment-qr-inline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin: 20px 0;
}

.tier-badge {
    white-space: nowrap;
}

@media (max-width: 980px) {
    .hero-collage {
        min-height: 420px;
    }
    .workflow-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .hero-premium {
        min-height: auto;
    }
    .hero-collage {
        min-height: 360px;
    }
    .collage-item {
        width: 48%;
    }
    .proposition-grid,
    .workflow-cards,
    .account-grid {
        grid-template-columns: 1fr;
    }
    .payment-qr-inline {
        flex-direction: column;
        text-align: center;
    }
}

/* v1.3.2 mobile responsiveness fixes */
html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

main,
.site-header,
.section,
.page-hero,
.cta-section,
.calculator-layout,
.order-layout,
.contact-grid,
.account-grid,
.form-grid,
.result-summary,
.calculator-form,
.calculator-result,
.order-form,
.account-card,
.form-shell,
.order-panel,
.contact-card {
    min-width: 0;
}

.order-form input,
.order-form select,
.order-form textarea,
.account-card input,
.account-card select,
.account-card textarea,
button,
.button {
    max-width: 100%;
}

.calculator-login-panel,
.result-meta,
.calculator-section-title,
.calculator-actions,
.account-actions,
.order-side-actions,
.hero-actions {
    min-width: 0;
}

.calculator-login-panel a,
.tier-badge,
.result-meta span,
.button {
    text-align: center;
    white-space: normal;
    overflow-wrap: anywhere;
}

@media (max-width: 900px) {
    .site-header {
        padding-inline: 16px;
    }

    .site-nav {
        max-height: calc(100vh - 92px);
        overflow-y: auto;
    }

    .section,
    .page-hero,
    .cta-section {
        padding: 42px 16px;
    }

    .calculator-layout,
    .order-layout,
    .contact-grid,
    .account-grid,
    .proposition-grid,
    .workflow-cards {
        width: 100%;
        grid-template-columns: minmax(0, 1fr) !important;
    }

    .calculator-result {
        order: -1;
        width: 100%;
        position: static;
    }

    .calculator-form,
    .calculator-result,
    .order-panel,
    .form-shell,
    .contact-card,
    .account-card,
    .payment-qr-card,
    .payment-qr-inline {
        width: 100%;
    }

    .calculator-section-title {
        align-items: flex-start;
        flex-direction: column;
    }

    .tier-badge {
        width: fit-content;
        max-width: 100%;
        white-space: normal;
    }
}

@media (max-width: 640px) {
    body {
        font-size: 15px;
    }

    .brand {
        gap: 8px;
        font-size: 14px;
    }

    .brand-mark {
        width: 34px;
        height: 34px;
        font-size: 12px;
    }

    .brand-mark-image {
        width: 40px;
        height: 40px;
        padding: 4px;
    }

    .nav-toggle {
        min-height: 38px;
        padding: 0 12px;
        font-size: 13px;
    }

    .page-hero h1,
    .hero-premium h1,
    h1 {
        font-size: clamp(34px, 13vw, 54px);
        line-height: 1;
    }

    h2,
    .calculator-section-title h2 {
        font-size: clamp(24px, 9vw, 34px);
        line-height: 1.06;
    }

    .page-hero p,
    .hero-text,
    .split-section p,
    .manufacturer-note {
        font-size: 16px;
    }

    .calculator-login-panel {
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
        padding: 14px;
    }

    .calculator-login-panel a {
        justify-content: center;
        width: 100%;
        min-height: 44px;
    }

    .calculator-form,
    .calculator-result,
    .dtf-panel,
    .order-panel,
    .form-shell,
    .contact-card,
    .account-card,
    .payment-qr-card,
    .payment-qr-inline {
        padding: 16px;
        border-radius: 10px;
    }

    .form-grid {
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 14px;
    }

    .order-form label {
        gap: 7px;
        font-size: 14px;
    }

    .order-form input,
    .order-form select,
    .order-form textarea,
    .account-card input[type="text"],
    .account-card input[type="password"] {
        min-height: 46px;
        padding: 11px 12px;
        font-size: 16px;
    }

    .calculator-result h2 {
        font-size: clamp(32px, 13vw, 46px);
        line-height: 1;
        overflow-wrap: anywhere;
    }

    .result-total {
        font-size: 18px;
    }

    .result-meta {
        display: grid;
        grid-template-columns: 1fr;
    }

    .result-meta span {
        justify-content: center;
        width: 100%;
        min-height: 40px;
    }

    .result-summary div {
        display: grid;
        grid-template-columns: 1fr;
        gap: 4px;
        padding: 11px 12px;
    }

    .result-summary dd {
        text-align: left;
        overflow-wrap: anywhere;
    }

    .calculator-actions,
    .hero-actions,
    .account-actions,
    .order-side-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .button,
    .calculator-actions .button,
    .hero-actions .button,
    .account-actions .button,
    .order-side-actions .button {
        width: 100%;
        min-height: 48px;
        padding: 12px 14px;
    }

    .whatsapp-quote-button {
        display: flex;
    }

    .visual-strip {
        grid-template-columns: repeat(8, minmax(118px, 118px));
        margin-inline: -16px;
        padding-inline: 16px;
        scroll-snap-type: x proximity;
    }

    .visual-strip img {
        min-width: 118px;
        scroll-snap-align: start;
    }

    .hero-collage {
        min-height: 320px;
        margin-top: 18px;
    }

    .collage-item {
        border-radius: 14px;
    }

    .contact-card iframe {
        min-height: 280px;
    }

    .whatsapp-float {
        right: 12px;
        bottom: 12px;
        min-height: 44px;
        max-width: calc(100vw - 24px);
        padding: 0 14px;
        font-size: 14px;
    }
}

@media (max-width: 380px) {
    .section,
    .page-hero,
    .cta-section {
        padding-inline: 12px;
    }

    .calculator-form,
    .calculator-result,
    .dtf-panel,
    .order-panel,
    .form-shell,
    .contact-card,
    .account-card {
        padding: 14px;
    }
}

/* Size chart and fabrics pages */
.size-chart-hero,
.fabrics-hero {
    background:
        radial-gradient(circle at 82% 18%, rgba(215, 173, 69, 0.2), transparent 28%),
        linear-gradient(135deg, #050609, #101a33 72%);
}

.responsive-table-card {
    overflow-x: auto;
    border: 1px solid var(--line);
    background: var(--panel);
    border-radius: var(--radius);
}

.duel-table {
    width: 100%;
    min-width: 720px;
    border-collapse: collapse;
}

.duel-table th,
.duel-table td {
    padding: 18px;
    border-bottom: 1px solid var(--line);
    text-align: left;
    vertical-align: top;
}

.duel-table th {
    color: var(--gold-bright);
    background: rgba(215, 173, 69, 0.08);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.duel-table td {
    color: var(--muted);
    font-weight: 700;
}

.duel-table td:nth-child(1),
.duel-table td:nth-child(2) {
    color: var(--text);
    font-weight: 900;
}

.info-card,
.fabric-card {
    padding: clamp(22px, 4vw, 34px);
    border: 1px solid var(--line);
    background:
        radial-gradient(circle at top right, rgba(215, 173, 69, 0.1), transparent 35%),
        var(--panel);
    border-radius: var(--radius);
}

.info-card h2 {
    margin-bottom: 14px;
    font-size: clamp(28px, 4vw, 46px);
}

.info-card p,
.info-card span,
.fabric-card p,
.fabric-best {
    color: var(--muted);
}

.size-tips-grid,
.fabric-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.size-tips-grid .info-card strong {
    display: block;
    margin-bottom: 8px;
    color: var(--text);
    font-size: 18px;
}

.fabric-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.fabric-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-height: 280px;
}

.fabric-card h3 {
    margin: 0;
    color: var(--text);
    font-size: 24px;
    line-height: 1.05;
}

.fabric-card p {
    margin: 0;
}

.fabric-badge {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 0 10px;
    border: 1px solid rgba(215, 173, 69, 0.38);
    color: var(--gold-bright);
    background: rgba(215, 173, 69, 0.08);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.fabric-best {
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid var(--line);
    font-size: 14px;
}

.fabric-best strong {
    color: var(--text);
}

.compact-check-list {
    margin: 0;
}

.center-actions {
    justify-content: center;
}

@media (max-width: 1100px) {
    .size-tips-grid,
    .fabric-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    .responsive-table-card {
        margin-inline: -6px;
    }

    .duel-table {
        min-width: 620px;
    }

    .duel-table th,
    .duel-table td {
        padding: 14px 12px;
        font-size: 14px;
    }

    .size-tips-grid,
    .fabric-grid {
        grid-template-columns: 1fr;
    }

    .fabric-card {
        min-height: auto;
    }
}

/* v1.3.6 Order inquiry wizard */
.order-wizard {
    gap: 24px;
}

.wizard-progress {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 4px;
}

.wizard-dot {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 46px;
    padding: 8px 10px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--muted);
    background: rgba(255, 255, 255, 0.04);
    font: inherit;
    font-weight: 900;
    cursor: pointer;
}

.wizard-dot span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: var(--text);
}

.wizard-dot.is-active,
.wizard-dot.is-complete {
    color: #080a0f;
    background: var(--gold);
    border-color: rgba(255, 255, 255, 0.25);
}

.wizard-dot.is-active span,
.wizard-dot.is-complete span {
    background: rgba(8, 10, 15, 0.15);
    color: #080a0f;
}

.wizard-step {
    display: grid;
    gap: 18px;
    animation: duelWizardIn 180ms ease-out;
}

.wizard-step[hidden] {
    display: none;
}

.wizard-step-head {
    padding-bottom: 14px;
    border-bottom: 1px solid var(--line);
}

.wizard-step-head h2 {
    margin: 0 0 8px;
    font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.wizard-step-head p:last-child {
    margin: 0;
    color: var(--muted);
}

.wizard-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
}

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

.wizard-summary div {
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.04);
}

.wizard-summary span {
    display: block;
    margin-bottom: 5px;
    color: var(--muted);
    font-size: 0.85rem;
    font-weight: 800;
}

.wizard-summary strong {
    display: block;
    overflow-wrap: anywhere;
}

.order-form input:invalid,
.order-form select:invalid,
.order-form textarea:invalid {
    box-shadow: none;
}

.order-form .field-error {
    border-color: rgba(226, 0, 43, 0.9);
    box-shadow: 0 0 0 3px rgba(226, 0, 43, 0.16);
}

@keyframes duelWizardIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 760px) {
    .wizard-progress {
        grid-template-columns: 1fr;
    }

    .wizard-dot {
        justify-content: flex-start;
    }

    .wizard-summary {
        grid-template-columns: 1fr;
    }

    .wizard-actions .button {
        width: 100%;
    }
}

/* v1.3.7 polished Order Now inquiry wizard */
.order-hero-polished {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(250px, 0.34fr);
    gap: clamp(22px, 4vw, 52px);
    align-items: end;
    background:
        radial-gradient(circle at 85% 18%, rgba(251, 124, 33, 0.28), transparent 26%),
        radial-gradient(circle at 12% 72%, rgba(215, 173, 69, 0.22), transparent 30%),
        linear-gradient(135deg, #050609 0%, #071431 48%, #000e4c 100%);
}

.order-hero-polished::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.045) 1px, transparent 1px);
    background-size: 42px 42px;
    mask-image: linear-gradient(135deg, rgba(0,0,0,0.85), transparent 78%);
    pointer-events: none;
}

.order-hero-copy,
.order-hero-card {
    position: relative;
    z-index: 1;
}

.order-hero-polished h1 {
    max-width: 980px;
    margin-bottom: 18px;
    letter-spacing: -0.055em;
}

.order-hero-polished p:not(.eyebrow) {
    max-width: 760px;
    color: rgba(255,255,255,0.76);
    font-size: clamp(1rem, 1.4vw, 1.16rem);
}

.order-hero-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.order-hero-pills span {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 0 14px;
    border: 1px solid rgba(215, 173, 69, 0.36);
    border-radius: 999px;
    color: #ffe3a3;
    background: rgba(215, 173, 69, 0.10);
    font-size: 0.88rem;
    font-weight: 900;
}

.order-hero-card {
    padding: clamp(22px, 3vw, 32px);
    border: 1px solid rgba(255,255,255,0.16);
    border-radius: 28px;
    background: linear-gradient(180deg, rgba(255,255,255,0.13), rgba(255,255,255,0.06));
    box-shadow: 0 28px 70px rgba(0,0,0,0.28);
    backdrop-filter: blur(12px);
}

.order-hero-number {
    display: block;
    font-size: clamp(4rem, 8vw, 7rem);
    line-height: 0.84;
    color: var(--gold);
    font-weight: 950;
    letter-spacing: -0.08em;
}

.order-hero-card strong {
    display: block;
    margin-top: 12px;
    color: #fff;
    font-size: 1.3rem;
}

.order-hero-card p {
    margin: 8px 0 0;
    font-size: 0.96rem !important;
}

.order-layout-polished {
    align-items: start;
    grid-template-columns: minmax(280px, 0.42fr) minmax(0, 1fr);
}

.order-panel-polished,
.form-shell-polished {
    border-color: rgba(255,255,255,0.10);
    background:
        linear-gradient(180deg, rgba(255,255,255,0.075), rgba(255,255,255,0.035)),
        rgba(9, 12, 20, 0.92);
    box-shadow: 0 24px 70px rgba(0,0,0,0.23);
}

.order-panel-polished {
    position: sticky;
    top: 92px;
}

.order-ready-list li {
    display: grid;
    grid-template-columns: 32px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
    padding: 15px 0;
}

.order-ready-list li::before {
    content: "✓";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    color: #080a0f;
    background: var(--gold);
    font-weight: 950;
}

.order-ready-list strong,
.order-ready-list span {
    grid-column: 2;
}

.order-ready-list strong {
    color: #fff;
    font-size: 0.98rem;
}

.order-ready-list span {
    margin-top: -8px;
    color: var(--muted);
    line-height: 1.45;
    font-size: 0.92rem;
}

.form-shell-polished {
    padding: clamp(18px, 3.8vw, 42px);
}

.form-shell-polished .order-wizard {
    gap: clamp(18px, 2.4vw, 28px);
}

.form-shell-polished .wizard-progress {
    position: relative;
    gap: 8px;
    padding: 8px;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 22px;
    background: rgba(0,0,0,0.18);
}

.form-shell-polished .wizard-dot {
    justify-content: center;
    min-height: 54px;
    border-radius: 16px;
    border-color: transparent;
    background: transparent;
    color: rgba(255,255,255,0.58);
    font-size: 0.88rem;
    transition: transform 160ms ease, background 160ms ease, color 160ms ease;
}

.form-shell-polished .wizard-dot:hover {
    transform: translateY(-1px);
    background: rgba(255,255,255,0.055);
    color: #fff;
}

.form-shell-polished .wizard-dot span {
    width: 30px;
    height: 30px;
    flex-basis: 30px;
    background: rgba(255,255,255,0.09);
    color: inherit;
}

.form-shell-polished .wizard-dot.is-active,
.form-shell-polished .wizard-dot.is-complete {
    background: linear-gradient(135deg, #f7d46b, #d7ad45);
    color: #070911;
    box-shadow: 0 14px 26px rgba(215, 173, 69, 0.14);
}

.form-shell-polished .wizard-step {
    padding: clamp(18px, 3vw, 30px);
    border: 1px solid rgba(255,255,255,0.09);
    border-radius: 26px;
    background:
        radial-gradient(circle at 100% 0%, rgba(215, 173, 69, 0.08), transparent 28%),
        rgba(255,255,255,0.035);
}

.form-shell-polished .wizard-step-head {
    margin-bottom: 4px;
    padding-bottom: 18px;
    border-color: rgba(255,255,255,0.09);
}

.form-shell-polished .wizard-step-head h2 {
    color: #fff;
    letter-spacing: -0.035em;
}

.form-shell-polished .form-grid {
    gap: 18px;
}

.form-shell-polished .order-form label {
    gap: 9px;
    color: rgba(255,255,255,0.9);
    font-size: 0.93rem;
    letter-spacing: -0.01em;
}

.form-shell-polished .order-form input,
.form-shell-polished .order-form select,
.form-shell-polished .order-form textarea {
    min-height: 54px;
    border-radius: 15px;
    border-color: rgba(255,255,255,0.12);
    background: rgba(2, 5, 13, 0.72);
    color: #fff;
    transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.form-shell-polished .order-form textarea {
    padding-top: 14px;
    line-height: 1.55;
}

.form-shell-polished .order-form input:focus,
.form-shell-polished .order-form select:focus,
.form-shell-polished .order-form textarea:focus {
    outline: 0;
    border-color: rgba(215, 173, 69, 0.78);
    background: rgba(2, 5, 13, 0.92);
    box-shadow: 0 0 0 4px rgba(215, 173, 69, 0.13);
}

.form-shell-polished .order-form input::file-selector-button {
    margin-right: 12px;
    border: 0;
    border-radius: 999px;
    padding: 9px 12px;
    color: #070911;
    background: var(--gold);
    font-weight: 900;
    cursor: pointer;
}

.form-shell-polished .wizard-summary {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.form-shell-polished .wizard-summary div {
    border-radius: 18px;
    border-color: rgba(255,255,255,0.09);
    background: rgba(0,0,0,0.20);
}

.form-shell-polished .wizard-actions {
    position: sticky;
    bottom: 12px;
    z-index: 5;
    margin-top: -4px;
    padding: 14px;
    border: 1px solid rgba(255,255,255,0.10);
    border-radius: 20px;
    background: rgba(7, 10, 18, 0.88);
    box-shadow: 0 18px 44px rgba(0,0,0,0.28);
    backdrop-filter: blur(14px);
}

.form-shell-polished .wizard-actions .button {
    min-height: 48px;
    border-radius: 14px;
}

.payment-qr-card,
.payment-qr-inline {
    border-color: rgba(215, 173, 69, 0.22);
    background: rgba(215, 173, 69, 0.07);
}

@media (max-width: 1020px) {
    .order-hero-polished,
    .order-layout-polished {
        grid-template-columns: 1fr;
    }
    .order-panel-polished {
        position: static;
    }
}

@media (max-width: 760px) {
    .order-hero-polished {
        padding-top: 58px;
    }
    .order-hero-card {
        display: none;
    }
    .order-hero-pills span {
        width: 100%;
        justify-content: center;
    }
    .form-shell-polished .wizard-progress {
        grid-template-columns: repeat(5, minmax(42px, 1fr));
        padding: 6px;
        overflow-x: auto;
    }
    .form-shell-polished .wizard-dot {
        min-width: 54px;
        min-height: 48px;
        padding: 6px;
        font-size: 0;
    }
    .form-shell-polished .wizard-dot span {
        margin: 0;
    }
    .form-shell-polished .wizard-step {
        padding: 16px;
        border-radius: 20px;
    }
    .form-shell-polished .form-grid,
    .form-shell-polished .wizard-summary {
        grid-template-columns: 1fr;
    }
    .form-shell-polished .wizard-actions {
        position: static;
    }
    .form-shell-polished .wizard-actions .button {
        width: 100%;
    }
}

/* v1.3.8 order type + dynamic product visuals */
.order-type-select-row {
    margin-bottom: 1.2rem;
}
.order-type-select-row label {
    display: block;
    max-width: 520px;
}
.order-type-gallery {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}
.order-type-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: .55rem;
    padding: .85rem;
    border: 1px solid rgba(255,255,255,.13);
    border-radius: 22px;
    background: rgba(255,255,255,.045);
    cursor: pointer;
    transition: transform .2s ease, border-color .2s ease, background .2s ease, box-shadow .2s ease;
    min-height: 250px;
}
.order-type-card:hover,
.order-type-card.is-active {
    transform: translateY(-3px);
    border-color: rgba(212,175,55,.75);
    background: rgba(212,175,55,.1);
    box-shadow: 0 18px 42px rgba(0,0,0,.2);
}
.order-type-card input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.order-type-card img {
    width: 100%;
    height: 150px;
    object-fit: contain;
    border-radius: 16px;
    background: rgba(255,255,255,.92);
    padding: .45rem;
}
.order-type-card span {
    color: #fff;
    font-weight: 800;
    line-height: 1.15;
}
.order-type-card small {
    color: rgba(255,255,255,.65);
    line-height: 1.35;
}
.product-visual-panel {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(280px, 1.1fr);
    gap: 1rem;
    align-items: stretch;
    margin-bottom: 1.4rem;
    padding: 1rem;
    border: 1px solid rgba(212,175,55,.22);
    border-radius: 26px;
    background: linear-gradient(135deg, rgba(212,175,55,.12), rgba(255,255,255,.05));
}
.product-visual-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 180px;
}
.product-visual-text h3 {
    margin: .15rem 0 .45rem;
    color: #fff;
    font-size: clamp(1.25rem, 2vw, 1.75rem);
}
.product-visual-text p:last-child {
    margin: 0;
    color: rgba(255,255,255,.72);
}
.product-picture-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .75rem;
}
.product-picture-strip img {
    width: 100%;
    height: 190px;
    object-fit: contain;
    border-radius: 20px;
    background: #f7f7f7;
    padding: .55rem;
    box-shadow: inset 0 0 0 1px rgba(0,0,0,.06);
}
.form-shell-polished .wizard-progress {
    grid-template-columns: repeat(6, minmax(0, 1fr));
}
@media (max-width: 980px) {
    .order-type-gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .product-visual-panel {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 640px) {
    .order-type-gallery,
    .product-picture-strip {
        grid-template-columns: 1fr;
    }
    .order-type-card {
        min-height: auto;
    }
    .order-type-card img,
    .product-picture-strip img {
        height: 170px;
    }
}
