:root {
  --brand: #CB3939;
  --brand-dark: #a82d2d;
  --brand-soft: #fdf2f2;
  --brand-rgb: 203, 57, 57;
  --bs-primary: #CB3939;
  --bs-primary-rgb: 203, 57, 57;
  --bs-focus-ring-color: rgba(203, 57, 57, 0.28);
  --ink: #1a1a1a;
  --muted: #5c6570;
  --line: #e6e8eb;
  --bg: #f7f7f8;
  --surface: #ffffff;
  --radius: 14px;
  --btn-radius: 12px;
  --wa: #25d366;
  --wa-dark: #1ebe57;
  --header-h: 72px;
  --font: "DM Sans", system-ui, sans-serif;
  --display: "Outfit", "DM Sans", system-ui, sans-serif;
  --num: "Sora", "Outfit", system-ui, sans-serif;
  accent-color: var(--brand);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.5;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-dark); }

h1, h2, h3, h4, .display {
  font-family: var(--display);
  letter-spacing: -0.02em;
  font-weight: 600;
}

.site-header {
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  min-height: var(--header-h);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}

.header-tools {
  display: flex;
  align-items: center;
  gap: .45rem;
  margin-left: auto;
}
@media (min-width: 992px) {
  .header-tools { display: none; }
}

.header-autot {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .45rem .8rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  font-weight: 600;
  font-size: .9rem;
  text-decoration: none;
  white-space: nowrap;
}
.header-autot i { color: var(--brand); }
.header-autot:hover,
.header-autot.active {
  border-color: var(--brand);
  color: var(--brand);
  background: var(--brand-soft);
}

.brand-logo {
  height: 40px;
  width: auto;
  object-fit: contain;
}

.header-nav {
  gap: 0.15rem;
  align-items: center;
}

.header-nav a {
  color: var(--ink);
  font-weight: 500;
  font-size: .95rem;
  padding: .55rem .85rem;
  border-radius: 999px;
  transition: background .15s ease, color .15s ease;
}

.header-nav a:hover,
.header-nav a.active {
  background: var(--brand-soft);
  color: var(--brand);
}

.btn-menu {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
}

.nav-offcanvas .offcanvas-header {
  border-bottom: 1px solid var(--line);
}

.nav-offcanvas-brand {
  background: var(--brand);
  color: #fff;
  border-bottom: 0;
  padding: .85rem 1rem;
}
.nav-offcanvas-brand .btn-close {
  filter: invert(1) grayscale(1) brightness(2);
}
.nav-offcanvas-logo {
  height: 36px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  background: #fff;
  border-radius: 6px;
  padding: .2rem .45rem;
}

.mobile-call-btns {
  display: grid;
  gap: .55rem;
  margin-bottom: 1.1rem;
}
.mobile-call-btns a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: .85rem 1rem;
  border-radius: 12px;
  background: var(--brand);
  color: #fff !important;
  font-weight: 600;
  text-decoration: none;
  border: 0;
}
.mobile-call-btns a:hover { background: var(--brand-dark); color: #fff !important; }
.mobile-call-btns a span { opacity: .9; font-weight: 500; font-size: .92rem; }
.mobile-call-btns a.mobile-call-contact {
  background: #fff;
  color: var(--ink) !important;
  border: 1px solid var(--line);
}
.mobile-call-btns a.mobile-call-contact i { color: var(--brand); }
.mobile-call-btns a.mobile-call-contact:hover {
  background: var(--brand-soft);
  color: var(--brand) !important;
  border-color: var(--brand);
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: .25rem;
}

.mobile-nav > a {
  color: var(--ink);
  font-weight: 500;
  font-size: 1.1rem;
  padding: .85rem 0;
  border-bottom: 1px solid var(--line);
}

.mobile-nav a.active { color: var(--brand); }

.mobile-acc-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  padding: .85rem 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  font-weight: 600;
  font-size: 1.1rem;
  text-align: left;
}
.mobile-acc-btn i { font-size: .85rem; color: var(--muted); transition: transform .2s ease; }
.mobile-acc-btn[aria-expanded="true"] i { transform: rotate(180deg); color: var(--brand); }
.mobile-acc-panel {
  display: grid;
  gap: .1rem;
  padding: .25rem 0 .65rem .75rem;
  border-bottom: 1px solid var(--line);
}
.mobile-acc-panel a {
  color: var(--ink);
  font-weight: 500;
  padding: .55rem 0;
  border: 0;
  font-size: 1rem;
}
.mobile-acc-panel a:hover { color: var(--brand); }

body.nav-menu-open #Pop-up-container {
  visibility: hidden !important;
  pointer-events: none !important;
  opacity: 0 !important;
}

.site-main { flex: 1 0 auto; min-height: 60vh; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1.25;
  vertical-align: middle;
}

.btn-brand {
  --bs-btn-bg: var(--brand);
  --bs-btn-border-color: var(--brand);
  --bs-btn-hover-bg: var(--brand-dark);
  --bs-btn-hover-border-color: var(--brand-dark);
  --bs-btn-color: #fff;
  --bs-btn-hover-color: #fff;
  --bs-btn-active-bg: var(--brand-dark);
  --bs-btn-active-border-color: var(--brand-dark);
  --bs-btn-active-color: #fff;
  font-weight: 600;
  border-radius: var(--btn-radius);
  padding: .7rem 1.25rem;
}

