/* ==========================================================================
   LIVREA — custom.css
   Page: flotta.html
   ========================================================================== */

/* ==========================================================================
   PAGE BANNER / HERO  —  flotta.html sec-1, blog.html sec-1
   Shared geometry: one source of truth for every interior page hero.
   Figma ref: 1440 x 810  (node 271:227)
   Content column x = 80px | breadcrumb y = 180 | h1 y = 206 | h2 y = 280 | p y = 368
   ========================================================================== */

.page-banner-main {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  /* 1440 x 810 */
  padding: 0px 80px;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  overflow: hidden;
}

/* Figma overlay:
   linear-gradient(90deg, rgba(0,0,0,.36) 0%, rgba(0,0,0,.36) 100%),
   linear-gradient(180deg, rgba(0,0,0,0) 50%, #000 95.402%)                    */
.page-banner-main::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.36) 0%, rgba(0, 0, 0, 0.36) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0) 50%, #000 95.402%);
}

/* Kill the bootstrap gutter so the content column sits at exactly 80px */
.page-banner-main .container-fluid {
  padding-left: 0;
  padding-right: 0;
  position: relative;
  z-index: 1;
  height: 100%;
}

.page-banner-main .banner-content-wrapper {
  position: relative;
  z-index: 1;
  padding-top: 180px;
  padding-bottom: 50px;
}

/* ── Breadcrumb — HOME > FLOTTA ─────────────────────────────────────────── */
.page-banner-main .breadcrumb-wrapper ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  margin-bottom: 9px;
}

.page-banner-main .breadcrumb-wrapper ul li {
  position: relative;
  color: #fff;
  font-family: 'Syne', sans-serif;
  font-size: 14px;
  font-style: normal;
  font-weight: 600;
  line-height: 17px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

.page-banner-main .breadcrumb-wrapper ul li a {
  color: #fff;
  font-family: 'Syne', sans-serif;
  font-size: 14px;
  font-style: normal;
  font-weight: 600;
  line-height: 17px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  transition: all 0.3s ease;
}

.page-banner-main .breadcrumb-wrapper ul li a:hover {
  color: #c8b79a;
}

.page-banner-main .breadcrumb-wrapper ul li:not(:last-child)::after {
  content: '>';
  position: absolute;
  top: 0;
  right: -14px;
  font-family: 'Syne', sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 17px;
}

/* ── H1 — Tutta nostra flotta ───────────────────────────────────────────── */
.page-banner-main h1 {
  color: #c8b79a;
  font-family: 'Syne', sans-serif;
  font-size: 50px;
  font-style: normal;
  font-weight: 400;
  line-height: 60px;
  margin-bottom: 14px;
}

/* ── H2 — Prestazioni, eleganza e comfort. ──────────────────────────────── */
.page-banner-main h2 {
  color: #fff;
  font-family: 'Syne', sans-serif;
  font-size: 30px;
  font-style: normal;
  font-weight: 400;
  line-height: 36px;
  max-width: 361px;
  margin-bottom: 16px;
}

/* ── Paragraph ──────────────────────────────────────────────────────────── */
.page-banner-main p {
  color: #fff;
  font-family: 'gothambook';
  font-size: 14px;
  font-style: normal;
  font-weight: 325;
  line-height: 17px;
  max-width: 491px;
  margin-bottom: 0;
}

/* ── Responsive ─────────────────────────────────────────────────────────── */
@media (min-width: 1200px) and (max-width: 1399px) {
  .page-banner-main {
    padding: 0px 60px;
  }

  .page-banner-main .banner-content-wrapper {
    padding-top: 160px;
  }

  .page-banner-main h1 {
    font-size: 45px;
    line-height: 54px;
  }

  .page-banner-main h2 {
    font-size: 28px;
    line-height: 34px;
  }
}

@media (min-width: 992px) and (max-width: 1199px) {
  .page-banner-main {
    padding: 0px 40px;
  }

  .page-banner-main .banner-content-wrapper {
    padding-top: 120px;
  }

  .page-banner-main h1 {
    font-size: 40px;
    line-height: 48px;
  }

  .page-banner-main h2 {
    font-size: 26px;
    line-height: 32px;
    margin-bottom: 14px;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .page-banner-main {
    padding: 0px 30px;
    aspect-ratio: unset;
    min-height: 70vh;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
  }

  .page-banner-main .banner-content-wrapper {
    padding-top: 100px;
    padding-bottom: 40px;
  }

  .page-banner-main h1 {
    font-size: 35px;
    line-height: 42px;
  }

  .page-banner-main h2 {
    font-size: 24px;
    line-height: 30px;
    margin-bottom: 14px;
  }
}

@media (max-width: 767px) {
  .page-banner-main {
    padding: 0px 20px;
    aspect-ratio: unset;
    min-height: 60vh;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
  }

  .page-banner-main .banner-content-wrapper {
    padding-top: 110px;
    padding-bottom: 40px;
  }

  .page-banner-main h1 {
    font-size: 30px;
    line-height: 38px;
    margin-bottom: 12px;
  }

  .page-banner-main h2 {
    font-size: 22px;
    line-height: 28px;
    max-width: 100%;
    margin-bottom: 14px;
  }

  .page-banner-main h2 br {
    display: none;
  }

  .page-banner-main p {
    max-width: 100%;
    line-height: 20px;
  }
}

@media (max-width: 575px) {
  .page-banner-main .breadcrumb-wrapper ul {
    gap: 18px;
  }
}

/* ==========================================================================
   FLOTTA — Trova il tuo veicolo  (sec-2)
   Figma ref: 1440 wide (node 271:227)
   Title y 792 | divider y 822 | desc y 849 | FILTER BY y 960
   Filter col x 80 w 188 | gap 138 | cards x 408 w 299.33 gap 28 | row gap 72
   ========================================================================== */

.trova-veicolo-main {
  position: relative;
  padding: 0px 80px 158px;
  /* the hero fades to solid black by y=773, the heading sits at y=792 */
  margin-top: -26px;
  background-color: #000;
}

.trova-veicolo-main .container-fluid {
  padding-left: 0;
  padding-right: 0;
}

/* ── Head : title + divider + description ───────────────────────────────── */
.trova-veicolo-main .trova-head {
  padding-top: 8px;
}

.trova-veicolo-main .trova-title {
  color: #fff;
  font-family: 'Syne', sans-serif;
  font-size: 20px;
  font-style: normal;
  font-weight: 700;
  line-height: 24px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.trova-veicolo-main .trova-divider {
  position: relative;
  height: 2px;
  margin-bottom: 25px;
}

.trova-veicolo-main .trova-divider::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 1px;
  background-color: rgba(214, 200, 180, 0.25);
}

.trova-veicolo-main .trova-divider span {
  position: absolute;
  left: 0;
  top: 0;
  width: 321px;
  height: 2px;
  background-color: #d9d9d9;
}

.trova-veicolo-main .trova-desc {
  color: #fff;
  font-family: 'gothambook';
  font-size: 14px;
  font-style: normal;
  font-weight: 325;
  line-height: 17px;
  max-width: 638px;
  margin-bottom: 0;
}

/* ── FILTER BY: ─────────────────────────────────────────────────────────── */
.trova-veicolo-main .trova-filter-title {
  color: #fff;
  font-family: 'Syne', sans-serif;
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  line-height: 24px;
  margin-top: 60px;
}

/* ── Body : filter rail + car grid ──────────────────────────────────────── */
.trova-veicolo-main .trova-body {
  display: flex;
  align-items: flex-start;
  gap: 138px;
  margin-top: 25px;
}

.trova-veicolo-main .trova-filters {
  flex: 0 0 188px;
  width: 188px;
}

/* ── Filter group ───────────────────────────────────────────────────────── */
.trova-veicolo-main .filter-group + .filter-group,
.lv-filter-rail .filter-group + .filter-group {
  margin-top: 24px;
}

.trova-veicolo-main .filter-group__head,
.lv-filter-rail .filter-group__head {
  position: relative;
  cursor: pointer;
  user-select: none;
  padding-right: 18px;
  margin-bottom: 7px;
}

.trova-veicolo-main .filter-group__label,
.lv-filter-rail .filter-group__label {
  display: block;
  color: #fff;
  font-family: 'gothambook';
  font-size: 14px;
  font-style: normal;
  font-weight: 325;
  line-height: 17px;
  text-transform: uppercase;
}

.trova-veicolo-main .filter-group__caret,
.lv-filter-rail .filter-group__caret {
  position: absolute;
  right: 0;
  top: 13px;
  width: 7.5px;
  height: 3.5px;
  background-color: #d6c8b4;
  -webkit-clip-path: polygon(0 0, 100% 0, 50% 100%);
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  transition: transform 0.3s ease;
}

.trova-veicolo-main .filter-group.is-closed .filter-group__caret,
.lv-filter-rail .filter-group.is-closed .filter-group__caret {
  transform: rotate(180deg);
}

.trova-veicolo-main .filter-group__bar,
.lv-filter-rail .filter-group__bar {
  height: 1px;
  background-color: rgba(214, 200, 180, 0.25);
}

.trova-veicolo-main .filter-list,
.lv-filter-rail .filter-list {
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}

.trova-veicolo-main .filter-list li,
.lv-filter-rail .filter-list li {
  height: 14px;
  overflow: hidden;
  transition:
    height 0.28s ease,
    opacity 0.28s ease;
}

/* Term that cannot lead to a visible vehicle under the current filters */
.trova-veicolo-main .filter-list li.is-unavailable,
.lv-filter-rail .filter-list li.is-unavailable {
  height: 0;
  opacity: 0;
  pointer-events: none;
}

/* ── Custom checkbox ────────────────────────────────────────────────────── */
.trova-veicolo-main .filter-check,
.lv-filter-rail .filter-check {
  display: flex;
  align-items: center;
  height: 14px;
  padding-left: 7px;
  margin: 0;
  cursor: pointer;
}

.trova-veicolo-main .filter-check input,
.lv-filter-rail .filter-check input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  margin: 0;
  pointer-events: none;
}

.trova-veicolo-main .filter-check input:focus-visible + .filter-check__box,
.lv-filter-rail .filter-check input:focus-visible + .filter-check__box {
  box-shadow: 0 0 0 2px rgba(200, 183, 154, 0.55);
}

.trova-veicolo-main .filter-check__box,
.lv-filter-rail .filter-check__box {
  flex: 0 0 8px;
  width: 8px;
  height: 8px;
  margin-right: 7px;
  background-color: #000;
  border: 0.5px solid #c8b79a;
  position: relative;
  transition: all 0.3s ease;
}

.trova-veicolo-main .filter-check input:checked + .filter-check__box,
.lv-filter-rail .filter-check input:checked + .filter-check__box {
  background-color: #c8b79a;
}

.trova-veicolo-main .filter-check__txt,
.lv-filter-rail .filter-check__txt {
  color: #fff;
  font-family: 'gothambook';
  font-size: 12px;
  font-style: normal;
  font-weight: 325;
  line-height: 14px;
  white-space: nowrap;
  transition: color 0.3s ease;
}

.trova-veicolo-main .filter-check:hover .filter-check__txt,
.trova-veicolo-main .filter-check input:checked ~ .filter-check__txt,
.lv-filter-rail .filter-check:hover .filter-check__txt,
.lv-filter-rail .filter-check input:checked ~ .filter-check__txt {
  color: #c8b79a;
}

/* ── Car grid ───────────────────────────────────────────────────────────── */
.trova-veicolo-main .trova-cars {
  flex: 1 1 auto;
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 28px;
  row-gap: 72px;
  padding-top: 54px;
}

.trova-veicolo-main .car-card {
  position: relative;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(214, 200, 180, 0.25);
}

.trova-veicolo-main .car-card__thumb {
  position: relative;
  height: 191px;
}

/* Radial "ground glow" behind the car — Figma 266.671 x 142.638 @ y+43 */
.trova-veicolo-main .car-card__thumb::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 43px;
  transform: translateX(-50%);
  width: 266.671px;
  height: 142.638px;
  pointer-events: none;
  background: radial-gradient(
    ellipse 45% 25% at 52.5% 57%,
    rgba(138, 138, 138, 0.48) 0%,
    rgba(104, 104, 104, 0.48) 25%,
    rgba(69, 69, 69, 0.48) 50%,
    rgba(52, 52, 52, 0.48) 62.5%,
    rgba(35, 35, 35, 0.48) 75%,
    rgba(17, 17, 17, 0.48) 87.5%,
    rgba(9, 9, 9, 0.48) 93.75%,
    rgba(0, 0, 0, 0.48) 100%
  );
}

