/* ============================================================
   USA Liquidation — store site
   Styles are swappable: <html data-style="showroom|clean|warm|night">
   ============================================================ */

:root,
[data-style="showroom"] {
  --bg: #F7F3EC;
  --surface: #FFFFFF;
  --surface-2: #EFE9DF;
  --ink: #16213A;
  --muted: #5E6676;
  --line: #E3DCD0;
  --brand: #1B2B57;        /* logo navy */
  --brand-ink: #FFFFFF;
  --accent: #C62032;       /* logo red */
  --accent-soft: #F8E3E5;
  --good: #2F7D4F;
  --warn: #B7791F;
  --font-head: "Manrope", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, sans-serif;
  --head-weight: 800;
  --head-track: -0.03em;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(22,33,58,.06), 0 8px 24px rgba(22,33,58,.06);
  --logo-light: block; --logo-dark: none;
}

[data-style="night"] {
  --bg: #0E1525;
  --surface: #162038;
  --surface-2: #1D2944;
  --ink: #EEF1F7;
  --muted: #9AA5BD;
  --line: #26324F;
  --brand: #E9EDF6;
  --brand-ink: #0E1525;
  --accent: #EF4C55;
  --accent-soft: #3A1E2A;
  --good: #4FBF83;
  --warn: #E6B450;
  --font-head: "Manrope", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, sans-serif;
  --head-weight: 800;
  --head-track: -0.03em;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(0,0,0,.25);
  --logo-light: none; --logo-dark: block;
}

