/* ==========================================================================
   Boutique — customer website. Mobile first: base rules are for a phone,
   @media (min-width: …) blocks add the tablet / desktop layout.
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
    --bg: #fbf8f4;           /* warm ivory page */
    --surface: #ffffff;
    --soft: #f3ece4;         /* beige panels, image placeholders */
    --ink: #221d1a;          /* text */
    --muted: #7a706a;
    --line: #e7dfd6;
    --accent: #9c5b4a;       /* dusty terracotta-rose */
    --accent-dark: #7f4838;
    --warn: #9a6a1f;
    --error: #a33a2c;
    --ok: #4d6b53;

    --font-serif: "Cormorant Garamond", "Times New Roman", Georgia, serif;
    --font-sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

    --gutter: 16px;
    --max: 1240px;
    --header-h: 60px;
    --ease: cubic-bezier(.2, .7, .2, 1);
}

@media (min-width: 720px) {
    :root {
        --gutter: 32px;
        --header-h: 72px;
    }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
    -webkit-text-size-adjust: 100%;
    scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: var(--bg);
    color: var(--ink);
    font-family: var(--font-sans);
    font-size: 15px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

main { flex: 1; }

/* width/height attributes in the HTML reserve space (no layout jump); CSS decides the displayed size. */
img { display: block; max-width: 100%; height: auto; }

a { color: inherit; text-underline-offset: 3px; text-decoration-thickness: 1px; }

h1, h2, h3 { margin: 0; font-weight: 500; }

p { margin: 0 0 .75em; }

button, input, textarea, select { font: inherit; color: inherit; }

:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

.container {
    width: 100%;
    max-width: var(--max);
    margin-inline: auto;
    padding-inline: var(--gutter);
}

.container.narrow { max-width: 760px; }

.muted { color: var(--muted); }
.small { font-size: .8125rem; }
.text-warn { color: var(--warn); font-size: .8125rem; }

.skip-link {
    position: absolute;
    left: -9999px;
}
.skip-link:focus {
    left: 12px;
    top: 12px;
    z-index: 100;
    padding: 8px 12px;
    background: var(--surface);
}

/* ---------- Typography ---------- */
.display {
    font-family: var(--font-serif);
    font-size: clamp(2.75rem, 11vw, 5.5rem);
    font-weight: 500;
    line-height: 1;
    letter-spacing: -.01em;
}

.page-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 7vw, 3rem);
    line-height: 1.1;
    margin-bottom: 8px;
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(1.75rem, 5vw, 2.25rem);
    line-height: 1.15;
}

.eyebrow,
.filter-label {
    display: inline-block;
    margin: 0 0 8px;
    font-size: .6875rem;
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--muted);
    text-decoration: none;
}

.lead {
    font-size: 1.0625rem;
    color: var(--muted);
    max-width: 34em;
}

.price { white-space: nowrap; font-weight: 500; }