.trova-veicolo-main .car-card__thumb img {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  width: 274px;
  height: 183px;
  max-width: 100%;
  object-fit: contain;
  transition: transform 0.5s ease;
}

/* Porsche plate is exported at 298 x 199 and sits 6px lower in the design */
.trova-veicolo-main .car-card--wide .car-card__thumb img {
  top: 6px;
  width: 298px;
  height: 199px;
}

.trova-veicolo-main .car-card:hover .car-card__thumb img {
  transform: translateX(-50%) scale(1.05);
}

.trova-veicolo-main .car-card__meta {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  height: 28px;
}

.trova-veicolo-main .car-card__title {
  color: #fff;
  font-family: 'Syne', sans-serif;
  font-size: 14px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  margin: 0;
}

.trova-veicolo-main .car-card__btn {
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #c8b79a;
  border-radius: 5px;
  color: #1e1e1e;
  font-family: 'Syne', sans-serif;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 1;
  text-transform: uppercase;
  transition: all 0.3s ease;
}

.trova-veicolo-main .car-card__btn:hover {
  background-color: #d6c8b4;
  transform: translateX(3px);
}

/* Empty state (filters matched nothing) */
.trova-veicolo-main .trova-empty {
  display: none;
  grid-column: 1 / -1;
  margin: 0;
  padding-top: 20px;
  color: #d6c8b4;
  font-family: 'gothambook';
  font-size: 14px;
  line-height: 20px;
}

.trova-veicolo-main .trova-cars.is-empty .trova-empty {
  display: block;
}

/* ── Responsive ─────────────────────────────────────────────────────────── */
@media (min-width: 1200px) and (max-width: 1399px) {
  .trova-veicolo-main {
    padding: 0px 60px 120px;
  }

  .trova-veicolo-main .trova-body {
    gap: 90px;
  }
}

@media (min-width: 992px) and (max-width: 1199px) {
  .trova-veicolo-main {
    padding: 0px 40px 100px;
  }

  .trova-veicolo-main .trova-body {
    gap: 50px;
  }

  .trova-veicolo-main .trova-cars {
    row-gap: 55px;
  }

  .trova-veicolo-main .car-card__thumb {
    height: 160px;
  }

  .trova-veicolo-main .car-card__thumb img,
  .trova-veicolo-main .car-card--wide .car-card__thumb img {
    top: 0;
    width: 100%;
    height: 100%;
  }

  .trova-veicolo-main .car-card__thumb::before {
    top: 32px;
    width: 90%;
    height: 108px;
  }
}

@media (max-width: 991px) {
  .trova-veicolo-main {
    margin-top: 0;
    padding: 60px 30px 80px;
  }

  .trova-veicolo-main .trova-head {
    padding-top: 0;
  }

  .trova-veicolo-main .trova-filter-title {
    margin-top: 40px;
  }

  .trova-veicolo-main .trova-body {
    display: block;
    margin-top: 20px;
  }

  .trova-veicolo-main .trova-filters {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
  }

  .trova-veicolo-main .filter-group {
    flex: 1 1 200px;
    min-width: 180px;
  }

  .trova-veicolo-main .filter-group + .filter-group {
    margin-top: 0;
  }

  .trova-veicolo-main .trova-cars {
    grid-template-columns: repeat(2, 1fr);
    column-gap: 24px;
    row-gap: 50px;
    padding-top: 45px;
  }

  .trova-veicolo-main .car-card__thumb {
    height: 170px;
  }

  .trova-veicolo-main .car-card__thumb img,
  .trova-veicolo-main .car-card--wide .car-card__thumb img {
    top: 0;
    width: 100%;
    height: 100%;
  }

  .trova-veicolo-main .car-card__thumb::before {
    top: 34px;
    width: 90%;
    height: 116px;
  }
}

@media (max-width: 767px) {
  .trova-veicolo-main {
    padding: 50px 20px 60px;
  }

  .trova-veicolo-main .trova-divider span {
    width: 200px;
  }

  .trova-veicolo-main .trova-filters {
    gap: 24px;
  }

  .trova-veicolo-main .filter-group {
    flex: 1 1 100%;
  }

  .trova-veicolo-main .trova-cars {
    grid-template-columns: repeat(2, 1fr);
    column-gap: 16px;
    row-gap: 36px;
    padding-top: 35px;
  }

  .trova-veicolo-main .car-card__thumb {
    height: 120px;
  }

  .trova-veicolo-main .car-card__thumb::before {
    top: 24px;
    height: 82px;
  }

  .trova-veicolo-main .car-card__title {
    font-size: 12px;
    letter-spacing: 1.2px;
  }

  .trova-veicolo-main .car-card__btn {
    flex: 0 0 24px;
    width: 24px;
    height: 24px;
    font-size: 12px;
  }

  .trova-veicolo-main .car-card__meta {
    height: 24px;
    gap: 8px;
  }
}

@media (max-width: 479px) {
  .trova-veicolo-main .trova-cars {
    grid-template-columns: 1fr;
    row-gap: 30px;
  }

  .trova-veicolo-main .car-card__thumb {
    height: 165px;
  }

  .trova-veicolo-main .car-card__thumb::before {
    top: 33px;
    height: 112px;
  }
}

/* ==========================================================================
   SINGLE CAR — Hero  (sec-1)
   Figma ref: 1440 wide (node 229:603)
   Stage 1440 x 1008 | breadcrumb y 180 | h1 y 206 | h2 y 293 | rule y 389
   stats y 410 | gallery rule y 920 | thumbs y 947 (11 x 100, gap 18.4)
   ========================================================================== */

.single-car-hero {
  position: relative;
  padding: 0px 80px;
  background-color: #000;
}

.single-car-hero .container-fluid {
  padding-left: 0;
  padding-right: 0;
}

/* ── Stage : full-bleed hero shot ───────────────────────────────────────── */
.single-car-hero__stage {
  position: relative;
  margin: 0px -80px;
  padding: 0px 80px;
  aspect-ratio: 1440/1008;
  background-color: #000;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  transition: background-image 0.4s ease;
}

.single-car-hero__content {
  position: relative;
  z-index: 1;
  padding-top: 180px;
}

/* ── Breadcrumb ─────────────────────────────────────────────────────────── */
.single-car-hero .breadcrumb-wrapper ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  margin-bottom: 9px;
}

.single-car-hero .breadcrumb-wrapper ul li,
.single-car-hero .breadcrumb-wrapper ul li a {
  position: relative;
  color: #fff;
  font-family: 'Syne', sans-serif;
  font-size: 14px;
  font-style: normal;
  font-weight: 600;
  line-height: 17px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  transition: all 0.3s ease;
}

.single-car-hero .breadcrumb-wrapper ul li a:hover {
  color: #c8b79a;
}

.single-car-hero .breadcrumb-wrapper ul li:not(:last-child)::after {
  content: '>';
  position: absolute;
  top: 0;
  right: -14px;
  color: #fff;
  font-family: 'Syne', sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 17px;
}

