/* Cars Scanner Redesign v1 — TRIMMED COPY (loaded on every non-CT page: home + landings)
   Source: /redesign/redesign_v1.css?v=1776286938 (still loaded only when is_ct_mode=true,
   i.e. the search results page where the CartTrawler iframe + preloader are rendered).
   Trimmed sections (selectors only fire when CT engine is active or are legacy compat —
   not present in non-CT-page DOM):
     - CARTRAWLER ENGINE                     (.cs-ct-engine--active ~ rules; CT iframe only)
     - REVIEWS SECTION (old compat)          (legacy markup; replaced by REVIEWS REDESIGN)
     - SEARCH RESULTS PAGE: HIDE HERO        (.cs-ct-engine--active ~ .cs-hero rule)
     - CARTRAWLER CONTAINER (search results) (CT iframe wrapper sizing/background)
     - CUSTOM PRE-LOADER                     (cs-preloader-* shown before CT iframe paints)
   Verified visually OK on salzburg city landing 2026-04-25; rolled out site-wide on
   2026-04-25 via is_ct_mode gating in base.html. Roughly 4.4 KiB / 7% smaller than full file.
   Also includes a halved padding override on .cs-content--text3 (24px instead of 48px)
   to bring the "Average Car Rental Prices" block closer to its neighbors on landings. */

/* Cars Scanner Redesign v1 - Modern Homepage CSS */
/* Brand colors: green #71a51c / #82AE2E, orange #f27123, dark #3b3b3b */

:root {
  --color-primary: #71a51c;
  --color-primary-dark: #5F881A;
  --color-primary-light: #82AE2E;
  --color-accent: #f27123;
  --color-accent-hover: #e0621a;
  --color-text: #333;
  --color-text-light: #666;
  --color-text-muted: #999;
  --color-bg: #fff;
  --color-bg-light: #f7f8fa;
  --color-bg-dark: #2c2c2c;
  --color-border: #e0e0e0;
  --color-border-light: #eee;
  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, sans-serif;
  --max-width: 1280px;
  --radius: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,.1);
  --shadow-lg: 0 8px 30px rgba(0,0,0,.12);
  --transition: .2s ease;
}

/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; height: auto !important; }
body.redesign-v1 {
  height: auto !important;
  min-height: 100vh;
  overflow: visible !important;
  font-family: var(--font-main);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body.redesign-v1 img { max-width: 100%; height: auto; display: block; }
body.redesign-v1 a { color: var(--color-primary); text-decoration: none; transition: color var(--transition); }
body.redesign-v1 a:hover { color: var(--color-primary-dark); }
body.redesign-v1 ul { list-style: none; }

/* Container */
.cs-container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; width: 100%; }

/* ===== HEADER ===== */
.cs-header {
  background: #fff;
  border-bottom: 1px solid var(--color-border-light);
  position: relative;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
}
.cs-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 16px;
}
.cs-header__logo { flex-shrink: 0; min-width: 160px; }
.cs-header__logo img, .cs-header__logo svg { height: 32px !important; width: auto !important; max-width: none !important; }
.cs-header__logo a { display: flex; align-items: center; }

/* Navigation */
.cs-nav { display: flex; align-items: center; gap: 4px; }
.cs-nav a {
  padding: 8px 14px;
  border-radius: var(--radius);
  font-size: .9rem;
  font-weight: 500;
  color: var(--color-text);
  transition: all var(--transition);
  white-space: nowrap;
}
.cs-nav a:hover, .cs-nav a.active { background: var(--color-bg-light); color: var(--color-primary); }

/* Header Actions */
.cs-header__actions { display: flex; align-items: center; gap: 12px; }
.cs-app-links { display: flex; gap: 8px; }
.cs-app-links a { display: flex; }
.cs-app-links svg, .cs-app-links img { height: 28px; width: auto; }

/* Language Selector */
.cs-lang-select { position: relative; cursor: pointer; }
.cs-lang-select__current {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: var(--radius);
  font-size: .85rem;
  font-weight: 500;
  border: 1px solid var(--color-border);
  transition: all var(--transition);
  background: #fff;
  user-select: none;
}
.cs-lang-select__current:hover { border-color: var(--color-primary); }
.cs-lang-select__flag { width: 20px; height: 15px; border-radius: 2px; object-fit: cover; }
.cs-lang-select__arrow { width: 10px; height: 10px; transition: transform var(--transition); fill: currentColor; }
.cs-lang-select.open .cs-lang-select__arrow { transform: rotate(180deg); }
.cs-lang-select__dropdown {
  position: absolute;
  top: calc(100% + 4px);
  right: 0;
  background: #fff;
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  min-width: 200px;
  max-height: 320px;
  overflow-y: auto;
  display: none;
  z-index: 100;
}
.cs-lang-select.open .cs-lang-select__dropdown { display: block; }
.cs-lang-select__dropdown a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  font-size: .85rem;
  color: var(--color-text);
  transition: background var(--transition);
}
.cs-lang-select__dropdown a:hover { background: var(--color-bg-light); }
.cs-lang-select__dropdown a.active { color: var(--color-primary); font-weight: 600; }

/* Mobile menu toggle */
.cs-menu-toggle {
  display: none;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
  color: var(--color-text);
  z-index: 1002;
  position: relative;
}
.cs-menu-toggle svg { width: 24px; height: 24px; }

/* Mobile Slide Menu */
.cs-mobile-menu {
  display: none;
  position: fixed;
  top: 56px;
  left: 0;
  right: 0;
  bottom: 0;
  background: #fff;
  z-index: 999;
  overflow-y: auto;
  padding: 16px 0 32px;
  transform: translateX(100%);
  transition: transform .3s ease;
}
.cs-mobile-menu.open {
  display: block;
  transform: translateX(0);
}
.cs-mobile-menu__nav { display: flex; flex-direction: column; }
.cs-mobile-menu__nav a {
  padding: 14px 24px;
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-text);
  border-bottom: 1px solid var(--color-border-light);
  transition: background var(--transition);
}
.cs-mobile-menu__nav a:hover { background: var(--color-bg-light); color: var(--color-primary); }
.cs-mobile-menu__divider { height: 1px; background: var(--color-border); margin: 12px 0; }
.cs-mobile-menu__lang { padding: 0 24px; }
.cs-mobile-menu__lang-title {
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--color-text-muted);
  margin-bottom: 12px;
}
.cs-mobile-menu__lang-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
}
.cs-mobile-menu__lang-grid a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  font-size: .85rem;
  color: var(--color-text);
  border-radius: var(--radius);
  transition: background var(--transition);
}
.cs-mobile-menu__lang-grid a:hover { background: var(--color-bg-light); }
.cs-mobile-menu__lang-grid a.active { color: var(--color-primary); font-weight: 600; background: rgba(113,165,28,.08); }
.cs-mobile-menu__lang-grid a img { width: 20px; height: 15px; border-radius: 2px; }
.cs-mobile-menu__social { padding: 0 24px; }
.cs-mobile-menu__social .cs-social { justify-content: flex-start; gap: 12px; }
.cs-mobile-menu__social .cs-social a { width: 40px; height: 40px; }

