/* =============================================================
   J Hawes Ltd — editorial premium
   Palette:  #0b0b0c (ink) · #ffffff (paper) · #f5b800 (accent)
   ============================================================= */

:root {
    --ink: #0b0b0c;
    --ink-2: #1a1a1c;
    --body: #3a3a3d;
    --muted: #7a7a7f;
    --line: #e7e5e1;
    --line-2: #f1efeb;
    --paper: #ffffff;
    --paper-2: #faf8f4;
    --accent: #f5b800;
    --accent-ink: #0b0b0c;
    --danger: #8a1d1d;
    --ok: #157347;
    --max: 1280px;
    --r-sharp: 0px;
    --r: 2px;
    --ease: cubic-bezier(.2,.7,.2,1);
}

* { box-sizing: border-box; }
html, body { margin: 0; }
html { scroll-behavior: smooth; }
body {
    color: var(--body);
    background: var(--paper);
    font: 16px/1.6 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    font-feature-settings: "ss01", "cv11";
}

img { max-width: 100%; display: block; }
a { color: var(--ink); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--ink); }

h1, h2, h3, h4 {
    color: var(--ink);
    font-weight: 800;
    line-height: 1.04;
    letter-spacing: -0.028em;
    margin: 0 0 .6em;
}
h1 { font-size: clamp(2.5rem, 5.5vw, 5rem); font-weight: 900; letter-spacing: -0.04em; }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.75rem); }
h3 { font-size: 1.15rem; letter-spacing: -0.015em; }
p  { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: clamp(1.25rem, 4vw, 2.25rem); }
.eyebrow {
    display: inline-block;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--ink);
    margin-bottom: 1rem;
    padding-left: 42px;
    position: relative;
}
.eyebrow:before {
    content: ""; position: absolute; left: 0; top: 50%;
    width: 30px; height: 2px; background: var(--accent);
    transform: translateY(-50%);
}
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 1rem; top: 1rem; background: var(--accent); padding: .5rem 1rem; z-index: 100; }

/* -------------------------------------------------------------
   Top bar — thin black strip with contact
   ------------------------------------------------------------- */
.topbar {
    background: var(--ink);
    color: #cfcdc8;
    font-size: .78rem;
    letter-spacing: .02em;
    border-bottom: 1px solid rgba(255,255,255,.06);
}
.topbar__row {
    display: flex; justify-content: space-between; align-items: center;
    min-height: 36px; gap: 1.5rem; flex-wrap: wrap;
}
.topbar__tag { text-transform: uppercase; letter-spacing: .16em; font-weight: 600; color: #fff; }
.topbar__links { display: flex; gap: 1.5rem; }
.topbar a { color: #cfcdc8; display: inline-flex; align-items: center; gap: .45rem; }
.topbar a:hover { color: var(--accent); }
.topbar svg { width: 13px; height: 13px; }

/* -------------------------------------------------------------
   Site header
   ------------------------------------------------------------- */
.site-header {
    background: #fff;
    border-bottom: 1px solid var(--line);
    position: sticky; top: 0; z-index: 30;
}
.site-header__row {
    display: flex; align-items: center; justify-content: space-between;
    min-height: 88px; gap: 1rem;
}
.brand { display: inline-flex; align-items: center; }
.brand img, .brand svg { height: 44px; width: auto; }
@media (max-width: 640px) { .brand img, .brand svg { height: 36px; } }

.primary-nav ul { list-style: none; display: flex; gap: 2.25rem; margin: 0; padding: 0; align-items: center; }
.primary-nav a {
    font-size: .82rem;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--ink);
    padding: .5rem 0;
    position: relative;
}
.primary-nav > ul > li > a:after {
    content: ""; position: absolute; left: 0; right: 100%; bottom: -2px;
    height: 2px; background: var(--accent);
    transition: right .25s var(--ease);
}
.primary-nav > ul > li:hover > a:after,
.primary-nav > ul > li:focus-within > a:after { right: 0; }

.primary-nav .has-sub { position: relative; }
.primary-nav .has-sub > ul {
    position: absolute; top: 100%; left: -1rem; min-width: 260px;
    background: #fff; border: 1px solid var(--line);
    padding: .5rem; flex-direction: column; gap: 0; align-items: stretch;
    opacity: 0; pointer-events: none; transform: translateY(4px);
    transition: all .18s var(--ease);
    box-shadow: 0 20px 40px -20px rgba(11,11,12,.18);
}
.primary-nav .has-sub:hover > ul,
.primary-nav .has-sub:focus-within > ul { opacity: 1; pointer-events: auto; transform: none; }
.primary-nav .has-sub > ul a {
    padding: .7rem .95rem;
    display: block;
    letter-spacing: .05em;
    font-size: .82rem;
    text-transform: none;
    font-weight: 500;
}
.primary-nav .has-sub > ul a:hover { background: var(--paper-2); }

.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; padding: 10px; cursor: pointer; }
.nav-toggle span { display: block; height: 2px; background: var(--ink); margin: 5px 0; transition: transform .25s var(--ease), opacity .2s var(--ease); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 900px) {
    .nav-toggle { display: block; }
    .primary-nav {
        position: absolute; top: 100%; left: 0; right: 0;
        background: #fff; border-bottom: 1px solid var(--line);
        max-height: 0; overflow: hidden; transition: max-height .3s var(--ease);
    }
    .primary-nav.open { max-height: 80vh; overflow: auto; }
    .primary-nav ul { flex-direction: column; gap: 0; padding: .75rem 1.5rem 1.5rem; align-items: stretch; }
    .primary-nav a { display: block; padding: 1rem 0; border-bottom: 1px solid var(--line-2); }
    .primary-nav .has-sub > ul {
        position: static; opacity: 1; pointer-events: auto; transform: none;
        box-shadow: none; border: 0; padding: 0 0 .5rem 1rem;
    }
}