/* ---------- Buttons, chips, links ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 12px 28px;
    border: 1px solid var(--ink);
    border-radius: 0;
    background: var(--ink);
    color: var(--bg);
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    transition: background-color .2s var(--ease), color .2s var(--ease);
}
.btn:hover { background: var(--accent-dark); border-color: var(--accent-dark); }
.btn:disabled,
.btn.is-disabled { background: var(--line); border-color: var(--line); color: var(--muted); cursor: not-allowed; }

.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }

.btn--block { width: 100%; }
.btn--small { min-height: 40px; padding: 8px 16px; }

.link-button {
    padding: 0;
    border: 0;
    background: none;
    color: var(--muted);
    font-size: .8125rem;
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
}
.link-button:hover { color: var(--ink); }

.link-more {
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    text-decoration: none;
    border-bottom: 1px solid currentColor;
    padding-bottom: 2px;
}

.chips { display: flex; flex-wrap: wrap; gap: 8px; }

.chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 6px 16px;
    border: 1px solid var(--line);
    background: var(--surface);
    font-size: .8125rem;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: border-color .15s var(--ease);
}
.chip:hover { border-color: var(--ink); }
.chip.is-selected { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.chip--square { min-width: 48px; padding-inline: 10px; }

.notice {
    padding: 12px 16px;
    border-left: 2px solid var(--muted);
    background: var(--soft);
    font-size: .875rem;
}
.notice a { margin-left: 4px; font-weight: 600; }
.notice--warn { border-color: var(--warn); }
.notice--error { border-color: var(--error); color: var(--error); background: #fbeeeb; }

.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 56px 0;
    text-align: center;
    color: var(--muted);
}
.empty-state .display,
.empty-state .page-title { color: var(--ink); }

/* ---------- Header ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(251, 248, 244, .94);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--line);
}

.header-inner {
    display: grid;
    grid-template-columns: 88px 1fr 88px;
    align-items: center;
    height: var(--header-h);
}

.logo {
    justify-self: center;
    font-family: var(--font-serif);
    font-size: 1.625rem;
    font-weight: 600;
    letter-spacing: .06em;
    text-decoration: none;
}

.main-nav { display: none; }

.header-actions { display: flex; justify-self: end; }

.cart-link,
.account-link {
    position: relative;
    justify-self: end;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    text-decoration: none;
}

.cart-count {
    position: absolute;
    top: 4px;
    right: 2px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 9px;
    background: var(--accent);
    color: #fff;
    font-size: .6875rem;
    font-weight: 600;
    line-height: 18px;
    text-align: center;
}
.cart-count[hidden] { display: none; }

/* Mobile menu (<details>) */
.menu summary {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    list-style: none;
    cursor: pointer;
}
.menu summary::-webkit-details-marker { display: none; }
.menu .menu-close,
.menu[open] .menu-open { display: none; }
.menu[open] .menu-close { display: block; }

.menu-panel {
    position: absolute;
    left: 0;
    right: 0;
    top: var(--header-h);
    display: flex;
    flex-direction: column;
    padding: 8px var(--gutter) 24px;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 16px 24px -16px rgba(34, 29, 26, .18);
}
.menu-panel a {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
    font-family: var(--font-serif);
    font-size: 1.5rem;
    text-decoration: none;
}

@media (min-width: 900px) {
    .header-inner { grid-template-columns: auto 1fr auto; gap: 40px; }
    .menu { display: none; }
    .logo { justify-self: start; }
    .main-nav { display: flex; gap: 32px; }
    .main-nav a {
        font-size: .75rem;
        font-weight: 600;
        letter-spacing: .14em;
        text-transform: uppercase;
        text-decoration: none;
        padding: 6px 0;
        border-bottom: 1px solid transparent;
    }
    .main-nav a:hover,
    .main-nav a.active { border-color: var(--ink); }
}

/* ---------- Footer ---------- */
.site-footer {
    margin-top: 80px;
    padding: 48px 0 96px; /* room for the WhatsApp button on phones */
    background: var(--ink);
    color: #d9d1c9;
    font-size: .875rem;
}

.footer-inner { display: grid; gap: 28px; }

.footer-logo {
    font-family: var(--font-serif);
    font-size: 1.75rem;
    color: var(--bg);
    letter-spacing: .06em;
}