.btn-outline-brand {
  --bs-btn-color: var(--brand);
  --bs-btn-border-color: var(--brand);
  --bs-btn-hover-bg: var(--brand);
  --bs-btn-hover-border-color: var(--brand);
  --bs-btn-hover-color: #fff;
  font-weight: 600;
  border-radius: var(--btn-radius);
  padding: .7rem 1.25rem;
}

.btn-sm {
  padding: .4rem .85rem;
  line-height: 1.25;
}

.btn-wa {
  --bs-btn-bg: var(--wa);
  --bs-btn-border-color: var(--wa);
  --bs-btn-hover-bg: var(--wa-dark);
  --bs-btn-hover-border-color: var(--wa-dark);
  --bs-btn-color: #fff;
  --bs-btn-hover-color: #fff;
  --bs-btn-active-bg: var(--wa-dark);
  --bs-btn-active-border-color: var(--wa-dark);
  --bs-btn-active-color: #fff;
  font-weight: 600;
  border-radius: var(--btn-radius);
  color: #fff;
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(203,57,57,.92) 0%, rgba(140,30,30,.88) 55%, rgba(40,40,40,.85) 100%),
    url("/assets/img/hero-cars.jpg") center/cover no-repeat;
  color: #fff;
  min-height: clamp(380px, 62vh, 560px);
  display: flex;
  align-items: center;
}

.hero-inner { padding: 3.5rem 0 4rem; max-width: 720px; }

.hero-kicker {
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .8rem;
  font-weight: 600;
  opacity: .9;
  margin-bottom: .75rem;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.25rem);
  line-height: 1.1;
  margin-bottom: 1rem;
}

.hero-lead {
  font-size: 1.1rem;
  opacity: .95;
  max-width: 36rem;
  margin-bottom: 1.75rem;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; }

.hero .btn-light {
  font-weight: 600;
  border-radius: 12px;
  padding: .7rem 1.25rem;
}

/* Quick search */
.quick-search {
  margin-top: -2.5rem;
  position: relative;
  z-index: 2;
}

.quick-search-panel {
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: 0 18px 40px rgba(20,20,30,.12);
  padding: 1.25rem;
  border: 1px solid var(--line);
}

/* Sections */
.section { padding: 3.5rem 0; }
.section-detail {
  padding-top: 1.25rem;
  padding-bottom: 2.75rem;
}
@media (min-width: 992px) {
  .section-detail { padding-top: 1.75rem; }
}
.detail-breadcrumb {
  display: block;
  position: relative;
  z-index: 2;
  margin: 0 0 1rem;
  padding: 0;
  line-height: 1.4;
}
.section-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: .35rem;
}
.section-lead { color: var(--muted); margin-bottom: 1.75rem; max-width: 40rem; }

/* Car cards */
.car-grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 1.25rem;
}
@media (min-width: 576px) {
  .car-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 992px) {
  .car-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.car-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease;
}
.car-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(20,20,30,.1);
}
.car-card-media {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  background: #eceff2;
  overflow: hidden;
}
.car-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.car-card-placeholder {
  height: 100%;
  display: grid;
  place-items: center;
  color: #9aa3ad;
  font-size: 2rem;
}
.car-card-town {
  position: absolute;
  left: .75rem;
  bottom: .75rem;
  background: rgba(0,0,0,.65);
  color: #fff;
  font-size: .8rem;
  padding: .3rem .55rem;
  border-radius: 8px;
}
.car-card-body { padding: .9rem 1rem 1rem; flex: 1; display: flex; flex-direction: column; }
.car-card-title {
  font-size: 1.22rem;
  font-weight: 700;
  margin: 0 0 .3rem;
  line-height: 1.25;
}
.car-card-title a { color: var(--ink); }
.car-card-title a:hover { color: var(--brand); }
.car-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .3rem;
  color: var(--muted);
  font-size: .88rem;
  margin-bottom: .65rem;
}
.car-meta-badge {
  display: inline-flex;
  align-items: center;
  gap: .25rem;
  padding: .22rem .5rem;
  font-size: .76rem;
  font-weight: 600;
  color: var(--brand-dark);
  background: var(--brand-soft);
  border: 1px solid rgba(var(--brand-rgb), .18);
  border-radius: 6px;
}
.car-card-price {
  margin-top: auto;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--brand);
}
.car-price-badge {
  display: inline-block;
  background: linear-gradient(180deg, #d94a4a 0%, var(--brand) 55%, var(--brand-dark) 100%);
  color: #fff;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.05rem;
  padding: .4rem .7rem;
  border-radius: 8px;
  line-height: 1.2;
  box-shadow: 0 2px 0 rgba(168, 45, 45, .45), 0 4px 10px rgba(var(--brand-rgb), .22);
}
.car-card-pricing {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .4rem .55rem;
}
.car-month-badge {
  display: inline-flex;
  align-items: center;
  padding: .28rem .55rem;
  font-size: .82rem;
  font-weight: 600;
  color: var(--brand-dark);
  background: var(--brand-soft);
  border: 1px solid rgba(var(--brand-rgb), .2);
  border-radius: 999px;
}
.filter-flash {
  animation: filterFlash 2.5s ease;
}
@keyframes filterFlash {
  0%, 100% { box-shadow: none; border-color: transparent; }
  15%, 55% { box-shadow: 0 0 0 2px rgba(203, 57, 57, .45); }
  35% { box-shadow: 0 0 0 2px rgba(203, 57, 57, .75); }
}

/* Services */
.service-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 768px) {
  .service-grid { grid-template-columns: repeat(3, 1fr); }
}
.service-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem;
  height: 100%;
  transition: border-color .15s ease;
}
.service-item:hover { border-color: var(--brand); }
.service-item i {
  color: var(--brand);
  font-size: 1.35rem;
  margin-bottom: .75rem;
}
.service-item h3 { font-size: 1.1rem; margin-bottom: .4rem; }
.service-item p { color: var(--muted); margin: 0; font-size: .95rem; }

