/* =========================================================
   Capos Company — showroom page (sample)
   Built on the site's design system: onyx · ivory · gold.
   ========================================================= */

.sr h2 { font-size: clamp(30px, 3.6vw, 54px); line-height: 1.02; letter-spacing: -.035em; }
.sr h2 em { font-family: var(--f-serif); font-style: italic; font-weight: 400; color: var(--gold-d); letter-spacing: -.01em; }

/* ---------- hero + search ---------- */
.sr-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--onyx);
  color: var(--ivory);
  padding: calc(var(--header-h) + 70px) 0 90px;
}
.sr-hero-bg { position: absolute; inset: 0; z-index: -2; }
.sr-hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 60%; animation: sr-zoom 18s var(--ease) both; }
.sr-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(11, 11, 12, .94) 0%, rgba(11, 11, 12, .72) 45%, rgba(11, 11, 12, .35) 100%),
    linear-gradient(180deg, rgba(11, 11, 12, .55) 0%, rgba(11, 11, 12, 0) 30%, rgba(11, 11, 12, .85) 100%);
}
@keyframes sr-zoom { from { transform: scale(1.12); } to { transform: scale(1); } }
.sr-hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(32px, 5vw, 80px); align-items: end; }
.sr-title { font-size: clamp(38px, 5.2vw, 76px); line-height: .98; letter-spacing: -.045em; margin: 0; }
.sr-title em { display: block; font-family: var(--f-serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sr-lead { margin-top: 26px; max-width: 46ch; font-size: 18px; color: rgba(244, 239, 228, .78); }
.sr-proof { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 34px 0 0; padding: 0; list-style: none; }
.sr-proof li { display: inline-flex; align-items: center; gap: 9px; font: 400 10.5px/1.3 var(--f-label); letter-spacing: .14em; text-transform: uppercase; color: rgba(244, 239, 228, .82); }
.sr-proof .ico { color: var(--gold-l); width: 18px; height: 18px; }

.sr-search {
  padding: 26px;
  border-radius: 18px;
  background: rgba(20, 20, 22, .72);
  border: 1px solid rgba(201, 162, 78, .38);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .8);
}
.sr-tabs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; padding: 5px; border-radius: 999px; background: rgba(244, 239, 228, .06); }
.sr-tab {
  padding: 11px 6px;
  border: 0;
  border-radius: 999px;
  background: none;
  color: rgba(244, 239, 228, .75);
  font: 600 14px/1 var(--f-body);
  cursor: pointer;
  transition: background-color .25s, color .25s;
}
.sr-tab:hover { color: var(--gold-l); }
.sr-tab.is-active { background: var(--gold-grad); color: var(--onyx); }
.sr-search-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 12px; margin: 2px 4px 14px; }
.sr-search-head strong { font-family: var(--f-display); font-size: 18px; color: var(--ivory); }
.sr-search-head span { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-l); }
.sr-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 20px; }
.sr-field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.sr-field > span { font: 400 9.5px/1 var(--f-label); letter-spacing: .18em; text-transform: uppercase; color: rgba(244, 239, 228, .55); }
.sr-field select, .sr-field input {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1px solid rgba(244, 239, 228, .16);
  background: rgba(11, 11, 12, .55);
  color: var(--ivory);
  font: 500 15px/1.2 var(--f-body);
  -webkit-appearance: none;
  appearance: none;
}
.sr-field select {
  padding-right: 36px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23E6C77A' stroke-width='1.6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 12px;
}
.sr-field select:focus, .sr-field input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201, 162, 78, .25); }
.sr-search-foot { display: flex; align-items: center; gap: 14px; margin-top: 22px; }
.sr-go { flex: 1; justify-content: center; border: 0; cursor: pointer; }
.sr-reset { padding: 12px 6px; border: 0; background: none; color: rgba(244, 239, 228, .6); font: 500 14px/1 var(--f-body); text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.sr-reset:hover { color: var(--gold-l); }
.sr-search-note { margin: 16px 0 0; font-size: 14px; color: rgba(244, 239, 228, .6); }
.sr-search-note a { color: var(--gold-l); text-decoration: none; }

/* ---------- section heads ---------- */
.sr-band { padding: 96px 0 84px; }
.sr-band--tint { background: var(--champagne); }
.sr-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 36px; }
.sr-head .label { margin-bottom: 18px; }
.sr-head h2 { margin: 0; }
.sr-head-note { max-width: 34ch; margin: 0; color: rgba(244, 239, 228, .62); font-size: 15px; }