.footer-links { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.footer-links a { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }
.footer-links a:hover { color: var(--bg); }

.footer-copy { color: #8f857d; font-size: .75rem; }

@media (min-width: 720px) {
    .footer-inner { grid-template-columns: 2fr 1fr; }
    .footer-copy { grid-column: 1 / -1; }
    .site-footer { padding-bottom: 48px; }
}

.whatsapp-fab {
    position: fixed;
    right: 16px;
    bottom: 16px;
    z-index: 30;
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    box-shadow: 0 8px 20px rgba(0, 0, 0, .18);
}

/* ---------- Home ---------- */
.hero {
    padding: 56px 0 64px;
    background:
        radial-gradient(120% 80% at 90% 0%, #f1e3d8 0%, transparent 60%),
        var(--soft);
}
.hero-inner { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.hero .lead { margin-bottom: 12px; }

@media (min-width: 900px) {
    .hero { padding: 120px 0; }
}

.section { padding-top: 56px; }
@media (min-width: 900px) { .section { padding-top: 88px; } }

.section-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 24px;
}

.category-list { margin: 20px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.category-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
    font-family: var(--font-serif);
    font-size: 1.5rem;
    text-decoration: none;
}
.category-list a .icon { transition: transform .25s var(--ease); }
.category-list a:hover .icon { transform: translateX(6px); }

@media (min-width: 900px) {
    .category-list { display: grid; grid-template-columns: repeat(2, 1fr); column-gap: 48px; }
}

.visit { margin-top: 72px; padding: 56px 0; background: var(--soft); }
.visit-inner { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.visit-inner > p:first-of-type { max-width: 36em; color: var(--muted); }
.visit-line { display: flex; align-items: center; gap: 8px; margin: 0; }
.visit .btn { margin-top: 12px; }

/* ---------- Catalog ---------- */
.page-head { padding-top: 24px; padding-bottom: 20px; }

.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
    font-size: .75rem;
    color: var(--muted);
}
.breadcrumbs a { text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; }

.category-chips {
    display: flex;
    gap: 8px;
    margin: 0 calc(-1 * var(--gutter)) 16px;
    padding: 0 var(--gutter) 4px;
    overflow-x: auto;
    scrollbar-width: none;
}
.category-chips::-webkit-scrollbar { display: none; }

.catalog-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px 24px;
    margin-bottom: 28px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--line);
}

.filters { flex: 1 1 100%; order: 2; }
.filters summary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    list-style: none;
    cursor: pointer;
}
.filters summary::-webkit-details-marker { display: none; }
.filters-chevron { transition: transform .2s var(--ease); }
.filters[open] .filters-chevron { transform: rotate(180deg); }
.filters-count {
    display: inline-grid;
    place-items: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--accent);
    color: #fff;
    font-size: .6875rem;
    letter-spacing: 0;
}

.filters-body { display: grid; gap: 20px; padding: 12px 0 8px; }
.filter-group { margin: 0; }

.price-inputs { display: flex; align-items: center; gap: 8px; }
.price-inputs input {
    width: 100%;
    max-width: 140px;
    min-height: 40px;
    padding: 6px 10px;
    border: 1px solid var(--line);
    background: var(--surface);
    -moz-appearance: textfield;
}
.price-inputs input::-webkit-outer-spin-button,
.price-inputs input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.filter-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 16px; }
.filter-footer > * { white-space: nowrap; }

.toggle { display: inline-flex; align-items: center; gap: 10px; font-size: .875rem; text-decoration: none; }
.toggle-track {
    position: relative;
    width: 36px;
    height: 20px;
    border-radius: 10px;
    background: var(--line);
    transition: background-color .2s var(--ease);
}
.toggle-track::after {
    content: "";
    position: absolute;
    top: 2px;
    left: 2px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #fff;
    transition: transform .2s var(--ease);
}
.toggle.is-on .toggle-track { background: var(--ink); }
.toggle.is-on .toggle-track::after { transform: translateX(16px); }

.sort { display: flex; gap: 16px; order: 1; font-size: .8125rem; }
.sort a { min-height: 44px; display: inline-flex; align-items: center; color: var(--muted); text-decoration: none; }
.sort a.is-selected { color: var(--ink); text-decoration: underline; }

@media (min-width: 900px) {
    .filters { flex: 1 1 auto; order: 1; }
    .sort { order: 2; }
    .filters-body { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px 40px; }
    .filter-footer { grid-column: 1 / -1; }
}

.pager {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 4px;
    margin-top: 48px;
}
.pager a,
.pager span {
    display: grid;
    place-items: center;
    min-width: 44px;
    height: 44px;
    text-decoration: none;
}
.pager a:hover { background: var(--soft); }
.pager .is-current { border-bottom: 1px solid var(--ink); font-weight: 600; }
.pager-gap { color: var(--muted); }

/* ---------- Product ---------- */
.product-page { padding-top: 16px; }

.product-layout { display: grid; gap: 24px; }

.gallery { margin-inline: calc(-1 * var(--gutter)); }

.gallery-track {
    display: flex;
    margin: 0;
    padding: 0;
    list-style: none;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}
.gallery-track::-webkit-scrollbar { display: none; }
.gallery-track li { flex: 0 0 100%; scroll-snap-align: start; background: var(--soft); }
.gallery-track img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }

.gallery-thumbs {
    display: flex;
    gap: 6px;
    margin: 8px 0 0;
    padding: 0 var(--gutter);
    list-style: none;
    overflow-x: auto;
}
.gallery-thumbs img { width: 52px; aspect-ratio: 3 / 4; object-fit: cover; opacity: .8; }
.gallery-thumbs a:hover img { opacity: 1; }