/* Filters / shop */
.shop-layout {
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 992px) {
  .shop-layout {
    grid-template-columns: 280px minmax(0, 1fr);
    align-items: start;
  }
}
.filter-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.1rem;
}
.filter-panel .form-label {
  font-size: .8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--muted);
  margin-bottom: .3rem;
}
.filter-panel .form-label i {
  color: var(--brand);
  margin-right: .25rem;
  width: 1em;
  text-align: center;
}
.filter-panel .form-select,
.filter-panel .form-control {
  border-radius: 10px;
  border-color: var(--line);
  font-size: .95rem;
}

/* Brand-red select caret */
.form-select {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23CB3939' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
}
.ea-select-toggle.form-select {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23CB3939' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
}
.form-select:focus,
.form-control:focus,
.form-select:focus-visible,
.form-control:focus-visible {
  border-color: var(--brand) !important;
  box-shadow: 0 0 0 .25rem rgba(var(--brand-rgb), .22) !important;
  outline: 0;
}
/* Best-effort option highlight (native OS menus often ignore this) */
.form-select option:checked,
.form-select option:hover,
.form-select option:focus {
  background-color: var(--brand);
  background: linear-gradient(0deg, var(--brand) 0%, var(--brand) 100%);
  color: #fff;
}
.quick-search .form-select:focus,
.quick-search .form-control:focus {
  border-color: var(--brand) !important;
  box-shadow: 0 0 0 .25rem rgba(var(--brand-rgb), .22) !important;
}

/* Custom brand selects (replaces native blue option highlight) */
.ea-select {
  position: relative;
}
.ea-select-native {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  border: 0 !important;
  opacity: 0 !important;
  pointer-events: none !important;
}
.ea-select-toggle {
  text-align: left;
  cursor: pointer;
  width: 100%;
}
.ea-select.is-open .ea-select-toggle {
  border-color: var(--brand) !important;
  box-shadow: 0 0 0 .25rem rgba(var(--brand-rgb), .22) !important;
}
.ea-select-menu {
  position: absolute;
  z-index: 40;
  left: 0;
  right: 0;
  top: calc(100% + 4px);
  max-height: 260px;
  overflow: auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 12px 28px rgba(20, 20, 30, .12);
  padding: .35rem;
}
.ea-select:not(.is-open) .ea-select-menu { display: none; }
.ea-select-option {
  display: block;
  width: 100%;
  border: 0;
  background: transparent;
  text-align: left;
  padding: .55rem .7rem;
  border-radius: 8px;
  font-size: .95rem;
  color: var(--ink);
  cursor: pointer;
}
.ea-select-option:hover,
.ea-select-option:focus {
  background: var(--brand-soft);
  color: var(--brand-dark);
  outline: 0;
}
.ea-select-option.is-selected {
  background: var(--brand);
  color: #fff;
}
.ea-select-option.is-selected:hover {
  background: var(--brand-dark);
  color: #fff;
}
.ea-select-option:disabled {
  opacity: .45;
  cursor: default;
}
.shop-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}
.shop-results {
  position: relative;
  min-height: 200px;
}
.shop-loading {
  position: absolute;
  inset: 0;
  background: rgba(247,247,248,.72);
  display: none;
  place-items: center;
  z-index: 5;
  border-radius: var(--radius);
}
.shop-loading.is-active { display: grid; }
.results-count { color: var(--muted); font-size: .95rem; }

/* Detail */
.detail-gallery {
  display: grid;
  gap: .75rem;
}
.detail-hero-img {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: #eceff2;
  aspect-ratio: 16/10;
}
.detail-hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
  transition: opacity .2s ease, transform .15s ease;
}
.detail-hero-img img.is-fading { opacity: 0; }
.detail-hero-img img.is-shown { opacity: 1; }
.gallery-loading {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: grid;
  place-items: center;
  background: rgba(236, 239, 242, .45);
  color: var(--brand);
  font-size: 1.6rem;
  pointer-events: none;
}
.gallery-loading[hidden] { display: none !important; }
.detail-hero-img.is-loading img { opacity: .35; }
.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.92);
  color: var(--ink);
  box-shadow: 0 4px 14px rgba(0,0,0,.18);
  display: grid;
  place-items: center;
}
.gallery-nav:hover { background: #fff; color: var(--brand); }
.gallery-nav-prev { left: .75rem; }
.gallery-nav-next { right: .75rem; }
.gallery-zoom-btn {
  position: absolute;
  right: .75rem;
  bottom: .75rem;
  z-index: 3;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: rgba(203,57,57,.95);
  color: #fff;
  box-shadow: 0 4px 14px rgba(0,0,0,.2);
  display: grid;
  place-items: center;
}
.gallery-zoom-btn:hover { background: var(--brand-dark); }
@media (max-width: 991.98px) {
  .gallery-zoom-btn { display: none !important; }
  .detail-hero-img.zoom-stage { cursor: default; }
  .detail-hero-img.zoom-stage img { transform: none !important; }
}
.detail-thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(88px, 1fr));
  gap: .5rem;
}
.detail-thumbs button {
  border: 2px solid transparent;
  border-radius: 10px;
  overflow: hidden;
  padding: 0;
  background: none;
  aspect-ratio: 4/3;
  transition: border-color .2s ease, transform .2s ease;
}
.detail-thumbs button.active,
.detail-thumbs button:hover { border-color: var(--brand); transform: translateY(-1px); }
.detail-thumbs img { width: 100%; height: 100%; object-fit: cover; }

