/* LM27 Booking: components rendered by the plugin, in the site's black-and-gold design. */

/* Brand font, self-hosted (Archivo, variable width and weight). */
@font-face { font-family: "LM27 Archivo"; font-style: normal; font-weight: 100 900; font-stretch: 62% 125%; font-display: swap;
  src: url("../../../uploads/lm27-fonts/archivo-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "LM27 Archivo"; font-style: normal; font-weight: 100 900; font-stretch: 62% 125%; font-display: swap;
  src: url("../../../uploads/lm27-fonts/archivo-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }

body { font-family: "LM27 Archivo", Arial, sans-serif; background: #000; color: #fff; -webkit-font-smoothing: antialiased; }

.lm27b-todo { color: var(--lm-gold, #C9A04E); white-space: nowrap; }
.lm27b-per-day { font-size: .55em; font-weight: 400; font-stretch: 100%; letter-spacing: 0; color: var(--lm-muted, #8E8E8E); margin-left: .3em; }
.lm27b-from { font-size: .8em; color: var(--lm-muted, #8E8E8E); margin-right: .25em; }

/* Logo fallback (until the logo files are in the media library) */
.lm27-logo-img { display: block; height: 40px; width: auto; }
.lm27-logo-text { display: inline-flex; align-items: center; font-stretch: 125%; font-weight: 300; font-size: 26px; letter-spacing: .06em; color: #fff; position: relative; padding-bottom: 14px; }
.lm27-logo-bar { display: inline-block; width: 1px; height: 22px; margin: 0 .35em; background: #fff; }
.lm27-logo-text small { position: absolute; left: 0; right: 0; bottom: 0; font-size: 8px; letter-spacing: .5em; text-align: center; font-weight: 400; }

/* Booking box on the car page */
.lm27b-booking { display: flex; flex-direction: column; gap: 1px; margin: 0 0 18px; }
.lm27b-group { border: 0; margin: 0; padding: 0; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.lm27b-legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); }
.lm27b-row { display: grid; grid-template-columns: minmax(0,1fr) 104px; gap: 1px; }
.lm27b-field { display: flex; flex-direction: column; gap: 4px; min-width: 0; padding: 12px 14px; background: #0A0A0A; }
.lm27b-field label, .lm27b-search__field label { font-size: 12px; font-weight: 400; color: var(--lm-muted, #8E8E8E); }
.lm27b-optional { color: var(--lm-muted, #8E8E8E); }
.lm27b-booking input[type=date], .lm27b-booking input[type=text], .lm27b-booking input[type=number], .lm27b-booking select,
.lm27b-search input, .lm27b-search select {
  width: 100%; min-height: 32px; padding: 0; border: 0; border-radius: 0; background: transparent; color: #fff;
  font: 400 16px/1.3 "LM27 Archivo", Arial, sans-serif; color-scheme: dark; outline: none; }
.lm27b-booking select, .lm27b-search select { appearance: none; -webkit-appearance: none; cursor: pointer; }
.lm27b-field:focus-within, .lm27b-search__field:focus-within { box-shadow: inset 0 -2px 0 var(--lm-gold, #C9A04E); }
.lm27b-check { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 14px; background: #0A0A0A; cursor: pointer; font-size: 14px; color: #fff; }
.lm27b-check input { width: 18px; height: 18px; accent-color: var(--lm-gold, #C9A04E); }
.lm27b-hint { margin: 2px 0 0; font-size: 12px; color: var(--lm-muted, #8E8E8E); }
.lm27b-summary { margin-top: 18px; display: flex; flex-direction: column; gap: 4px; }
.lm27b-lines { margin: 0; display: flex; flex-direction: column; }
.lm27b-line { display: flex; justify-content: space-between; gap: 16px; padding: 7px 0; font-size: 15px; color: var(--lm-muted, #8E8E8E); }
.lm27b-line dt, .lm27b-line dd { margin: 0; }
.lm27b-line dd { color: #fff; font-variant-numeric: tabular-nums; text-align: right; }
.lm27b-line--total { margin-top: 6px; padding-top: 14px; border-top: 1px solid var(--lm-line, #262626); color: #fff; font-weight: 600; }
.lm27b-line--total dd { font-size: 22px; color: var(--lm-gold, #C9A04E); }
.lm27b-deposit { margin: 8px 0 0; font-size: 13px; line-height: 1.5; color: var(--lm-muted, #8E8E8E); }
.lm27b-deposit strong { color: #fff; font-weight: 500; }
.lm27b-status { margin: 4px 0 0; min-height: 1.4em; font-size: 13px; color: var(--lm-muted, #8E8E8E); }
.lm27b-status--ok { color: #4CC38A; }
.lm27b-status--error { color: #FF6369; }

/* Home search bar: one line with the gold double pinstripe */
.lm27b-search { display: grid; grid-template-columns: minmax(0,1.35fr) minmax(0,1fr) minmax(0,1fr) auto; background: var(--lm-surface, #121212);
  border-top: 2px solid var(--lm-gold, #C9A04E); box-shadow: 0 -5px 0 -4px var(--lm-gold, #C9A04E); }
.lm27b-search__field { display: flex; flex-direction: column; gap: 6px; min-width: 0; padding: 18px 24px; border-right: 1px solid var(--lm-line, #262626); }
.lm27b-search__pair { display: grid; grid-template-columns: minmax(0,1fr) 64px; gap: 8px; }
.lm27b-search__submit { min-height: 76px; padding: 0 36px; border: 0; border-radius: 0; background: var(--lm-gold, #C9A04E); color: #000;
  font: 600 16px/1 "LM27 Archivo", Arial, sans-serif; cursor: pointer; transition: background-color 120ms ease; }
.lm27b-search__submit:hover { background: var(--lm-gold-hover, #D8B266); color: #000; }
.lm27b-search__submit:focus-visible { outline: 2px solid #fff; outline-offset: -4px; }
.lm27b-search__error { grid-column: 1 / -1; margin: 0; padding: 10px 24px; color: #FF6369; font-size: 14px; }
@media (max-width: 1023px) { .lm27b-search { grid-template-columns: minmax(0,1fr) minmax(0,1fr); } .lm27b-search__field--place { grid-column: 1 / -1; border-right: 0; border-bottom: 1px solid var(--lm-line, #262626); } .lm27b-search__field:nth-child(3) { border-right: 0; } .lm27b-search__submit { grid-column: 1 / -1; min-height: 56px; } }
@media (max-width: 479px) { .lm27b-search__field { padding: 14px 16px; } .lm27b-search__pair { grid-template-columns: minmax(0,1fr) 52px; } }

/* Car image or 3D model */
.lm27b-media { position: relative; margin: 0; }
.lm27b-media__img { width: 100%; height: auto; display: block; }
.lm27b-media--3d { aspect-ratio: 16 / 9; }
.lm27b-media__viewer { width: 100%; height: 100%; --poster-color: transparent; background: transparent; }
.lm27b-media__poster { position: absolute; inset: 0; display: flex; align-items: flex-end; }
.lm27b-media__progress { display: none; }
.lm27b-media__start { position: absolute; left: 0; bottom: 8px; min-height: 44px; padding: 0 18px; border: 1px solid var(--lm-muted, #8E8E8E); border-radius: 999px;
  background: rgba(0,0,0,.6); color: #fff; font: 500 14px/1 "LM27 Archivo", Arial, sans-serif; cursor: pointer; }
.lm27b-media__start:hover { border-color: #fff; }
.lm27b-media__start:focus-visible { outline: 2px solid var(--lm-gold, #C9A04E); outline-offset: 2px; }
.lm27b-media__credit { position: absolute; right: 0; bottom: 0; font-size: 11px; color: var(--lm-muted, #8E8E8E); }

/* Spec strip under the car */
.lm27-strip { margin: 0; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0,1fr); border-top: 2px solid var(--lm-gold, #C9A04E); box-shadow: 0 -5px 0 -4px var(--lm-gold, #C9A04E); }
.lm27-strip__item { padding: 20px 20px 22px 0; }
.lm27-strip__item + .lm27-strip__item { padding-left: 20px; border-left: 1px solid var(--lm-line, #262626); }
.lm27-strip dt { font-size: 13px; color: var(--lm-muted, #8E8E8E); }
.lm27-strip dd { margin: 6px 0 0; font-size: 18px; color: #fff; }
@media (max-width: 767px) { .lm27-strip { grid-auto-flow: row; grid-template-columns: minmax(0,1fr) minmax(0,1fr); } .lm27-strip__item, .lm27-strip__item + .lm27-strip__item { padding: 14px 0; border-left: 0; border-bottom: 1px solid var(--lm-line, #262626); } }

/* Facts and specs lists */
.lm27b-facts { margin: 0; border-top: 1px solid var(--lm-line, #262626); }
.lm27b-facts__row { display: grid; grid-template-columns: minmax(0,220px) minmax(0,1fr); gap: 24px; padding: 18px 0; border-bottom: 1px solid var(--lm-line, #262626); }
.lm27b-facts dt { margin: 0; color: var(--lm-muted, #8E8E8E); font-size: 15px; }
.lm27b-facts dd { margin: 0; color: #fff; font-size: 16px; line-height: 1.5; }
.lm27b-facts__note { display: block; color: var(--lm-muted, #8E8E8E); font-size: 14px; margin-top: 2px; }
.lm27b-specs { margin: 0; border-top: 1px solid var(--lm-line, #262626); }
.lm27b-specs__item { display: grid; grid-template-columns: minmax(0,220px) minmax(0,1fr); gap: 24px; padding: 18px 0; border-bottom: 1px solid var(--lm-line, #262626); }
.lm27b-specs dt { color: var(--lm-muted, #8E8E8E); font-size: 15px; }
.lm27b-specs dd { margin: 0; font-size: 16px; }
.lm27b-specs__empty { margin: 0; color: var(--lm-muted, #8E8E8E); }
@media (max-width: 767px) { .lm27b-facts__row, .lm27b-specs__item { grid-template-columns: minmax(0,1fr); gap: 4px; } }
.lm27b-badge, .lm27b-colours { margin: 0; color: var(--lm-muted, #8E8E8E); font-size: 14px; }
.lm27b-fleet-dates { margin: 0; color: var(--lm-muted, #8E8E8E); font-size: 15px; }
.lm27b-fleet-dates--active { color: #fff; }
.lm27b-fleet-dates a { color: var(--lm-gold, #C9A04E); }
.lm27-card-meta { margin: 0; font-size: 14px; color: var(--lm-muted, #8E8E8E); }

/* Contact list and company line */
.lm27b-contact { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--lm-line, #262626); }
.lm27b-contact li { display: grid; grid-template-columns: 160px minmax(0,1fr); gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--lm-line, #262626); align-items: baseline; font-size: 17px; }
.lm27b-contact__label { color: var(--lm-muted, #8E8E8E); font-size: 15px; }
.lm27b-contact a { color: #fff; }
.lm27b-contact a:hover { color: var(--lm-gold, #C9A04E); }
.lm27b-company { margin: 0; font-size: 13px; color: var(--lm-muted, #8E8E8E); }
.lm27b-wa-link { color: var(--lm-gold, #C9A04E); }

/* Floating WhatsApp: same place on every page */
.lm27b-wa { position: fixed; right: 20px; bottom: 20px; z-index: 90; display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 18px 0 14px; border-radius: 999px;
  background: #fff; color: #000; box-shadow: 0 8px 24px rgba(0,0,0,.5); text-decoration: none; font: 600 14px/1 "LM27 Archivo", Arial, sans-serif; }
.lm27b-wa:hover { background: var(--lm-gold, #C9A04E); color: #000; }
.lm27b-wa:focus-visible { outline: 2px solid var(--lm-gold, #C9A04E); outline-offset: 3px; }
.lm27b-wa svg { color: #000; }
body.single-product .lm27b-wa { bottom: 92px; }
@media (min-width: 1024px) { body.single-product .lm27b-wa { bottom: 20px; } }
@media (max-width: 767px) { .lm27b-wa__label { display: none; } .lm27b-wa { padding: 0 12px; } }

/* Checkout */
.lm27b-driver-ok label { display: flex; gap: 10px; align-items: flex-start; line-height: 1.5; }
@media (prefers-reduced-motion: reduce) { .lm27b-search__submit, .lm27b-wa { transition: none; } }