.gallery-placeholder {
    display: grid;
    place-items: center;
    aspect-ratio: 3 / 4;
    background: var(--soft);
    font-family: var(--font-serif);
    font-size: 5rem;
    color: var(--muted);
}

.product-info { display: flex; flex-direction: column; gap: 14px; }
.product-title { font-family: var(--font-serif); font-size: clamp(2rem, 7vw, 2.75rem); line-height: 1.1; }
.product-price { font-size: 1.25rem; }

.description { margin-top: 16px; padding-top: 20px; border-top: 1px solid var(--line); }
.description h2 { margin-bottom: 8px; font-size: .6875rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.description p { white-space: pre-line; }

@media (min-width: 960px) {
    .product-layout { grid-template-columns: minmax(0, 11fr) minmax(0, 9fr); gap: 64px; align-items: start; }
    .gallery { margin-inline: 0; }
    /* All photos one under another; the details stay in view while scrolling. */
    .gallery-track { flex-direction: column; gap: 12px; overflow: visible; }
    .gallery-thumbs { display: none; }
    .product-info { position: sticky; top: calc(var(--header-h) + 24px); padding-top: 8px; }
}

/* Size picker (interactive) */
.picker { display: flex; flex-direction: column; gap: 18px; margin-top: 8px; }
.picker-group { margin: 0; padding: 0; border: 0; }
.picker-group legend { margin-bottom: 10px; font-size: .8125rem; color: var(--muted); }
.picker-group legend strong { color: var(--ink); font-weight: 500; }

.sizes { display: flex; flex-wrap: wrap; gap: 8px; }
.size {
    min-width: 52px;
    min-height: 48px;
    padding: 0 12px;
    border: 1px solid var(--line);
    background: var(--surface);
    font-size: .875rem;
    cursor: pointer;
    transition: border-color .15s var(--ease);
}
.size:hover:not(:disabled) { border-color: var(--ink); }
.size.is-selected { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.size.is-out {
    color: #b9afa7;
    background:
        linear-gradient(to top right, transparent calc(50% - .5px), var(--line) 50%, transparent calc(50% + .5px)),
        var(--surface);
    cursor: not-allowed;
}

.picker-hint { margin: 10px 0 0; font-size: .8125rem; color: var(--warn); }

.picker-message { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0; font-size: .875rem; }
.picker-message.is-ok { color: var(--ok); }
.picker-message.is-warn { color: var(--warn); }
.picker-message a { margin-left: auto; color: var(--ink); font-weight: 600; }

/* ---------- Cart ---------- */
.cart-lines { margin: 16px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }

.cart-line {
    display: grid;
    grid-template-columns: 84px 1fr;
    gap: 6px 16px;
    padding: 20px 0;
    border-bottom: 1px solid var(--line);
}
.cart-line.is-unavailable .cart-thumb,
.cart-line.is-unavailable .cart-line-name { opacity: .5; }

.cart-thumb { grid-row: span 2; background: var(--soft); aspect-ratio: 3 / 4; }
.cart-thumb img { width: 100%; height: 100%; object-fit: cover; }

.cart-line-main { display: flex; flex-direction: column; gap: 2px; font-size: .875rem; }
.cart-line-name { font-size: .9375rem; text-decoration: none; }
.cart-line-controls { display: flex; align-items: center; gap: 16px; margin-top: 10px; }
.cart-line-price { grid-column: 2; font-size: .9375rem; }

@media (min-width: 720px) {
    .cart-line { grid-template-columns: 96px 1fr auto; }
    .cart-thumb { grid-row: auto; }
    .cart-line-price { grid-column: 3; align-self: start; }
}

.stepper { display: inline-flex; align-items: center; border: 1px solid var(--line); background: var(--surface); }
.stepper button {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border: 0;
    background: none;
    cursor: pointer;
}
.stepper button:disabled { color: var(--line); cursor: default; }
.stepper span { min-width: 24px; text-align: center; }

.cart-summary { display: flex; flex-direction: column; gap: 14px; margin-top: 24px; }
.summary-row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.summary-total { font-size: 1.125rem; font-weight: 500; }

/* ---------- Checkout ---------- */
.checkout-layout { display: grid; gap: 40px; margin-top: 16px; }

.checkout-form { display: flex; flex-direction: column; gap: 20px; }

.field { display: flex; flex-direction: column; gap: 6px; margin: 0; padding: 0; border: 0; }
.field label,
.field legend { font-size: .8125rem; font-weight: 500; }
.field legend { margin-bottom: 8px; }

.field input,
.field textarea {
    width: 100%;
    min-height: 48px;
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: 0;
    background: var(--surface);
    font-size: 16px; /* 16px stops iOS from zooming in on focus */
}
.field textarea { resize: vertical; }
.field input:focus,
.field textarea:focus { border-color: var(--ink); outline: none; }
.field .invalid { border-color: var(--error); }

.validation-message { color: var(--error); font-size: .8125rem; }

.radio-card {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 8px;
    padding: 14px 16px;
    border: 1px solid var(--line);
    background: var(--surface);
    cursor: pointer;
}
.radio-card:has(input:checked) { border-color: var(--ink); }
.radio-card input { margin-top: 5px; accent-color: var(--ink); }
.radio-card span { display: flex; flex-direction: column; }
.radio-card small { color: var(--muted); }

/* The address only matters for delivery: shown when that option is chosen. */
.address-field { display: none; }
.checkout-form:has(input[value="Delivery"]:checked) .address-field { display: flex; }

/* Honeypot: off-screen rather than display:none, which some bots detect. */
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.order-summary { align-self: start; padding: 24px; background: var(--soft); }
.order-summary h2 { margin-bottom: 16px; font-family: var(--font-serif); font-size: 1.5rem; }
.order-summary ul { margin: 0 0 16px; padding: 0; list-style: none; }
.order-summary li {
    display: grid;
    grid-template-columns: 48px 1fr auto;
    gap: 12px;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid var(--line);
    font-size: .875rem;
}
.order-summary li img { width: 48px; aspect-ratio: 3 / 4; object-fit: cover; }
.order-summary li > span { display: flex; flex-direction: column; }
.order-summary .summary-total { margin-bottom: 12px; }

@media (min-width: 960px) {
    .checkout-layout { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 64px; }
    .order-summary { position: sticky; top: calc(var(--header-h) + 24px); }
}

/* ---------- Order success ---------- */
.success { padding-top: 48px; text-align: center; }
.success .lead { margin-inline: auto; color: var(--ink); }
.success-mark {
    display: inline-grid;
    place-items: center;
    width: 72px;
    height: 72px;
    margin-bottom: 20px;
    border: 1px solid var(--ok);
    border-radius: 50%;
    color: var(--ok);
}
.success-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 28px; }

/* ---------- Contacts ---------- */
.contacts-layout { display: grid; gap: 32px; margin-top: 24px; }
.contacts-info { display: flex; flex-direction: column; gap: 24px; }
.contact-item { display: grid; grid-template-columns: 24px 1fr; gap: 16px; }
.contact-item p { margin: 0; }
.contact-item .filter-label { margin-bottom: 4px; }
.contact-buttons { display: flex; flex-wrap: wrap; gap: 12px; }

.map {
    margin-inline: calc(-1 * var(--gutter));
    aspect-ratio: 4 / 3;
    background: var(--soft);
}
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.35) sepia(.1); }

@media (min-width: 900px) {
    .contacts-layout { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 64px; }
    .map { margin-inline: 0; aspect-ratio: auto; min-height: 420px; }
}

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}

/* ---------- Customer login and account ---------- */
.login-page { padding-bottom: 48px; }
.login-page .lead { margin-bottom: 24px; }
.login-page .notice { margin-bottom: 20px; }
.login-actions { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 20px; }

.account-details { display: grid; grid-template-columns: auto 1fr; gap: 10px 24px; margin: 8px 0 24px; }
.account-details dt { color: var(--muted); font-size: .8125rem; align-self: center; }
.account-details dd { margin: 0; font-size: 1rem; }
.account-actions { display: flex; flex-direction: column; gap: 12px; max-width: 360px; margin: 24px 0 48px; }

.login-hint { margin: 0 0 4px; font-size: .875rem; }