/* Mobile: one horizontal scroll row instead of a tall thumbnail grid */
@media (max-width: 767.98px) {
  .detail-thumbs {
    display: flex;
    flex-wrap: nowrap;
    gap: .45rem;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
    overscroll-behavior-x: contain;
    padding: .1rem .15rem .35rem;
    margin: 0 -.15rem;
    scrollbar-width: thin;
    mask-image: linear-gradient(90deg, #000 0%, #000 calc(100% - 1.75rem), transparent 100%);
    -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 calc(100% - 1.75rem), transparent 100%);
  }
  .detail-thumbs button {
    flex: 0 0 4.5rem;
    width: 4.5rem;
    min-width: 4.5rem;
    scroll-snap-align: start;
  }
  .detail-thumbs button:last-child {
    margin-right: 1.25rem;
  }
}

.detail-side {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem;
}
.detail-side-stack {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.detail-side-extra {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Detail page layout: gallery → price → copy → finance (mobile) */
.detail-layout {
  display: grid;
  gap: 1.25rem;
  align-items: start;
}
@media (max-width: 991.98px) {
  .detail-layout {
    grid-template-columns: 1fr;
    grid-template-areas:
      "gallery"
      "side"
      "copy"
      "extra";
  }
  .detail-main,
  .detail-aside,
  .detail-side-stack {
    display: contents;
  }
  .detail-gallery { grid-area: gallery; }
  .detail-side { grid-area: side; }
  .detail-copy { grid-area: copy; }
  .detail-copy > .form-panel:first-child { margin-top: 0 !important; }
  .detail-side-extra { grid-area: extra; }
}
@media (min-width: 992px) {
  .detail-layout {
    grid-template-columns: minmax(0, 1fr) minmax(17rem, 22rem);
    grid-template-areas:
      "gallery stack"
      "copy stack";
    gap: 1.5rem;
  }
  .detail-main {
    display: contents;
  }
  .detail-aside {
    grid-area: stack;
  }
  .detail-gallery { grid-area: gallery; }
  .detail-copy { grid-area: copy; }
  .detail-copy > .form-panel:first-child { margin-top: 0 !important; }
}

/* Related cars: horizontal swipe on mobile */
@media (max-width: 767.98px) {
  .related-rail {
    display: flex;
    flex-wrap: nowrap;
    gap: .85rem;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
    overscroll-behavior-x: contain;
    padding: .15rem .15rem .5rem;
    margin: 0 -.15rem;
    scrollbar-width: thin;
  }
  .related-rail .car-card {
    flex: 0 0 min(78vw, 17.5rem);
    max-width: min(78vw, 17.5rem);
    scroll-snap-align: start;
  }
}

.detail-price {
  font-family: var(--num);
  font-size: 2rem;
  font-weight: 700;
  color: var(--brand);
  font-variant-numeric: tabular-nums;
  letter-spacing: -.02em;
}
.spec-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .65rem 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.spec-list li {
  border-bottom: 1px solid var(--line);
  padding-bottom: .5rem;
}
.spec-list .k { display: block; font-size: .75rem; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.spec-list .v { font-weight: 600; }

/* Forms */
.form-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
}
.page-hero {
  background: linear-gradient(135deg, var(--brand) 0%, #8f2a2a 100%);
  color: #fff;
  padding: 2.5rem 0;
}
.page-hero h1 { margin: 0; font-size: clamp(1.75rem, 3vw, 2.4rem); }
.page-hero p { margin: .5rem 0 0; opacity: .92; max-width: 36rem; }

.service-content .lead { font-size: 1.15rem; }
.service-figure {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
}
.service-figure img {
  display: block; width: 100%; height: auto;
  aspect-ratio: 4 / 3; object-fit: cover;
}
.service-logos {
  display: flex; flex-wrap: wrap; gap: 1rem 1.25rem;
  align-items: center; margin: 1.25rem 0;
}
.service-logos img { height: 36px; width: auto; object-fit: contain; }
.service-steps { padding-left: 1.2rem; }
.service-steps li { margin-bottom: .55rem; }

/* Footer — hero peilikuva (tumma → vaalea, sama 135deg) */
.site-footer {
  background: linear-gradient(135deg, #8f2a2a 0%, var(--brand) 100%);
  color: rgba(255, 255, 255, .9);
  margin-top: 4rem;
  padding: 3rem 0 1.5rem;
}
.footer-brand {
  font-family: var(--display);
  font-size: 1.35rem;
  color: #fff;
  font-weight: 700;
}
.footer-lead { color: rgba(255, 255, 255, .75); max-width: 22rem; }
.footer-heading {
  color: #fff;
  font-weight: 600;
  margin-bottom: .75rem;
}
.footer-heading i { opacity: .9; }
.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-links li { margin-bottom: .35rem; }
.footer-links a { color: rgba(255, 255, 255, .88); }
.footer-links a:hover { color: #fff; text-decoration: underline; text-underline-offset: 2px; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .22);
  margin-top: 2rem;
  padding-top: 1.25rem;
  font-size: .9rem;
  color: rgba(255, 255, 255, .7);
}
.footer-bottom a { color: #fff; }

.staff-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: .55rem;
}
.staff-grid.staff-grid--aside {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .4rem;
  width: 100%;
}
.staff-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  min-width: 0;
}
.staff-card > img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  background: #eee;
  display: block;
}
.staff-grid--aside .staff-card > img {
  aspect-ratio: 4 / 3;
  object-position: center top;
}
.staff-card .body { padding: .75rem .8rem .85rem; min-width: 0; }
.staff-card .name {
  font-family: var(--display);
  font-weight: 600;
  font-size: .98rem;
  letter-spacing: -.015em;
  line-height: 1.3;
  margin-bottom: .15rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.staff-card .role {
  color: var(--muted);
  font-size: .88rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.text-brand { color: var(--brand) !important; }
.bg-brand-soft { background: var(--brand-soft); }

@media (max-width: 991.98px) {
  .hero-inner,
  .home-carousel .slide-inner {
    padding: 2.5rem 0 3rem;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    max-width: 100%;
  }
  .hero-lead,
  .home-carousel .hero-lead {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-actions,
  .home-carousel .hero-actions {
    justify-content: center;
  }
  .page-hero .container-xl {
    text-align: center;
  }
  .page-hero p {
    margin-left: auto;
    margin-right: auto;
  }
  .quick-search { margin-top: -1.5rem; }
}

.shop-load-status {
  margin-top: 1.5rem;
  text-align: center;
  color: var(--muted);
}
.shop-shown strong { color: var(--ink); }
.shop-scroll-sentinel { height: 1px; width: 100%; }

/* Brand pagination (legacy / fallback) */
.pagination .page-link {
  color: var(--brand);
  border-color: #e2e2e2;
  border-radius: 10px !important;
  margin: 0 .15rem;
}
.pagination .page-item.active .page-link {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}
.pagination .page-link:hover {
  background: var(--brand-soft);
  color: var(--brand-dark);
  border-color: var(--brand);
}

/* Nav dropdowns */
.nav-drop { position: relative; }
.nav-drop-toggle { display: inline-flex; align-items: center; gap: .35rem; }
.nav-drop-toggle i { font-size: .7rem; opacity: .7; }
.nav-drop-menu {
  display: none; position: absolute; top: 100%; left: 0; min-width: 220px;
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  box-shadow: 0 12px 30px rgba(0,0,0,.12); padding: .5rem; z-index: 50;
}
.nav-drop:hover .nav-drop-menu, .nav-drop:focus-within .nav-drop-menu { display: grid; gap: .15rem; }
.nav-drop-menu a {
  display: flex; align-items: center; gap: .55rem; padding: .55rem .7rem;
  border-radius: 8px; color: var(--ink); font-weight: 500;
}
.nav-drop-menu a:hover { background: var(--brand-soft); color: var(--brand); }
.mobile-nav-group {
  margin-top: 1rem; font-size: .75rem; text-transform: uppercase;
  letter-spacing: .06em; color: var(--muted); font-weight: 700;
}
/* kept for any legacy markup */

/* Richer cards */
.car-card-sub {
  font-size: .86rem; color: var(--muted); margin: 0 0 .45rem;
  line-height: 1.35;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.car-card-meta i { opacity: .75; margin-right: .1rem; }
.car-card-month { color: var(--muted); font-size: .9rem; }
.car-card-month strong { color: var(--brand); font-size: 1.15rem; }

/* Home carousel */
.home-carousel { position: relative; color: #fff; overflow: hidden; min-height: clamp(440px, 70vh, 640px); }
.home-carousel .slide {
  position: absolute; inset: 0; opacity: 0; transition: opacity .6s ease;
  background-size: cover; background-position: center;
  display: flex; align-items: center;
}
.home-carousel .slide.is-active { opacity: 1; z-index: 1; }
.home-carousel .slide::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(120deg, rgba(203,57,57,.88), rgba(30,30,30,.72));
}
.home-carousel .slide-inner { position: relative; z-index: 2; padding: 4.25rem 0 4.75rem; max-width: 640px; }
.home-carousel h1 { font-size: clamp(1.9rem, 4.5vw, 3rem); margin-bottom: 1rem; }
.carousel-dots {
  position: absolute; bottom: 1.25rem; left: 50%; transform: translateX(-50%);
  z-index: 3; display: flex; gap: .45rem;
}
.carousel-dots button {
  width: 10px; height: 10px; border-radius: 50%; border: 0; background: rgba(255,255,255,.45);
}
.carousel-dots button.active { background: #fff; }

.quick-search-title {
  font-family: var(--display); font-weight: 700; margin-bottom: .85rem; font-size: 1.15rem;
  display: flex; flex-wrap: wrap; align-items: center; gap: .65rem 1rem;
}
.quick-search-count {
  margin-left: auto;
  font-family: var(--num);
  font-weight: 600;
  font-size: .95rem;
  color: var(--brand);
  background: var(--brand-soft);
  border: 1px solid rgba(var(--brand-rgb), .2);
  border-radius: 999px;
  padding: .35rem .85rem;
  letter-spacing: .01em;
  white-space: nowrap;
  text-decoration: none;
}
.quick-search-count:hover {
  color: #fff;
  background: var(--brand);
  border-color: var(--brand);
}
.quick-search-count strong {
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

/* Service cards with images */
.service-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; height: 100%; display: flex; flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease;
  color: inherit; text-decoration: none;
}
.service-card:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(20,20,30,.1); color: inherit; }
.service-card img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.service-card .body { padding: 1.2rem 1.25rem 1.35rem; display: flex; flex-direction: column; flex: 1; }
.service-card h3 { font-size: 1.2rem; margin-bottom: .45rem; }
.service-card p { color: var(--muted); flex: 1; }
.service-card .btn { margin-top: 1rem; align-self: stretch; }

/* Make chips + dual range */
.make-chips { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: .5rem; }
.make-chips[hidden] { display: none !important; margin: 0; }
.make-chip {
  border: 1px solid var(--brand); background: var(--brand-soft); color: var(--brand);
  border-radius: 999px; padding: .25rem .65rem; font-size: .85rem; font-weight: 600;
}
.make-combobox { position: relative; }
.make-combo-menu {
  position: absolute; z-index: 30; left: 0; right: 0; top: calc(100% + 4px);
  max-height: 240px; overflow: auto; background: #fff;
  border: 1px solid var(--line); border-radius: 10px;
  box-shadow: 0 12px 28px rgba(20,20,30,.12); padding: .35rem;
}
.make-combo-option {
  display: block; width: 100%; border: 0; background: transparent;
  text-align: left; padding: .5rem .65rem; border-radius: 8px;
  font-size: .95rem; color: var(--ink); cursor: pointer;
}
.make-combo-option:hover, .make-combo-option:focus {
  background: var(--brand); color: #fff; outline: 0;
}
.make-combo-empty { padding: .55rem .65rem; color: var(--muted); font-size: .9rem; }

.dual-range { position: relative; height: 28px; margin: .35rem 0 .5rem; }
.dual-range input[type=range] {
  position: absolute; left: 0; right: 0; width: 100%; pointer-events: none; appearance: none;
  background: transparent; height: 28px; margin: 0;
}
.dual-range input[type=range]::-webkit-slider-runnable-track { height: 4px; background: #dde1e6; border-radius: 4px; }
.dual-range input[type=range]::-webkit-slider-thumb {
  appearance: none; pointer-events: auto; width: 18px; height: 18px; border-radius: 50%;
  background: var(--brand); border: 2px solid #fff; box-shadow: 0 1px 4px rgba(0,0,0,.25);
  margin-top: -7px; cursor: pointer;
}

/* Footer extras */
.footer-brand-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
@media (min-width: 992px) {
  .footer-brand-col { align-items: center; text-align: center; }
}
.footer-logo { height: 52px; width: auto; background: transparent; border-radius: 0; padding: 0; }
.footer-social {
  display: flex;
  justify-content: center;
  gap: 1.15rem;
  margin-top: 1.35rem;
  margin-bottom: 1.35rem;
  width: 100%;
}
.footer-social a {
  color: rgba(255, 255, 255, .9);
  font-size: 1.85rem;
  line-height: 1;
}
.footer-social a:hover { color: #fff; opacity: 1; transform: scale(1.06); }
.footer-billing {
  color: rgba(255, 255, 255, .88);
  font-size: .92rem;
  width: 100%;
}
.footer-billing a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-thickness: 1px;
}
.footer-billing a:hover {
  color: #fff;
  text-decoration-thickness: 2px;
}
.footer-legal {
  border-top: 1px solid rgba(255, 255, 255, .22);
  margin-top: 2rem;
  padding-top: 1.25rem;
  color: rgba(255, 255, 255, .72);
}
.footer-legal a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.footer-legal a:hover { color: #fff; opacity: .9; }

/* Detail extras */
.zoom-stage { position: relative; overflow: hidden; cursor: zoom-in; border-radius: var(--radius); }
.zoom-stage img { width: 100%; height: 100%; object-fit: cover; transition: transform .08s linear; }
.contact-actions { display: grid; gap: .65rem; }
.contact-actions .btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  border-radius: var(--btn-radius) !important;
  font-weight: 600;
  padding: .7rem 1rem;
}
.spec-table { width: 100%; }
.spec-table th { width: 42%; color: var(--muted); font-weight: 500; padding: .45rem 0; border-bottom: 1px solid var(--line); }
.spec-table td { padding: .45rem 0; border-bottom: 1px solid var(--line); font-weight: 600; }
.accessories-list { columns: 1; gap: 1.5rem; }
@media (min-width: 768px) { .accessories-list { columns: 2; } }
.accessories-list li { break-inside: avoid; margin-bottom: .4rem; }
.accessories-list li::marker { color: var(--brand); }
.location-switch { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.25rem; align-items: center; }
.location-switch .btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 2.65rem;
  padding: 0 1.2rem !important;
  line-height: 1 !important;
}
.location-switch .btn,
.location-card .btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  line-height: 1 !important;
}
.location-card .btn-sm {
  min-height: 2.15rem;
  padding: 0 .95rem !important;
}

.location-card .location-meta {
  display: flex;
  align-items: flex-start;
  gap: .55rem;
  margin: 0;
  color: var(--text);
}
.location-card .location-meta i {
  width: 1.1rem;
  margin-top: .2rem;
  color: var(--brand);
  text-align: center;
  flex-shrink: 0;
}
.location-card .location-meta a { color: var(--brand); font-weight: 600; }
.location-card .location-hours-title {
  display: flex;
  align-items: center;
  gap: .55rem;
  font-weight: 700;
  margin-bottom: .35rem;
  color: var(--text);
}
.location-card .location-hours-title i {
  width: 1.1rem;
  color: var(--brand);
  text-align: center;
}
.location-card .location-hours ul {
  padding-left: 1.65rem;
  margin: 0;
}
.dropzone {
  border: 2px dashed #c9ced6; border-radius: 12px; padding: 1.25rem; text-align: center;
  background: #fafbfc; cursor: pointer; transition: border-color .15s ease, background .15s ease;
}
.dropzone.is-drag { border-color: var(--brand); background: var(--brand-soft); }
.file-preview { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: .85rem; }
.file-preview-item {
  position: relative; width: 96px; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: #fff;
}
.file-preview-item img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.file-preview-item .name { font-size: .7rem; padding: .25rem; word-break: break-all; }
.file-preview-item .remove {
  position: absolute; top: 4px; right: 4px; background: var(--brand); color: #fff;
  border: 0; border-radius: 50%; width: 22px; height: 22px; font-size: .75rem; line-height: 1;
}
.modal-contact .modal-header { background: var(--brand); color: #fff; }
.modal-contact .btn-close { filter: invert(1); }

/* Flash success */
.flash-success {
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2.5rem 1.5rem;
  max-width: 32rem;
  margin: 0 auto;
}
.flash-success-icon {
  width: 4rem; height: 4rem; margin: 0 auto 1rem;
  border-radius: 50%; background: #e8f6ec; color: #1f8a44;
  display: flex; align-items: center; justify-content: center; font-size: 2rem;
}
.flash-success-title { font-size: 1.35rem; margin-bottom: .5rem; }
.flash-success-text { color: var(--muted); }

/* Location image cards */
.location-pick {
  display: block; position: relative; min-height: 260px; border-radius: var(--radius);
  overflow: hidden; background-size: cover; background-position: center;
  text-decoration: none; color: #fff;
}
@media (min-width: 768px) {
  .location-pick { min-height: 380px; }
}
.location-pick::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.05), rgba(0,0,0,.35));
}
.location-pick-porvoo { background-image: url('/img/yhteystiedot-porvoo-uusi.jpg'); }
.location-pick-mantsala { background-image: url('/img/yhteystiedot-mantsala.jpg'); }
.location-pick-label {
  position: absolute; left: 1.25rem; bottom: 1.25rem; z-index: 1;
  display: flex; flex-direction: column; align-items: flex-start; gap: .65rem;
}
.location-pick-label strong { font-size: 1.5rem; letter-spacing: .04em; text-shadow: 0 1px 3px rgba(0,0,0,.5); }

/* Staff extras */
.staff-flags { display: flex; gap: .3rem; align-items: center; }
.staff-flags img {
  width: 26px;
  height: 18px;
  object-fit: cover;
  object-position: center;
  display: block;
  border-radius: 3px;
  flex-shrink: 0;
  background: transparent !important;
  box-shadow: 0 0 0 1px rgba(0,0,0,.06);
}
.staff-actions {
  display: flex;
  flex-direction: column;
  gap: .35rem;
  margin-top: .55rem;
}
.staff-actions .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .35rem;
  width: 100%;
  border-radius: var(--btn-radius) !important;
  font-weight: 600;
  font-size: .82rem;
  text-align: center;
  padding: .45rem .55rem;
  white-space: nowrap;
  line-height: 1.2;
}
.staff-actions .btn i { flex-shrink: 0; }
.staff-actions .btn-outline-brand,
.staff-actions a[href^="tel"] {
  font-family: var(--num);
  font-variant-numeric: tabular-nums;
  letter-spacing: -.01em;
}
.staff-actions .btn-outline-brand {
  --bs-btn-color: var(--brand);
  --bs-btn-border-color: var(--brand);
  --bs-btn-hover-bg: var(--brand);
  --bs-btn-hover-border-color: var(--brand);
  --bs-btn-hover-color: #fff;
}
.staff-actions .btn-outline-secondary {
  --bs-btn-color: #5c6570;
  --bs-btn-border-color: #c5cad1;
  --bs-btn-hover-bg: #5c6570;
  --bs-btn-hover-border-color: #5c6570;
  --bs-btn-hover-color: #fff;
  border-radius: var(--btn-radius) !important;
}
.staff-actions .btn-wa {
  background: var(--wa);
  border-color: var(--wa);
  color: #fff;
}
.staff-actions .btn-wa:hover {
  background: var(--wa-dark);
  border-color: var(--wa-dark);
  color: #fff;
}

.staff-modal .modal-body {
  padding: 1.1rem;
}
.staff-modal .staff-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .75rem;
}
@media (max-width: 575.98px) {
  .staff-modal .staff-grid {
    grid-template-columns: 1fr;
  }
}

/* Prices & key numbers – clearer modern face */
.car-price-badge,
.car-card-month,
.results-count {
  font-family: var(--num);
  font-variant-numeric: tabular-nums;
}
.spec-list .k i { margin-right: .35rem; opacity: .75; color: var(--brand); }
.header-nav a i { margin-right: .25rem; opacity: .85; }

/* Palju calendar */
.palju-calendar { border-collapse: collapse; margin-bottom: 1rem; }
.palju-calendar th, .palju-calendar td {
  border: 1px solid #ccc; padding: .4rem .55rem; text-align: center; min-width: 2.2rem;
}
.palju-calendar th { background: #f4f4f4; }
.palju-calendar .week-number { background: #e0e0e0; }
.palju-calendar td.reserved { background: #cb3939; color: #fff; font-weight: 600; }

/* Finance calculator (detail sidebar card) */
.finance-calc-card,
.finance-calc {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem;
}
.finance-calc-head {
  display: flex; align-items: center; gap: .45rem;
  color: var(--brand); margin-bottom: .45rem; font-size: 1.05rem;
}
.finance-calc-lead {
  font-size: .84rem; color: var(--muted); margin-bottom: 1rem; line-height: 1.45;
}
.finance-sliders { display: grid; gap: .95rem; margin-bottom: .9rem; }
.finance-slider-top {
  display: flex; justify-content: space-between; align-items: baseline; gap: .5rem;
  margin-bottom: .35rem;
}
.finance-slider-top > span {
  font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--muted);
}
.finance-slider-top strong {
  font-family: var(--num); font-size: .95rem; color: var(--brand); font-weight: 700;
}
.finance-slider input[type=range] {
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 8px; border-radius: 999px;
  background: #e6e8eb; outline: none; margin: 0;
}
.finance-slider input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 22px; height: 22px; border-radius: 50%;
  background: #fff; border: 3px solid var(--brand);
  box-shadow: 0 2px 8px rgba(var(--brand-rgb), .35);
  cursor: pointer; margin-top: 0;
}
.finance-slider input[type=range]::-moz-range-thumb {
  width: 22px; height: 22px; border-radius: 50%;
  background: #fff; border: 3px solid var(--brand);
  box-shadow: 0 2px 8px rgba(var(--brand-rgb), .35);
  cursor: pointer;
}
.finance-slider-ends {
  display: flex; justify-content: space-between;
  font-size: .72rem; color: var(--muted); margin-top: .25rem;
}
.finance-calc-result {
  display: flex; align-items: baseline; justify-content: space-between; gap: .5rem;
  background: var(--brand-soft); border-radius: 10px; padding: .75rem .85rem; margin-bottom: .55rem;
}
.finance-calc-label { font-size: .85rem; color: var(--muted); }
.finance-calc-result strong {
  font-family: var(--num); font-size: 1.4rem; color: var(--brand); font-weight: 700;
}
.finance-calc-minnote { font-size: .75rem; color: var(--muted); margin: -.2rem 0 .55rem; }
.finance-calc-note { font-size: .72rem; color: var(--muted); line-height: 1.35; }
.finance-breakdown {
  margin-top: .75rem; padding-top: .75rem;
  border-top: 1px solid rgba(var(--brand-rgb), .15);
}
.finance-breakdown-table {
  width: 100%; font-size: .86rem; margin-bottom: .75rem;
  border-collapse: collapse;
}
.finance-breakdown-table td {
  padding: .4rem 0; border-bottom: 1px solid #eee; vertical-align: top;
}
.finance-breakdown-table td:last-child {
  text-align: right; font-family: var(--num); font-weight: 600; white-space: nowrap;
  padding-left: .75rem;
}
.finance-calc-disclaimer {
  font-size: .75rem; color: var(--muted); line-height: 1.4;
  background: #faf6f6; border-radius: 8px; padding: .65rem .7rem;
}

/* Sticky contact card (desktop) */
.detail-contact-card {
  position: sticky;
  top: calc(var(--header-h) + 1rem);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem;
  z-index: 5;
}
.detail-contact-card .contact-actions {
  display: grid;
  gap: .45rem;
}
.detail-contact-card .contact-actions .btn { width: 100%; }

/* Mobile bottom CTA — leave room for Easybook chat bubble */
.mobile-cta-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 1040;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .35rem;
  padding: .55rem .65rem calc(.55rem + env(safe-area-inset-bottom, 0px));
  background: rgba(255,255,255,.96);
  border-top: 1px solid var(--line);
  box-shadow: 0 -8px 24px rgba(20,20,30,.1);
  backdrop-filter: blur(8px);
}
.mobile-cta-bar.mobile-cta-bar--4 {
  grid-template-columns: repeat(4, 1fr);
}
.mobile-cta-btn {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: .15rem; min-height: 52px; border: 0; border-radius: 12px;
  background: var(--brand); color: #fff !important; font-size: .72rem; font-weight: 700;
  text-decoration: none; padding: .35rem .25rem; cursor: pointer;
}
.mobile-cta-btn i { font-size: 1.1rem; }
.mobile-cta-wa { background: var(--wa); }
@media (max-width: 991.98px) {
  body.has-mobile-cta .site-footer {
    padding-bottom: calc(1.5rem + 5.5rem);
  }
  body.has-mobile-cta #Pop-up-container {
    bottom: 5.75rem !important;
  }
}