/* ---------- brands ---------- */
.sr-brands { display: flex; gap: 12px; overflow-x: auto; padding: 4px 2px 14px; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.sr-brand {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 190px;
  padding: 16px 20px 16px 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #FFFDF8;
  cursor: pointer;
  scroll-snap-align: start;
  text-align: left;
  font: inherit;
  color: var(--onyx);
  transition: border-color .25s, transform .3s var(--ease), box-shadow .3s;
}
.sr-brand:hover, .sr-brand.is-active { border-color: var(--gold); transform: translateY(-3px); box-shadow: 0 18px 40px -24px rgba(154, 116, 41, .7); }
.sr-brand.is-active { background: var(--onyx); color: var(--ivory); }
.sr-mono {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  flex: none;
  border-radius: 50%;
  background: var(--onyx);
  color: var(--gold-l);
  font: 600 15px/1 var(--f-display);
  letter-spacing: -.04em;
}
.sr-brand.is-active .sr-mono { background: var(--gold-grad); color: var(--onyx); }
.sr-brand b { display: block; font: 600 16px/1.1 var(--f-display); letter-spacing: -.03em; }
.sr-brand small { display: block; margin-top: 5px; font: 400 9.5px/1 var(--f-label); letter-spacing: .16em; text-transform: uppercase; color: var(--stone); }
.sr-brand.is-active small { color: var(--gold-l); }

/* ---------- body types ---------- */
.sr-types { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }   /* six types since the used hatchbacks (1 Dec 2026) */
.sr-type {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 26px 12px 22px;
  border: 1px solid rgba(11, 11, 12, .12);
  border-radius: 16px;
  background: rgba(255, 253, 248, .65);
  color: var(--onyx);
  font: inherit;
  cursor: pointer;
  transition: background-color .25s, border-color .25s, transform .3s var(--ease);
}
.sr-type svg { width: 64px; height: 34px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.sr-type b { font: 600 15px/1.1 var(--f-display); letter-spacing: -.02em; }
.sr-type small { font: 400 9.5px/1 var(--f-label); letter-spacing: .16em; text-transform: uppercase; color: var(--stone); }
.sr-type:hover { transform: translateY(-3px); border-color: var(--gold-d); }
.sr-type.is-active { background: var(--onyx); color: var(--ivory); border-color: var(--onyx); }
.sr-type.is-active svg { stroke: var(--gold-l); }
.sr-type.is-active small { color: var(--gold-l); }

/* ---------- inventory ---------- */
.sr-inv { padding: 96px 0 110px; scroll-margin-top: calc(var(--header-h) - 10px); }
.sr-sample {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 34px;
  padding: 14px 18px;
  border: 1px dashed var(--gold-d);
  border-radius: 12px;
  background: rgba(201, 162, 78, .08);
  font-size: 14.5px;
  color: #5b4a22;
}
.sr-sample::before { content: "i"; display: grid; place-items: center; width: 22px; height: 22px; flex: none; border-radius: 50%; background: var(--gold-d); color: #fff; font: italic 600 13px/1 var(--f-serif); }
.sr-head--bar { flex-wrap: wrap; }
.sr-sort { display: flex; align-items: center; gap: 10px; font: 400 9.5px/1 var(--f-label); letter-spacing: .16em; text-transform: uppercase; color: var(--stone); }
.sr-sort select {
  min-height: 44px;
  padding: 0 36px 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #FFFDF8 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%239A7429' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 14px center / 11px;
  font: 500 14px/1 var(--f-body);
  color: var(--onyx);
  -webkit-appearance: none;
  appearance: none;
}
.sr-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: -12px 0 26px; min-height: 0; }
.sr-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px 8px 14px;
  border: 0;
  border-radius: 999px;
  background: var(--onyx);
  color: var(--ivory);
  font: 500 13.5px/1 var(--f-body);
  cursor: pointer;
}
.sr-chip i { display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: rgba(244, 239, 228, .15); font-style: normal; font-size: 11px; }
.sr-chip:hover i { background: var(--gold); color: var(--onyx); }

.sr-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.sr-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #FFFDF8;
  overflow: hidden;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .3s;
  animation: sr-in .55s var(--ease) both;
}
@keyframes sr-in { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.sr-card:hover { transform: translateY(-5px); border-color: rgba(201, 162, 78, .7); box-shadow: 0 28px 60px -34px rgba(11, 11, 12, .55); }
.sr-card.is-sold { opacity: .72; }
.sr-card-media { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--onyx-2); cursor: pointer; border: 0; padding: 0; width: 100%; }
.sr-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.sr-card:hover .sr-card-media img { transform: scale(1.05); }
.sr-card.is-sold .sr-card-media img { filter: grayscale(.85); }
.sr-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 7px 11px;
  border-radius: 999px;
  font: 400 9px/1 var(--f-label);
  letter-spacing: .16em;
  text-transform: uppercase;
  background: var(--gold-grad);
  color: var(--onyx);
}
.sr-badge[data-s="Reserved"] { background: var(--onyx); color: var(--gold-l); border: 1px solid rgba(201, 162, 78, .6); }
.sr-badge[data-s="Sold"] { background: #3a3a3d; color: #ddd; }
.sr-badge[data-s="Coming soon"] { background: var(--ivory); color: var(--onyx); }
.sr-badge[data-s="To order"] { background: var(--ivory); color: var(--onyx); }
.sr-badge[data-s="Check availability"] { background: var(--ivory); color: var(--onyx); }
.sr-year {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(11, 11, 12, .72);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  color: var(--ivory);
  font: 500 12px/1 var(--f-mono);
}
.sr-ref { position: absolute; left: 14px; bottom: 12px; padding: 5px 8px; border-radius: 6px; background: rgba(11, 11, 12, .72); font: 500 11px/1 var(--f-mono); color: rgba(244, 239, 228, .92); }
.sr-cond { position: absolute; right: 14px; bottom: 12px; padding: 5px 9px; border-radius: 6px; background: rgba(11, 11, 12, .72); color: var(--gold-l); font: 400 8.5px/1 var(--f-label); letter-spacing: .14em; text-transform: uppercase; }
.sr-card-body { display: flex; flex-direction: column; flex: 1; padding: 20px 20px 18px; }
.sr-card-title { margin: 0; font: 600 19px/1.15 var(--f-display); letter-spacing: -.03em; }
.sr-card-title span { display: block; margin-top: 4px; font: 400 14px/1.3 var(--f-body); letter-spacing: 0; color: var(--stone); }
.sr-meta { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px 12px; margin: 16px 0 18px; padding: 14px 0 0; border-top: 1px solid var(--line); list-style: none; }
.sr-meta li { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: #3d382f; min-width: 0; }
.sr-meta svg { width: 16px; height: 16px; flex: none; fill: none; stroke: var(--gold-d); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.sr-card-foot { display: flex; align-items: center; gap: 8px; margin-top: auto; }
.sr-price { margin-right: auto; font: 400 9px/1.3 var(--f-label); letter-spacing: .14em; text-transform: uppercase; color: var(--stone); }
.sr-price b { display: block; font: 600 14px/1.2 var(--f-body); letter-spacing: 0; text-transform: none; color: var(--onyx); }
.sr-more {
  padding: 11px 16px;
  border: 1px solid var(--onyx);
  border-radius: 999px;
  background: var(--onyx);
  color: var(--ivory);
  font: 600 13.5px/1 var(--f-body);
  cursor: pointer;
  transition: background-color .25s, color .25s;
}
.sr-more:hover { background: none; color: var(--onyx); }
.sr-wa {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: none;
  border-radius: 50%;
  background: var(--gold-grad);
  color: var(--onyx);
  text-decoration: none;
}
.sr-wa svg, .sr-icon-btn svg { width: 19px; height: 19px; }
.sr-empty { padding: 60px 24px; border: 1px dashed var(--gold-d); border-radius: 18px; text-align: center; }
.sr-empty h3 { margin: 0 0 10px; font-size: 26px; }
.sr-empty p { margin: 0 auto 24px; max-width: 42ch; color: var(--stone); }

/* ---------- how it works ---------- */
.sr-how { padding: 110px 0; background: var(--onyx); color: var(--ivory); }
.sr-how h2 em { color: var(--gold-l); }
.sr-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin: 10px 0 0; padding: 0; list-style: none; counter-reset: s; }
.sr-steps li { position: relative; padding: 28px 24px 26px; border: 1px solid var(--line-inv); border-radius: 18px; background: linear-gradient(180deg, rgba(244, 239, 228, .05), rgba(244, 239, 228, 0)); }
.sr-steps li:not(:last-child)::after { content: "→"; position: absolute; right: -15px; top: 38px; z-index: 1; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--onyx); color: var(--gold); font-size: 14px; }
.sr-step-n { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--gold-grad); color: var(--onyx); font: italic 400 28px/1 var(--f-serif); }
.sr-steps h3 { margin: 22px 0 8px; font-size: 20px; letter-spacing: -.02em; }
.sr-steps p { margin: 0; color: rgba(244, 239, 228, .66); font-size: 15px; }