/* ── Titles ─────────────────────────────────────────────────────────────── */
.single-car-hero h1 {
  color: #c8b79a;
  font-family: 'Syne', sans-serif;
  font-size: 50px;
  font-style: normal;
  font-weight: 400;
  line-height: 60px;
  text-transform: uppercase;
  margin-bottom: 27px;
}

.single-car-hero h2 {
  color: #fff;
  font-family: 'Syne', sans-serif;
  font-size: 30px;
  font-style: normal;
  font-weight: 400;
  line-height: 36px;
  max-width: 404px;
  margin-bottom: 24px;
}

.single-car-hero__rule {
  width: 404px;
  max-width: 100%;
  height: 1px;
  background-color: rgba(214, 200, 180, 0.25);
}

/* ── Stat row : mileage / speed / year ──────────────────────────────────── */
.single-car-hero .car-stats {
  display: flex;
  align-items: flex-start;
  margin: 20px 0 0;
  padding: 0 0 0 26px;
  list-style: none;
}

.single-car-hero .car-stats__item {
  display: flex;
  align-items: flex-start;
  gap: 10.68px;
}

/* fixed item widths reproduce the Figma pitch: icons at x 106 / 236 / 368 */
.single-car-hero .car-stats__item:nth-child(1) {
  width: 130px;
}

.single-car-hero .car-stats__item:nth-child(2) {
  width: 132px;
}

.single-car-hero .car-stats__item:nth-child(3) {
  gap: 7.12px;
}

.single-car-hero .car-stats__icon {
  flex: 0 0 auto;
  display: block;
  margin-top: 3px;
}

.single-car-hero .car-stats__icon img {
  display: block;
}

.single-car-hero .car-stats__item:nth-child(1) .car-stats__icon img {
  width: 24.903px;
  height: 21.346px;
}

.single-car-hero .car-stats__item:nth-child(2) .car-stats__icon img {
  width: 23.125px;
  height: 24.903px;
}

.single-car-hero .car-stats__item:nth-child(3) .car-stats__icon img {
  width: 26.682px;
  height: 26.682px;
}

.single-car-hero .car-stats__text {
  display: block;
}

.single-car-hero .car-stats__value {
  display: block;
  color: #c8b79a;
  font-family: 'Syne', sans-serif;
  font-size: 21.346px;
  font-style: normal;
  font-weight: 700;
  line-height: 26px;
  white-space: nowrap;
}

.single-car-hero .car-stats__label {
  display: block;
  margin-top: 1px;
  color: #c8b79a;
  font-family: 'Syne', sans-serif;
  font-size: 12.452px;
  font-style: normal;
  font-weight: 400;
  line-height: 15px;
  text-transform: uppercase;
  white-space: nowrap;
}

/* ── Gallery : rule + thumbnail strip ───────────────────────────────────── */
.single-car-hero__gallery {
  position: relative;
  z-index: 2;
  /* pulls the rule onto y = 920 of the 1008px stage */
  margin-top: -88px;
}

.single-car-hero__divider {
  position: relative;
  height: 2px;
}

.single-car-hero__divider::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 1px;
  background-color: rgba(214, 200, 180, 0.25);
}

.single-car-hero__divider span {
  position: absolute;
  left: 0;
  top: 0;
  width: 98px;
  height: 2px;
  background-color: #d6c8b4;
}

.single-car-hero .car-thumbs {
  display: grid;
  grid-template-columns: repeat(11, 1fr);
  gap: 18.4px;
  margin: 25px 0 0;
  padding: 0;
  list-style: none;
}

.single-car-hero .car-thumb {
  display: block;
  width: 100%;
  height: 101px;
  padding: 0;
  border: 0;
  border-radius: 5px;
  overflow: hidden;
  background-color: #0d0d0d;
  cursor: pointer;
  position: relative;
  transition: opacity 0.3s ease;
}

.single-car-hero .car-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 5px;
  transition: transform 0.5s ease;
}

.single-car-hero .car-thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid transparent;
  border-radius: 5px;
  pointer-events: none;
  transition: border-color 0.3s ease;
}

.single-car-hero .car-thumb:hover img {
  transform: scale(1.08);
}

.single-car-hero .car-thumb:hover::after,
.single-car-hero .car-thumb.is-active::after {
  border-color: #c8b79a;
}

.single-car-hero .car-thumb:focus-visible::after {
  border-color: #d6c8b4;
  box-shadow: 0 0 0 2px rgba(200, 183, 154, 0.4);
}

/* ── Responsive ─────────────────────────────────────────────────────────── */
@media (min-width: 1200px) and (max-width: 1399px) {
  .single-car-hero {
    padding: 0px 60px;
  }

  .single-car-hero__stage {
    margin: 0px -60px;
    padding: 0px 60px;
  }

  .single-car-hero__content {
    padding-top: 160px;
  }

  .single-car-hero h1 {
    font-size: 45px;
    line-height: 54px;
    margin-bottom: 22px;
  }

  .single-car-hero h2 {
    font-size: 28px;
    line-height: 34px;
  }

  .single-car-hero .car-thumb {
    height: 88px;
  }
}

@media (min-width: 992px) and (max-width: 1199px) {
  .single-car-hero {
    padding: 0px 40px;
  }

  .single-car-hero__stage {
    margin: 0px -40px;
    padding: 0px 40px;
  }

  .single-car-hero__content {
    padding-top: 130px;
  }

  .single-car-hero h1 {
    font-size: 40px;
    line-height: 48px;
    margin-bottom: 18px;
  }

  .single-car-hero h2 {
    font-size: 26px;
    line-height: 32px;
    margin-bottom: 18px;
  }

  .single-car-hero__gallery {
    margin-top: -70px;
  }

  .single-car-hero .car-thumbs {
    gap: 12px;
  }

  .single-car-hero .car-thumb {
    height: 72px;
  }
}

@media (max-width: 991px) {
  .single-car-hero {
    padding: 0px 30px 50px;
  }

  /* portrait crop keeps the car in the lower half, under the copy */
  .single-car-hero__stage {
    margin: 0px -30px;
    padding: 0px 30px;
    aspect-ratio: 4/3;
    background-position: 58% 80%;
  }

  .single-car-hero__stage::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background: linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.88) 0%,
      rgba(0, 0, 0, 0.6) 32%,
      rgba(0, 0, 0, 0) 60%
    );
  }

  .single-car-hero__content {
    padding-top: 120px;
    padding-bottom: 40px;
  }

  .single-car-hero h1 {
    font-size: 35px;
    line-height: 42px;
    margin-bottom: 16px;
  }

  .single-car-hero h2 {
    font-size: 24px;
    line-height: 30px;
    margin-bottom: 18px;
  }

  .single-car-hero .car-stats {
    padding-left: 0;
    flex-wrap: wrap;
    gap: 24px;
  }

  .single-car-hero .car-stats__item:nth-child(1),
  .single-car-hero .car-stats__item:nth-child(2) {
    width: auto;
  }

  .single-car-hero__gallery {
    margin-top: 24px;
  }

  .single-car-hero .car-thumbs {
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
  }

  .single-car-hero .car-thumb {
    height: 84px;
  }
}

@media (max-width: 767px) {
  .single-car-hero {
    padding: 0px 20px 40px;
  }

  .single-car-hero__stage {
    margin: 0px -20px;
    padding: 0px 20px;
    aspect-ratio: 5/7;
    background-position: 61% 82%;
  }

  /* copy sits over the car at this width — hold it on a near-solid scrim */
  .single-car-hero__stage::before {
    background: linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.94) 0%,
      rgba(0, 0, 0, 0.88) 42%,
      rgba(0, 0, 0, 0.35) 64%,
      rgba(0, 0, 0, 0) 82%
    );
  }

  .single-car-hero__content {
    padding-top: 110px;
    padding-bottom: 30px;
  }

  .single-car-hero h1 {
    font-size: 30px;
    line-height: 38px;
  }

  .single-car-hero h2 {
    font-size: 22px;
    line-height: 28px;
    max-width: 100%;
  }

  .single-car-hero h2 br {
    display: none;
  }

  .single-car-hero .car-stats {
    gap: 18px;
  }

  .single-car-hero .car-thumbs {
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
  }

  .single-car-hero .car-thumb {
    height: 74px;
  }
}

@media (max-width: 479px) {
  .single-car-hero .car-thumbs {
    grid-template-columns: repeat(3, 1fr);
  }

  .single-car-hero .car-thumb {
    height: 82px;
  }
}

/* ==========================================================================
   SINGLE CAR — Specifiche tecniche / Prenota  (sec-2)
   Figma ref: 1440 wide (node 229:603)
   Specs title y 1155 | rule 1194 | rows from 1246 @48 pitch
   Card 746..1360 y 1156..1708 | Caratteristiche 1768 | Panel 2162..2596
   ========================================================================== */

.car-detail-main {
  position: relative;
  padding: 107px 80px 50px;
  background-color: #000;
}

.car-detail-main .container-fluid {
  padding-left: 0;
  padding-right: 0;
}

/* ── Shared section head : title + rule with accent ─────────────────────── */
.car-detail-main .sec-title {
  color: #fff;
  font-family: 'Syne', sans-serif;
  font-size: 20px;
  font-style: normal;
  font-weight: 700;
  line-height: 24px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin: 0 0 15px;
}

.car-detail-main .sec-rule {
  position: relative;
  height: 2px;
}

.car-detail-main .sec-rule::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 1px;
  background-color: rgba(214, 200, 180, 0.25);
}

.car-detail-main .sec-rule span {
  position: absolute;
  left: 0;
  top: 0;
  height: 2px;
  max-width: 100%;
  background-color: #d6c8b4;
}

