/* =====================================================================
   Quiksell — customer site
   Tokens come from the logo: orange #F5702F + ink #222222, rectilinear strokes.
   The page stays quiet (grey shelf, white panels) so the promo banners carry colour.
   ===================================================================== */
:root {
  --ink: #222222;
  --ink-2: #3A3D42;
  --orange: #F5702F;
  --orange-deep: #B8480F;
  --orange-wash: #FFF1E8;
  --shelf: #EEF0F3;
  --paper: #FFFFFF;
  --line: #DADDE2;
  --line-strong: #C4C8CF;
  --muted: #5B6270;
  --money: #0B7A4B;
  --money-wash: #E3F4EB;

  --f-display: 'Archivo', 'Arial Narrow', Arial, sans-serif;
  --f-body: 'Hind Siliguri', 'Segoe UI', Roboto, Arial, sans-serif;

  --r-sm: 4px;
  --r-md: 6px;
  --r-lg: 10px;

  --wrap: 1240px;
  --header-h: 68px;

  --bs-body-font-family: var(--f-body);
  --bs-body-color: var(--ink);
  --bs-body-bg: var(--paper);
  --bs-link-color: var(--orange-deep);
  --bs-link-color-rgb: 184, 72, 15;
  --bs-link-hover-color: var(--ink);
  --bs-border-color: var(--line);
  --bs-border-radius: var(--r-md);
  --bs-focus-ring-color: rgba(245, 112, 47, .35);
}

* { box-sizing: border-box; }
html { scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  font-family: var(--f-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--shelf);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; }
a { color: var(--orange-deep); text-underline-offset: 3px; }
a:hover { color: var(--ink); }

h1, h2, h3, h4, .display {
  font-family: var(--f-display);
  font-stretch: 112%;
  font-weight: 750;
  letter-spacing: -0.01em;
  line-height: 1.12;
  color: var(--ink);
}
h1 { font-size: clamp(2rem, 1.4rem + 2.6vw, 3.05rem); }
h2 { font-size: clamp(1.4rem, 1.15rem + 1vw, 1.95rem); }
h3 { font-size: 1.22rem; }
h4 { font-size: 1.05rem; }
.num { font-family: var(--f-display); font-stretch: 112%; font-variant-numeric: tabular-nums; }
.text-muted-2 { color: var(--muted) !important; }
.money { color: var(--money); }

:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; border-radius: 2px; }
.visually-hidden-focusable:focus { position: fixed; top: 8px; left: 8px; z-index: 2000; background: var(--paper); padding: 8px 14px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
@media (min-width: 992px) { .wrap { padding: 0 24px; } }

/* ---------------- Buttons ---------------- */
.btn { font-weight: 600; border-radius: var(--r-md); padding: .7rem 1.25rem; letter-spacing: .005em; }
.btn-lg { padding: .9rem 1.6rem; font-size: 1.05rem; }
.btn-sm { padding: .4rem .8rem; }
.btn-qs {
  background: var(--orange); color: var(--ink); border: 2px solid var(--orange);
}
.btn-qs:hover, .btn-qs:focus-visible { background: #FF8243; border-color: #FF8243; color: var(--ink); }
.btn-qs:active { background: #E0601F !important; border-color: #E0601F !important; color: var(--ink) !important; }
.btn-ink { background: var(--ink); color: #fff; border: 2px solid var(--ink); }
.btn-ink:hover, .btn-ink:focus-visible { background: #000; color: #fff; }
.btn-line { background: var(--paper); color: var(--ink); border: 2px solid var(--line-strong); }
.btn-line:hover { border-color: var(--ink); color: var(--ink); }
.btn-wa { background: #0F8A4C; color: #fff; border: 2px solid #0F8A4C; }
.btn-wa:hover { background: #0B6E3C; color: #fff; }
.btn:disabled, .btn.disabled { opacity: .45; }

/* ---------------- Top bar + header ---------------- */
.topbar { background: var(--ink); color: #D7D9DD; font-size: .86rem; }
.topbar .wrap { display: flex; justify-content: space-between; gap: 16px; padding-top: 6px; padding-bottom: 6px; }
.topbar a { color: #fff; text-decoration: none; font-weight: 600; }
.topbar a:hover { color: var(--orange); }

.site-header { position: sticky; top: 0; z-index: 1030; background: var(--paper); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 20px; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); flex-shrink: 0; }
.brand img { height: 40px; width: auto; }
.brand-word { font-family: var(--f-display); font-stretch: 118%; font-weight: 800; font-size: 1.32rem; letter-spacing: -.02em; line-height: 1; }
.brand-word b { color: var(--orange); font-weight: 800; }

.hsearch { position: relative; flex: 1; max-width: 640px; }
.hsearch input {
  width: 100%; height: 44px; border: 2px solid var(--ink); border-radius: var(--r-md);
  padding: 0 52px 0 14px; font-size: 1rem; background: var(--paper); color: var(--ink);
}
.hsearch input::placeholder { color: #7A808A; }
.hsearch input:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(245,112,47,.25); }
.hsearch button {
  position: absolute; right: 4px; top: 4px; height: 36px; width: 44px; border: 0; border-radius: var(--r-sm);
  background: var(--orange); color: var(--ink); font-size: 1.05rem;
}
.suggest {
  position: absolute; left: 0; right: 0; top: calc(100% + 4px); background: var(--paper);
  border: 1px solid var(--line-strong); border-radius: var(--r-md); z-index: 1100; overflow: hidden;
  box-shadow: 0 12px 28px -12px rgba(34,34,34,.35);
}
.suggest a { display: flex; justify-content: space-between; gap: 12px; padding: 10px 14px; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--shelf); }
.suggest a:last-child { border-bottom: 0; }
.suggest a:hover, .suggest a.active { background: var(--orange-wash); }
.suggest small { color: var(--muted); }
.suggest .empty { padding: 12px 14px; color: var(--muted); font-size: .95rem; }

.hactions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.hlink { display: inline-flex; align-items: center; gap: 6px; color: var(--ink); text-decoration: none; font-weight: 600; padding: 8px 10px; border-radius: var(--r-sm); white-space: nowrap; }
.hlink:hover { background: var(--shelf); color: var(--ink); }
.hlink i { font-size: 1.15rem; }

.catnav { background: var(--paper); border-bottom: 1px solid var(--line); }
.catnav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; overflow-x: auto; scrollbar-width: none; }
.catnav ul::-webkit-scrollbar { display: none; }
.catnav a { display: block; padding: 10px 12px; color: var(--ink-2); text-decoration: none; font-weight: 500; white-space: nowrap; border-bottom: 3px solid transparent; }
.catnav a:hover { color: var(--ink); border-bottom-color: var(--line-strong); }
.catnav a.on { color: var(--ink); border-bottom-color: var(--orange); font-weight: 600; }

@media (max-width: 767.98px) {
  :root { --header-h: auto; }
  .site-header .wrap { flex-wrap: wrap; gap: 10px; padding-top: 10px; padding-bottom: 10px; }
  .hsearch { order: 3; flex-basis: 100%; max-width: none; }
  .brand img { height: 34px; }
  .hlink span { display: none; }
  .topbar .t-note { display: none; }
}

/* ---------------- Shelf + panels ---------------- */
.shelf { padding: 12px 0; }
@media (min-width: 992px) { .shelf { padding: 16px 0; } }
.panel { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md); }
.panel-pad { padding: 20px; }
@media (min-width: 992px) { .panel-pad { padding: 28px; } }
.row-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.row-head h2 { margin: 0; }
.row-head a { font-weight: 600; white-space: nowrap; }
.lede { color: var(--muted); max-width: 62ch; margin: 6px 0 0; }

/* ---------------- Hero ad carousel ---------------- */
.adhero { position: relative; border-radius: var(--r-md); overflow: hidden; background: var(--ink); }
.adhero .carousel-item { aspect-ratio: 14 / 5; }
.adhero .carousel-item img, .adhero .carousel-item picture { display: block; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 575.98px) {
  .adhero .carousel-item.has-mobile { aspect-ratio: 16 / 9; }
}
.adhero .carousel-indicators { margin-bottom: .6rem; }
.adhero .carousel-indicators [data-bs-target] { width: 22px; height: 4px; border: 0; border-radius: 2px; background: #fff; opacity: .55; }
.adhero .carousel-indicators .active { opacity: 1; background: var(--orange); }
.adhero .carousel-control-prev, .adhero .carousel-control-next {
  width: 44px; height: 72px; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,.92); opacity: 1;
}
.adhero .carousel-control-prev { border-radius: 0 var(--r-md) var(--r-md) 0; }
.adhero .carousel-control-next { border-radius: var(--r-md) 0 0 var(--r-md); }
.adhero .carousel-control-prev-icon, .adhero .carousel-control-next-icon { filter: invert(1); width: 1.3rem; height: 1.3rem; }
@media (max-width: 767.98px) { .adhero .carousel-control-prev, .adhero .carousel-control-next { display: none; } }
/* Fit-to-width on phones: never crop the banner, show the whole image (like Amazon/Flipkart), even if it doesn't exactly match the 14:5 hero ratio */
@media (max-width: 767.98px) {
  .adhero .carousel-item:not(.text-slide) { aspect-ratio: auto; }
  .adhero .carousel-item:not(.text-slide) img, .adhero .carousel-item:not(.text-slide) picture { height: auto; object-fit: contain; }
}

/* Text-based slide (built-in default when no creative is uploaded, or ad without image) */
.adtext { position: relative; height: 100%; display: flex; align-items: center; padding: 24px 72px; background: var(--ink); color: #fff; overflow: hidden; }
.adtext::after {
  /* the Quiksell mark, oversized and cropped: white S at low opacity, orange Q */
  content: ""; position: absolute; right: 4%; top: -12%; height: 135%; aspect-ratio: 101 / 154;
  background: url(../../images/brand/qs-mark-dark.svg) no-repeat center / contain; pointer-events: none;
}
.adtext .inner { position: relative; z-index: 1; max-width: 60%; }
.adtext h2, .adtext h1 { color: #fff; font-size: clamp(1.5rem, 1rem + 2.4vw, 2.9rem); margin: 0 0 10px; }
.adtext p { color: #D7D9DD; font-size: clamp(.95rem, .85rem + .4vw, 1.15rem); margin: 0 0 18px; max-width: 46ch; }
@media (max-width: 767.98px) {
  .adtext { padding: 20px; }
  .adtext .inner { max-width: 100%; }
  .adtext::after { display: none; }
  .adhero .carousel-item.text-slide { aspect-ratio: auto; min-height: 280px; }
}

/* Strip / middle ad slots */
.adslot { display: block; border-radius: var(--r-md); overflow: hidden; background: var(--paper); border: 1px solid var(--line); }
.adslot img { display: block; width: 100%; height: auto; }
.adslot-text { display: flex; flex-direction: column; justify-content: center; gap: 6px; padding: 18px 20px; height: 100%; text-decoration: none; color: var(--ink); background: var(--orange-wash); border-color: #F8D2BD; }
.adslot-text strong { font-family: var(--f-display); font-stretch: 112%; font-size: 1.15rem; line-height: 1.2; }
.adslot-text span { color: var(--ink-2); }
.adslot-text:hover { border-color: var(--orange); color: var(--ink); }

/* ---------------- Brand rail ---------------- */
.brands { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
@media (min-width: 1200px) { .brands { grid-template-columns: repeat(8, 1fr); } }
.brand-tile {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  height: 84px; border: 1px solid var(--line); border-radius: var(--r-md); text-decoration: none; color: var(--ink); background: var(--paper);
  transition: border-color .15s ease;
}
.brand-tile:hover { border-color: var(--ink); color: var(--ink); }
.brand-tile .bn { font-family: var(--f-display); font-stretch: 104%; font-weight: 750; font-size: .98rem; letter-spacing: -.01em; white-space: nowrap; }
.brand-tile small { color: var(--muted); font-size: .8rem; }

/* ---------------- Quick valuation widget ---------------- */
.quickval { background: var(--ink); color: #fff; border-radius: var(--r-md); padding: 24px; height: 100%; display: flex; flex-direction: column; gap: 14px; }
.quickval h2 { color: #fff; margin: 0; font-size: 1.45rem; }
.quickval p { color: #C9CCD2; margin: 0; }
.quickval label { font-weight: 600; font-size: .95rem; color: #fff; }
.quickval .form-select { height: 50px; font-size: 1.02rem; border: 0; border-radius: var(--r-md); }
.quickval .small-links { font-size: .9rem; color: #C9CCD2; }
.quickval .small-links a { color: #fff; }

/* ---------------- Steps (a real sequence → numbered) ---------------- */
.steps { display: grid; gap: 0; grid-template-columns: 1fr; counter-reset: s; }
@media (min-width: 768px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step { position: relative; padding: 18px 20px 18px 64px; border-top: 1px solid var(--line); }
.step:first-child { border-top: 0; }
@media (min-width: 768px) {
  .step { padding: 8px 24px 8px 0; border-top: 0; border-left: 0; }
  .step + .step { padding-left: 24px; border-left: 1px solid var(--line); }
}
.step .n {
  position: absolute; left: 12px; top: 18px; width: 38px; height: 38px; display: grid; place-items: center;
  font-family: var(--f-display); font-stretch: 118%; font-weight: 800; background: var(--orange); color: var(--ink); border-radius: var(--r-sm);
}
@media (min-width: 768px) { .step .n { position: static; margin-bottom: 14px; } }
.step h3 { font-size: 1.12rem; margin: 0 0 4px; }
.step p { color: var(--muted); margin: 0; font-size: .96rem; }

/* ---------------- Stats (real numbers only) ---------------- */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
@media (min-width: 768px) { .stats { grid-template-columns: repeat(var(--cols, 4), 1fr); } }
.stat { background: var(--paper); padding: 20px; }
.stat .v { font-family: var(--f-display); font-stretch: 118%; font-weight: 800; font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.4rem); line-height: 1; }
.stat .l { color: var(--muted); margin-top: 6px; font-size: .95rem; }

/* ---------------- Why us ---------------- */
.why { display: grid; grid-template-columns: 1fr; }
@media (min-width: 768px) { .why { grid-template-columns: repeat(3, 1fr); } }
.why-item { padding: 18px 20px; border-top: 1px solid var(--line); display: flex; gap: 14px; }
@media (min-width: 768px) {
  .why-item { border-top: 0; border-left: 1px solid var(--line); }
  .why-item:nth-child(3n+1) { border-left: 0; }
  .why-item:nth-child(n+4) { border-top: 1px solid var(--line); }
}
.why-item i { font-size: 1.5rem; color: var(--orange-deep); line-height: 1; margin-top: 3px; }
.why-item h3 { font-size: 1.05rem; margin: 0 0 4px; }
.why-item p { margin: 0; color: var(--muted); font-size: .95rem; }

/* ---------------- Reviews ---------------- */
.hscroll { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(280px, 1fr); gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -ms-overflow-style: none; }
.hscroll::-webkit-scrollbar { display: none; height: 0; }
@media (min-width: 992px) { .hscroll { grid-auto-columns: calc((100% - 36px) / 4); } }
.hscroll > * { scroll-snap-align: start; }
/* Carousel arrows, injected by JS around every .hscroll */
.hscroll-wrap { position: relative; }
.hscroll-nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: var(--paper); color: var(--ink); display: grid; place-items: center; box-shadow: 0 2px 10px rgba(0,0,0,.12); cursor: pointer; }
.hscroll-nav:hover { border-color: var(--orange); color: var(--orange-deep); }
.hscroll-nav[hidden] { display: none; }
.hscroll-prev { left: -8px; }
.hscroll-next { right: -8px; }
@media (max-width: 767.98px) { .hscroll-nav { width: 32px; height: 32px; } .hscroll-nav i { font-size: .85rem; } .hscroll-prev { left: 2px; } .hscroll-next { right: 2px; } }
.review { border: 1px solid var(--line); border-radius: var(--r-md); padding: 18px; background: var(--paper); display: flex; flex-direction: column; gap: 10px; }
.review .stars { color: var(--orange); letter-spacing: 2px; font-size: .95rem; }
.review blockquote { margin: 0; font-size: .98rem; color: var(--ink-2); }
.review .who { display: flex; align-items: center; gap: 10px; margin-top: auto; }
.avatar { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: #fff; font-weight: 700; font-size: .9rem; flex-shrink: 0; overflow: hidden; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.review .who strong { display: block; line-height: 1.2; }
.review .who small { color: var(--muted); }
.verified { color: var(--money); font-weight: 600; font-size: .82rem; }

/* ---------------- Blog cards ---------------- */
.post-grid { display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 768px) { .post-grid { grid-template-columns: repeat(3, 1fr); } }
.post { display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; text-decoration: none; color: var(--ink); }
.post:hover { border-color: var(--ink-2); color: var(--ink); }
.post .cover { aspect-ratio: 16 / 9; background: var(--shelf); overflow: hidden; }
.post .cover img { width: 100%; height: 100%; object-fit: cover; }
.post .body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 6px; }
.post .cat { font-size: .85rem; color: var(--orange-deep); font-weight: 600; }
.post h3 { font-size: 1.08rem; margin: 0; line-height: 1.3; }
.post p { color: var(--muted); margin: 0; font-size: .95rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ---------------- FAQ ---------------- */
.faq .accordion-item { border: 0; border-top: 1px solid var(--line); background: transparent; }
.faq .accordion-item:first-child { border-top: 0; }
.faq .accordion-button { font-weight: 600; font-size: 1.02rem; padding: 16px 0; background: transparent; color: var(--ink); box-shadow: none; }
.faq .accordion-button:not(.collapsed) { color: var(--ink); background: transparent; }
.faq .accordion-button::after { filter: grayscale(1) brightness(.2); }
.faq .accordion-body { padding: 0 0 18px; color: var(--ink-2); max-width: 72ch; }

/* ---------------- Final CTA ---------------- */
.cta-band { position: relative; background: var(--orange); border-radius: var(--r-md); padding: 32px 28px; overflow: hidden; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; }
.cta-band::after { content: ""; position: absolute; right: 28px; top: -30px; height: 170%; aspect-ratio: 101 / 154; background: url(../../images/brand/qs-mark-ink.svg) no-repeat center / contain; pointer-events: none; }
.cta-band h2 { margin: 0; max-width: 20ch; }
.cta-band > div { position: relative; z-index: 1; }
.cta-band p { margin: 6px 0 0; color: var(--ink-2); }
.cta-band .acts { position: relative; z-index: 1; display: flex; gap: 10px; flex-wrap: wrap; margin-right: 150px; }
@media (max-width: 767.98px) { .cta-band .acts { margin-right: 0; } .cta-band::after { right: -40px; opacity: .6; } }

/* ---------------- Footer ---------------- */
.site-footer { background: var(--ink); color: #C9CCD2; margin-top: 24px; font-size: .95rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--orange); }
.site-footer h3 { color: #fff; font-size: 1rem; margin-bottom: 12px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 7px; }
.site-footer .legal { border-top: 1px solid #3A3D42; padding: 14px 0 90px; font-size: .88rem; }
@media (min-width: 768px) { .site-footer .legal { padding-bottom: 14px; } }
.social a { display: inline-grid; place-items: center; width: 38px; height: 38px; border: 1px solid #4A4D52; border-radius: var(--r-sm); margin-right: 6px; font-size: 1.1rem; }
.social a:hover { border-color: var(--orange); }

/* ---------------- Mobile dock ---------------- */
.dock { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1040; display: flex; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: var(--paper); border-top: 1px solid var(--line); }
.dock .btn { flex: 1; padding: .8rem .5rem; }
.dock .btn-wa { flex: 0 0 56px; }
@media (min-width: 768px) {
  .dock { display: none; }
}
.fab-wa { position: fixed; right: 20px; bottom: 20px; z-index: 1040; width: 56px; height: 56px; border-radius: 50%; display: none; place-items: center; background: #0F8A4C; color: #fff; font-size: 1.6rem; text-decoration: none; box-shadow: 0 10px 24px -8px rgba(0,0,0,.4); }
.fab-wa:hover { color: #fff; background: #0B6E3C; }
@media (min-width: 768px) { .fab-wa { display: grid; } }

/* ---------------- Status chips (same everywhere) ---------------- */
.chip { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: .8rem; font-weight: 600; line-height: 1.6; white-space: nowrap; }
.chip-blue    { background: #E6EEFB; color: #1F4FA8; }
.chip-purple  { background: #F0EAFB; color: #5E35A8; }
.chip-amber   { background: #FFF1CC; color: #7A4F00; }
.chip-orange  { background: #FFE8D9; color: #A43E0B; }
.chip-teal    { background: #DDF3F2; color: #0B6464; }
.chip-green   { background: #DFF3E8; color: #0B6B42; }
.chip-red     { background: #FDE8E6; color: #A8231A; }
.chip-darkred { background: #7A1010; color: #fff; }
.chip-grey    { background: #ECEEF1; color: #4A4F57; }

/* ---------------- Page header (inner pages) ---------------- */
.page-head { background: var(--paper); border-bottom: 1px solid var(--line); padding: 28px 0 24px; }
.page-head h1 { font-size: clamp(1.7rem, 1.3rem + 1.6vw, 2.5rem); margin: 0; }
.crumbs { font-size: .9rem; color: var(--muted); margin-bottom: 8px; }
.crumbs a { color: var(--muted); }

.prose { max-width: 72ch; font-size: 1.05rem; line-height: 1.75; }
.prose h2 { font-size: 1.45rem; margin: 2rem 0 .6rem; }
.prose h3 { font-size: 1.2rem; margin: 1.6rem 0 .5rem; }
.prose ul, .prose ol { padding-left: 1.3rem; }
.prose li { margin-bottom: .35rem; }
.prose hr { margin: 2rem 0; border-color: var(--line-strong); opacity: 1; }
.prose img { border-radius: var(--r-md); }

/* ---------------- Popup ad ---------------- */
.adpop .modal-content { border: 0; border-radius: var(--r-md); overflow: hidden; }
.adpop .btn-close { position: absolute; right: 10px; top: 10px; z-index: 2; background-color: #fff; border-radius: 50%; padding: 10px; opacity: 1; }

/* ---------------- Forms (shared) ---------------- */
.form-control, .form-select { border-color: var(--line-strong); border-radius: var(--r-md); min-height: 48px; font-size: 1rem; }
.form-control:focus, .form-select:focus { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(245,112,47,.22); }
.form-label { font-weight: 600; margin-bottom: 6px; }
.form-text { color: var(--muted); }
.invalid-msg { color: #A8231A; font-size: .92rem; margin-top: 6px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
@media (max-width: 575.98px) { .brand-tile .bn { font-size: .86rem; } }

/* Phase 2B: account */
.acct-deal { padding: 14px 0; border-top: 1px solid var(--line); }
.acct-deal:first-of-type { border-top: 0; padding-top: 4px; }
.ref-card { border-left: 4px solid var(--orange); }
.ref-code { font-weight: 800; font-stretch: 118%; font-size: 1.35rem; letter-spacing: .06em; padding: 4px 14px; border: 2px dashed var(--orange); border-radius: var(--r-md); background: var(--orange-wash); }
.items-list { list-style: none; margin: 14px 0 0; padding: 0; }
.items-list li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-top: 1px solid var(--line); font-size: .95rem; }

/* Phase 3B: business + quote */
.biz-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.biz-list li { display: flex; gap: 12px; }
.biz-list i { font-size: 1.3rem; color: var(--orange-deep); line-height: 1.2; }
.quote-doc .table th { font-size: .85rem; color: var(--muted); font-weight: 600; }
@media print {
  .topbar, .site-header, .catnav, .site-footer, .dock, .fab-wa, .no-print { display: none !important; }
  body, .shelf { background: #fff !important; }
  .quote-doc { border: 0 !important; }
}

/* shared confirmation / error boxes (also used outside the sell wizard) */
.confirmed { display: flex; gap: 14px; align-items: flex-start; padding: 16px; background: var(--money-wash); border-radius: var(--r-md); margin-bottom: 20px; }
.confirmed i { font-size: 1.6rem; color: var(--money); line-height: 1; }
.confirmed strong { display: block; font-size: 1.05rem; }
.err-box { background: #FDE8E6; color: #7A1A12; border-radius: var(--r-md); padding: 10px 14px; margin-bottom: 14px; }

/* account: bills list */
.bill-row { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.bill-row:first-of-type { border-top: 0; }
.bill-row:hover { color: var(--orange-deep); }
.bill-row small { display: block; color: var(--muted); font-size: .82rem; }
