/* Bloomington Appliance Liquidation - clean modern storefront, no dependencies */
:root {
  --bg: #f6f7f9;
  --surface: #ffffff;
  --ink: #1d2430;
  --muted: #5b6472;
  --brand: #0f5cab;
  --brand-dark: #0a427d;
  --accent: #e07b1a;
  --accent-dark: #b85f0d;
  --line: #e3e7ed;
  --radius: 10px;
  --shadow: 0 2px 10px rgba(15, 30, 50, 0.08);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
}
img { max-width: 100%; display: block; }
a { color: var(--brand); }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }

/* Header */
.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 50;
}
.header-inner {
  display: flex; align-items: center; gap: 18px;
  padding-top: 12px; padding-bottom: 12px;
}
.brand { font-weight: 800; font-size: 1.25rem; color: var(--ink); text-decoration: none; }
.brand img { height: 54px; width: auto; display: block; }
.main-nav { display: flex; gap: 4px; margin-left: auto; }
.main-nav a {
  color: var(--muted); text-decoration: none; font-weight: 600;
  padding: 8px 12px; border-radius: 8px;
}
.main-nav a:hover { background: var(--bg); color: var(--ink); }
.main-nav a.active { color: var(--brand); }

/* Buttons */
.btn {
  display: inline-block; border: 0; cursor: pointer; text-decoration: none;
  font-weight: 700; border-radius: 8px; padding: 10px 18px; font-size: 0.95rem;
  transition: background 0.15s ease;
}
.btn-call { background: var(--accent); color: #fff; }
.btn-call:hover { background: var(--accent-dark); }
.btn-fb { background: var(--brand); color: #fff; }
.btn-fb:hover { background: var(--brand-dark); }
.btn-lg { padding: 14px 26px; font-size: 1.05rem; }

/* Hero */
.hero {
  background: linear-gradient(135deg, #0f5cab 0%, #0a3f78 100%);
  color: #fff; padding: 46px 0 40px; margin-bottom: 28px;
}
.hero h1 { margin: 0 0 8px; font-size: 2.2rem; letter-spacing: -0.01em; }
.hero .tagline { font-size: 1.15rem; margin: 0 0 6px; opacity: 0.95; }
.hero .service-area { margin: 0 0 20px; opacity: 0.85; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }

/* Filters */
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin: 4px 0 22px; }
.filter-btn {
  border: 1px solid var(--line); background: var(--surface); color: var(--muted);
  border-radius: 999px; padding: 8px 16px; font-weight: 600; cursor: pointer; font-size: 0.9rem;
}
.filter-btn:hover { border-color: var(--brand); color: var(--brand); }
.filter-btn.active { background: var(--brand); border-color: var(--brand); color: #fff; }

/* Card grid */
.grid {
  display: grid; gap: 20px;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  padding-bottom: 48px;
}
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(15, 30, 50, 0.12); }
.card-link { text-decoration: none; color: inherit; display: block; }
.card-img { aspect-ratio: 4 / 3; overflow: hidden; background: #eef1f5; }
.card-img img { width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: 14px 16px 18px; }
.card-body h3 { margin: 8px 0 6px; font-size: 1.02rem; line-height: 1.35; }
.price { font-weight: 800; font-size: 1.25rem; color: var(--brand-dark); margin: 0; }
.price-lg { font-size: 1.8rem; }
.one-only { color: var(--muted); font-size: 0.95rem; font-weight: 600; margin: 8px 0 0; }
.one-only::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); margin-right: 8px; }
.sold-banner { background: #f1f5f9; border: 1px solid var(--line); border-radius: 12px; padding: 14px 18px; font-weight: 700; margin-bottom: 18px; }
.sold-banner a { color: var(--brand); }
.badge {
  display: inline-block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.04em;
  text-transform: uppercase; color: var(--brand-dark);
  background: #e3eefb; border-radius: 999px; padding: 3px 10px;
}
.grid-empty { text-align: center; color: var(--muted); padding: 30px 0 60px; }

/* Detail page */
.detail { display: grid; grid-template-columns: 1.1fr 1fr; gap: 36px; padding: 28px 20px 60px; }
.breadcrumb { grid-column: 1 / -1; margin: 0; }
.breadcrumb a { text-decoration: none; font-weight: 600; }
.gallery img#gallery-main, .gallery > img {
  width: 100%; border-radius: var(--radius); border: 1px solid var(--line);
  box-shadow: var(--shadow); aspect-ratio: 1 / 1; object-fit: cover; background: #eef1f5;
}
.thumbs { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.thumb {
  border: 2px solid var(--line); border-radius: 8px; padding: 0; cursor: pointer;
  background: none; width: 88px; height: 88px; overflow: hidden;
}
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb.current { border-color: var(--brand); }
.detail-info h1 { margin: 10px 0 8px; font-size: 1.7rem; line-height: 1.25; }
.description p { margin: 0 0 12px; }
.facts { display: grid; gap: 8px; margin: 20px 0; padding: 0; }
.facts > div {
  display: flex; gap: 12px; background: var(--surface);
  border: 1px solid var(--line); border-radius: 8px; padding: 10px 14px;
}
.facts dt { font-weight: 700; min-width: 90px; color: var(--muted); }
.facts dd { margin: 0; font-weight: 600; }
.detail-cta { display: flex; gap: 12px; flex-wrap: wrap; margin: 18px 0 10px; }
.guarantee-note { color: var(--muted); font-size: 0.9rem; }

/* Prose pages */
.prose { padding: 32px 20px 60px; max-width: 760px; }
.prose h1 { margin-top: 0; }
.prose h2 { margin-top: 32px; }
.prose ul { padding-left: 22px; }
details {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 14px 18px; margin-bottom: 12px;
}
summary { font-weight: 700; cursor: pointer; }
details p { margin: 10px 0 4px; color: var(--muted); }

/* Footer */
.site-footer { background: #14202f; color: #c7d0dc; margin-top: 20px; }
.footer-inner {
  display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  padding-top: 30px; padding-bottom: 20px;
}
.footer-inner strong { color: #fff; }
.footer-contact { display: flex; gap: 10px; flex-wrap: wrap; align-items: flex-start; }
.footer-small {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 14px; padding-bottom: 22px; font-size: 0.85rem; opacity: 0.8;
}

/* Responsive */
@media (max-width: 860px) {
  .detail { grid-template-columns: 1fr; gap: 22px; }
  .hero h1 { font-size: 1.7rem; }
  .header-inner { flex-wrap: wrap; }
  .main-nav { margin-left: 0; order: 3; width: 100%; }
}

/* ===== Homepage upgrade ===== */
.hero {
  padding: 64px 0; margin-bottom: 0; position: relative; overflow: hidden;
  background:
    radial-gradient(1000px 420px at 85% -10%, rgba(224,123,26,0.28), transparent 60%),
    linear-gradient(135deg, #0d4f96 0%, #082f5c 100%);
}
.hero-inner { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 40px; align-items: center; }
.eyebrow {
  text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.78rem;
  font-weight: 700; opacity: 0.8; margin: 0 0 10px;
}
.hero h1 { font-size: 2.8rem; }
.hero .tagline { font-size: 1.25rem; }
.rating .stars { color: #ffc531; letter-spacing: 0.12em; }
.hero-collage { position: relative; height: 380px; }
.hero-collage img { position: absolute; object-fit: cover; }
.collage-main {
  right: 0; top: 0; width: 72%; height: 100%;
  border-radius: 16px; border: 4px solid #fff;
  box-shadow: 0 20px 50px rgba(0,0,0,0.35);
}
.collage-a {
  left: 0; top: 24px; width: 44%; aspect-ratio: 4/3;
  border-radius: 12px; border: 4px solid #fff;
  box-shadow: 0 12px 30px rgba(0,0,0,0.3); transform: rotate(-4deg);
}
.collage-b {
  left: 8%; bottom: 0; width: 40%; aspect-ratio: 4/3;
  border-radius: 12px; border: 4px solid #fff;
  box-shadow: 0 12px 30px rgba(0,0,0,0.3); transform: rotate(3deg);
}

.trustbar { background: var(--surface); border-bottom: 1px solid var(--line); }
.trustbar-inner {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
  padding-top: 18px; padding-bottom: 18px;
}
.trust { text-align: center; }
.trust strong { display: block; font-size: 1.15rem; color: var(--brand-dark); }
.trust span { font-size: 0.85rem; color: var(--muted); }

.section-title { font-size: 1.5rem; margin: 34px 0 16px; letter-spacing: -0.01em; }
.cat-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 14px; }
.cat-tile {
  position: relative; border: 0; padding: 0; border-radius: var(--radius);
  overflow: hidden; cursor: pointer; aspect-ratio: 1/1; background: #eef1f5;
}
.cat-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.2s ease; }
.cat-tile:hover img { transform: scale(1.06); }
.cat-tile span {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 10px 10px;
  color: #fff; font-weight: 700; font-size: 0.92rem; text-align: center;
  background: linear-gradient(transparent, rgba(8,20,35,0.85));
}
.featured-grid { padding-bottom: 8px; }
#catalog { scroll-margin-top: 80px; }

@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2rem; }
  .hero-collage { height: 260px; }
  .trustbar-inner { grid-template-columns: repeat(2, 1fr); }
}

/* ===== Stock photo disclaimer ===== */
.card-img.stock-photo, .gallery { position: relative; }
.stock-badge {
  position: absolute; top: 10px; left: 10px; z-index: 2;
  background: rgba(10, 20, 35, 0.82); color: #fff;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.02em;
  padding: 5px 10px; border-radius: 6px; max-width: calc(100% - 20px);
}

/* ===== Warranty note ===== */
.warranty-note { color: var(--muted); }

/* ===== Mobile optimizations ===== */
@media (max-width: 860px) {
  .hero { padding: 44px 0 36px; }
  .hero h1 { font-size: 1.9rem; }
  .hero .tagline { font-size: 1.05rem; }
  .hero-cta .btn-lg { width: 100%; text-align: center; }
  .hero-collage { height: 240px; }
  .brand { font-size: 1.1rem; }
  .detail { padding-top: 20px; }
  .detail-info h1 { font-size: 1.35rem; }
  .detail-cta .btn-lg { width: 100%; text-align: center; }
  .facts dt { min-width: 76px; }
  .footer-inner { flex-direction: column; }
  .footer-contact .btn { width: 100%; text-align: center; }
}
@media (max-width: 560px) {
  .wrap { padding-left: 14px; padding-right: 14px; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 12px; padding-bottom: 36px; }
  .card-body { padding: 10px 12px 14px; }
  .card-body h3 { font-size: 0.85rem; }
  .price { font-size: 1.05rem; }
  .badge { font-size: 0.62rem; }
  .cat-tiles { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .cat-tile span { font-size: 0.75rem; padding-top: 18px; }
  .section-title { font-size: 1.25rem; margin: 26px 0 12px; }
  .filter-btn { padding: 7px 13px; font-size: 0.82rem; }
  .trust strong { font-size: 1rem; }
  .trust span { font-size: 0.75rem; }
  .stock-badge { font-size: 0.62rem; top: 8px; left: 8px; }
  .thumbs { gap: 8px; }
  .thumbs.collapsed { flex-wrap: nowrap; }
  .thumbs.collapsed .thumb:nth-child(n+6) { display: none; }
  .thumb { width: 60px; height: 60px; }
  .thumb-more { position: relative; }
  .thumbs.collapsed .thumb-more::after {
    content: "+" attr(data-remaining);
    position: absolute; inset: 0;
    display: flex; align-items: center; justify-content: center;
    background: rgba(10, 14, 20, 0.55); color: #fff;
    font-weight: 700; font-size: 1.1rem; border-radius: 6px;
  }
}

/* ===== Professional header ===== */
.site-header {
  border-top: 3px solid var(--accent);
  box-shadow: 0 2px 12px rgba(15, 30, 50, 0.08);
}

/* ===== Subtle background pattern ===== */
body {
  background-color: var(--bg);
  background-image: radial-gradient(rgba(15, 30, 50, 0.055) 1px, transparent 1.4px);
  background-size: 24px 24px;
}

/* ===== Slim sticky header on mobile ===== */
@media (max-width: 860px) {
  .header-inner { flex-wrap: nowrap; gap: 10px; }
  .brand { font-size: 1.05rem; white-space: nowrap; flex-shrink: 0; }
  .main-nav {
    margin-left: auto; order: 0; width: auto; flex-shrink: 1;
    overflow-x: auto; -webkit-overflow-scrolling: touch;
  }
  .main-nav a { padding: 6px 10px; font-size: 0.85rem; white-space: nowrap; }
  .site-header .btn-call { flex-shrink: 0; padding: 8px 14px; font-size: 0.85rem; }
}
@media (max-width: 560px) {
  .site-header .btn-call { display: none; }
  .brand img { height: 44px; }
}

/* ===== Appointment note ===== */
.appt-note { margin: 12px 0 0; font-size: 0.92rem; font-weight: 600; color: var(--muted); }
.appt-note-hero { color: rgba(255, 255, 255, 0.92); }

/* ===== Visit band (warehouse) ===== */
.visit-band {
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-top: 10px;
}
.visit-inner {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 36px; align-items: center;
  padding-top: 40px; padding-bottom: 40px;
}
.visit-inner > img {
  width: 100%; border-radius: var(--radius); border: 1px solid var(--line);
  box-shadow: var(--shadow); aspect-ratio: 4/3; object-fit: cover;
}
.visit-copy h2 { margin: 0 0 10px; font-size: 1.6rem; letter-spacing: -0.01em; }
.visit-copy p { color: var(--muted); margin: 0 0 10px; }
.visit-copy .appt-note { color: var(--ink); }

/* ===== About page photo ===== */
.about-photo { margin: 22px 0; }
.about-photo img {
  width: 100%; border-radius: var(--radius); border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.about-photo figcaption {
  text-align: center; color: var(--muted); font-size: 0.88rem; margin-top: 8px;
}

/* ===== About page owner section ===== */
.owner { display: grid; grid-template-columns: 240px 1fr; gap: 26px; align-items: start; margin: 18px 0 6px; }
.owner img {
  width: 100%; border-radius: var(--radius); border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.owner p:first-child { margin-top: 0; }
@media (max-width: 860px) {
  .owner { grid-template-columns: 1fr; gap: 14px; }
  .owner img { max-width: 240px; }
}

@media (max-width: 860px) {
  .visit-inner { grid-template-columns: 1fr; gap: 20px; padding-top: 28px; padding-bottom: 28px; }
  .visit-copy h2 { font-size: 1.35rem; }
}

/* ===== Retail / savings ===== */
.retail { margin: 0; font-size: 0.85rem; color: var(--muted); }
.retail s { text-decoration-thickness: 1px; }
.price { margin-top: 2px; }
.retail-lg { margin: 0; font-size: 1rem; color: var(--muted); }
.retail-lg s { text-decoration-thickness: 1.5px; }
.savings {
  display: inline-block; margin: 6px 0 0; padding: 6px 12px;
  background: #e8f7ee; color: #157347; border: 1px solid #bfe6cd;
  border-radius: 999px; font-weight: 700; font-size: 0.92rem;
}

/* ===== Reviews modal ===== */
.rating-btn {
  background: none; border: 0; padding: 0; margin: 0 0 14px; cursor: pointer;
  font: inherit; color: inherit; text-align: left;
  display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap;
  border-radius: 6px;
}
.rating-btn:hover .rating-text, .rating-btn:focus-visible .rating-text {
  text-decoration: underline; text-underline-offset: 3px;
}
.rating-btn:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.modal-backdrop {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(15, 23, 42, 0.6);
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
}
.modal-backdrop[hidden] { display: none; }
.modal {
  background: #fff; border-radius: var(--radius);
  width: min(640px, 100%); max-height: min(80vh, 720px);
  display: flex; flex-direction: column; overflow: hidden;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.3);
}
.modal-head {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 12px;
  padding: 20px 22px 14px; border-bottom: 1px solid var(--line);
}
.modal-kicker {
  margin: 0 0 4px; font-size: 0.78rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted);
}
.modal-rating { margin: 0; font-size: 1.05rem; }
.modal-rating .stars { color: #f5a623; letter-spacing: 2px; }
.modal-close {
  background: var(--surface); border: 1px solid var(--line); border-radius: 50%;
  width: 36px; height: 36px; font-size: 1.3rem; line-height: 1; cursor: pointer;
  color: var(--ink); flex-shrink: 0;
}
.modal-close:hover { background: var(--line); }
.modal-list { overflow-y: auto; padding: 6px 22px; }
.review { padding: 14px 0; border-bottom: 1px solid var(--line); }
.review:last-child { border-bottom: 0; }
.review .stars { color: #f5a623; letter-spacing: 2px; font-size: 0.85rem; }
.review p { margin: 6px 0 0; }
.review-meta { font-size: 0.8rem; color: var(--muted); }
.modal-foot {
  margin: 0; padding: 12px 22px; border-top: 1px solid var(--line);
  font-size: 0.8rem; color: var(--muted); background: var(--surface);
}
@media (max-width: 560px) {
  .modal-backdrop { padding: 12px; }
  .modal { max-height: 88vh; }
  .modal-head { padding: 16px 16px 12px; }
  .modal-list { padding: 4px 16px; }
  .modal-foot { padding: 10px 16px; }
}

/* ===== Visit address (quiet) ===== */
.visit-address { font-size: 0.88rem; color: var(--muted); margin: 10px 0 0; }

/* ===== Bundle Builder ===== */
.btn-bundle { background: #fff; color: var(--brand-dark); }
.btn-bundle:hover { background: #e8f1fa; }
.bundle-intro { color: var(--muted); max-width: 640px; }
.bundle-tiers { display: flex; gap: 10px; flex-wrap: wrap; margin: 4px 0 20px; }
.btier { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 8px 14px; font-size: 0.9rem; color: var(--muted); }
.btier strong { color: var(--accent); }
.bundle-layout { display: grid; grid-template-columns: 1fr 340px; gap: 24px; align-items: start; }
.bundle-toolbar { display: flex; flex-direction: column; gap: 12px; margin-bottom: 16px; }
#bundle-search { padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; font-size: 1rem; width: 100%; max-width: 420px; font-family: inherit; }
.bundle-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.bfilter { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 8px 14px; font-weight: 600; cursor: pointer; color: var(--muted); font-size: 0.9rem; font-family: inherit; }
.bfilter.active { background: var(--brand); border-color: var(--brand); color: #fff; }
.bcard { position: relative; text-align: left; background: #fff; border: 2px solid var(--line); border-radius: 12px; padding: 12px; cursor: pointer; display: flex; flex-direction: column; gap: 6px; font: inherit; color: inherit; }
.bcard.selected { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent); }
.bcard-check { position: absolute; top: 8px; right: 8px; width: 28px; height: 28px; border-radius: 50%; background: var(--accent); color: #fff; display: none; align-items: center; justify-content: center; font-weight: 800; }
.bcard.selected .bcard-check { display: flex; }
.bcard-img img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 8px; display: block; }
.bcard .badge { align-self: flex-start; }
.bcard-title { font-weight: 700; line-height: 1.3; }
.bcard-retail { color: var(--muted); text-decoration: line-through; margin: 0; font-size: 0.9rem; }
.bundle-aside { position: sticky; top: 96px; }
.bsummary { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 20px; }
.bsummary h2 { margin-top: 0; display: flex; align-items: center; gap: 10px; }
.bcount { background: var(--brand); color: #fff; border-radius: 999px; min-width: 28px; height: 28px; display: inline-flex; align-items: center; justify-content: center; font-size: 0.9rem; padding: 0 8px; }
.bitems { list-style: none; margin: 0 0 12px; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.bitems li { display: flex; align-items: center; gap: 10px; }
.bitems img { width: 48px; height: 48px; object-fit: cover; border-radius: 8px; flex-shrink: 0; }
.bitem-title { font-size: 0.9rem; font-weight: 600; line-height: 1.25; }
.bitem-price { margin-left: auto; font-weight: 700; white-space: nowrap; }
.bremove { border: 0; background: none; font-size: 1.4rem; line-height: 1; cursor: pointer; color: var(--muted); padding: 4px; }
.btotals { margin: 0; }
.btotals > div { display: flex; justify-content: space-between; padding: 4px 0; }
.bdiscount dd { color: #1a7f37; font-weight: 700; }
.btotal { font-size: 1.2rem; font-weight: 800; border-top: 1px solid var(--line); margin-top: 6px; padding-top: 10px !important; }
.btotal dd { color: var(--brand-dark); }
.btaxnote, .bprogress { color: var(--muted); font-size: 0.9rem; }
.bsave { color: #1a7f37; font-weight: 700; }
.bcta { width: 100%; text-align: center; margin-top: 12px; box-sizing: border-box; }
.bcopy { width: 100%; margin-top: 8px; box-sizing: border-box; }
.muted { color: var(--muted); }
@media (max-width: 900px) {
  .bundle-layout { grid-template-columns: 1fr; }
  .bundle-aside { position: static; }
}

/* ===== Bundle promo on listing pages ===== */
.bundle-promo { display: flex; align-items: center; justify-content: space-between; gap: 18px; background: linear-gradient(135deg, #0f5cab 0%, #0a3f78 100%); color: #fff; border-radius: 14px; padding: 22px 26px; margin: 8px 0 28px; }
.bundle-promo strong { font-size: 1.25rem; }
.bundle-promo p { margin: 6px 0 0; color: rgba(255, 255, 255, 0.85); }
.bundle-promo .btn { flex-shrink: 0; }
@media (max-width: 640px) {
  .bundle-promo { flex-direction: column; align-items: flex-start; }
}


/* ===== How buying works ===== */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.step { display: flex; gap: 14px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px; }
.step-n { flex-shrink: 0; width: 38px; height: 38px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 800; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; }
.step p { margin: 6px 0 0; color: var(--muted); font-size: 0.93rem; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }

/* ===== Catalog search ===== */
.catalog-toolbar { margin-bottom: 12px; }
#catalog-search { padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; font-size: 1rem; width: 100%; max-width: 420px; font-family: inherit; }

/* ===== Recently sold ===== */
.section-sub { color: var(--muted); margin: -8px 0 18px; }
.sold-badge { position: absolute; top: 10px; left: 10px; background: #1f2937; color: #fff; font-size: 0.78rem; font-weight: 800; letter-spacing: 0.08em; padding: 5px 10px; border-radius: 6px; }
.stock-badge-low { top: auto; bottom: 10px; }
.card-img { position: relative; }

/* ===== Ghost button ===== */
.btn-ghost { background: #fff; border: 1px solid var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }
.detail-cta { display: flex; flex-wrap: wrap; gap: 10px; }

/* ===== Listing photo lightbox ===== */
#gallery-main { cursor: zoom-in; }
.zoom-hint { position: absolute; right: 10px; top: 10px; background: rgba(10, 20, 35, 0.65); color: #fff; font-size: 0.72rem; padding: 4px 10px; border-radius: 999px; pointer-events: none; }
.lightbox { position: fixed; inset: 0; z-index: 1000; background: rgba(8, 12, 20, 0.92); display: flex; align-items: center; justify-content: center; }
.lightbox[hidden] { display: none; }
.lb-img { max-width: 94vw; max-height: 90vh; object-fit: contain; border-radius: 8px; }
.lb-btn { position: absolute; background: rgba(255, 255, 255, 0.12); border: none; color: #fff; font-size: 2rem; line-height: 1; width: 52px; height: 52px; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.lb-btn:hover { background: rgba(255, 255, 255, 0.25); }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 12px; top: 50%; transform: translateY(-50%); }
@media (max-width: 640px) { .lb-prev { left: 4px; } .lb-next { right: 4px; } }

/* ===== Price drop ===== */
.drop-badge { position: absolute; top: 10px; right: 10px; background: #15803d; color: #fff; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; padding: 5px 10px; border-radius: 6px; }
.price-drop { color: #15803d; font-weight: 700; margin: 2px 0 0; }
.card-body .price-drop { font-size: 0.85rem; }

/* ===== Detail CTA layout ===== */
.detail-cta { display: flex; flex-direction: column; gap: 12px; }
.detail-cta-main { display: flex; flex-direction: column; gap: 10px; }
.detail-cta-sub { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.detail-cta-sub .btn { font-size: 0.9rem; padding: 10px 18px; }

/* ===== Delivery band ===== */
.delivery-band { display: flex; align-items: center; justify-content: space-between; gap: 18px; background: linear-gradient(135deg, #0f5cab 0%, #0a3f78 100%); color: #fff; border-radius: 14px; padding: 24px 28px; margin: 8px 0 28px; }
.delivery-band strong { font-size: 1.25rem; }
.delivery-band p { margin: 6px 0 0; color: rgba(255, 255, 255, 0.88); }
.delivery-band .delivery-fine { font-size: 0.9rem; color: rgba(255, 255, 255, 0.75); }
.delivery-band .btn { flex-shrink: 0; }
@media (max-width: 640px) { .delivery-band { flex-direction: column; align-items: flex-start; } }

/* ===== Bundle listing details modal ===== */
.bcard-details { display: block; text-align: center; color: var(--brand); font-size: 0.85rem; font-weight: 600; padding: 6px 4px 2px; cursor: pointer; }
.bcard-details:hover { text-decoration: underline; }
.bmodal { position: fixed; inset: 0; z-index: 1000; background: rgba(8, 12, 20, 0.6); display: flex; align-items: center; justify-content: center; padding: 20px; }
.bmodal[hidden] { display: none; }
.bmodal-card { position: relative; background: #fff; border-radius: 16px; max-width: 560px; width: 100%; max-height: 88vh; overflow: auto; text-align: left; }
.bmodal-x { position: absolute; top: 10px; right: 10px; width: 38px; height: 38px; border-radius: 50%; border: none; background: rgba(10, 20, 35, 0.55); color: #fff; font-size: 1.5rem; line-height: 1; cursor: pointer; z-index: 2; }
.bmodal-x:hover { background: rgba(10, 20, 35, 0.8); }
.bmodal-img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; border-radius: 16px 16px 0 0; }
.bmodal-body { padding: 20px 22px 24px; }
.bmodal-body h3 { margin: 8px 0; font-size: 1.2rem; line-height: 1.35; }
.bmodal-price { font-size: 1.3rem; font-weight: 800; margin: 6px 0; color: var(--brand-dark); }
.bmodal-price .bcard-retail { font-size: 0.95rem; }
.bmodal-meta { color: var(--muted); font-size: 0.9rem; margin: 0 0 10px; }
.bmodal-desc { color: #333; font-size: 0.95rem; line-height: 1.55; margin: 0 0 18px; }
.bmodal-toggle { width: 100%; }

/* ===== Collapsible listing description ===== */
.description.collapsed { display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; }
.desc-toggle { background: none; border: none; color: var(--brand); font-weight: 700; cursor: pointer; padding: 6px 0 0; font-size: 0.95rem; font-family: inherit; }
.desc-toggle:hover { text-decoration: underline; }

/* ===== Buying guides ===== */
.guide { max-width: 780px; padding-top: 28px; padding-bottom: 60px; }
.guide h1 { font-size: 2rem; line-height: 1.2; margin: 8px 0 16px; }
.guide h2 { font-size: 1.35rem; margin: 34px 0 10px; }
.guide-intro p { font-size: 1.06rem; line-height: 1.65; }
.guide p { line-height: 1.65; }
.guide ul, .guide ol { line-height: 1.65; padding-left: 22px; }
.guide li { margin-bottom: 8px; }
.guide .grid { margin-top: 18px; }
.guide-cta { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 24px 26px; margin: 36px 0 8px; text-align: center; }
.guide-cta strong { font-size: 1.2rem; }
.guide-cta .hero-cta { justify-content: center; margin-top: 14px; }
.more-guides { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); }
.more-guides strong { display: block; margin-bottom: 10px; }
.more-guides nav { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.more-guides a { color: var(--brand); font-size: 0.93rem; }

/* ===== Footer guides ===== */
.footer-inner { display: flex; flex-wrap: wrap; gap: 24px 48px; align-items: flex-start; }
.footer-guides { display: flex; flex-direction: column; gap: 6px; }
.footer-guides strong { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); }
.footer-guides a { color: inherit; font-size: 0.9rem; text-decoration: none; }
.footer-guides a:hover { text-decoration: underline; }
.delivery-link { color: #fff; font-weight: 700; white-space: nowrap; }
