/* Maison Rare — storefront styles */

@font-face { font-family: "Cormorant Garamond"; font-weight: 400; font-style: normal; font-display: swap; src: url("/fonts/cormorant-garamond-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-weight: 400; font-style: italic; font-display: swap; src: url("/fonts/cormorant-garamond-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-weight: 500; font-style: normal; font-display: swap; src: url("/fonts/cormorant-garamond-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-weight: 500; font-style: italic; font-display: swap; src: url("/fonts/cormorant-garamond-latin-500-italic.woff2") format("woff2"); }
@font-face { font-family: "Jost"; font-weight: 300; font-style: normal; font-display: swap; src: url("/fonts/jost-latin-300-normal.woff2") format("woff2"); }
@font-face { font-family: "Jost"; font-weight: 400; font-style: normal; font-display: swap; src: url("/fonts/jost-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Jost"; font-weight: 500; font-style: normal; font-display: swap; src: url("/fonts/jost-latin-500-normal.woff2") format("woff2"); }

:root {
  --paper: #fbf8f3;      /* page background, warm off-white */
  --ivory: #f4eee5;      /* tinted sections */
  --sand: #e8dfd1;       /* image wells, borders on tint */
  --stone: #d3c8b8;      /* hairlines */
  --taupe: #8b7e70;      /* secondary text */
  --ink: #2a2725;        /* charcoal text */
  --ink-soft: #55504b;
  --brand: #9c2a40;      /* the burgundy of the Maison Rare logo */
  --metal: #a48c63;      /* brushed-brass accent */
  --line: rgba(42, 39, 37, .14);
  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Jost", "Helvetica Neue", Arial, sans-serif;
  --wrap: 1280px;
  --gutter: clamp(20px, 4vw, 56px);
  --ease: cubic-bezier(.2, .6, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 300 17px/1.7 var(--sans); letter-spacing: .01em; font-variant-numeric: lining-nums;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.12; margin: 0; letter-spacing: 0; text-wrap: balance; }
h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); }
h2 { font-size: clamp(1.9rem, 3.2vw, 2.7rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 1.5px solid var(--brand); outline-offset: 3px; }
[hidden] { display: none !important; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: 10px 16px; z-index: 100; }
.skip:focus { left: 0; }
.muted { color: var(--taupe); }
.eyebrow { font: 400 .72rem/1.4 var(--sans); letter-spacing: .26em; text-transform: uppercase; color: var(--metal); margin: 0 0 1.1rem; }
.lede { font-size: 1.1rem; color: var(--ink-soft); max-width: 34em; }
.fineprint { font-size: .85rem; color: var(--taupe); margin-top: 1.2rem; }
.error-text { color: var(--brand); font-size: .88rem; }

/* ---------- buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 34px;
  background: var(--ink); color: var(--paper); border: 1px solid var(--ink); border-radius: 0; cursor: pointer;
  font: 400 .76rem/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; white-space: nowrap;
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.btn:hover { background: var(--brand); border-color: var(--brand); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.btn-block { display: flex; width: 100%; }
.btn-small { min-height: 40px; padding: 0 20px; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 2rem; }
.link-arrow {
  display: inline-block; font: 400 .76rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase;
  padding-bottom: 7px; border-bottom: 1px solid currentColor; transition: color .25s var(--ease);
}
.link-arrow::after { content: "\2192"; display: inline-block; margin-left: 10px; transition: transform .3s var(--ease); }
.link-arrow:hover { color: var(--brand); }
.link-arrow:hover::after { transform: translateX(5px); }
.link-back::after { display: none; }
.link-back::before { content: "\2190"; display: inline-block; margin-right: 10px; }
.link-btn { background: none; border: 0; padding: 0; cursor: pointer; font-size: .85rem; color: var(--taupe); text-decoration: underline; text-underline-offset: 4px; }
.link-btn:hover { color: var(--brand); }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(251, 248, 243, .94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.header-row { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 32px; min-height: 84px; }
.logo img { height: 52px; width: auto; }
.site-nav { display: flex; justify-content: center; gap: clamp(20px, 3.4vw, 48px); }
.site-nav a { position: relative; font: 400 .76rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; padding: 12px 0; }
.site-nav > a::after, .has-menu > a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 1px; background: var(--brand);
  transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.site-nav > a:hover::after, .site-nav > a.on::after, .has-menu:hover > a::after, .has-menu > a.on::after { transform: scaleX(1); }
.has-menu { position: relative; display: flex; }
.menu {
  position: absolute; top: 100%; left: 50%; transform: translate(-50%, 6px); min-width: 210px; padding: 14px 0;
  background: var(--paper); border: 1px solid var(--line); box-shadow: 0 18px 40px -24px rgba(42, 39, 37, .35);
  opacity: 0; visibility: hidden; transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
}
.has-menu:hover .menu, .has-menu:focus-within .menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.menu a { display: block; padding: 11px 26px; letter-spacing: .16em; }
.menu a:hover { color: var(--brand); }
.header-tools { display: flex; align-items: center; gap: 18px; }
.search { display: flex; align-items: center; border-bottom: 1px solid transparent; transition: border-color .3s; }
.search:focus-within { border-color: var(--ink); }
.search input { width: 0; padding: 6px 0; border: 0; background: transparent; outline: none; font-size: .9rem; transition: width .35s var(--ease); }
.search:focus-within input, .search input:not(:placeholder-shown) { width: 150px; }
.search button, .nav-toggle { background: none; border: 0; padding: 6px; cursor: pointer; display: grid; place-items: center; }
.search button:hover, .cart-link:hover { color: var(--brand); }
.cart-link { position: relative; display: grid; place-items: center; padding: 6px; transition: color .25s; }
.cart-count {
  position: absolute; top: -2px; right: -6px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px;
  background: var(--brand); color: #fff; font: 500 .66rem/18px var(--sans); text-align: center; letter-spacing: 0;
}
.nav-toggle { display: none; }

.flash { font-size: .92rem; padding: 14px 0; text-align: center; border-bottom: 1px solid var(--line); }
.flash-success { background: #eef0e6; }
.flash-error { background: #f6e6e4; color: #7a1f30; }

/* ---------- sections ---------- */
.section { padding: clamp(64px, 9vw, 128px) 0; }
.section-tight { padding: clamp(32px, 4vw, 56px) 0 clamp(64px, 8vw, 112px); }
.section-tint { background: var(--ivory); }
.section-dark { background: var(--ink); color: #efe8dd; }
.section-dark .eyebrow { color: #c9b189; }
.section-head { margin-bottom: clamp(32px, 4vw, 56px); }
.section-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.page-head { padding: clamp(40px, 6vw, 80px) 0 0; }
.page-head h1 { font-size: clamp(2.2rem, 4.4vw, 3.6rem); }
.page-head .lede { margin-top: 1.2rem; }
.crumbs { display: flex; flex-wrap: wrap; gap: 10px; font-size: .8rem; letter-spacing: .08em; color: var(--taupe); margin-bottom: 1.6rem; }
.crumbs a:hover { color: var(--brand); }

/* ---------- product grid ---------- */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(28px, 3vw, 44px) clamp(16px, 2vw, 28px); }
.card-media { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; background: var(--sand); }
.card-media > img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.card:hover .card-media > img { transform: scale(1.04); }
.tag { position: absolute; top: 14px; left: 14px; background: var(--brand); color: #fff; font: 400 .66rem/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; padding: 7px 10px; }
.tag-muted { background: var(--paper); color: var(--ink); left: auto; right: 14px; }
.card-body { padding-top: 16px; }
.card-body h3 { font-size: 1.32rem; }
.card-body h3 a:hover { color: var(--brand); }
.card-meta { font-size: .8rem; letter-spacing: .06em; color: var(--taupe); margin: 4px 0 6px; min-height: 1.4em; }
.price { margin: 0; font-weight: 400; font-size: .98rem; letter-spacing: .04em; }
.price s { color: var(--taupe); margin-right: 8px; font-weight: 300; }
.price s + span { color: var(--brand); }
.price-lg { font-size: 1.35rem; margin: 14px 0 22px; }

/* ---------- instagram ---------- */
.insta-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: clamp(8px, 1vw, 14px); }
.insta-grid a { display: block; aspect-ratio: 1; overflow: hidden; background: var(--sand); }
.insta-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease), opacity .4s; }
.insta-grid a:hover img { transform: scale(1.05); opacity: .88; }

/* ---------- shop ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px 28px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.chips a { font: 400 .76rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; padding: 8px 0; color: var(--taupe); border-bottom: 1px solid transparent; transition: color .25s, border-color .25s; }
.chips a:hover { color: var(--ink); }
.chips a.on { color: var(--ink); border-color: var(--brand); }
.chips-sub { margin-top: 14px; gap: 8px 22px; border-bottom: 0; padding-bottom: 0; }
.chips-sub a { letter-spacing: .12em; font-size: .72rem; }
.filters { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 14px 28px; margin: 26px 0 34px; }
.filters-count { margin-right: auto; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; color: var(--taupe); }
.filters label { display: flex; align-items: center; gap: 10px; font-size: .76rem; letter-spacing: .16em; text-transform: uppercase; color: var(--taupe); }
select {
  appearance: none; background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' fill='none' stroke='%232a2725' stroke-width='1.2'%3E%3Cpath d='m1 1 4 4 4-4'/%3E%3C/svg%3E") no-repeat right 2px center;
  border: 0; border-bottom: 1px solid var(--stone); border-radius: 0; padding: 8px 24px 8px 0; font-size: .92rem; letter-spacing: .02em; text-transform: none; color: var(--ink); cursor: pointer;
}
select:hover, select:focus { border-color: var(--ink); }
.empty { max-width: 560px; margin: 0 auto; padding: clamp(40px, 7vw, 96px) 0; text-align: center; }
.empty h1, .empty h2 { margin-bottom: 1rem; }
.empty p { color: var(--ink-soft); }
.empty .actions { justify-content: center; }

/* ---------- product page ---------- */
.product { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.product-info { position: sticky; top: 108px; }
.picker-label { font-size: .76rem; letter-spacing: .2em; text-transform: uppercase; color: var(--taupe); margin-bottom: 12px; }
.picker-label strong { color: var(--ink); font-weight: 400; margin-left: 10px; letter-spacing: .1em; }
.thumbs { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--line); }
.thumb { width: 64px; aspect-ratio: 1; padding: 0; border: 0; background: var(--sand); cursor: pointer; overflow: hidden; opacity: .6; transition: opacity .25s; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb:hover, .thumb.on { opacity: 1; }
.product-info h1 { font-size: clamp(2.1rem, 3.6vw, 3.2rem); }
.prose p { color: var(--ink-soft); max-width: 36em; }
.buy { margin: 30px 0 18px; }
.qty-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; font-size: .76rem; letter-spacing: .2em; text-transform: uppercase; color: var(--taupe); }
.qty { display: inline-grid; grid-template-columns: 44px 52px 44px; border: 1px solid var(--stone); height: 46px; }
.qty button { background: none; border: 0; cursor: pointer; font-size: 1.1rem; transition: color .2s; }
.qty button:hover { color: var(--brand); }
.qty input { width: 100%; border: 0; background: transparent; text-align: center; font-weight: 400; -moz-appearance: textfield; outline-offset: -2px; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.buy-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.buy-actions .btn { padding: 0 12px; }
.specs { margin: 34px 0 0; border-top: 1px solid var(--line); }
.specs > div { display: grid; grid-template-columns: 170px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.specs dt { font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; color: var(--taupe); padding-top: 4px; }
.specs dd { margin: 0; font-weight: 400; }
.dims { display: flex; flex-wrap: wrap; gap: 6px 26px; }
.dims b { font-weight: 300; color: var(--taupe); margin-right: 6px; }
.details { margin-top: 34px; }
.details h2 { font-size: 1.5rem; margin-bottom: 12px; }
.notice { background: var(--ivory); border-left: 2px solid var(--metal); padding: 14px 18px; font-size: .94rem; }
.notice-error { border-color: var(--brand); background: #f6e6e4; }

/* ---------- cart & checkout ---------- */
.cart-layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: clamp(32px, 5vw, 80px); align-items: start; }
.cart-lines { border-top: 1px solid var(--line); }
.cart-line { display: grid; grid-template-columns: 112px 1fr auto; gap: 24px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.cart-thumb { display: block; aspect-ratio: 4 / 5; background: var(--sand); overflow: hidden; }
.cart-thumb img { width: 100%; height: 100%; object-fit: cover; }
.cart-thumb-sm { width: 56px; flex: none; }
.cart-line-info h2 { font-size: 1.4rem; margin-bottom: 6px; }
.cart-line-info h2 a:hover { color: var(--brand); }
.cart-line-info p { margin: 0; font-size: .9rem; }
.cart-line-actions { display: flex; align-items: center; gap: 22px; margin-top: 16px; }
.cart-line-actions .qty { height: 40px; grid-template-columns: 38px 44px 38px; }
.cart-line-total { font-weight: 400; margin: 4px 0 0; white-space: nowrap; }
.cart-lines > .link-back { margin-top: 28px; }
.summary { background: var(--ivory); padding: clamp(24px, 3vw, 36px); position: sticky; top: 108px; }
.summary h2 { font-size: 1.6rem; margin-bottom: 18px; }
.summary h3 { font: 400 .74rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--taupe); margin: 22px 0 10px; }
.summary dl { margin: 0 0 22px; }
.summary dl > div { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; font-size: .95rem; }
.summary dd { margin: 0; text-align: right; }
.summary-total { border-top: 1px solid var(--stone); margin-top: 8px; padding-top: 16px !important; font: 500 1.5rem/1.2 var(--serif); }
.summary-lines { margin-bottom: 14px; }
.summary-lines li { display: flex; align-items: center; gap: 14px; padding: 10px 0; font-size: .92rem; border-bottom: 1px solid var(--sand); }
.summary-line-name { flex: 1; line-height: 1.3; }
.summary-line-name small { display: block; color: var(--taupe); font-size: .8rem; }
.summary .link-back { margin-top: 20px; }
.summary .btn-ghost { margin-top: 8px; }
.checkout-form h2 { font-size: 1.6rem; margin: 40px 0 18px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.checkout-form h2:first-of-type { margin-top: 0; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.fields label { grid-column: 1 / -1; display: grid; gap: 8px; font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; color: var(--taupe); }
.fields label.half { grid-column: auto; }
.fields .muted, .fields .error-text { text-transform: none; letter-spacing: .01em; }
input[type=text], input[type=tel], input[type=email], input[type=password], input[type=number], textarea {
  width: 100%; border: 1px solid var(--stone); border-radius: 0; background: #fff; padding: 13px 14px;
  font-size: 1rem; letter-spacing: .01em; text-transform: none; color: var(--ink); transition: border-color .25s;
}
input:focus, textarea:focus { border-color: var(--ink); outline: none; }
.has-error input, .has-error textarea { border-color: var(--brand); }
textarea { resize: vertical; min-height: 96px; }
.delivery-list { margin-top: 20px; border-top: 1px solid var(--line); }
.delivery-list li { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; font-size: .92rem; border-bottom: 1px solid var(--line); }
.delivery-list li span:last-child { color: var(--taupe); white-space: nowrap; }
.pay-method { display: flex; gap: 18px; align-items: flex-start; border: 1px solid var(--stone); padding: 20px; background: #fff; }
.pay-method strong { font-weight: 400; }
.pay-method p { margin: 4px 0 0; font-size: .9rem; }
.pay-badge { display: inline-block; border: 1px solid currentColor; padding: 5px 10px 4px; font: 500 .82rem/1 var(--sans); font-style: italic; letter-spacing: .12em; }
.pay-badge-off { opacity: .45; }
.order-status { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); margin-bottom: 28px; }
.order-status > div { padding: 18px 20px; }
.order-status > div + div { border-left: 1px solid var(--line); }
.order-status span { display: block; font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--taupe); margin-bottom: 6px; }
.order-status strong { font: 500 1.35rem/1.2 var(--serif); }
.order-status .ok { color: #46603f; }
.pay-retry { margin-bottom: 28px; }

/* ---------- about & contact ---------- */
.about { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(32px, 7vw, 112px); align-items: center; }
.about-media { aspect-ratio: 4 / 5; background: var(--sand); overflow: hidden; }
.about-media img { width: 100%; height: 100%; object-fit: cover; }
.about-copy p { font-size: 1.08rem; }
.about-tagline { width: min(300px, 70%); margin-top: 2rem; }
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 28px); }
.contact-card { display: grid; gap: 14px; align-content: start; justify-items: start; padding: clamp(24px, 3vw, 40px); border: 1px solid var(--line); transition: border-color .3s, background .3s; }
.contact-card:hover { border-color: var(--ink); background: var(--ivory); }
.contact-card .eyebrow { margin: 0; }
.contact-card strong { font: 500 clamp(1.3rem, 2vw, 1.7rem)/1.2 var(--serif); overflow-wrap: anywhere; }
.info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); margin-top: clamp(48px, 6vw, 88px); }
.info-grid h2 { font-size: 1.8rem; margin: 0 0 14px; }
.info-grid h2:not(:first-child) { margin-top: 36px; }
.info-grid p { color: var(--ink-soft); }

/* ---------- footer ---------- */
.site-footer { background: #211f1d; color: rgba(239, 232, 221, .74); font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1.2fr .9fr 1.3fr 1.3fr; gap: clamp(28px, 4vw, 56px); padding-top: clamp(56px, 7vw, 96px); padding-bottom: clamp(40px, 5vw, 64px); }
.footer-brand img:first-child { width: 132px; }
.footer-tagline { width: 190px; margin-top: 26px; opacity: .8; }
.site-footer h2 { font: 400 .72rem/1 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: #c9b189; margin-bottom: 20px; }
.site-footer li { margin-bottom: 9px; overflow-wrap: anywhere; }
.site-footer a { transition: color .25s; }
.site-footer a:hover { color: #fff; }
.site-footer p { margin: 0 0 14px; line-height: 1.65; }
.footer-base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding-top: 22px; padding-bottom: 26px; border-top: 1px solid rgba(239, 232, 221, .14); font-size: .8rem; letter-spacing: .06em; }

/* ---------- floating WhatsApp ---------- */
.wa-float {
  position: fixed; right: clamp(16px, 2.4vw, 28px); bottom: clamp(16px, 2.4vw, 28px); z-index: 50;
  width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center;
  background: var(--ink); color: #f4eee5; box-shadow: 0 10px 28px -10px rgba(0, 0, 0, .5);
  transition: background .3s var(--ease), transform .3s var(--ease);
}
.wa-float:hover { background: #1f8f55; transform: translateY(-2px); }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-brand { grid-column: 1 / -1; }
  .cart-layout { grid-template-columns: minmax(0, 1fr) 330px; }
}
@media (max-width: 860px) {
  body { font-size: 16px; }
  .header-row { grid-template-columns: auto 1fr auto; gap: 12px; min-height: 68px; }
  .logo { justify-self: center; }
  .logo img { height: 42px; }
  .nav-toggle { display: grid; }
  .site-nav {
    position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0; padding: 8px var(--gutter) 20px;
    background: var(--paper); border-bottom: 1px solid var(--line); display: none;
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 16px 0; border-bottom: 1px solid var(--line); }
  .site-nav > a::after, .has-menu > a::after { display: none; }
  .has-menu { flex-direction: column; }
  .menu { position: static; transform: none !important; opacity: 1; visibility: visible; border: 0; box-shadow: none; padding: 0 0 0 18px; background: none; }
  .menu a { padding: 13px 0; color: var(--taupe); }
  .search:focus-within input, .search input:not(:placeholder-shown) { width: 104px; }
  .header-tools { gap: 6px; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .about, .product, .cart-layout, .info-grid { grid-template-columns: 1fr; }
  .product-info, .summary { position: static; }
  .insta-grid { grid-template-columns: repeat(3, 1fr); }
  .insta-grid a:nth-child(n+4) { display: none; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .filters { justify-content: flex-start; }
  .filters-count { width: 100%; }
}
@media (max-width: 520px) {
  .btn { padding: 0 24px; }
  .card-body h3 { font-size: 1.15rem; }
  .cart-line { grid-template-columns: 84px 1fr; gap: 16px; }
  .cart-line-total { grid-column: 2; margin: 0; }
  .fields label.half { grid-column: 1 / -1; }
  .specs > div { grid-template-columns: 1fr; gap: 4px; }
  .order-status { grid-template-columns: 1fr; }
  .order-status > div + div { border-left: 0; border-top: 1px solid var(--line); }
  .footer-grid { grid-template-columns: 1fr; }
  .buy-actions { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* =====================================================================
   Homepage (editorial layout), colour dots, WhatsApp buttons,
   product gallery with zoom / fullscreen / 360° view, contact icons
   ===================================================================== */

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
html.no-scroll { overflow: hidden; }
.no-photo { display: grid; place-items: center; width: 100%; height: 100%; background: var(--sand); }
.no-photo img { width: 34% !important; height: auto !important; object-fit: contain !important; opacity: .28; filter: grayscale(1); transform: none !important; }

/* ---------- entrance animations (only when scripts run; off for reduced motion) ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes unveil { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes settle { from { transform: scale(1.08); } to { transform: none; } }
.js .rise { opacity: 0; animation: rise 1s var(--ease) var(--d, 0s) forwards; }
.js .unveil { clip-path: inset(0 0 100% 0); animation: unveil 1.3s var(--ease) var(--d, 0s) forwards; }
.js .unveil img { animation: settle 1.9s var(--ease) var(--d, 0s) both; }
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity 1s var(--ease) var(--d, 0s), transform 1s var(--ease) var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- masthead ---------- */
/* Left: text and signature. Right: the main photograph, with a smaller one hanging off its
   lower-left corner into two empty columns, so nothing ever sits on top of the text. */
.masthead { background: var(--ivory); overflow: hidden; }
.masthead-grid {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(12px, 2vw, 28px); align-items: center;
  padding-top: clamp(28px, 4vw, 64px); padding-bottom: clamp(84px, 9vw, 136px);
}
.masthead-copy { grid-column: 1 / span 5; }
.masthead-copy h1 { font-size: clamp(2.8rem, 5.6vw, 5.4rem); line-height: 1; letter-spacing: -.01em; margin-bottom: 1.6rem; }
.masthead-copy h1 em { font-style: italic; font-weight: 400; color: var(--brand); }
/* On the homepage the header shares the banner's tone, so the two read as one opening spread. */
body:has(.masthead) .site-header { background: rgba(244, 238, 229, .94); border-bottom-color: transparent; }
.masthead-copy .lede { max-width: 25em; }
.masthead-copy .actions { align-items: center; gap: 30px; }
.masthead-sign { display: block; width: clamp(180px, 19vw, 270px); height: auto; margin-top: clamp(32px, 4.5vw, 64px); }
.masthead-art { grid-column: 7 / -1; position: relative; }
.masthead-main { margin: 0; aspect-ratio: 4 / 5; max-height: 78vh; width: 100%; background: var(--sand); overflow: hidden; }
.masthead-side {
  position: absolute; left: -20%; bottom: clamp(-72px, -5vw, -36px); width: 38%; margin: 0; aspect-ratio: 1; z-index: 2;
  background: var(--sand); overflow: hidden; box-shadow: 0 0 0 clamp(8px, 1vw, 14px) var(--ivory);
}
.masthead-main img, .masthead-side img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- statement ---------- */
.statement { padding: clamp(80px, 11vw, 168px) 0; text-align: center; }
.statement .wrap { max-width: 980px; }
.statement-mark { width: 74px; margin: 0 auto 34px; }
.statement-text { font: 400 clamp(1.7rem, 3.1vw, 2.7rem)/1.28 var(--serif); margin: 0 auto 1.4rem; text-wrap: balance; }
.statement-note { font: 400 italic clamp(1.15rem, 1.6vw, 1.4rem)/1.5 var(--serif); color: var(--taupe); margin-bottom: 2.4rem; }

/* ---------- the collection: category index ---------- */
.rooms { padding: 0 0 clamp(80px, 10vw, 152px); }
.rooms-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(32px, 7vw, 120px); align-items: center; }
.rooms-list .eyebrow { margin-bottom: 1.6rem; }
.room {
  display: grid; grid-template-columns: 3.2rem 1fr auto; align-items: baseline; gap: 12px;
  padding: clamp(16px, 2vw, 26px) 0; border-top: 1px solid var(--line); color: var(--taupe);
  transition: color .45s var(--ease), padding .45s var(--ease), opacity 1s var(--ease) var(--d, 0s), transform 1s var(--ease) var(--d, 0s);
}
.room:last-of-type { border-bottom: 1px solid var(--line); }
.room-num { font: 400 .74rem/1 var(--sans); letter-spacing: .22em; transition: color .45s; }
.room-name { font: 500 clamp(2.6rem, 5.6vw, 5.2rem)/1 var(--serif); letter-spacing: -.01em; }
.room-meta { font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; white-space: nowrap; }
.room-meta::after { content: "\2192"; display: inline-block; margin-left: 12px; opacity: 0; transform: translateX(-8px); transition: opacity .4s, transform .4s var(--ease); }
.room.on, .room:hover, .room:focus-visible { color: var(--ink); padding-left: clamp(8px, 1.4vw, 22px); }
.room.on .room-num, .room:hover .room-num { color: var(--brand); }
.room.on .room-meta::after, .room:hover .room-meta::after { opacity: 1; transform: none; }
.room-thumb { display: none; }
.rooms-all { margin-top: 2.4rem; }
.rooms-stage { position: relative; aspect-ratio: 4 / 5; max-height: 80vh; width: 100%; justify-self: end; background: var(--sand); overflow: hidden; }
.rooms-shot { position: absolute; inset: 0; opacity: 0; transition: opacity .9s var(--ease); }
.rooms-shot.on { opacity: 1; }
.rooms-shot > img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.05); transition: transform 1.8s var(--ease); }
.rooms-shot.on > img { transform: none; }
.rooms-caption { position: absolute; left: 0; bottom: 0; background: var(--paper); padding: 12px 20px 10px 0; font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; color: var(--ink-soft); }

/* ---------- materials ---------- */
.mat { background: var(--ink); color: #efe8dd; padding: clamp(72px, 9vw, 136px) 0; }
.mat .eyebrow { color: #c9b189; }
.mat-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 7vw, 112px); align-items: center; }
.mat-photo { margin: 0; }
.mat-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: #3a3633; }
.mat-photo figcaption { margin-top: 14px; font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: rgba(239, 232, 221, .6); }
.mat-copy h2 { font-size: clamp(2.1rem, 3.8vw, 3.4rem); margin-bottom: clamp(28px, 3.4vw, 48px); }
.mat-list { list-style: none; margin: 0; padding: 0; }
.mat-list li { display: grid; grid-template-columns: 3.2rem 1fr; gap: 12px; padding: 22px 0; border-top: 1px solid rgba(239, 232, 221, .16); }
.mat-list li:last-child { border-bottom: 1px solid rgba(239, 232, 221, .16); }
.mat-num { font: 400 .74rem/1 var(--sans); letter-spacing: .22em; color: #c9b189; padding-top: .7rem; }
.mat-list h3 { font-size: clamp(1.6rem, 2.4vw, 2.1rem); margin-bottom: 6px; }
.mat-list h3 em { font: 400 .66rem/1 var(--sans); font-style: normal; letter-spacing: .22em; text-transform: uppercase; color: #c9b189; border: 1px solid rgba(201, 177, 137, .5); padding: 5px 8px 4px; margin-left: 12px; vertical-align: middle; }
.mat-list p { margin: 0; font-size: .96rem; color: rgba(239, 232, 221, .72); max-width: 34em; }

/* ---------- colour dots ---------- */
.swatches { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; margin-top: 13px; min-height: 26px; }
.swatch {
  flex: none; display: block; width: 22px; height: 22px; padding: 0; border-radius: 50%; cursor: pointer;
  border: 1px solid rgba(42, 39, 37, .2); background: var(--sand) center / cover no-repeat;
  outline: 1px solid transparent; outline-offset: 3px; transition: outline-color .25s var(--ease), transform .25s var(--ease);
}
.swatch:hover { outline-color: var(--stone); }
.swatch.on { outline-color: var(--ink); }
.swatch:focus-visible { outline: 1.5px solid var(--brand); }
.swatch-name { margin-left: 4px; font-size: .76rem; letter-spacing: .06em; color: var(--taupe); }
.swatches-lg { gap: 16px; margin-top: 0; }
.swatches-lg .swatch { width: 40px; height: 40px; }
.swatch-option { position: relative; display: block; cursor: pointer; }
.swatch-option input { position: absolute; inset: 0; opacity: 0; cursor: pointer; margin: 0; }
.swatch-option:hover .swatch { outline-color: var(--stone); }
.swatch-option input:checked + .swatch { outline-color: var(--ink); }
.swatch-option input:focus-visible + .swatch { outline: 1.5px solid var(--brand); }
.colour-picker { margin-top: 22px; }

/* ---------- WhatsApp enquiry buttons ---------- */
.card { display: flex; flex-direction: column; min-width: 0; }
.card-body { flex: 1; }
.wa-btn {
  display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; margin-top: 14px; padding: 0 14px;
  border: 1px solid var(--stone); color: var(--ink); font: 400 .72rem/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; text-align: center;
  transition: background .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease);
}
.wa-btn .wa-icon { flex: none; color: #1a9e55; transition: color .3s var(--ease); }
.wa-btn:hover { background: #177a48; border-color: #177a48; color: #fff; }
.wa-btn:hover .wa-icon { color: #fff; }
.wa-btn-lg { min-height: 60px; margin-top: 12px; background: #177a48; border-color: #177a48; color: #fff; font-size: .8rem; letter-spacing: .2em; }
.wa-btn-lg .wa-icon { color: #fff; }
.wa-btn-lg:hover { background: #115c36; border-color: #115c36; }
.wa-float { width: 58px; height: 58px; }

/* ---------- product gallery ---------- */
.stage { position: relative; background: var(--sand); overflow: hidden; max-height: min(72vh, 800px); margin: 0 auto; }
.stage .no-photo { aspect-ratio: 4 / 5; }
.stage-photo { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.stage-photo img { width: 100%; height: 100%; object-fit: cover; transition: opacity .35s var(--ease); }
.stage-photo img.swap { opacity: 0; }
.stage-nav {
  position: absolute; top: 50%; width: 44px; height: 44px; margin-top: -22px; border: 0; border-radius: 50%; cursor: pointer;
  display: grid; place-items: center; background: rgba(251, 248, 243, .92); color: var(--ink); z-index: 3;
  opacity: 0; transition: opacity .3s var(--ease), background .3s;
}
.stage-prev { left: 14px; }
.stage-next { right: 14px; }
.stage:hover .stage-nav, .stage-nav:focus-visible { opacity: 1; }
.stage-nav:hover { background: #fff; }
.stage.spinning .stage-nav { display: none; }
.stage-tools { position: absolute; right: 14px; bottom: 14px; display: flex; gap: 8px; z-index: 4; }
.tool {
  display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px; border: 0; cursor: pointer;
  background: rgba(251, 248, 243, .94); color: var(--ink); font: 400 .7rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase;
  transition: background .3s, color .3s;
}
.tool:hover, .tool[aria-pressed=true] { background: var(--ink); color: var(--paper); }
.spin { position: absolute; inset: 0; z-index: 2; background: var(--sand); cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.spin:active { cursor: grabbing; }
.spin img { width: 100%; height: 100%; object-fit: contain; pointer-events: none; }
.spin-hint {
  position: absolute; left: 50%; top: 18px; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; background: rgba(42, 39, 37, .82); color: #f4eee5; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; white-space: nowrap;
  transition: opacity .5s var(--ease); pointer-events: none;
}
.spin-hint.gone { opacity: 0; }
@media (hover: none) { .stage-nav { opacity: 1; } }

/* ---------- fullscreen viewer ---------- */
.lightbox { position: fixed; inset: 0; z-index: 100; background: #1b1917; color: #efe8dd; }
.lb-stage { position: absolute; inset: 60px 0 0; display: grid; place-items: center; overflow: hidden; touch-action: none; }
.lb-stage img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; cursor: zoom-in; transition: transform .3s var(--ease); user-select: none; -webkit-user-select: none; }
.lightbox.zoomed .lb-stage img { cursor: zoom-out; }
.lb-bar { position: absolute; top: 0; left: 0; right: 0; height: 60px; display: flex; align-items: center; justify-content: flex-end; gap: 6px; padding: 0 clamp(12px, 2vw, 28px); }
.lb-count { margin-right: auto; font-size: .78rem; letter-spacing: .2em; color: rgba(239, 232, 221, .7); }
.lb-btn { background: none; border: 0; padding: 10px 12px; cursor: pointer; color: #efe8dd; font: 400 .72rem/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; transition: color .25s; }
.lb-btn:hover { color: #c9b189; }
.lb-nav {
  position: absolute; top: 50%; width: 52px; height: 52px; margin-top: -4px; border: 0; border-radius: 50%; cursor: pointer;
  background: rgba(239, 232, 221, .1); color: #efe8dd; font: 300 2rem/1 var(--serif); transition: background .25s;
}
.lb-nav:hover { background: rgba(239, 232, 221, .22); }
.lb-prev { left: clamp(8px, 2vw, 28px); }
.lb-next { right: clamp(8px, 2vw, 28px); }
.lightbox.zoomed .lb-nav { display: none; }

/* ---------- contact icons ---------- */
.contact-icon { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; color: #fff; margin-bottom: 6px; }
.contact-icon-wa { background: #25d366; }
.contact-icon-ig { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%); }
.contact-icon-mail { background: var(--ink); }

/* ---------- responsive ---------- */
@media (max-width: 860px) {
  .masthead-grid { grid-template-columns: 1fr; row-gap: 36px; padding-top: 28px; padding-bottom: 84px; }
  .masthead-copy, .masthead-art { grid-column: 1; }
  .masthead-main { max-height: none; aspect-ratio: 4 / 4.6; }
  .masthead-side { left: auto; right: 5%; bottom: -44px; width: 42%; }
  .masthead-sign { width: 190px; margin-top: 26px; }
  .rooms-grid { grid-template-columns: 1fr; }
  .rooms-stage { display: none; }
  .rooms-list { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 16px; }
  .rooms-list .eyebrow, .rooms-all { grid-column: 1 / -1; margin: 0; justify-self: start; }
  .room, .room:last-of-type { grid-template-columns: auto 1fr; gap: 4px 10px; padding: 0; border: 0; color: var(--ink); }
  .room.on, .room:hover { padding-left: 0; }
  .room-thumb { display: block; grid-column: 1 / -1; grid-row: 1; aspect-ratio: 3 / 4; overflow: hidden; background: var(--sand); margin-bottom: 10px; }
  .room-thumb img { width: 100%; height: 100%; object-fit: cover; }
  .room-name { font-size: 1.7rem; grid-column: 2; }
  .room-num { grid-column: 1; }
  .room-meta { grid-column: 1 / -1; color: var(--taupe); font-size: .68rem; }
  .room-meta::after { display: none; }
  .mat-grid { grid-template-columns: 1fr; }
  .stage { max-height: none; }
  .wa-btn { letter-spacing: .12em; font-size: .68rem; min-height: 46px; }
  .wa-btn-lg { font-size: .78rem; min-height: 58px; }
  .lb-btn { padding: 10px 8px; letter-spacing: .12em; }
}
@media (max-width: 520px) {
  .masthead-copy h1 { font-size: clamp(2.7rem, 13vw, 3.4rem); }
  .card .wa-btn { gap: 7px; padding: 6px; letter-spacing: .06em; font-size: .64rem; line-height: 1.25; }
  .tool span { display: none; }
  .tool { padding: 0 11px; }
  .tool#toggle-spin span { display: inline; }
}
@media (prefers-reduced-motion: reduce) {
  .js .rise, .js .unveil, .js .unveil img { animation: none; opacity: 1; clip-path: none; }
  .js .reveal { opacity: 1; transform: none; }
}

/* Livewire: content being refreshed */
.is-loading { opacity: .55; pointer-events: none; transition: opacity .15s; }