/* ===== HERO SECTION ===== */
.cs-hero {
  background: linear-gradient(135deg, #204a1d 0%, #2d6a1e 50%, #3a961d 100%);
  padding: 48px 0 56px;
  position: relative;
  z-index: 10;
}
.cs-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 80%, rgba(255,255,255,.04) 0%, transparent 50%),
              radial-gradient(circle at 80% 20%, rgba(255,255,255,.03) 0%, transparent 50%);
}
.cs-hero__content { position: relative; z-index: 10; text-align: center; }
.cs-hero__slogan {
  color: #fff;
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 32px;
  letter-spacing: -.02em;
  line-height: 1.3;
}
.cs-hero__slogan span { color: var(--color-accent); }

/* Company Logos Section */
.cs-logos-section {
  background: #fff;
  border-bottom: 1px solid var(--color-border-light);
  padding: 20px 0;
}
.cs-logos-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}
.cs-logos-bar img {
  height: 28px !important;
  width: auto !important;
  opacity: .65;
  transition: opacity var(--transition);
  max-width: 90px !important;
  object-fit: contain;
}
.cs-logos-bar img:hover { opacity: 1; }

/* ===== SEARCH FORM ===== */
.cs-search {
  background: #fff;
  border-radius: var(--radius-xl);
  padding: 28px 32px;
  box-shadow: var(--shadow-lg);
  max-width: 960px;
  margin: 0 auto;
}
.cs-search__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
.cs-search__row--two-cols { grid-template-columns: 1fr 1fr; }
.cs-search__row--single { grid-template-columns: 1fr; }

.cs-search__field { position: relative; }
.cs-search__label {
  display: block;
  font-size: .8rem;
  font-weight: 600;
  color: var(--color-text-light);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.cs-search__input {
  width: 100%;
  padding: 12px 14px 12px 40px;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius);
  font-size: .95rem;
  font-family: var(--font-main);
  color: var(--color-text);
  transition: border-color var(--transition), box-shadow var(--transition);
  background: #fff;
  outline: none;
}
.cs-search__input:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(113,165,28,.15);
}
.cs-search__input::placeholder { color: var(--color-text-muted); }
/* Clear (X) button for location inputs */
.cs-search__clear {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-text-muted);
  padding: 0;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  line-height: 1;
  transition: color var(--transition);
  z-index: 2;
}
.cs-search__clear:hover { color: var(--color-text); }
.cs-search__field--has-value .cs-search__clear { display: flex; }
.cs-search__field--has-value .cs-search__input { padding-right: 36px; }
.cs-search__field--has-label .cs-search__clear { top: calc(50% + 11px); }
.cs-search__icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: var(--color-text-muted);
  pointer-events: none;
}
.cs-search__field--has-label .cs-search__icon { top: calc(50% + 11px); }

/* Date/Time inputs */
.cs-search__dates {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.cs-search__date-group { display: flex; gap: 8px; }
.cs-search__date-group input[type="date"],
.cs-search__date-group select {
  flex: 1;
  padding: 12px 10px;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius);
  font-size: .9rem;
  font-family: var(--font-main);
  color: var(--color-text);
  background: #fff;
  outline: none;
  transition: border-color var(--transition);
}
.cs-search__date-group input:focus,
.cs-search__date-group select:focus { border-color: var(--color-primary); }

/* Checkboxes */
.cs-search__options {
  display: flex;
  gap: 24px;
  margin: 12px 0 16px;
  flex-wrap: wrap;
}
.cs-search__checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .875rem;
  color: var(--color-text-light);
  cursor: pointer;
}
.cs-search__checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--color-primary);
  cursor: pointer;
}
.cs-search__age-input {
  width: 60px;
  padding: 6px 8px;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius);
  font-size: .875rem;
  text-align: center;
  margin-left: 4px;
  display: none;
  font-family: var(--font-main);
  outline: none;
}
.cs-search__age-input.visible { display: inline-block; }

/* Search Button */
.cs-search__submit {
  width: 100%;
  padding: 14px 24px;
  background: linear-gradient(180deg, var(--color-accent) 0%, var(--color-accent-hover) 100%);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  font-size: 1.1rem;
  font-weight: 700;
  font-family: var(--font-main);
  cursor: pointer;
  transition: all var(--transition);
  letter-spacing: .02em;
  text-transform: uppercase;
}
.cs-search__submit:hover {
  background: linear-gradient(180deg, #ff8234 0%, var(--color-accent) 100%);
  box-shadow: 0 4px 12px rgba(242,113,35,.3);
  transform: translateY(-1px);
}

/* Autocomplete Dropdown */
.cs-autocomplete {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  max-height: 360px;
  overflow-y: auto;
  z-index: 9990;
  display: none;
}
.cs-autocomplete.active { display: block; }
.cs-autocomplete__group-title {
  padding: 8px 14px;
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-text-muted);
  background: var(--color-bg-light);
  letter-spacing: .05em;
  position: sticky;
  top: 0;
}
.cs-autocomplete__item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  cursor: pointer;
  transition: background var(--transition);
  font-size: .9rem;
}
.cs-autocomplete__item:hover, .cs-autocomplete__item.highlighted { background: var(--color-bg-light); }
.cs-autocomplete__item-icon { width: 18px; height: 18px; flex-shrink: 0; color: var(--color-text-muted); }
.cs-autocomplete__item-flag { width: 20px; height: 15px; border-radius: 2px; flex-shrink: 0; }
.cs-autocomplete__item-text { flex: 1; text-align: left; }
.cs-autocomplete__item-code { font-size: .75rem; color: var(--color-text-muted); font-weight: 600; }

/* p16-test/salzburg: stripped section [CARTRAWLER ENGINE] — 11 lines, not used on city landing pages */
/* ===== FEATURES SECTION ===== */
.cs-features {
  padding: 60px 0 20px;
  background: var(--color-bg-light);
}
.cs-section-title {
  text-align: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 32px;
  color: var(--color-text);
}
.cs-features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.cs-feature-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: center;
  transition: all var(--transition);
  border: 1px solid transparent;
}
.cs-feature-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--color-border-light);
  transform: translateY(-2px);
}
.cs-feature-card__icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 16px;
  color: var(--color-primary);
}
.cs-feature-card__title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--color-text);
}
.cs-feature-card__text {
  font-size: .9rem;
  color: var(--color-text-light);
  line-height: 1.5;
}

/* Reservation section removed */

/* ===== TEXT CONTENT ===== */
.cs-content { padding: 0; }
.cs-content .cs-container { padding: 48px 0; }
/* Collapse empty content sections on homepage */
.cs-content:not(:has(.cs-content__text)):not(:has(.cs-content__image)):not(:has(.landing-car-classes)):not(:has(.docs-section)):not(:has(.cars-block)):not(:has(.cs-banner-offer)) { display: none; }
.cs-content .cs-container:empty { display: none; padding: 0; }
.cs-content__text {
  font-size: .95rem;
  line-height: 1.7;
  color: var(--color-text-light);
}
.cs-content__text h2, .cs-content__text h3 {
  color: var(--color-text);
  margin: 24px 0 12px;
  font-weight: 700;
}
.cs-content__text p { margin-bottom: 16px; }

