: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;
    }
}

/* Anti-spam / CAPTCHA helpers */
.duel-hp-field {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

.duel-captcha-wrap {
    margin: 14px 0 8px;
    min-height: 65px;
}

@media (max-width: 520px) {
    .duel-captcha-wrap {
        transform: scale(0.92);
        transform-origin: left center;
        width: 108%;
    }
}

/* v1.3.8: Turnstile and login polish */
.duel-captcha-wrap {
    margin: 1.5rem 0 1rem;
    max-width: 360px;
}

.duel-captcha-help {
    margin: 0.65rem 0 0;
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.84rem;
    line-height: 1.45;
}

.duel-captcha-help.is-error,
.duel-captcha-wrap[data-turnstile-ready="error"] .duel-captcha-help {
    color: #ffc7c7;
}

.duel-turnstile-explicit {
    min-height: 65px;
    display: flex;
    align-items: center;
}

@media (max-width: 640px) {
    .duel-captcha-wrap {
        max-width: 100%;
        overflow-x: auto;
    }
}


.calculator-actions-single {
    justify-content: flex-start;
}

.calculator-actions-single .button {
    width: auto;
}

@media (max-width: 720px) {
    .calculator-actions-single .button {
        width: 100%;
    }
}


/* Price calculator reset button polish */
.price-calculator-page .calculator-actions-single {
    margin-top: 18px;
}

.price-calculator-page .calculator-actions-single .button[type="reset"] {
    min-height: 52px;
    padding: 0 24px;
    border: 1px solid rgba(215, 173, 69, 0.55);
    background: linear-gradient(180deg, rgba(215, 173, 69, 0.16), rgba(215, 173, 69, 0.06));
    color: var(--gold-bright);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    cursor: pointer;
    text-decoration: none;
    letter-spacing: 0.01em;
}

.price-calculator-page .calculator-actions-single .button[type="reset"]::before {
    content: "↺";
    font-size: 1.05em;
    margin-right: 8px;
    line-height: 1;
}

.price-calculator-page .calculator-actions-single .button[type="reset"]:hover,
.price-calculator-page .calculator-actions-single .button[type="reset"]:focus-visible {
    border-color: var(--gold-bright);
    background: linear-gradient(180deg, rgba(247, 198, 92, 0.24), rgba(215, 173, 69, 0.12));
    color: #fff;
    transform: translateY(-1px);
    outline: none;
}

.price-calculator-page .calculator-actions-single .button[type="reset"]:active {
    transform: translateY(0);
    box-shadow: 0 7px 16px rgba(0, 0, 0, 0.2);
}

@media (max-width: 720px) {
    .price-calculator-page .calculator-actions-single .button[type="reset"] {
        width: 100%;
    }
}