/* ── Block A : 623 + 43 + 614 ───────────────────────────────────────────── */
.car-detail-main .car-detail-row--a {
  display: grid;
  grid-template-columns: minmax(0, 623fr) minmax(0, 614fr);
  column-gap: 43px;
  align-items: start;
}

/* ── Spec table ─────────────────────────────────────────────────────────── */
.car-detail-main .spec-table {
  margin: 50px 0 0;
  padding: 0;
  list-style: none;
}

.car-detail-main .spec-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 11px;
  margin-bottom: 12px;
  border-bottom: 1px solid rgba(214, 200, 180, 0.25);
}

.car-detail-main .spec-row:last-child {
  margin-bottom: 0;
}

.car-detail-main .spec-row__label {
  color: #c8b79a;
  font-family: 'Syne', sans-serif;
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  line-height: 24px;
}

.car-detail-main .spec-row__value {
  color: #fff;
  font-family: 'Syne', sans-serif;
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  line-height: 24px;
  text-align: right;
}

/* ==========================================================================
   Booking card / panel — shared field system
   ========================================================================== */

.bk-card {
  margin-top: 1px;
  padding: 44px 57px 59px;
  background-color: #1a1a1a;
  border-radius: 10px;
}

.bk-title {
  color: #d6ccb7;
  font-family: 'Syne', sans-serif;
  font-size: 30px;
  font-style: normal;
  font-weight: 400;
  line-height: 36px;
  text-transform: uppercase;
  margin: 0 0 40px;
  padding-left: 11px;
}

.bk-fields {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  column-gap: 12px;
  row-gap: 31px;
}

.bk-field {
  position: relative;
  padding-bottom: 9px;
  border-bottom: 1px solid rgba(214, 200, 180, 0.25);
}

/* native + nice-select share one skin */
.bk-field select,
.bk-field .nice-select,
.bk-field .date-display,
.bk-field input[type='text'],
.bk-field input[type='email'],
.bk-field input[type='tel'],
.bk-field textarea {
  display: block;
  float: none;
  width: 100%;
  height: auto;
  min-height: 0;
  margin: 0;
  padding: 0 20px 0 11px;
  background-color: transparent;
  border: 0;
  border-radius: 0;
  outline: none;
  color: #fff;
  font-family: 'gothambook';
  font-size: 14px;
  font-style: normal;
  font-weight: 325;
  line-height: 17px;
  text-align: left !important;
  white-space: nowrap;
  cursor: pointer;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

.bk-field .date-display {
  cursor: pointer;
}

.bk-field .date-display::placeholder {
  color: #fff;
  opacity: 1;
}

.bk-field .date-real {
  position: absolute;
  left: 11px;
  bottom: 0;
  width: 1px;
  height: 1px;
  padding: 0;
  border: 0;
  opacity: 0;
  pointer-events: none;
}

.bk-field select option {
  background-color: #1a1a1a;
  color: #fff;
}

/* nice-select internals */
.bk-field .nice-select:hover,
.bk-field .nice-select:focus,
.bk-field .nice-select.open,
.bk-field .nice-select:active {
  border-color: transparent;
}

.bk-field .nice-select .current {
  display: block;
  line-height: 17px;
}

/* An open dropdown must clear the fields that follow it in the DOM —
   .bk-field is position:relative with z-index:auto, so later siblings
   would otherwise paint straight over the list. */
.bk-field .nice-select.open,
.bk-field:has(.nice-select.open) {
  z-index: 30;
}

.bk-field .nice-select .list {
  width: 100%;
  min-width: 100%;
  margin-top: 10px;
  background-color: #1a1a1a;
  border: 1px solid rgba(214, 200, 180, 0.25);
  border-radius: 5px;
  color: #fff;
  z-index: 31;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.55);
}

.bk-field .nice-select .option {
  min-height: 32px;
  padding: 0 11px;
  line-height: 32px;
  font-family: 'gothambook';
  font-size: 13px;
  color: #fff;
}

.bk-field .nice-select .option:hover,
.bk-field .nice-select .option.focus,
.bk-field .nice-select .option.selected.focus {
  background-color: rgba(200, 183, 154, 0.14);
  color: #c8b79a;
}

/* caret — Figma vector 7.5 x 3.5.
   Drawn on the field itself so it survives with or without nice-select. */
.bk-field .nice-select::after {
  display: none;
}

.bk-field:not(.bk-field--date):not(.bk-field--input)::after {
  content: '';
  position: absolute;
  right: 6px;
  top: 6px;
  width: 7.5px;
  height: 3.5px;
  margin: 0;
  border: 0;
  pointer-events: none;
  background-color: #d6c8b4;
  -webkit-clip-path: polygon(0 0, 100% 0, 50% 100%);
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  transform: none;
  transition: transform 0.3s ease;
}

.bk-field:has(.nice-select.open)::after {
  transform: rotate(180deg);
}

/* calendar glyph on the date fields */
.bk-field__icon {
  position: absolute;
  right: 0;
  top: 3px;
  display: block;
  pointer-events: none;
}

.bk-field__icon img {
  display: block;
  width: 10px;
  height: 10px;
}

/* ── Submit ─────────────────────────────────────────────────────────────── */
.bk-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 23px;
}

.bk-submit.btn-livrea {
  width: 253px;
  height: 33px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  background-color: #c8b79a;
  border-radius: 5px;
  color: #1e1e1e;
  font-family: 'Syne', sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 2.8px;
  text-transform: uppercase;
  transition: all 0.3s ease;
}

.bk-submit.btn-livrea:hover {
  background-color: #d6c8b4;
}

/* ── Benefit list ───────────────────────────────────────────────────────── */
.bk-benefits {
  margin-top: 54px;
}

.bk-benefit {
  display: flex;
  align-items: flex-start;
  gap: 27px;
}

.bk-benefit + .bk-benefit {
  margin-top: 15px;
}

.bk-benefit__icon {
  flex: 0 0 36px;
  display: flex;
  justify-content: center;
  margin-top: -4px;
}

.bk-benefit__icon img {
  display: block;
}

.bk-benefit__text {
  display: block;
  font-family: 'Syne', sans-serif;
  font-size: 12px;
  font-weight: 700;
  line-height: 15px;
}

.bk-benefit__text strong {
  display: block;
  color: #c8b79a;
  font-weight: 700;
  text-transform: uppercase;
}

.bk-benefit__text span {
  display: block;
  color: #fff;
  font-weight: 700;
}

/* ── Block B : caratteristiche + ideale per ─────────────────────────────── */
.car-detail-main .car-detail-row--b {
  display: grid;
  grid-template-columns: minmax(0, 624fr) minmax(0, 623fr);
  column-gap: 30px;
  align-items: start;
  margin-top: 54px;
}

.car-detail-main .feat-list {
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.car-detail-main .feat-list--ideale {
  padding-left: 28px;
}

.car-detail-main .feat-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.car-detail-main .feat-item + .feat-item {
  margin-top: 20px;
}

.car-detail-main .feat-list--ideale .feat-item {
  gap: 5px;
}

.car-detail-main .feat-item__icon {
  flex: 0 0 auto;
  display: block;
  margin-top: 3px;
}

.car-detail-main .feat-item__icon img {
  display: block;
}

.car-detail-main .feat-list--ideale .feat-item__icon {
  margin-top: 2px;
}

.car-detail-main .feat-item__text {
  color: #fff;
  font-family: 'gothambook';
  font-size: 15px;
  font-style: normal;
  font-weight: 325;
  line-height: 20px;
}

/* ── Block C : wide booking panel ───────────────────────────────────────── */
.bk-panel {
  display: grid;
  grid-template-columns: minmax(0, 500fr) minmax(0, 506fr);
  column-gap: 116px;
  align-items: start;
  margin-top: 107px;
  padding: 61px 77px 85px 81px;
  background-color: #1a1a1a;
  border-radius: 10px;
}

/* the wide panel runs a slightly tighter rhythm than the compact card */
.bk-panel .bk-title {
  margin-bottom: 30px;
}

.bk-panel .bk-fields {
  row-gap: 30px;
}

.bk-panel .bk-actions {
  margin-top: 37px;
}

.bk-panel__right {
  position: relative;
  padding-left: 70px;
}

/* Figma "Line 47" — 1px x 312px */
.bk-panel__right::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 1px;
  height: 312px;
  background-color: rgba(214, 200, 180, 0.25);
}

.bk-panel__desc {
  margin-top: 28px;
}

.bk-panel__desc p {
  color: #fff;
  font-family: 'gothambook';
  font-size: 14px;
  font-style: normal;
  font-weight: 325;
  line-height: 17px;
  margin: 0;
}

.bk-panel__desc-title {
  margin-bottom: 17px !important;
}

.bk-panel .bk-benefits {
  margin-top: 38px;
}

.bk-panel .bk-benefit {
  gap: 21px;
}

/* ── Responsive ─────────────────────────────────────────────────────────── */
@media (min-width: 1200px) and (max-width: 1399px) {
  .car-detail-main {
    padding: 90px 60px 45px;
  }

  .bk-panel {
    column-gap: 70px;
    padding: 50px 60px 70px;
  }

  .bk-panel__right {
    padding-left: 50px;
  }
}

@media (min-width: 992px) and (max-width: 1199px) {
  .car-detail-main {
    padding: 80px 40px 40px;
  }

  .car-detail-main .car-detail-row--a {
    column-gap: 30px;
  }

  .bk-card {
    padding: 34px 32px 42px;
  }

  .bk-title {
    font-size: 26px;
    line-height: 32px;
    margin-bottom: 30px;
    padding-left: 0;
  }

  .car-detail-main .spec-row__label,
  .car-detail-main .spec-row__value {
    font-size: 18px;
  }

  .bk-panel {
    column-gap: 46px;
    padding: 44px 40px 56px;
  }

  .bk-panel__right {
    padding-left: 40px;
  }

  .bk-benefit {
    gap: 18px;
  }
}