/* -------------------------------------------------------------
   Nav CTA (the "Get valuation" link) + WhatsApp float
   ------------------------------------------------------------- */
.primary-nav a.nav-cta {
    background: var(--ink); color: #fff;
    padding: .7rem 1rem;
    border-radius: var(--r);
}
.primary-nav a.nav-cta:hover { background: var(--accent); color: var(--ink); }
.primary-nav a.nav-cta:after { display: none !important; }

.wa-float {
    position: fixed; top: 120px; right: 20px;
    z-index: 60;
    display: inline-flex; align-items: center; gap: .55rem;
    background: #25D366; color: #fff;
    padding: .7rem .95rem .7rem .8rem;
    border-radius: 999px;
    font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
    box-shadow: 0 12px 28px -8px rgba(37, 211, 102, .5), 0 2px 6px rgba(0,0,0,.15);
    transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease);
}
.wa-float:hover {
    color: #fff; background: #1ebe58;
    transform: translateY(-2px);
    box-shadow: 0 18px 36px -10px rgba(37, 211, 102, .6), 0 4px 8px rgba(0,0,0,.18);
}
.wa-float svg { width: 22px; height: 22px; }
@media (max-width: 640px) {
    .wa-float { top: auto; bottom: 20px; right: 16px; padding: .65rem .75rem; }
    .wa-float span { display: none; }
    .wa-float svg { width: 24px; height: 24px; }
}

/* -------------------------------------------------------------
   Buttons
   ------------------------------------------------------------- */
.btn {
    display: inline-flex; align-items: center; gap: .65rem;
    padding: .95rem 1.6rem;
    font-size: .82rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
    border: 1px solid transparent; border-radius: var(--r);
    cursor: pointer;
    transition: background .2s var(--ease), color .2s var(--ease), transform .15s var(--ease), border-color .2s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--accent); color: var(--accent-ink); }
