:root {
    color-scheme: light;
    --ink: #151515;
    --black: #202020;
    --muted: #595959;
    --paper: #fff;
    --line: #dedede;
    --typeface: "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 1rem/1.6 var(--typeface); }
a { color: inherit; text-underline-offset: .24em; }
button, input, select, textarea { font: inherit; }
:focus-visible { outline: 3px solid #606060; outline-offset: 4px; }
img { display: block; width: 100%; height: 100%; object-fit: cover; }
.wrap { width: min(90%, 1200px); margin-inline: auto; }
.top { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 1.2rem; }
.brand { font: 400 2.15rem/.95 var(--typeface); letter-spacing: -.065em; text-decoration: none; }
.brand span { color: #303030; }
nav { display: flex; gap: clamp(1rem, 4vw, 3rem); }
nav a { text-decoration: none; }
nav a:hover { text-decoration: underline; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: .65rem 1.25rem; border: 1px solid var(--black); background: var(--black); color: white; text-decoration: none; font-size: .94rem; font-weight: 500; cursor: pointer; }
.button:hover { background: #414141; color: white; }
.outline { color: var(--black); background: transparent; }
.eyebrow { color: var(--black); font-size: .84rem; text-transform: uppercase; letter-spacing: .12em; font-weight: 600; }
h1, h2, h3 { font-family: var(--typeface); font-weight: 300; line-height: 1.05; margin: 0; }
h1 { font-size: clamp(2.8rem, 5.6vw, 5.65rem); letter-spacing: -.055em; }
h2 { font-size: clamp(2.35rem, 4.5vw, 4.25rem); letter-spacing: -.045em; }
h3 { font-size: 1.65rem; }
.collection, .admin { padding-block: clamp(2.8rem, 7vw, 6rem); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 1.5rem; margin-bottom: 2rem; }
.section-head > p { color: var(--muted); margin: 0; }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.4rem; }
.card { background: #fff; border: 1px solid var(--line); }
.card-image { display: block; aspect-ratio: 1.16; overflow: hidden; background: #eeeeee; }
.card-image img { transition: transform .25s ease; }
.card-image:hover img { transform: scale(1.04); }
.featured-grid .card-image { aspect-ratio: 4 / 5; background: #f4f4f4; }
.featured-grid .card-image:hover img { transform: none; }
.card-body { padding: 1.2rem; }
.category { color: var(--muted); font-size: .87rem; margin: 0 0 .45rem; }
.card-foot { display: flex; justify-content: space-between; align-items: center; gap: .5rem; border-top: 1px solid var(--line); padding-top: .9rem; }
.card-foot a, .text-link { color: var(--black); font-weight: 500; }
.quote { background: #f3f3f3; padding-block: clamp(2.8rem, 7vw, 6rem); scroll-margin-top: 1rem; }
.quote-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(2rem, 6vw, 6rem); }
.quote-grid > div > p:not(.eyebrow) { max-width: 34ch; color: var(--muted); }
form { display: grid; align-content: start; gap: 1rem; background: #fff; padding: clamp(1rem, 3vw, 2rem); border: 1px solid var(--line); }
label { display: grid; gap: .35rem; font-size: .93rem; font-weight: 500; }
input, select, textarea { width: 100%; min-height: 44px; padding: .55rem .7rem; border: 1px solid #bdbdbd; border-radius: 0; background: white; color: var(--ink); }
select { appearance: none; padding-right: 2rem; background: white linear-gradient(45deg, transparent 50%, #202020 50%) calc(100% - 17px) 52% / 5px 5px no-repeat; background-image: linear-gradient(45deg, transparent 50%, #202020 50%), linear-gradient(135deg, #202020 50%, transparent 50%); background-position: calc(100% - 17px) 52%, calc(100% - 12px) 52%; background-size: 5px 5px; background-repeat: no-repeat; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
fieldset { margin: 0; border: 1px solid var(--line); }
.check { display: flex; align-items: center; gap: .5rem; }
.check input { width: 1rem; min-height: 1rem; accent-color: var(--black); }
.estimate { background: #f3f3f3; padding: .8rem 1rem; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.estimate small { display: block; color: var(--muted); }
output { white-space: nowrap; font-weight: 600; }
.footer { padding-block: 2rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.errors, .confirmation { background: #ededed; padding: 1rem; }
.errors ul { margin: 0; padding-left: 1.25rem; }
.confirmation { background: #f3f3f3; margin-block: 1rem; padding: 2rem; }
.admin h2 { margin-block: 2rem 1rem; }
.admin > form:not(.inline) { max-width: 450px; margin-top: 1.5rem; }
.admin-record { border: 1px solid var(--line); padding: 1rem; margin-bottom: 1rem; overflow-wrap: anywhere; }
.inline { display: flex; align-items: end; flex-wrap: wrap; padding: .5rem 0; border: 0; background: transparent; }
@media (max-width: 800px) {
    .quote-grid { grid-template-columns: 1fr; }
    .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
    .top { flex-wrap: wrap; padding-block: .9rem; gap: .7rem; }
    .top nav { order: 3; width: 100%; }
    .top .button { padding-inline: .65rem; }
    .section-head { display: block; }
    .section-head > p { margin-top: .65rem; }
    .grid, .fields { grid-template-columns: 1fr; }
    .footer { align-items: start; flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition: none !important; }
}
[hidden] { display: none !important; }
.product { display: grid; grid-template-columns: 1.08fr 1fr; align-items: center; gap: clamp(1.5rem, 6vw, 6rem); padding-block: 1.5rem 4rem; }
.product-photo { min-width: 0; background: #f4f4f4; }
.product-photo img { width: 100%; height: auto; max-height: min(76vh, 48rem); object-fit: contain; }
.product-price { font-size: 1.35rem; font-weight: 600; }
.simulator { padding: 1.15rem; margin-block: 1.5rem; background: #fff; border: 1px solid var(--line); }
.simulator h3 { margin-bottom: 1rem; }
.simulator .sim-hint { color: var(--muted); font-size: .88rem; margin-block: .45rem .7rem; }
#wall-message:empty { display: none; }
.wall-stage { width: fit-content; max-width: 100%; position: relative; overflow: hidden; margin-inline: auto; background: #eeeeee; }
#wall-image { width: auto; height: auto; max-width: 100%; max-height: min(65vh, 32rem); }
#mirror-overlay {
    position: absolute;
    transform: translate(-50%, -50%);
    cursor: grab;
    touch-action: none;
    user-select: none;
}
#mirror-overlay:active { cursor: grabbing; }
#mirror-cutout {
    object-fit: contain;
    pointer-events: none;
    filter: drop-shadow(2px 4px 4px #0000004d);
}
.sim-sliders { display: grid; gap: .4rem; margin-bottom: .8rem; }
.sim-sliders input { min-height: 30px; padding: 0; accent-color: var(--black); }
@media (max-width: 700px) {
    .product { grid-template-columns: 1fr; padding-bottom: 2.5rem; }
}
.photo-actions { display: flex; align-items: center; flex-wrap: wrap; gap: .75rem 1.2rem; }
section.quote { margin-top: clamp(2rem, 5vw, 5rem); }
.studio-intro .simulator { background: #fff; }
.quote-grid > form { align-self: start; }
.contact-fields { display: grid; gap: 1rem; }
.sim-adjust { margin-bottom: .75rem; }
.sim-adjust summary { cursor: pointer; color: var(--black); }
.sim-adjust[open] .sim-sliders { margin-top: .5rem; }
#configuration { scroll-margin-top: 1rem; }
@media (max-width: 520px) {
    .photo-actions { gap: .65rem; }
    .photo-actions .button { padding-inline: .75rem; }
}
.journey { width: min(92%, 1050px); }
.journey > .studio-intro { margin-bottom: 1.6rem; }
.journey-form { padding: clamp(.7rem, 3vw, 2.35rem); gap: 1.3rem; }
.journey-nav { padding: .35rem 0 1.25rem; border-bottom: 1px solid var(--line); scroll-margin-top: .8rem; }
.journey-nav ol { position: relative; margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); }
.journey-nav ol::before { content: ''; height: 1px; position: absolute; top: 1.05rem; inset-inline: 10%; background: #bbb; }
.journey-nav li { min-width: 0; }
.journey-nav button { width: 100%; position: relative; padding: 0 .15rem; background: transparent; border: 0; color: var(--black); display: grid; justify-items: center; gap: .4rem; text-align: center; line-height: 1.2; font-size: .75rem; cursor: pointer; }
.journey-nav button > span:last-child { min-width: 0; max-width: 100%; overflow-wrap: anywhere; }
.journey-nav button:disabled { color: var(--muted); cursor: default; }
.step-number { width: 2.15rem; height: 2.15rem; display: grid; place-items: center; border: 1px solid #a7a7a7; border-radius: 50%; background: #fff; font-size: .9rem; font-weight: 600; }
.journey-nav button[aria-current="step"] { font-weight: 600; }
.journey-nav button[aria-current="step"] .step-number { background: var(--black); color: white; border-color: var(--black); }
.journey-nav .step-complete .step-number { background: #f3f3f3; }
.journey-panel { display: grid; gap: 1rem; min-width: 0; }
.journey-panel h3 { font-size: clamp(1.85rem, 4vw, 2.75rem); letter-spacing: -.035em; }
.journey-panel > p { margin: 0; color: var(--muted); }
.journey-panel .simulator { margin: 0; }
.journey-panel .step-actions { display: flex; align-items: center; flex-wrap: wrap; gap: .65rem; justify-content: space-between; }
.quote-summary { display: grid; grid-template-columns: minmax(0, 180px) 1fr; gap: clamp(.8rem, 4vw, 2rem); padding: 1rem; background: #f3f3f3; }
.quote-summary img { aspect-ratio: 1; height: auto; }
.quote-summary dl { display: grid; gap: .4rem; margin: 0; }
.quote-summary dl div { display: grid; grid-template-columns: 1fr 1.45fr; gap: .5rem; }
.quote-summary dt { font-weight: 600; }
.quote-summary dd { margin: 0; overflow-wrap: anywhere; }
@media (max-width: 620px) {
    .journey-nav button { font-size: .6875rem; }
    .quote-summary { grid-template-columns: 1fr; }
    .quote-summary img { width: min(135px, 100%); }
    .journey-panel .step-actions .button { flex: 1 1 auto; }
}

/* The home message and configurator share one photographic background. */
section.home-hero {
    position: relative;
    isolation: isolate;
    margin-top: 0;
    padding-block: clamp(2.6rem, 6vw, 6rem);
    background: #252525;
}
.home-hero::before {
    content: '';
    position: absolute;
    z-index: -1;
    inset: 0;
    filter: grayscale(1);
    background:
        linear-gradient(90deg, #171717f5 0%, #171717d6 28%, #17171760 57%, #17171736 100%),
        var(--hero-image, url("miroire-hero.webp")) center var(--hero-position, 46%) / cover no-repeat;
}
.home-hero-grid {
    width: min(92%, 1360px);
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    gap: clamp(1.5rem, 5vw, 5rem);
    align-items: end;
}
.home-hero .hero-copy { color: #fff; }
.home-hero .hero-copy .eyebrow { color: #e8e8e8; margin: 0 0 1.15rem; }
.home-hero .hero-copy h1 { font-size: clamp(3rem, 5.8vw, 6.2rem); }
.home-hero .hero-copy h1 em { color: #eee; font-style: normal; }
.home-hero .hero-copy > p:not(.eyebrow) { max-width: 37ch; margin: 1.45rem 0 1.65rem; color: #eee; font-size: clamp(1rem, 1.5vw, 1.2rem); }
.home-hero .hero-copy .text-link { color: #fff; }
@media (max-width: 900px) {
    .home-hero-grid { grid-template-columns: 1fr; width: min(92%, 660px); }
    .home-hero::before {
        background:
            linear-gradient(180deg, #171717c9, #17171787 36%, #171717e0 85%),
            var(--hero-image, url("miroire-hero.webp")) center var(--hero-position, top) / var(--hero-mobile-size, auto 41rem) no-repeat;
    }
    .home-hero .hero-copy h1 { max-width: 13ch; }
}

.preview-selection {
    display: flex;
    align-items: center;
    gap: .85rem;
    padding: .6rem;
    border: 1px solid var(--line);
    border-radius: .65rem;
    background: var(--paper);
}
.preview-selection img { flex: 0 0 auto; width: 96px; height: 76px; border-radius: .35rem; }
.preview-selection span { display: block; color: var(--muted); font-size: .88rem; }
.preview-selection strong { font-size: 1.05rem; }

.preview-step { gap: .75rem; }
.shared-preview { display: grid; gap: .65rem; }
.shared-preview .preview-selection { gap: .55rem; padding: .35rem .5rem .35rem .35rem; }
.shared-preview .preview-selection img { width: 64px; height: 48px; }
.shared-preview .preview-selection span { font-size: .8rem; }
.shared-preview .preview-selection strong { font-size: .95rem; }
.shared-preview .has-wall-photo { padding: .55rem .7rem; }
.has-wall-photo .photo-actions, .has-wall-photo .photo-intro { display: none; }
.preview-step #wall-image { max-height: min(15rem, 29vh); max-height: min(15rem, 29svh); }
.preview-step .wall-stage { border-radius: .4rem; }
.preview-scale { display: flex; align-items: center; gap: .8rem; margin-top: .35rem; }
.preview-scale input { width: 100%; min-height: 26px; padding: 0; accent-color: var(--black); }
.preview-tools { display: flex; flex-wrap: wrap; align-items: start; justify-content: space-between; gap: .15rem 1rem; }
.preview-tools .sim-adjust { margin: 0; flex: 1 1 8.5rem; }
.preview-tools .sim-adjust summary { font-size: .88rem; min-height: 36px; align-content: center; }
.preview-tools .sim-sliders { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-bottom: 0; }
.preview-photo-tools { display: flex; align-items: center; gap: .7rem; }
.preview-link { padding: .25rem 0; min-height: 36px; background: none; border: 0; color: var(--black); cursor: pointer; text-decoration: underline; text-underline-offset: .15em; font-size: .88rem; }

.preview-form-layout, .dimension-fields { display: grid; gap: .8rem; min-width: 0; }
.saved-preview-slot:empty, .saved-preview-slot #simulator:not(.has-wall-photo),
.saved-preview-slot .preview-scale, .saved-preview-slot .preview-tools { display: none; }
.saved-preview-slot #wall-image { max-height: min(12rem, 22vh); max-height: min(12rem, 22svh); }
@media (min-width: 1050px) {
    .preview-form-layout:has(.saved-preview-slot:not(:empty)) {
        grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
        align-items: start;
    }
}

.preview-form-layout .contact-fields { min-width: 0; }

.category-picker { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .45rem; }
.category-picker a {
    display: flex;
    align-items: center;
    gap: .55rem;
    min-height: 52px;
    padding: .25rem .45rem;
    border: 1px solid var(--line);
    font-size: .94rem;
    line-height: 1.25;
    text-decoration: none;
}
.category-picker a:hover { border-color: var(--black); }
.category-picker a[aria-current="true"] { background: var(--black); color: white; border-color: var(--black); }
.collection-categories, .collection-models { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(.7rem, 2vw, 1.5rem); }
.collection-tile { display: grid; align-content: start; gap: .7rem; text-decoration: none; font-size: 1.1rem; line-height: 1.25; }
.collection-tile img { height: auto; }

.collection-note { margin-top: 1.5rem; color: var(--muted); font-size: .88rem; }
.category-empty { margin: 0; color: var(--muted); }
@media (max-width: 720px) {
    .collection-categories, .collection-models { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.category-picker img { flex: 0 0 auto; object-fit: contain; background: #f5f5f5; }
.category-picker img { width: 42px; height: 42px; }
.journey-models { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem; }
.model-tile { display: grid; grid-template-rows: auto 1fr; min-width: 0; border: 1px solid var(--line); cursor: pointer; }
.model-tile:has([aria-pressed="true"]), .model-tile:focus-within { border-color: var(--black); }
@media (hover: hover) {
    .journey-models:has(.model-tile:hover) .model-tile:has([aria-pressed="true"]):not(:hover):not(:focus-within) {
        border-color: var(--line);
    }
    .model-tile:hover { border-color: var(--black); }
}
.model-thumb { width: 100%; height: auto; aspect-ratio: 1; max-height: 12.5rem; object-fit: contain; background: #f5f5f5; }
.tile-info { min-width: 0; display: grid; align-content: space-between; gap: .25rem; padding: .45rem .55rem .35rem; }
.tile-meta { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .1rem .55rem; }
.tile-info h4 { margin: 0; font-size: .93rem; font-weight: 500; line-height: 1.2; overflow-wrap: anywhere; }
.tile-info p { margin: 0; color: var(--muted); font-size: .85rem; white-space: nowrap; }
.tile-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0 .55rem; }
.tile-actions .button { min-height: 28px; padding: .12rem .42rem; font-size: .875rem; }
.tile-actions .text-link { display: inline-flex; align-items: center; min-height: 28px; font-size: .875rem; }
.models-toggle { justify-self: start; min-height: 32px; padding: .2rem .65rem; font-size: .875rem; }
@media (max-width: 520px) {
    .category-picker img { width: 32px; height: 32px; }
    .category-picker a { font-size: .86rem; }
    .journey-models { gap: .45rem; }
    .tile-info { padding-inline: .4rem; }
}

.category-selection { display: flex; align-items: center; justify-content: space-between; gap: .35rem .75rem; flex-wrap: wrap; background: #f3f3f3; border-left: 2px solid var(--black); padding: .38rem .65rem; }
.category-selection-name { display: flex; align-items: center; gap: .55rem; line-height: 1.25; }
.category-selection-name img { width: 40px; height: 40px; object-fit: contain; }
.category-selection-name span { display: block; color: var(--muted); font-size: .8rem; }
.category-selection-name strong { display: block; font-size: .92rem; font-weight: 600; }
.category-selection .preview-link { min-height: 28px; }

.model-filters { display: flex; align-items: center; flex-wrap: wrap; gap: .35rem 1rem; padding: .35rem .6rem .5rem; }
.model-filters legend { padding-inline: .3rem; color: var(--muted); font-size: .85rem; }
.model-filters label { display: inline-flex; align-items: center; gap: .35rem; min-height: 28px; }
.model-filters input[type="checkbox"] { width: 1rem; min-height: 1rem; accent-color: var(--black); }
.catalog-filters { width: fit-content; margin-bottom: 1rem; border-color: var(--line); }
.catalog-filters .button { min-height: 28px; padding: .1rem .55rem; font-size: .875rem; }

.top { gap: clamp(.65rem, 2vw, 1.6rem); }
.top nav { gap: clamp(.65rem, 2vw, 1.6rem); flex-wrap: wrap; }
.home-actions { display: flex; align-items: center; flex-wrap: wrap; gap: .7rem 1.1rem; }
.home-hero .home-actions .button { background: white; color: var(--black); border-color: white; }
.home-hero .home-actions .button:hover { background: #eaeaea; border-color: #eaeaea; }
.home-hero-grid { min-height: clamp(17rem, 35vw, 32rem); }
.collection-tile { gap: .55rem; }
.collection-tile img, .collection-models .card-image { aspect-ratio: 4 / 5; }
.collection-tile h3 { font-size: clamp(1.3rem, 2.5vw, 2rem); }
.collection-tile p { font-size: .95rem; color: var(--muted); margin: 0; line-height: 1.45; }
.collection-tile .button { justify-self: start; min-height: 36px; margin-top: .25rem; padding: .3rem .7rem; }
.site-band { background: #f4f4f4; padding-block: clamp(2.2rem, 5vw, 4.8rem); }
.home-trust, .faq-section, .info-page { padding-block: clamp(2.4rem, 6vw, 5.4rem); }
.trust-grid, .info-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(.75rem, 3vw, 2rem); }
.trust-grid h3, .info-grid h2, .terms-copy h2 { font-size: clamp(1.3rem, 2.2vw, 1.75rem); letter-spacing: -.02em; }
.trust-grid > div, .info-grid > article { border-top: 1px solid var(--line); padding-top: 1rem; }
.trust-grid p, .info-grid p, .info-lead { color: var(--muted); }
.partner-list { padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: .65rem 1.1rem; }
.faq-list { margin-top: 1.3rem; max-width: 55rem; }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list details:first-child { border-top: 1px solid var(--line); }
.faq-list summary { padding-block: .8rem; font-weight: 500; cursor: pointer; }
.faq-list p { margin: 0 0 1rem; color: var(--muted); }
.info-page h1, .studio-intro h1 { font-size: clamp(2.25rem, 4.8vw, 4.5rem); }
.info-lead { font-size: clamp(1.05rem, 2vw, 1.3rem); max-width: 56ch; }
.info-grid, .terms-copy { margin: 1.8rem 0; }
.terms-copy { max-width: 54rem; display: grid; gap: .9rem; }
.terms-copy p { margin: .55rem 0; }
.terms-status { border-left: 2px solid var(--ink); background: #f3f3f3; padding: .7rem .9rem; width: fit-content; }
.site-footer { border-top: 1px solid var(--line); background: #f4f4f4; }
.footer-grid {
    display: grid;
    grid-template-columns: 1.15fr repeat(3, minmax(0, 1fr));
    gap: clamp(1.25rem, 4vw, 3rem);
    padding-block: clamp(2rem, 5vw, 3.5rem);
}
.site-footer p { margin: .65rem 0 0; color: var(--muted); max-width: 24ch; }
.site-footer nav { display: grid; align-content: start; gap: .55rem; font-size: .94rem; }
.site-footer nav h2 { margin-bottom: .25rem; color: var(--ink); font-size: 1rem; font-weight: 650; letter-spacing: normal; }
.site-footer nav a { width: fit-content; overflow-wrap: anywhere; }
@media (max-width: 850px) {
    .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 440px) {
    .footer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
    .trust-grid, .info-grid { grid-template-columns: 1fr; }
    .top nav { font-size: .9rem; }
    .featured-grid .card { min-width: 0; }
    .featured-grid .card-foot { flex-wrap: wrap; }
}

@media (max-width: 520px) {
    .collection-categories, .collection-models { grid-template-columns: 1fr; }
}

.home-hero-grid { align-items: center; }
.home-composer {
    min-width: 0;
    padding: clamp(.85rem, 2.7vw, 2rem);
    border: 1px solid white;
    border-radius: .25rem;
    background: white;
    box-shadow: 0 12px 38px #00000029;
    scroll-margin-top: 1rem;
}
.home-composer .studio-intro h2 { font-size: clamp(1.9rem, 3.2vw, 3.35rem); margin-bottom: .75rem; }
.home-composer .journey-form { padding: 0; border: 0; background: transparent; }
.home-composer .journey-panel h3 { font-size: clamp(1.45rem, 2.4vw, 2.05rem); }
@media (min-width: 1050px) {
    .home-composer .preview-form-layout .contact-fields .fields { grid-template-columns: 1fr; }
}

#product-order-config { padding: .9rem; }
.action-card { flex-wrap: wrap; justify-content: flex-start; gap: .45rem .8rem; }
.action-card .button { min-height: 36px; padding: .25rem .6rem; color: white; }
@media (min-width: 800px) {
    .journey-form[data-quick-order] { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 1.5rem; }
    .journey-form[data-quick-order] > .errors { grid-column: 1 / -1; }
    .journey-form[data-quick-order] .preview-form-layout { grid-template-columns: 1fr; }
}

.card-image img, .collection-tile img { object-fit: cover; }
.card-image:hover img { transform: none; }
.collection-tile img, .collection-models .card-image { background: #f4f4f4; }

.product { align-items: start; row-gap: clamp(2rem, 5vw, 4rem); }
.product-gallery { min-width: 0; }
.product-photo { display: grid; position: relative; aspect-ratio: 1; max-height: 70vh; place-items: center; cursor: zoom-in; }
.product-photo img { height: 100%; min-height: 0; max-height: 100%; position: absolute; inset: 0; }
.product-photo span { position: absolute; bottom: .75rem; right: .75rem; background: white; padding: .4rem .75rem; font-size: .875rem; }
.gallery-views { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: .7rem; }
.gallery-views a { display: flex; align-items: center; gap: .4rem; border: 1px solid #ddd; padding: .25rem .55rem .25rem .25rem; font-size: .85rem; text-decoration: none; }
.gallery-views [aria-current="true"] { border-color: var(--black); }
.gallery-views img { height: 3rem; width: 3rem; object-fit: contain; background: #f4f4f4; }
.gallery-dialog { width: min(94vw, 62rem); max-width: none; max-height: 94vh; padding: .75rem; border: 0; color: var(--black); }
.gallery-dialog::backdrop { background: rgb(0 0 0 / 75%); }
.gallery-toolbar { display: flex; align-items: center; flex-wrap: wrap; gap: .5rem; margin-bottom: .65rem; }
.gallery-toolbar h2 { margin: 0 auto 0 0; font-size: 1.1rem; }
.gallery-scroll { height: min(68dvh, 48rem); background: #f4f4f4; overflow: auto; }
.gallery-scroll img { object-fit: contain; }
.gallery-scroll.is-zoomed img { width: 200%; height: 200%; max-width: none; }
.product-details { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 5vw, 5rem); border-top: 1px solid #ddd; padding-top: 1.5rem; }
.product-details h2 { font-size: clamp(1.4rem, 2.5vw, 2rem); }
.service-backdrop {
    position: relative;
    isolation: isolate;
    min-height: clamp(23rem, 44vw, 36rem);
}
.service-backdrop-photo, .service-backdrop::before {
    position: absolute;
    inset: 0 0 auto;
    width: 100%;
    height: min(100%, 36rem);
    pointer-events: none;
}
.service-backdrop-photo {
    z-index: -2;
    filter: grayscale(1);
    object-position: center 44%;
}
.service-backdrop::before {
    content: "";
    z-index: -1;
    background:
        linear-gradient(to bottom, transparent 50%, var(--paper, #fff) 100%),
        linear-gradient(90deg, rgb(255 255 255 / 97%) 12%, rgb(255 255 255 / 90%) 44%, rgb(255 255 255 / 18%) 100%);
}
.service-backdrop .info-grid > article,
.service-backdrop .terms-copy {
    background: rgb(255 255 255 / 94%);
    padding: clamp(.85rem, 2vw, 1.5rem);
}
.order-photo { width: 100%; height: auto; aspect-ratio: 4 / 3; background: #f4f4f4; object-fit: contain; }

@media (max-width: 720px) {
    .product-details { grid-template-columns: 1fr; }
    .order-photo { aspect-ratio: 16 / 10; }
    .service-backdrop-photo, .service-backdrop::before { height: min(100%, 28rem); }
    .service-backdrop::before {
        background: linear-gradient(to bottom, rgb(255 255 255 / 86%) 0%, rgb(255 255 255 / 76%) 52%, var(--paper, #fff) 100%);
    }
}

[data-summary="installation"] { white-space: pre-line; }
@media (min-width: 800px) {
    .journey-form[data-quick-order] > [aria-labelledby="step-contact"] { grid-column: 1 / -1; }
}

.page-hero { --hero-mobile-size: cover; }
.hero-collections { --hero-image: url("miroire-hero.webp"); }
.hero-marrakech { --hero-image: url("salle-de-bain-marrakech.jpg"); --hero-position: 36%; }
.hero-professionnels { --hero-image: url("ambiance-miroir-led.jpg"); --hero-position: 46%; }
.page-hero .home-hero-grid { grid-template-columns: minmax(0, 1fr); }
.page-hero .hero-copy { max-width: 56rem; }
.page-hero .hero-copy h1 { max-width: 18ch; font-size: clamp(2.65rem, 6vw, 5.35rem); }
section.pro-quote { margin-top: 0; }

.hero-contact { --hero-image: url("salle-de-bain-contact.jpg"); --hero-position: 35%; }
.contact-bar { background: #151515; color: #fff; font-size: .88rem; }
.contact-bar-inner, .contact-bar-links { display: flex; flex-wrap: wrap; align-items: center; column-gap: clamp(.75rem, 3vw, 1.6rem); }
.contact-bar-inner { justify-content: space-between; min-height: 44px; padding-block: .2rem; }
.contact-bar a { overflow-wrap: anywhere; }
.contact-bar a:hover { text-decoration: underline; }
.contact-bar-action { display: inline-flex; align-items: center; gap: .35rem; min-height: 38px; text-decoration: none; }
.contact-whatsapp { font-weight: 600; }
.contact-bar-action svg { flex-shrink: 0; }
.compose-button { background: #8b402d; border-color: #8b402d; }
.compose-button:hover { background: #6e3021; border-color: #6e3021; }

@media (max-width: 620px) {
    .contact-bar-inner { justify-content: flex-start; }
}

.related-categories {
    margin-top: clamp(2rem, 5vw, 4rem);
    padding-top: clamp(1.5rem, 3vw, 2.5rem);
    border-top: 1px solid var(--line);
}

.contact-bar a:focus-visible { outline-color: #fff; }
.home-try { padding-block: clamp(2.4rem, 6vw, 5.4rem); }
.home-try-steps {
    list-style: none;
    padding: 0;
    margin: 1.65rem 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(1rem, 3vw, 1.75rem);
}
.home-try-steps h3 { font-size: clamp(1.2rem, 2.5vw, 1.75rem); margin-top: .8rem; }
.home-try-steps p { color: var(--muted); margin: .45rem 0 0; }
.home-try-image { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: #f5f2ec; }
.home-try-image img { object-position: center 45%; }
.home-try-model img { object-fit: contain; }
.home-try-image .home-try-overlay { position: absolute; top: 5%; left: 57%; width: 26%; height: 41%; object-fit: contain; }

@media (max-width: 680px) {
    .home-try-steps { grid-template-columns: 1fr; }
}

.top .top-compose-button {
    background: #9e432c;
    border-color: #9e432c;
    color: #fff;
    font-weight: 650;
}
.top .top-compose-button:hover { background: #78311f; border-color: #78311f; }

.review-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}
.client-review { margin: 0; min-width: 0; padding: 1.15rem; border: 1px solid #ded7cc; border-radius: .8rem; background: white; }
.review-author { display: flex; align-items: center; flex-wrap: wrap; gap: .65rem; font-size: .95rem; line-height: 1.3; }
.review-avatar { display: grid; place-items: center; flex: 0 0 2.5rem; aspect-ratio: 1; border-radius: 50%; color: #fff; background: #8b402d; font-weight: 600; }
.client-review:nth-child(3n + 2) .review-avatar { background: #466258; }
.client-review:nth-child(3n + 3) .review-avatar { background: #65546a; }
.review-rating { margin-top: .7rem; color: #9c5c13; letter-spacing: .13em; }
.client-review blockquote { margin: .5rem 0 0; overflow-wrap: anywhere; }

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

.top nav a, .top .top-compose-button { text-transform: uppercase; }
.review-context { display: block; margin-top: .15rem; color: var(--muted); font-size: .8rem; }

.review-disclosure { color: var(--muted); font-size: .9rem; }
.contact-icons { position: absolute; }
.contact-bar-action svg, .footer-contact-link svg {
    flex-shrink: 0;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.footer-contact-link { display: inline-flex; align-items: center; gap: .5rem; }

.language-switch { display: flex; align-items: center; gap: .6rem; }
.language-switch a { padding-block: .3rem; }
.language-switch a[aria-current="true"] { font-weight: 700; text-decoration: underline; text-underline-offset: .2em; }

[dir="rtl"] {
    --typeface: "Geeza Pro", "Segoe UI", Tahoma, Arial, sans-serif;
}
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] .brand, [dir="rtl"] .eyebrow,
[dir="rtl"] .info-grid h2, [dir="rtl"] .trust-grid h3, [dir="rtl"] .terms-copy h2 { letter-spacing: normal; }
[dir="rtl"] select {
    padding-right: .65rem;
    padding-left: 2rem;
    background-position: 12px 52%, 17px 52%;
}
[dir="rtl"] .errors ul { padding-left: 0; padding-right: 1.25rem; }
[dir="rtl"] .category-selection, [dir="rtl"] .terms-status { border-left: 0; border-right: 2px solid var(--ink); }
[dir="rtl"] .product-photo span { right: auto; left: .75rem; }
[dir="rtl"] .gallery-toolbar h2 { margin: 0 0 0 auto; }
[dir="rtl"] .gallery-scroll, [dir="rtl"] input[type="range"], [dir="rtl"] input[type="tel"],
[dir="rtl"] a[href^="tel:"] { direction: ltr; }
[dir="rtl"] .service-backdrop::before {
    background:
        linear-gradient(to bottom, transparent 50%, var(--paper) 100%),
        linear-gradient(270deg, rgb(255 255 255 / 97%) 12%, rgb(255 255 255 / 90%) 44%, rgb(255 255 255 / 18%) 100%);
}

@media (min-width: 901px) {
    [dir="rtl"] .home-hero::before {
        background:
            linear-gradient(270deg, #171717f5 0%, #171717d6 28%, #17171760 57%, #17171736 100%),
            var(--hero-image, url("miroire-hero.webp")) center var(--hero-position, 46%) / cover no-repeat;
    }
}

@media (max-width: 720px) {
    [dir="rtl"] .service-backdrop::before {
        background: linear-gradient(to bottom, rgb(255 255 255 / 86%) 0%, rgb(255 255 255 / 76%) 52%, var(--paper) 100%);
    }
}
