:root {
  --primary: #121A2B; --primary-soft: #1D2842;
  --accent: #D9A521; --accent-dark: #B4831A; --accent-tint: #F6EDD8; --gold-hair: rgba(217,165,33,.45);
  --bg: #FDFCFA; --bg-alt: #F5F1EA; --fg: #121A2B; --muted: #5A6472; --border: #E4DFD5; --card: #fff;
  --radius: 12px; --font-display: 'Merriweather', Georgia, serif; --font-body: 'Inter', system-ui, sans-serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: var(--font-body); color: var(--fg); background: var(--bg); line-height: 1.6; -webkit-font-smoothing: antialiased; padding-bottom: 74px; }
@media(min-width:768px) { body { padding-bottom: 0; } }
a { color: inherit; }
img { display: block; max-width: 100%; }
:where(a, button):focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.btn { display: inline-block; padding: .7rem 1.3rem; border-radius: 8px; font-weight: 600; font-size: .9rem; text-decoration: none; text-align: center; transition: background .2s; }
.btn-accent { background: var(--accent); color: var(--primary); box-shadow: inset 0 -2px 0 rgba(0,0,0,.14); }
.btn-accent:hover { background: var(--accent-dark); }
.btn-block { display: block; width: 100%; }

/* header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--primary); border-bottom: 1px solid var(--gold-hair); }
.header-inner { max-width: 1200px; margin: 0 auto; height: 64px; padding: 0 1rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.header-logo { font-family: var(--font-display); font-weight: 700; color: #fff; text-decoration: none; font-size: 1.02rem; }
.header-nav { display: flex; align-items: center; gap: 1rem; }
.header-nav a:not(.btn) { color: rgba(255,255,255,.82); text-decoration: none; font-size: .88rem; font-weight: 600; }
.header-nav a[aria-current] { color: var(--accent); }
.header-nav .btn { display: none; }
@media(min-width:768px) { .header-inner { height: 74px; padding: 0 2rem; } .header-logo { font-size: 1.2rem; } .header-nav { gap: 1.6rem; } .header-nav .btn { display: inline-block; } }

/* layout */
.wrap { max-width: 1200px; margin: 0 auto; padding: 1.1rem 1rem 3rem; }
@media(min-width:768px) { .wrap { padding: 1.5rem 2rem 5rem; } }
.crumbs { font-size: .8rem; color: var(--muted); margin-bottom: 1.2rem; }
.crumbs a { text-decoration: none; color: var(--muted); } .crumbs a:hover { color: var(--accent-dark); }
.crumbs span { margin: 0 .35rem; opacity: .5; }
.eyebrow { font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .2em; color: var(--accent-dark); margin-bottom: .5rem; }
.page-title { font-family: var(--font-display); font-weight: 900; font-size: clamp(1.6rem,4.5vw,2.4rem); line-height: 1.15; letter-spacing: -.015em; }
.page-head { margin-bottom: 1.4rem; }
.sec-title { font-family: var(--font-display); font-weight: 900; font-size: 1.35rem; margin-bottom: 1rem; }
.muted { color: var(--muted); }