/* ---------- base ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: var(--head-weight);
  letter-spacing: var(--head-track);
  line-height: 1.12;
  margin: 0 0 .5em;
}
h1 { font-size: clamp(2.3rem, 5.2vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.muted { color: var(--muted); }
.eyebrow {
  display: inline-block;
  font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--accent); margin-bottom: .9rem;
}
.lead { font-size: 1.15rem; color: var(--muted); max-width: 46ch; }
.section { padding: 88px 0; }
.section.tight { padding: 56px 0; }
.section-alt { background: var(--surface-2); }
.section-head { max-width: 640px; margin-bottom: 40px; }
.section-head.center { text-align: center; margin-inline: auto; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .85em 1.4em; border-radius: 999px;
  font: 600 .98rem/1 var(--font-body); text-decoration: none;
  border: 1.5px solid transparent; cursor: pointer; white-space: nowrap;
  transition: transform .15s, background .15s, border-color .15s, color .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--brand); color: var(--brand-ink, #fff); }
.btn-accent  { background: var(--accent); color: #fff; }
.btn-ghost   { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-sm { padding: .6em 1em; font-size: .88rem; }
.btn-block { width: 100%; }
.btn svg { width: 1.1em; height: 1.1em; flex: none; }

/* ---------- top bar + header ---------- */
.topbar {
  background: var(--brand); color: var(--brand-ink, #fff);
  font-size: .85rem;
}
.topbar .wrap { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; flex-wrap: wrap; }
.topbar a { text-decoration: none; }
.topbar .dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #4ADE80; margin-right: 6px; vertical-align: middle; }
.topbar .dot.closed { background: #F87171; }
.topbar strong { font-weight: 600; }
[data-style="night"] .topbar { background: #0A0F1C; color: var(--ink); border-bottom: 1px solid var(--line); }
[data-style="night"] .cta-band { background: var(--surface-2); color: var(--ink); }
[data-style="night"] .cta-band .btn-primary { background: var(--accent); color: #fff; }

.site-header {
  position: sticky; top: 0; z-index: 40;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; gap: 28px; height: 76px; }
.logo { display: block; flex: none; }
.logo img { height: 46px; width: auto; }
.logo .l-light { display: var(--logo-light); }
.logo .l-dark  { display: var(--logo-dark); }
.nav { display: flex; gap: 4px; margin-right: auto; }
.nav a {
  text-decoration: none; font-weight: 500; font-size: .96rem;
  padding: .55em .95em; border-radius: 999px; color: var(--muted);
}
.nav a:hover { color: var(--ink); background: var(--surface-2); }
.nav a.active { color: var(--ink); background: var(--surface-2); font-weight: 600; }
.header-cta { display: flex; gap: 8px; }

@media (max-width: 860px) {
  .site-header .wrap { flex-wrap: wrap; height: auto; padding: 10px 0 0; gap: 10px; }
  .logo img { height: 38px; }
  .header-cta { margin-left: auto; }
  .header-cta .btn-ghost { display: none; }
  .nav {
    order: 3; width: 100%; overflow-x: auto; margin: 0 -16px; padding: 0 16px 10px;
    width: calc(100% + 32px); scrollbar-width: none;
  }
  .nav::-webkit-scrollbar { display: none; }
  .nav a { flex: none; }
  .topbar .hide-sm { display: none; }
}

/* ---------- hero (home) ---------- */
.hero { padding: 64px 0 80px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.hero h1 .hl { color: var(--accent); }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 28px 0 32px; }
.hero-facts { display: flex; gap: 28px; flex-wrap: wrap; padding-top: 24px; border-top: 1px solid var(--line); }
.hero-facts div { font-size: .9rem; color: var(--muted); }
.hero-facts strong { display: block; font-family: var(--font-head); font-weight: var(--head-weight); font-size: 1.6rem; color: var(--ink); line-height: 1.2; }
.collage { display: grid; grid-template-columns: 1.3fr 1fr; grid-template-rows: 1fr 1fr; gap: 14px; height: 520px; }
.collage img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); }
.collage img:first-child { grid-row: span 2; }
.collage .tag {
  position: absolute; left: 16px; bottom: 16px; background: var(--surface); color: var(--ink);
  padding: 10px 14px; border-radius: var(--radius-sm); box-shadow: var(--shadow); font-size: .85rem;
}
.collage .tag b { color: var(--accent); }
.collage > div { position: relative; grid-row: span 2; }
.collage > div img { grid-row: auto; }

@media (max-width: 900px) {
  .hero { padding: 32px 0 56px; }
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .collage { height: 340px; }
}

/* ---------- department cards ---------- */
.depts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.dept {
  position: relative; display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; text-decoration: none; transition: transform .2s, box-shadow .2s;
}
.dept:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.dept img { aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.dept .body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.dept .body p { color: var(--muted); flex: 1; }
.dept .go { font-weight: 600; color: var(--accent); }
.dept .pill {
  position: absolute; top: 14px; left: 14px; background: var(--surface); color: var(--ink);
  font-size: .78rem; font-weight: 600; padding: 5px 10px; border-radius: 999px; box-shadow: var(--shadow);
}
@media (max-width: 860px) { .depts { grid-template-columns: 1fr; } }

/* ---------- about ---------- */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.about img { border-radius: var(--radius); aspect-ratio: 5/4; object-fit: cover; width: 100%; }
.checks { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; }
.checks li::before {
  content: ""; flex: none; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%;
  background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C62032' stroke-width='3'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/13px no-repeat;
}
@media (max-width: 860px) { .about { grid-template-columns: 1fr; gap: 28px; } }

/* ---------- steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: s; }
.steps > div { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.steps > div::before {
  counter-increment: s; content: counter(s);
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%;
  background: var(--brand); color: var(--brand-ink, #fff); font-weight: 700; margin-bottom: 14px;
}
.steps p { color: var(--muted); margin: 0; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }

/* ---------- visit / hours ---------- */
.visit { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.hours { width: 100%; border-collapse: collapse; }
.hours td { padding: 9px 0; border-bottom: 1px solid var(--line); }
.hours td:last-child { text-align: right; color: var(--muted); }
.hours tr.today td { font-weight: 700; color: var(--ink); }
.hours tr.today td:first-child::after { content: " · Today"; color: var(--accent); font-weight: 600; font-size: .85em; }
.hours tr:last-child td { border-bottom: 0; }
.map-ph {
  min-height: 220px; border-radius: var(--radius-sm); background:
  repeating-linear-gradient(45deg, var(--surface-2) 0 12px, transparent 12px 24px);
  display: grid; place-items: center; color: var(--muted); font-size: .9rem; margin-top: 16px; border: 1px dashed var(--line);
}
@media (max-width: 760px) { .visit { grid-template-columns: 1fr; } }

/* ---------- CTA band ---------- */
.cta-band { background: var(--brand); color: var(--brand-ink, #fff); border-radius: var(--radius); padding: 48px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-band h2 { margin: 0 0 6px; }
.cta-band p { margin: 0; opacity: .8; }
.cta-band .btn-ghost { color: inherit; border-color: color-mix(in srgb, currentColor 35%, transparent); }
.cta-band .btn-primary { background: var(--brand-ink, #fff); color: var(--brand); }

/* ---------- page header (inner pages) ---------- */
.page-head { padding: 56px 0 32px; }
.page-head .lead { max-width: 60ch; }

/* ---------- furniture ---------- */
.toolbar { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-bottom: 28px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  border: 1.5px solid var(--line); background: var(--surface); color: var(--ink);
  font: 500 .9rem/1 var(--font-body); padding: .6em 1em; border-radius: 999px; cursor: pointer;
}
.chip:hover { border-color: var(--muted); }
.chip.on { background: var(--brand); border-color: var(--brand); color: var(--brand-ink, #fff); }
.chip .n { opacity: .6; margin-left: 4px; font-size: .85em; }
.search {
  margin-left: auto; display: flex; align-items: center; gap: 8px;
  background: var(--surface); border: 1.5px solid var(--line); border-radius: 999px; padding: 0 14px;
}
.search input { border: 0; background: transparent; color: var(--ink); font: inherit; padding: .6em 0; width: 200px; outline: none; }
.search svg { width: 16px; color: var(--muted); }
select.sort {
  font: inherit; font-size: .9rem; color: var(--ink); background: var(--surface);
  border: 1.5px solid var(--line); border-radius: 999px; padding: .55em 1em;
}
@media (max-width: 760px) { .search { margin-left: 0; flex: 1; } .search input { width: 100%; } }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 22px; }
.item {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; cursor: pointer; display: flex; flex-direction: column; text-align: left;
  font: inherit; color: inherit; padding: 0; transition: transform .2s, box-shadow .2s;
}
.item:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.item .ph { position: relative; aspect-ratio: 4/3; background: var(--surface-2); }
.item .ph img { width: 100%; height: 100%; object-fit: cover; }
.item.sold .ph img { filter: grayscale(1); opacity: .55; }
.badge {
  position: absolute; top: 12px; left: 12px; font-size: .74rem; font-weight: 700; letter-spacing: .04em;
  text-transform: uppercase; padding: 5px 9px; border-radius: 6px; background: var(--surface); color: var(--ink);
}
.badge.new { background: var(--accent); color: #fff; }
.badge.pending { background: var(--warn); color: #fff; }
.badge.sold { background: var(--ink); color: var(--bg); }
.item .info { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.item .cat { font-size: .78rem; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; font-weight: 600; }
.item h3 { font-size: 1.08rem; margin: 0; }
.price-row { display: flex; align-items: baseline; gap: 10px; margin-top: auto; padding-top: 8px; }
.price { font-family: var(--font-head); font-weight: var(--head-weight); font-size: 1.45rem; color: var(--ink); }
.retail { color: var(--muted); text-decoration: line-through; font-size: .9rem; }
.save { margin-left: auto; font-size: .8rem; font-weight: 700; color: var(--good); }
.empty { text-align: center; padding: 60px 0; color: var(--muted); }
.live-note { font-size: .85rem; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.live-note .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--good); box-shadow: 0 0 0 4px color-mix(in srgb, var(--good) 20%, transparent); }

/* modal */
.modal { position: fixed; inset: 0; z-index: 80; display: none; align-items: center; justify-content: center; padding: 16px; background: rgba(10,14,25,.6); }
.modal.open { display: flex; }
.modal-box {
  background: var(--surface); color: var(--ink); border-radius: var(--radius); max-width: 940px; width: 100%;
  max-height: calc(100vh - 32px); overflow: auto; display: grid; grid-template-columns: 1.15fr 1fr; position: relative;
}
.modal-box img { width: 100%; height: 100%; object-fit: cover; min-height: 320px; }
.m-gallery { position: relative; min-height: 320px; }
.m-gallery > img { position: absolute; inset: 0; }
.m-thumbs { position: absolute; left: 10px; right: 10px; bottom: 10px; display: flex; gap: 6px; overflow-x: auto; }
.m-thumbs:empty { display: none; }
.m-thumbs button { flex: 0 0 auto; width: 56px; height: 56px; padding: 0; border: 2px solid #fff; border-radius: 8px; overflow: hidden; cursor: pointer; background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,.25); opacity: .85; }
.m-thumbs button.on { border-color: var(--accent); opacity: 1; }
.modal-box .m-thumbs img { min-height: 0; height: 100%; width: 100%; object-fit: cover; }
.modal-box .m-body { padding: 32px; display: flex; flex-direction: column; gap: 6px; }
.modal-box .m-body .price { font-size: 2rem; }
.modal-close {
  position: absolute; top: 12px; right: 12px; width: 38px; height: 38px; border-radius: 50%; border: 0;
  background: var(--surface); color: var(--ink); font-size: 22px; cursor: pointer; box-shadow: var(--shadow);
}
.specs { list-style: none; padding: 0; margin: 12px 0; display: grid; gap: 8px; font-size: .93rem; }
.specs li { display: flex; justify-content: space-between; gap: 16px; border-bottom: 1px solid var(--line); padding-bottom: 8px; }
.specs li span:first-child { color: var(--muted); }
.m-actions { display: grid; gap: 10px; margin-top: 14px; }
.m-actions small { color: var(--muted); text-align: center; }
@media (max-width: 760px) { .modal-box { grid-template-columns: 1fr; } .modal-box img { min-height: 0; aspect-ratio: 4/3; } .m-gallery { min-height: 0; aspect-ratio: 4/3; } }

/* ---------- bins ---------- */
.today-card {
  display: grid; grid-template-columns: 1fr 1.2fr; gap: 0; overflow: hidden;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
}
.today-card .t-left { padding: 36px; display: flex; flex-direction: column; justify-content: center; }
.big-price { font-family: var(--font-head); font-weight: var(--head-weight); font-size: clamp(4rem, 9vw, 6.5rem); line-height: 1; color: var(--accent); margin: 8px 0 6px; }
.big-price small { font-size: .3em; color: var(--muted); font-family: var(--font-body); font-weight: 500; }
.today-card .photo { position: relative; min-height: 340px; }
.today-card .photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.today-card .photo .cap {
  position: absolute; left: 14px; bottom: 14px; background: rgba(0,0,0,.65); color: #fff;
  font-size: .8rem; padding: 6px 10px; border-radius: 6px;
}
@media (max-width: 860px) { .today-card { grid-template-columns: 1fr; } .today-card .photo { min-height: 260px; } }

.week { display: grid; grid-template-columns: repeat(7, 1fr); gap: 12px; }
.day {
  background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  padding: 18px 12px; text-align: center; display: flex; flex-direction: column; gap: 4px;
}
.day .d { font-weight: 600; font-size: .9rem; }
.day .p { font-family: var(--font-head); font-weight: var(--head-weight); font-size: 2rem; line-height: 1.1; }
.day .l { font-size: .74rem; color: var(--muted); min-height: 1.2em; }
.day.closed { background: transparent; border-style: dashed; color: var(--muted); }
.day.closed .p { font-size: 1.1rem; padding: .45em 0; }
.day.today { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.day.today .d::after { content: "TODAY"; display: block; font-size: .65rem; letter-spacing: .12em; color: var(--accent); }
@media (max-width: 760px) {
  .week { grid-template-columns: 1fr; gap: 8px; }
  .day { flex-direction: row; align-items: center; justify-content: space-between; text-align: left; padding: 14px 18px; }
  .day .l { order: 2; flex: 1; text-align: left; margin-left: 12px; }
  .day .p { order: 3; font-size: 1.5rem; }
  .day.today .d::after { display: inline; margin-left: 8px; }
}

.info-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.info-cards .card h3 { margin-bottom: 6px; }
.info-cards .card p { color: var(--muted); margin: 0; }
.icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); margin-bottom: 16px; }
.icon svg { width: 22px; height: 22px; }
@media (max-width: 860px) { .info-cards { grid-template-columns: 1fr; } }

/* ---------- trailers ---------- */
.tabs-inline { display: inline-flex; background: var(--surface-2); border-radius: 999px; padding: 4px; gap: 4px; margin-bottom: 28px; }
.tabs-inline a { text-decoration: none; padding: .55em 1.2em; border-radius: 999px; font-weight: 600; font-size: .92rem; color: var(--muted); }
.tabs-inline a.on { background: var(--surface); color: var(--ink); box-shadow: var(--shadow); }
.trailer { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.trailer .ph { position: relative; aspect-ratio: 16/10; }
.trailer .ph img { width: 100%; height: 100%; object-fit: cover; }
.trailer .info { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.trailer ul { padding-left: 18px; color: var(--muted); margin: 6px 0 18px; font-size: .94rem; }
.trailer .row { display: flex; gap: 10px; margin-top: auto; }
.trailer .row .btn { flex: 1; }
.badge.stock { background: var(--good); color: #fff; }
.badge.soon { background: var(--warn); color: #fff; }

.quote-wrap { display: grid; grid-template-columns: 1fr 1.15fr; gap: 48px; align-items: start; }
.quote-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); }
.q-progress { height: 5px; background: var(--surface-2); border-radius: 99px; overflow: hidden; margin-bottom: 8px; }
.q-progress span { display: block; height: 100%; width: 50%; background: var(--accent); transition: width .3s; }
.q-label { font-size: .82rem; color: var(--muted); margin-bottom: 18px; }
.q-step { display: none; }
.q-step.active { display: block; }
.field { margin-bottom: 18px; }
.field > label, .field > .lbl { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 8px; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; color: var(--ink); background: var(--bg);
  border: 1.5px solid var(--line); border-radius: var(--radius-sm); padding: .75em .9em;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.consent { display: flex; gap: 10px; font-size: .8rem; color: var(--muted); margin: 6px 0 18px; align-items: flex-start; }
.consent input { margin-top: 3px; flex: none; }
.err { color: var(--accent); font-size: .88rem; min-height: 1.2em; margin: 0 0 10px; }
.q-nav { display: flex; gap: 10px; }
.q-nav .btn { flex: 1; }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none; }
.q-done { text-align: center; padding: 30px 0; }
.q-done .icon { margin: 0 auto 16px; width: 60px; height: 60px; border-radius: 50%; }
@media (max-width: 900px) { .quote-wrap { grid-template-columns: 1fr; gap: 28px; } }
@media (max-width: 480px) { .two { grid-template-columns: 1fr; } .quote-card { padding: 22px; } }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 48px 0 32px; margin-top: 40px; font-size: .92rem; }
.f-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 32px; }
.f-grid h4 { font-family: var(--font-body); font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: 12px; }
.f-grid a { display: block; text-decoration: none; color: var(--ink); padding: 3px 0; }
.f-grid a:hover { color: var(--accent); }
.f-grid .logo img { height: 40px; margin-bottom: 12px; }
.f-bottom { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: .82rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
@media (max-width: 760px) { .f-grid { grid-template-columns: 1fr 1fr; } .f-grid > div:first-child { grid-column: 1/-1; } }

/* ---------- floating chat ---------- */
.chat-fab {
  position: fixed; right: 18px; bottom: 18px; z-index: 60;
  display: flex; align-items: center; gap: 8px; padding: 14px 18px; border-radius: 999px;
  background: var(--accent); color: #fff; text-decoration: none; font-weight: 600; box-shadow: 0 10px 30px rgba(0,0,0,.2);
  border: 0; font-family: var(--font-body); font-size: .95rem; cursor: pointer;
}
.chat-fab svg { width: 20px; height: 20px; }
.chat-pop {
  position: fixed; right: 18px; bottom: 82px; z-index: 61; width: min(330px, calc(100% - 36px));
  background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: 0 20px 50px rgba(0,0,0,.2); padding: 20px; display: none;
}
.chat-pop.open { display: block; }
.chat-pop h4 { font-family: var(--font-head); font-size: 1.15rem; margin-bottom: 4px; }
.chat-pop p { font-size: .88rem; color: var(--muted); }
.chat-pop .btn { margin-top: 8px; }

/* ---------- TEMP style picker ---------- */
.style-picker {
  position: fixed; left: 18px; bottom: 18px; z-index: 70;
  background: #111827; color: #fff; border-radius: 14px; padding: 10px 12px; font: 500 12px/1.3 Inter, sans-serif;
  box-shadow: 0 10px 30px rgba(0,0,0,.3);
}
.style-picker .sp-title { opacity: .65; margin-bottom: 8px; letter-spacing: .06em; text-transform: uppercase; font-size: 10px; }
.style-picker .sp-row { display: flex; gap: 6px; }
.style-picker button {
  border: 1.5px solid transparent; border-radius: 8px; padding: 6px 9px; cursor: pointer;
  font: 600 12px/1 Inter, sans-serif; color: #fff; background: rgba(255,255,255,.08); display: flex; align-items: center; gap: 6px;
}
.style-picker button i { width: 12px; height: 12px; border-radius: 50%; display: inline-block; }
.style-picker button.on { border-color: #fff; background: rgba(255,255,255,.18); }
@media (max-width: 560px) { .style-picker button span { display: none; } .style-picker { bottom: 84px; } }

/* ============ v2 additions ============ */
.map-embed { width: 100%; height: 260px; border: 0; border-radius: var(--radius-sm); margin-top: 16px; display: block; }
.addr { font-weight: 600; font-size: 1.05rem; margin-bottom: 4px; }

/* header call: show number */
.btn-call { font-variant-numeric: tabular-nums; }
@media (max-width: 860px) {
  .header-cta .btn-ghost { display: inline-flex; }
}
@media (max-width: 420px) {
  .header-cta .btn { padding: .6em .8em; font-size: .82rem; }
  .header-cta .btn-text-label { display: none; }
}

/* reviews */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.review { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.stars { color: #F5A623; letter-spacing: 2px; font-size: 1.05rem; }
.review p { margin: 0; flex: 1; }
.review .who { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: .92rem; }
.review .av { width: 34px; height: 34px; border-radius: 50%; background: var(--brand); color: var(--brand-ink, #fff); display: grid; place-items: center; font-weight: 700; }
.review .who small { display: block; font-weight: 400; color: var(--muted); font-size: .8rem; }
.g-score { display: inline-flex; align-items: center; gap: 10px; margin-top: 8px; font-weight: 600; }
.g-score .big { font-size: 1.6rem; font-weight: 800; }
@media (max-width: 860px) { .reviews { grid-template-columns: 1fr; } }

/* furniture filter dropdown */
.toolbar2 { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; margin-bottom: 24px; align-items: center; }
.dd { position: relative; }
.dd-btn {
  display: inline-flex; align-items: center; gap: 10px; height: 46px; padding: 0 16px;
  background: var(--surface); color: var(--ink); border: 1.5px solid var(--line); border-radius: 999px;
  font: 600 .95rem var(--font-body); cursor: pointer; white-space: nowrap;
}
.dd-btn svg { width: 18px; height: 18px; }
.dd-btn .caret { width: 14px; height: 14px; opacity: .6; }
.dd-menu {
  position: absolute; top: calc(100% + 8px); left: 0; z-index: 30; min-width: 240px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 16px 40px rgba(0,0,0,.14);
  padding: 6px; display: none;
}
.dd.open .dd-menu { display: block; }
.dd-menu button {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 12px; text-align: left;
  background: none; border: 0; color: var(--ink); font: 500 1rem var(--font-body); padding: 12px 14px; border-radius: var(--radius-sm); cursor: pointer;
}
.dd-menu button:hover { background: var(--surface-2); }
.dd-menu button.on { background: var(--surface-2); font-weight: 700; }
.dd-menu button .n { color: var(--muted); font-size: .85rem; }
.toolbar2 .search { margin: 0; height: 46px; }
.toolbar2 .search input { width: 100%; }
.toolbar2 select.sort { height: 46px; }
@media (max-width: 760px) {
  .toolbar2 { grid-template-columns: 1fr 1fr; }
  .toolbar2 .search { grid-column: 1 / -1; order: -1; }
  .dd-btn, .toolbar2 select.sort { width: 100%; justify-content: space-between; }
  .dd-menu { right: 0; min-width: 0; }
}
@media (max-width: 760px) { .grid { grid-template-columns: 1fr 1fr; gap: 12px; } .item .info { padding: 12px; } .item h3 { font-size: .95rem; } .price { font-size: 1.15rem; } .save { display: none; } .item .cat { font-size: .68rem; } }
@media (max-width: 360px) { .grid { grid-template-columns: 1fr; } }

/* trailers v2 */
.t-hero { padding: 48px 0 72px; }
.t-hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.t-points { list-style: none; padding: 0; margin: 24px 0; display: grid; gap: 10px; font-weight: 600; }
.t-points li { display: flex; gap: 10px; align-items: center; }
.t-points li::before { content: "✓"; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font-size: .8rem; font-weight: 800; flex: none; }
@media (max-width: 900px) { .t-hero { padding: 28px 0 56px; } .t-hero-grid { grid-template-columns: 1fr; gap: 28px; } }

.svc { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.svc .card { display: flex; flex-direction: column; }
.svc .size { font-weight: 800; color: var(--accent); margin-bottom: 8px; }
.svc .card p { color: var(--muted); font-size: .95rem; }
.svc .card ul { margin: auto 0 0; padding-left: 18px; font-size: .9rem; }
.svc .tag2 { align-self: flex-start; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; background: var(--surface-2); padding: 4px 9px; border-radius: 6px; margin-bottom: 12px; }
.svc .featured { border-color: var(--brand); box-shadow: 0 0 0 2px var(--brand); }
.svc .featured .tag2 { background: var(--brand); color: var(--brand-ink, #fff); }
@media (max-width: 960px) { .svc { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .svc { grid-template-columns: 1fr; } }

.opts-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 48px; align-items: center; }
.opts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.opts div { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 14px; font-weight: 600; font-size: .92rem; }
@media (max-width: 900px) { .opts-grid { grid-template-columns: 1fr; gap: 24px; } .opts { grid-template-columns: 1fr 1fr; } }

.faq { max-width: 760px; margin: 0 auto; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); margin-bottom: 10px; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 20px; font-weight: 700; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.3rem; line-height: 1; color: var(--accent); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 20px 18px; margin: 0; color: var(--muted); }
@media (max-width: 900px) { .t-hero .t-points, .t-hero .t-btns { display: none !important; } .t-hero .lead { margin-bottom: 0; } }

/* gallery + lightbox */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.shot { position: relative; padding: 0; border: 0; border-radius: var(--radius); overflow: hidden; cursor: zoom-in; background: var(--surface-2); aspect-ratio: 4/3; }
.shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.shot:hover img { transform: scale(1.04); }
.shot-cap { position: absolute; left: 12px; bottom: 12px; background: rgba(0,0,0,.65); color: #fff; font: 600 .82rem var(--font-body); padding: 6px 10px; border-radius: 6px; }
@media (max-width: 760px) { .gallery { grid-template-columns: 1fr 1fr; gap: 8px; } .shot-cap { font-size: .7rem; left: 6px; bottom: 6px; padding: 4px 7px; } }
.lightbox { position: fixed; inset: 0; z-index: 90; background: rgba(5,8,15,.92); display: none; flex-direction: column; align-items: center; justify-content: center; padding: 16px; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 100px); border-radius: var(--radius-sm); }
.lightbox .lb-cap { color: #fff; margin: 12px 0 0; font-weight: 600; }

/* map: not draggable — whole thing is a directions link */
.map-link { position: relative; display: block; margin-top: 16px; border-radius: var(--radius-sm); overflow: hidden; }
.map-link .map-embed { margin-top: 0; pointer-events: none; }
.map-tap { position: absolute; right: 10px; bottom: 10px; background: var(--brand); color: #fff; font-weight: 700; font-size: .8rem; padding: 7px 12px; border-radius: 999px; box-shadow: var(--shadow); }

/* ---------- legal pages (privacy / terms) ---------- */
.legal { max-width: 760px; }
.legal h2 { font-size: 1.25rem; margin: 32px 0 8px; }
.legal p, .legal li { color: var(--muted); line-height: 1.7; }
.legal ul { padding-left: 20px; margin: 8px 0; }
.legal .updated { font-size: .9rem; }
.f-legal { display: flex; gap: 16px; }
.f-legal a { color: inherit; }
.consent a { color: inherit; text-decoration: underline; }

/* ---------- all product/inventory photos are square (1:1) ---------- */
.item .ph, .trailer .ph, .shot { aspect-ratio: 1 / 1; }
.today-card .photo { min-height: 0; aspect-ratio: 1 / 1; }
.m-gallery { min-height: 0; aspect-ratio: 1 / 1; align-self: start; }
@media (max-width: 760px) { .m-gallery { aspect-ratio: 1 / 1; } .modal-box .m-gallery > img { aspect-ratio: auto; } }
.today-card { grid-template-columns: 1fr 1fr; }
@media (max-width: 760px) { .today-card { grid-template-columns: 1fr; } }

/* furniture toolbar: category + condition dropdowns, search, sort */
.toolbar2 { grid-template-columns: auto auto 1fr auto; }
.dd-menu button:disabled { opacity: .4; cursor: default; }
.dd-menu button:disabled:hover { background: none; }
@media (max-width: 760px) {
  .toolbar2 { grid-template-columns: 1fr 1fr; }
  .toolbar2 select.sort { grid-column: 1 / -1; }
  #dd2 .dd-menu { left: auto; right: 0; }
  #dd .dd-menu { right: auto; }
  .dd-menu { min-width: 220px; }
  .dd-btn { padding: 0 12px; gap: 6px; font-size: .9rem; }
}
/* keep tall phone photos from stretching the square boxes */
.item .ph, .trailer .ph, .shot, .today-card .photo, .m-gallery { overflow: hidden; }
.item .ph img, .trailer .ph img, .shot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.shot { display: block; }
@media (max-width: 760px) { .toolbar2:has(#dd2[hidden]) #dd, .toolbar2:has(#dd2[hidden]) #dd .dd-btn { grid-column: 1 / -1; width: 100%; } }

/* popup (after tapping a piece): show the WHOLE photo, not a square crop */
.m-gallery { aspect-ratio: auto; min-height: 420px; background: #14171f; }
.modal-box .m-gallery > img { object-fit: contain; }
@media (max-width: 760px) {
  .m-gallery { min-height: 0; aspect-ratio: 4 / 5; }
  .modal-box .m-gallery > img { aspect-ratio: auto; }
}
.m-gallery { align-self: stretch; }

/* popup photo FILLS the whole left panel — no black bars, no white gap */
.modal-box { align-items: stretch; }
.m-gallery { background: var(--surface-2); align-self: stretch; height: auto; min-height: 460px; aspect-ratio: auto; }
.modal-box .m-gallery > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; aspect-ratio: auto; min-height: 0; }
@media (max-width: 760px) {
  .m-gallery { min-height: 0; aspect-ratio: 4 / 5; }
}

/* PHONES (incl. iPhone Safari): plain, non-absolute photo so it can never collapse to 0 height */
@media (max-width: 760px) {
  .modal-box { display: block; }
  .m-gallery { position: relative; aspect-ratio: auto; height: auto; min-height: 0; }
  .modal-box .m-gallery > img {
    position: static; display: block; width: 100%; height: auto;
    aspect-ratio: 4 / 5; object-fit: cover; min-height: 0;
  }
}
.svc .card ul { margin-bottom: 16px; }
.svc-cta { margin-top: auto; }
.svc .card ul + .svc-cta { margin-top: 0; }

/* PHONE popup — shorter photo, then name → price → Text/Call buttons → details (like big furniture sites) */
@media (max-width: 760px) {
  .modal { padding: 10px; align-items: flex-end; }
  .modal-box { max-height: calc(100vh - 20px); max-height: calc(100dvh - 20px); }
  .modal-box .m-gallery > img { aspect-ratio: 4 / 3; max-height: 36vh; max-height: 36dvh; }
  .m-thumbs button { width: 44px; height: 44px; }
  .modal-box .m-body { padding: 18px 18px 22px; gap: 4px; }
  .modal-box .m-body h2 { font-size: 1.45rem; line-height: 1.15; }
  .modal-box .m-body .price { font-size: 1.6rem; }
  .m-body > #mCat { order: 1; } .m-body > #mName { order: 2; } .m-body > .price-row { order: 3; }
  .m-body > .m-actions { order: 4; grid-template-columns: 1fr 1fr; margin-top: 10px; gap: 8px; }
  .m-actions small { grid-column: 1 / -1; }
  .m-actions .btn { padding-inline: 10px; }
  .m-body > #mDesc { order: 5; margin-top: 14px !important; }
  .m-body > .specs { order: 6; }
}

/* ---------- phone header: logo left, ☰ right, drop-down menu (like Toast Bouquets) ---------- */
.burger, .m-menu { display: none; }
@media (max-width: 860px) {
  .site-header .wrap { flex-wrap: nowrap; height: 64px; padding: 0; gap: 10px; justify-content: space-between; }
  .site-header .nav, .site-header .header-cta { display: none; }
  .burger {
    display: inline-flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px;
    width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--line); background: var(--surface); cursor: pointer; padding: 0;
  }
  .burger span { display: block; width: 20px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .2s, opacity .2s; }
  .burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .burger.open span:nth-child(2) { opacity: 0; }
  .burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .m-menu { display: block; border-top: 1px solid var(--line); background: var(--bg); }
  .m-menu[hidden] { display: none; }
  .m-menu .wrap { display: flex; flex-direction: column; gap: 2px; padding: 12px 0 18px; }
  .m-menu-cta { display: grid; grid-template-columns: 1fr; gap: 8px; margin-bottom: 10px; }
  .m-menu-cta .btn { justify-content: center; }
  .m-link { text-decoration: none; color: var(--ink); font-weight: 600; font-size: 1.05rem; padding: 12px 14px; border-radius: var(--radius-sm); }
  .m-link.active, .m-link:hover { background: var(--surface-2); }
}
@media (max-width: 860px) {
  .site-header .m-menu .wrap { height: auto; flex-direction: column; flex-wrap: nowrap; align-items: stretch; justify-content: flex-start; gap: 2px; padding: 12px 0 18px; }
  .site-header .m-menu { background: var(--bg); box-shadow: 0 14px 30px rgba(0,0,0,.08); }
}

/* ---------- phone product page (#item=…) ---------- */
.pdp { padding: 12px 0 64px; display: flex; flex-direction: column; gap: 6px; }
.pdp[hidden] { display: none; }
.pdp-back { align-self: flex-start; background: none; border: 0; padding: 6px 0 10px; font: 600 .95rem var(--font-body); color: var(--ink); cursor: pointer; }
.pdp-photo { position: relative; aspect-ratio: 1 / 1; border-radius: var(--radius); overflow: hidden; background: var(--surface-2); }
.pdp-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pdp-thumbs { display: flex; gap: 8px; overflow-x: auto; padding: 4px 0; }
.pdp-thumbs button { flex: 0 0 auto; width: 64px; height: 64px; padding: 0; border: 2px solid var(--line); border-radius: 10px; overflow: hidden; background: none; cursor: pointer; }
.pdp-thumbs button.on { border-color: var(--accent); }
.pdp-thumbs img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pdp-cat { margin: 12px 0 0; }
.pdp-name { font-size: 1.75rem; line-height: 1.15; margin: 0; }
.pdp-price { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.pdp-price .price { font-size: 1.9rem; }
.pdp-price .save { margin-left: 0; }
.pdp-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 10px; }
.pdp-actions .btn { justify-content: center; padding-inline: 10px; }
.pdp-note { font-size: .85rem; color: var(--muted); text-align: center; margin: 4px 0 0; }
.pdp-desc { color: var(--muted); margin: 14px 0 0; line-height: 1.6; }
.pdp .specs { margin-top: 10px; }
.pdp-sim-h { font-size: 1.3rem; margin: 30px 0 8px; }
.pdp-sim { grid-template-columns: 1fr 1fr; gap: 12px; }
.pdp-all { margin-top: 18px; }
.pdp-price .save { display: inline; }

/* computer header: logo left · tabs centered · buttons right */
@media (min-width: 861px) {
  .site-header .wrap { display: grid; grid-template-columns: 1fr auto 1fr; }
  .site-header .logo { justify-self: start; }
  .site-header .nav { margin: 0; justify-self: center; }
  .site-header .header-cta { justify-self: end; }
}

/* product page — layout wrappers (phone: stacked) */
.pdp-top, .pdp-media, .pdp-info { display: flex; flex-direction: column; gap: 6px; }
.pdp-all { align-self: stretch; justify-content: center; }

/* product page — COMPUTER: photo left, details right, similar pieces below */
@media (min-width: 761px) {
  .pdp { padding: 24px 0 90px; gap: 10px; }
  .pdp-top { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 48px; align-items: start; }
  .pdp-media { position: sticky; top: 96px; }
  .pdp-thumbs button { width: 76px; height: 76px; }
  .pdp-info { padding-top: 6px; gap: 8px; }
  .pdp-cat { margin-top: 0; }
  .pdp-name { font-size: 2.6rem; }
  .pdp-price .price { font-size: 2.3rem; }
  .pdp-actions { margin-top: 14px; }
  .pdp-actions .btn { padding-block: 1em; font-size: 1.02rem; }
  .pdp-note { text-align: left; }
  .pdp-desc { font-size: 1.05rem; }
  .pdp-sim-h { font-size: 1.7rem; margin: 64px 0 18px; }
  .pdp-sim { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; }
  .pdp-all { align-self: center; margin-top: 30px; min-width: 260px; }
}