@media (max-width: 991px) {
  .car-detail-main {
    padding: 70px 30px 36px;
  }

  .car-detail-main .car-detail-row--a,
  .car-detail-main .car-detail-row--b,
  .bk-panel {
    display: block;
  }

  .bk-card {
    margin-top: 50px;
    padding: 34px 30px 40px;
  }

  .bk-title {
    font-size: 26px;
    line-height: 32px;
    margin-bottom: 28px;
    padding-left: 0;
  }

  .car-detail-main .spec-row__label,
  .car-detail-main .spec-row__value {
    font-size: 18px;
  }

  .car-detail-main .car-detail-row--b {
    margin-top: 50px;
  }

  .car-detail-main .feat-col--ideale {
    margin-top: 40px;
  }

  .car-detail-main .feat-list--ideale {
    padding-left: 0;
  }

  .bk-panel {
    margin-top: 50px;
    padding: 40px 30px 46px;
  }

  .bk-panel__right {
    margin-top: 40px;
    padding-left: 0;
    padding-top: 34px;
  }

  .bk-panel__right::before {
    width: 100%;
    height: 1px;
  }

  .bk-panel__desc {
    margin-top: 0;
  }
}

@media (max-width: 767px) {
  .car-detail-main {
    padding: 55px 20px 30px;
  }

  .car-detail-main .sec-title {
    font-size: 16px;
    letter-spacing: 1.6px;
  }

  .car-detail-main .spec-table {
    margin-top: 34px;
  }

  .car-detail-main .spec-row__label,
  .car-detail-main .spec-row__value {
    font-size: 15px;
    line-height: 20px;
  }

  .bk-card,
  .bk-panel {
    padding: 28px 20px 34px;
  }

  .bk-title {
    font-size: 22px;
    line-height: 28px;
  }

  .bk-fields {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 26px;
  }

  .bk-actions {
    justify-content: stretch;
  }

  .bk-submit.btn-livrea {
    width: 100%;
  }

  .bk-benefit {
    gap: 16px !important;
  }

  .bk-benefit__icon {
    flex: 0 0 28px;
  }

  .bk-benefit__icon img {
    max-width: 100%;
    height: auto;
  }

  .car-detail-main .feat-item__text {
    font-size: 14px;
    line-height: 19px;
  }
}

/* ==========================================================================
   LIVREA date picker — replaces the native calendar, LIVREA palette
   ========================================================================== */

.bk-field--date {
  position: relative;
}

.bk-field--date.is-open {
  z-index: 40;
}

.bk-field--date .date-display {
  caret-color: transparent;
}

.lv-datepicker {
  display: none;
  position: absolute;
  left: 0;
  top: calc(100% + 10px);
  width: 258px;
  padding: 12px 12px 8px;
  background-color: #1a1a1a;
  border: 1px solid rgba(214, 200, 180, 0.25);
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.6);
  z-index: 41;
  cursor: default;
}

.bk-field--date.is-open .lv-datepicker {
  display: block;
}

/* ── Head : month + nav ─────────────────────────────────────────────────── */
.lv-datepicker__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-bottom: 11px;
  margin-bottom: 9px;
  border-bottom: 1px solid rgba(214, 200, 180, 0.25);
}

.lv-datepicker__month {
  flex: 1 1 auto;
  text-align: center;
  color: #d6ccb7;
  font-family: 'Syne', sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

.lv-datepicker__nav {
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  position: relative;
  padding: 0;
  border: 0;
  border-radius: 4px;
  background-color: transparent;
  cursor: pointer;
  transition: background-color 0.25s ease;
}

.lv-datepicker__nav:hover {
  background-color: rgba(200, 183, 154, 0.16);
}

.lv-datepicker__nav::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 6px;
  height: 6px;
  margin: -3px 0 0 -2px;
  border-left: 1.5px solid #c8b79a;
  border-bottom: 1.5px solid #c8b79a;
  transform: rotate(45deg);
}

.lv-datepicker__nav--next::before {
  margin-left: -4px;
  transform: rotate(-135deg);
}

/* ── Weekday header + day grid ──────────────────────────────────────────── */
.lv-datepicker__dows,
.lv-datepicker__grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
}

.lv-datepicker__dows {
  margin-bottom: 4px;
}

.lv-datepicker__dows span {
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(214, 200, 180, 0.55);
  font-family: 'Syne', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.lv-datepicker__day {
  height: 26px;
  padding: 0;
  border: 0;
  border-radius: 4px;
  background-color: transparent;
  color: #fff;
  font-family: 'gothambook';
  font-size: 13px;
  line-height: 26px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.lv-datepicker__day:hover:not(:disabled) {
  background-color: rgba(200, 183, 154, 0.16);
  color: #c8b79a;
}

.lv-datepicker__day:disabled {
  color: rgba(255, 255, 255, 0.22);
  cursor: default;
}

.lv-datepicker__day.is-today:not(.is-selected) {
  box-shadow: inset 0 0 0 1px rgba(200, 183, 154, 0.55);
  color: #c8b79a;
}

.lv-datepicker__day.is-selected {
  background-color: #c8b79a;
  color: #1e1e1e;
  font-weight: 700;
}

/* ── Foot ───────────────────────────────────────────────────────────────── */
.lv-datepicker__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 9px;
  padding-top: 9px;
  border-top: 1px solid rgba(214, 200, 180, 0.25);
}

.lv-datepicker__foot button {
  padding: 0;
  border: 0;
  background-color: transparent;
  color: rgba(255, 255, 255, 0.55);
  font-family: 'gothambook';
  font-size: 12px;
  cursor: pointer;
  transition: color 0.25s ease;
}

.lv-datepicker__foot button:hover {
  color: #c8b79a;
}

/* flipped above the field when there is no room below */
.bk-field--date.is-up .lv-datepicker {
  top: auto;
  bottom: calc(100% + 10px);
}

/* keep the panel inside the card on the right-hand column */
.bk-fields > .bk-field--date:nth-child(even) .lv-datepicker {
  left: auto;
  right: 0;
}

@media (max-width: 767px) {
  .lv-datepicker {
    width: 100%;
    min-width: 250px;
  }
}

/* ==========================================================================
   SINGLE CAR — Altri modelli slider  (sec-3)
   Figma ref: 1440 wide (node 229:603)
   Slides 486 x 324 (3/2) at x 23 / 509 / 995 — full-bleed, centred, peeking
   Name y 3195 | disponibile 3251 | rule 3297 | CTA 3317
   Reuses the project's .trova-main .trova-slider-wrapper component; only the
   full-bleed track and this page's caption offsets are overridden here.
   ========================================================================== */

.single-car-trova {
  padding: 30px 0 120px;
  background-color: #000;
  overflow: hidden;
}

.single-car-trova .container-fluid,
.single-car-trova .row,
.single-car-trova .row > [class*='col-'] {
  padding-left: 0;
  padding-right: 0;
  margin-left: 0;
  margin-right: 0;
}

/* slide caption sits 64px above the bottom of the 3:2 image box */
.single-car-trova .trova-slider-wrapper .swiper .swiper-slide {
  padding-bottom: 95px;
}

.single-car-trova .trova-slider-wrapper .swiper .swiper-slide .image-box .car-name-wrapper {
  top: calc(100% - 64px);
  bottom: auto;
  width: 364px;
  max-width: 100%;
  text-align: center;
}

.single-car-trova .trova-slider-wrapper .swiper .swiper-slide .image-box .car-name-wrapper .car-name {
  text-align: center;
}

.single-car-trova .trova-slider-wrapper .swiper .swiper-button-prev {
  left: 48px;
  right: auto;
}

.single-car-trova .trova-slider-wrapper .swiper .swiper-button-next {
  right: 48px;
  left: auto;
}

/* Swiper's default arrow glyph must not double up with the ::after content */
.single-car-trova .trova-slider-wrapper .swiper .swiper-button-next,
.single-car-trova .trova-slider-wrapper .swiper .swiper-button-prev {
  top: 50%;
  margin-top: -64px;
  z-index: 5;
}

@media (min-width: 992px) and (max-width: 1399px) {
  .single-car-trova {
    padding: 24px 0 90px;
  }

  .single-car-trova .trova-slider-wrapper .swiper .swiper-button-prev {
    left: 28px;
  }

  .single-car-trova .trova-slider-wrapper .swiper .swiper-button-next {
    right: 28px;
  }
}

@media (max-width: 991px) {
  .single-car-trova {
    padding: 20px 0 80px;
  }

  .single-car-trova .trova-slider-wrapper .swiper .swiper-slide {
    padding-bottom: 85px;
  }

  .single-car-trova .trova-slider-wrapper .swiper .swiper-slide .image-box .car-name-wrapper {
    top: calc(100% - 54px);
    width: 100%;
  }

  .single-car-trova .trova-slider-wrapper .swiper .swiper-button-prev {
    left: 16px;
  }

  .single-car-trova .trova-slider-wrapper .swiper .swiper-button-next {
    right: 16px;
  }
}

@media (max-width: 767px) {
  .single-car-trova {
    padding: 16px 0 60px;
  }

  .single-car-trova .trova-slider-wrapper .swiper .swiper-slide {
    padding-bottom: 76px;
  }

  .single-car-trova .trova-slider-wrapper .swiper .swiper-slide .image-box .car-name-wrapper {
    top: calc(100% - 46px);
    padding-left: 12px;
    padding-right: 12px;
  }
}

/* style.css turns .car-name-wrapper into a relative box under 575px, which
   fights the offset above — keep it absolute here and re-tune the overlap. */
@media (max-width: 575px) {
  .single-car-trova .trova-slider-wrapper .swiper .swiper-slide {
    padding-bottom: 95px;
  }

  .single-car-trova .trova-slider-wrapper .swiper .swiper-slide .image-box .car-name-wrapper {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: calc(100% - 40px);
    bottom: auto;
    width: 100%;
    padding-left: 12px;
    padding-right: 12px;
  }

  /* keep the CTA on one line at the narrowest widths */
  .single-car-trova .trova-slider-wrapper .swiper .swiper-slide .image-box .car-name-wrapper .btn-livrea {
    font-size: 12px;
    letter-spacing: 1.4px;
    padding: 9px 12px 7px;
  }
}

/* ==========================================================================
   SINGLE CAR — gallery lightbox
   ========================================================================== */

body.lv-lightbox-open {
  overflow: hidden;
}

.lv-lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.35s ease,
    visibility 0.35s ease;
}

