/* ==========================================================================
   GSC Showroom — main stylesheet
   Palette taken from the showroom itself: the navy of the GSC sticker,
   the limestone and sand of the Fossil / Marfil tiles, a terracotta accent
   from the Talavera ochre wall. Grout-line grids echo how tiles are laid.
   ========================================================================== */

@font-face {
	font-family: "Fraunces";
	src: url("../fonts/fraunces.woff2") format("woff2");
	font-weight: 300 900;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Fraunces";
	src: url("../fonts/fraunces-italic.woff2") format("woff2");
	font-weight: 300 900;
	font-style: italic;
	font-display: swap;
}
@font-face {
	font-family: "Manrope";
	src: url("../fonts/manrope.woff2") format("woff2");
	font-weight: 200 800;
	font-style: normal;
	font-display: swap;
}

:root {
	--navy: #1f2a6b;
	--navy-deep: #141a47;
	--navy-soft: #e7e9f4;
	--paper: #faf7f1;
	--sand: #f1ebe0;
	--stone: #e3dacb;
	--line: #d9cfbf;
	--ink: #17181c;
	--muted: #5b5d66;
	--terra: #b8562f;
	--terra-soft: #f6e4da;
	--wa: #157a43;
	--wa-hover: #0f6336;
	--white: #fff;

	--font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
	--font-body: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

	--wrap: 1240px;
	--gutter: clamp(16px, 4vw, 32px);
	--radius: 4px;
	--grout: 3px;
	--shadow: 0 1px 2px rgba(20, 26, 71, .06), 0 8px 24px -12px rgba(20, 26, 71, .18);
	--ease: cubic-bezier(.2, .7, .2, 1);
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { transition: none !important; animation: none !important; }
}

body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: var(--font-body);
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	padding-bottom: 64px; /* room for mobile action bar */
}
@media (min-width: 960px) { body { padding-bottom: 0; } }

img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-underline-offset: 3px; }
a:hover { color: var(--terra); }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--terra); outline-offset: 2px; }
[hidden] { display: none !important; }

h1, h2, h3, h4 {
	font-family: var(--font-display);
	font-weight: 500;
	line-height: 1.12;
	letter-spacing: -.01em;
	margin: 0 0 .5em;
	font-variation-settings: "SOFT" 30, "WONK" 0;
}
p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}
.skip-link {
	position: absolute; left: 8px; top: -60px; z-index: 1000;
	background: var(--navy); color: #fff; padding: 10px 14px; border-radius: var(--radius);
}
.skip-link:focus { top: 8px; color: #fff; }

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .5em;
	min-height: 46px; padding: 0 20px;
	border: 1.5px solid transparent; border-radius: var(--radius);
	font-weight: 700; font-size: .95rem; letter-spacing: .01em; line-height: 1.1;
	text-decoration: none; cursor: pointer; white-space: nowrap;
	transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn .icon { flex: none; }
.btn--sm { min-height: 38px; padding: 0 12px; font-size: .85rem; }
.btn--block { width: 100%; }
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--navy-deep); color: #fff; }
.btn--sand { background: var(--sand); color: var(--navy-deep); }
.btn--sand:hover { background: #fff; color: var(--navy-deep); }
.btn--wa { background: var(--wa); color: #fff; }
.btn--wa:hover { background: var(--wa-hover); color: #fff; }
.btn--ghost { background: transparent; border-color: var(--line); color: var(--ink); }
.btn--ghost:hover { border-color: var(--navy); color: var(--navy); }
.btn--ghost.is-added { background: var(--navy-soft); border-color: var(--navy); color: var(--navy); }
.btn--line { background: transparent; border-color: currentColor; color: var(--navy); }
.btn--line:hover { background: var(--navy); border-color: var(--navy); color: #fff; }
.link-btn { background: none; border: 0; padding: 0; color: var(--navy); text-decoration: underline; cursor: pointer; font-size: .9rem; }

.icon-btn {
	position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 6px;
	min-width: 44px; height: 44px; padding: 0 10px;
	background: transparent; border: 0; border-radius: var(--radius); color: var(--ink); cursor: pointer; text-decoration: none;
}
.icon-btn:hover { background: var(--sand); color: var(--navy); }
.quote-count, .cart-count {
	position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px;
	border-radius: 9px; background: var(--terra); color: #fff; font-size: 11px; font-weight: 800; line-height: 18px; text-align: center;
}
.cart-count:empty { display: none; }

/* ---------- Kickers & section heads ---------- */
.kicker {
	display: inline-flex; align-items: center; gap: 10px; margin: 0 0 14px;
	font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--terra);
}
.kicker::before { content: ""; width: 22px; height: 2px; background: currentColor; }
.kicker--light { color: #f1c9a9; }

.sec { padding: clamp(56px, 8vw, 104px) 0; }
.sec-head { max-width: 680px; margin-bottom: clamp(28px, 4vw, 44px); }
.sec-title { font-size: clamp(1.9rem, 1.2rem + 2.6vw, 3rem); color: var(--navy-deep); }
.sec-title em { font-style: italic; color: var(--terra); }
.sec-title--sm { font-size: 1.5rem; margin-bottom: 20px; }
.sec-lead { font-size: 1.08rem; color: var(--muted); margin: 0; }
.sec-head-row { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px 32px; margin-bottom: clamp(28px, 4vw, 44px); }
.sec-head-row .sec-head { margin-bottom: 0; }

/* ---------- Top bar ---------- */
.topbar { background: var(--navy-deep); color: #d6d9ee; font-size: .82rem; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 38px; }
.topbar p { margin: 0; display: flex; align-items: center; gap: 14px; }
.topbar .icon { width: 15px; height: 15px; margin-right: 6px; opacity: .8; }
.topbar a { color: #fff; text-decoration: none; display: inline-flex; align-items: center; }
.topbar a:hover { color: #f1c9a9; }
.topbar__hours { display: inline-flex; align-items: center; }
.topbar__note > span:first-of-type { white-space: nowrap; }
@media (max-width: 720px) {
	.topbar__note .icon, .topbar__hours { display: none !important; }
	.topbar__links a:first-child span { display: none; }
	.topbar__links a:first-child .icon { margin: 0; }
}

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 60; background: rgba(250, 247, 241, .94); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 0; } }
.site-header__inner { display: flex; align-items: center; gap: 20px; min-height: 72px; }

.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--navy); text-decoration: none; flex: none; }
.brand:hover { color: var(--navy); }
.gsc-mark { width: 40px; height: 40px; color: var(--navy); }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font-family: var(--font-display); font-weight: 600; font-size: 1.16rem; letter-spacing: -.01em; }
.brand-tag { font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--terra); margin-top: 4px; }
.custom-logo-link img { max-height: 52px; width: auto; }

.main-nav { margin-left: auto; }
.main-nav .menu { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.main-nav .menu > li { position: relative; }
.main-nav .menu a { display: block; padding: 10px 12px; font-weight: 600; font-size: .95rem; color: var(--ink); text-decoration: none; border-radius: var(--radius); }
.main-nav .menu a:hover, .main-nav .current-menu-item > a { color: var(--navy); background: var(--sand); }
.main-nav .menu-item-has-children > a::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 8px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-3px) rotate(45deg); }
.main-nav .sub-menu { list-style: none; margin: 0; padding: 8px; position: absolute; top: 100%; left: 0; min-width: 240px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(6px); transition: .18s var(--ease); }
.main-nav li:hover > .sub-menu, .main-nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.main-nav .sub-menu a { font-weight: 500; padding: 9px 12px; }
.main-nav__mobile-cta { display: none; }