/* filters + chips */
.filters { background: var(--bg-alt); border: 1px solid var(--border); border-radius: var(--radius); padding: 1rem; margin-bottom: 1.5rem; display: grid; gap: .9rem; }
@media(min-width:768px) { .filters { padding: 1.3rem 1.5rem; } }
.filter-label { display: block; font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); margin-bottom: .45rem; }
.filter-label .opt-sel { text-transform: none; letter-spacing: 0; color: var(--fg); font-weight: 600; }
.chip-row { display: flex; flex-wrap: wrap; gap: .45rem; }
.chip { font: inherit; font-size: .84rem; font-weight: 500; padding: .45rem .85rem; min-height: 38px; border-radius: 999px; border: 1px solid var(--border); background: var(--card); color: var(--fg); cursor: pointer; transition: border-color .2s, background .2s; }
.chip:hover { border-color: var(--accent); }
.chip[aria-pressed="true"] { background: var(--primary); border-color: var(--primary); color: #fff; }
.filter-foot { display: flex; justify-content: space-between; align-items: center; font-size: .85rem; color: var(--muted); border-top: 1px solid var(--border); padding-top: .8rem; }
.link-btn { font: inherit; font-size: .85rem; background: none; border: 0; color: var(--accent-dark); font-weight: 600; cursor: pointer; text-decoration: underline; }

/* grid + cards */
.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .75rem; }
@media(min-width:640px) { .grid { grid-template-columns: repeat(3, 1fr); gap: 1rem; } }
@media(min-width:1024px) { .grid { grid-template-columns: repeat(4, 1fr); gap: 1.25rem; } }
.card { display: block; text-decoration: none; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: border-color .2s, transform .2s; }
.card:hover { border-color: var(--gold-hair); transform: translateY(-2px); }
.card[hidden] { display: none; }
.card-img { aspect-ratio: 1; background: var(--bg-alt); overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: .75rem .85rem .9rem; }
.card-name { font-family: var(--font-display); font-size: .92rem; font-weight: 700; line-height: 1.3; }
.card-code { font-size: .72rem; color: var(--muted); letter-spacing: .04em; margin-top: .2rem; word-break: break-word; }
.empty { text-align: center; color: var(--muted); padding: 2rem 0; }

