/* ==========================================================================
   Rijwielzaak Bathoorn — front-end stylesheet
   Design tokens first, then layout primitives, then components.
   ========================================================================== */

:root {
    --brand:        #e32047;
    --brand-dark:   #b71434;
    --brand-soft:   #fff1f3;
    --ink:          #12161f;
    --ink-2:        #1e293d;
    --body:         #495468;
    --muted:        #7b8698;
    --line:         #e6e9ef;
    --surface:      #ffffff;
    --surface-2:    #f6f7fa;
    --surface-3:    #eef1f6;
    --accent:       #ff735e;
    --gold:         #f2b705;
    --ok:           #12855b;

    --radius-sm: 10px;
    --radius:    16px;
    --radius-lg: 24px;
    --radius-xl: 32px;

    --shadow-sm: 0 1px 2px rgba(16, 22, 34, .06), 0 2px 8px rgba(16, 22, 34, .04);
    --shadow:    0 2px 6px rgba(16, 22, 34, .06), 0 12px 32px rgba(16, 22, 34, .08);
    --shadow-lg: 0 8px 24px rgba(16, 22, 34, .10), 0 32px 64px rgba(16, 22, 34, .12);

    --font-display: 'Montserrat', 'Segoe UI', system-ui, -apple-system, sans-serif;
    --font-body:    'Roboto', 'Segoe UI', system-ui, -apple-system, sans-serif;

    --container: 1240px;
    --header-h: 84px;

    --ease: cubic-bezier(.22, 1, .36, 1);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.7;
    color: var(--body);
    background: var(--surface);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
img, video { max-width: 100%; height: auto; display: block; }
/* Icons live inside sentences and buttons, so they stay inline. */
svg { max-width: 100%; display: inline-block; vertical-align: -0.14em; }
a { color: var(--brand); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--brand-dark); }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    color: var(--ink);
    line-height: 1.15;
    margin: 0 0 .5em;
    letter-spacing: -.02em;
}
h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.65rem); font-weight: 800; }
h3 { font-size: clamp(1.3rem, 2.2vw, 1.75rem); font-weight: 700; }
h4 { font-size: 1.2rem; font-weight: 700; }
p  { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0 0 1.1em; padding-left: 1.3em; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2.5rem 0; }