.header-actions { display: flex; align-items: center; gap: 2px; }
.main-nav + .header-actions { margin-left: 8px; }
.quote-btn__label { font-weight: 700; font-size: .9rem; }
.nav-toggle { display: none; }

@media (max-width: 1079px) {
	.nav-toggle { display: inline-flex; }
	.header-actions { margin-left: auto; }
	.quote-btn__label { display: none; }
	.main-nav {
		position: fixed; inset: 0 0 0 auto; width: min(380px, 88vw); z-index: 80;
		background: var(--paper); padding: 84px 20px 28px; overflow-y: auto;
		transform: translateX(100%); transition: transform .28s var(--ease); box-shadow: -20px 0 40px rgba(0, 0, 0, .15);
	}
	.nav-open .main-nav { transform: none; }
	.nav-open::after { content: ""; position: fixed; inset: 0; background: rgba(20, 26, 71, .45); z-index: 70; }
	.main-nav .menu { flex-direction: column; gap: 0; }
	.main-nav .menu > li { border-bottom: 1px solid var(--line); }
	.main-nav .menu a { padding: 14px 4px; font-size: 1.05rem; }
	.main-nav .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 10px 12px; background: transparent; min-width: 0; }
	.main-nav .sub-menu a { padding: 8px 4px; font-size: .95rem; color: var(--muted); }
	.main-nav .menu-item-has-children > a::after { display: none; }
	.main-nav__mobile-cta { display: grid; gap: 10px; margin-top: 24px; }
	.nav-open .nav-toggle { position: fixed; top: 14px; right: 14px; z-index: 90; background: var(--sand); }
}