.btn--primary:hover { background: #111; color: var(--accent); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: var(--accent); color: var(--ink); }
.btn--outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--outline:hover { background: var(--ink); color: #fff; }
.btn--ghost { border-color: var(--line); color: var(--ink); background: #fff; }
.btn--ghost:hover { border-color: var(--ink); }
.btn--danger { background: var(--danger); color: #fff; }
.btn--danger:hover { background: #6a1515; }
.btn--sm { padding: .55rem .9rem; font-size: .7rem; letter-spacing: .12em; }
.btn .arrow { width: 16px; height: 10px; }

/* Green bordered WhatsApp button */
.btn--wa { background: transparent; border-color: #25D366; color: #25D366; }
.btn--wa:hover { background: #25D366; color: #fff; }

/* Yellow bordered accent button (matches brand) */
.btn--outline-accent { background: transparent; border-color: var(--accent); color: var(--ink); }
.btn--outline-accent:hover { background: var(--accent); color: var(--accent-ink); }

/* -------------------------------------------------------------
   Sections
   ------------------------------------------------------------- */
.section { padding: clamp(3.5rem, 7vw, 6.5rem) 0; }
.section--bordered { border-top: 1px solid var(--line); }
.section--paper { background: var(--paper-2); }
.section__head { display: flex; justify-content: space-between; align-items: end; gap: 2rem; margin-bottom: 2.5rem; flex-wrap: wrap; }
.section__head p { margin: 0; color: var(--muted); max-width: 46ch; }

/* -------------------------------------------------------------
   Hero (text + image)
   ------------------------------------------------------------- */
.hero {
    padding: clamp(3rem, 7vw, 6rem) 0 clamp(2.5rem, 5vw, 4rem);
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    position: relative; overflow: hidden;
}
.hero__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 5vw, 5rem); align-items: end; }
@media (max-width: 900px) { .hero__grid { grid-template-columns: 1fr; } }
.hero h1 { margin: 0 0 1.25rem; max-width: 14ch; }
.hero h1 em { font-style: normal; background: linear-gradient(transparent 62%, var(--accent) 62%, var(--accent) 92%, transparent 92%); padding: 0 .1em; }
.hero__lead { font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--body); max-width: 42ch; margin: 0 0 1.75rem; }
.hero__cta { display: flex; gap: .75rem; flex-wrap: wrap; }

.hero__meta {
    border-left: 1px solid var(--line);
    padding-left: clamp(1.25rem, 3vw, 2.5rem);
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.75rem 2rem;
}
.hero__meta dt {
    font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted);
    margin-bottom: .4rem; font-weight: 600;
}
.hero__meta dd { margin: 0; font-size: 1.1rem; font-weight: 600; color: var(--ink); letter-spacing: -0.01em; }
.hero__meta a { color: var(--ink); }
.hero__meta a:hover { color: var(--accent); }

.wa-inline {
    display: inline-flex; align-items: center; gap: .5rem;
    background: #25D366; color: #fff !important;
    padding: .45rem .8rem .45rem .65rem;
    border-radius: 999px;
    font-size: .8rem; font-weight: 700; letter-spacing: .06em;
    transition: background .2s var(--ease), transform .15s var(--ease);
}
.wa-inline:hover { background: #1ebe58; color: #fff !important; transform: translateY(-1px); }
.wa-inline svg { width: 16px; height: 16px; }

/* Hero with image — used on home page */
.hero--image .hero__grid { grid-template-columns: 1.05fr 1fr; align-items: stretch; gap: clamp(2rem, 5vw, 4rem); }
.hero--image .hero__text { display: flex; flex-direction: column; justify-content: center; padding-block: 1rem; }
@media (max-width: 900px) { .hero--image .hero__grid { grid-template-columns: 1fr; } .hero--image .hero__text { padding-block: 0; } }

.hero__feature {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--paper-2);
}
.hero__feature img { width: 100%; height: 100%; object-fit: contain; transition: transform .6s var(--ease); }
.hero__feature:hover img { transform: scale(1.03); }
.hero__feature-tag {
    position: absolute; top: 1.25rem; left: 1.25rem;
    background: #fff; color: var(--ink);
    font-size: .65rem; letter-spacing: .22em; text-transform: uppercase; font-weight: 700;
    padding: .45rem .7rem;
}
.hero__feature-caption {
    position: absolute; left: 0; right: 0; bottom: 0;
    padding: 1.5rem 1.5rem 1.25rem;
    background: linear-gradient(to top, rgba(11,11,12,.85), rgba(11,11,12,0));
    color: #fff;
    display: flex; justify-content: space-between; align-items: end; gap: 1rem;
}
.hero__feature-caption strong { display: block; font-size: 1.1rem; font-weight: 700; letter-spacing: -0.01em; margin-bottom: .15rem; }
.hero__feature-caption span { font-size: .78rem; color: #cfcdc8; letter-spacing: .08em; }
.hero__feature-caption .arrow { color: var(--accent); width: 22px; height: 10px; }

/* Solo image hero for sub-pages: full-bleed editorial strip below the title */
.hero__banner {
    position: relative; aspect-ratio: 24 / 7;
    background: var(--paper-2); overflow: hidden;
    margin-top: clamp(1.5rem, 3vw, 2.5rem);
}
@media (max-width: 640px) { .hero__banner { aspect-ratio: 3 / 2; } }
.hero__banner img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.9); }
.hero__banner:after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(11,11,12,0) 55%, rgba(11,11,12,.25) 100%);
}

/* -------------------------------------------------------------
   Spotlight — editorial feature of a single machine
   ------------------------------------------------------------- */