/* ===== VIDEO SECTION ===== */
.cs-video {
  padding: 0 0 40px;
  background: var(--color-bg-light);
}
.cs-features + .cs-video { padding-top: 0; }
.cs-video__wrapper {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 16/9;
  background: #000;
  border: 3px solid var(--color-border-light);
}
.cs-video__wrapper iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* p16-test/salzburg: stripped section [REVIEWS SECTION (old compat)] — 18 lines, not used on city landing pages */
/* ===== SOCIAL SHARE ===== */
.cs-social { display: flex; gap: 8px; align-items: center; }
.cs-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--color-bg-light);
  color: var(--color-text-light);
  transition: all var(--transition);
}
.cs-social a:hover { background: #ddd; color: #555; }
.cs-social a svg { width: 18px; height: 18px; fill: currentColor; }

/* ===== FOOTER ===== */
.cs-footer {
  background: var(--color-bg-dark);
  color: #bbb;
  padding: 48px 0 24px;
}
.cs-footer a { color: #ccc; }
.cs-footer a:hover { color: #fff; }
.cs-footer__inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 16px;
}
.cs-footer__brand p { font-size: .85rem; line-height: 1.6; margin-top: 12px; color: #999; }
.cs-footer__brand .cs-footer__logo { height: 28px !important; max-width: none !important; width: auto !important; filter: brightness(0) invert(1); }
.cs-footer__nav-title {
  font-size: .8rem;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 16px;
}
.cs-footer__nav ul { display: flex; flex-direction: column; gap: 10px; }
.cs-footer__nav a { font-size: .9rem; }
.cs-footer__bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.cs-footer__copy { font-size: .8rem; color: #777; }
.cs-footer__badges { display: flex; align-items: center; gap: 16px; }
.cs-footer__badges img, .cs-footer__badges svg { height: 32px; width: auto; opacity: .7; }

/* Badges row with payment icons */
.cs-footer__badges-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  border-top: 1px solid rgba(255,255,255,.08);
  margin-bottom: 16px;
  flex-wrap: wrap;
  gap: 16px;
}
.cs-footer__payments { display: flex; align-items: center; gap: 10px; }

/* Phone contacts in footer */
.cs-footer__phones ul { display: flex; flex-direction: column; gap: 6px !important; }
.cs-footer__phone-item {
  display: flex !important;
  align-items: center;
  gap: 8px;
  font-size: .85rem;
}
.cs-footer__phone-item img { width: 16px; height: 12px; border-radius: 1px; }
.cs-footer__phone-item a { font-size: .85rem; white-space: nowrap; }
.cs-footer__social .cs-social a { background: rgba(255,255,255,.08); color: #999; }
.cs-footer__social .cs-social a:hover { background: var(--color-primary); color: #fff; }

/* ===== COOKIE BAR ===== */
.cs-cookie-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(44,44,44,.97);
  color: #ccc;
  padding: 16px 24px;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  gap: 16px;
  font-size: .85rem;
  backdrop-filter: blur(8px);
}
.cs-cookie-bar.visible { display: flex; }
.cs-cookie-bar a { color: var(--color-primary-light); text-decoration: underline; }
.cs-cookie-bar__btn {
  padding: 8px 20px;
  background: var(--color-primary);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  font-weight: 600;
  font-size: .85rem;
  white-space: nowrap;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .cs-features__grid { grid-template-columns: repeat(2, 1fr); }
  .cs-footer__inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .cs-header__inner { height: 56px; }
  .cs-nav { display: none; }
  .cs-menu-toggle { display: block; }
  .cs-app-links { display: none; }
  /* Hide desktop social and lang selector on mobile - they're in burger menu */
  .cs-header__actions > .cs-social { display: none; }
  .cs-header__actions > .cs-lang-select { display: none; }
  .cs-hero { padding: 32px 0 40px; }
  .cs-hero__slogan { font-size: 1.3rem; }
  .cs-search { padding: 20px 16px; }
  .cs-search__row { grid-template-columns: 1fr; }
  .cs-search__row--two-cols { grid-template-columns: 1fr; }
  .cs-search__dates { grid-template-columns: 1fr; }
  .cs-features__grid { grid-template-columns: 1fr; }
  .cs-footer__inner { grid-template-columns: 1fr; gap: 32px; }
  .cs-footer__bottom { flex-direction: column; text-align: center; }
  .cs-logos-bar { gap: 16px; }
  .cs-logos-bar img { height: 22px; }
  .cs-footer__badges-row { flex-direction: column; align-items: flex-start; }
  /* Prevent body scroll when mobile menu is open */
  body.redesign-v1.menu-open { overflow: hidden; }
}

@media (max-width: 480px) {
  .cs-container { padding: 0 16px; }
  .cs-hero__slogan { font-size: 1.15rem; }
  .cs-search { padding: 16px 12px; border-radius: var(--radius-lg); }
  .cs-search__options { flex-direction: column; gap: 12px; }
}

/* p16-test/salzburg: stripped section [SEARCH RESULTS PAGE: HIDE HERO] — 3 lines, not used on city landing pages */
/* ===== CUSTOM DATE PICKER ===== */
.cs-search__date-input-wrap {
  position: relative;
  flex: 1;
}
.cs-search__input--date {
  cursor: pointer;
  padding-right: 36px;
}
/* Bordered date field style - must match .cs-search__date-group select height exactly */
.cs-date-wrapper {
  flex: 1;
  padding: 12px 10px;
  padding-right: 36px;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius);
  font-size: .9rem;
  font-family: var(--font-main);
  color: var(--color-text);
  background: #fff;
  outline: none;
  transition: border-color var(--transition);
  cursor: pointer;
  display: flex;
  align-items: center;
  box-sizing: border-box;
}
/* Force same height as the time select */
.cs-search__date-group .cs-date-wrapper,
.cs-search__date-group select {
  height: 46px;
  box-sizing: border-box;
}
.cs-date-wrapper:hover { border-color: var(--color-primary); }
.cs-date-display {
  font-size: .9rem;
  color: var(--color-text);
  line-height: 1;
}
.cs-date-display:empty::before {
  content: attr(data-placeholder);
  color: var(--color-text-muted);
}
.cs-search__date-icon {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: var(--color-text-muted);
  pointer-events: none;
}
.cs-datepicker {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  z-index: 300;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 16px;
  min-width: 300px;
  user-select: none;
}
.cs-datepicker.active { display: block; }
.cs-datepicker__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.cs-datepicker__header-title {
  font-size: .95rem;
  font-weight: 700;
  color: var(--color-text);
}
.cs-datepicker__arrow {
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px 8px;
  font-size: 1.1rem;
  color: var(--color-text-light);
  border-radius: var(--radius);
  transition: background var(--transition);
}
.cs-datepicker__arrow:hover { background: var(--color-bg-light); }
.cs-datepicker__weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
  margin-bottom: 4px;
}
.cs-datepicker__weekday {
  text-align: center;
  font-size: .75rem;
  font-weight: 600;
  color: var(--color-text-muted);
  padding: 4px 0;
  text-transform: uppercase;
}
.cs-datepicker__days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
}
.cs-datepicker__day {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: 1;
  border-radius: 50%;
  font-size: .85rem;
  color: var(--color-text);
  cursor: pointer;
  border: none;
  background: none;
  transition: all var(--transition);
}
.cs-datepicker__day:hover { background: var(--color-bg-light); }
.cs-datepicker__day--today {
  font-weight: 700;
  border: 1.5px solid var(--color-primary);
}
.cs-datepicker__day--selected {
  background: var(--color-primary) !important;
  color: #fff !important;
  font-weight: 600;
}
.cs-datepicker__day--in-range {
  background: #e8f5d4;
  border-radius: 0;
}
.cs-datepicker__day--range-start {
  background: var(--color-primary) !important;
  color: #fff !important;
  border-radius: 50% 0 0 50%;
}
.cs-datepicker__day--range-end {
  background: var(--color-primary) !important;
  color: #fff !important;
  border-radius: 0 50% 50% 0;
}
.cs-datepicker__day--past {
  opacity: .3;
  pointer-events: none;
}
.cs-datepicker__day--disabled {
  color: var(--color-text-muted);
  opacity: .4;
  pointer-events: none;
}
.cs-datepicker__day--empty {
  pointer-events: none;
}

/* ===== REVIEWS SECTION REDESIGN ===== */
.cs-reviews {
  padding: 60px 0 60px;
  margin-bottom: 0;
  background: var(--color-bg-light);
}
.cs-reviews__header {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 32px;
  flex-wrap: wrap;
  gap: 20px;
}
.cs-reviews__header-right {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.cs-reviews__title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-primary);
}
.cs-reviews__rating {
  display: flex;
  align-items: center;
  gap: 10px;
}
.cs-reviews__score {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--color-primary);
}
.cs-reviews__stars { display: flex; gap: 2px; color: #ffc107; }
.cs-reviews__stars svg { width: 18px; height: 18px; fill: currentColor; }
.cs-reviews__logo {
  flex-shrink: 0;
}
body.redesign-v1 .cs-reviews__logo img {
  height: 40px;
  width: 142px;
  max-width: none;
  display: inline-block;
  opacity: .8;
}
.cs-reviews__subtitle {
  font-size: .85rem;
  color: var(--color-text-muted);
  white-space: nowrap;
}
.cs-reviews__body {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

/* Override old review styles inside redesigned container */
body.redesign-v1 .cs-reviews__body .reviews { padding: 0; }
body.redesign-v1 .cs-reviews__body .reviews-title { display: none; }
/* Hide old reviews blocks from page_reviews.php (correction 3) */
body.redesign-v1 .cs-reviews__body .home-rating { display: none !important; }
body.redesign-v1 .cs-reviews__body .avarageRating { display: none !important; }
body.redesign-v1 .cs-reviews__body .rating-logo { display: none !important; }
body.redesign-v1 .cs-reviews__body .rating-text { display: none !important; }
body.redesign-v1 .cs-reviews__body .reviews-title { display: none !important; }
/* Remove empty white block below reviews when body has no visible content (correction 6.3) */
.cs-reviews__body:empty { display: none; }
/* Hide reviews body when all children are hidden (homepage case) */
.cs-reviews__body:has(> .home-rating:only-child) { display: none; }
.cs-reviews__body:not(:has(.reviews .review-item, .reviews .review-card, .reviews .fnd-box)) {
  padding: 0;
  background: none;
  box-shadow: none;
}
/* Clickable reviews header link (correction 6.4) */
.cs-reviews__header--link {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: opacity var(--transition);
}
.cs-reviews__header--link:hover {
  opacity: .85;
  color: inherit;
}
.cs-reviews__header--link .cs-reviews__title { color: var(--color-primary); }
.cs-reviews__header--link .cs-reviews__score { color: var(--color-primary); }

/* Hide old cookie bar from index.php when redesign is active */
body.redesign-v1 .cookie-bar { display: none !important; }

/* ===== PAYMENT ICONS (redesigned) ===== */
.cs-payment-icon {
  display: inline-block;
  height: 28px !important;
  width: 44px !important;
  vertical-align: middle;
}
.cs-payment-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}
.cs-footer__norton {
  height: 24px !important;
  width: auto !important;
  max-width: none !important;
  opacity: .7;
}

/* ===== COOKIE BAR CLOSE BUTTON ===== */
.cs-cookie-bar__close {
  background: none;
  border: none;
  color: #999;
  font-size: 1.4rem;
  cursor: pointer;
  padding: 4px 8px;
  line-height: 1;
  transition: color var(--transition);
  flex-shrink: 0;
}
.cs-cookie-bar__close:hover { color: #fff; }

/* ===== CHAT WIDGET: Hidden until cookie consent (correction 1) ===== */
body.redesign-v1 #edge-tier-chat,
body.redesign-v1 [id*="edge-tier"],
body.redesign-v1 .edge-tier-chat,
body.redesign-v1 #et-chat,
body.redesign-v1 [class*="edgetier"],
body.redesign-v1 .embeds script[src*="edgetier"] + * {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}
body.redesign-v1.cs-chat-allowed #edge-tier-chat,
body.redesign-v1.cs-chat-allowed [id*="edge-tier"],
body.redesign-v1.cs-chat-allowed .edge-tier-chat,
body.redesign-v1.cs-chat-allowed #et-chat,
body.redesign-v1.cs-chat-allowed [class*="edgetier"] {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: auto !important;
}
#cs-chat-placeholder {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9998;
}

/* ===== MOBILE: CT ENGINE ===== */
@media (max-width: 768px) {
  .cs-ct-engine--active .cs-container {
    padding: 0;
    overflow-x: hidden;
  }
  .cs-ct-engine--active {
    width: 100%;
    overflow-x: hidden;
  }
  /* Remove side padding on mobile for CT results (correction 9) */
  [ct-app] {
    padding: 0;
    max-width: 100%;
  }
  /* CT loading spinner centered */
  .cs-ct-engine--active .ct-loader,
  .cs-ct-engine--active [class*="loader"] {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 200px;
  }

  /* Cookie bar mobile: stack layout with X in top-right */
  .cs-cookie-bar {
    flex-wrap: wrap;
    padding: 16px 16px 12px;
    gap: 10px;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
  }
  .cs-cookie-bar span {
    flex: 1 1 100%;
    font-size: .8rem;
    line-height: 1.4;
    padding-right: 30px;
  }
  .cs-cookie-bar__btn {
    flex: 1 1 100%;
    min-width: 0;
    padding: 12px 16px;
    font-size: .95rem;
    text-align: center;
    order: 2;
  }
  .cs-cookie-bar__close {
    position: absolute;
    top: 8px;
    right: 8px;
    font-size: 1.6rem;
    padding: 4px 8px;
  }

  /* Mobile preloader: hide car, show simple progress bar (correction 6.8) */
  .cs-preloader {
    min-height: 180px;
    padding: 30px 16px;
  }
  .cs-preloader__desktop {
    display: none !important;
  }
  .cs-preloader__mobile {
    display: flex !important;
  }
  .cs-preloader__text {
    font-size: 1rem;
    margin-bottom: 16px;
  }

  /* Datepicker full-width on mobile */
  .cs-datepicker {
    position: fixed;
    top: auto;
    bottom: 0;
    left: 0;
    right: 0;
    min-width: 100%;
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    padding: 20px 16px;
    max-height: 70vh;
    overflow-y: auto;
  }

  /* Reviews section mobile */
  .cs-reviews { padding: 40px 0 40px; }
  .cs-reviews__body { padding: 16px; }
  .cs-reviews__header { flex-direction: column; align-items: center; }
  .cs-reviews__header-right { flex-direction: column; align-items: center; }
}

@media (max-width: 480px) {
  .cs-datepicker__day { font-size: .8rem; }
}

/* Utility: visually hidden */
.cs-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ===== LANDING PAGE CORRECTIONS ===== */

/* L.1: Breadcrumbs */
.cs-breadcrumbs {
  padding: 12px 0;
  background: #f8f9fa;
  border-bottom: 1px solid #eee;
}
.cs-breadcrumbs__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  color: #666;
}
.cs-breadcrumbs__list li { display: flex; align-items: center; gap: 6px; }
.cs-breadcrumbs__list a { color: var(--color-primary); text-decoration: none; }
.cs-breadcrumbs__list a:hover { text-decoration: underline; }
.cs-breadcrumbs__sep { color: #aaa; }

/* Correction 1: Text + flag block - center vertically */
.cs-text-flag { align-items: center; }
.cs-text-flag .fnd-flag-image { flex-shrink: 0; }

/* Correction 2: Features - equal top/bottom padding */
.cs-features {
  padding: 40px 0 !important;
}

/* L.3: Reduce spacing above car rental prices / text sections */
.cs-content + .cs-content { margin-top: 0; }
.cs-content { padding: 16px 0; }
.cs-content--intro { padding: 16px 0; }
.cs-content__text h3 { margin-top: 24px; margin-bottom: 12px; }
.cs-content__text h2 { margin-top: 8px; margin-bottom: 12px; font-size: 1.4rem; }

/* Cars text block (airport landing) - match cs-content__text styling */
.cars-block {
  font-family: var(--font-main);
  font-size: .95rem;
  line-height: 1.7;
  color: var(--color-text-light);
}
.cars-block h2, .cars-block h3 {
  color: var(--color-text);
  font-family: var(--font-main);
  font-weight: 700;
  margin: 8px 0 12px;
  font-size: 1.4rem;
}
.cars-block p { margin-bottom: 16px; }

/* Correction 4: Car price buttons - center "From" text */
.cars-carousel-price,
.cars-list-price {
  cursor: pointer;
  transition: background .2s, color .2s;
  display: flex !important;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.cars-carousel-price:hover,
.cars-list-price:hover {
  background: var(--color-primary) !important;
  color: #fff !important;
}

/* Correction 5: Documents section - more spacing */
.cs-docs-section { margin-top: 40px !important; }
.cs-docs-section h2.title {
  font-size: 1.5rem;
  margin: 0 0 24px;
  padding-top: 0;
}
.docs-list { margin-bottom: 24px; }

/* Correction 5.2: Warning block - fully redesigned */
.warning-block {
  margin: 24px 0;
  padding: 20px 24px 20px 56px;
  background: linear-gradient(135deg, #fffbf0 0%, #fff8e1 100%);
  border-radius: 12px;
  border-left: 4px solid #f5a623;
  position: relative;
  clear: both;
  overflow: visible;
  box-shadow: 0 2px 8px rgba(245, 166, 35, 0.1);
}
.warning-block::before {
  content: "\26A0" !important;
  font-family: inherit !important;
  position: absolute !important;
  left: 18px !important;
  top: 20px !important;
  display: block !important;
  font-size: 22px !important;
  line-height: 1 !important;
  padding: 0 !important;
  margin: 0 !important;
  width: auto !important;
  height: auto !important;
  background: none !important;
  border: none !important;
  border-radius: 0 !important;
  color: #f5a623 !important;
}
.warning-block .warning-block-title {
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 6px;
  color: #333;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.warning-block p {
  font-size: 0.95rem !important;
  line-height: 1.6;
  color: #555;
  margin: 0;
}

/* L.6: FAQ styling */
.cs-faq { padding: 40px 0; background: #f8f9fa; }
.cs-faq__title {
  font-size: 1.75rem;
  font-weight: 700;
  color: #222;
  margin-bottom: 32px;
  text-align: center;
}
.cs-faq__list { max-width: 800px; margin: 0 auto; }
.cs-faq__item {
  background: #fff;
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 16px;
  box-shadow: 0 1px 4px rgba(0,0,0,.06);
}
.cs-faq__question {
  font-size: 1.1rem;
  font-weight: 600;
  color: #333;
  margin: 0 0 12px;
  line-height: 1.4;
}
.cs-faq__answer {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.7;
}
.cs-faq__answer p { margin: 0 0 8px; }

/* Correction 7: Banner special offer block */
.cs-banner-offer {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  margin: 10px 0;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  display: flex;
  min-height: 280px;
}
.cs-banner-offer__image {
  flex: 1 1 55%;
  position: relative;
}
.cs-banner-offer__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.cs-banner-offer__content {
  flex: 1 1 45%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 32px 36px;
  color: #fff;
}
.cs-banner-offer__badge {
  display: inline-block;
  background: var(--color-accent);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 16px;
  align-self: flex-start;
}
.cs-banner-offer__title {
  font-size: 1.6rem;
  font-weight: 800;
  line-height: 1.2;
  margin: 0 0 12px;
  color: #fff;
}
.cs-banner-offer__desc {
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(255,255,255,.85);
  margin: 0 0 20px;
}
.cs-banner-offer__cta {
  display: inline-block;
  background: var(--color-primary);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 12px 28px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s, transform .1s;
  align-self: flex-start;
}
.cs-banner-offer__cta:hover {
  background: var(--color-primary-dark);
  transform: translateY(-1px);
}

/* L.8: Popular locations inline */
.cs-popular-inline a {
  color: var(--color-primary);
  text-decoration: none;
}
.cs-popular-inline a:hover { text-decoration: underline; }

/* Correction 3.4: FAQ directly followed by video - no gap */
.cs-faq + .cs-video { padding-top: 0; margin-top: 0; }
.cs-faq { margin-bottom: 0; padding-bottom: 24px; }

/* Correction 6.6: Reduce gap between banner section and text content */
.cs-banner-offer { margin-bottom: 0; }
.cs-content + .cs-content { padding-top: 0; }
.cs-banner-offer + .cs-content { padding-top: 0; }

/* L.9: Neighbours / Popular locations & Airports */
/* Correction 4.3: identical blocks, left-aligned, close together */
.cs-neighbours { padding: 16px 0; }
.cs-neighbours__block {
  margin-bottom: 8px;
  font-size: 0.95rem;
  line-height: 1.8;
  text-align: left;
}
.cs-neighbours__label {
  color: #333;
  font-weight: 600;
  margin-right: 8px;
}
.cs-neighbours__block a {
  color: var(--color-primary);
  text-decoration: none;
  margin: 0 2px;
}
.cs-neighbours__block a:hover { text-decoration: underline; }

/* Hide old neighbours block (replaced by cs-neighbours) */
.landing-neighbours.old-page { display: none; }

/* L.13: Landing text content padding and spacing */
/* Correction 5.4: Inline SVG flag hidden on desktop, shown on mobile */
body.redesign-v1 .cs-flag-inline { display: none; vertical-align: middle; border-radius: 2px; box-shadow: 0 1px 2px rgba(0,0,0,0.15); }

.cs-content__text--landing p { margin: 0 0 12px; line-height: 1.7; }
.cs-content__text--landing h3, .cs-content__text--landing h2 { margin: 20px 0 12px; }

/* L.14: Cars carousel redesign */
.fnd-box.section.cars-block {
  background: #f8f9fa;
  border-radius: 16px;
  padding: 32px 24px;
  margin: 24px 0;
}
.cars-carousel-item {
  background: #fff;
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
  text-align: center;
  transition: transform .2s, box-shadow .2s;
}
.cars-carousel-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 20px rgba(0,0,0,.1);
}
.cars-carousel-name {
  font-size: 1rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 8px;
}
.cars-carousel-image {
  height: 120px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  margin-bottom: 8px;
}
.cars-carousel-props {
  font-size: 0.85rem;
  color: var(--color-text-muted, #999);
  margin-bottom: 8px;
}
.cars-carousel-props span {
  margin: 0 6px;
}
.cars-carousel-price {
  background: var(--color-primary);
  color: #fff;
  border-radius: 8px;
  padding: 8px 16px;
  font-weight: 600;
  font-size: 0.95rem;
  margin-top: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Correction 11 + 3.5: Reviews - stars under date on left, not overlapping author */
.reviews-item { margin-bottom: 16px; padding: 16px; background: #fafafa; border-radius: 10px; }
.reviews-item-info {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 4px;
  margin-bottom: 8px;
}
.reviews-item-date {
  white-space: nowrap;
  color: #888;
  font-size: 0.85rem;
}
.reviews-item-rating {
  display: flex;
  gap: 2px;
  align-items: center;
}
.reviews-item-author {
  font-weight: 600;
  color: #333;
  margin-bottom: 4px;
}
.reviews-item-comment {
  color: #555;
  line-height: 1.6;
  font-size: 0.95rem;
}

/* Correction 3.6: Review submission form */
.cs-review-form { padding: 32px 0; background: var(--color-bg-light); }
.cs-review-form__title { font-size: 1.4rem; font-weight: 700; margin-bottom: 24px; text-align: center; }
.cs-review-form__form { max-width: 600px; margin: 0 auto; }
.cs-review-form__row { display: flex; gap: 16px; }
.cs-review-form__row > .cs-review-form__field { flex: 1; }
.cs-review-form__field { margin-bottom: 16px; }
.cs-review-form__field label { display: block; font-size: 0.9rem; font-weight: 600; color: #555; margin-bottom: 6px; }
.cs-review-form__field input,
.cs-review-form__field textarea {
  width: 100%; padding: 10px 14px; border: 1px solid var(--color-border); border-radius: var(--radius);
  font-family: var(--font-main); font-size: 0.95rem; color: var(--color-text); background: #fff;
  transition: border-color var(--transition);
}
.cs-review-form__field input:focus,
.cs-review-form__field textarea:focus { outline: none; border-color: var(--color-primary); }
.cs-review-form__stars { display: flex; gap: 4px; cursor: pointer; }
.cs-review-star { width: 28px; height: 28px; cursor: pointer; transition: transform .1s; }
.cs-review-star:hover { transform: scale(1.15); }
.cs-review-form__captcha { margin: 16px 0; }
.cs-review-form__submit {
  display: block; width: 100%; padding: 12px; background: var(--color-primary); color: #fff;
  border: none; border-radius: var(--radius); font-size: 1rem; font-weight: 600;
  cursor: pointer; transition: background var(--transition);
}
.cs-review-form__submit:hover { background: var(--color-primary-dark); }
.cs-review-form__success {
  display: flex; flex-direction: column; align-items: center; text-align: center; padding: 32px;
  font-size: 1.05rem; color: #333; line-height: 1.6;
}

/* ===== MOBILE LANDING FIXES ===== */
@media (max-width: 768px) {
  /* Correction 12a: Header on mobile landings - non-sticky, same as homepage */
  .cs-header {
    position: relative !important;
    top: auto !important;
  }

  /* Correction 12a: Hide duplicate old header */
  header:not(.cs-header) { display: none !important; }

  /* Correction 12a: Search form on mobile - same padding as homepage */
  .cs-hero { padding: 20px 0 24px !important; }
  .cs-hero__title { font-size: 1.3rem !important; margin-bottom: 12px !important; }

  /* Correction 12b: Cookie bar - ensure visible immediately, fixed to bottom */
  .cs-cookie-bar {
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 9999 !important;
    transform: none !important;
  }

  /* Correction 12c: Fix horizontal scroll */
  body.redesign-v1 {
    overflow-x: hidden !important;
    max-width: 100vw;
  }
  .cs-container {
    max-width: 100% !important;
    overflow-x: hidden;
  }

  /* Mobile text padding */
  .cs-content__text,
  .cs-content__text--landing {
    padding: 0 16px;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
  .cs-content__text p,
  .cs-content__text--landing p {
    margin-bottom: 10px;
    line-height: 1.6;
  }
  /* Reduce large vertical gaps in landing content */
  .cs-content__text br + br,
  .cs-content__text--landing br + br { display: none; }
  .cs-content { padding: 16px 0; }

  /* Images must fit screen */
  .cs-content__text img,
  .cs-content__text--landing img {
    max-width: 100% !important;
    height: auto !important;
  }
  .cs-content__text table,
  .cs-content__text--landing table { max-width: 100%; overflow-x: auto; display: block; }
  .fnd-flag-image img { min-width: 80px !important; max-width: 120px !important; height: auto !important; }

  /* Correction 12c: Cars block on mobile - prevent overflow */
  .fnd-box.section.cars-block {
    padding: 16px 12px;
    margin: 16px 0;
    border-radius: 12px;
    overflow-x: hidden;
    max-width: 100%;
  }
  .cars-carousel-item {
    margin: 0 4px;
    max-width: 100%;
  }
  .cars-carousel,
  .cars-list {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    max-width: 100%;
  }

  /* Correction 12d: Documents block on mobile - match desktop style */
  .cs-docs-section {
    padding: 16px !important;
    margin: 16px 0 !important;
  }
  .docs-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
  .docs-list-item {
    width: 100% !important;
    float: none !important;
    margin-bottom: 0;
    display: flex;
    align-items: center;
    gap: 12px;
    background: #f8f9fa;
    border-radius: 10px;
    padding: 12px 16px;
  }
  .docs-list-divider { display: none; }
  .docs-list-item .docs-list-name { font-size: 0.9rem; }
  .docs-list-item .docs-icon { font-size: 1.8rem; }

  /* Correction 5.2: Warning block on mobile */
  .warning-block {
    margin: 16px 0 !important;
    padding: 16px 16px 16px 48px !important;
    font-size: 0.9rem !important;
  }
  .warning-block::before {
    left: 14px !important;
    top: 16px !important;
    font-size: 18px !important;
  }

  /* Correction 6.5: Banner offer on mobile - fix text overlap */
  .cs-banner-offer {
    flex-direction: column;
    min-height: auto;
    margin: 12px 0 0;
  }
  .cs-banner-offer__image {
    height: 180px;
    flex: none;
    position: relative;
  }
  .cs-banner-offer__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .cs-banner-offer__content {
    padding: 16px 20px;
    position: relative;
    z-index: 2;
    background: linear-gradient(135deg, #1a2332 0%, #2d3748 100%);
  }
  .cs-banner-offer__title { font-size: 1.2rem; }
  .cs-banner-offer__desc { font-size: 0.85rem; }

  /* Video visible on mobile */
  .cs-video { display: block !important; }

  /* Breadcrumbs mobile */
  .cs-breadcrumbs { padding: 8px 0; }
  .cs-breadcrumbs__list { font-size: 0.8rem; }

  /* FAQ on mobile */
  .cs-faq { padding: 24px 0; }
  .cs-faq__item { padding: 16px; }
  .cs-faq__title { font-size: 1.4rem; margin-bottom: 20px; }

  /* Neighbours on mobile */
  .cs-neighbours__block { text-align: left; padding: 0 16px; }

  /* Correction 5.4: Mobile flag - hide webp, show inline SVG next to heading */
  .cs-content--intro .fnd-flag-image--desktop { display: none !important; }
  .cs-content--intro .cs-flag-inline { display: inline !important; margin-right: 4px; }

  /* Reviews on mobile */
  .reviews-item { padding: 12px; margin-bottom: 12px; }
  .reviews-item-info { gap: 4px; }

  /* Review form on mobile */
  .cs-review-form__row { flex-direction: column; gap: 0; }
  .cs-review-form { padding: 24px 0; }
  .cs-review-form__form { padding: 0 16px; }
}

/* ===== BATCH 8 FIXES ===== */

/* Fix 4: FAQ list indentation - lists inside FAQ answers need padding */
.cs-faq__answer ul,
.cs-faq__answer ol {
  padding-left: 24px;
  margin: 8px 0;
}
.cs-faq__answer li {
  margin-bottom: 4px;
  padding-left: 4px;
}
@media (max-width: 768px) {
  .cs-faq__answer ul,
  .cs-faq__answer ol {
    padding-left: 20px;
  }
}

/* Fix 6д: FAQ section styling - match city landing look */
.cs-faq {
  padding: 48px 0;
  background: var(--color-bg-light, #f7f8fa);
}
.cs-faq__title {
  font-size: 1.75rem;
  font-weight: 700;
  margin: 0 0 24px;
  color: var(--color-text, #333);
}
.cs-faq__list {
  max-width: 800px;
}
.cs-faq__item {
  background: #fff;
  border-radius: var(--radius, 8px);
  margin-bottom: 8px;
  box-shadow: 0 1px 3px rgba(0,0,0,.06);
  overflow: hidden;
}
.cs-faq__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text, #333);
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-main, 'Inter', sans-serif);
  line-height: 1.4;
  gap: 12px;
}
.cs-faq__question:hover {
  background: rgba(113,165,28,.04);
}
.cs-faq__chevron {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  transition: transform .2s ease;
  stroke: var(--color-text-muted, #999);
}
.cs-faq__question[aria-expanded="true"] .cs-faq__chevron {
  transform: rotate(180deg);
}
.cs-faq__answer {
  padding: 0 20px 16px;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--color-text-secondary, #555);
}
.cs-faq__answer strong {
  color: var(--color-text, #333);
}

/* Fix 6е/6м: Reviews section styling - match city/country landing look */
.cs-reviews {
  padding: 48px 0;
}
.cs-reviews .reviews.fnd-box {
  border: none;
  box-shadow: none;
  padding: 0;
}
.cs-reviews .reviews-title {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 24px;
  color: var(--color-text, #333);
}
.cs-reviews .avarageRating {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  background: #fff;
  border-radius: var(--radius, 8px);
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.cs-reviews .avarageRating .rating-logo {
  flex-shrink: 0;
}
.cs-reviews .avarageRating .rating-logo img {
  height: 32px;
  width: auto;
}
.cs-reviews .avarageRating .rating-text {
  color: var(--color-text, #333);
  text-decoration: none;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.cs-reviews .avarageRating .rating-text:hover {
  color: var(--color-primary, #71a51c);
}
.cs-reviews .avarageRating .rating {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-primary, #71a51c);
}
.cs-reviews .avarageRating .rating-text-stars .fa {
  color: #ffc107;
}
.cs-reviews .reviews-item {
  background: #fff;
  border-radius: var(--radius, 8px);
  padding: 20px 24px;
  margin-bottom: 12px;
  box-shadow: 0 1px 4px rgba(0,0,0,.06);
  display: flex;
  gap: 16px;
}
.cs-reviews .reviews-item-info {
  flex-shrink: 0;
  min-width: 100px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.cs-reviews .reviews-item-date {
  font-size: 0.85rem;
  color: var(--color-text-muted, #999);
}
.cs-reviews .reviews-item-rating .fa {
  color: #ffc107;
  font-size: 0.85rem;
}
.cs-reviews .reviews-item-author {
  font-weight: 600;
  color: var(--color-text, #333);
  margin-bottom: 8px;
}
.cs-reviews .reviews-item-comment {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--color-text-secondary, #555);
}

/* Cars section styling for airport landings */
.cars-block {
  padding: 0;
  border: none;
  box-shadow: none;
}
.cars-block .title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-text, #333);
  margin-bottom: 16px;
}

/* Reduce gap above cars/prices block */
.cs-content--cars { padding-top: 0 !important; }
.cs-content--cars .cs-container { padding-top: 16px !important; }

/* Reduce gap between cars section and banner */
.cs-content--banner { padding-top: 0 !important; }
.cs-content--banner .cs-container { padding-top: 16px !important; }

/* Duplicate airport banner styles removed — using unified styles from Correction 7 */

/* ===== RENTAL COMPANIES BLOCK ===== */
.cs-rental-companies {
  padding: 24px 0;
}

.cs-rental-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding-bottom: 16px;
}

.cs-rental-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-text, #333);
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
}

.cs-rental-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(37, 99, 235, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cs-rental-icon svg {
  color: var(--color-primary, #2563eb);
}

.cs-rental-meta {
  font-size: 13px;
  color: #94a3b8;
}

/* Sort pills */
.cs-rental-sort {
  display: flex;
  gap: 6px;
  padding-bottom: 14px;
  flex-wrap: wrap;
}

.cs-rental-pill {
  padding: 5px 12px;
  border-radius: 100px;
  border: 1px solid #e2e8f0;
  background: #fff;
  font-family: inherit;
  font-size: 12px;
  color: #64748b;
  cursor: pointer;
  transition: all 0.15s;
  font-weight: 500;
}

.cs-rental-pill:hover {
  border-color: var(--color-primary, #2563eb);
  color: var(--color-primary, #2563eb);
}

.cs-rental-pill.active {
  background: var(--color-primary, #2563eb);
  color: #fff;
  border-color: var(--color-primary, #2563eb);
}

/* Grid */
.cs-rental-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 14px;
}

/* Card */
.cs-rental-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
}

.cs-rental-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

/* Photo */
.cs-rental-photo {
  height: 130px;
  background: #f1f5f9;
  position: relative;
  overflow: hidden;
}

.cs-rental-photo img.loaded ~ .cs-rental-logo { z-index: 2; }

.cs-rental-photo > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  opacity: 0;
  transition: opacity 0.4s;
}

.cs-rental-photo > img.loaded {
  opacity: 1;
}

/* Logo placeholder in top-left */
.cs-rental-logo {
  position: absolute;
  top: 8px;
  left: 8px;
  width: 60px;
  height: 30px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  z-index: 2;
}

.cs-rental-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 3px;
}

.cs-rental-badge-24h {
  position: absolute;
  top: 8px;
  right: 8px;
  padding: 2px 8px;
  border-radius: 100px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  background: #f0fdf4;
  color: #16a34a;
  border: 1px solid #bbf7d0;
  z-index: 2;
}

/* Body */
.cs-rental-body {
  padding: 12px 14px 10px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.cs-rental-name {
  font-size: 14px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 2px;
  line-height: 1.3;
}

.cs-rental-address {
  font-size: 11px;
  color: #94a3b8;
  margin-bottom: 8px;
  line-height: 1.35;
}

/* Rating */
.cs-rental-rating {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 10px;
}

.cs-rental-stars {
  display: inline-flex;
  gap: 1px;
}

.cs-rental-rating-num {
  font-weight: 700;
  font-size: 13px;
  color: #1e293b;
}

.cs-rental-rating-count {
  font-size: 11px;
  color: #94a3b8;
}

/* Info */
.cs-rental-info {
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid #f1f5f9;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.cs-rental-info-row {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  font-size: 12px;
  line-height: 1.4;
  color: #64748b;
}

.cs-rental-info-row svg {
  flex-shrink: 0;
  margin-top: 1px;
  color: var(--color-primary, #2563eb);
  opacity: 0.6;
}

.cs-rental-info-row a {
  color: #1e293b;
  text-decoration: none;
  font-weight: 500;
}

.cs-rental-info-row a:hover {
  color: var(--color-primary, #2563eb);
}

.cs-rental-hours-summary {
  font-weight: 500;
  color: #1e293b;
  font-size: 12px;
}

.cs-rental-hours-btn {
  background: none;
  border: none;
  font-family: inherit;
  font-size: 11px;
  color: var(--color-primary, #2563eb);
  cursor: pointer;
  padding: 0;
  margin-top: 2px;
  font-weight: 600;
}

.cs-rental-hours-btn:hover {
  text-decoration: underline;
}

.cs-rental-hours-full {
  display: none;
  margin-top: 4px;
  padding: 6px 10px;
  background: #f8fafc;
  border-radius: 6px;
  font-size: 11px;
  color: #64748b;
  line-height: 1.6;
}

.cs-rental-hours-full.show {
  display: block;
}

/* Footer */
.cs-rental-footer {
  padding: 0 14px 12px;
  display: flex;
  gap: 6px;
}

.cs-rental-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 7px 10px;
  border-radius: 7px;
  font-size: 11px;
  font-weight: 600;
  font-family: inherit;
  text-decoration: none;
  transition: all 0.15s;
  cursor: pointer;
}

.cs-rental-btn--outline {
  background: #fff;
  border: 1px solid #e2e8f0;
  color: #64748b;
}

.cs-rental-btn--outline:hover {
  border-color: var(--color-primary, #2563eb);
  color: var(--color-primary, #2563eb);
  background: rgba(37, 99, 235, 0.04);
}

.cs-rental-btn--primary {
  background: var(--color-primary, #2563eb);
  border: 1px solid var(--color-primary, #2563eb);
  color: #fff;
}

.cs-rental-btn--primary:hover {
  background: #1d4ed8;
  border-color: #1d4ed8;
}

/* Responsive */
@media (max-width: 640px) {
  .cs-rental-grid {
    grid-template-columns: 1fr;
  }
  .cs-rental-title {
    font-size: 17px;
  }
  .cs-rental-photo {
    height: 120px;
  }
}

/* Hide website header in mobile apps (native header is used instead) */
body.mobile_app .cs-header { display: none !important; }
body.mobile_app .cs-mobile-menu { display: none !important; }

/* p16-test salzburg-only: halve vertical padding around the "Average Car Rental Prices"
   text3 block — feedback was that the gaps to neighboring blocks were too large. Default
   .cs-content .cs-container padding is 48px 0; here we drop it to 24px 0 specifically
   for the .cs-content--text3 section (and zero its top when following another cs-content,
   matching the existing sibling-combinator behavior). */
.cs-content--text3 .cs-container { padding-top: 24px; padding-bottom: 0; }
.cs-content + .cs-content--text3 .cs-container { padding-top: 0; }
/* Pravki17 #2 (iter 2) — kill the visible gap between text3 ("Average car rental
   prices…") and the following cars block. Real on-screen gap was 16(last <p>
   margin-bottom) + 12(text3 padding-bottom) + 8(cars padding-top) ≈ 36px even after
   the first halve, because nobody reset the paragraph margin. Now: 0 + 0 + 6 = 6px. */
.cs-content--text3 .cs-content__text > p:last-child { margin-bottom: 0; }
.cs-content--text3 + .cs-content--cars .cs-container { padding-top: 6px !important; }
.cs-content--text3 + .cs-content .cs-container { padding-top: 6px; }

/* Pravki18 #1 — per-review stars (two-layer ★-overlay).
   Bottom layer: 5 gray stars. Top layer: 5 gold stars clipped to width = (rating/5)*100%.
   Width is set inline by Django widthratio in landing_detail.html. Naturally
   yields 0.5-step partial fills (rating 4.5 → 90%, 3.5 → 70%, etc.). */
.cs-rev-stars { position: relative; display: inline-block; font-size: 16px; line-height: 1; letter-spacing: 1px; vertical-align: middle; }
.cs-rev-stars__bg { color: #ddd; }
.cs-rev-stars__fg { position: absolute; top: 0; left: 0; color: #f5a623; overflow: hidden; white-space: nowrap; }

/* Pravki18 #2e — /<lang>/feedback/otzivi.htm reviews-list page */
.cs-reviews-page { padding: 24px 0 48px; }
.cs-reviews-page__title { font-size: 1.6rem; margin: 0 0 16px; text-align: center; }
.cs-reviews-page__list { max-width: 820px; margin: 0 auto; }
.cs-reviews-page__list .reviews-item { padding: 16px 0; border-bottom: 1px solid #eee; }
.cs-reviews-page__list .reviews-item-info { display: flex; gap: 12px; align-items: center; margin-bottom: 6px; color: #888; font-size: 0.9rem; }
.cs-reviews-page__list .reviews-item-date { white-space: nowrap; }
.cs-reviews-page__list .reviews-item-author { margin-bottom: 6px; }
.cs-reviews-page__list .reviews-item-comment { line-height: 1.55; }
.cs-reviews-page__empty { text-align: center; color: #888; padding: 40px 0; }
.cs-pagination { display: flex; justify-content: center; align-items: center; gap: 12px; margin-top: 32px; max-width: 820px; margin-left: auto; margin-right: auto; }
.cs-pagination__btn { display: inline-block; padding: 8px 16px; border: 1px solid #ddd; border-radius: 6px; color: var(--color-primary, #71a51c); text-decoration: none; }
.cs-pagination__btn:hover { background: #f5f7f3; }
.cs-pagination__btn--disabled { color: #ccc; pointer-events: none; }
.cs-pagination__info { color: #666; font-weight: 600; }