/* ---------- request ---------- */
.sr-request { padding: 110px 0; background: var(--gold-soft); color: var(--onyx); scroll-margin-top: var(--header-h); }
.sr-request .label { color: rgba(11, 11, 12, .6); }
.sr-request .label span { color: var(--onyx); }
.sr-request h2 em { color: var(--onyx); }
.sr-request-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 90px); align-items: center; }
.sr-request-lead { margin-top: 22px; max-width: 42ch; font-size: 18px; color: rgba(11, 11, 12, .78); }
.sr-req-form { display: grid; gap: 14px; padding: 28px; border-radius: 18px; background: rgba(255, 253, 248, .55); box-shadow: 0 30px 60px -36px rgba(11, 11, 12, .5); }
.sr-req-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.sr-field--light > span { color: rgba(11, 11, 12, .6); }
.sr-field--light select, .sr-field--light input { background-color: #FFFDF8; border-color: rgba(11, 11, 12, .16); color: var(--onyx); }
.sr-field--light select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%239A7429' stroke-width='1.6'/%3E%3C/svg%3E"); }
.sr-field--light input::placeholder { color: rgba(11, 11, 12, .38); }
.sr-wa-btn { justify-content: center; border: 0; cursor: pointer; margin-top: 4px; }
.sr-req-note { margin: 0; font-size: 13.5px; color: rgba(11, 11, 12, .62); text-align: center; }

/* ---------- destinations ---------- */
.sr-dest { padding: 46px 0 50px; background: var(--onyx); color: var(--ivory); border-top: 1px solid var(--line-inv); }
.sr-dest .label { margin-bottom: 16px; }
.sr-dest-list { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.sr-dest-list li { padding: 10px 16px; border: 1px solid rgba(201, 162, 78, .4); border-radius: 999px; font: 500 15px/1 var(--f-body); color: rgba(244, 239, 228, .88); }
.sr-dest-list li:last-child { border-style: dashed; color: var(--gold-l); }

/* ---------- detail sheet ---------- */
.sr-sheet {
  width: min(1100px, calc(100% - 32px));
  max-height: calc(100% - 32px);
  padding: 0;
  border: 1px solid rgba(201, 162, 78, .45);
  border-radius: 22px;
  background: #FFFDF8;
  color: var(--onyx);
  overflow: hidden;
}
.sr-sheet::backdrop { background: rgba(11, 11, 12, .72); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.sr-sheet[open] { display: block; animation: sr-pop .45s var(--ease); }
@keyframes sr-pop { from { opacity: 0; transform: translateY(24px) scale(.98); } to { opacity: 1; transform: none; } }
/* a fixed height lets the details column scroll on its own while the pictures stay in view */
.sr-sheet-inner { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); height: calc(100vh - 32px); max-height: 860px; }
.sr-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: var(--onyx);
  color: var(--ivory);
  font-size: 16px;
  cursor: pointer;
}
.sr-sheet-media { position: relative; background: var(--onyx); min-height: 320px; }
.sr-sheet-media img { width: 100%; height: 100%; object-fit: cover; }
/* official studio pictures: show the whole car; the bands above and below match the studio's edges */
.sr-sheet-media:has(> img#sheet-ph) { background: linear-gradient(to bottom, #E3E3E3 0 50%, #D5D5D5 50% 100%); }
.sr-sheet-media > img#sheet-ph { position: absolute; inset: 0; object-fit: contain; }
.sr-sheet-body { padding: 34px 34px 30px; overflow-y: auto; }
.sr-sheet-ref { margin: 0 0 10px; font: 500 12px/1 var(--f-mono); color: var(--gold-d); }
.sr-sheet-title { margin: 0; font-size: clamp(26px, 2.6vw, 38px); line-height: 1.04; letter-spacing: -.035em; }
.sr-sheet-price { margin: 12px 0 0; font-weight: 600; }
.sr-sheet-price span { font-weight: 400; color: var(--stone); }
.sr-keys { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 0; padding: 0; list-style: none; }
.sr-keys li { padding: 8px 12px; border-radius: 999px; background: var(--champagne); font: 500 13.5px/1 var(--f-body); }
.sr-ship { margin-top: 24px; }
.sr-sheet-actions { display: flex; align-items: center; gap: 10px; margin-top: 16px; }
.sr-sheet-actions .btn { flex: 1; justify-content: center; }
.sr-icon-btn { display: grid; place-items: center; width: 54px; height: 54px; flex: none; border: 1px solid var(--line); border-radius: 50%; background: #fff; color: var(--onyx); cursor: pointer; }
.sr-icon-btn:hover { border-color: var(--gold); color: var(--gold-d); }
.sr-sheet-h { margin: 32px 0 12px; font: 400 10px/1 var(--f-label); letter-spacing: .2em; text-transform: uppercase; color: var(--gold-d); }
.sr-specs { display: grid; grid-template-columns: 1fr 1fr; gap: 0 22px; margin: 0; }
.sr-specs div { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.sr-specs dt { color: var(--stone); }
.sr-specs dd { margin: 0; font-weight: 600; text-align: right; }
.sr-feats { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.sr-feats li { display: inline-flex; align-items: center; gap: 7px; padding: 7px 11px; border: 1px solid var(--line); border-radius: 999px; font-size: 13.5px; }
.sr-feats li::before { content: ""; width: 6px; height: 6px; transform: rotate(45deg); background: var(--gold-d); }
.sr-credit { margin: 18px 0 0; font-size: 12.5px; line-height: 1.5; color: var(--stone); }
.sr-credit[hidden], .sr-thumbs[hidden] { display: none; }
.sr-sheet-foot { margin: 26px 0 0; font-size: 12.5px; color: var(--stone); }

/* ---------- floating WhatsApp ---------- */
.sr-wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 60; display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: var(--gold-grad); color: var(--onyx); box-shadow: 0 0 0 4px rgba(11, 11, 12, .85), 0 16px 34px -12px rgba(0, 0, 0, .6); }
.sr-wa-float svg { width: 28px; height: 28px; fill: currentColor; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .sr-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sr-types { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sr-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sr-steps li:nth-child(2)::after { display: none; }
}
@media (max-width: 900px) {
  .sr-hero { padding-top: calc(var(--header-h) + 40px); padding-bottom: 60px; }
  .sr-hero-grid, .sr-request-grid { grid-template-columns: 1fr; }
  .sr-head { flex-direction: column; align-items: flex-start; }
  .sr-sheet-inner { grid-template-columns: 1fr; overflow-y: auto; }
  /* min-height: auto keeps the picture's row at its 4:3 height; with 0 the row collapses and the text slides under the picture */
  .sr-sheet-media { min-height: auto; aspect-ratio: 4 / 3; }
  .sr-sheet-body { overflow: visible; }
}
@media (max-width: 600px) {
  .sr-band, .sr-inv { padding: 70px 0; }
  .sr-how, .sr-request { padding: 80px 0; }
  .sr-search { padding: 18px; }
  .sr-tab { font-size: 13px; padding: 10px 2px; }
  .sr-fields { gap: 10px; }
  .sr-grid { grid-template-columns: 1fr; }
  .sr-types { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sr-steps { grid-template-columns: 1fr; }
  .sr-steps li::after { display: none; }
  .sr-req-row { grid-template-columns: 1fr; }
  .sr-specs { grid-template-columns: 1fr; }
  .sr-sheet { width: 100%; max-width: none; max-height: 100%; height: 100%; margin: 0; border-radius: 0; border: 0; }
  .sr-sheet-inner { max-height: 100vh; height: 100%; }
  .sr-sheet-body { padding: 26px 20px 110px; }
  .sr-sheet-actions { position: fixed; left: 0; right: 0; bottom: 0; z-index: 2; margin: 0; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: #FFFDF8; border-top: 1px solid var(--line); }
  .sr-wa-float { right: 14px; bottom: 14px; width: 52px; height: 52px; }
  .sr-sheet[open] ~ .sr-wa-float { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .sr-hero-bg img { animation: none; }
  .sr-card { animation: none; }
}

/* ---------- spec sheet print (the "PDF" button prints only the open sheet) ---------- */
@media print {
  body.sr-printing > *:not(main) { display: none !important; }
  body.sr-printing main > *:not(.sr-sheet) { display: none !important; }
  body.sr-printing .sr-sheet { position: static; display: block; width: 100%; max-height: none; border: 0; box-shadow: none; }
  body.sr-printing .sr-sheet-inner { display: block; max-height: none; }
  body.sr-printing .sr-sheet-media { height: 340px; border-radius: 12px; overflow: hidden; }
  body.sr-printing .sr-close, body.sr-printing .sr-ship, body.sr-printing .sr-sheet-actions { display: none !important; }
  body.sr-printing .sr-sheet-body { padding: 24px 0 0; overflow: visible; }
  body.sr-printing .sr-sheet-foot::after { content: " · Capos Company · WhatsApp +971 54 546 9602 · contact@caposcompany.com"; }
}

/* ---------- photo frames: one consistent "studio in Dubai" look until the real photos are added ---------- */
.sr-ph {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background:
    linear-gradient(180deg, transparent 0 64%, rgba(201, 162, 78, .22) 64.2%, transparent 64.6%),
    linear-gradient(180deg, transparent 0 64%, rgba(244, 239, 228, .05) 64% 100%),
    radial-gradient(ellipse 70% 55% at 50% 42%, #34322d 0%, #1b1a1c 55%, #0e0e10 100%);
  color: var(--gold-l);
  overflow: hidden;
}
.sr-ph::after {
  content: "";
  position: absolute;
  left: 18%;
  right: 18%;
  top: 63%;
  height: 16px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(0, 0, 0, .55), transparent);
}
.sr-ph svg { position: relative; z-index: 1; width: 64%; height: auto; margin-top: 4%; fill: none; stroke: currentColor; stroke-width: 1.15; stroke-linecap: round; stroke-linejoin: round; opacity: .9; }
.sr-ph.is-flip svg { transform: scaleX(-1); }
.sr-ph em { position: relative; z-index: 1; font: 400 9px/1 var(--f-label); font-style: normal; letter-spacing: .18em; text-transform: uppercase; color: rgba(244, 239, 228, .7); }
.sr-ph small { position: relative; z-index: 1; font: 400 11px/1 var(--f-mono); color: rgba(230, 199, 122, .55); }
.sr-card-media .sr-ph { transition: transform 1s var(--ease); }
.sr-card:hover .sr-card-media .sr-ph { transform: scale(1.03); }
.sr-card.is-sold .sr-ph { filter: grayscale(1) brightness(.85); }
.sr-ph--big { position: relative; inset: auto; min-height: 100%; aspect-ratio: 4 / 3; }
.sr-ph--big svg { width: 58%; }
.sr-ph--big em { font-size: 10.5px; }

.sr-sheet-media { display: flex; flex-direction: column; background: var(--onyx); }
.sr-sheet-media .sr-ph--big { flex: 1; }
.sr-thumbs { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; padding: 8px; background: var(--onyx); }
.sr-thumb {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 10px 4px 8px;
  border: 1px solid rgba(244, 239, 228, .12);
  border-radius: 10px;
  background: #18181a;
  color: rgba(230, 199, 122, .75);
  cursor: pointer;
  font: inherit;
}
.sr-thumb svg { width: 80%; height: auto; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.sr-thumb span { font: 400 8px/1.1 var(--f-label); letter-spacing: .1em; text-transform: uppercase; color: rgba(244, 239, 228, .6); }
.sr-thumb.is-active, .sr-thumb:hover { border-color: var(--gold); color: var(--gold-l); }
.sr-thumb.is-active span { color: var(--gold-l); }
@media (max-width: 1080px) { .sr-types { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 600px) {
  .sr-types { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sr-thumbs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ---------- dealer features: per-page, pages, breadcrumb, gallery arrows, PDF menu, equipment groups, inquiry ---------- */
.sr-search-head + .sr-tabs { margin-bottom: 16px; }
.sr-head-tools { display: flex; flex-wrap: wrap; gap: 18px; }
.sr-pages { display: flex; justify-content: center; gap: 8px; margin-top: 40px; }
.sr-pages button { min-width: 44px; height: 44px; padding: 0 12px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font: 500 14px/1 var(--f-body); color: var(--onyx); cursor: pointer; }
.sr-pages button[aria-current] { background: var(--onyx); border-color: var(--onyx); color: var(--gold-l); }
.sr-pages button:disabled { opacity: .35; cursor: default; }
.sr-pages button:not(:disabled):not([aria-current]):hover { border-color: var(--gold); }
.sr-crumbs { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 12px; font-size: 12.5px; color: var(--stone); }
.sr-crumbs a { color: var(--stone); text-decoration: none; }
.sr-crumbs a:hover { color: var(--gold-d); text-decoration: underline; }
.sr-crumbs a::after { content: "›"; margin-left: 6px; color: var(--gold-d); }
.sr-crumbs [aria-current] { color: var(--onyx); font-weight: 500; }
.sr-nav { position: absolute; top: 50%; z-index: 2; display: grid; place-items: center; width: 44px; height: 44px; margin-top: -22px; border: 0; border-radius: 50%; background: rgba(13, 12, 10, .72); color: var(--ivory); font-size: 26px; line-height: 1; cursor: pointer; }
.sr-nav--prev { left: 12px; }
.sr-nav--next { right: 12px; }
.sr-nav:hover { background: var(--onyx); color: var(--gold-l); }
.sr-nav[hidden], .sr-counter[hidden] { display: none; }
.sr-counter { position: absolute; right: 14px; bottom: 14px; z-index: 2; padding: 6px 10px; border-radius: 999px; background: rgba(13, 12, 10, .72); font: 500 11px/1 var(--f-mono); color: var(--ivory); }
.sr-thumb--img { padding: 0; overflow: hidden; }
.sr-thumb--img img { width: 100%; height: 100%; object-fit: cover; }
.sr-pdf { position: relative; }
.sr-pdf summary { list-style: none; }
.sr-pdf summary::-webkit-details-marker { display: none; }
.sr-pdf-menu { position: absolute; right: 0; bottom: calc(100% + 10px); z-index: 4; width: 220px; padding: 10px; border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: 0 24px 50px -20px rgba(13, 12, 10, .45); }
.sr-pdf-menu p { margin: 4px 8px 8px; font: 400 9.5px/1 var(--f-label); letter-spacing: .16em; text-transform: uppercase; color: var(--gold-d); }
.sr-pdf-menu button { display: block; width: 100%; padding: 11px 10px; border: 0; border-radius: 10px; background: none; font: 500 14px/1.2 var(--f-body); color: var(--onyx); text-align: left; cursor: pointer; }
.sr-pdf-menu button:hover { background: #F3EAD6; }
.sr-equip-group + .sr-equip-group { margin-top: 18px; }
.sr-equip-group h4 { margin: 0 0 10px; font: 600 13px/1.2 var(--f-body); color: var(--onyx); }
.sr-inquiry { margin-top: 34px; padding: 22px; border: 1px solid var(--line); border-radius: 18px; background: #FBF7EE; }
.sr-inquiry .sr-sheet-h { margin-top: 0; }
.sr-inquiry .sr-req-row { margin-bottom: 12px; }
.sr-inquiry-note { margin: 4px 0 16px; font-size: 13px; color: var(--stone); }
.sr-allpics { display: none; }
@media (max-width: 600px) {
  .sr-head-tools { width: 100%; }
  .sr-inquiry { padding: 18px; }
}
@media print {
  body.sr-printing .sr-crumbs, body.sr-printing .sr-inquiry, body.sr-printing .sr-pdf, body.sr-printing .sr-nav, body.sr-printing .sr-counter, body.sr-printing .sr-thumbs { display: none !important; }
  body.sr-print-specs .sr-sheet-media, body.sr-print-specs .sr-allpics { display: none !important; }
  body.sr-print-all .sr-allpics, body.sr-print-pics .sr-allpics { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 20px; }
  body.sr-print-all .sr-allpics img, body.sr-print-pics .sr-allpics img { width: 100%; border-radius: 10px; }
  body.sr-print-all .sr-sheet-media, body.sr-print-pics .sr-sheet-media { display: none !important; }
  body.sr-print-pics .sr-sheet-body > *:not(.sr-sheet-ref):not(.sr-sheet-title):not(.sr-allpics):not(.sr-sheet-foot) { display: none !important; }
}

/* several angles: thumbnails float over the bottom of the picture, the counter sits just above them */
.sr-sheet-media .sr-thumbs { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; display: grid; grid-auto-flow: column; grid-auto-columns: 72px; grid-template-columns: none; justify-content: center; gap: 6px; padding: 8px; background: rgba(13, 12, 10, .55); }
.sr-sheet-media .sr-thumb--img { height: 48px; border-radius: 8px; }
.sr-sheet-media .sr-thumbs[hidden] { display: none; }
.sr-sheet-media .sr-thumbs:not([hidden]) ~ .sr-counter, .sr-counter { bottom: 76px; }
@media (max-width: 600px) {
  .sr-sheet-media .sr-thumbs { grid-auto-columns: 56px; padding: 6px; }
  .sr-sheet-media .sr-thumb--img { height: 40px; }
  .sr-counter { bottom: 64px; }
}

/* accident cars, heavy equipment and the request photo: Capos Company's own pictures */
.sr-cond[data-c="Accident"] { color: #FFB59E; }
.sr-equip-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.sr-equip-item { display: block; aspect-ratio: 3 / 4; overflow: hidden; border-radius: 16px; background: var(--onyx-2); }
.sr-equip-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.sr-equip-item:hover img { transform: scale(1.04); }
.sr-equip-cta { margin-top: 30px; }
.sr-request-pic { margin: 28px 0 0; }
.sr-request-pic img { display: block; width: 100%; height: auto; border-radius: 18px; box-shadow: 0 30px 60px -34px rgba(11, 11, 12, .55); }
@media (max-width: 900px) {
  .sr-equip-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .sr-equip-grid { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
  .sr-equip-item { flex: 0 0 64%; scroll-snap-align: start; }
  .sr-tab { font-size: 12px; padding: 10px 0; }
}
#equipment .sr-head-note, #parts .sr-head-note { color: var(--stone); }

/* auction cars: every accident car photo in one place, on onyx */
.sr-tab--link { display: grid; place-items: center; text-align: center; text-decoration: none; }
.sr-tab--link::after { content: " ↓"; white-space: pre; }
.sr-auction { padding: 96px 0 84px; background: var(--onyx); color: var(--ivory); scroll-margin-top: calc(var(--header-h) - 10px); }
.sr-auction h2 em { color: var(--gold-l); }
.sr-auction-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.sr-auction-item { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 16px; background: var(--onyx-2); }
.sr-auction-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.sr-auction-item:hover img { transform: scale(1.04); }
.sr-auction-item span { position: absolute; left: 10px; bottom: 10px; padding: 6px 10px; border-radius: 999px; background: rgba(11, 11, 12, .72); font: 500 12px/1 var(--f-body); color: var(--ivory); }
@media (max-width: 900px) {
  .sr-auction-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .sr-auction { padding: 72px 0 64px; }
  .sr-auction-grid { gap: 8px; }
  .sr-auction-item { border-radius: 12px; }
  .sr-auction-item span { left: 6px; bottom: 6px; padding: 5px 8px; font-size: 11px; }
}

/* =========================================================
   Showroom on WordPress: what differs from the preview page.
   The page sits in main > .entry-content > .sr, and the site's own
   WhatsApp button (.wa-float) replaces the preview's .sr-wa-float.
   ========================================================= */
.entry-content > .sr { margin: 0; max-width: none; }
.sr-sheet[open] { z-index: 200; }
body:has(.sr-sheet[open]) .wa-float, body:has(.sr-sheet[open]) .to-top-float { display: none; }

@media print {
  /* the "PDF" buttons print only the open car sheet */
  body.sr-printing > .wp-site-blocks, body.sr-printing main, body.sr-printing main > .entry-content, body.sr-printing .sr { display: block !important; }
  body.sr-printing .wp-site-blocks > *:not(main), body.sr-printing .sr > *:not(.sr-sheet), body.sr-printing .wa-float, body.sr-printing .to-top-float { display: none !important; }
  body.sr-printing main, body.sr-printing .entry-content { margin: 0 !important; padding: 0 !important; }
}

/* ---------- the promise (intro text + three checks), moved after the cars (owner, 24 Nov 2026) ---------- */
.sr-promise { background: var(--onyx); color: var(--ivory); padding: 64px 0; }
.sr-promise-inner { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 26px 64px; align-items: center; }
.sr-promise .sr-lead { margin: 0; max-width: 58ch; }
.sr-promise .sr-proof { margin: 0; flex-direction: column; align-items: flex-start; gap: 16px; }
@media (max-width: 900px) {
  .sr-promise-inner { grid-template-columns: 1fr; }
  .sr-promise .sr-proof { flex-direction: row; flex-wrap: wrap; }
}
@media (max-width: 600px) {
  .sr-promise { padding: 40px 0; }
}

/* ---------- less empty space (owner, 24 Nov 2026): brands and the car list share one background, so they
   sit close together; every section a little tighter; headings closer to their content ---------- */
body .sr .sr-band { padding-top: 72px; padding-bottom: 64px; }
body .sr section[aria-labelledby="brands-h"] { padding-bottom: 12px; }
body .sr .sr-inv { padding-top: 40px; padding-bottom: 72px; }
body .sr .sr-head { margin-bottom: 24px; }
body .sr .sr-head .label { margin-bottom: 12px; }
body .sr .sr-brands { padding-bottom: 6px; }
@media (max-width: 980px) {
  body .sr .sr-band, body .sr .sr-auction, body .sr .sr-how, body .sr .sr-request { padding-top: 44px; padding-bottom: 44px; }
  body .sr section[aria-labelledby="brands-h"] { padding-bottom: 10px; }
  body .sr .sr-inv { padding-top: 30px; padding-bottom: 44px; }
  body .sr .sr-head { margin-bottom: 18px; }
}
@media (max-width: 600px) {
  body .sr .sr-band, body .sr .sr-auction, body .sr .sr-how, body .sr .sr-request { padding-top: 36px; padding-bottom: 36px; }
  body .sr section[aria-labelledby="brands-h"] { padding-bottom: 8px; }
  body .sr .sr-inv { padding-top: 26px; padding-bottom: 36px; }
  body .sr .sr-head { margin-bottom: 16px; }
  body .sr .sr-head .label { margin-bottom: 10px; }
}

/* ---------- a smaller search box, so customers reach the cars sooner (owner, 24 Nov 2026) ---------- */
body .sr .sr-search { padding: 18px 18px 16px; border-radius: 16px; }
body .sr .sr-search-head { margin: 0 2px 10px; }
body .sr .sr-search-head strong { font-size: 16px; }
body .sr .sr-search-head span { font-size: 10px; }
body .sr .sr-search-head + .sr-tabs { margin-bottom: 12px; }
body .sr .sr-search .sr-tabs { padding: 4px; gap: 4px; }
body .sr .sr-search .sr-tab { padding: 8px 6px; font-size: 13px; }
body .sr .sr-search .sr-fields { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 12px; }
body .sr .sr-search .sr-field { gap: 5px; }
body .sr .sr-search .sr-field > span { font-size: 8.5px; }
body .sr .sr-search .sr-field select { min-height: 40px; padding: 0 30px 0 12px; border-radius: 10px; font-size: 14px; background-position: right 11px center; }
body .sr .sr-search-foot { margin-top: 14px; gap: 10px; }
body .sr .sr-search .sr-go { padding: 13px 18px; font-size: 14.5px; }
body .sr .sr-search .sr-reset { font-size: 13px; }
body .sr .sr-search-note { margin-top: 10px; font-size: 13px; }
.sr-more-filters { display: none; }
@media (max-width: 900px) {
  body .sr .sr-search .sr-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  body .sr .sr-search { padding: 14px 14px 12px; }
  body .sr .sr-search .sr-fields { gap: 8px; margin-top: 10px; }
  body .sr .sr-search:not(.show-all) .sr-field:nth-child(n+3) { display: none; }
  .sr-more-filters {
    display: inline-flex;
    margin: 10px 2px 0;
    padding: 0;
    border: 0;
    background: none;
    color: var(--gold-l);
    font: 500 12.5px/1.3 var(--f-body);
    text-align: left;
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
  }
  body .sr .sr-search-foot { margin-top: 12px; }
  body .sr .sr-search .sr-go { padding: 12px 16px; font-size: 14px; }
  body .sr .sr-search-note { font-size: 12.5px; }
}