.spotlight { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: stretch; }
@media (max-width: 900px) { .spotlight { grid-template-columns: 1fr; } }
.spotlight__media { aspect-ratio: 5 / 4; overflow: hidden; background: var(--paper-2); position: relative; }
.spotlight__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.spotlight a:hover .spotlight__media img { transform: scale(1.04); }
.spotlight__body { display: flex; flex-direction: column; justify-content: center; }
.spotlight__body h3 { font-size: clamp(1.75rem, 3vw, 2.5rem); letter-spacing: -0.03em; margin-bottom: .75rem; }
.spotlight__body .spec-list { margin: 1.5rem 0; }
.spotlight__body .spec-list li { padding: .75rem 0; }
.spotlight__body .spec-list { border-top: 1px solid var(--line); }
.spotlight__tag {
    display: inline-block; font-size: .7rem; letter-spacing: .22em; text-transform: uppercase;
    color: var(--ink); margin-bottom: 1rem; font-weight: 700;
    padding-left: 42px; position: relative;
}
.spotlight__tag:before { content: ""; position: absolute; left: 0; top: 50%; width: 30px; height: 2px; background: var(--accent); transform: translateY(-50%); }

/* -------------------------------------------------------------
   Category strip — image tiles
   ------------------------------------------------------------- */
