/* Kerry Crauser Interiors · Shop the Look · shared chrome (site header/footer, buttons, quick view) */
:root {
  --stone: #e9e9e3;      /* site body background */
  --stone-2: #dfdfd7;
  --white: #ffffff;
  --gold: #9a7937;       /* site link / heading gold */
  --gold-deep: #745b27;  /* site active link */
  --gold-soft: #c9b58a;
  --ink: #2a2622;        /* warm ink for body copy (site uses gold body text; ink used where legibility matters) */
  --ink-2: #6b625a;
  --line: rgba(116, 91, 39, .22);
  --page: var(--stone);
  --surface: var(--white);
  --text: var(--ink);
  --muted: var(--ink-2);
  --display: 'Cinzel', Georgia, 'Times New Roman', serif;
  --body: 'Poppins', Helvetica, Arial, sans-serif;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --z-sticky: 20; --z-drawer: 40; --z-modal: 60;
  color-scheme: light;
}
.kc-stl, .kc-stl *, .qv, .qv *, .lb, .lb * { box-sizing: border-box; }

.kc-stl, .qv, .lb { margin: 0; background: var(--page); color: var(--text); font-family: var(--body); font-weight: 300; font-size: 15px; line-height: 1.7; }
.kc-stl img, .qv img, .lb img { max-width: 100%; display: block; }
.kc-stl button, .qv button, .lb button { font: inherit; color: inherit; }
.kc-stl a, .qv a { color: var(--gold-deep); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.kc-stl h1, .kc-stl h2, .kc-stl h3, .qv h2 { text-wrap: balance; padding-bottom: 0; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Site header (replica of the Divi split header) ---------- */
.kc-head { background: var(--stone); position: sticky; top: 0; z-index: var(--z-sticky); border-bottom: 1px solid rgba(116,91,39,.1); }
.kc-head .wrap { max-width: 1240px; margin: 0 auto; padding: 0 24px; height: 100px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; }
.kc-nav { display: flex; gap: 26px; list-style: none; margin: 0; padding: 0; }
.kc-nav.l { justify-content: flex-end; }
.kc-nav a { font-family: var(--body); font-weight: 500; font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--gold); text-decoration: none; padding: 6px 0; border-bottom: 1px solid transparent; transition: color .2s, border-color .2s; }
.kc-nav a:hover { color: var(--gold-deep); }
.kc-nav a[aria-current="page"] { color: var(--gold-deep); border-bottom-color: var(--gold-deep); }
.kc-logo { display: block; margin: 0 40px; }
.kc-logo img { height: 56px; width: auto; }
.kc-burger { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.kc-burger span { display: block; width: 24px; height: 2px; background: var(--gold); margin: 5px 0; }
@media (max-width: 980px) {
  .kc-head .wrap { height: 72px; grid-template-columns: auto 1fr auto; }
  .kc-nav { display: none; }
  .kc-logo { margin: 0; justify-self: start; }
  .kc-logo img { height: 40px; }
  .kc-burger { display: block; justify-self: end; grid-column: 3; }
  .kc-head .wrap::before { content: ''; }
}

/* ---------- Site footer strip ---------- */
.kc-foot { background: var(--stone); color: var(--gold); border-top: 1px solid rgba(116,91,39,.14); }
.kc-foot .wrap { max-width: 1240px; margin: 0 auto; padding: 36px 24px; display: flex; flex-wrap: wrap; gap: 16px 32px; justify-content: space-between; align-items: center; font-size: 13px; letter-spacing: .4px; }
.kc-foot a { color: var(--gold); text-decoration: none; }
.kc-foot nav { display: flex; gap: 22px; flex-wrap: wrap; }

/* ---------- Buttons (site: Cinzel, 1px border, 30px radius, tracked) ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 26px; border-radius: 30px; font-family: var(--display); font-weight: 500; font-size: 14px; letter-spacing: 1.5px; text-transform: uppercase; text-decoration: none; cursor: pointer; border: 1px solid var(--gold); transition: background .25s, color .25s, border-color .25s, transform .25s var(--ease); white-space: nowrap; }
.btn-solid { background: var(--gold); color: var(--white); }
.btn-solid:hover { background: var(--gold-deep); border-color: var(--gold-deep); }
.btn-ghost { background: transparent; color: var(--gold); }
.btn-ghost:hover { background: rgba(154,121,55,.08); color: var(--gold-deep); }
.btn:active { transform: translateY(1px); }

/* ---------- Colourway swatches ---------- */
.sw { width: 26px; height: 26px; padding: 3px; border-radius: 50%; border: 1px solid transparent; background: none; cursor: pointer; display: inline-grid; place-items: center; transition: border-color .2s, transform .2s var(--ease); }
.sw span { display: block; width: 100%; height: 100%; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0,0,0,.12); }
.sw:hover { transform: scale(1.08); }
.sw.is-on { border-color: var(--gold); }
.sw-lg { width: 34px; height: 34px; padding: 4px; }

/* ---------- Hotspots on lifestyle photographs ---------- */
.hs { position: absolute; width: 44px; height: 44px; margin: -22px 0 0 -22px; border: 0; background: none; padding: 0; cursor: pointer; }
.hs i { position: absolute; inset: 11px; border-radius: 50%; background: #ffffff50; mix-blend-mode: color-dodge; box-shadow: 0 0 0 1.5px #ffffff80, 0 2px 12px rgba(0,0,0,.25); transition: transform .3s var(--ease); }
.hs::before { content: ''; position: absolute; inset: 5px; border-radius: 50%; border: 1px solid #ffffff80; mix-blend-mode: color-dodge; animation: hs-pulse 2.4s var(--ease) infinite; }
.hs:hover i, .hs:focus-visible i { transform: scale(1.25); }
@keyframes hs-pulse { 0% { transform: scale(.6); opacity: .9; } 100% { transform: scale(1.7); opacity: 0; } }

/* ---------- Lightbox (full image) ---------- */
html.lb-open { overflow: hidden; }
.lb { border: 0; padding: 0; margin: auto; width: 100vw; height: 100vh; height: 100dvh; max-width: none; max-height: none; background: transparent; z-index: 70; display: grid; place-items: center; }
.lb::backdrop { background: rgba(20, 17, 14, .88); }
.lb[open] { animation: qv-in .35s var(--ease); }
.lb-fig { margin: 0; display: grid; gap: 12px; justify-items: center; max-width: 96vw; }
.lb-fig img { max-width: 96vw; max-height: 86vh; max-height: 86dvh; width: auto; height: auto; object-fit: contain; box-shadow: 0 30px 80px rgba(0,0,0,.5); background: #2a2622; transition: opacity .25s; }
.lb-fig img.is-loading { opacity: .4; }
.lb-fig figcaption { color: #e9e9e3; font-size: 13px; letter-spacing: .6px; text-align: center; }
.lb-x { position: fixed; top: 14px; right: 14px; width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255,255,255,.12); color: #fff; font-size: 30px; line-height: 1; cursor: pointer; backdrop-filter: blur(6px); }
.lb-x:hover { background: rgba(255,255,255,.22); }
.lb-nav { position: fixed; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; border-radius: 50%; border: 0; background: rgba(255,255,255,.12); color: #fff; font-size: 22px; cursor: pointer; backdrop-filter: blur(6px); }
.lb-nav:hover { background: rgba(255,255,255,.22); }
.lb-nav[hidden] { display: none; }
.lb-prev { left: 14px; } .lb-next { right: 14px; }
@media (max-width: 760px) { .lb-nav { top: auto; bottom: 18px; transform: none; width: 46px; height: 46px; } .lb-prev { left: 18px; } .lb-next { right: 18px; } .lb-fig img { max-height: 76dvh; } }

/* ---------- Quick view dialog ---------- */
html.qv-open { overflow: hidden; }
.qv { border: 0; padding: 0; margin: auto; width: min(1080px, calc(100vw - 32px)); max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); background: var(--surface); color: var(--text); box-shadow: 0 30px 80px rgba(0,0,0,.35); overflow: hidden; z-index: var(--z-modal); }
.qv::backdrop { background: rgba(28, 24, 20, .62); backdrop-filter: blur(2px); }
.qv[open] { animation: qv-in .5s var(--ease); }
@keyframes qv-in { from { opacity: 0; transform: translateY(14px) scale(.985); } to { opacity: 1; transform: none; } }
.qv-inner { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); overflow: auto; overscroll-behavior: contain; }
.qv-close { position: absolute; top: 12px; right: 12px; z-index: 2; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--surface); color: var(--text); font-size: 26px; line-height: 1; cursor: pointer; box-shadow: 0 2px 10px rgba(0,0,0,.15); }
.qv-media { background: var(--stone-2); position: sticky; top: 0; align-self: start; }
.qv-fig { margin: 0; aspect-ratio: 1 / 1; max-width: 100%; overflow: hidden; }
.qv-fig img { width: 100%; height: 100%; object-fit: cover; }
.qv-zoom { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.qv-thumbs { display: flex; gap: 8px; padding: 12px; }
.qv-th { width: 64px; height: 64px; padding: 0; border: 1px solid transparent; background: none; cursor: pointer; overflow: hidden; }
.qv-th img { width: 100%; height: 100%; object-fit: cover; }
.qv-th.is-on { border-color: var(--gold); }
.qv-body { padding: 44px 40px 36px; }
.qv-cat { margin: 0 0 6px; font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: var(--gold); font-weight: 500; }
.qv-title { margin: 0 0 8px; font-family: var(--display); font-weight: 500; font-size: 30px; line-height: 1.15; color: var(--gold); letter-spacing: .5px; }
.qv-price { margin: 0 0 18px; font-family: var(--display); font-size: 18px; color: var(--text); font-variant-numeric: tabular-nums; }
.qv-desc { margin: 0 0 24px; max-width: 58ch; color: var(--text); }
.qv-row { display: grid; gap: 8px; padding: 16px 0; border-top: 1px solid var(--line); }
.qv-lab { font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); }
.qv-lab b { color: var(--text); font-weight: 500; letter-spacing: 0; text-transform: none; font-size: 14px; margin-left: 8px; }
.qv-sw { display: flex; flex-wrap: wrap; gap: 6px; }
.qv-sizes { display: grid; gap: 6px; }
.qv-size { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: baseline; padding: 10px 14px; border: 1px solid var(--line); cursor: pointer; transition: border-color .2s, background .2s; }
.qv-size input { position: absolute; opacity: 0; pointer-events: none; }
.qv-size.is-on { border-color: var(--gold); background: rgba(154,121,55,.06); }
.qv-size-l { font-weight: 500; }
.qv-size-d { color: var(--muted); font-size: 13px; font-variant-numeric: tabular-nums; }
.qv-size-p { font-family: var(--display); font-size: 15px; font-variant-numeric: tabular-nums; }
.qv-spec { margin: 0; padding: 16px 0 6px; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.qv-spec div { display: grid; grid-template-columns: 110px 1fr; gap: 12px; font-size: 14px; }
.qv-spec dt { color: var(--muted); font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; padding-top: 3px; }
.qv-spec dd { margin: 0; }
.qv-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0 14px; }
.qv-fine { margin: 0; font-size: 12px; color: var(--muted); line-height: 1.6; }
.qv-back { border: 0; background: none; padding: 0; margin: 0 0 18px; color: var(--gold); cursor: pointer; font-size: 13px; letter-spacing: .5px; }
.qv-sum { margin: 0 0 20px; }
.qv-form .f { display: grid; gap: 6px; margin-bottom: 14px; }
.qv-form label { font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); }
.qv-form label span { text-transform: none; letter-spacing: 0; opacity: .7; margin-left: 6px; }
.qv-form input, .qv-form textarea { width: 100%; font: inherit; padding: 12px 14px; border: 1px solid var(--line); background: var(--surface); color: var(--text); border-radius: 0; }
.qv-form input:focus, .qv-form textarea:focus { outline: 2px solid var(--gold); outline-offset: 0; border-color: var(--gold); }
.qv-form textarea { resize: vertical; }
.qv-err { color: #8c2f2a; font-size: 13px; margin: 0 0 8px; }
.qv-done { padding: 12px 0; display: grid; gap: 14px; justify-items: start; }
.qv-done-t { font-family: var(--display); font-size: 24px; color: var(--gold); margin: 0; }
.qv-done p { margin: 0; }
@media (max-width: 860px) {
  .qv { width: calc(100vw - 16px); max-height: calc(100dvh - 16px); }
  .qv-inner { grid-template-columns: 1fr; }
  .qv-media { position: relative; }
  .qv-fig { aspect-ratio: 4 / 3; }
  .qv-fig.is-room { aspect-ratio: 1 / 1; }
  .qv-body { padding: 26px 20px 30px; }
  .qv-title { font-size: 24px; }
  .qv-spec div { grid-template-columns: 1fr; gap: 2px; }
  .qv-cta .btn { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hs::before { animation: none; }
  .qv[open] { animation: none; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* Inside the Divi theme */
.kc-stl p, .qv p { padding-bottom: 0; }
.kc-stl { position: relative; }
#et-main-area .kc-stl .bar { top: var(--kc-top, 0px); }