::selection { background: var(--brand); color: #fff; }

:focus-visible {
    outline: 3px solid var(--brand);
    outline-offset: 3px;
    border-radius: 4px;
}

.skip-link {
    position: absolute; left: -9999px; top: 0; z-index: 999;
    background: var(--brand); color: #fff; padding: .8rem 1.4rem; border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { left: 0; color: #fff; }

/* ---------- layout primitives ---------- */
.container { width: min(100% - 2.5rem, var(--container)); margin-inline: auto; }
.container-narrow { width: min(100% - 2.5rem, 860px); margin-inline: auto; }
.section { padding: clamp(3.5rem, 8vw, 7rem) 0; }
.section--tight { padding: clamp(2.5rem, 5vw, 4rem) 0; }
.section--tinted { background: var(--surface-2); }
.section--ink { background: var(--ink-2); color: rgba(255,255,255,.78); }
.section--ink h2, .section--ink h3, .section--ink h4 { color: #fff; }

.stack > * + * { margin-top: 1.25rem; }
.grid { display: grid; gap: clamp(1.25rem, 3vw, 2rem); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
/* Product cards stay readable down to ~250px, so they may pack tighter. */
.grid-products { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
/* Fixed three-up row that only breaks on small screens. */
.grid-trio { grid-template-columns: 1fr; }
@media (min-width: 700px)  { .grid-trio { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.eyebrow {
    display: inline-flex; align-items: center; gap: .55rem;
    font-family: var(--font-display);
    font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
    color: var(--brand); margin-bottom: 1rem;
}
.eyebrow::before { content: ''; width: 28px; height: 2px; background: var(--brand); border-radius: 2px; }
.section--ink .eyebrow { color: var(--accent); }
.section--ink .eyebrow::before { background: var(--accent); }

.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--body); }
.section-head { max-width: 680px; margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }

/* ---------- buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
    font-family: var(--font-display); font-weight: 700; font-size: .96rem; letter-spacing: .01em;
    padding: .95rem 1.7rem;
    border: 2px solid transparent; border-radius: 999px;
    cursor: pointer; text-align: center;
    transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .2s, color .2s, border-color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--primary { background: var(--brand); color: #fff; box-shadow: 0 8px 20px rgba(227,32,71,.28); }
.btn--primary:hover { background: var(--brand-dark); color: #fff; box-shadow: 0 12px 28px rgba(227,32,71,.34); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { color: var(--brand); border-color: var(--brand); background: var(--brand-soft); }
.btn--light { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }
.btn--light:hover { color: var(--brand); }
.btn--outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.btn--outline-light:hover { color: var(--ink); background: #fff; border-color: #fff; }
.btn--sm { padding: .6rem 1.1rem; font-size: .85rem; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: .85rem; }

/* ---------- header ---------- */
.site-header {
    position: sticky; top: 0; z-index: 100;
    background: rgba(255,255,255,.92);
    backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 1px solid transparent;
    transition: box-shadow .3s var(--ease), border-color .3s;
}
.site-header.is-stuck { box-shadow: 0 4px 24px rgba(16,22,34,.08); border-bottom-color: var(--line); }

.topbar {
    background: var(--ink-2); color: rgba(255,255,255,.72);
    font-size: .82rem; letter-spacing: .01em;
}
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 40px; }
.topbar a { color: rgba(255,255,255,.85); }
.topbar a:hover { color: #fff; }
.topbar__items { display: flex; align-items: center; gap: .35rem 1.5rem; flex-wrap: wrap; min-height: 40px; }
.topbar__items > * { display: inline-flex; align-items: center; gap: .45rem; line-height: 1; }
.topbar__items svg { flex-shrink: 0; opacity: .75; }
.topbar__divider { width: 1px; height: 14px; background: rgba(255,255,255,.18); }
.topbar__socials { display: flex; gap: .75rem; }
.topbar__socials a { display: inline-flex; width: 26px; height: 26px; align-items: center; justify-content: center; border-radius: 50%; background: rgba(255,255,255,.1); }
.topbar__socials a:hover { background: var(--brand); }

.status-dot { display: inline-flex; align-items: center; gap: .45rem; font-weight: 500; }
.status-dot::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--muted); }
.status-dot--open::before { background: #3ddc97; box-shadow: 0 0 0 3px rgba(61,220,151,.25); }
.status-dot--closed::before { background: #ff8a7a; }

.nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: var(--header-h); }
.brand { display: flex; align-items: center; gap: .85rem; min-width: 0; }
.brand img { height: 58px; width: auto; flex-shrink: 0; }

.nav__menu { display: flex; align-items: center; gap: .35rem; list-style: none; margin: 0; padding: 0; }
.nav__link {
    position: relative; display: block; padding: .65rem .95rem;
    font-family: var(--font-display); font-weight: 600; font-size: .95rem; color: var(--ink);
    border-radius: 999px; white-space: nowrap;
}
.nav__link:hover, .nav__item.is-active > .nav__link { color: var(--brand); background: var(--brand-soft); }
.nav__item { position: relative; }
.nav__item--has-children > .nav__link::after {
    content: ''; display: inline-block; margin-left: .45rem; width: .4em; height: .4em;
    border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
    transform: translateY(-2px) rotate(45deg);
}
.nav__sub {
    position: absolute; top: calc(100% + .35rem); left: 0; min-width: 230px;
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    box-shadow: var(--shadow); padding: .5rem; list-style: none; margin: 0;
    opacity: 0; visibility: hidden; transform: translateY(8px);
    transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
}
.nav__item--has-children:hover > .nav__sub,
.nav__item--has-children:focus-within > .nav__sub { opacity: 1; visibility: visible; transform: translateY(0); }
.nav__sub a { display: flex; justify-content: space-between; gap: 1rem; align-items: center; padding: .6rem .85rem; border-radius: var(--radius-sm); color: var(--ink); font-weight: 500; font-size: .93rem; }
.nav__sub a:hover { background: var(--surface-2); color: var(--brand); }
.nav__sub .count { font-size: .75rem; color: var(--muted); background: var(--surface-2); border-radius: 999px; padding: .1rem .5rem; }
.nav__sub a:hover .count { background: #fff; }

.nav__actions { display: flex; align-items: center; gap: .75rem; flex-shrink: 0; }
.nav__actions .btn { white-space: nowrap; }
.nav__phone { display: inline-flex; align-items: center; gap: .55rem; font-family: var(--font-display); font-weight: 700; color: var(--ink); font-size: .95rem; white-space: nowrap; }
.nav__phone:hover { color: var(--brand); }

.nav-toggle {
    display: none; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 12px;
    background: #fff; cursor: pointer; align-items: center; justify-content: center;
}
.nav-toggle span { position: relative; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: background .2s; }
.nav-toggle span::before, .nav-toggle span::after {
    content: ''; position: absolute; left: 0; width: 20px; height: 2px; background: var(--ink); border-radius: 2px;
    transition: transform .3s var(--ease), top .3s var(--ease);
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after  { top: 6px; }
body.nav-open .nav-toggle span { background: transparent; }
body.nav-open .nav-toggle span::before { top: 0; transform: rotate(45deg); }
body.nav-open .nav-toggle span::after  { top: 0; transform: rotate(-45deg); }

/* ---------- hero ---------- */
.hero { position: relative; isolation: isolate; color: #fff; overflow: hidden; }
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.hero::after {
    content: ''; position: absolute; inset: 0; z-index: -1;
    background:
        linear-gradient(105deg, rgba(12,16,24,.92) 0%, rgba(12,16,24,.7) 42%, rgba(12,16,24,.25) 72%, rgba(12,16,24,.45) 100%);
}
.hero__inner { padding: clamp(4.5rem, 12vw, 9.5rem) 0 clamp(3.5rem, 8vw, 6rem); max-width: 760px; }
.hero h1 { color: #fff; text-wrap: balance; margin-bottom: 1.1rem; }
.hero__sub { font-size: clamp(1.05rem, 1.9vw, 1.3rem); color: rgba(255,255,255,.85); max-width: 55ch; margin-bottom: 2rem; }
.hero .eyebrow { color: #fff; }
.hero .eyebrow::before { background: var(--brand); width: 34px; height: 3px; }

.hero-stats {
    display: flex; flex-wrap: wrap; gap: clamp(1.5rem, 4vw, 3.5rem);
    margin-top: clamp(2.5rem, 5vw, 3.5rem); padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,.18);
}
.hero-stat__value { font-family: var(--font-display); font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; color: #fff; line-height: 1; }
.hero-stat__label { font-size: .85rem; color: rgba(255,255,255,.7); margin-top: .4rem; letter-spacing: .03em; }

/* page hero (inner pages) */
.page-hero { position: relative; isolation: isolate; color: #fff; overflow: hidden; background: var(--ink-2); }
.page-hero__media { position: absolute; inset: 0; z-index: -2; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(12,16,24,.9), rgba(12,16,24,.55)); }
.page-hero__inner { padding: clamp(3.25rem, 8vw, 6rem) 0; max-width: 780px; }
.page-hero h1 { color: #fff; margin-bottom: .75rem; }
.page-hero p { color: rgba(255,255,255,.82); font-size: clamp(1rem, 1.6vw, 1.2rem); max-width: 60ch; }

.breadcrumbs { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; font-size: .84rem; margin-bottom: 1.1rem; color: rgba(255,255,255,.65); }
.breadcrumbs a { color: rgba(255,255,255,.85); }
.breadcrumbs a:hover { color: #fff; }
.breadcrumbs span[aria-hidden] { opacity: .45; }

/* ---------- USP bar ---------- */
.usp-bar { background: #fff; border-bottom: 1px solid var(--line); }
.usp-bar__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 1px; background: var(--line); }
.usp {
    background: #fff; display: flex; align-items: center; gap: .95rem;
    padding: 1.6rem clamp(1rem, 2vw, 1.75rem);
}
.usp__icon {
    flex-shrink: 0; width: 46px; height: 46px; border-radius: 14px;
    display: grid; place-items: center; background: var(--brand-soft); color: var(--brand);
}
.usp__body { min-width: 0; }
.usp__title { display: block; font-family: var(--font-display); font-weight: 700; color: var(--ink); font-size: .98rem; line-height: 1.3; }
.usp__text { display: block; font-size: .84rem; color: var(--muted); line-height: 1.45; margin-top: .1rem; }
.usp--boxed { border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; }

/* ---------- cards ---------- */
.card {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
    overflow: hidden; box-shadow: var(--shadow-sm);
    transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
    display: flex; flex-direction: column; height: 100%;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }

.product-card { position: relative; }
.product-card__media { position: relative; aspect-ratio: 4 / 3; background: var(--surface-2); overflow: hidden; }
.product-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.product-card:hover .product-card__media img { transform: scale(1.06); }
.product-card__body { padding: 1.35rem 1.4rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.product-card__title {
    font-size: 1.1rem; font-weight: 700; margin-bottom: .6rem; line-height: 1.3;
    /* Two lines reserved so the chips and the price line up across the row. */
    min-height: calc(2 * 1.3em);
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.product-card__title a { color: var(--ink); }
.product-card__title a::after { content: ''; position: absolute; inset: 0; }
.product-card:hover .product-card__title a { color: var(--brand); }
.product-card__meta {
    display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: .9rem;
    /* One chip row is the norm; reserving it keeps the footers aligned. */
    min-height: 1.85rem; align-content: flex-start;
}
.product-card__foot {
    margin-top: auto; padding-top: .9rem; border-top: 1px solid var(--line);
    display: flex; align-items: center; justify-content: space-between; gap: .75rem;
}
.product-card__price {
    font-family: var(--font-display); font-weight: 800; font-size: 1.28rem; color: var(--ink);
    line-height: 1.2; white-space: nowrap;
}
.product-card__old {
    display: block; font-size: .82rem; color: var(--muted); text-decoration: line-through;
    font-weight: 500; white-space: nowrap; margin-top: .1rem;
}
.product-card__cta {
    font-family: var(--font-display); font-weight: 600; font-size: .87rem; color: var(--brand);
    display: inline-flex; align-items: center; gap: .3rem; white-space: nowrap; flex-shrink: 0;
}

.chip {
    display: inline-flex; align-items: center; gap: .3rem;
    font-size: .74rem; font-weight: 600; letter-spacing: .02em;
    padding: .25rem .6rem; border-radius: 999px;
    background: var(--surface-2); color: var(--body); border: 1px solid var(--line);
}
.chip--brand { background: var(--brand-soft); color: var(--brand-dark); border-color: rgba(227,32,71,.18); }

.badge-row {
    position: absolute; inset: .8rem .8rem auto; z-index: 2;
    display: flex; gap: .4rem; align-items: flex-start; justify-content: space-between; pointer-events: none;
}
.badge {
    font-family: var(--font-display); font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
    padding: .35rem .7rem; border-radius: 999px; color: #fff; background: var(--brand);
    box-shadow: 0 4px 12px rgba(16,22,34,.18); white-space: nowrap;
}
.badge--muted { background: rgba(18,22,31,.72); backdrop-filter: blur(4px); }
.badge--sale { background: var(--gold); color: #2b2100; }
.badge--sold { background: var(--ink); }
.badge--new  { background: var(--ok); }

.is-sold .product-card__media img { filter: grayscale(.75) opacity(.65); }

/* ---------- category tiles ---------- */
.cat-tile {
    position: relative; isolation: isolate; overflow: hidden;
    border-radius: var(--radius-lg); min-height: 300px;
    display: flex; flex-direction: column; justify-content: flex-end;
    padding: 1.75rem; color: #fff;
    transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.cat-tile:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.cat-tile img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.cat-tile:hover img { transform: scale(1.07); }
.cat-tile::after {
    content: ''; position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(to top, rgba(10,13,20,.96) 0%, rgba(10,13,20,.82) 32%, rgba(10,13,20,.45) 62%, rgba(10,13,20,.2) 100%);
}
.cat-tile h3 { color: #fff; margin-bottom: .35rem; text-shadow: 0 2px 8px rgba(10,13,20,.45); }
.cat-tile p {
    color: rgba(255,255,255,.88); font-size: .93rem; margin-bottom: 1rem;
    text-shadow: 0 1px 3px rgba(10,13,20,.5);
    /* Clamped so tiles with longer intros keep the same rhythm. */
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
    min-height: calc(3 * 1.55em);
}
/* Sits on top of photography, so it needs its own contrast – not just colour. */
.cat-tile__count {
    align-self: flex-start;
    font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 800;
    color: #fff; background: var(--brand);
    padding: .3rem .7rem; border-radius: 999px; margin-bottom: .75rem;
    box-shadow: 0 4px 14px rgba(10,13,20,.35);
}
.cat-tile__more { font-family: var(--font-display); font-weight: 700; font-size: .9rem; display: inline-flex; align-items: center; gap: .4rem; color: #fff; }
.cat-tile__more::after { content: '→'; transition: transform .3s var(--ease); }
.cat-tile:hover .cat-tile__more::after { transform: translateX(5px); }

/* ---------- feature rows ---------- */
.feature { display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: center; grid-template-columns: 1fr; }
@media (min-width: 900px) {
    .feature { grid-template-columns: 1fr 1fr; }
    .feature--right .feature__media { order: -1; }
}
.feature__media { position: relative; }
.feature__media img { border-radius: var(--radius-lg); box-shadow: var(--shadow); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.feature__media::before {
    content: ''; position: absolute; inset: auto -14px -14px 45%; aspect-ratio: 3 / 2;
    border: 3px solid var(--brand); border-radius: var(--radius-lg); z-index: -1; opacity: .25;
}
@media (max-width: 899px) { .feature__media::before { display: none; } }
.feature__body h2, .feature__body h3 { margin-bottom: .85rem; }

.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1rem; }
.gallery-grid img { border-radius: var(--radius); aspect-ratio: 4/3; object-fit: cover; width: 100%; box-shadow: var(--shadow-sm); transition: transform .4s var(--ease); }
.gallery-grid img:hover { transform: scale(1.02); }

/* ---------- filters ---------- */
.catalog { display: grid; gap: clamp(1.5rem, 3vw, 2.5rem); grid-template-columns: 1fr; align-items: start; }
@media (min-width: 1000px) { .catalog { grid-template-columns: 290px 1fr; } }

.filters {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
    padding: 1.5rem; box-shadow: var(--shadow-sm);
}
@media (min-width: 1000px) { .filters { position: sticky; top: calc(var(--header-h) + 20px); } }
.filters__group + .filters__group { margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.filters__legend { font-family: var(--font-display); font-weight: 700; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); margin-bottom: .9rem; display: block; }

.check { display: flex; align-items: center; gap: .65rem; padding: .35rem 0; cursor: pointer; font-size: .95rem; }
.check input { width: 19px; height: 19px; accent-color: var(--brand); cursor: pointer; flex-shrink: 0; }
.check__count { margin-left: auto; font-size: .78rem; color: var(--muted); }
.check:hover { color: var(--ink); }

.field { display: block; margin-bottom: 1rem; }
.field:last-child { margin-bottom: 0; }
.field__label { display: block; font-size: .85rem; font-weight: 600; color: var(--ink); margin-bottom: .4rem; }
.input, .select, .textarea {
    width: 100%; padding: .8rem 1rem; border: 1px solid var(--line); border-radius: var(--radius-sm);
    background: #fff; transition: border-color .2s, box-shadow .2s; font-size: .96rem;
}
.input:focus, .select:focus, .textarea:focus {
    outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(227,32,71,.1);
}
.textarea { min-height: 140px; resize: vertical; }
.select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%237b8698' d='M1.4 0 6 4.6 10.6 0 12 1.4 6 7.4 0 1.4z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.5rem; }
.price-inputs { display: grid; grid-template-columns: 1fr auto 1fr; gap: .5rem; align-items: center; }
.price-inputs span { color: var(--muted); }

.filters__toggle { display: none; }
.catalog__head { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between; margin-bottom: 1.5rem; }
.catalog__count { font-size: .93rem; color: var(--muted); }
.catalog__count strong { color: var(--ink); }
.active-filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.25rem; }
.active-filters a.chip { cursor: pointer; }
.active-filters a.chip:hover { background: var(--brand); color: #fff; border-color: var(--brand); }

.empty-state { text-align: center; padding: clamp(3rem, 8vw, 5rem) 1.5rem; background: var(--surface-2); border-radius: var(--radius-lg); }
.empty-state h3 { margin-bottom: .5rem; }

/* pagination */
.pagination { display: flex; flex-wrap: wrap; gap: .4rem; justify-content: center; margin-top: 3rem; list-style: none; padding: 0; }
.pagination a, .pagination span {
    display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 .75rem;
    border-radius: 12px; border: 1px solid var(--line); background: #fff;
    font-family: var(--font-display); font-weight: 600; font-size: .93rem; color: var(--ink);
}
.pagination a:hover { border-color: var(--brand); color: var(--brand); background: var(--brand-soft); }
.pagination .is-current { background: var(--brand); border-color: var(--brand); color: #fff; }
.pagination .is-disabled { opacity: .4; }

/* ---------- product detail ---------- */
.product-detail { display: grid; gap: clamp(2rem, 4vw, 3.5rem); grid-template-columns: 1fr; align-items: start; }
@media (min-width: 940px) { .product-detail { grid-template-columns: minmax(0, 1.15fr) minmax(340px, .85fr); } }

.product-gallery__main {
    position: relative; border-radius: var(--radius-lg); overflow: hidden;
    background: var(--surface-2); aspect-ratio: 4 / 3; box-shadow: var(--shadow-sm);
}
.product-gallery__main img { width: 100%; height: 100%; object-fit: cover; }
.product-gallery__thumbs { display: flex; gap: .65rem; margin-top: .8rem; flex-wrap: wrap; }
.product-gallery__thumbs button {
    width: 84px; aspect-ratio: 1; padding: 0; border-radius: 12px; overflow: hidden;
    border: 2px solid transparent; background: var(--surface-2); cursor: pointer; transition: border-color .2s;
}
.product-gallery__thumbs button img { width: 100%; height: 100%; object-fit: cover; }
.product-gallery__thumbs button[aria-current="true"] { border-color: var(--brand); }

.product-aside {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
    padding: clamp(1.5rem, 3vw, 2rem); box-shadow: var(--shadow-sm);
}
@media (min-width: 940px) { .product-aside { position: sticky; top: calc(var(--header-h) + 20px); } }
.product-price { font-family: var(--font-display); font-weight: 800; font-size: clamp(2rem, 4vw, 2.75rem); color: var(--ink); line-height: 1; }
.product-price__old { font-size: 1.1rem; color: var(--muted); text-decoration: line-through; font-weight: 500; margin-left: .6rem; }
.product-price__note { font-size: .85rem; color: var(--muted); margin-top: .4rem; }

.spec-list { list-style: none; margin: 1.5rem 0; padding: 0; border-top: 1px solid var(--line); }
.spec-list li { display: flex; justify-content: space-between; gap: 1rem; padding: .8rem 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.spec-list dt, .spec-list .k { color: var(--muted); }
.spec-list .v { font-weight: 600; color: var(--ink); text-align: right; }

.prose { color: var(--body); }
.prose h2, .prose h3, .prose h4 { margin-top: 1.8em; }
.prose h2:first-child, .prose h3:first-child, .prose h4:first-child, .prose p:first-child { margin-top: 0; }
.prose ul { padding-left: 1.25em; }
.prose li { margin-bottom: .4em; }
.prose img { border-radius: var(--radius); margin: 1.5rem 0; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; }
.prose th, .prose td { text-align: left; padding: .7rem .85rem; border-bottom: 1px solid var(--line); }

/* ---------- reviews ---------- */
.review-card {
    background: #fff; border-radius: var(--radius-lg); padding: 1.75rem;
    border: 1px solid var(--line); height: 100%; display: flex; flex-direction: column; gap: 1rem;
}
.section--ink .review-card { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.1); color: rgba(255,255,255,.82); }
.review-card__head { display: flex; align-items: center; justify-content: space-between; gap: .75rem; }
.stars { display: inline-flex; gap: .15rem; color: var(--gold); }
.stars svg { fill: currentColor; }
.review-card__badge {
    font-size: .68rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
    padding: .2rem .5rem; border-radius: 999px;
    background: rgba(255,255,255,.12); color: rgba(255,255,255,.75);
}
.section--ink .review-card__badge { background: rgba(255,255,255,.12); color: rgba(255,255,255,.8); }
.review-card__author a { color: inherit; }
.review-card__author a:hover { color: var(--accent); }
.review-card__body { flex: 1; font-size: 1rem; line-height: 1.65; }
.review-card__author { font-family: var(--font-display); font-weight: 700; color: var(--ink); display: flex; align-items: center; gap: .65rem; }
.section--ink .review-card__author { color: #fff; }
.review-card__avatar {
    width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
    background: var(--brand); color: #fff; font-weight: 700; font-size: .95rem; flex-shrink: 0;
    object-fit: cover; overflow: hidden;
}

.rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(300px, 1fr); gap: 1.25rem; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 1rem; scrollbar-width: thin; }
.rail > * { scroll-snap-align: start; }
.rail::-webkit-scrollbar { height: 6px; }
.rail::-webkit-scrollbar-thumb { background: var(--line); border-radius: 999px; }
@media (min-width: 900px) { .rail { grid-auto-columns: minmax(340px, 1fr); } }

/* ---------- brands ---------- */
.brand-strip { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 1rem; align-items: center; }
.brand-strip__item {
    display: grid; place-items: center; padding: 1.25rem 1rem; background: #fff;
    border: 1px solid var(--line); border-radius: var(--radius); min-height: 96px;
    transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.brand-strip__item:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.brand-strip__item img { max-height: 46px; width: auto; object-fit: contain; filter: grayscale(1); opacity: .65; transition: filter .3s, opacity .3s; }
.brand-strip__item:hover img { filter: none; opacity: 1; }

/* ---------- forms / alerts ---------- */
.mini-card {
    display: flex; align-items: center; gap: 1rem; padding: .9rem;
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    box-shadow: var(--shadow-sm); margin-top: 1.5rem;
}
.mini-card img { width: 96px; height: 76px; object-fit: cover; border-radius: 10px; flex-shrink: 0; }
.mini-card strong { display: block; color: var(--ink); }

.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.5rem, 3vw, 2.5rem); box-shadow: var(--shadow-sm); }
.form-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.form-grid .field--full { grid-column: 1 / -1; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.alert { padding: 1rem 1.25rem; border-radius: var(--radius-sm); margin-bottom: 1.5rem; font-size: .95rem; border: 1px solid transparent; }
.alert--success { background: #eefaf3; color: #0d6b48; border-color: #bfe8d5; }
.alert--error   { background: #fdeef1; color: #a3122f; border-color: #f7c9d3; }
.alert--info    { background: #eef4fd; color: #1c4e91; border-color: #cadcf7; }

/* ---------- lease ---------- */
.lease-frame { border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: #fff; box-shadow: var(--shadow-sm); }
.lease-frame iframe { display: block; width: 100%; min-height: 880px; border: 0; }

/* ---------- contact ---------- */
.contact-grid { display: grid; gap: clamp(1.5rem, 4vw, 3rem); grid-template-columns: 1fr; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); } }
.info-list { list-style: none; margin: 0; padding: 0; }
.info-list li { display: flex; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.info-list li:last-child { border-bottom: 0; }
.info-list__icon { flex-shrink: 0; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); }
.info-list li > span:last-child { min-width: 0; }
.info-list__label { display: block; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.info-list__value { display: block; font-weight: 600; color: var(--ink); }

.hours-table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.hours-table td { padding: .55rem 0; border-bottom: 1px solid var(--line); }
.hours-table td:last-child { text-align: right; font-weight: 600; color: var(--ink); }
.hours-table tr.is-today td { color: var(--brand); }
.hours-table tr.is-today td:last-child { color: var(--brand); }

.map-embed { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.map-embed iframe { display: block; width: 100%; height: 380px; border: 0; }

/* ---------- CTA band ---------- */
.cta-band {
    position: relative; isolation: isolate; overflow: hidden;
    background: var(--ink-2); color: #fff; border-radius: var(--radius-xl);
    padding: clamp(2.5rem, 6vw, 4.5rem);
    display: grid; gap: 2rem; align-items: center;
}
@media (min-width: 860px) { .cta-band { grid-template-columns: 1.4fr auto; } }
.cta-band::before {
    content: ''; position: absolute; z-index: -1; width: 420px; height: 420px; border-radius: 50%;
    background: radial-gradient(circle, rgba(227,32,71,.35), transparent 70%);
    top: -140px; right: -80px;
}
.cta-band h2 { color: #fff; margin-bottom: .6rem; }
.cta-band p { color: rgba(255,255,255,.75); margin: 0; }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: rgba(255,255,255,.65); padding-top: clamp(3rem, 7vw, 5rem); }
.site-footer h4 { color: #fff; font-size: .85rem; letter-spacing: .13em; text-transform: uppercase; margin-bottom: 1.25rem; }
.site-footer a { color: rgba(255,255,255,.72); }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; gap: clamp(2rem, 4vw, 3rem); grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); padding-bottom: 3rem; }
.footer-list { list-style: none; margin: 0; padding: 0; }
.footer-list li { margin-bottom: .6rem; }
.footer-brand img { height: 62px; width: auto; border-radius: 10px; margin-bottom: 1.1rem; }
.footer-hours { width: 100%; border-collapse: collapse; font-size: .92rem; }
.footer-hours td { padding: .35rem 0; }
.footer-hours td:last-child { text-align: right; color: rgba(255,255,255,.85); }
.footer-hours tr.is-today td { color: var(--accent); }
.footer-socials { display: flex; gap: .6rem; margin-top: 1.25rem; }
.footer-socials a { width: 40px; height: 40px; border-radius: 12px; background: rgba(255,255,255,.08); display: grid; place-items: center; transition: background .25s, transform .25s var(--ease); }
.footer-socials a:hover { background: var(--brand); transform: translateY(-2px); }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.1); padding: 1.5rem 0;
    display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; justify-content: space-between; align-items: center;
    font-size: .85rem;
}
.footer-bottom__credit { display: inline-flex; align-items: center; gap: .35rem; }
.footer-bottom__credit .heart { color: var(--brand); }

/* ---------- mobile sticky call bar ---------- */
.mobile-cta {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
    display: none; gap: 1px; background: var(--line);
    box-shadow: 0 -4px 20px rgba(16,22,34,.12);
}
.mobile-cta a {
    flex: 1; background: #fff; padding: .9rem .5rem; text-align: center;
    font-family: var(--font-display); font-weight: 700; font-size: .85rem; color: var(--ink);
    display: flex; flex-direction: column; align-items: center; gap: .2rem;
}
.mobile-cta a.is-primary { background: var(--brand); color: #fff; }

/* ---------- utilities ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.mt-2 { margin-top: 2rem; } .mb-2 { margin-bottom: 2rem; }
.muted { color: var(--muted); }
.small { font-size: .88rem; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
    :root { --header-h: 72px; }

    .nav-toggle { display: inline-flex; }
    .nav__phone span { display: none; }
    /* The header CTA lives in the fixed bottom bar on small screens. */
    .nav__actions .btn { display: none; }
    .brand img { height: 46px; }

    /* backdrop-filter makes the header a containing block for fixed children,
       which would trap the slide-in menu inside the header. Drop it here. */
    .site-header { backdrop-filter: none; background: #fff; }

    .nav__menu {
        position: fixed; inset: var(--header-h) 0 0 auto; width: min(360px, 88vw);
        background: #fff; flex-direction: column; align-items: stretch; gap: 0;
        padding: 1.25rem; overflow-y: auto; box-shadow: var(--shadow-lg);
        transform: translateX(105%); transition: transform .35s var(--ease);
        border-left: 1px solid var(--line);
    }
    body.nav-open .nav__menu { transform: translateX(0); }
    .nav__menu { z-index: 101; }
    body.nav-open { overflow: hidden; }
    .nav__link { padding: .95rem .75rem; font-size: 1.05rem; border-radius: var(--radius-sm); }
    .nav__item--has-children > .nav__link::after { float: right; margin-top: .5rem; }
    .nav__sub {
        position: static; opacity: 1; visibility: visible; transform: none;
        box-shadow: none; border: 0; border-left: 2px solid var(--line);
        border-radius: 0; margin: 0 0 .5rem .75rem; padding: 0 0 0 .5rem;
    }
    .nav__backdrop {
        position: fixed; inset: 0; background: rgba(12,16,24,.5); opacity: 0; visibility: hidden;
        transition: opacity .3s; z-index: 99;
    }
    body.nav-open .nav__backdrop { opacity: 1; visibility: visible; }
}

@media (max-width: 999px) {
    .filters__toggle { display: inline-flex; }
    .filters {
        display: none; position: fixed; inset: 0; z-index: 120; border-radius: 0;
        overflow-y: auto; padding: 1.5rem 1.5rem 6rem;
    }
    .filters.is-open { display: block; }
    .filters__close { display: flex !important; }
}
.filters__close { display: none; align-items: center; justify-content: space-between; margin-bottom: 1.25rem; }
.filters__close button { background: none; border: 0; font-size: 1.5rem; cursor: pointer; line-height: 1; color: var(--muted); }

@media (max-width: 768px) {
    body { font-size: 16px; padding-bottom: 64px; }
    .nav__phone { display: none; }
    .brand img { height: 40px; }
    .hero__media img { object-position: center center; }
    .topbar__items > *:not(.status-dot):not(.topbar__socials) { display: none; }
    .topbar__divider { display: none; }
    .mobile-cta { display: flex; }
    .hero__inner { padding-top: 3.5rem; }
    .cta-band { border-radius: var(--radius-lg); }
    .product-gallery__thumbs button { width: 64px; }
    .footer-bottom { justify-content: center; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
    .reveal { opacity: 1; transform: none; }
}

@media print {
    .site-header, .site-footer, .mobile-cta, .filters, .btn { display: none !important; }
    body { padding: 0; }
}