.cat-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(.75rem, 1.5vw, 1.25rem); }
@media (max-width: 800px) { .cat-strip { grid-template-columns: 1fr; } }
.cat-strip__item {
    position: relative;
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--ink);
    color: #fff;
    transition: transform .3s var(--ease);
}
.cat-strip__item:hover { transform: translateY(-3px); }
.cat-strip__item img {
    position: absolute; inset: 0;
    width: 100%; height: 100%; object-fit: cover;
    transition: transform .8s var(--ease), opacity .3s var(--ease);
    opacity: .85;
}
.cat-strip__item:hover img { transform: scale(1.05); opacity: .75; }
.cat-strip__item:after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(11,11,12,.15) 0%, rgba(11,11,12,.55) 55%, rgba(11,11,12,.9) 100%);
}
.cat-strip__body {
    position: absolute; left: 0; right: 0; bottom: 0;
    padding: clamp(1.25rem, 2.2vw, 1.75rem);
    display: flex; justify-content: space-between; align-items: end; gap: 1rem;
    color: #fff; z-index: 1;
}
.cat-strip__num { display: block; font-size: .72rem; letter-spacing: .22em; color: var(--accent); margin-bottom: .35rem; font-weight: 700; }
.cat-strip__name { font-size: clamp(1.1rem, 1.8vw, 1.4rem); font-weight: 800; color: #fff; letter-spacing: -0.02em; line-height: 1.15; display: block; }
.cat-strip__count { display: block; font-size: .78rem; color: #cfcdc8; margin-top: .35rem; letter-spacing: .08em; }
.cat-strip__arrow { color: var(--accent); }
.cat-strip__arrow svg { width: 28px; height: 14px; }

/* Plain variant (no image) for the "How we work" style list */
.cat-strip--plain { gap: 0; border: 1px solid var(--line); border-right: 0; border-bottom: 0; }
.cat-strip--plain .cat-strip__item {
    aspect-ratio: auto;
    padding: 2.25rem clamp(1.25rem, 2.5vw, 2rem);
    border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
    display: flex; justify-content: space-between; align-items: center;
    background: #fff; color: var(--ink);
}
.cat-strip--plain .cat-strip__item:after { display: none; }
.cat-strip--plain .cat-strip__item:hover { background: var(--paper-2); transform: none; }
.cat-strip--plain .cat-strip__num { color: var(--muted); }
.cat-strip--plain .cat-strip__name { color: var(--ink); }
.cat-strip--plain .cat-strip__arrow { color: var(--ink); }

/* -------------------------------------------------------------
   Product grid (cards)
   ------------------------------------------------------------- */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: clamp(1rem, 2vw, 1.75rem) clamp(1rem, 2vw, 1.5rem);
}
.product-card { display: block; background: #fff; transition: transform .3s var(--ease); }
.product-card:hover { transform: translateY(-4px); }
.product-card__media {
    aspect-ratio: 4 / 3;
    background: var(--paper-2);
    position: relative; 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.04); }
.product-card__cat {
    position: absolute; top: 1rem; left: 1rem;
    background: #fff; color: var(--ink);
    font-size: .65rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 700;
    padding: .4rem .65rem;
}
.product-card__body { padding: 1.1rem .1rem 0; }
.product-card__title { font-size: 1.05rem; font-weight: 800; margin: 0 0 .35rem; letter-spacing: -0.015em; }
.product-card__meta { font-size: .85rem; color: var(--muted); display: flex; gap: 1.25rem; }
.product-card__meta span strong { color: var(--ink); font-weight: 600; margin-right: .35rem; letter-spacing: .02em; }
.product-card__price { margin-top: .6rem; font-size: 1.05rem; font-weight: 800; color: var(--ink); letter-spacing: -0.015em; }
.product-card.is-sold .product-card__price { color: var(--muted); }

/* Sold overlay */
.product-card.is-sold .product-card__media img { filter: grayscale(100%); opacity: .55; }
.product-card.is-sold .product-card__title,
.product-card.is-sold .product-card__meta { color: var(--muted); }
.product-card.is-sold .product-card__title { text-decoration: line-through; text-decoration-thickness: 1px; text-decoration-color: rgba(11,11,12,.3); }
.badge--sold-ribbon {
    position: absolute; inset: auto 0 0 0;
    background: var(--ink); color: #fff;
    text-align: center; padding: .5rem;
    font-size: .72rem; letter-spacing: .3em; text-transform: uppercase; font-weight: 700;
}

/* -------------------------------------------------------------
   Steps list (How it works)
   ------------------------------------------------------------- */
.steps {
    list-style: none; padding: 0; margin: 0;
    display: grid; grid-template-columns: 1fr; gap: 0;
    border-top: 1px solid var(--line);
}
.steps li {
    display: grid; grid-template-columns: 140px 1fr; gap: 2rem;
    padding: 2.25rem 0; border-bottom: 1px solid var(--line);
    position: relative;
}
@media (max-width: 640px) { .steps li { grid-template-columns: 1fr; gap: .5rem; padding: 1.75rem 0; } }
.steps__num {
    font-size: 2.5rem; font-weight: 800; color: var(--ink);
    letter-spacing: -0.04em; line-height: 1;
}
.steps li h3 {
    font-size: clamp(1.25rem, 2vw, 1.6rem);
    letter-spacing: -0.02em; margin-bottom: .5rem;
}
.steps li p { margin: 0; color: var(--body); max-width: 58ch; }
.steps li a { color: var(--ink); border-bottom: 2px solid var(--accent); }

/* -------------------------------------------------------------
   FAQ
   ------------------------------------------------------------- */
.faq { border-top: 1px solid var(--line); }
.faq details {
    border-bottom: 1px solid var(--line); padding: 1.25rem 0;
}
.faq summary {
    cursor: pointer; list-style: none;
    font-size: 1.05rem; font-weight: 700; color: var(--ink);
    display: flex; justify-content: space-between; align-items: center;
    padding: .25rem 0; letter-spacing: -0.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:after {
    content: "+"; font-weight: 400; font-size: 1.5rem;
    color: var(--muted); transition: transform .2s var(--ease);
}
.faq details[open] summary:after { content: "−"; color: var(--ink); }
.faq details p { margin: .85rem 0 .25rem; color: var(--body); max-width: 64ch; }

/* -------------------------------------------------------------
   Breadcrumbs
   ------------------------------------------------------------- */
.crumbs { font-size: .75rem; color: var(--muted); margin: 2rem 0 1rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--ink); }
.crumbs span { margin: 0 .6rem; color: var(--line); }

/* -------------------------------------------------------------
   Product detail
   ------------------------------------------------------------- */
.product {
    display: grid; gap: clamp(2rem, 4vw, 4rem);
    grid-template-columns: 1.3fr 1fr;
    padding-bottom: 4rem;
}
@media (max-width: 960px) { .product { grid-template-columns: 1fr; } }

.gallery__main {
    aspect-ratio: 4 / 3; background: var(--paper-2); overflow: hidden; position: relative;
}
.gallery__main img { width: 100%; height: 100%; object-fit: cover; }
.gallery__main.is-sold img { filter: grayscale(100%); opacity: .6; }
.gallery__main .sold-tag {
    position: absolute; top: 1.25rem; left: 1.25rem;
    background: var(--ink); color: #fff;
    font-size: .72rem; letter-spacing: .3em; text-transform: uppercase; font-weight: 700;
    padding: .5rem .8rem;
}
.gallery__thumbs { display: grid; grid-template-columns: repeat(6, 1fr); gap: .5rem; margin-top: .5rem; }
@media (max-width: 600px) { .gallery__thumbs { grid-template-columns: repeat(4, 1fr); } }
.gallery__thumb {
    aspect-ratio: 1; background: var(--paper-2); overflow: hidden;
    border: 1px solid var(--line); cursor: pointer; padding: 0;
    transition: border-color .2s var(--ease);
}
.gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery__thumb.is-active { border-color: var(--ink); }

.product__info .category-tag {
    display: inline-block; font-size: .7rem; letter-spacing: .22em; text-transform: uppercase;
    color: var(--ink); margin-bottom: 1rem; font-weight: 700;
    padding-left: 42px; position: relative;
}
.product__info .category-tag:before {
    content: ""; position: absolute; left: 0; top: 50%; width: 30px; height: 2px; background: var(--accent); transform: translateY(-50%);
}
.product__info h1 { font-size: clamp(1.9rem, 3.4vw, 2.75rem); margin-bottom: 1.25rem; }

.spec-list { list-style: none; padding: 0; margin: 0 0 1.75rem; border-top: 1px solid var(--line); }
.spec-list li {
    display: grid; grid-template-columns: 140px 1fr; gap: 1rem;
    padding: .95rem 0; border-bottom: 1px solid var(--line);
    font-size: .95rem;
}
.spec-list dt, .spec-list .key {
    font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); font-weight: 600; padding-top: 2px;
}
.spec-list .val { color: var(--ink); font-weight: 500; }