.lv-lightbox.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.lv-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.94);
}

/* ── Slider ─────────────────────────────────────────────────────────────── */
.lv-lightbox__slider {
  position: relative;
  z-index: 1;
  width: min(1040px, calc(100% - 200px));
  height: min(76vh, 720px);
}

.lv-lightbox__slider .swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
}

.lv-lightbox__slider .swiper-slide img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
}

/* ── Prev / next — the site's gold button, sized up for touch ───────────── */
.lv-lightbox__nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 44px;
  height: 40px;
  margin-top: -20px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 5px;
  background-color: #c8b79a;
  color: #1e1e1e;
  font-family: 'Syne', sans-serif;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 2.8px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.lv-lightbox__nav:hover {
  background-color: #d6c8b4;
}

.lv-lightbox__prev {
  left: 40px;
}

.lv-lightbox__next {
  right: 40px;
}

.lv-lightbox__prev::after {
  content: '<';
  padding-left: 2.8px;
}

.lv-lightbox__next::after {
  content: '>';
  padding-left: 2.8px;
}

.lv-lightbox__nav.swiper-button-disabled {
  opacity: 0.35;
  cursor: default;
}

/* ── Close ──────────────────────────────────────────────────────────────── */
.lv-lightbox__close {
  position: absolute;
  top: 34px;
  right: 40px;
  z-index: 3;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid rgba(214, 200, 180, 0.4);
  border-radius: 5px;
  background-color: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
}

.lv-lightbox__close span {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 16px;
  height: 1.5px;
  margin: -1px 0 0 -8px;
  background-color: #d6c8b4;
  transition: background-color 0.3s ease;
}

.lv-lightbox__close span:nth-child(1) {
  transform: rotate(45deg);
}

.lv-lightbox__close span:nth-child(2) {
  transform: rotate(-45deg);
}

.lv-lightbox__close:hover {
  background-color: #c8b79a;
  border-color: #c8b79a;
}

.lv-lightbox__close:hover span {
  background-color: #1e1e1e;
}

/* ── Counter ────────────────────────────────────────────────────────────── */
.lv-lightbox__counter {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 34px;
  z-index: 3;
  text-align: center;
  color: #d6c8b4;
  font-family: 'Syne', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1.4px;
}

.lv-lightbox__cur {
  color: #fff;
}

/* the thumbnails open the lightbox now — no persistent selected state */
.single-car-hero .car-thumb {
  cursor: zoom-in;
}

/* ── Responsive ─────────────────────────────────────────────────────────── */
@media (max-width: 991px) {
  .lv-lightbox__slider {
    width: calc(100% - 40px);
    height: 68vh;
  }

  .lv-lightbox__prev {
    left: 16px;
  }

  .lv-lightbox__next {
    right: 16px;
  }

  .lv-lightbox__close {
    top: 20px;
    right: 20px;
  }
}

@media (max-width: 767px) {
  .lv-lightbox__slider {
    width: calc(100% - 24px);
    height: 62vh;
  }

  .lv-lightbox__nav {
    width: 38px;
    height: 34px;
    margin-top: -17px;
    font-size: 14px;
  }

  .lv-lightbox__prev {
    left: 8px;
  }

  .lv-lightbox__next {
    right: 8px;
  }

  .lv-lightbox__counter {
    bottom: 22px;
    font-size: 12px;
  }
}

/* ==========================================================================
   BLOG — Articoli + filtri  (sec-2)
   Card plates export at 299 x 299, so the grid runs square cards:
   3 columns + a 290px filter rail inside the 1280 content column.
   Filter rail reuses the shared .lv-filter-rail component (flotta sec-2).
   ========================================================================== */

.blog-list-main {
  position: relative;
  padding: 40px 80px 120px;
  background-color: #000;
}

.blog-list-main .container-fluid {
  padding-left: 0;
  padding-right: 0;
}

.blog-list-main .blog-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 290px;
  column-gap: 43px;
  align-items: start;
}

/* ── Card grid ──────────────────────────────────────────────────────────── */
.blog-list-main .blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 30px;
  row-gap: 40px;
}

.blog-list-main .blog-card {
  position: relative;
  aspect-ratio: 1;
  border-radius: 5px;
  overflow: hidden;
  background-color: #0d0d0d;
}

.blog-list-main .blog-card__link {
  display: block;
  width: 100%;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.blog-list-main .blog-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.blog-list-main .blog-card:hover img {
  transform: scale(1.06);
}

/* legibility scrim under the headline */
.blog-list-main .blog-card::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 72%;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.55) 45%,
    rgba(0, 0, 0, 0.88) 100%
  );
  transition: opacity 0.4s ease;
}

.blog-list-main .blog-card__body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  padding: 20px;
}

.blog-list-main .blog-card__title {
  margin: 0;
  color: #fff;
  font-family: 'Syne', sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
  line-height: 21px;
  letter-spacing: 0.4px;
  transition: color 0.3s ease;
}

.blog-list-main .blog-card:hover .blog-card__title {
  color: #d6ccb7;
}

/* CTA is revealed on hover — the Figma shows it on one card only */
.blog-list-main .blog-card__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 0;
  padding: 8px 13px 6px;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  background-color: #c8b79a;
  border-radius: 5px;
  color: #1e1e1e;
  font-family: 'Syne', sans-serif;
  font-size: 12px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition:
    max-height 0.4s ease,
    opacity 0.35s ease,
    margin-top 0.4s ease;
}

.blog-list-main .blog-card:hover .blog-card__cta,
.blog-list-main .blog-card__link:focus-visible .blog-card__cta {
  max-height: 40px;
  opacity: 1;
  margin-top: 14px;
}

.blog-list-main .blog-empty {
  display: none;
  grid-column: 1 / -1;
  margin: 0;
  color: #d6c8b4;
  font-family: 'gothambook';
  font-size: 14px;
  line-height: 20px;
}

.blog-list-main .blog-grid.is-empty .blog-empty {
  display: block;
}

/* ── Filter rail ────────────────────────────────────────────────────────── */
.blog-list-main .blog-filters {
  width: 290px;
}

.blog-list-main .blog-filters__title {
  color: #fff;
  font-family: 'Syne', sans-serif;
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  line-height: 24px;
  margin-bottom: 25px;
}

/* ── Responsive ─────────────────────────────────────────────────────────── */
@media (min-width: 1200px) and (max-width: 1399px) {
  .blog-list-main {
    padding: 32px 60px 100px;
  }

  .blog-list-main .blog-body {
    grid-template-columns: minmax(0, 1fr) 250px;
    column-gap: 32px;
  }

  .blog-list-main .blog-filters {
    width: 250px;
  }
}

@media (min-width: 992px) and (max-width: 1199px) {
  .blog-list-main {
    padding: 28px 40px 90px;
  }

  .blog-list-main .blog-body {
    grid-template-columns: minmax(0, 1fr) 220px;
    column-gap: 26px;
  }

  .blog-list-main .blog-filters {
    width: 220px;
  }

  .blog-list-main .blog-grid {
    column-gap: 22px;
    row-gap: 28px;
  }

  .blog-list-main .blog-card__title {
    font-size: 14px;
    line-height: 19px;
  }

  .blog-list-main .blog-card__body {
    padding: 16px;
  }
}

@media (max-width: 991px) {
  .blog-list-main {
    padding: 24px 30px 80px;
  }

  /* rail first on tablet so filters are reachable without scrolling the grid */
  .blog-list-main .blog-body {
    display: flex;
    flex-direction: column;
  }

  .blog-list-main .blog-filters {
    order: -1;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 40px;
  }

  .blog-list-main .blog-filters__title {
    flex: 1 1 100%;
    margin-bottom: 0;
  }

  .blog-list-main .blog-filters .filter-group {
    flex: 1 1 200px;
    min-width: 180px;
  }

  .blog-list-main .blog-filters .filter-group + .filter-group {
    margin-top: 0;
  }

  .blog-list-main .blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 24px;
    row-gap: 30px;
  }
}

@media (max-width: 767px) {
  .blog-list-main {
    padding: 20px 20px 60px;
  }

  .blog-list-main .blog-filters {
    gap: 24px;
  }

  .blog-list-main .blog-filters .filter-group {
    flex: 1 1 100%;
  }

  .blog-list-main .blog-grid {
    column-gap: 16px;
    row-gap: 20px;
  }

  .blog-list-main .blog-card__title {
    font-size: 13px;
    line-height: 18px;
  }

  .blog-list-main .blog-card__body {
    padding: 14px;
  }

  .blog-list-main .blog-card__cta {
    font-size: 11px;
    letter-spacing: 1.4px;
  }
}

@media (max-width: 479px) {
  .blog-list-main .blog-grid {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 22px;
  }
}

/* ── Blog rail: accordion-style group labels ─────────────────────────────
   The shared rail component ships uppercase 14px labels (flotta's BRAND /
   SPECIFICHE TECNICHE). The blog design uses the larger title-case
   "H4-accordion" treatment instead, so override just the label here.       */