.site-search { border-top: 1px solid var(--line); background: var(--paper); padding: 14px 0; }
.search-form { display: flex; gap: 8px; }
.search-form input[type="search"] { flex: 1; min-height: 48px; padding: 0 14px; border: 1.5px solid var(--line); border-radius: var(--radius); background: #fff; }
.search-form input[type="search"]:focus { border-color: var(--navy); outline: none; }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--navy-deep); color: #e9ebf6; overflow: hidden; }
.hero::before { /* faint grout grid */
	content: ""; position: absolute; inset: 0; opacity: .07; pointer-events: none;
	background-image: linear-gradient(#fff 1px, transparent 1px), linear-gradient(90deg, #fff 1px, transparent 1px);
	background-size: 120px 120px;
}
.hero__inner { position: relative; display: grid; gap: 40px; padding-top: clamp(40px, 7vw, 88px); padding-bottom: clamp(40px, 7vw, 88px); }
@media (min-width: 960px) { .hero__inner { grid-template-columns: 1.02fr 1fr; align-items: center; gap: 56px; } }
.hero__title { font-size: clamp(2.3rem, 1.3rem + 4.2vw, 4.3rem); color: #fff; font-weight: 450; margin-bottom: 20px; font-variation-settings: "SOFT" 60, "WONK" 1; }
.hero__text { font-size: clamp(1.02rem, .95rem + .3vw, 1.18rem); max-width: 34em; color: #cfd3ea; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 32px; }
.hero__facts { list-style: none; margin: 0; padding: 22px 0 0; display: flex; flex-wrap: wrap; gap: 14px 36px; border-top: 1px solid rgba(255, 255, 255, .14); }
.hero__facts li { display: flex; flex-direction: column; }
.hero__facts strong { font-family: var(--font-display); font-weight: 500; font-size: 1.9rem; color: #fff; line-height: 1; }
.hero__facts span { font-size: .82rem; color: #aeb4d6; margin-top: 6px; }

.hero__wall {
	display: grid; gap: var(--grout); background: #0b0f2c; padding: var(--grout); border-radius: 2px;
	grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(3, minmax(90px, 1fr));
	aspect-ratio: 1 / 1; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .5);
}
.hero__tile { overflow: hidden; position: relative; }
.hero__tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.hero__wall:hover .hero__tile img { transform: scale(1.04); }
.hero__tile--1 { grid-column: 1 / 2; grid-row: 1 / 3; }
.hero__tile--2 { grid-column: 2 / 4; grid-row: 1 / 2; }
.hero__tile--3 { grid-column: 2 / 3; grid-row: 2 / 3; }
.hero__tile--4 { grid-column: 3 / 4; grid-row: 2 / 4; }
.hero__tile--5 { grid-column: 1 / 2; grid-row: 3 / 4; }
.hero__tile--6 { grid-column: 2 / 3; grid-row: 3 / 4; }
@media (max-width: 959px) { .hero__wall { aspect-ratio: 4 / 3; grid-template-rows: repeat(3, 1fr); } }

/* ---------- Brands ---------- */
.brands { background: var(--sand); border-bottom: 1px solid var(--line); }
.brands__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; padding-top: 18px; padding-bottom: 18px; }
.brands__label { margin: 0; font-size: .75rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.brands ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 28px; }
.brands li { font-family: var(--font-display); font-size: 1.25rem; color: var(--navy-deep); }

/* ---------- Rooms ---------- */
.rooms__grid { display: grid; gap: var(--grout); background: var(--line); padding: var(--grout); grid-template-columns: 1fr; }
@media (min-width: 640px) { .rooms__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) {
	.rooms__grid { grid-template-columns: repeat(6, 1fr); grid-auto-rows: 260px; }
	.room-card:nth-child(1) { grid-column: span 3; grid-row: span 2; }
	.room-card:nth-child(2), .room-card:nth-child(3) { grid-column: span 3; }
	.room-card:nth-child(4), .room-card:nth-child(5) { grid-column: span 3; }
}
.room-card { position: relative; display: block; min-height: 220px; overflow: hidden; color: #fff; text-decoration: none; background: var(--navy-deep); }
.room-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease), opacity .3s; }
.room-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20, 26, 71, 0) 35%, rgba(20, 26, 71, .86)); }
.room-card:hover { color: #fff; }
.room-card:hover img { transform: scale(1.05); }
.room-card__body { position: absolute; left: 22px; right: 70px; bottom: 20px; z-index: 1; display: flex; flex-direction: column; gap: 4px; }
.room-card__name { font-family: var(--font-display); font-size: clamp(1.4rem, 1.1rem + 1vw, 2rem); line-height: 1.1; }
.room-card__hint { font-size: .88rem; color: #dfe2f2; }
.room-card__arrow { position: absolute; right: 18px; bottom: 20px; z-index: 1; width: 42px; height: 42px; border-radius: 50%; background: rgba(255, 255, 255, .16); display: grid; place-items: center; transition: background .2s, transform .2s; }
.room-card:hover .room-card__arrow { background: var(--terra); transform: translateX(3px); }

/* ---------- Finish explorer ---------- */
.explorer { background: var(--sand); }
.explorer__ui { display: grid; gap: 28px; }
@media (min-width: 960px) { .explorer__ui { grid-template-columns: 1.15fr 1fr; gap: 48px; align-items: start; } }
.explorer__stage { margin: 0; position: relative; background: var(--stone); border: var(--grout) solid #fff; box-shadow: var(--shadow); aspect-ratio: 6 / 5; overflow: hidden; }
.explorer__stage img { width: 100%; height: 100%; object-fit: cover; transition: opacity .25s var(--ease); }
.explorer__stage img.is-loading { opacity: .35; }
.explorer__stage figcaption { position: absolute; left: 14px; bottom: 14px; padding: 8px 14px; background: rgba(250, 247, 241, .95); font-family: var(--font-display); font-size: 1.1rem; color: var(--navy-deep); border-radius: 2px; }
.explorer__group { border: 0; margin: 0 0 22px; padding: 0; }
.explorer__group legend { font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; padding: 0; }
.swatches { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.swatch { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 8px 4px 10px; background: transparent; border: 1.5px solid transparent; border-radius: var(--radius); cursor: pointer; font-size: .85rem; font-weight: 600; }
.swatch__chip { width: 100%; aspect-ratio: 1; background-size: 260%; background-position: center; border-radius: 2px; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .08); }
.swatch:hover { border-color: var(--line); }
.swatch.is-active { border-color: var(--navy); background: #fff; }
.finish-tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.finish-tab { min-height: 42px; padding: 0 16px; background: #fff; border: 1.5px solid var(--line); border-radius: 40px; cursor: pointer; font-weight: 600; font-size: .92rem; }
.finish-tab:hover { border-color: var(--navy); }
.finish-tab.is-active { background: var(--navy); border-color: var(--navy); color: #fff; }
.finish-tab.is-unavailable { opacity: .45; text-decoration: line-through; }
.explorer__facts { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin: 0 0 14px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.explorer__facts div { padding: 14px 0; }
.explorer__facts div + div { border-left: 1px solid var(--line); padding-left: 16px; }
.explorer__facts dt { font-size: .75rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.explorer__facts dd { margin: 4px 0 0; font-weight: 600; }
.explorer__note { color: var(--muted); min-height: 3.2em; }
.explorer__missing { background: var(--terra-soft); color: #7a3417; padding: 10px 12px; border-radius: var(--radius); font-size: .9rem; }
.explorer__actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- Collections ---------- */
.collections__grid { display: grid; gap: 24px; }
@media (min-width: 720px) { .collections__grid { grid-template-columns: repeat(2, 1fr); } }
.col-card { display: grid; grid-template-columns: 42% 1fr; background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--ink); min-height: 280px; transition: box-shadow .25s var(--ease), border-color .25s; }
.col-card:hover { box-shadow: var(--shadow); border-color: var(--stone); color: var(--ink); }
.col-card__media { overflow: hidden; border-right: var(--grout) solid var(--paper); }
.col-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.col-card:hover .col-card__media img { transform: scale(1.05); }
.col-card__body { display: flex; flex-direction: column; gap: 8px; padding: 24px; }
.col-card__tag { font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--terra); }
.col-card__name { font-family: var(--font-display); font-size: 1.9rem; line-height: 1.05; color: var(--navy-deep); }
.col-card__desc { font-size: .93rem; color: var(--muted); flex: 1; }
.col-card__cta { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--navy); }
@media (max-width: 480px) { .col-card { grid-template-columns: 1fr; } .col-card__media { aspect-ratio: 16 / 10; border-right: 0; border-bottom: var(--grout) solid var(--paper); } }

/* ---------- Product cards ---------- */
.p-grid { display: grid; gap: 20px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 900px) { .p-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; } }
.p-grid--catalogue { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 1180px) { .p-grid--catalogue { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.p-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); transition: box-shadow .25s var(--ease), transform .25s var(--ease); }
.p-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.p-card__media { position: relative; aspect-ratio: 1 / 1; overflow: hidden; background: var(--stone); border-bottom: var(--grout) solid var(--paper); }
.p-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.p-card:hover .p-card__media img { transform: scale(1.06); }
.p-card__badge { position: absolute; top: 10px; left: 10px; padding: 4px 9px; background: rgba(250, 247, 241, .94); color: var(--navy-deep); font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; border-radius: 2px; }
.p-card__body { display: flex; flex-direction: column; flex: 1; padding: 14px 14px 16px; }
.p-card__eyebrow { margin: 0 0 4px; font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--terra); }
.p-card__title { font-size: 1.12rem; margin: 0 0 4px; line-height: 1.2; }
.p-card__title a { color: var(--navy-deep); text-decoration: none; }
.p-card__title a:hover { color: var(--terra); }
.p-card__meta { font-size: .84rem; color: var(--muted); margin: 0 0 12px; }
.p-card__actions { margin-top: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.p-card__actions .btn { padding: 0 8px; }
@media (max-width: 420px) {
	.p-card__actions { grid-template-columns: 1fr; }
	.p-card__title { font-size: 1rem; }
}

/* ---------- Calculator ---------- */
.calc-sec { background: var(--navy-deep); color: #dfe2f2; }
.calc-sec .sec-title { color: #fff; }
.calc-sec .sec-lead { color: #bfc4e2; }
.calc-sec__inner { display: grid; gap: 36px; }
@media (min-width: 960px) { .calc-sec__inner { grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; } }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 10px; align-items: center; }
.ticks .icon { color: #f1c9a9; }

.calc { background: var(--paper); color: var(--ink); padding: clamp(20px, 3vw, 32px); border-radius: var(--radius); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .5); display: grid; gap: 16px; }
.calc label, .visit-form label { display: flex; flex-direction: column; gap: 6px; font-size: .82rem; font-weight: 700; color: var(--muted); }
.calc input[type="number"], .calc select, .visit-form input, .visit-form select, .drawer input {
	min-height: 48px; padding: 0 12px; border: 1.5px solid var(--line); border-radius: var(--radius); background: #fff; font-size: 1rem; font-weight: 600; color: var(--ink); width: 100%;
}
.calc input:focus, .calc select:focus, .visit-form input:focus, .visit-form select:focus, .drawer input:focus { border-color: var(--navy); outline: none; }
.calc__row { display: grid; gap: 12px; }
.calc__row--2 { grid-template-columns: 1fr 1fr; }
.calc__row--3 { grid-template-columns: repeat(3, 1fr); }
.calc__row--units { display: flex; gap: 6px; background: var(--sand); padding: 4px; border-radius: 40px; width: max-content; }
.calc__row--units label { flex-direction: row; align-items: center; gap: 0; cursor: pointer; }
.calc__row--units input { position: absolute; opacity: 0; pointer-events: none; }
.calc__row--units label { padding: 8px 18px; border-radius: 40px; font-size: .9rem; color: var(--ink); }
.calc__row--units label:has(input:checked) { background: var(--navy); color: #fff; }
.calc__row--units label:has(input:focus-visible) { outline: 2px solid var(--terra); }
.calc__out { display: flex; flex-direction: column; gap: 4px; padding: 18px; background: var(--sand); border-left: 4px solid var(--terra); }
.calc__big { font-family: var(--font-display); font-size: 2.2rem; line-height: 1; color: var(--navy-deep); }
.calc__big strong { font-weight: 600; font-size: 3rem; }
.calc__small { color: var(--muted); font-size: .92rem; }
.calc__note { font-size: .82rem; color: var(--muted); margin: 0; }

/* ---------- Showroom walls ---------- */
.walls__grid { display: grid; gap: var(--grout); background: var(--line); padding: var(--grout); grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) {
	.walls__grid { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 230px; }
	.wall--1, .wall--2 { grid-row: span 2; }
}
.wall { margin: 0; position: relative; overflow: hidden; background: var(--stone); min-height: 200px; }
.wall img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; transition: transform .8s var(--ease); }
.wall:hover img { transform: scale(1.04); }
.wall figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 14px 12px; color: #fff; font-size: .85rem; font-weight: 600; background: linear-gradient(transparent, rgba(0, 0, 0, .65)); }

/* ---------- Why ---------- */
.why { background: var(--sand); }
.why__grid { display: grid; gap: 40px; }
@media (min-width: 960px) { .why__grid { grid-template-columns: .9fr 1.1fr; gap: 64px; } }
.why__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.why__list li { display: grid; grid-template-columns: 48px 1fr; gap: 14px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.why__list .icon { width: 30px; height: 30px; color: var(--terra); stroke-width: 1.5; }
.why__list h3 { font-size: 1.3rem; color: var(--navy-deep); margin-bottom: 4px; }
.why__list p { margin: 0; color: var(--muted); }

.rating { display: inline-flex; align-items: center; gap: 10px; padding: 12px 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink); }
.rating .icon { color: #e0a419; fill: #e0a419; }
.rating strong { font-family: var(--font-display); font-size: 1.6rem; font-weight: 600; color: var(--navy-deep); line-height: 1; }
.rating span { font-size: .85rem; color: var(--muted); }
.rating:hover { border-color: var(--navy); color: var(--ink); }
.rating--light { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .16); }
.rating--light strong { color: #fff; }
.rating--light span { color: #bfc4e2; }

/* ---------- Visit ---------- */
.visit__grid { display: grid; gap: 36px; }
@media (min-width: 960px) { .visit__grid { grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: stretch; } }
.visit-form { display: grid; gap: 14px; padding: 22px; background: #fff; border: 1px solid var(--line); margin-bottom: 24px; }
.visit__contact { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 10px; }
.visit__contact li { display: flex; gap: 10px; align-items: flex-start; }
.visit__contact .icon { color: var(--terra); flex: none; margin-top: 3px; }
.visit__map { min-height: 380px; border: var(--grout) solid #fff; box-shadow: var(--shadow); background: var(--stone); }
.visit__map iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; filter: saturate(.85); }

/* ---------- FAQ ---------- */
.faq { background: var(--paper); border-top: 1px solid var(--line); }
.faq__inner { display: grid; gap: 28px; }
@media (min-width: 960px) { .faq__inner { grid-template-columns: .8fr 1.2fr; gap: 64px; } }
.faq__list details { border-bottom: 1px solid var(--line); }
.faq__list details:first-child { border-top: 1px solid var(--line); }
.faq__list summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; position: relative; font-family: var(--font-display); font-size: 1.22rem; color: var(--navy-deep); }
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after { content: "+"; position: absolute; right: 6px; top: 16px; font-family: var(--font-body); font-size: 1.6rem; font-weight: 300; color: var(--terra); transition: transform .2s; }
.faq__list details[open] summary::after { transform: rotate(45deg); }
.faq__list p { color: var(--muted); padding-bottom: 20px; margin: 0; max-width: 60ch; }

/* ---------- Page hero ---------- */
.page-hero { background: var(--navy-deep); color: #dfe2f2; padding: clamp(44px, 6vw, 76px) 0; position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; right: -40px; top: -40px; width: 320px; height: 320px; opacity: .08; background-image: linear-gradient(#fff 2px, transparent 2px), linear-gradient(90deg, #fff 2px, transparent 2px); background-size: 80px 80px; transform: rotate(12deg); }
.page-hero--slim { padding: clamp(34px, 4vw, 52px) 0; }
.page-hero__title { color: #fff; font-size: clamp(2rem, 1.3rem + 3vw, 3.4rem); max-width: 18em; font-weight: 450; }
.page-hero__lead { color: #bfc4e2; max-width: 40em; font-size: 1.08rem; margin: 0; }

/* ---------- Catalogue ---------- */
.catalogue { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; padding-top: 36px; padding-bottom: 72px; }
.filters, .filter { min-width: 0; }
@media (min-width: 960px) { .catalogue { grid-template-columns: 260px minmax(0, 1fr); gap: 40px; align-items: start; } }
.filters { display: grid; gap: 22px; }
@media (min-width: 960px) { .filters { position: sticky; top: 96px; } }
.filter__label { margin: 0 0 10px; font-size: .75rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { min-height: 36px; padding: 0 13px; border: 1.5px solid var(--line); background: #fff; border-radius: 40px; cursor: pointer; font-size: .86rem; font-weight: 600; }
.chip:hover { border-color: var(--navy); }
.chip.is-active { background: var(--navy); border-color: var(--navy); color: #fff; }
.filters__count { margin: 0; font-size: .9rem; color: var(--muted); }
.p-card.is-hidden { display: none; }
.catalogue__empty { grid-column: 1 / -1; padding: 24px; background: var(--sand); }
@media (max-width: 959px) {
	.filters { grid-auto-flow: row; }
	.chips { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
	.chips::-webkit-scrollbar { display: none; }
	.chip { flex: none; }
}

/* ---------- Posts / prose ---------- */
.prose { max-width: 760px; font-size: 1.05rem; }
.prose h2 { font-size: 1.8rem; color: var(--navy-deep); margin-top: 1.6em; }
.prose h3 { font-size: 1.35rem; color: var(--navy-deep); margin-top: 1.4em; }
.prose img { border-radius: 2px; }
.prose ol, .prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .5em; }
.prose blockquote { margin: 1.5em 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--terra); font-family: var(--font-display); font-size: 1.25rem; color: var(--navy-deep); }
.single-layout { display: grid; gap: 48px; }
@media (min-width: 1024px) { .single-layout { grid-template-columns: minmax(0, 1fr) 300px; } }
.single-thumb { margin-bottom: 28px; }
.post-cta { margin: 40px 0; padding: 24px; background: var(--sand); border-left: 4px solid var(--wa); }
.post-grid { display: grid; gap: 28px; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.post-card { background: #fff; border: 1px solid var(--line); }
.post-card__media { display: block; aspect-ratio: 16 / 10; overflow: hidden; }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; }
.post-card__body { padding: 18px 18px 8px; }
.post-card__title { font-size: 1.3rem; }
.post-card__title a { color: var(--navy-deep); text-decoration: none; }
.pager { margin-top: 36px; }
.pager .nav-links { display: flex; gap: 6px; flex-wrap: wrap; }
.pager .page-numbers { display: inline-grid; place-items: center; min-width: 42px; height: 42px; padding: 0 10px; border: 1px solid var(--line); text-decoration: none; background: #fff; }
.pager .current { background: var(--navy); color: #fff; border-color: var(--navy); }
.empty-state { padding: 40px; background: var(--sand); text-align: center; }
.widget { margin-bottom: 28px; }
.widget-title { font-size: 1.15rem; }
.comments { margin-top: 48px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: #bfc4e2; font-size: .94rem; }
.grout-strip { display: grid; grid-template-columns: repeat(8, 1fr); gap: var(--grout); background: var(--navy-deep); padding-top: var(--grout); }
.grout-strip span { height: 54px; background-size: cover; background-position: center; }
.footer-grid { display: grid; gap: 36px; padding-top: 56px; padding-bottom: 40px; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 48px; } }
.site-footer .brand, .site-footer .gsc-mark { color: #fff; }
.site-footer .brand-tag { color: #f1c9a9; }
.footer-brand p { margin: 18px 0 20px; max-width: 34em; }
.footer-title { font-family: var(--font-body); font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #fff; margin-bottom: 16px; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { color: #e2e5f5; text-decoration: none; }
.site-footer a:hover { color: #f1c9a9; }
.footer-cats { margin-top: 18px; font-size: .85rem; color: #9097c2; }
.footer-contact p { display: flex; gap: 10px; align-items: flex-start; margin: 0 0 10px; }
.footer-contact .icon { flex: none; margin-top: 3px; color: #f1c9a9; }
.social { gap: 16px !important; }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 20px; padding-bottom: 24px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .82rem; color: #8c93bd; }
.footer-base p { margin: 0; }

/* ---------- Quote drawer ---------- */
.drawer { position: fixed; inset: 0; z-index: 100; }
.drawer__scrim { position: absolute; inset: 0; background: rgba(20, 26, 71, .5); animation: fade .2s ease; }
.drawer__panel { position: absolute; right: 0; top: 0; bottom: 0; width: min(420px, 100%); background: var(--paper); display: flex; flex-direction: column; animation: slide .25s var(--ease); }
@keyframes fade { from { opacity: 0; } }
@keyframes slide { from { transform: translateX(40px); opacity: 0; } }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.drawer__head h2 { margin: 0; font-size: 1.4rem; color: var(--navy-deep); }
.drawer__body { flex: 1; overflow-y: auto; padding: 8px 18px; }
.quote-list { list-style: none; margin: 0; padding: 0; }
.quote-list li { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.quote-list img { width: 64px; height: 64px; object-fit: cover; border-radius: 2px; background: var(--stone); }
.quote-list strong { display: block; font-size: .95rem; line-height: 1.25; }
.quote-list small { color: var(--muted); }
.quote-empty { color: var(--muted); padding: 20px 0; }
.drawer__foot { padding: 16px 18px 20px; border-top: 1px solid var(--line); display: grid; gap: 10px; background: #fff; }
.drawer__foot label { font-size: .8rem; font-weight: 700; color: var(--muted); }
.drawer__foot .link-btn { justify-self: center; }
.drawer-open { overflow: hidden; }

/* ---------- Toast ---------- */
.toast { position: fixed; left: 50%; bottom: 84px; transform: translateX(-50%); z-index: 110; background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 40px; font-size: .9rem; font-weight: 600; box-shadow: var(--shadow); animation: fade .2s ease; }
@media (min-width: 960px) { .toast { bottom: 28px; } }

/* ---------- Mobile action bar ---------- */
.action-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(20, 26, 71, .08); padding-bottom: env(safe-area-inset-bottom); }
.action-bar a, .action-bar button { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 60px; background: none; border: 0; color: var(--navy-deep); font-size: .74rem; font-weight: 700; text-decoration: none; cursor: pointer; }
.action-bar .action-bar__wa { background: var(--wa); color: #fff; }
.action-bar .quote-count { top: 6px; right: calc(50% - 22px); }
@media (min-width: 960px) { .action-bar { display: none; } }

/* ---------- WooCommerce ---------- */
.shop-main { padding: 32px 0 72px; }
.crumbs { font-size: .85rem; color: var(--muted); margin-bottom: 18px; }
.crumbs a { color: var(--muted); }
.crumbs .sep { margin: 0 8px; opacity: .6; }
.woocommerce-products-header__title { font-size: clamp(1.9rem, 1.3rem + 2vw, 2.8rem); color: var(--navy-deep); }
.woocommerce-result-count { color: var(--muted); font-size: .9rem; }
.woocommerce-ordering select { min-height: 42px; border: 1.5px solid var(--line); border-radius: var(--radius); padding: 0 10px; background: #fff; }
.woocommerce-ordering { float: right; margin: 0 0 20px; }
.woocommerce-result-count { float: left; margin: 10px 0 20px; }
ul.products { clear: both; list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 900px) { ul.products { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; } }
ul.products li.product { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); padding: 0 0 14px; transition: box-shadow .25s; }
ul.products li.product:hover { box-shadow: var(--shadow); }
ul.products li.product a.woocommerce-LoopProduct-link { text-decoration: none; color: inherit; }
ul.products li.product img { width: 100%; aspect-ratio: 1; object-fit: cover; border-bottom: var(--grout) solid var(--paper); margin-bottom: 12px; }
ul.products li.product .woocommerce-loop-product__title, ul.products li.product .woocommerce-loop-category__title { font-family: var(--font-display); font-weight: 500; font-size: 1.08rem; color: var(--navy-deep); padding: 0 14px; margin: 0 0 6px; }
ul.products li.product .price { display: block; padding: 0 14px; color: var(--ink); font-weight: 700; margin-bottom: 10px; }
ul.products li.product .p-card__actions, ul.products li.product > .button { margin: auto 14px 0; }
ul.products li.product > .button, .single_add_to_cart_button, .woocommerce .button, .wc-block-components-button, .checkout-button {
	display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 18px; background: var(--navy); color: #fff !important; border: 0; border-radius: var(--radius); font-weight: 700; text-decoration: none; cursor: pointer;
}
.woocommerce .button:hover, .single_add_to_cart_button:hover { background: var(--navy-deep); }
.onsale { position: absolute; margin: 10px; padding: 4px 10px; background: var(--terra); color: #fff; font-size: .75rem; font-weight: 800; text-transform: uppercase; border-radius: 2px; z-index: 2; }
.woocommerce-pagination ul { list-style: none; padding: 0; display: flex; gap: 6px; margin-top: 32px; }
.woocommerce-pagination .page-numbers { display: inline-grid; place-items: center; min-width: 42px; height: 42px; border: 1px solid var(--line); background: #fff; text-decoration: none; }
.woocommerce-pagination .current { background: var(--navy); color: #fff; }

.single-product div.product { display: grid; gap: 32px; position: relative; }
@media (min-width: 960px) { .single-product div.product { grid-template-columns: 1.1fr 1fr; gap: 56px; } .single-product div.product > .woocommerce-tabs, .single-product div.product > .related, .single-product div.product > .upsells { grid-column: 1 / -1; } }
.woocommerce-product-gallery { position: relative; border: var(--grout) solid #fff; box-shadow: var(--shadow); background: var(--stone); }
.woocommerce-product-gallery__wrapper { margin: 0; }
.woocommerce-product-gallery__trigger { position: absolute; top: 12px; right: 12px; z-index: 5; width: 40px; height: 40px; border-radius: 50%; background: #fff; display: grid; place-items: center; text-indent: -999px; overflow: hidden; }
.woocommerce-product-gallery__trigger::before { content: ""; width: 14px; height: 14px; border: 2px solid var(--navy); border-radius: 50%; position: absolute; top: 10px; left: 10px; }
.flex-control-thumbs { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; padding: 6px; margin: 0; }
.product_title { font-size: clamp(1.9rem, 1.3rem + 2vw, 2.8rem); color: var(--navy-deep); }
.summary .price { font-size: 1.4rem; font-weight: 700; color: var(--ink); }
.woocommerce-product-details__short-description { color: var(--muted); font-size: 1.05rem; }
form.cart { display: flex; gap: 10px; margin: 20px 0; }
form.cart .qty { width: 80px; min-height: 44px; border: 1.5px solid var(--line); border-radius: var(--radius); text-align: center; }
.product_meta { font-size: .88rem; color: var(--muted); display: grid; gap: 4px; margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); }
.enquiry-box { margin: 24px 0; padding: 20px; background: var(--sand); border-left: 4px solid var(--wa); }
.enquiry-box__lead { margin-bottom: 14px; }
.enquiry-box__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.enquiry-box__note { margin: 14px 0 0; font-size: .88rem; color: var(--muted); display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.woocommerce-tabs ul.tabs { list-style: none; padding: 0; margin: 0 0 20px; display: flex; gap: 4px; border-bottom: 1px solid var(--line); }
.woocommerce-tabs ul.tabs li a { display: block; padding: 12px 16px; text-decoration: none; font-weight: 700; color: var(--muted); }
.woocommerce-tabs ul.tabs li.active a { color: var(--navy); box-shadow: inset 0 -2px 0 var(--navy); }
.woocommerce-tabs .panel h2 { font-size: 1.5rem; }
table.shop_attributes { border-collapse: collapse; width: 100%; max-width: 640px; }
table.shop_attributes th, table.shop_attributes td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); }
table.shop_attributes td p { margin: 0; }
.related > h2, .upsells > h2 { font-size: 1.8rem; color: var(--navy-deep); margin-top: 40px; }
.woocommerce-message, .woocommerce-info, .woocommerce-error { list-style: none; padding: 14px 18px; margin: 0 0 20px; background: var(--sand); border-left: 4px solid var(--navy); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; align-items: center; }
.woocommerce-error { border-color: var(--terra); }
.wc-page { max-width: none; }
.wc-page table { width: 100%; border-collapse: collapse; }
.wc-page th, .wc-page td { padding: 12px; border-bottom: 1px solid var(--line); text-align: left; }
.wc-page input.input-text, .wc-page select, .wc-page textarea { min-height: 44px; padding: 0 10px; border: 1.5px solid var(--line); border-radius: var(--radius); background: #fff; width: 100%; }

/* ---------- Forms: comments & reviews ---------- */
.comment-form, #review_form { display: grid; gap: 14px; max-width: 640px; }
.comment-form p { margin: 0; display: grid; gap: 6px; }
.comment-form label { font-size: .85rem; font-weight: 700; color: var(--muted); }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea, .comment-form select {
	width: 100%; min-height: 44px; padding: 10px 12px; border: 1.5px solid var(--line); border-radius: var(--radius); background: #fff;
}
.comment-form textarea { min-height: 140px; }
.comment-form .form-submit input, .comment-form input[type="submit"] { justify-self: start; min-height: 46px; padding: 0 22px; background: var(--navy); color: #fff; border: 0; border-radius: var(--radius); font-weight: 700; cursor: pointer; }
.comment-form-cookies-consent { display: flex !important; gap: 8px; align-items: center; }
#reply-title, .comment-reply-title { font-size: 1.3rem; }

/* Gallery stays visible even before WooCommerce's slider script runs. */
.woocommerce-product-gallery { opacity: 1 !important; }

/* ---------- Small phones: keep the header on one line ---------- */
@media (max-width: 560px) {
	.site-header__inner { gap: 8px; min-height: 64px; }
	.gsc-mark { width: 34px; height: 34px; }
	.brand { gap: 9px; min-width: 0; }
	.brand-name { font-size: 1rem; }
	.brand-tag { font-size: .62rem; letter-spacing: .1em; }
	.header-actions .quote-btn { display: none; } /* quote lives in the bottom action bar */
	.icon-btn { min-width: 40px; padding: 0 8px; }
	.room-card { min-height: 180px; }
}
@media (max-width: 370px) { .brand-tag { display: none; } }