.product__description {
    border-top: 1px solid var(--line); padding-top: 1.5rem; margin-top: .5rem;
    font-size: 1rem; color: var(--body); line-height: 1.7;
}
.product__description h4 {
    font-size: .75rem; letter-spacing: .18em; text-transform: uppercase;
    color: var(--muted); font-weight: 700; margin: 1.5rem 0 .75rem;
}
.product__description ul { padding-left: 0; list-style: none; }
.product__description li {
    padding: .4rem 0 .4rem 1.5rem; position: relative;
}
.product__description li:before {
    content: ""; position: absolute; left: 0; top: .9em;
    width: 10px; height: 2px; background: var(--accent);
}

.product__cta { display: flex; gap: .75rem; flex-wrap: wrap; margin-top: 1rem; }

.pill {
    display: inline-block; padding: .3rem .6rem;
    font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 700;
}
.pill--avail { background: #111; color: var(--accent); }
.pill--sold { background: var(--paper-2); color: var(--muted); }
.pill--complete { background: #16a34a; color: #fff; }

/* -------------------------------------------------------------
   Listing toolbar
   ------------------------------------------------------------- */
.list-toolbar {
    display: flex; justify-content: space-between; align-items: center; gap: 1.5rem;
    flex-wrap: wrap; margin: 1rem 0 2.5rem;
    border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
    padding: .85rem 0;
}
.filter-links { display: flex; gap: 1.75rem; flex-wrap: wrap; }
.filter-links a {
    font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600;
    color: var(--muted); padding: .25rem 0; position: relative;
}
.filter-links a:after {
    content: ""; position: absolute; left: 0; right: 100%; bottom: -4px;
    height: 2px; background: var(--accent); transition: right .25s var(--ease);
}
.filter-links a:hover,
.filter-links a.is-active { color: var(--ink); }
.filter-links a:hover:after,
.filter-links a.is-active:after { right: 0; }

.search-form { display: flex; gap: .5rem; align-items: center; }
.search-form input {
    font: inherit; padding: .55rem .85rem;
    border: 1px solid var(--line); border-radius: var(--r);
    background: #fff; min-width: 220px;
}
.search-form input:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: transparent; }

/* -------------------------------------------------------------
   Contact / forms
   ------------------------------------------------------------- */
.contact { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(2rem, 5vw, 4.5rem); padding-bottom: 4rem; }
@media (max-width: 800px) { .contact { grid-template-columns: 1fr; } }

.contact__details { }
.contact__details dl { margin: 2rem 0 0; display: grid; gap: 1.5rem; }
.contact__details dt {
    font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted);
    font-weight: 600; margin-bottom: .25rem;
}
.contact__details dd { margin: 0; font-size: 1.1rem; color: var(--ink); font-weight: 500; }
.contact__details a { color: var(--ink); }
.contact__details a:hover { color: var(--ink); border-bottom: 2px solid var(--accent); }