.blog-list-main .blog-filters .filter-group__label {
  color: #fff;
  font-family: 'Syne', sans-serif;
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: 24px;
  letter-spacing: 0;
  text-transform: none;
}

.blog-list-main .blog-filters .filter-group__head {
  margin-bottom: 6px;
}

.blog-list-main .blog-filters .filter-group__caret {
  top: 17px;
}

.blog-list-main .blog-filters .filter-group + .filter-group {
  margin-top: 4px;
}

/* breathing room under an expanded list before the next group */
.blog-list-main .blog-filters .filter-group:not(.is-closed) + .filter-group {
  margin-top: 20px;
}

.blog-list-main .blog-filters .filter-list {
  margin-top: 14px;
  margin-bottom: 6px;
}

/* The blog design draws every caret pointing down, open or closed, so the
   shared rail's flip-when-collapsed is suppressed here. List visibility is
   the state cue. */
.blog-list-main .blog-filters .filter-group.is-closed .filter-group__caret {
  transform: none;
}

/* ==========================================================================
   SINGLE BLOG — banner + articolo
   Banner plate exports at 1440 x 394, so the hero runs that ratio full-bleed.
   Body reuses the blog content/rail split: 947 + 43 + 290 inside 1280.
   ========================================================================== */

.single-blog-hero {
  position: relative;
  width: 100%;
  aspect-ratio: 1440/394;
  padding: 0px 80px;
  background-color: #000;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  overflow: hidden;
}

.single-blog-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.15) 60%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0) 45%);
}

.single-blog-hero .container-fluid {
  position: relative;
  z-index: 1;
  padding-left: 0;
  padding-right: 0;
}

.single-blog-hero__content {
  padding-top: 130px;
}

/* breadcrumb reuses the shared banner treatment */
.single-blog-hero .breadcrumb-wrapper ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  margin-bottom: 9px;
}

.single-blog-hero .breadcrumb-wrapper ul li,
.single-blog-hero .breadcrumb-wrapper ul li a {
  position: relative;
  color: #fff;
  font-family: 'Syne', sans-serif;
  font-size: 14px;
  font-style: normal;
  font-weight: 600;
  line-height: 17px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  transition: all 0.3s ease;
}

.single-blog-hero .breadcrumb-wrapper ul li a:hover {
  color: #c8b79a;
}

.single-blog-hero .breadcrumb-wrapper ul li:not(:last-child)::after {
  content: '>';
  position: absolute;
  top: 0;
  right: -14px;
  color: #fff;
  font-family: 'Syne', sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 17px;
}

.single-blog-hero h1 {
  color: #c8b79a;
  font-family: 'Syne', sans-serif;
  font-size: 40px;
  font-style: normal;
  font-weight: 400;
  line-height: 48px;
  margin-bottom: 14px;
}

.single-blog-hero h2 {
  color: #fff;
  font-family: 'Syne', sans-serif;
  font-size: 24px;
  font-style: normal;
  font-weight: 400;
  line-height: 30px;
  max-width: 420px;
  margin-bottom: 0;
}

/* ── Article body ───────────────────────────────────────────────────────── */
.single-blog-main {
  position: relative;
  padding: 60px 80px 120px;
  background-color: #000;
}

.single-blog-main .container-fluid {
  padding-left: 0;
  padding-right: 0;
}

.single-blog-main .sb-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 290px;
  column-gap: 43px;
  align-items: start;
}

.single-blog-main .sb-article p {
  color: rgba(255, 255, 255, 0.82);
  font-family: 'gothambook';
  font-size: 14px;
  font-style: normal;
  font-weight: 325;
  line-height: 22px;
  margin: 0 0 20px;
}

.single-blog-main .sb-article h2 {
  color: #fff;
  font-family: 'Syne', sans-serif;
  font-size: 18px;
  font-style: normal;
  font-weight: 600;
  line-height: 24px;
  letter-spacing: 0.4px;
  margin: 34px 0 12px;
}

.single-blog-main .sb-article > *:first-child {
  margin-top: 0;
}

.single-blog-main .sb-article > *:last-child {
  margin-bottom: 0;
}

/* ── Square plate + copy ────────────────────────────────────────────────── */
.single-blog-main .sb-split,
.single-blog-main .sb-article > div {
  display: grid;
  grid-template-columns: 398px minmax(0, 1fr);
  column-gap: 40px;
  align-items: start;
  margin: 34px 0;
}

.single-blog-main .sb-split__figure,
.single-blog-main .sb-article > div > figure {
  margin: 0;
  border-radius: 5px;
  overflow: hidden;
  line-height: 0;
}

.single-blog-main .sb-split__figure img,
.single-blog-main .sb-article > div > figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
}

.single-blog-main .sb-split__text > *:first-child,
.single-blog-main .sb-article > div > div > *:first-child {
  margin-top: 0;
}

/* ── Filter rail (same component as blog.html) ──────────────────────────── */
.single-blog-main .blog-filters {
  width: 290px;
}

.single-blog-main .blog-filters__title {
  color: #fff;
  font-family: 'Syne', sans-serif;
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  line-height: 24px;
  margin-bottom: 25px;
}

.single-blog-main .blog-filters .filter-group__label {
  color: #fff;
  font-family: 'Syne', sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 24px;
  letter-spacing: 0;
  text-transform: none;
}

.single-blog-main .blog-filters .filter-group__head {
  margin-bottom: 6px;
}

.single-blog-main .blog-filters .filter-group__caret {
  top: 17px;
}

.single-blog-main .blog-filters .filter-group.is-closed .filter-group__caret {
  transform: none;
}

.single-blog-main .blog-filters .filter-group + .filter-group {
  margin-top: 4px;
}

.single-blog-main .blog-filters .filter-group:not(.is-closed) + .filter-group {
  margin-top: 20px;
}

.single-blog-main .blog-filters .filter-list {
  margin-top: 14px;
  margin-bottom: 6px;
}

/* ── Responsive ─────────────────────────────────────────────────────────── */
@media (min-width: 1200px) and (max-width: 1399px) {
  .single-blog-hero,
  .single-blog-main {
    padding-left: 60px;
    padding-right: 60px;
  }

  .single-blog-hero__content {
    padding-top: 110px;
  }

  .single-blog-main .sb-body {
    grid-template-columns: minmax(0, 1fr) 250px;
    column-gap: 32px;
  }

  .single-blog-main .blog-filters {
    width: 250px;
  }
}

@media (min-width: 992px) and (max-width: 1199px) {
  .single-blog-hero,
  .single-blog-main {
    padding-left: 40px;
    padding-right: 40px;
  }

  .single-blog-hero {
    aspect-ratio: unset;
    min-height: 340px;
  }

  .single-blog-hero__content {
    padding-top: 105px;
    padding-bottom: 40px;
  }

  .single-blog-hero h1 {
    font-size: 34px;
    line-height: 42px;
  }

  .single-blog-hero h2 {
    font-size: 21px;
    line-height: 27px;
  }

  .single-blog-main .sb-body {
    grid-template-columns: minmax(0, 1fr) 220px;
    column-gap: 26px;
  }

  .single-blog-main .blog-filters {
    width: 220px;
  }

  .single-blog-main .sb-split,
.single-blog-main .sb-article > div {
    grid-template-columns: 300px minmax(0, 1fr);
    column-gap: 26px;
  }
}

@media (max-width: 991px) {
  .single-blog-hero,
  .single-blog-main {
    padding-left: 30px;
    padding-right: 30px;
  }

  .single-blog-hero {
    aspect-ratio: unset;
    min-height: 320px;
  }

  .single-blog-hero__content {
    padding-top: 100px;
    padding-bottom: 40px;
  }

  .single-blog-hero h1 {
    font-size: 30px;
    line-height: 38px;
  }

  .single-blog-hero h2 {
    font-size: 20px;
    line-height: 26px;
  }

  .single-blog-main {
    padding-top: 40px;
    padding-bottom: 80px;
  }

  /* rail above the article, matching blog.html */
  .single-blog-main .sb-body {
    display: flex;
    flex-direction: column;
  }

  .single-blog-main .blog-filters {
    order: -1;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 24px 30px;
    margin-bottom: 40px;
  }

  .single-blog-main .blog-filters__title {
    flex: 1 1 100%;
    margin-bottom: 0;
  }

  .single-blog-main .blog-filters .filter-group {
    flex: 1 1 200px;
    min-width: 180px;
  }

  .single-blog-main .blog-filters .filter-group + .filter-group,
  .single-blog-main .blog-filters .filter-group:not(.is-closed) + .filter-group {
    margin-top: 0;
  }
}

@media (max-width: 767px) {
  .single-blog-hero,
  .single-blog-main {
    padding-left: 20px;
    padding-right: 20px;
  }

  .single-blog-hero {
    min-height: 280px;
  }

  .single-blog-hero h1 {
    font-size: 26px;
    line-height: 34px;
  }

  .single-blog-hero h2 {
    font-size: 18px;
    line-height: 24px;
    max-width: 100%;
  }

  .single-blog-hero h2 br {
    display: none;
  }

  .single-blog-main .blog-filters .filter-group {
    flex: 1 1 100%;
  }

  .single-blog-main .sb-split,
.single-blog-main .sb-article > div {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 24px;
  }

  .single-blog-main .sb-split__figure img,
.single-blog-main .sb-article > div > figure img {
    max-width: 398px;
  }
}

/* ==========================================================================
   CONTATTI — Raccontaci di cosa hai bisogno  (sec-2)
   Intro column 543 + 106 gap + form 631 inside the 1280 content column.
   Fields reuse the shared .bk-field skin from the booking cards.
   ========================================================================== */