/* product */
.product { display: grid; gap: 1.5rem; margin-bottom: 2rem; }
@media(min-width:900px) { .product { grid-template-columns: 1.1fr 1fr; gap: 3rem; align-items: start; } }
.main-img { aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; background: var(--bg-alt); border: 1px solid var(--border); }
.main-img img { width: 100%; height: 100%; object-fit: cover; }
.thumbs { display: flex; gap: .5rem; margin-top: .6rem; overflow-x: auto; }
.thumb { flex: 0 0 68px; height: 68px; border-radius: 8px; overflow: hidden; border: 2px solid transparent; padding: 0; background: none; cursor: pointer; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb.is-active { border-color: var(--accent); }
.code { color: var(--muted); font-size: .85rem; letter-spacing: .04em; margin: .4rem 0 1.2rem; }
.opt-intro { font-size: .86rem; color: var(--muted); margin-bottom: 1rem; }
.opt-group { margin-bottom: 1.1rem; }
.enquire { margin-top: 1.4rem; }

/* tabs */
.tabs { border-top: 1px solid var(--border); padding-top: .5rem; margin-bottom: 2.5rem; }
.tablist { display: flex; gap: .2rem; overflow-x: auto; border-bottom: 1px solid var(--border); scrollbar-width: none; }
.tablist::-webkit-scrollbar { display: none; }
[role=tab] { font: inherit; font-size: .88rem; font-weight: 600; white-space: nowrap; background: none; border: 0; border-bottom: 2px solid transparent; padding: .8rem .9rem; color: var(--muted); cursor: pointer; }
[role=tab][aria-selected="true"] { color: var(--fg); border-bottom-color: var(--accent); }
@media(max-width:479px) { [role=tab] { font-size: .8rem; padding: .75rem .5rem; } }
.panel { padding: 1.3rem 0; max-width: 760px; font-size: .95rem; }
.panel p + p, .panel p + ul, .panel ul + p, .rich div + div { margin-top: .6rem; }
.rich ul { padding-left: 1.2rem; margin: .4rem 0; }
.rich strong { font-weight: 700; }
.dl-list { list-style: none; display: grid; gap: .55rem; margin-top: .6rem; }
.dl-list a { color: var(--fg); font-weight: 600; text-decoration-color: var(--gold-hair); text-underline-offset: 3px; }
.pdf { font-size: .65rem; font-weight: 700; letter-spacing: .1em; color: var(--accent-dark); border: 1px solid var(--gold-hair); border-radius: 4px; padding: .05rem .3rem; margin-left: .3rem; }
.spec { width: 100%; border-collapse: collapse; font-size: .9rem; }
.spec th, .spec td { text-align: left; padding: .65rem .5rem; border-bottom: 1px solid var(--border); vertical-align: top; }
.spec th { width: 38%; font-weight: 600; color: var(--muted); }

/* footer */
.site-footer { background: var(--primary); color: rgba(255,255,255,.7); padding: 2rem 1rem; border-top: 1px solid var(--gold-hair); }
.footer-inner { max-width: 1200px; margin: 0 auto; display: grid; gap: .4rem; text-align: center; }
.footer-logo { font-family: var(--font-display); font-weight: 700; color: #fff; font-size: 1.15rem; }
.footer-phone { color: var(--accent); font-weight: 700; text-decoration: none; }
.footer-copy { font-size: .78rem; color: rgba(255,255,255,.4); margin-top: .5rem; }
.mobile-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: rgba(22,30,49,.97); border-top: 1px solid rgba(217,165,33,.25); padding: .75rem 1rem max(.75rem, env(safe-area-inset-bottom)); }
@media(min-width:768px) { .mobile-bar { display: none; } }

/* filter bar - compact dropdowns, closed by default */
.filters { background: none; border: 0; padding: 0; display: block; margin-bottom: 1.6rem; }
.fbar { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; padding: .75rem 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.fbar-label { font-size: .68rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-right: .35rem; }
.fdrop { position: static; }
.fdrop summary { list-style: none; display: inline-flex; align-items: center; gap: .5rem; height: 40px; padding: 0 .95rem; border: 1px solid var(--border); border-radius: 8px; background: var(--card); font-size: .88rem; font-weight: 600; cursor: pointer; user-select: none; transition: border-color .2s; }
.fdrop summary::-webkit-details-marker { display: none; }
.fdrop summary:hover { border-color: var(--accent); }
.fdrop summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.fdrop[open] summary { border-color: var(--primary); }
.fdrop summary svg { color: var(--muted); transition: transform .2s; }
.fdrop[open] summary svg { transform: rotate(180deg); }
.fcount { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--primary); color: #fff; font-size: .7rem; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }
.fcount[hidden] { display: none; }
.fpanel { position: absolute; z-index: 30; top: calc(100% - 4px); left: 0; right: 0; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: 0 1px 2px rgba(18,26,43,.04), 0 14px 36px rgba(18,26,43,.14); padding: 1rem 1rem .85rem; }
.fsub { font-size: .66rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 0 0 .35rem .3rem; }
.fopts + .fsub { margin-top: .9rem; padding-top: .9rem; border-top: 1px solid var(--border); }
.fopts { display: grid; grid-template-columns: repeat(2, 1fr); gap: .1rem .5rem; }
.fopts-wide { grid-template-columns: 1fr; }
.fopt { display: flex; align-items: center; gap: .65rem; min-height: 40px; padding: .35rem .3rem; font-size: .88rem; cursor: pointer; border-radius: 6px; }
.fopt:hover { background: var(--bg-alt); }
.fopt input { appearance: none; -webkit-appearance: none; width: 18px; height: 18px; margin: 0; flex-shrink: 0; border: 1.5px solid #B9B2A6; border-radius: 4px; background: #fff; display: grid; place-content: center; cursor: pointer; transition: background .15s, border-color .15s; }
.fopt input:checked { background: var(--primary); border-color: var(--primary); }
.fopt input:checked::after { content: ''; width: 9px; height: 5px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: translateY(-1px) rotate(-45deg); }
.fopt input:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.fbar-meta { margin-left: auto; display: flex; align-items: center; gap: 1rem; font-size: .85rem; color: var(--muted); }
.ftags { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .8rem; }
.ftags:empty { display: none; }
.ftag { font: inherit; font-size: .8rem; font-weight: 500; display: inline-flex; align-items: center; gap: .45rem; padding: .32rem .55rem .32rem .8rem; border-radius: 999px; background: var(--accent-tint); border: 1px solid var(--gold-hair); color: var(--fg); cursor: pointer; }
.ftag span { font-size: 1rem; line-height: 1; color: var(--accent-dark); }
.ftag:hover { border-color: var(--accent); }
@media(max-width:559px) {
  .fbar-label { display: none; }
  .fbar { gap: .4rem; }
  .fdrop summary { padding: 0 .7rem; gap: .35rem; font-size: .84rem; }
  .fbar-meta { width: 100%; margin: .15rem 0 0; justify-content: space-between; }
}
@media(min-width:560px) {
  .fdrop { position: relative; }
  .fpanel { right: auto; width: 320px; top: calc(100% + 6px); }
  .fdrop[data-group="size"] .fpanel { width: 400px; }
  .fdrop[data-group="slip"] .fpanel { width: 220px; }
  .fdrop[data-group="slip"] .fopts { grid-template-columns: 1fr; }
}

/* ===== design pass: grout-grid hero, collection groups, surface-reveal cards ===== */
.range-hero { position: relative; overflow: hidden; background: var(--primary); color: #fff; }
.range-hero::before { content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(217,165,33,.16) 1px, transparent 1px), linear-gradient(90deg, rgba(217,165,33,.16) 1px, transparent 1px);
  background-size: 60px 60px; background-position: right -1px top -1px;
  -webkit-mask-image: linear-gradient(105deg, transparent 35%, #000 90%); mask-image: linear-gradient(105deg, transparent 35%, #000 90%); }
.range-hero-inner { position: relative; max-width: 1200px; margin: 0 auto; padding: 1.1rem 1rem 2.4rem; }
@media(min-width:768px) { .range-hero::before { background-size: 84px 84px; } .range-hero-inner { padding: 1.5rem 2rem 3.6rem; } }
.crumbs-dark, .crumbs-dark a { color: rgba(255,255,255,.55); }
.crumbs-dark { margin-bottom: 1.8rem; }
.crumbs-dark a:hover { color: var(--accent); }
.range-hero .eyebrow { color: var(--accent); }
.range-title { font-family: var(--font-display); font-weight: 900; font-size: clamp(2.2rem, 6.4vw, 3.8rem); line-height: 1.02; letter-spacing: -.025em; }
.range-sub { color: rgba(255,255,255,.72); max-width: 470px; margin-top: .9rem; font-size: .97rem; line-height: 1.65; }

.range-main { padding-top: 0; }
.range-main .filters { position: sticky; top: 64px; z-index: 40; background: rgba(253,252,250,.96); backdrop-filter: blur(8px); margin: 0 -1rem 2rem; padding: 0 1rem; }
.range-main .fbar { border-top: 0; }
@media(min-width:768px) { .range-main .filters { top: 74px; margin: 0 -2rem 2.6rem; padding: 0 2rem; } }

.coll { margin-bottom: 2.8rem; }
.coll[hidden] { display: none; }
@media(min-width:768px) { .coll { margin-bottom: 4rem; } }
.coll-head { display: flex; align-items: baseline; gap: .9rem; margin-bottom: 1.1rem; }
.coll-name { font-family: var(--font-display); font-weight: 900; font-size: clamp(1.55rem, 3.6vw, 2.2rem); letter-spacing: -.02em; line-height: 1.1; }
.coll-count { font-size: .68rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--accent-dark); }
.coll-head::after { content: ''; flex: 1; height: 1px; background: var(--border); align-self: center; }

.grid { row-gap: 1.6rem; }
.card { background: none; border: 0; border-radius: 10px; overflow: visible; }
.card:hover { transform: none; }
.card-img { position: relative; aspect-ratio: 4 / 5; border-radius: 10px; overflow: hidden; background: var(--bg-alt); }
.card-img::after { content: ''; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(18,26,43,.07); pointer-events: none; }
.card-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .55s ease, transform 1.1s cubic-bezier(.2,.8,.2,1); }
.card-img .ci-b { opacity: 0; }
.card:hover .ci-b, .card:focus-visible .ci-b { opacity: 1; }
.card:hover .card-img img { transform: scale(1.04); }
@media (hover: none) { .card-img .ci-b { display: none; } }
.card-body { padding: .75rem .1rem 0; }
.card-name { font-family: var(--font-display); font-size: 1.06rem; font-weight: 700; line-height: 1.25; transition: color .2s; }
.card:hover .card-name { color: var(--accent-dark); }
.card-meta { font-size: .8rem; color: var(--muted); margin-top: .15rem; }
.card-code { font-size: .66rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: #8C929B; margin-top: .4rem; word-break: break-word; }

/* product page */
.p-coll { font-size: .68rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--accent-dark); margin-bottom: .45rem; }
.summary .page-title { font-size: clamp(1.9rem, 4.6vw, 2.8rem); }
.summary .code { display: inline-block; margin: .7rem 0 1.3rem; padding: .28rem .6rem; font-size: .7rem; font-weight: 600; letter-spacing: .12em; color: var(--muted); background: var(--bg-alt); border: 1px solid var(--border); border-radius: 4px; }
.facts { display: grid; grid-template-columns: 1fr 1fr; column-gap: 1.2rem; border-top: 1px solid var(--border); margin-bottom: 1.5rem; }
.facts div { padding: .7rem 0; border-bottom: 1px solid var(--border); }
.facts div.wide { grid-column: 1 / -1; }
.facts dt { font-size: .64rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.facts dd { font-size: .9rem; font-weight: 600; margin-top: .1rem; }
.opt-group .chip { border-radius: 6px; }
.enquire { padding: .95rem 1.3rem; font-size: .95rem; }
.enquire-note { text-align: center; font-size: .78rem; color: var(--muted); margin-top: .55rem; }
.main-img { border-radius: 12px; }
@media(min-width:900px) { .summary { position: sticky; top: 100px; } }
.related .grid { grid-template-columns: repeat(2, 1fr); }
@media(min-width:1024px) { .coll .grid { grid-template-columns: repeat(3, 1fr); gap: 1.6rem; row-gap: 2rem; } .card-name { font-size: 1.15rem; } }
@media(max-width:479px) { .t-long { display: none; } [role=tab] { padding: .75rem .55rem; } }
@media(min-width:768px) { .related .grid { grid-template-columns: repeat(4, 1fr); } }
/* specs + options block */
.summary .facts { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; margin: 0 0 1.7rem; }
.summary .facts div { background: var(--card); padding: .8rem .95rem .85rem; border: 0; }
.summary .facts dt { font-size: .62rem; letter-spacing: .15em; margin-bottom: .2rem; }
.summary .facts dd { font-size: .95rem; font-weight: 600; margin: 0; }
.summary .facts dd:has(.app-tag) { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: .4rem; }
.app-tag { display: inline-block; font-size: .78rem; font-weight: 500; padding: .22rem .6rem; border-radius: 999px; background: var(--bg-alt); border: 1px solid var(--border); color: var(--fg); }
.opt-group { margin-bottom: 1.4rem; }
.opt-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-bottom: .6rem; }
.opt-label { font-size: .68rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--fg); }
.opt-sel { font-size: .8rem; color: var(--muted); text-align: right; }
.opt-sel.is-set { color: var(--accent-dark); font-weight: 600; }
.opt-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(76px, 1fr)); gap: .45rem; }
.opt-list { display: flex; flex-wrap: wrap; gap: .45rem; }
.opt-grid + .opt-list { margin-top: .45rem; }
.opt { font: inherit; font-size: .86rem; font-weight: 500; height: 42px; padding: 0 .85rem; border-radius: 8px; border: 1px solid var(--border); background: var(--card); color: var(--fg); cursor: pointer; transition: border-color .15s, background .15s, color .15s; font-variant-numeric: tabular-nums; }
.opt-grid .opt { padding: 0 .4rem; }
.opt:hover { border-color: var(--accent); }
.opt[aria-pressed="true"] { background: var(--primary); border-color: var(--primary); color: #fff; }
/* collection jump bar */
.coll-nav { display: flex; gap: .45rem; margin-top: 1.6rem; overflow-x: auto; scrollbar-width: none; margin-right: -1rem; padding-right: 1rem; }
.coll-nav::-webkit-scrollbar { display: none; }
.coll-nav a { flex-shrink: 0; font-size: .82rem; font-weight: 600; color: rgba(255,255,255,.86); text-decoration: none; padding: .45rem .85rem; border: 1px solid rgba(255,255,255,.18); border-radius: 999px; transition: border-color .2s, color .2s, background .2s; }
.coll-nav a:hover { border-color: var(--accent); color: var(--accent); }
@media(min-width:768px) { .coll-nav { flex-wrap: wrap; overflow: visible; margin-right: 0; padding-right: 0; max-width: 900px; } }
.coll, .coll-name { scroll-margin-top: 190px; }
@media(min-width:768px) { .coll, .coll-name { scroll-margin-top: 160px; } }
.fpanel { max-height: min(70vh, 520px); overflow-y: auto; }
@media (prefers-reduced-motion: reduce) { .card-img img, .card-name { transition: none; } .card:hover .card-img img { transform: none; } }