.form { background: #fff; border: 1px solid var(--line); padding: clamp(1.5rem, 3vw, 2.5rem); }
.form label {
    display: block;
    font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 700;
    color: var(--ink); margin: 0 0 .45rem;
}
.form input, .form textarea, .form select {
    width: 100%; padding: .8rem .95rem;
    border: 1px solid var(--line); border-radius: var(--r);
    background: #fff; font: inherit; color: var(--ink);
    margin-bottom: 1.25rem;
    transition: border-color .2s var(--ease);
}
.form input:focus, .form textarea:focus, .form select:focus {
    outline: none; border-color: var(--ink);
}
.form textarea { min-height: 160px; resize: vertical; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 540px) { .form__row { grid-template-columns: 1fr; } }

.alert { padding: .9rem 1.1rem; margin-bottom: 1.25rem; border: 1px solid; border-radius: var(--r); font-size: .9rem; }
.alert--ok { border-color: #c4e2cf; background: #f4fbf6; color: var(--ok); }
.alert--err { border-color: #efc9c9; background: #fcf5f5; color: var(--danger); }

/* -------------------------------------------------------------
   Footer
   ------------------------------------------------------------- */
.site-footer { background: var(--ink); color: #cfcdc8; margin-top: 5rem; padding: 4.5rem 0 0; }
.site-footer h3, .site-footer h4 { color: #fff; }
.site-footer h4 {
    font-size: .72rem; letter-spacing: .22em; text-transform: uppercase;
    color: var(--accent); margin-bottom: 1.5rem; font-weight: 700;
}
.site-footer a { color: #cfcdc8; }
.site-footer a:hover { color: var(--accent); }
.site-footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; padding-bottom: 3.5rem; }
@media (max-width: 900px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .site-footer__grid { grid-template-columns: 1fr; } }
.site-footer__brand { max-width: 28rem; }
.site-footer__brand img, .site-footer__brand svg { height: 44px; width: auto; margin-bottom: 1.25rem; filter: invert(1); }
.site-footer p { color: #9a9894; line-height: 1.7; font-size: .95rem; }
.footer-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; font-size: .95rem; }
.site-footer__bottom {
    border-top: 1px solid rgba(255,255,255,.08);
    padding: 1.25rem 0; font-size: .78rem;
    letter-spacing: .06em;
}
.site-footer__bottom .container { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.site-footer__bottom a { text-transform: uppercase; letter-spacing: .18em; font-weight: 600; }

/* -------------------------------------------------------------
   Empty / error states
   ------------------------------------------------------------- */
.empty {
    padding: 4rem 0; text-align: center; border: 1px dashed var(--line); background: var(--paper-2);
}
.empty h3 { margin-bottom: .5rem; }

/* -------------------------------------------------------------
   Admin
   ------------------------------------------------------------- */
.admin-shell { min-height: 100vh; display: grid; grid-template-columns: 250px 1fr; background: var(--paper-2); }
@media (max-width: 900px) { .admin-shell { grid-template-columns: 1fr; } }
.admin-side { background: var(--ink); color: #fff; padding: 1.75rem 1.25rem; }
.admin-side h2 {
    font-size: .72rem; color: var(--accent); letter-spacing: .22em; text-transform: uppercase;
    margin-bottom: 1.5rem; font-weight: 700;
}
.admin-side a {
    color: #cfcdc8; display: block; padding: .7rem .9rem;
    font-size: .85rem; letter-spacing: .05em; font-weight: 500;
    border-left: 2px solid transparent;
    transition: background .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
}
.admin-side a:hover, .admin-side a.is-active {
    background: rgba(255,255,255,.04); color: #fff; border-left-color: var(--accent);
}

.admin-main { padding: clamp(1.5rem, 3vw, 2.5rem); }
.admin-main h1 { font-size: 1.75rem; margin-bottom: 1.5rem; }

.admin-toolbar {
    background: #fff; border: 1px solid var(--line);
    padding: 1rem 1.25rem; margin-bottom: 1.25rem;
    display: grid; grid-template-columns: 1fr auto; gap: .75rem 1.5rem;
    align-items: start;
}
@media (max-width: 900px) { .admin-toolbar { grid-template-columns: 1fr; } }
.admin-toolbar__group { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.admin-toolbar__label {
    font-size: .68rem; letter-spacing: .2em; text-transform: uppercase;
    color: var(--muted); font-weight: 700; min-width: 60px;
}
.admin-toolbar .filter-links { gap: .25rem .85rem; }
.admin-toolbar .filter-links a { font-size: .78rem; padding: .2rem 0; }
.admin-toolbar__search { display: flex; gap: .5rem; align-items: center; }
.admin-toolbar__search input {
    font: inherit; padding: .5rem .75rem;
    border: 1px solid var(--line); border-radius: var(--r);
    background: #fff; min-width: 240px;
}
.admin-toolbar__search input:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: transparent; }

.table {
    width: 100%; border-collapse: collapse; background: #fff;
    border: 1px solid var(--line);
}
.table th, .table td {
    text-align: left; padding: 1rem 1.1rem;
    border-bottom: 1px solid var(--line); font-size: .92rem;
    vertical-align: middle;
}
.table th {
    background: var(--paper-2);
    font-size: .7rem; letter-spacing: .18em; text-transform: uppercase;
    color: var(--muted); font-weight: 700;
}
.table tr:last-child td { border-bottom: 0; }
.table .thumb { width: 68px; height: 52px; object-fit: cover; background: var(--paper-2); }
.row-actions { display: flex; gap: .4rem; flex-wrap: wrap; }

.image-strip { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: .75rem; margin-top: .75rem; }
.image-strip figure { position: relative; margin: 0; }
.image-strip img { aspect-ratio: 1; object-fit: cover; width: 100%; background: var(--paper-2); border: 1px solid var(--line); }
.image-strip figure { position: relative; }
.image-strip button {
    position: absolute; top: 6px; right: 6px; background: var(--ink); color: #fff;
    border: 0; width: 28px; height: 28px; cursor: pointer; font-size: 16px; line-height: 1;
}
.image-strip button:hover { background: var(--danger); }

.image-strip .img-featured-btn {
    left: 6px; right: auto;
    background: rgba(11,11,12,.7); color: #fff;
    display: grid; place-items: center;
}
.image-strip .img-featured-btn:hover { background: var(--accent); color: var(--ink); }
.image-strip .img-featured-btn:disabled { background: var(--accent); color: var(--ink); cursor: default; }
.image-strip .img-featured-btn svg { width: 16px; height: 16px; }
.image-strip figure.is-featured img { outline: 3px solid var(--accent); outline-offset: -3px; }
.image-strip .img-featured-label {
    position: absolute; bottom: 6px; left: 6px;
    background: var(--accent); color: var(--ink);
    font-size: .6rem; letter-spacing: .15em; text-transform: uppercase; font-weight: 700;
    padding: .2rem .45rem;
}

.login-wrap { min-height: 100vh; display: grid; place-items: center; background: var(--paper-2); padding: 1rem; }
.login-card { max-width: 400px; width: 100%; background: #fff; padding: 2.25rem; border: 1px solid var(--line); }
.login-card h1 { font-size: 1.5rem; margin-bottom: 1.5rem; }

/* -------------------------------------------------------------
   Thank-you modal (valuation / contact submission)
   ------------------------------------------------------------- */
.thanks-modal {
    border: 0; padding: 0;
    width: min(460px, 92vw);
    background: #fff;
    box-shadow: 0 30px 80px -20px rgba(0,0,0,.35);
    animation: thanksIn .25s var(--ease);
}
.thanks-modal::backdrop {
    background: rgba(11,11,12,.55);
    backdrop-filter: blur(3px);
    animation: thanksFade .25s var(--ease);
}
.thanks-modal__body { padding: 2.25rem 2rem 2rem; text-align: center; }
.thanks-modal__tick {
    display: inline-grid; place-items: center;
    width: 64px; height: 64px;
    border-radius: 50%;
    background: var(--accent); color: var(--ink);
    margin-bottom: 1.25rem;
}
.thanks-modal__tick svg { width: 32px; height: 32px; }
.thanks-modal h2 { margin: 0 0 .75rem; font-size: 1.5rem; letter-spacing: -0.02em; }
.thanks-modal p { margin: 0 0 .5rem; color: var(--body); }
@keyframes thanksIn  { from { opacity: 0; transform: translateY(10px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes thanksFade { from { opacity: 0; } to { opacity: 1; } }

/* WhatsApp valuation modal */
.wa-modal { border: 0; padding: 0; width: min(560px, 94vw); background: #fff; box-shadow: 0 30px 80px -20px rgba(0,0,0,.35); animation: thanksIn .25s var(--ease); }
.wa-modal::backdrop { background: rgba(11,11,12,.55); backdrop-filter: blur(3px); animation: thanksFade .25s var(--ease); }
.wa-modal__body { padding: 1.75rem 1.75rem 1.5rem; }
.wa-modal__head { display: flex; gap: 1rem; align-items: center; margin-bottom: 1.25rem; }
.wa-modal__head h2 { margin: 0 0 .15rem; font-size: 1.25rem; letter-spacing: -0.02em; }
.wa-modal__icon { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #25D366; color: #fff; flex-shrink: 0; }
.wa-modal__icon svg { width: 22px; height: 22px; }
.wa-modal label { display: block; font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 700; color: var(--ink); margin: 0 0 .35rem; }
.wa-modal input, .wa-modal textarea { width: 100%; padding: .65rem .8rem; border: 1px solid var(--line); border-radius: var(--r); font: inherit; color: var(--ink); margin-bottom: .9rem; background: #fff; }
.wa-modal input:focus, .wa-modal textarea:focus { outline: none; border-color: var(--ink); }
.wa-modal .form__row { gap: .75rem; }