.contact-form-main {
  position: relative;
  padding: 120px 80px 120px;
  background-color: #000;
}

.contact-form-main .container-fluid {
  padding-left: 0;
  padding-right: 0;
}

.contact-form-main .contact-body {
  display: grid;
  grid-template-columns: minmax(0, 543fr) minmax(0, 631fr);
  column-gap: 106px;
  align-items: start;
}

/* ── Intro ──────────────────────────────────────────────────────────────── */
.contact-form-main .contact-intro h2 {
  color: #fff;
  font-family: 'Syne', sans-serif;
  font-size: 40px;
  font-style: normal;
  font-weight: 400;
  line-height: 48px;
  margin: 0 0 18px;
}

.contact-form-main .contact-intro p {
  color: rgba(255, 255, 255, 0.82);
  font-family: 'gothambook';
  font-size: 14px;
  font-style: normal;
  font-weight: 325;
  line-height: 20px;
  max-width: 480px;
  margin: 0;
}

/* ── Form grid ──────────────────────────────────────────────────────────── */
.contact-form-main .contact-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  column-gap: 25px;
  row-gap: 24px;
}

.contact-form-main .contact-form__full {
  grid-column: 1 / -1;
}

/* single-line at rest like the other fields; grows with the message
   (see the auto-grow handler in custom.js) rather than showing a drag handle */
.contact-form-main .bk-field--area textarea {
  min-height: 22px;
  max-height: 160px;
  resize: none;
  overflow-y: auto;
  /* the shared field skin sets nowrap for the select's current-value text —
     a textarea has to wrap or it can never grow */
  white-space: normal;
}

.contact-form-main .bk-field input::placeholder,
.contact-form-main .bk-field textarea::placeholder {
  color: #fff;
  opacity: 1;
}

.contact-form-main .bk-field input:focus,
.contact-form-main .bk-field textarea:focus {
  outline: none;
}

.contact-form-main .bk-field:focus-within {
  border-bottom-color: #c8b79a;
}

/* ── Privacy consent ────────────────────────────────────────────────────── */
.contact-form-main .contact-consent {
  margin-top: 8px;
}

.contact-form-main .contact-consent__label {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin: 0;
  cursor: pointer;
}

.contact-form-main .contact-consent input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.contact-form-main .contact-consent__box {
  flex: 0 0 10px;
  width: 10px;
  height: 10px;
  margin-top: 3px;
  background-color: #000;
  border: 0.5px solid #c8b79a;
  transition: background-color 0.3s ease;
}

.contact-form-main .contact-consent input:checked + .contact-consent__box {
  background-color: #c8b79a;
}

.contact-form-main .contact-consent input:focus-visible + .contact-consent__box {
  box-shadow: 0 0 0 2px rgba(200, 183, 154, 0.55);
}

.contact-form-main .contact-consent__txt {
  color: rgba(255, 255, 255, 0.82);
  font-family: 'gothambook';
  font-size: 12px;
  font-style: normal;
  font-weight: 325;
  line-height: 16px;
  max-width: 260px;
}

.contact-form-main .contact-consent__txt a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.3s ease;
}

.contact-form-main .contact-consent__txt a:hover {
  color: #c8b79a;
}

/* ── Submit ─────────────────────────────────────────────────────────────── */
.contact-form-main .contact-form__actions {
  margin-top: 6px;
}

.contact-form-main .contact-submit.btn-livrea {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 33px;
  padding: 0 18px;
  background-color: #c8b79a;
  border-radius: 5px;
  color: #1e1e1e;
  font-family: 'Syne', sans-serif;
  font-size: 12px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: all 0.3s ease;
}

.contact-form-main .contact-submit.btn-livrea:hover {
  background-color: #d6c8b4;
}

/* ── Contact methods ────────────────────────────────────────────────────── */
.contact-form-main .contact-methods {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: 20px;
  margin-top: 80px;
}

.contact-form-main .contact-method {
  display: block;
  color: inherit;
  text-decoration: none;
}

.contact-form-main .contact-method__icon {
  display: flex;
  align-items: flex-end;
  height: 21px;
  margin-bottom: 13px;
}

.contact-form-main .contact-method__icon img {
  display: block;
  transition: transform 0.3s ease;
}

.contact-form-main .contact-method:hover .contact-method__icon img {
  transform: translateY(-2px);
}

.contact-form-main .contact-method__label {
  display: block;
  color: #fff;
  font-family: 'Syne', sans-serif;
  font-size: 12px;
  font-style: normal;
  font-weight: 600;
  line-height: 16px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.contact-form-main .contact-method__value {
  display: block;
  color: #fff;
  font-family: 'gothambook';
  font-size: 12px;
  font-style: normal;
  font-weight: 325;
  line-height: 16px;
  margin-bottom: 6px;
  transition: color 0.3s ease;
}

.contact-form-main .contact-method:hover .contact-method__value {
  color: #c8b79a;
}

.contact-form-main .contact-method__sub {
  display: block;
  color: rgba(255, 255, 255, 0.5);
  font-family: 'gothambook';
  font-size: 12px;
  font-style: normal;
  font-weight: 325;
  line-height: 16px;
}

/* ── Responsive ─────────────────────────────────────────────────────────── */
@media (min-width: 1200px) and (max-width: 1399px) {
  .contact-form-main {
    padding: 90px 60px 100px;
  }

  .contact-form-main .contact-body {
    column-gap: 60px;
  }

  .contact-form-main .contact-intro h2 {
    font-size: 34px;
    line-height: 42px;
  }
}

@media (min-width: 992px) and (max-width: 1199px) {
  .contact-form-main {
    padding: 80px 40px 90px;
  }

  .contact-form-main .contact-body {
    column-gap: 40px;
  }

  .contact-form-main .contact-intro h2 {
    font-size: 30px;
    line-height: 38px;
  }

  .contact-form-main .contact-methods {
    column-gap: 14px;
    margin-top: 60px;
  }
}

@media (max-width: 991px) {
  .contact-form-main {
    padding: 60px 30px 80px;
  }

  .contact-form-main .contact-body {
    display: block;
  }

  .contact-form-main .contact-intro {
    margin-bottom: 40px;
  }

  .contact-form-main .contact-intro h2 {
    font-size: 30px;
    line-height: 38px;
  }

  .contact-form-main .contact-methods {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 34px 24px;
    margin-top: 55px;
  }
}

@media (max-width: 767px) {
  .contact-form-main {
    padding: 50px 20px 60px;
  }

  .contact-form-main .contact-intro h2 {
    font-size: 26px;
    line-height: 34px;
  }

  .contact-form-main .contact-form {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 22px;
  }

  .contact-form-main .contact-submit.btn-livrea {
    width: 100%;
  }

  .contact-form-main .contact-consent__txt {
    max-width: 100%;
  }
}

@media (max-width: 479px) {
  .contact-form-main .contact-methods {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }
}

/* ── Blog banner: trim the dead bottom of the plate ──────────────────────
   1.webp is pure black from row 700 of 810, so ~110px of the banner was
   invisible padding sitting on top of the section gap. Rendering the plate
   at full width and clipping the frame to 730 drops that band without
   touching the photo's composition (only black is cropped).
   Desktop only — below 992px the banner falls back to cover + min-height. */
@media (min-width: 992px) {
  .blog-banner-main {
    aspect-ratio: 1440/730;
    background-size: 100% auto;
    background-position: center top;
  }
}

/* ══════════════════════════════════════════════════════════════════════
   Contact Form 7 markup support
   CF7 wraps every control in its own spans, so the contact form design is
   re-anchored onto that structure. Visual result is identical.
   ══════════════════════════════════════════════════════════════════════ */
.contact-form-main .contact-form .wpcf7-form-control-wrap {
  display: block;
}
.contact-form-main .contact-consent .wpcf7-form-control-wrap,
.contact-form-main .contact-consent .wpcf7-acceptance,
.contact-form-main .contact-consent .wpcf7-list-item,
.contact-form-main .contact-consent .wpcf7-list-item > label {
  display: contents;
  margin: 0;
}
/* CF7 owns the checkbox markup, so the checkbox itself becomes the design's
   little square instead of the (now unnecessary) .contact-consent__box span. */
.contact-form-main .contact-consent input[type="checkbox"] {
  position: static;
  flex: 0 0 10px;
  width: 10px;
  height: 10px;
  margin: 3px 0 0;
  opacity: 1;
  pointer-events: auto;
  -webkit-appearance: none;
  appearance: none;
  background-color: #000;
  border: 0.5px solid #c8b79a;
  border-radius: 0;
  cursor: pointer;
  transition: background-color 0.3s ease;
}
.contact-form-main .contact-consent input[type="checkbox"]:checked {
  background-color: #c8b79a;
}
.contact-form-main .contact-consent input[type="checkbox"]:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px rgba(200, 183, 154, 0.55);
}
.contact-form-main .contact-form .wpcf7-not-valid-tip {
  display: block;
  margin-top: 6px;
  color: #e0908f;
  font-family: 'gothambook';
  font-size: 11px;
  font-weight: 325;
  line-height: 14px;
}
.contact-form-main .contact-form .wpcf7-response-output {
  grid-column: 1 / -1;
  margin: 0;
  padding: 10px 14px;
  border: 1px solid rgba(200, 183, 154, 0.45);
  color: rgba(255, 255, 255, 0.85);
  font-family: 'gothambook';
  font-size: 12px;
  font-weight: 325;
  line-height: 16px;
}
.contact-form-main .contact-form .wpcf7-spinner {
  margin: 0 0 0 12px;
}
.contact-form-main .contact-form > .hidden-fields-container,
.contact-form-main .contact-form > .akismet-fields-container,
.contact-form-main .contact-form > .screen-reader-response {
  display: none;
}
