﻿* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

@font-face {
  font-family: "Google Sans";
  src: url("../fonts/Google_Sans/GoogleSans-VariableFont_GRAD,opsz,wght.ttf")
    format("truetype");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: "Google Sans";
  src: url("../fonts/Google_Sans/GoogleSans-Italic-VariableFont_GRAD,opsz,wght.ttf")
    format("truetype");
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: "Alumni Sans";
  src: url("../fonts/Alumni_Sans/AlumniSans-VariableFont_wght.ttf")
    format("truetype");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: "Alumni Sans";
  src: url("../fonts/Alumni_Sans/AlumniSans-Italic-VariableFont_wght.ttf")
    format("truetype");
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --primary-color: #3952a9;
  --whatsapp-color: #48d552;
  --secondary-color: #28a745;
  --danger-color: #dc3545;
  --warning-color: #ffc107;
  --light-color: #fdfdfd;
  --dark-color: #343a40;
  --border-color: #dee2e6;
  --text-color: #071421;
  --text-light: #666;
  --transition: all 0.3s ease;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  height: 100%;
  font-family: "Google Sans", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text-color);
  background-color: var(--light-color);
}

body {
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header & Navigation */
header {
  background: rgba(52, 58, 64, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: white;
  padding: 0.72rem 0;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.14);
  border-bottom: 1px solid rgba(212, 218, 237, 0.2);
  position: sticky;
  top: 0;
  z-index: 1000;
  transform: none !important;
  opacity: 1 !important;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  flex-wrap: wrap;
  gap: 1rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

.logo a {
  text-decoration: none;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
}

.header-logo-image {
  width: 122px;
  height: auto;
  display: block;
}

.logo a:hover {
  opacity: 0.92;
}

.main-nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
  flex: 1;
  justify-content: center;
  align-items: center;
}

.main-nav a {
  color: rgba(255, 255, 255, 0.92);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease, transform 0.2s ease;
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 36px;
}

.main-nav a:hover {
  color: var(--primary-color);
  transform: translateY(-1px);
}

.main-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 2px;
  border-radius: 999px;
  background: var(--primary-color);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.22s ease;
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
  transform: scaleX(1);
}

.header-controls {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.header-locale-combo {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.25rem;
  border: 1px solid rgba(212, 218, 237, 0.3);
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
}

.locale-dropdown {
  position: relative;
}

.locale-trigger {
  border: none;
  background: transparent;
  color: #fff;
  font-weight: 600;
  font-size: 0.82rem;
  line-height: 1;
  min-height: 34px;
  border-radius: 999px;
  padding: 0.35rem 0.6rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.locale-trigger:hover {
  background: rgba(255, 255, 255, 0.14);
  transform: translateY(-1px);
}

.locale-trigger:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.45);
  outline-offset: 2px;
}

.locale-flag {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  box-shadow: 0 0 0 1px rgba(212, 218, 237, 0.35);
}

.locale-caret {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.78rem;
}

.locale-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 112px;
  padding: 0.4rem;
  border-radius: 12px;
  border: 1px solid rgba(212, 218, 237, 0.32);
  background: rgba(52, 58, 64, 0.96);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.26);
  display: grid;
  gap: 0.25rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  z-index: 1200;
}

.locale-menu-currency {
  min-width: 126px;
}

.locale-dropdown.is-open .locale-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.locale-option {
  border: 1px solid transparent;
  background: transparent;
  color: rgba(255, 255, 255, 0.88);
  border-radius: 8px;
  min-height: 32px;
  font-size: 0.8rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.locale-option:hover,
.locale-option:focus-visible,
.locale-option.is-active {
  background: rgba(255, 255, 255, 0.13);
  border-color: rgba(212, 218, 237, 0.38);
  color: #fff;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(212, 218, 237, 0.5);
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
  padding: 9px 8px;
}

.menu-toggle span {
  display: block;
  height: 2px;
  background-color: #d4daed;
  border-radius: 2px;
  transition: var(--transition);
}

.menu-toggle span + span {
  margin-top: 6px;
}

@media (min-width: 784px) {
  .header-container {
    flex-wrap: nowrap;
  }

  .main-nav {
    flex: 1 1 auto;
    min-width: 0;
  }

  .main-nav ul {
    flex-wrap: nowrap;
    gap: clamp(0.65rem, 1.2vw, 1.6rem);
  }

  .header-controls {
    flex: 0 0 auto;
    margin-left: auto;
    white-space: nowrap;
  }
}

/* Hero Section вЂ” merged with booking */
.hero {
  background: linear-gradient(135deg, var(--primary-color) 0%, #0056b3 100%);
  color: white;
  padding: 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-background-layer {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.05);
  transition: opacity 1.2s ease, transform 10s ease;
}

.hero-bg-slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: rgba(7, 20, 33, 0.55);
}

/* Inner two-column layout */
.hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4rem;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 6rem 2rem;
}

.hero-booking {
  flex: 0 0 auto;
  width: 420px;
  min-width: 0;
}

.hero-content {
  flex: 1;
  text-align: left;
  min-width: 0;
}

.hero-content h1 {
  font-size: 3.2rem;
  margin-bottom: 1.25rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.hero-content p {
  font-size: 1.3rem;
  opacity: 0.85;
  line-height: 1.6;
}

/* Book Car Section вЂ” removed, now inside hero */
.book-car {
  display: none;
}

/* в”Ђв”Ђ Unified Booking Card (Apple-like) в”Ђв”Ђ */
.ub-card {
  max-width: 100%;
  margin: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 20px;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.15),
    0 8px 40px rgba(0, 0, 0, 0.25);
  padding: 2rem 1.75rem 1.5rem;
  position: relative;
  overflow: hidden;
}

/* в”Ђ Tabs в”Ђ */
.ub-tabs {
  display: flex;
  background: #f2f2f7;
  border-radius: 12px;
  padding: 3px;
  margin-bottom: 1.75rem;
  gap: 0;
}

.ub-tab {
  flex: 1;
  padding: 0.6rem 1rem;
  border: none;
  background: transparent;
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.93rem;
  font-weight: 600;
  color: #86868b;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  text-align: center;
  line-height: 1.3;
  -webkit-tap-highlight-color: transparent;
}

.ub-tab.is-active {
  background: #fff;
  color: var(--text-color);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1), 0 0 1px rgba(0, 0, 0, 0.06);
}

/* в”Ђ Panels в”Ђ */
.ub-panel {
  display: none;
}
.ub-panel.is-active {
  display: block;
  animation: ubFadeIn 0.3s ease;
}

@keyframes ubFadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* в”Ђ Form styling inside card в”Ђ */
.ub-form .form-group {
  margin-bottom: 1.25rem;
}

.ub-form .form-group label {
  font-size: 0.82rem;
  font-weight: 600;
  color: #86868b;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 0.4rem;
}

.ub-form .form-group input,
.ub-form .form-group select {
  border: 1px solid #e5e5ea;
  border-radius: 12px;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  background: #fafafa;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.ub-form .form-group input:focus,
.ub-form .form-group select:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(57, 82, 169, 0.12);
  background: #fff;
}

/* в”Ђ Slider в”Ђ */
.ub-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: linear-gradient(to right, var(--primary-color) 0%, var(--primary-color) 0%, #e5e5ea 0%, #e5e5ea 100%);
  outline: none;
  cursor: pointer;
  margin-top: 0.3rem;
}

.ub-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--primary-color);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  transition: box-shadow 0.15s ease;
}

.ub-slider::-webkit-slider-thumb:hover {
  box-shadow: 0 2px 12px rgba(57, 82, 169, 0.35);
}

.ub-slider::-moz-range-thumb {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--primary-color);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  cursor: pointer;
}

.ub-days-badge {
  display: inline-block;
  background: var(--primary-color);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.15rem 0.55rem;
  border-radius: 8px;
  min-width: 2rem;
  text-align: center;
  vertical-align: middle;
  margin-left: 0.25rem;
}

/* в”Ђ Common fields separator в”Ђ */
.ub-common {
  border-top: 1px solid #e5e5ea;
  margin-top: 0.5rem;
  padding-top: 1.25rem;
}

/* в”Ђ Submit button в”Ђ */
.ub-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.9rem 1.5rem;
  border: none;
  border-radius: 14px;
  background: var(--primary-color);
  color: #fff;
  font-family: inherit;
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 14px rgba(57, 82, 169, 0.3);
  -webkit-tap-highlight-color: transparent;
}

.ub-submit:hover {
  background: #304790;
  box-shadow: 0 6px 20px rgba(57, 82, 169, 0.4);
  transform: translateY(-1px);
}

.ub-submit:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(57, 82, 169, 0.25);
}

.ub-submit-price {
  font-weight: 400;
  opacity: 0.9;
}

/* Legacy вЂ“ keep if still referenced */
.booking-sections {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  align-items: start;
}

.booking-panel .booking-form {
  max-width: none;
  margin: 0;
}

.booking-form {
  max-width: 600px;
  margin: 0 auto;
  background: white;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Forms */
.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--text-color);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  font-family: inherit;
  font-size: 1rem;
  transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

.form-group textarea {
  min-height: 150px;
  resize: vertical;
}

/* Buttons */
.btn {
  display: flex;
  padding: 0.72rem 1rem;
  border: 1px solid transparent;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  min-height: 44px;
  gap: 0.45rem;
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition);
  text-align: center;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn:focus-visible {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

.btn:disabled,
.btn[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: var(--light-color);
}

.btn-primary:hover {
  background-color: #304790;
}

.btn-secondary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: var(--light-color);
}

.btn-secondary:hover {
  background-color: #304790;
}

.btn-whatsapp {
  background-color: var(--whatsapp-color);
  border-color: var(--whatsapp-color);
  color: var(--light-color);
}

.btn-whatsapp:hover {
  background-color: #304790;
}

.form-actions {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

.form-actions button {
  flex: 1;
}

/* Garage Section */
.garage {
  padding: 4rem 2rem;
}

.garage h2 {
  text-align: center;
  margin-bottom: 3rem;
  font-size: 2rem;
}

.garage-filter-form {
  width: 100%;
  max-width: none;
  margin: 0 0 2rem;
  padding: 0;
  border: none;
  border-radius: 16px;
  background: #f2f2f7;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  padding: 6px;
}

.garage-filter-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  flex: 1;
  min-width: 0;
}

.garage-filter-form .form-group {
  margin-bottom: 0;
  flex: 1;
  min-width: 140px;
}

.garage-filter-form .form-group label {
  display: none;
}

.garage-filter-form .form-group select {
  width: 100%;
  padding: 10px 34px 10px 16px;
  border: none;
  border-radius: 12px;
  background: white;
  font-size: 0.95rem;
  font-weight: 500;
  color: #1d1d1f;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23868991' d='M6 8.825a.7.7 0 0 1-.5-.2l-3.5-3.5a.7.7 0 0 1 1-1L6 7.125l3-3a.7.7 0 0 1 1 1l-3.5 3.5a.7.7 0 0 1-.5.2z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
  transition: box-shadow 0.2s, background 0.2s;
  cursor: pointer;
}

.garage-filter-form .form-group select:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(0,122,255,0.25);
}

.garage-filter-actions {
  display: flex;
  gap: 6px;
  margin: 0;
  flex-shrink: 0;
}

.garage-filter-actions .btn {
  min-width: 0;
  padding: 10px 20px;
  border: none;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.2s;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.garage-filter-actions .btn:active {
  transform: scale(0.96);
}

.garage-filter-actions .btn-primary {
  background: #007aff;
  color: white;
  box-shadow: 0 2px 8px rgba(0,122,255,0.25);
}

.garage-filter-actions .btn-primary:hover {
  background: #0066d6;
}

.garage-filter-actions .btn-secondary {
  background: white;
  color: #1d1d1f;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}

.garage-filter-actions .btn-secondary:hover {
  background: #e8e8ed;
}

.cars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.car-card {
  position: relative;
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.car-card:hover {
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.12);
  transform: translateY(-3px);
}

.car-image {
  aspect-ratio: 16 / 10;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f9f9fb;
  overflow: hidden;
}

.car-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 8px;
}

.car-info {
  padding: 0.85rem 1rem 1rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.car-info h3 {
  margin: 0 0 0.6rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: #1d1d1f;
  line-height: 1.25;
}

.car-specs-row {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 0.65rem;
}

.car-spec-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #f2f2f7;
  color: #48484a;
  border-radius: 8px;
  padding: 4px 8px;
  font-size: 0.78rem;
  font-weight: 500;
  white-space: nowrap;
  line-height: 1;
}

.car-spec-pill svg {
  flex-shrink: 0;
  opacity: 0.6;
}

.car-price {
  display: flex;
  align-items: baseline;
  gap: 3px;
  margin-top: auto;
  padding: 0;
  background: none;
  min-height: 0;
}

.car-price span {
  font-size: 1.2rem;
  font-weight: 700;
  color: #007aff;
}

.car-price small {
  font-size: 0.8rem;
  font-weight: 500;
  color: #8e8e93;
}

/* Arrow button вЂ” visible on mobile, hidden on desktop */
.car-card-arrow {
  display: none;
  position: absolute;
  top: 50%;
  right: 8px;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: rgba(0,0,0,0.04);
  color: #8e8e93;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  z-index: 5;
  transition: background 0.2s, color 0.2s;
}

.car-card-arrow:hover {
  background: rgba(0,0,0,0.08);
  color: #007aff;
}

/* Overlay вЂ” appears on arrow click */
.car-card-overlay {
  display: none;
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-radius: 16px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 1rem;
  z-index: 10;
  animation: cardOverlayIn 0.2s ease;
}

.car-card-overlay.is-open {
  display: flex;
}

@keyframes cardOverlayIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.car-card-overlay .btn {
  width: 80%;
  max-width: 220px;
  padding: 10px 16px;
  border-radius: 12px;
  font-size: 0.88rem;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.15s;
}

.car-card-overlay .btn:active {
  transform: scale(0.96);
}

.car-card-overlay .btn-whatsapp {
  background: #30d158;
  color: white;
}

.car-card-overlay .btn-secondary {
  background: rgba(255,255,255,0.9);
  color: #1d1d1f;
}

/* On desktop, show actions on hover instead of arrow */
@media (min-width: 769px) {
  .car-card-arrow {
    display: none !important;
  }
  .car-card-overlay {
    opacity: 0;
    display: flex;
    pointer-events: none;
    transition: opacity 0.2s;
  }
  .car-card:hover .car-card-overlay {
    opacity: 1;
    pointer-events: auto;
  }
}

@media (max-width: 768px) {
  .car-card-arrow {
    display: flex;
  }
}

.transfer-mobile-anchor {
  display: none;
}

.section-empty {
  text-align: center;
  color: var(--text-light);
  padding: 0.75rem 0;
}

.clickable-card {
  cursor: pointer;
}

.clickable-card:focus-visible {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

.share-trigger {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  min-height: 44px;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  background: var(--light-color);
  cursor: pointer;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  font-size: 0;
  line-height: 0;
  color: transparent;
  overflow: hidden;
}

.share-trigger::before {
  content: '';
  width: 20px;
  height: 20px;
  background: url('../images/socials/share.svg?v=2') center / contain no-repeat;
  display: block;
  pointer-events: none;
}

.share-trigger:hover {
  border-color: var(--primary-color);
  transform: translateY(-1px);
}

.share-trigger:focus-visible {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

.share-trigger img {
  width: 20px;
  height: 20px;
  display: none;
  pointer-events: none;
}

.share-trigger-icon {
  width: 24px;
  height: 24px;
  background-image: var(--share-icon);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  display: none;
  flex: 0 0 24px;
  pointer-events: none;
}

.car-share-modal {
  position: fixed;
  inset: 0;
  background: rgba(7, 20, 33, 0.45);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 3100;
  padding: 1rem;
}

.car-share-modal.is-open {
  display: flex;
}

.car-share-modal-card {
  width: min(560px, 100%);
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid #e5e5ea;
  border-radius: 20px;
  box-shadow: 0 30px 60px rgba(17, 24, 39, 0.2);
  padding: 1.2rem;
}

.car-share-modal-card h3 {
  margin-bottom: 0.9rem;
  font-size: 1.2rem;
  color: #1d1d1f;
}

.car-share-platforms {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.6rem;
  margin-bottom: 0.85rem;
}

.car-share-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 700;
  border: 1px solid transparent;
  transition: transform 0.16s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.car-share-link:hover {
  transform: translateY(-1px);
}

.car-share-link:active {
  transform: scale(0.98);
}

.car-share-telegram {
  background: #27a6e5;
  color: #fff;
  box-shadow: 0 8px 18px rgba(39, 166, 229, 0.28);
}

.car-share-whatsapp {
  background: #30d158;
  color: #fff;
  box-shadow: 0 8px 18px rgba(48, 209, 88, 0.28);
}

.car-share-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.6rem;
  margin-bottom: 0.8rem;
}

.car-share-row input {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #d7d7dc;
  border-radius: 12px;
  font-size: 0.95rem;
  background: #f7f7f9;
}

.car-share-actions {
  display: flex;
  gap: 0.5rem;
  justify-content: flex-end;
}

.car-share-actions .btn {
  min-width: 120px;
}

/* Car Detail */
.car-detail {
  padding: 2.5rem 2rem;
}

.detail-top-actions {
  margin-bottom: 1rem;
}

.detail-top-actions .btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  width: auto;
  min-height: 36px;
  padding: 8px 16px;
  border-radius: 10px;
  font-size: 0.88rem;
  font-weight: 600;
  background: #f2f2f7;
  color: #007aff;
  border: none;
  box-shadow: none;
  transition: background 0.2s;
  text-decoration: none;
}

.detail-top-actions .btn:hover {
  background: #e8e8ed;
}

.car-detail-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 1.5rem;
}

.booking-modal {
  position: fixed;
  inset: 0;
  background: rgba(7, 20, 33, 0.45);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 3200;
  padding: 1rem;
}

.booking-modal.is-open {
  display: flex;
}

.booking-modal-card {
  width: min(560px, 100%);
  max-height: calc(100vh - 2rem);
  overflow-y: auto;
  background: #fff;
  border: 1px solid #e5e5ea;
  border-radius: 20px;
  box-shadow: 0 26px 56px rgba(0, 0, 0, 0.23);
  padding: 0.9rem;
  position: relative;
}

.booking-modal-card h3 {
  margin-bottom: 0.8rem;
  padding-right: 2.2rem;
}

.booking-modal-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 32px;
  height: 32px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  background: #fff;
  color: var(--text-color);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}

.booking-modal-close:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
}

.booking-modal-card-apple {
  background: rgba(248, 248, 250, 0.96);
}

.detail-booking-card {
  padding: 1.45rem 1.2rem 1.2rem;
  border-radius: 16px;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.04), 0 14px 30px rgba(17, 24, 39, 0.08);
}

.detail-booking-form .form-group {
  margin-bottom: 1.1rem;
}

.car-detail-image img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.car-carousel {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
}

.car-carousel-track {
  position: relative;
}

.car-carousel-slide {
  display: none;
}

.car-carousel-slide.is-active {
  display: block;
}

.car-carousel-slide img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  cursor: pointer;
  z-index: 3;
}

.carousel-prev {
  left: 12px;
}

.carousel-next {
  right: 12px;
}

.carousel-dots {
  position: absolute;
  left: 50%;
  bottom: 12px;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 3;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  padding: 0;
}

.carousel-dot.is-active {
  background: #fff;
}

.car-detail-info h1 {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  color: #1d1d1f;
}

.car-detail-specs-apple {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 1.25rem;
}

.detail-spec-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #f2f2f7;
  border-radius: 10px;
  padding: 8px 14px;
  font-size: 0.88rem;
  color: #48484a;
}

.detail-spec-chip svg {
  flex-shrink: 0;
  opacity: 0.55;
}

.detail-spec-val {
  font-weight: 600;
  color: #1d1d1f;
}

.detail-price-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 1.5rem;
  padding: 10px 14px;
  background: linear-gradient(135deg, #3952a9 0%, #2d437f 100%);
  border: 1px solid #2f4586;
  border-radius: 14px;
  box-shadow: 0 10px 24px rgba(57, 82, 169, 0.24);
}

.detail-price-amount {
  font-size: 1.6rem;
  font-weight: 700;
  color: #ffffff;
}

.detail-price-period {
  font-size: 0.95rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.86);
  opacity: 1;
}

.car-detail-actions-apple {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.detail-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 22px;
  border-radius: 12px;
  font-size: 0.92rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.2s;
}

.detail-action-btn:active {
  transform: scale(0.96);
}

.detail-action-primary {
  background: #007aff;
  color: white;
  box-shadow: 0 2px 10px rgba(0,122,255,0.3);
}

.detail-action-primary:hover {
  background: #0066d6;
}

.detail-action-whatsapp {
  background: #30d158;
  color: white;
  box-shadow: 0 2px 10px rgba(48,209,88,0.25);
}

.detail-action-whatsapp:hover {
  background: #28b84c;
}

.detail-expanded-specs {
  margin-top: 1.35rem;
}

.detail-expanded-title {
  font-size: 1.08rem;
  font-weight: 800;
  color: #1d1d1f;
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}

.detail-expanded-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
}

.detail-spec-rect {
  background: linear-gradient(180deg, #ffffff 0%, #f8f8fb 100%);
  border: 1px solid #e5e5ea;
  border-radius: 12px;
  padding: 0.75rem 0.85rem;
  min-height: 84px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.detail-spec-rect span {
  font-size: 0.78rem;
  font-weight: 600;
  color: #8e8e93;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.detail-spec-rect strong {
  font-size: 1rem;
  color: #1d1d1f;
  line-height: 1.25;
  margin-top: 0.35rem;
}

/* News Section */
.news {
  padding: 4rem 2rem;
  background-color: var(--light-color);
}

.news h2 {
  text-align: center;
  margin-bottom: 3rem;
  font-size: 2rem;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1rem;
  align-items: stretch;
}

.news-card {
  background: white;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(17, 24, 39, 0.08);
  transition: transform 0.2s ease, box-shadow 0.22s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
}

.news-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(17, 24, 39, 0.14);
}

.news-image img {
  width: 100%;
  height: 150px;
  object-fit: cover;
}

.news-card-apple {
  border: 1px solid #e5e5ea;
  background: linear-gradient(180deg, #ffffff 0%, #fbfbfd 100%);
}

.news-image-apple {
  background: #f7f7fa;
}

.news-image-apple img {
  filter: blur(0.7px) saturate(1.06);
  transform: scale(1.02);
}

.news-content-apple {
  padding: 0.85rem 0.95rem 0.95rem;
}

.news-content-apple h3 {
  margin: 0 0 0.45rem;
  font-size: 1rem;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-content-apple p {
  margin-bottom: 0.55rem;
  color: #54545a;
  font-size: 0.92rem;
  line-height: 1.5;
  min-height: 2.8em;
}

.news-meta-apple {
  gap: 0.45rem;
  margin-bottom: 0;
  flex-wrap: wrap;
}

.news-meta-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  min-height: 26px;
  border-radius: 999px;
  border: 1px solid #e5e5ea;
  background: #f2f2f7;
  color: #3a3a3c;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.2rem 0.55rem;
}

.news-blur-target {
  transition: filter 0.22s ease, opacity 0.22s ease;
}

.news-hover-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(7, 20, 33, 0.22);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.news-hover-overlay .btn {
  min-width: 150px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid #e5e5ea;
  color: #1d1d1f;
  font-weight: 700;
}

@media (hover: hover) and (pointer: fine) {
  .news-card-apple:hover .news-blur-target {
    filter: blur(2.1px);
    opacity: 0.9;
  }

  .news-card-apple:hover .news-hover-overlay {
    opacity: 1;
    pointer-events: auto;
  }
}

.news-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.news-content h3 {
  margin-bottom: 1rem;
}

.news-content p {
  color: var(--text-light);
  margin-bottom: 1rem;
  line-height: 1.6;
}

.news-meta {
  display: flex;
  gap: 1rem;
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 1rem;
}

.news-content .btn {
  margin-top: auto;
  align-self: flex-start;
}

/* News Detail */
.news-detail,
.secret-detail {
  padding: 4rem 2rem;
}

.news-detail-apple {
  padding-top: 3rem;
}

.news-detail-article {
  max-width: 1040px !important;
}

.news-detail-article h1 {
  margin-bottom: 0.7rem;
  font-size: 2rem;
  letter-spacing: -0.02em;
}

.news-detail-meta {
  display: flex;
  gap: 0.55rem;
  margin-bottom: 1.15rem;
  flex-wrap: wrap;
}

.news-detail-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
  margin-bottom: 1.2rem;
}

.news-gallery-thumb {
  border: 0;
  padding: 0;
  background: transparent;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
}

.news-gallery-thumb img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  transition: transform 0.2s ease;
}

.news-gallery-thumb:hover img {
  transform: scale(1.03);
}

.news-detail-article .article-text {
  font-size: 1.03rem;
  line-height: 1.75;
  margin-bottom: 1.15rem;
}

.recommended-news {
  margin-top: 1.25rem;
}

.recommended-news h2 {
  margin-bottom: 0.8rem;
  font-size: 1.2rem;
}

.news-detail article,
.secret-detail article {
  max-width: 800px;
  margin: 0 auto;
}

.secret-detail-apple {
  max-width: 1040px !important;
}

.news-detail h1,
.secret-detail h1 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.article-meta {
  display: flex;
  gap: 2rem;
  color: var(--text-light);
  margin-bottom: 2rem;
  font-size: 0.95rem;
}

.article-image {
  width: 100%;
  max-height: 500px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 2rem;
}

.article-text {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-color);
  margin-bottom: 2rem;
}

.article-text p {
  margin-bottom: 1rem;
}

.secret-detail-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
  margin-bottom: 1.35rem;
}

.secret-gallery-thumb {
  border: 0;
  padding: 0;
  background: transparent;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
}

.secret-gallery-thumb img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  transition: transform 0.2s ease;
}

.secret-gallery-thumb:hover img {
  transform: scale(1.03);
}

.secret-detail-actions {
  margin-top: 1.2rem;
  margin-bottom: 1.25rem;
}

.secret-share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.65rem 1.15rem;
  border-radius: 12px;
  border: 1px solid #d6d6db;
  background: #f2f2f7;
  color: #1d1d1f;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease;
}

.secret-share-btn:hover {
  background: #e8e8ed;
}

.secret-share-btn:active {
  transform: scale(0.98);
}

.secret-helpful-box {
  margin-top: 1.1rem;
  margin-bottom: 1.25rem;
  border: 1px solid #e5e5ea;
  border-radius: 14px;
  background: #fafafc;
  padding: 0.9rem;
}

.secret-helpful-box p {
  margin-bottom: 0.65rem;
  font-weight: 700;
  color: #1d1d1f;
}

.secret-helpful-actions {
  display: flex;
  gap: 0.55rem;
  flex-wrap: wrap;
}

.secret-helpful-actions .btn {
  min-width: 120px;
  gap: 0.45rem;
}

.secret-helpful-actions .secret-vote-yes {
  background: rgba(40, 167, 69, 0.12);
  border: 1px solid rgba(40, 167, 69, 0.28);
  color: var(--secondary-color);
}

.secret-helpful-actions .secret-vote-yes:hover {
  background: rgba(40, 167, 69, 0.18);
}

.secret-helpful-actions .secret-vote-no {
  background: rgba(220, 53, 69, 0.12);
  border: 1px solid rgba(220, 53, 69, 0.28);
  color: var(--danger-color);
}

.secret-helpful-actions .secret-vote-no:hover {
  background: rgba(220, 53, 69, 0.18);
}

.secret-recommended-box h3 {
  margin-bottom: 0.65rem;
  font-size: 1.06rem;
}

.secret-recommended-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
}

.secret-reco-pill {
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  border: 1px solid #e5e5ea;
  border-radius: 11px;
  padding: 0.56rem 0.72rem;
  color: #1d1d1f;
  background: #fff;
  font-size: 0.9rem;
  transition: transform 0.16s ease, background 0.2s ease;
}

.secret-reco-pill:hover {
  background: #f8f8fa;
  transform: translateY(-1px);
}

.secret-reco-pill span:last-child {
  color: #007aff;
  font-weight: 700;
}

.article-text ul,
.article-text ol {
  margin: 1rem 0 1rem 1.25rem;
  padding-left: 1rem;
  line-height: 1.6;
}

.article-text li {
  margin-bottom: 0.5rem;
}

.article-text a {
  color: var(--primary-color);
}

.detail-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  margin-top: 2rem;
}

.detail-hero {
  position: relative;
  height: 320px;
}

.detail-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.detail-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.55) 0%,
    rgba(0, 0, 0, 0.25) 50%,
    rgba(0, 0, 0, 0.65) 100%
  );
}

.detail-hero-content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 2rem;
  color: white;
  text-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
}

.detail-hero-content h1,
.detail-hero-content h3 {
  margin-top: 0.5rem;
  font-size: 2rem;
}

.pill-row {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(4px);
  font-size: 0.9rem;
}

.helper-text {
  margin-top: 0.35rem;
  color: var(--text-light);
  font-size: 0.9rem;
}

/* Baku Secrets */
.baku-secrets {
  padding: 4rem 2rem;
}

.baku-secrets h2 {
  text-align: center;
  margin-bottom: 3rem;
  font-size: 2rem;
}

.secrets-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  align-items: stretch;
}

.secrets-grid-home {
  grid-template-columns: 1fr;
  gap: 0.7rem;
}

.secrets-pill-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
}

.secrets-grid-home.secrets-pill-list {
  grid-template-columns: 1fr;
  gap: 0.7rem;
  width: 100%;
  margin-left: 0;
  margin-right: 0;
}

.secrets-pill-list .secret-reco-pill {
  min-height: 56px;
}

#baku-secrets .secrets-grid-home.secrets-pill-list .secret-reco-pill {
  width: 100%;
  border-radius: 13px;
  border-left: 1px solid #e5e5ea;
  border-right: 1px solid #e5e5ea;
  padding: 0.78rem 0.95rem;
}

.secret-card {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.secret-card:hover {
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.secret-card-apple {
  position: relative;
  border-radius: 14px;
  border: 1px solid #e5e5ea;
  box-shadow: 0 3px 14px rgba(17, 24, 39, 0.08);
  min-height: 210px;
  overflow: hidden;
}

.secret-card-apple:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(17, 24, 39, 0.14);
}

.secret-image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.secret-image-apple {
  position: absolute;
  inset: 0;
}

.secret-image-apple img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(3.5px) saturate(1.08);
  transform: scale(1.08);
}

.secret-image-apple::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 20, 33, 0.08) 0%, rgba(7, 20, 33, 0.72) 100%);
}

.secret-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.secret-content h3 {
  margin-bottom: 1rem;
}

.secret-content p {
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.secret-content .btn {
  margin-top: auto;
  align-self: flex-start;
}

.secret-content-apple {
  position: relative;
  z-index: 2;
  margin-top: auto;
  padding: 0.8rem 0.9rem;
  min-height: 78px;
}

.secret-content-apple h3 {
  color: #fff;
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.28;
  text-shadow: 0 4px 14px rgba(0, 0, 0, 0.38);
}

.secret-card-more {
  display: inline-flex;
  margin-top: 0.5rem;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  padding: 0.4rem 0.8rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.95);
  color: #1d1d1f;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  pointer-events: none;
}

.secret-card-apple:hover .secret-card-more {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.section-pagination {
  margin-top: 1.25rem;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.pagination-link {
  min-width: 40px;
  height: 40px;
  padding: 0 0.75rem;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  background: white;
  color: var(--text-color);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  transition: var(--transition);
}

.pagination-link:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
}

.pagination-link.is-active {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: white;
}

/* Tags */
.tags {
  margin: 2rem 0;
}

.tags h3 {
  margin-bottom: 1rem;
  font-size: 1rem;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.tag {
  display: inline-block;
  background: #f2f2f7;
  color: #1d1d1f;
  border: 1px solid #e5e5ea;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 600;
}

/* About Us */
.about-us {
  padding: 4rem 2rem;
  background: linear-gradient(180deg, #f8f8fb 0%, #fdfdff 100%);
}

.about-us h2 {
  text-align: center;
  margin-bottom: 1.35rem;
  font-size: 2rem;
  letter-spacing: -0.02em;
  color: #1d1d1f;
}

.about-content {
  max-width: 1200px;
  margin: 0 auto;
}

.about-lead-card {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid #e5e5ea;
  border-radius: 18px;
  padding: 1.2rem 1.25rem;
  box-shadow: 0 10px 26px rgba(17, 24, 39, 0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  margin-bottom: 0.9rem;
}

.about-lead-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.55rem;
  color: #1d1d1f;
  letter-spacing: -0.01em;
}

.about-lead-card p {
  line-height: 1.7;
  margin-bottom: 0;
  color: #4e4e55;
}

.about-grid-apple {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.about-card-apple {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid #e5e5ea;
  border-radius: 16px;
  padding: 1.05rem 1.1rem;
  box-shadow: 0 8px 22px rgba(17, 24, 39, 0.07);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.about-card-apple h3 {
  font-size: 1.1rem;
  margin-bottom: 0.6rem;
  color: #1d1d1f;
  letter-spacing: -0.01em;
}

.about-card-apple p {
  color: #505057;
  line-height: 1.65;
}

.about-why-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.45rem;
}

.about-why-list li {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 0.45rem;
  align-items: start;
  color: #4e4e55;
  line-height: 1.55;
}

.about-why-list li::before {
  content: "вњ“";
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 800;
  color: #fff;
  background: var(--primary-color);
  margin-top: 0.1rem;
}

/* Contact Us */
.home-section-shell {
  max-width: 1200px;
}

.contact-us {
  padding: 4rem 2rem;
  background: linear-gradient(180deg, #f8f8fb 0%, #fdfdff 100%);
}

.contact-us h2 {
  text-align: center;
  margin-bottom: 1.35rem;
  font-size: 2rem;
  letter-spacing: -0.02em;
  color: #1d1d1f;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.95rem;
  align-items: stretch;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  min-width: 0;
}

.info-block {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid #e5e5ea;
  padding: 1.2rem;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(17, 24, 39, 0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  height: 100%;
}

.info-block h3 {
  margin-bottom: 0.8rem;
  color: #1d1d1f;
  letter-spacing: -0.01em;
}

.info-block p {
  margin-bottom: 0.5rem;
  color: #505057;
  line-height: 1.5;
}

.contact-map {
  width: 100%;
  max-width: 100%;
  border: 0;
  border-radius: 12px;
  display: block;
  margin-bottom: 0.75rem;
  box-shadow: 0 4px 14px rgba(17, 24, 39, 0.12);
}

.map-link-buttons {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.map-link-buttons .btn {
  width: 100%;
  min-height: 52px;
  padding: 0.65rem 0.8rem;
  gap: 0.55rem;
  justify-content: flex-start;
  border-radius: 12px;
  border: 1px solid #d6d6db;
  background: #f6f6f9;
  color: #1d1d1f;
  font-weight: 600;
}

.map-link-buttons .btn img {
  width: 28px;
  height: 28px;
  display: block;
}

.contact-icon-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.75rem;
}

.contact-icon-btn {
  width: 100%;
  min-height: 62px;
  padding: 0.55rem;
  border: 1px solid #e0e0e6;
  border-radius: 12px;
  background: #f6f6f9;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.16s ease, background 0.2s ease, border-color 0.2s ease;
  box-shadow: 0 3px 10px rgba(17, 24, 39, 0.06);
}

.contact-icon-btn:hover {
  transform: translateY(-1px);
  border-color: #c9c9d2;
  background: #ececf1;
}

.contact-icon-btn img {
  width: 30px;
  height: 30px;
  display: block;
}

.contact-form-wrapper {
  position: relative;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid #e5e5ea;
  padding: 1.2rem 1.1rem 1.05rem;
  border-radius: 18px;
  box-shadow: 0 14px 28px rgba(17, 24, 39, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
}

.contact-form-wrapper h3 {
  color: #1d1d1f;
  margin-bottom: 0.9rem;
  letter-spacing: -0.01em;
}

.contact-form-wrapper::before {
  content: '';
  position: absolute;
  left: 1.1rem;
  right: 1.1rem;
  top: 0;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--primary-color) 0%, rgba(57, 82, 169, 0.35) 100%);
}

.contact-feedback-form {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  flex: 1;
}

.contact-feedback-form .form-group label {
  font-size: 0.82rem;
  font-weight: 700;
  color: #6b6b72;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.contact-feedback-form .form-group input,
.contact-feedback-form .form-group textarea {
  width: 100%;
  border: 1px solid #e0e0e6;
  border-radius: 12px;
  background: #fafafc;
  min-height: 46px;
  padding: 0.72rem 0.82rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.contact-feedback-form .form-group textarea {
  min-height: 130px;
  resize: vertical;
}

.contact-feedback-form .form-group input:focus,
.contact-feedback-form .form-group textarea:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(57, 82, 169, 0.12);
  background: #fff;
}

.contact-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.contact-form-span-2 {
  grid-column: 1 / -1;
}

.contact-feedback-form .form-group {
  margin-bottom: 0;
}

.contact-form-actions {
  display: flex;
}

.contact-form-actions .btn {
  width: 100%;
  border-radius: 13px;
  min-height: 48px;
  font-weight: 700;
}

.seo-tags-section {
  padding: 2.5rem 2rem 4rem;
  background: linear-gradient(180deg, #f8f8fb 0%, #fdfdff 100%);
}

.seo-tags-section h2 {
  text-align: center;
  margin-bottom: 1rem;
  font-size: 1.7rem;
  letter-spacing: -0.02em;
  color: #1d1d1f;
}

.seo-tags-section .container {
  max-width: 1200px;
  border: 1px solid #e5e5ea;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 10px 28px rgba(17, 24, 39, 0.08);
  padding: 1.1rem 1rem 1.25rem;
}

.seo-tags-grid {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 0.52rem;
  justify-content: center;
}

.seo-tag-item {
  display: inline-flex;
  align-items: center;
  padding: 0.44rem 0.86rem;
  border: 1px solid #e5e5ea;
  border-radius: 999px;
  background: #f2f2f7;
  font-size: 0.84rem;
  font-weight: 600;
  color: #1d1d1f;
  transition: transform 0.15s ease, background 0.2s ease;
}

.seo-tag-item:hover {
  background: #e8e8ed;
  transform: translateY(-1px);
}

.seo-tags-empty {
  text-align: center;
  color: var(--text-light);
}

.for-business-page {
  padding: 4rem 2rem;
}

.for-business-page h1 {
  text-align: center;
  margin-bottom: 1.5rem;
  font-size: 2rem;
}

.business-gallery-wrap {
  background: white;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  padding: 1rem;
  margin-bottom: 1.25rem;
}

.business-gallery-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
  gap: 0.75rem;
}

.business-gallery-header h2 {
  margin: 0;
  font-size: 1.25rem;
}

.business-gallery-controls {
  display: flex;
  gap: 0.5rem;
}

.gallery-nav-btn {
  width: 38px;
  height: 38px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  background: white;
  color: var(--text-color);
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
  transition: var(--transition);
}

.gallery-nav-btn:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
}

.business-gallery-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 4rem) / 5);
  gap: 1rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: thin;
}

.business-gallery-item {
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  background: var(--light-color);
}

.business-gallery-item img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
}

.for-business-intro {
  margin-bottom: 1.25rem;
}

.for-business-intro p {
  background: white;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 1rem;
  line-height: 1.6;
}

.for-business-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 1rem;
}

.for-business-card {
  background: white;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 1rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.for-business-card h2 {
  margin-bottom: 0.9rem;
  font-size: 1.2rem;
}

.business-contact-form textarea {
  min-height: 180px;
  resize: vertical;
}

.business-admin-card {
  max-width: 1100px;
}

.business-upload-form {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  flex-wrap: wrap;
}

.business-upload-form input[type="file"] {
  flex: 1;
  min-width: 260px;
}

.business-admin-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.business-admin-item {
  background: white;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 0.75rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.business-admin-item img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 8px;
}

.business-admin-item p {
  font-size: 0.86rem;
  color: var(--text-light);
  word-break: break-word;
}

/* Admin */
.admin-login {
  padding: 4rem 2rem;
  background-color: var(--light-color);
  min-height: calc(100vh - 200px);
  display: flex;
  align-items: center;
}

.login-form-wrapper {
  max-width: 400px;
  margin: 0 auto;
  background: white;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.login-form-wrapper h1 {
  text-align: center;
  margin-bottom: 2rem;
}

.error-message {
  background-color: #f8d7da;
  color: #721c24;
  padding: 1rem;
  border-radius: 4px;
  margin-bottom: 1rem;
  border: 1px solid #f5c6cb;
}

.pin-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.admin-editor {
  padding: 4rem 2rem;
}

.admin-minimal-header {
  background: linear-gradient(135deg, #f4f7ff 0%, #eef3ff 100%);
  border-bottom: 1px solid var(--border-color);
  padding: 1rem;
}

.admin-minimal-header-inner {
  display: flex;
  justify-content: center;
  align-items: center;
}

.admin-minimal-logo-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.admin-minimal-logo-image {
  display: block;
  height: 56px;
  width: auto;
}

.admin-editor h1 {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 2rem;
}

.news-editor-form,
.secret-editor-form {
  background: white;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  max-width: 1000px;
  margin: 0 auto 2rem;
}

.lang-tabs {
  display: grid;
  gap: 2rem;
  margin-bottom: 2rem;
}

.lang-section h3 {
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.pin-prompt {
  background: white;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  max-width: 400px;
  margin: 0 auto;
}

.pin-prompt p {
  margin-bottom: 1rem;
  text-align: center;
}

.admin-user-badge {
  background: var(--primary-color);
  color: #fff;
  border-radius: 10px;
  padding: 0.9rem 1rem;
  text-align: center;
  font-weight: 700;
  margin-bottom: 1rem;
  word-break: break-word;
}

.preview-section {
  background: white;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  margin: 2rem auto;
  max-width: 1000px;
}

.preview-section h2 {
  margin-bottom: 2rem;
  text-align: center;
}

.admin-menu {
  max-width: 1320px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.admin-menu-item {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 92px;
  background: white;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 1rem 1.25rem;
  text-decoration: none;
  color: var(--text-color);
  font-weight: 600;
  transition: var(--transition);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.admin-menu-item:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
}

@media (min-width: 1024px) {
  .admin-menu {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

.booking-admin-table-wrapper {
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  padding: 1rem;
  overflow-x: auto;
}

.booking-admin-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 980px;
}

.booking-admin-table th,
.booking-admin-table td {
  border: 1px solid var(--border-color);
  padding: 0.75rem;
  text-align: left;
  vertical-align: middle;
}

.booking-admin-table thead th {
  background-color: var(--light-color);
}

.booking-status-form {
  border-radius: 6px;
  padding: 0.25rem;
}

.booking-status-form select {
  border: none;
  background: transparent;
  font-weight: 600;
  width: 100%;
}

.status-new {
  background-color: #fff5cc;
}

.status-in-process {
  background-color: #dceeff;
}

.status-done {
  background-color: #dff3df;
}

.status-aborted {
  background-color: #f8dede;
}

.btn-danger {
  background-color: var(--danger-color);
  border-color: var(--danger-color);
  color: white;
}

.btn-danger:hover {
  background-color: #bf2f3d;
}

.pin-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  padding: 1rem;
}

.pin-modal-overlay.is-open {
  display: flex;
}

.pin-modal {
  width: 100%;
  max-width: 420px;
  background: white;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  padding: 1.25rem;
}

.pin-modal h3 {
  margin-bottom: 0.5rem;
}

.pin-modal-message {
  margin-bottom: 0.75rem;
  color: var(--text-light);
}

.pin-modal-input {
  width: 100%;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  padding: 0.65rem 0.75rem;
}

.pin-modal-error {
  margin-top: 0.5rem;
  color: var(--danger-color);
  font-size: 0.9rem;
}

.pin-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
  margin-top: 0.9rem;
}

.cars-admin-topbar {
  display: flex;
  gap: 0.75rem;
  justify-content: flex-start;
  flex-wrap: wrap;
  margin-bottom: 1.75rem;
}

.cars-admin-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.car-admin-card {
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  padding: 1rem;
}

/* --- Car tile grid (mobile-first) --- */

.cars-tile-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.car-tile {
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 18px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  transition: box-shadow 0.18s ease, transform 0.18s ease;
}

.car-tile:hover {
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.11);
  transform: translateY(-2px);
}

.car-tile-body {
  padding: 0.85rem 0.9rem 0.5rem;
  flex: 1;
}

.car-tile-brand {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: #6e6e73;
  margin-bottom: 0.18rem;
}

.car-tile-model {
  font-size: 0.97rem;
  font-weight: 700;
  color: #1d1d1f;
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin-bottom: 0.55rem;
  word-break: break-word;
}

.car-tile-price {
  display: inline-flex;
  align-items: baseline;
  gap: 0.2rem;
  font-size: 1rem;
  font-weight: 800;
  color: #34c759;
  letter-spacing: -0.02em;
}

.car-tile-price span {
  font-size: 0.68rem;
  font-weight: 600;
  color: #8e8e93;
  letter-spacing: 0;
}

.car-tile-actions {
  display: flex;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.car-tile-actions form {
  flex: 1;
  display: flex;
}

.car-tile-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  height: 46px;
  border: none;
  background: transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s ease;
  line-height: 1;
  padding: 0;
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
}

.car-tile-btn-edit {
  border-right: 1px solid rgba(0, 0, 0, 0.05);
}

.car-tile-btn-edit:hover {
  background: rgba(0, 122, 255, 0.07);
}

.car-tile-btn-delete:hover {
  background: rgba(255, 59, 48, 0.07);
}

@media (min-width: 540px) {
  .cars-tile-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.875rem;
  }
}

@media (min-width: 900px) {
  .cars-tile-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
  }
}

.news-edit-media-card {
  max-width: 1000px;
  margin: 0 auto 2rem;
}

.secret-edit-media-card {
  max-width: 1000px;
  margin: 0 auto 2rem;
}

.car-admin-grid {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 1.5rem;
}

.car-admin-media h3 {
  margin-bottom: 0.75rem;
}

.car-admin-cover {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 0.75rem;
}

.car-admin-media form {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.car-admin-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.car-admin-gallery-item {
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 0.5rem;
  background: var(--light-color);
}

.car-admin-gallery-item img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 0.5rem;
}

.car-admin-fields-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(220px, 1fr));
  gap: 1rem;
}

.contacts-admin-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(220px, 1fr));
  gap: 1rem;
}

/* SEO Tags page legacy (kept for compatibility) */
.seo-tags-admin-card {
  max-width: 1000px;
  margin: 0 auto 1.5rem;
  background: white;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  padding: 1rem;
}

.seo-tags-admin-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 1rem;
}

.seo-tags-admin-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid var(--border-color);
  border-radius: 999px;
  padding: 0.25rem 0.25rem 0.25rem 0.75rem;
  background: var(--light-color);
}

.seo-tags-admin-item form {
  margin: 0;
}

.seo-tags-admin-item .btn {
  padding: 0.35rem 0.6rem;
  border-radius: 999px;
  font-size: 0.85rem;
}

.seo-tags-add-form {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.seo-tags-add-form input[type="text"] {
  flex: 1;
  min-width: 260px;
  padding: 0.7rem 0.8rem;
  border: 1px solid var(--border-color);
  border-radius: 8px;
}

/* =====================================================
   SEO Tags Page - Apple Mobile-First
   ===================================================== */

.seo-tags-page {
  min-height: 100vh;
  background: linear-gradient(160deg, #f0f4ff 0%, #f5f5f7 45%, #eef1f8 100%);
  padding: 1rem 0 3rem;
}

.seo-tags-wrap {
  max-width: 640px;
  margin: 0 auto;
  padding: 0 1rem;
}

.seo-tags-add-card {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 18px;
  padding: 1rem;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.055);
  margin-bottom: 0.85rem;
}

.seo-tags-add-row {
  display: flex;
  gap: 0.6rem;
}

.seo-tags-add-input {
  flex: 1;
  min-width: 0;
  padding: 0.72rem 0.85rem;
  border: 1.5px solid rgba(0, 0, 0, 0.1);
  border-radius: 12px;
  font-size: 0.95rem;
  font-family: inherit;
  background: rgba(255, 255, 255, 0.7);
  color: #1d1d1f;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
  -webkit-appearance: none;
  appearance: none;
}

.seo-tags-add-input:focus {
  border-color: #007aff;
  box-shadow: 0 0 0 3px rgba(0, 122, 255, 0.13);
}

.seo-tags-add-btn {
  padding: 0.72rem 1.1rem;
  background: #007aff;
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  white-space: nowrap;
  transition: opacity 0.15s;
  -webkit-appearance: none;
  appearance: none;
}

.seo-tags-add-btn:active {
  opacity: 0.8;
}

.seo-tags-card {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 18px;
  padding: 1rem;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.055);
}

.seo-tags-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.seo-tag-chip {
  display: inline-flex;
  align-items: center;
  gap: 0;
  background: rgba(0, 122, 255, 0.08);
  border: 1px solid rgba(0, 122, 255, 0.18);
  border-radius: 999px;
  overflow: hidden;
  transition: background 0.15s;
}

.seo-tag-chip:hover {
  background: rgba(0, 122, 255, 0.13);
}

.seo-tag-chip-text {
  font-size: 0.85rem;
  font-weight: 600;
  color: #1d3c8a;
  padding: 0.38rem 0.6rem 0.38rem 0.85rem;
  line-height: 1.3;
  word-break: break-word;
}

.seo-tag-del-form {
  margin: 0;
  display: flex;
}

.seo-tag-del-btn {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  border-left: 1px solid rgba(0, 122, 255, 0.15);
  color: #8e8e93;
  font-size: 0.8rem;
  cursor: pointer;
  padding: 0;
  line-height: 1;
  transition: background 0.15s, color 0.15s;
  margin: 4px 4px 4px 0;
  border-radius: 999px;
}

.seo-tag-del-btn:hover {
  background: rgba(255, 59, 48, 0.12);
  color: #ff3b30;
}

.form-group-full {
  grid-column: 1 / -1;
}

.car-admin-actions {
  margin-top: 0.5rem;
  margin-bottom: 1rem;
}

.car-admin-primary-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 0.5rem;
  margin-bottom: 1rem;
}

.car-admin-action-form {
  display: flex;
}

.car-admin-action-form .btn {
  width: 100%;
}

.car-admin-cancel-form {
  margin-top: 1rem;
  display: flex;
  justify-content: center;
}

.compact-meta-row {
  display: grid;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.compact-form-row {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 1rem;
}

.compact-car-card {
  padding: 1rem;
}

.compact-car-grid {
  display: grid;
  grid-template-columns: 220px 1fr auto;
  gap: 1rem;
  align-items: start;
}

.compact-cover-image {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 8px;
}

.car-list-cover-fit {
  object-fit: contain;
  background: var(--light-color);
}

.news-list-grid {
  grid-template-columns: 220px 1fr auto;
}

.compact-news-cover-image {
  object-fit: cover;
}

.news-list-row {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.news-list-cover-wrap {
  width: 120px;
  height: 86px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  background: var(--light-color);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 120px;
  overflow: hidden;
}

.news-list-cover-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.news-list-text {
  display: grid;
  gap: 0.35rem;
  flex: 1 1 auto;
  min-width: 0;
}

.news-list-actions {
  min-width: 180px;
  flex: 0 0 180px;
}

.news-list-actions.news-list-actions--inline {
  min-width: auto;
  flex: 0 0 auto;
  flex-direction: row;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.news-list-actions--inline form {
  margin: 0;
}

.news-list-action-btn {
  min-height: 34px;
  padding: 0.35rem 0.65rem;
  border-radius: 8px;
  font-size: 0.82rem;
  line-height: 1.1;
  white-space: nowrap;
}

.news-list-actions--inline form .news-list-action-btn {
  width: auto;
  min-width: 0;
}

.news-lang-switch {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.news-lang-switch .btn {
  min-width: 68px;
}

.news-lang-switch .btn.is-active {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: #fff;
}

.news-lang-pane {
  display: none;
}

.news-lang-pane.is-active {
  display: block;
}

.news-photo-item {
  position: relative;
  cursor: move;
}

.news-photo-item.is-dragging {
  opacity: 0.6;
}

.news-photo-handle {
  position: absolute;
  top: 0.4rem;
  right: 0.4rem;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  border: 1px solid var(--border-color);
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  line-height: 1;
}

.compact-actions-column {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  min-width: 170px;
}

.compact-actions-column form {
  display: flex;
  margin: 0;
}

.compact-actions-column .btn {
  width: 100%;
  min-height: 44px;
}

.compact-list-grid {
  grid-template-columns: 1fr auto;
}

.gallery-page .container > h1 {
  margin-bottom: 1rem;
}

.gallery-albums-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
}

.gallery-album-card {
  display: block;
  text-decoration: none;
  color: inherit;
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--border-color);
}

.gallery-album-cover {
  aspect-ratio: 16 / 10;
}

.gallery-album-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-album-content {
  padding: 0.9rem;
}

.gallery-album-content h3 {
  margin-bottom: 0.5rem;
}

.gallery-album-meta {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  color: var(--text-light);
  font-size: 0.9rem;
}

.gallery-album-topbar {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.gallery-album-top-meta {
  color: var(--text-light);
}

.gallery-collage {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 5px;
  margin-bottom: 1rem;
}

.gallery-photo-item {
  border: 0;
  padding: 0;
  margin: 0;
  cursor: pointer;
  background: transparent;
  display: block;
}

.gallery-photo-item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.gallery-tags {
  margin-top: 1rem;
  color: var(--text-light);
}

.gallery-tag-list {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-left: 0.4rem;
  vertical-align: middle;
}

.gallery-tag-list-admin {
  display: flex;
  margin-left: 0;
  margin-top: 0.55rem;
}

.gallery-tag-item {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border-color);
  background: var(--light-color);
  color: var(--text-color);
  border-radius: 999px;
  padding: 0.18rem 0.6rem;
  font-size: 0.86rem;
  line-height: 1.2;
}

.gallery-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.82);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 3000;
  padding: 1rem;
}

.gallery-lightbox.is-open {
  display: flex;
}

.gallery-lightbox-content {
  width: min(1100px, 95vw);
  max-height: 95vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  position: relative;
}

.gallery-lightbox-close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: rgba(0, 0, 0, 0.55);
  color: white;
  font-size: 1.1rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.gallery-lightbox-content img {
  width: 100%;
  max-height: 82vh;
  object-fit: contain;
  border-radius: 8px;
}

.gallery-reactions {
  display: flex;
  gap: 0.6rem;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  width: 100%;
}

.gallery-reaction-btn {
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.12);
  color: white;
  border-radius: 999px;
  padding: 0.45rem 0.7rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  cursor: pointer;
}

.gallery-reaction-btn .emoji {
  font-size: 1.2rem;
  line-height: 1;
}

.gallery-reaction-btn .count {
  font-size: 0.85rem;
  opacity: 0.9;
}

.gallery-admin-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.gallery-admin-card {
  background: white;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  display: grid;
  grid-template-columns: 180px 1fr auto;
  gap: 1rem;
  padding: 0.8rem;
  align-items: center;
}

.gallery-admin-card.gallery-admin-create-card {
  text-decoration: none;
  color: inherit;
}

.gallery-admin-plus-cover {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--light-color);
  border: 2px dashed var(--border-color);
  border-radius: 8px;
  min-height: 110px;
}

.gallery-admin-plus-cover span {
  font-size: 2rem;
  color: var(--primary-color);
  line-height: 1;
}

.gallery-admin-cover img {
  width: 100%;
  height: 110px;
  object-fit: cover;
  border-radius: 8px;
}

.gallery-admin-actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  min-width: 160px;
}

.gallery-admin-actions form {
  margin: 0;
}

.gallery-editor-card {
  background: white;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  padding: 1rem;
  margin-bottom: 1rem;
}

.gallery-editor-form,
.gallery-upload-form {
  display: flex;
  gap: 0.7rem;
  align-items: end;
  flex-wrap: wrap;
  margin-bottom: 0.8rem;
}

.gallery-create-form {
  display: block;
}

.gallery-create-form .form-group {
  max-width: 800px;
}

.gallery-editor-form .form-group {
  min-width: 220px;
  flex: 1;
  margin-bottom: 0;
}

.gallery-editor-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.gallery-editor-item {
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: 0.45rem;
  background: white;
}

.gallery-editor-item input[type='checkbox'] {
  width: 18px;
  height: 18px;
}

.gallery-editor-item img {
  width: 100%;
  height: 130px;
  object-fit: cover;
  border-radius: 6px;
}

.reviews-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.reviews-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 1024px) {
  .reviews-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.review-card {
  display: block;
  text-decoration: none;
  color: inherit;
  border-radius: 10px;
  border: 1px solid var(--border-color);
  padding: 0.9rem;
}

.reviews-page-apple .reviews-topbar {
  margin-bottom: 1.35rem;
}

.reviews-page-apple .reviews-topbar h1 {
  font-size: 1.85rem;
  letter-spacing: -0.02em;
}

.reviews-page-apple .reviews-add-btn {
  border-radius: 12px;
  min-height: 42px;
  padding: 0.6rem 1.1rem;
  box-shadow: 0 4px 14px rgba(57, 82, 169, 0.24);
}

.reviews-page-apple .reviews-list {
  gap: 0.9rem;
}

.reviews-page-apple .review-card-apple {
  border-radius: 14px;
  border: 1px solid #e5e5ea;
  background: linear-gradient(180deg, #ffffff 0%, #fbfbfd 100%);
  box-shadow: 0 4px 16px rgba(17, 24, 39, 0.07);
  padding: 0.9rem;
  transition: transform 0.18s ease, box-shadow 0.2s ease;
}

.reviews-page-apple .review-card-apple:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(17, 24, 39, 0.12);
}

.reviews-page-apple .review-card-like {
  background: linear-gradient(180deg, #ffffff 0%, #f7fcf8 100%);
}

.reviews-page-apple .review-card-dislike {
  background: linear-gradient(180deg, #ffffff 0%, #fff8f8 100%);
}

.reviews-page-apple .review-card-head {
  margin-bottom: 0.55rem;
}

.reviews-page-apple .review-card-head h3 {
  margin-bottom: 0.1rem;
  font-size: 1.02rem;
}

.review-card-meta {
  display: flex;
  gap: 0.45rem;
  align-items: center;
  margin-bottom: 0.5rem;
  flex-wrap: wrap;
}

.review-reaction-pill,
.review-date-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 26px;
  padding: 0.2rem 0.62rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  border: 1px solid #e5e5ea;
  background: #f7f7fa;
  color: #3a3a3c;
}

.review-reaction-pill.is-like {
  background: rgba(40, 167, 69, 0.12);
  border-color: rgba(40, 167, 69, 0.24);
  color: var(--secondary-color);
}

.review-reaction-pill.is-dislike {
  background: rgba(220, 53, 69, 0.12);
  border-color: rgba(220, 53, 69, 0.24);
  color: var(--danger-color);
}

.reviews-page-apple .review-text {
  color: #4c4c4f;
  line-height: 1.55;
  margin-bottom: 0.62rem;
}

.reviews-page-apple .review-thumb-list {
  margin-bottom: 0.55rem;
}

.review-card-footer {
  display: flex;
  justify-content: flex-end;
}

.review-open-more {
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
  font-size: 0.86rem;
  font-weight: 700;
  color: #007aff;
}

.review-card-like {
  background: #e9f8ea;
}

.review-card-dislike {
  background: #fdecec;
}

.review-card-head {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 0.5rem;
}

.review-avatar {
  width: 52px;
  height: 52px;
  border-radius: 999px;
  object-fit: cover;
}

.review-avatar-lg {
  width: 76px;
  height: 76px;
}

.review-title {
  color: var(--text-light);
  font-size: 0.95rem;
}

.review-text {
  margin-bottom: 0.6rem;
}

.review-thumb-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(70px, 1fr));
  gap: 0.35rem;
}

.review-thumb-list img {
  width: 100%;
  height: 70px;
  object-fit: cover;
  border-radius: 6px;
}

.home-reviews-slider {
  position: relative;
}

.home-reviews-layout {
  display: grid;
  grid-template-columns: 1fr 210px;
  gap: 0.9rem;
  align-items: stretch;
}

.home-reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.9rem;
  align-items: stretch;
}

.home-reviews-slider {
  overflow: hidden;
  border-radius: 12px;
}

.home-review-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.home-review-slide.is-active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  position: relative;
}

.home-review-slide.is-leaving {
  opacity: 0;
  transform: translateY(-10px);
}

.home-review-slide .review-card {
  height: 100%;
}

.home-all-reviews-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  border-radius: 14px;
  border: 1px solid #e5e5ea;
  background: linear-gradient(180deg, #ffffff 0%, #f8f8fb 100%);
  text-decoration: none;
  color: #1d1d1f;
  box-shadow: 0 5px 16px rgba(17, 24, 39, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.home-all-reviews-card:hover {
  transform: translateY(-2px);
  background: linear-gradient(180deg, #ffffff 0%, #f2f2f7 100%);
  box-shadow: 0 12px 24px rgba(17, 24, 39, 0.14);
}

.home-all-reviews-arrow {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #007aff;
  color: #fff;
  font-size: 1.3rem;
  font-weight: 800;
  line-height: 1;
}

.home-all-reviews-text {
  font-size: 0.95rem;
  font-weight: 700;
  text-align: center;
}

.home-reviews-actions {
  display: none;
}

.review-detail-card {
  border-radius: 10px;
  border: 1px solid var(--border-color);
  padding: 1rem;
}

.review-detail-page-apple .reviews-topbar {
  margin-bottom: 1rem;
}

.review-detail-page-apple .review-back-btn {
  border-radius: 11px;
  border: 1px solid #d9d9de;
  background: #f6f6f9;
  color: #1d1d1f;
}

.review-detail-card-apple {
  border-radius: 16px;
  border: 1px solid #e5e5ea;
  background: linear-gradient(180deg, #ffffff 0%, #fbfbfd 100%);
  box-shadow: 0 6px 20px rgba(17, 24, 39, 0.08);
  padding: 1.15rem;
}

.review-detail-card-apple.review-card-like {
  background: linear-gradient(180deg, #ffffff 0%, #f7fcf8 100%);
}

.review-detail-card-apple.review-card-dislike {
  background: linear-gradient(180deg, #ffffff 0%, #fff8f8 100%);
}

.review-detail-card-apple .review-detail-meta h1 {
  font-size: 1.45rem;
  margin-bottom: 0.4rem;
  letter-spacing: -0.02em;
}

.review-detail-stats {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.review-stat-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  min-height: 30px;
  padding: 0.25rem 0.68rem;
  border-radius: 999px;
  border: 1px solid #e5e5ea;
  background: #f7f7fa;
  color: #3a3a3c;
  font-size: 0.84rem;
  font-weight: 700;
}

.review-stat-yes {
  background: rgba(40, 167, 69, 0.12);
  border-color: rgba(40, 167, 69, 0.24);
  color: var(--secondary-color);
}

.review-stat-no {
  background: rgba(220, 53, 69, 0.12);
  border-color: rgba(220, 53, 69, 0.24);
  color: var(--danger-color);
}

.review-detail-card-apple .review-title-full {
  font-size: 1.18rem;
  margin-top: 0.1rem;
  margin-bottom: 0.58rem;
}

.review-detail-card-apple .review-text-full {
  line-height: 1.7;
  color: #3f3f43;
}

.review-detail-card-apple .review-full-images {
  margin-top: 0.5rem;
  margin-bottom: 1rem;
  gap: 0.55rem;
}

.review-detail-card-apple .review-full-image-item img {
  border-radius: 10px;
  border: 1px solid #ececf0;
}

.review-detail-card-apple .review-helpful-box {
  border: 1px solid #e5e5ea;
  border-radius: 12px;
  background: #fafafc;
  padding: 0.8rem;
}

.review-detail-card-apple .review-helpful-box p {
  color: #1d1d1f;
  font-weight: 700;
}

.review-detail-card-apple .review-vote-yes {
  background: rgba(40, 167, 69, 0.12);
  border: 1px solid rgba(40, 167, 69, 0.28);
  color: var(--secondary-color);
}

.review-detail-card-apple .review-vote-yes:hover {
  background: rgba(40, 167, 69, 0.18);
}

.review-detail-card-apple .review-vote-no {
  background: rgba(220, 53, 69, 0.12);
  border: 1px solid rgba(220, 53, 69, 0.28);
  color: var(--danger-color);
}

.review-detail-card-apple .review-vote-no:hover {
  background: rgba(220, 53, 69, 0.18);
}

.review-detail-head {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 0.8rem;
}

.review-detail-meta p {
  color: var(--text-light);
}

.review-title-full {
  margin-bottom: 0.7rem;
}

.review-text-full {
  margin-bottom: 0.8rem;
}

.review-full-images {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 0.45rem;
  margin-bottom: 0.9rem;
}

.review-full-image-item {
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
}

.review-full-image-item img {
  width: 100%;
  height: 95px;
  object-fit: cover;
  border-radius: 6px;
}

.review-helpful-box p {
  margin-bottom: 0.6rem;
  font-weight: 600;
}

.review-helpful-actions {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.review-reaction-options {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.review-reaction-options label {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.review-avatar-upload-row {
  display: grid;
  grid-template-columns: 1fr 110px;
  gap: 1rem;
  align-items: end;
}

.review-avatar-side-preview {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  background: #f5f6f8;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.review-avatar-side-preview img {
  display: none;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.review-avatar-side-preview span {
  color: var(--text-light);
  font-size: 1.35rem;
}

.review-create-preview .review-detail-card {
  margin-bottom: 1rem;
}

.review-create-page .cars-admin-topbar {
  gap: 0.75rem;
}

.review-create-page .cars-admin-topbar .btn {
  min-width: 180px;
}

.yes-count {
  color: #168b2c;
  font-weight: 700;
}

.no-count {
  color: #b22b2b;
  font-weight: 700;
}

.mail-admin-section {
  margin-bottom: 2rem;
}

.mail-admin-section h2 {
  margin-bottom: 0.75rem;
}

.mail-admin-message-cell {
  min-width: 280px;
  line-height: 1.45;
  white-space: normal;
}

.promo-admin-card {
  grid-template-columns: minmax(220px, 320px) 1fr auto;
  align-items: start;
}

.promo-editor-form {
  display: block;
}

.promo-code-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 0.6rem;
  align-items: end;
  margin-bottom: 1rem;
}

.promo-code-row .form-group {
  margin-bottom: 0;
}

.promo-code-row .btn,
.promo-code-row .promo-check-state {
  align-self: end;
}

.promo-check-state {
  min-width: 30px;
  min-height: 44px;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  background: white;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.promo-rules-builder {
  margin-bottom: 1rem;
}

.promo-rules-builder > label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.promo-rule-input-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.6rem;
  margin-bottom: 0.55rem;
}

.promo-rule-input-row input {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
}

.promo-chip-removable {
  gap: 0.45rem;
}

.promo-chip-removable button {
  border: 0;
  background: transparent;
  color: var(--text-light);
  cursor: pointer;
  padding: 0;
  line-height: 1;
}

.promo-color-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.promo-color-grid input[type="color"] {
  height: 44px;
  padding: 0;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  background: white;
}

.promo-preview-card {
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  aspect-ratio: auto;
  width: min(100%, 330px);
  padding: 0;
  position: relative;
  overflow: hidden;
  margin-bottom: 1rem;
}

.promo-preview-overlay {
  position: relative;
  margin: 0.8rem;
  z-index: 1;
  background: rgba(0, 0, 0, 0.22);
  border-radius: 10px;
  padding: 0.75rem;
  backdrop-filter: blur(1px);
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.promo-label {
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.25rem;
}

.promo-preview-card h3 {
  font-size: 1.9rem;
  margin-bottom: 0.35rem;
  text-transform: uppercase;
  word-break: break-word;
}

.promo-brand-logo {
  display: inline-flex;
  align-items: baseline;
  gap: 0.15rem;
  font-family: "Alumni Sans", sans-serif;
  font-style: italic;
  font-size: 2.1rem;
  line-height: 1;
}

.promo-brand-get {
  color: #3952a9;
  font-weight: 800;
}

.promo-brand-car {
  color: #fdfdfd;
  font-weight: 400;
}

.promo-preview-card .gallery-tag-list {
  margin-top: 0.2rem;
}

.promo-admin-card .gallery-admin-actions {
  align-items: stretch;
}

.promo-admin-card .gallery-admin-actions form {
  display: flex;
}

.promo-admin-card .gallery-admin-actions .btn {
  width: 100%;
}

/* Promo page redesign additions */
.promo-cover-upload-row {
  margin-bottom: 1rem;
}

.promo-cover-upload-row .car-edit-file-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1rem;
  background: rgba(0, 122, 255, 0.07);
  border: 1.5px dashed rgba(0, 122, 255, 0.3);
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #007aff;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}

.promo-cover-upload-row .car-edit-file-label:hover {
  background: rgba(0, 122, 255, 0.12);
  border-color: rgba(0, 122, 255, 0.5);
}

.promo-submit-btn {
  width: 100%;
  margin-top: 0.25rem;
}

.home-counter-section {
  padding: 1.2rem 0 0.8rem;
}

.home-counter-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.home-counter-card {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(57, 82, 169, 0.14);
  border-radius: 14px;
  padding: 1rem 0.9rem;
  text-align: center;
  box-shadow: 0 10px 22px rgba(18, 34, 66, 0.08);
  min-width: 0;
  overflow: hidden;
}

.home-counter-icon {
  display: block;
  font-size: 1.45rem;
  line-height: 1;
  margin-bottom: 0.3rem;
}

.home-counter-number {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary-color);
  line-height: 1.1;
  margin-bottom: 0.22rem;
}

.home-counter-card p {
  margin: 0;
  color: var(--text-light);
  font-weight: 600;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

@media (max-width: 860px) {
  .home-counter-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.55rem;
  }

  .home-counter-card {
    padding: 0.75rem 0.45rem;
  }

  .home-counter-icon {
    font-size: 1.1rem;
    margin-bottom: 0.2rem;
  }

  .home-counter-number {
    font-size: 1.25rem;
  }

  .home-counter-card p {
    font-size: 0.72rem;
    line-height: 1.2;
  }
}

@media (max-width: 640px) {
  .home-counter-grid {
    gap: 0.4rem;
  }

  .home-counter-card {
    padding: 0.62rem 0.3rem;
    border-radius: 10px;
  }

  .home-counter-icon {
    font-size: 1rem;
    margin-bottom: 0.16rem;
  }

  .home-counter-number {
    font-size: 1.05rem;
    margin-bottom: 0.15rem;
  }

  .home-counter-card p {
    font-size: 0.62rem;
    line-height: 1.15;
  }
}

@media (max-width: 420px) {
  .home-counter-section {
    padding-top: 0.95rem;
  }

  .home-counter-grid {
    gap: 0.32rem;
  }

  .home-counter-card {
    padding: 0.55rem 0.2rem;
  }

  .home-counter-number {
    font-size: 0.95rem;
  }

  .home-counter-card p {
    font-size: 0.56rem;
  }
}

/* Footer */
footer {
  background: linear-gradient(180deg, rgba(52, 58, 64, 0.98) 0%, rgba(34, 39, 45, 0.98) 100%);
  color: white;
  padding: 3.2rem 2rem 1.15rem;
  margin-top: auto;
  border-top: 1px solid rgba(212, 218, 237, 0.2);
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 0.9rem;
  margin-bottom: 2rem;
}

.footer-section {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(212, 218, 237, 0.2);
  border-radius: 16px;
  padding: 0.95rem 1rem;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.footer-section:hover {
  transform: translateY(-2px);
  border-color: rgba(212, 218, 237, 0.34);
  background: rgba(255, 255, 255, 0.08);
}

.footer-section h3,
.footer-section h4 {
  margin-bottom: 0.8rem;
  color: #ffffff;
  letter-spacing: -0.01em;
}

.footer-section p {
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.78);
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.42rem;
}

.footer-section a {
  color: rgba(255, 255, 255, 0.84);
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
  display: inline-flex;
  align-items: center;
  min-height: 24px;
}

.footer-section a:hover {
  color: #ffffff;
  opacity: 0.95;
}

.footer-section-map ul {
  columns: 2;
  column-gap: 1rem;
}

.footer-stats {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(212, 218, 237, 0.26);
}

.footer-stats p {
  font-size: 0.9rem;
  margin-bottom: 0.65rem;
  color: rgba(255, 255, 255, 0.76);
}

.footer-stats-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}

.footer-stats-list li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.65rem;
  border-bottom: 1px dashed rgba(212, 218, 237, 0.24);
  padding-bottom: 0.35rem;
}

.footer-stats-list li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.footer-stats-list span {
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.9rem;
}

.footer-stats-list strong {
  color: #fff;
  font-weight: 700;
  white-space: nowrap;
}

.footer-bottom {
  text-align: center;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(212, 218, 237, 0.2);
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.92rem;
}

.footer-bottom a {
  color: #ffffff;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.36);
}

.footer-bottom a:hover {
  border-bottom-color: #fff;
}

/* Responsive */
@media (max-width: 768px) {
  .footer-section-map ul {
    columns: 1;
  }

  .booking-admin-table {
    min-width: 0;
    border-collapse: separate;
    border-spacing: 0 0.75rem;
  }

  .booking-admin-table thead {
    display: none;
  }

  .booking-admin-table tbody,
  .booking-admin-table tr,
  .booking-admin-table td {
    display: block;
    width: 100%;
  }

  .booking-admin-table tbody tr {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    background: white;
  }

  .booking-admin-table td {
    border: 0;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.75rem;
    text-align: right;
  }

  .booking-admin-table td:last-child {
    border-bottom: 0;
  }

  .booking-admin-table td::before {
    content: attr(data-label);
    font-weight: 600;
    color: var(--text-color);
    text-align: left;
  }

  .booking-admin-table td[data-label="Status"] .booking-status-form,
  .booking-admin-table td[data-label="РЎС‚Р°С‚СѓСЃ"] .booking-status-form,
  .booking-admin-table td[data-label="Р”РµР№СЃС‚РІРёСЏ"] .pin-protected-form,
  .booking-admin-table td[data-label="Р”РµР№СЃС‚РІРёСЏ"] .btn {
    width: 100%;
  }

  .booking-admin-table td[data-label="Р”РµР№СЃС‚РІРёСЏ"] .pin-protected-form {
    margin: 0;
  }

  .booking-sections {
    grid-template-columns: 1fr;
  }

  .gallery-admin-card {
    grid-template-columns: 1fr;
  }

  .gallery-admin-cover img {
    height: 180px;
  }

  .gallery-admin-actions {
    min-width: 0;
  }

  .gallery-editor-form,
  .gallery-upload-form {
    flex-direction: column;
    align-items: stretch;
  }

  .gallery-collage {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery-photo-item img {
    height: 150px;
  }

  .reviews-topbar {
    flex-direction: column;
    align-items: stretch;
  }

  .review-avatar-upload-row {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .review-create-page .gallery-editor-card {
    padding: 1rem;
  }

  .review-create-page .cars-admin-topbar {
    flex-direction: column;
    align-items: stretch;
  }

  .review-create-page .cars-admin-topbar .btn {
    width: 100%;
    min-width: 0;
  }

  .review-create-page .review-create-editor input,
  .review-create-page .review-create-editor textarea,
  .review-create-page .review-create-editor select {
    font-size: 16px;
  }

  .review-create-page .review-create-preview .review-detail-card {
    padding: 0.85rem;
  }

  .review-create-page .review-full-images {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-reviews-layout {
    grid-template-columns: 1fr;
  }

  .home-reviews-grid {
    grid-template-columns: 1fr;
  }

  .home-all-reviews-card {
    min-height: 84px;
    border-radius: 12px;
    flex-direction: row;
    justify-content: center;
  }

  .home-all-reviews-arrow {
    width: 42px;
    height: 42px;
    font-size: 1.2rem;
  }

  .home-reviews-section .review-card {
    padding: 0.65rem;
    border-radius: 8px;
  }

  .home-reviews-section .review-card-head {
    margin-bottom: 0.35rem;
    gap: 0.5rem;
  }

  .home-reviews-section .review-avatar {
    width: 42px;
    height: 42px;
  }

  .home-reviews-section .review-title {
    font-size: 0.86rem;
  }

  .home-reviews-section .review-text {
    font-size: 0.92rem;
    margin-bottom: 0.4rem;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .home-reviews-section .review-thumb-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.25rem;
  }

  .home-reviews-section .review-thumb-list img {
    height: 54px;
  }

  .review-detail-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .review-full-images {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mail-admin-section h2 {
    font-size: 1.2rem;
  }

  .mail-admin-message-cell {
    min-width: 0;
    max-width: 100%;
    white-space: normal;
    word-break: break-word;
  }

  .promo-admin-card {
    grid-template-columns: 1fr;
  }

  .promo-code-row {
    grid-template-columns: 1fr;
  }

  .promo-rule-input-row,
  .promo-color-grid {
    grid-template-columns: 1fr;
  }

  .header-container {
    flex-direction: column;
  }

  .main-nav ul {
    flex-direction: column;
    gap: 1rem;
    width: 100%;
  }

  .hero-inner {
    flex-direction: column-reverse;
    gap: 2rem;
    padding: 5rem 1.5rem 3rem;
  }

  .hero-booking {
    width: 100%;
  }

  .hero-content {
    text-align: center;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-content p {
    font-size: 1.05rem;
  }

  .cars-grid,
  .news-grid,
  .secrets-grid {
    grid-template-columns: 1fr;
  }

  .secrets-grid-home {
    grid-template-columns: 1fr;
    gap: 0.7rem;
  }

  #baku-secrets .secrets-grid-home.secrets-pill-list {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
  }

  #baku-secrets .secrets-grid-home.secrets-pill-list .secret-reco-pill {
    border-radius: 13px;
    border-left: 1px solid #e5e5ea;
    border-right: 1px solid #e5e5ea;
  }

  .garage-filter-form {
    flex-direction: column;
  }

  .garage-filter-grid {
    width: 100%;
  }

  .garage-filter-actions {
    width: 100%;
  }

  .garage-filter-actions .btn {
    flex: 1;
  }

  .transfer-mobile-anchor {
    display: block;
    margin-top: 1.5rem;
  }

  .car-detail-content,
  .contact-content {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  .detail-expanded-grid {
    grid-template-columns: 1fr;
  }

  .car-share-platforms {
    grid-template-columns: 1fr;
  }

  .detail-booking-card {
    padding: 1.2rem 0.95rem 0.95rem;
  }

  .contact-form-grid {
    grid-template-columns: 1fr;
  }

  .contact-form-span-2 {
    grid-column: auto;
  }

  .about-grid-apple {
    grid-template-columns: 1fr;
  }

  .about-lead-card,
  .about-card-apple {
    border-radius: 14px;
    padding: 0.95rem 0.9rem;
  }

  .secret-detail-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem;
  }

  .news-detail-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .secret-recommended-list {
    grid-template-columns: 1fr;
  }

  .secret-card-more {
    display: none;
  }

  .for-business-grid {
    grid-template-columns: 1fr;
  }

  .business-gallery-track {
    grid-auto-columns: calc((100% - 1rem) / 2);
    gap: 0.75rem;
  }

  .business-gallery-item img {
    height: 145px;
  }

  .business-upload-form {
    flex-direction: column;
    align-items: stretch;
  }

  .business-upload-form input[type="file"] {
    min-width: 0;
  }

  .contact-icon-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .car-share-row {
    grid-template-columns: 1fr;
  }

  .car-share-actions {
    flex-direction: column;
  }

  .car-share-actions .btn {
    width: 100%;
  }

  .form-actions {
    flex-direction: column;
  }

  .form-actions button {
    width: 100%;
  }

  .main-nav {
    width: 100%;
    order: 4;
  }

  .header-controls {
    width: 100%;
    justify-content: center;
  }

  .seo-tags-admin-item {
    max-width: 100%;
  }

  .seo-tags-admin-item span {
    overflow-wrap: anywhere;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 14px;
  }

  .contact-us {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .contact-form-wrapper,
  .info-block {
    border-radius: 14px;
    padding: 1rem 0.9rem;
  }

  /* в”Ђв”Ђ Unified booking mobile в”Ђв”Ђ */
  .ub-card {
    padding: 1.25rem 1rem 1rem;
    border-radius: 16px;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.04), 0 4px 20px rgba(0, 0, 0, 0.07);
  }

  .ub-tabs {
    margin-bottom: 1.25rem;
  }

  .ub-tab {
    font-size: 0.86rem;
    padding: 0.55rem 0.75rem;
  }

  .ub-form .form-group {
    margin-bottom: 1rem;
  }

  .ub-form .form-group label {
    font-size: 0.78rem;
  }

  .ub-form .form-group input,
  .ub-form .form-group select {
    padding: 0.65rem 0.75rem;
    font-size: 0.95rem;
    border-radius: 10px;
  }

  .ub-slider::-webkit-slider-thumb {
    width: 22px;
    height: 22px;
  }

  .ub-submit {
    font-size: 0.97rem;
    padding: 0.8rem 1.2rem;
    border-radius: 12px;
  }

  header {
    padding: 0.75rem 0;
  }

  .header-container {
    gap: 0.75rem;
  }

  .main-nav ul {
    gap: 0.75rem;
    align-items: center;
  }

  .hero-inner {
    padding: 4rem 0.75rem 2.5rem;
    gap: 1.5rem;
  }

  .hero-content h1 {
    font-size: 1.65rem;
  }

  .hero-content p {
    font-size: 0.95rem;
  }

  .garage,
  .news,
  .baku-secrets,
  .for-business-page,
  .about-us,
  .contact-us {
    padding: 3rem 1.25rem;
  }

  .seo-tags-section {
    padding: 2.2rem 1.25rem 3rem;
  }

  .seo-tags-section .container {
    border-radius: 14px;
    padding: 0.95rem 0.8rem 1rem;
  }

  #baku-secrets .secrets-grid-home.secrets-pill-list {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
  }

  .business-gallery-track {
    grid-auto-columns: 100%;
  }

  .business-gallery-item img {
    height: 190px;
  }

  .car-image img,
  .news-image img,
  .secret-image img {
    height: auto;
  }

  .car-image {
    aspect-ratio: 16 / 9;
  }

  .secret-card-apple {
    min-height: 185px;
  }

  .secret-content-apple {
    padding: 0.7rem 0.78rem;
    min-height: 68px;
  }

  .secret-content-apple h3 {
    font-size: 0.89rem;
  }

  .secret-detail-gallery {
    grid-template-columns: 1fr;
  }

  .news-image img {
    height: 128px;
  }

  .news-content-apple {
    padding: 0.75rem 0.8rem 0.8rem;
  }

  .news-content-apple h3 {
    font-size: 0.94rem;
  }

  .news-content-apple p {
    font-size: 0.84rem;
    line-height: 1.4;
    margin-bottom: 0.48rem;
  }

  .news-meta-pill {
    font-size: 0.72rem;
    min-height: 24px;
    padding: 0.18rem 0.5rem;
  }

  .news-hover-overlay {
    display: none;
  }

  .news-detail-gallery {
    grid-template-columns: 1fr;
  }

  .secret-helpful-actions .btn {
    width: 100%;
  }

  .car-info {
    padding: 0.65rem 0.75rem 0.75rem;
  }

  .car-info h3 {
    font-size: 0.95rem;
    margin-bottom: 0.4rem;
  }

  .car-specs-row {
    gap: 4px;
    margin-bottom: 0.5rem;
  }

  .car-spec-pill {
    padding: 3px 6px;
    font-size: 0.72rem;
    border-radius: 6px;
  }

  .car-price span {
    font-size: 1.05rem;
  }

  .car-detail-info h1 {
    font-size: 1.35rem;
    margin-bottom: 1rem;
  }

  .detail-spec-chip {
    padding: 6px 10px;
    font-size: 0.82rem;
  }

  .detail-price-amount {
    font-size: 1.3rem;
  }

  .detail-price-badge {
    width: 100%;
    justify-content: center;
    border-radius: 12px;
  }

  .car-share-modal-card {
    border-radius: 16px;
    padding: 1rem;
  }

  .car-share-actions .btn {
    width: 100%;
  }

  .booking-modal-card {
    border-radius: 16px;
    padding: 0.6rem;
  }

  .detail-spec-rect {
    min-height: 76px;
  }

  .garage-filter-form {
    padding: 5px;
    border-radius: 14px;
    gap: 5px;
  }

  .contact-icon-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .review-create-page h1 {
    font-size: 1.45rem;
    line-height: 1.2;
  }

  .review-create-page .review-avatar-side-preview {
    width: 86px;
    height: 86px;
  }

  .review-create-page .review-full-image-item img {
    height: 86px;
  }

  .car-card,
  .news-card,
  .secret-card,
  .detail-card,
  .preview-section,
  .news-editor-form,
  .secret-editor-form {
    border-radius: 10px;
  }

  .car-admin-grid {
    grid-template-columns: 1fr;
  }

  .compact-car-grid {
    grid-template-columns: 1fr;
  }

  .news-list-grid {
    grid-template-columns: 1fr;
  }

  .news-list-row {
    flex-direction: column;
    align-items: stretch;
  }

  .news-list-cover-wrap {
    width: 100%;
    max-width: 180px;
    height: 110px;
  }

  .news-list-actions {
    min-width: 0;
    flex-basis: auto;
  }

  .compact-actions-column {
    min-width: 0;
  }

  .car-admin-fields-grid {
    grid-template-columns: 1fr;
  }

  .contacts-admin-grid {
    grid-template-columns: 1fr;
  }

  .seo-tags-add-form {
    flex-direction: column;
    align-items: stretch;
  }

  .seo-tags-add-form input[type="text"] {
    min-width: 0;
  }

  .car-admin-gallery {
    grid-template-columns: 1fr;
  }

  .detail-hero {
    height: 220px;
  }

  .detail-hero-content {
    padding: 1.25rem;
  }

  .detail-hero-content h1,
  .detail-hero-content h3 {
    font-size: 1.4rem;
  }

  .pill-row {
    gap: 0.5rem;
  }

  .pill {
    font-size: 0.8rem;
    padding: 0.35rem 0.75rem;
  }

  .article-text {
    font-size: 1rem;
  }

  .form-group input,
  .form-group select,
  .form-group textarea {
    padding: 0.65rem 0.75rem;
    font-size: 0.95rem;
  }

  .form-actions {
    flex-direction: column;
  }

  .form-actions button {
    width: 100%;
  }

  .detail-top-actions {
    margin-bottom: 0.75rem;
  }

  .detail-top-actions .btn {
    min-height: 36px;
    padding: 0.45rem 0.7rem;
    font-size: 0.86rem;
  }

  .preview-section h2 {
    font-size: 1.25rem;
  }

  footer {
    padding: 2.5rem 1.25rem 1rem;
  }
}

@media (max-width: 783px) {
  body {
    padding-top: 74px;
  }

  header {
    position: fixed;
    width: 100%;
    left: 0;
    right: 0;
    top: 0;
    padding: 0.65rem 0;
  }

  .header-container {
    display: grid;
    grid-template-columns: 42px 1fr auto;
    align-items: center;
    gap: 0.75rem;
    padding: 0 14px;
    position: relative;
  }

  .menu-toggle {
    display: block;
  }

  .logo {
    justify-self: center;
    text-align: center;
  }

  .header-logo-image {
    width: 96px;
  }

  .header-controls {
    width: auto;
    justify-content: flex-end;
    gap: 0.3rem;
  }

  .header-locale-combo {
    padding: 0.2rem;
    gap: 0.2rem;
    border-radius: 12px;
    border-color: rgba(212, 218, 237, 0.26);
    max-width: 164px;
  }

  .locale-trigger {
    min-height: 31px;
    border-radius: 10px;
    padding: 0.3rem 0.45rem;
    font-size: 0.72rem;
    gap: 0.22rem;
  }

  .locale-flag {
    width: 12px;
    height: 12px;
  }

  .locale-menu {
    top: calc(100% + 6px);
    right: -2px;
    min-width: 96px;
    padding: 0.35rem;
    border-radius: 10px;
    z-index: 1500;
  }

  .locale-menu-currency {
    min-width: 104px;
  }

  .locale-option {
    min-height: 30px;
    font-size: 0.74rem;
  }

  .main-nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 14px;
    right: 14px;
    width: calc(100% - 28px);
    max-width: calc(100vw - 28px);
    box-sizing: border-box;
    background: rgba(52, 58, 64, 0.96);
    border: 1px solid rgba(212, 218, 237, 0.3);
    border-radius: 16px;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: max-height 0.32s ease, opacity 0.22s ease, transform 0.22s ease;
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.25);
    z-index: 1100;
  }

  .main-nav ul {
    flex-direction: column;
    gap: 0;
    padding: 0.5rem 0;
    align-items: center;
  }

  .main-nav li {
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .main-nav li + li {
    border-top: 1px solid rgba(212, 218, 237, 0.14);
  }

  .main-nav a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0.8rem 1rem;
    text-align: center;
    white-space: normal;
    overflow-wrap: anywhere;
    font-size: 0.96rem;
  }

  .main-nav a::after {
    left: 20%;
    right: 20%;
    bottom: 7px;
  }

  #site-header.menu-open .main-nav {
    max-height: 70vh;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    overflow-y: auto;
  }

  #site-header.menu-open .menu-toggle span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  #site-header.menu-open .menu-toggle span:nth-child(2) {
    opacity: 0;
  }

  #site-header.menu-open .menu-toggle span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
}

/* Message */
.message {
  padding: 1rem;
  border-radius: 4px;
  margin-bottom: 2rem;
  text-align: center;
}

.message.alert {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.message.error {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

.error-404-page {
  min-height: 100vh;
  background: linear-gradient(180deg, rgba(57, 82, 169, 0.08) 0%, rgba(255, 255, 255, 0.96) 100%);
}

.error-404-wrap {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}

.error-404-card {
  width: min(760px, 100%);
  text-align: center;
  background: rgba(255, 241, 241, 0.96);
  border: 1px solid rgba(220, 53, 69, 0.2);
  border-radius: 18px;
  box-shadow: 0 18px 40px rgba(18, 34, 66, 0.12);
  padding: 1.8rem 1.2rem;
}

.error-404-logo {
  width: min(420px, 82%);
  height: auto;
  display: block;
  margin: 0 auto 1.05rem;
}

.error-404-emoji {
  font-size: clamp(2rem, 3vw + 1.2rem, 3.2rem);
  line-height: 1;
  margin-bottom: 0.85rem;
}

.error-404-card h1 {
  font-size: clamp(1.35rem, 1.1vw + 1rem, 2rem);
  margin-bottom: 0.75rem;
  color: var(--text-color);
}

.error-404-card p {
  color: var(--text-light);
  margin-bottom: 1.2rem;
}

@media (max-width: 600px) {
  .error-404-card {
    border-radius: 14px;
    padding: 1.2rem 0.9rem;
  }

  .error-404-logo {
    width: min(320px, 92%);
  }
}

.articles-topbar,
.article-editor-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.article-lang-switch {
  display: inline-flex;
  background: #f2f4f8;
  border-radius: 10px;
  padding: 4px;
  gap: 4px;
}

.article-lang-btn {
  border: 0;
  border-radius: 8px;
  padding: 8px 14px;
  cursor: pointer;
  background: transparent;
}

.article-lang-btn.is-active {
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.articles-switch.ub-tabs {
  margin: 0;
}

.articles-switch .ub-tab {
  min-width: 132px;
}

.articles-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.articles-list-wrap {
  overflow-x: auto;
}

.articles-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
}

.articles-table th,
.articles-table td {
  border-bottom: 1px solid #eef1f5;
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
}

.articles-actions-cell {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.btn-sm {
  padding: 6px 10px;
  font-size: 0.86rem;
}

.article-editor-meta input {
  min-width: 220px;
}

.article-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 8px;
}

.article-toolbar button {
  border: 1px solid #cfd7e4;
  background: #f8fafc;
  border-radius: 6px;
  padding: 7px 11px;
  cursor: pointer;
  font-weight: 600;
}

.article-toolbar button:hover {
  background: #edf2fb;
  border-color: #b8c6dc;
}

.article-rich-editor {
  min-height: 240px;
  border: 1px solid #dbe1ea;
  border-radius: 10px;
  padding: 12px;
  background: #fff;
}

.article-rich-editor:focus {
  outline: none;
  border-color: #3952a9;
  box-shadow: 0 0 0 2px rgba(57, 82, 169, 0.15);
}

.article-textarea {
  width: 100%;
  resize: vertical;
  font-family: inherit;
  line-height: 1.45;
}

.article-counter {
  margin-top: 6px;
  font-size: 0.84rem;
  color: #6c7485;
}

.article-editor-buttons {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.article-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
  z-index: 2000;
}

.article-modal.is-open {
  display: flex;
}

.article-modal-card {
  background: #fff;
  border-radius: 12px;
  width: min(920px, 100%);
  max-height: 88vh;
  overflow: auto;
  padding: 18px;
  position: relative;
}

.article-modal-close {
  position: absolute;
  right: 12px;
  top: 10px;
  border: 0;
  background: transparent;
  font-size: 26px;
  cursor: pointer;
}

.articles-toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  background: #1f9d55;
  color: #fff;
  border-radius: 8px;
  padding: 10px 14px;
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: 0.2s ease;
  z-index: 2100;
}

.articles-toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.articles-toast.is-error {
  background: #d63638;
}

/* ============================================================
   Admin Apple Design System
   ============================================================ */

.admin-main-apple {
  background: linear-gradient(160deg, #f0f4ff 0%, #f5f5f7 45%, #eef1f8 100%);
  min-height: 100%;
}

/* --- Login screen --- */

.admin-login-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 80vh;
  padding: 2rem 1rem;
}

.admin-login-card {
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(40px) saturate(180%);
  -webkit-backdrop-filter: blur(40px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 28px;
  padding: 2.5rem 2rem 2.25rem;
  width: 100%;
  max-width: 340px;
  box-shadow: 0 8px 48px rgba(0, 0, 0, 0.11), 0 2px 8px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.admin-login-icon-wrap {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  background: linear-gradient(135deg, #5e5ce6 0%, #3952a9 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 1.25rem;
  box-shadow: 0 6px 20px rgba(57, 82, 169, 0.32);
  user-select: none;
}

.admin-login-tg-badge {
  font-size: 0.82rem;
  font-weight: 600;
  color: #007aff;
  background: rgba(0, 122, 255, 0.1);
  border-radius: 20px;
  padding: 0.3rem 0.9rem;
  margin-bottom: 0.75rem;
  letter-spacing: 0.01em;
}

.admin-login-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1d1d1f;
  letter-spacing: -0.025em;
  margin-bottom: 1.5rem;
  text-align: center;
}

.admin-login-error-msg {
  font-size: 0.83rem;
  color: #ff3b30;
  background: rgba(255, 59, 48, 0.08);
  border-radius: 10px;
  padding: 0.55rem 0.9rem;
  margin-bottom: 1rem;
  width: 100%;
  text-align: center;
  line-height: 1.45;
}

.admin-login-form {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  width: 100%;
}

.admin-login-pin {
  width: 100%;
  border: 1.5px solid rgba(0, 0, 0, 0.11);
  border-radius: 14px;
  padding: 0.85rem 1rem;
  font-size: 1.2rem;
  font-family: inherit;
  text-align: center;
  letter-spacing: 0.35em;
  background: rgba(255, 255, 255, 0.75);
  color: #1d1d1f;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  -webkit-appearance: none;
  appearance: none;
}

.admin-login-pin::placeholder {
  letter-spacing: 0.05em;
  color: #bbb;
}

.admin-login-pin:focus {
  border-color: #007aff;
  box-shadow: 0 0 0 3px rgba(0, 122, 255, 0.14);
}

.admin-login-btn {
  width: 100%;
  background: #007aff;
  color: #fff;
  border: none;
  border-radius: 14px;
  padding: 0.85rem 1rem;
  font-size: 0.97rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s, box-shadow 0.2s;
  letter-spacing: 0.01em;
}

.admin-login-btn:hover {
  background: #0071e3;
  box-shadow: 0 4px 16px rgba(0, 122, 255, 0.3);
}

.admin-login-btn:active {
  background: #0051c7;
  transform: scale(0.97);
}

.admin-login-info {
  font-size: 0.84rem;
  color: #6e6e73;
  text-align: center;
  line-height: 1.5;
  margin-top: 0.25rem;
}

/* --- Dashboard --- */

.admin-dashboard-wrap {
  padding: 2.5rem 0 3.5rem;
}

.admin-dashboard-greeting {
  font-size: 0.78rem;
  color: #6e6e73;
  font-weight: 600;
  text-align: center;
  margin-bottom: 0.2rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.admin-dashboard-title {
  font-size: 1.9rem;
  font-weight: 700;
  color: #1d1d1f;
  letter-spacing: -0.03em;
  margin-bottom: 2rem;
  text-align: center;
}

/* --- Apple tile grid --- */

.admin-apple-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.875rem;
  max-width: 500px;
  margin: 0 auto;
  padding: 0 0.75rem;
}

.admin-apple-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  padding: 1.2rem 0.5rem 1rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
  transition: transform 0.18s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.18s ease;
}

.admin-apple-tile:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.admin-apple-tile:active {
  transform: scale(0.94);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
  transition: transform 0.08s ease, box-shadow 0.08s ease;
}

.admin-apple-tile-icon {
  width: 52px;
  height: 52px;
  border-radius: 13px;
  background: var(--tile-color, #007aff);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.45rem;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.18);
  line-height: 1;
  user-select: none;
}

.admin-apple-tile-label {
  font-size: 0.68rem;
  font-weight: 600;
  color: #1d1d1f;
  text-align: center;
  line-height: 1.25;
  letter-spacing: -0.01em;
  word-break: break-word;
}

@media (min-width: 540px) {
  .admin-apple-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    max-width: 600px;
    gap: 1rem;
  }

  .admin-apple-tile-icon {
    width: 58px;
    height: 58px;
    border-radius: 15px;
    font-size: 1.6rem;
  }

  .admin-apple-tile-label {
    font-size: 0.72rem;
  }
}

@media (min-width: 900px) {
  .admin-apple-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    max-width: 860px;
    gap: 1.25rem;
  }

  .admin-dashboard-title {
    font-size: 2.4rem;
    margin-bottom: 2.5rem;
  }

  .admin-apple-tile-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    font-size: 1.75rem;
  }

  .admin-apple-tile-label {
    font-size: 0.75rem;
  }
}

/* ============================================================
   Car Edit Page вЂ” Apple Mobile-first
   ============================================================ */

.car-edit-page {
  background: linear-gradient(160deg, #f0f4ff 0%, #f5f5f7 45%, #eef1f8 100%);
  min-height: 100%;
}

.car-edit-wrap {
  padding: 1.25rem 0 3rem;
}

.car-edit-wrap .container {
  max-width: 640px;
}

/* Notices */
.car-edit-notice {
  border-radius: 12px;
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1rem;
  text-align: center;
}

.car-edit-notice-ok {
  background: rgba(52, 199, 89, 0.12);
  color: #1a7a35;
}

.car-edit-notice-err {
  background: rgba(255, 59, 48, 0.1);
  color: #c0392b;
}

/* Topbar */
.car-edit-topbar {
  margin-bottom: 1.25rem;
}

.car-edit-title-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}

.car-edit-back-btn {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 50%;
  font-size: 1.1rem;
  text-decoration: none;
  color: #1d1d1f;
  flex-shrink: 0;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.07);
  transition: background 0.15s;
}

.car-edit-back-btn:hover {
  background: white;
}

.car-edit-heading {
  font-size: 1.2rem;
  font-weight: 700;
  color: #1d1d1f;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.car-edit-subheading {
  font-size: 0.75rem;
  color: #6e6e73;
  margin-top: 0.15rem;
}

/* Tabs */
.car-edit-tabs {
  display: flex;
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(0, 0, 0, 0.07);
  border-radius: 12px;
  padding: 3px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.car-edit-tab {
  flex: 1;
  padding: 0.5rem 0.75rem;
  border: none;
  background: transparent;
  border-radius: 9px;
  font-size: 0.84rem;
  font-weight: 600;
  color: #6e6e73;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, box-shadow 0.15s;
  font-family: inherit;
  white-space: nowrap;
}

.car-edit-tab.is-active {
  background: white;
  color: #1d1d1f;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Panels */
.car-edit-tab-panel {
  display: block;
}

.car-edit-tab-panel.is-hidden {
  display: none;
}

/* Section label */
.car-edit-section-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #8e8e93;
  margin-bottom: 0.6rem;
  margin-top: 0.1rem;
}

/* Fields panel */
.car-edit-form {
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 18px;
  padding: 1.1rem;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.055);
  margin-bottom: 1rem;
}

.car-edit-fields-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
  margin-bottom: 1rem;
}

.car-edit-field-full {
  grid-column: 1 / -1;
}

.car-edit-fields-grid .form-group label {
  font-size: 0.72rem;
  font-weight: 600;
  color: #6e6e73;
  display: block;
  margin-bottom: 0.25rem;
}

.car-edit-fields-grid .form-group input {
  width: 100%;
  border: 1.5px solid rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  padding: 0.6rem 0.7rem;
  font-size: 0.9rem;
  font-family: inherit;
  background: rgba(255, 255, 255, 0.7);
  color: #1d1d1f;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
  -webkit-appearance: none;
  appearance: none;
}

.car-edit-fields-grid .form-group input:focus {
  border-color: #007aff;
  box-shadow: 0 0 0 3px rgba(0, 122, 255, 0.13);
}

.car-edit-fields-grid .form-group input[readonly] {
  background: rgba(0, 0, 0, 0.04);
  color: #8e8e93;
}

.car-edit-hint {
  font-size: 0.65rem;
  font-weight: 400;
  color: #aeaeb2;
}

.car-edit-form-actions {
  margin-top: 0.25rem;
}

.car-edit-save-btn {
  width: 100%;
  padding: 0.85rem;
  font-size: 0.97rem;
  font-weight: 700;
  border-radius: 13px;
}

/* Danger zone */
.car-edit-danger-zone {
  background: rgba(255, 59, 48, 0.05);
  border: 1px solid rgba(255, 59, 48, 0.12);
  border-radius: 16px;
  padding: 1rem;
  margin-bottom: 1rem;
}

.car-edit-delete-btn {
  width: 100%;
  padding: 0.8rem;
  font-size: 0.92rem;
  border-radius: 12px;
}

/* Media panel */
.car-edit-cover-wrap {
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.055);
  margin-bottom: 0.65rem;
}

.car-edit-cover-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
  background: #f0f0f0;
}

.car-edit-cover-actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 0.85rem;
}

.car-edit-upload-form {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.car-edit-file-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(0, 122, 255, 0.07);
  border: 1.5px dashed rgba(0, 122, 255, 0.35);
  border-radius: 10px;
  padding: 0.6rem 0.85rem;
  font-size: 0.84rem;
  font-weight: 600;
  color: #007aff;
  cursor: pointer;
  transition: background 0.15s;
  min-height: 42px;
}

.car-edit-file-label:hover {
  background: rgba(0, 122, 255, 0.12);
}

.car-edit-file-label[data-filename]::after {
  content: attr(data-filename);
  font-size: 0.72rem;
  color: #6e6e73;
  font-weight: 400;
  margin-left: 0.25rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 140px;
}

.car-edit-file-input {
  display: none;
}

.car-edit-cover-del-btn {
  width: 100%;
}

/* Gallery grid */
.car-edit-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem;
  margin-bottom: 0.65rem;
}

.car-edit-gallery-item {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #eee;
}

.car-edit-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.car-edit-gallery-del-form {
  position: absolute;
  top: 4px;
  right: 4px;
}

.car-edit-gallery-del-btn {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border: none;
  border-radius: 50%;
  font-size: 0.8rem;
  cursor: pointer;
  color: white;
  transition: background 0.15s;
  padding: 0;
  line-height: 1;
}

.car-edit-gallery-del-btn:hover {
  background: rgba(255, 59, 48, 0.8);
}

.car-edit-empty-msg {
  font-size: 0.84rem;
  color: #8e8e93;
  text-align: center;
  padding: 1.5rem 0;
}

@media (min-width: 540px) {
  .car-edit-fields-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .car-edit-gallery-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* Media upload section */
.car-edit-media-section {
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 18px;
  padding: 1.1rem;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.055);
  margin-bottom: 1rem;
}

.car-edit-cover-upload {
  position: relative;
  width: 100%;
}

.car-edit-cover-label {
  display: block;
  cursor: pointer;
}

.car-edit-cover-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 200px;
  background: linear-gradient(135deg, rgba(0, 122, 255, 0.08) 0%, rgba(50, 200, 150, 0.08) 100%);
  border: 2px dashed rgba(0, 122, 255, 0.25);
  border-radius: 14px;
  transition: all 0.2s;
  padding: 1.5rem;
  text-align: center;
}

.car-edit-cover-label:hover .car-edit-cover-placeholder {
  background: linear-gradient(135deg, rgba(0, 122, 255, 0.12) 0%, rgba(50, 200, 150, 0.12) 100%);
  border-color: rgba(0, 122, 255, 0.4);
}

.car-edit-cover-icon {
  font-size: 2.5rem;
  line-height: 1;
}

.car-edit-cover-text {
  font-size: 0.85rem;
  font-weight: 600;
  color: #6e6e73;
  line-height: 1.4;
}

.car-edit-cover-text small {
  display: block;
  font-size: 0.75rem;
  font-weight: 400;
  color: #aeaeb2;
  margin-top: 0.2rem;
}

.car-edit-cover-preview {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  background: #eee;
}

.car-edit-cover-preview img {
  width: 100%;
  height: auto;
  display: block;
  max-height: 400px;
  object-fit: contain;
}

.car-edit-cover-clear {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(6px);
  border: none;
  border-radius: 50%;
  color: white;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.15s;
  padding: 0;
  line-height: 1;
}

.car-edit-cover-clear:hover {
  background: rgba(255, 59, 48, 0.8);
}

.car-edit-gallery-label {
  display: block;
  cursor: pointer;
}

.car-edit-gallery-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 160px;
  background: linear-gradient(135deg, rgba(52, 199, 89, 0.08) 0%, rgba(0, 122, 255, 0.08) 100%);
  border: 2px dashed rgba(52, 199, 89, 0.25);
  border-radius: 14px;
  transition: all 0.2s;
  padding: 1.5rem;
  text-align: center;
}

.car-edit-gallery-label:hover .car-edit-gallery-placeholder {
  background: linear-gradient(135deg, rgba(52, 199, 89, 0.12) 0%, rgba(0, 122, 255, 0.12) 100%);
  border-color: rgba(52, 199, 89, 0.4);
}

.car-edit-gallery-icon {
  font-size: 2rem;
  line-height: 1;
}

.car-edit-gallery-text {
  font-size: 0.85rem;
  font-weight: 600;
  color: #6e6e73;
  line-height: 1.4;
}

.car-edit-gallery-text small {
  display: block;
  font-size: 0.75rem;
  font-weight: 400;
  color: #aeaeb2;
  margin-top: 0.2rem;
}

.car-edit-gallery-preview-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 0.6rem;
  margin-top: 0.8rem;
}

.car-edit-gallery-preview-item {
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 1;
  background: #eee;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.car-edit-gallery-preview-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

input[type="file"] {
  display: none;
}

.car-edit-tab-panel.is-visible {
  display: block;
}

/* =====================================================
   Mail Page  Apple Mobile-First
   ===================================================== */

.mail-page {
  min-height: 100vh;
  background: linear-gradient(160deg, #f0f4ff 0%, #e8f0fe 50%, #fce4ec 100%);
  padding: 1rem 0 3rem;
}

.mail-wrap {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* badge on tab buttons */
.mail-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  background: #ff3b30;
  color: #fff;
  border-radius: 9px;
  font-size: 11px;
  font-weight: 700;
  margin-left: 5px;
  line-height: 1;
}

/* card list */
.mail-card-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 0.5rem;
}

.mail-card {
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  border: 1.5px solid rgba(255,255,255,0.6);
  transition: opacity 0.2s;
}

.mail-card--done {
  opacity: 0.55;
}

.mail-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}

.mail-card-name {
  font-size: 1rem;
  font-weight: 700;
  color: #1d1d1f;
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mail-status-badge {
  flex-shrink: 0;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 20px;
  letter-spacing: 0.2px;
}

.mail-status-badge--new {
  background: #fff3cd;
  color: #7d5a00;
}

.mail-status-badge--done {
  background: #e8f5e9;
  color: #2e7d32;
}

.mail-card-meta {
  font-size: 0.85rem;
  color: #6e6e73;
  margin-bottom: 6px;
}

.mail-card-contacts {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  margin-bottom: 8px;
}

.mail-card-contact-link {
  font-size: 0.85rem;
  color: #007AFF;
  text-decoration: none;
}

.mail-card-msg {
  font-size: 0.9rem;
  color: #3a3a3c;
  line-height: 1.5;
  background: rgba(0,0,0,0.03);
  border-radius: 10px;
  padding: 10px 12px;
  margin-bottom: 10px;
  word-break: break-word;
  max-height: 400px;
  overflow-y: auto;
}

.mail-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}

.mail-card-date {
  font-size: 0.78rem;
  color: #8e8e93;
}

.mail-toggle-form {
  margin: 0;
}

.mail-toggle-btn {
  border: none;
  border-radius: 20px;
  padding: 6px 14px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.15s, transform 0.12s;
}

.mail-toggle-btn:active {
  opacity: 0.7;
  transform: scale(0.96);
}

.mail-toggle-btn--done {
  background: #007AFF;
  color: #fff;
}

.mail-toggle-btn--undo {
  background: rgba(0,0,0,0.06);
  color: #6e6e73;
}

@media (min-width: 540px) {
  .mail-wrap {
    padding: 0 1.5rem;
  }
}

/* =====================================================
   Booking Page - Apple Mobile-First
   ===================================================== */

.booking-page {
  min-height: 100vh;
  background: linear-gradient(160deg, #f0f4ff 0%, #e8f0fe 50%, #fce4ec 100%);
  padding: 1rem 0 3rem;
}

.booking-wrap {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 1rem;
}

.booking-new-pill {
  display: inline-block;
  background: #ff3b30;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 12px;
}

.booking-card-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 0.5rem;
}

.booking-card {
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 16px;
  padding: 14px 16px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  border: 1.5px solid rgba(255,255,255,0.6);
  transition: opacity 0.15s;
}

.booking-card[data-status="done"],
.booking-card[data-status="aborted"] {
  opacity: 0.5;
}

.booking-card-top {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 10px;
}

.booking-card-type-icon {
  font-size: 1.6rem;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 2px;
}

.booking-card-info {
  flex: 1;
  min-width: 0;
}

.booking-card-name {
  font-size: 1rem;
  font-weight: 700;
  color: #1d1d1f;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.booking-card-car {
  font-size: 0.82rem;
  color: #6e6e73;
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.booking-status-pill {
  flex-shrink: 0;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 20px;
  white-space: nowrap;
  margin-top: 2px;
}

.booking-status-pill--new        { background: #fff3cd; color: #7d5a00; }
.booking-status-pill--in-process { background: #e3f2fd; color: #1565c0; }
.booking-status-pill--done       { background: #e8f5e9; color: #2e7d32; }
.booking-status-pill--aborted    { background: #fce4ec; color: #880e4f; }

.booking-card-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 12px;
}

.booking-card-contact {
  font-size: 0.85rem;
  color: #007AFF;
  text-decoration: none;
}

.booking-card-date {
  font-size: 0.8rem;
  color: #8e8e93;
}

.booking-card-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  border-top: 1px solid rgba(0,0,0,0.06);
  padding-top: 10px;
}

.booking-status-select-form {
  flex: 1;
  margin: 0;
}

.booking-status-select {
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
  background: rgba(0,0,0,0.04);
  border: 1.5px solid rgba(0,0,0,0.1);
  border-radius: 10px;
  padding: 8px 12px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #1d1d1f;
  cursor: pointer;
  outline: none;
}

.booking-status-select:focus { border-color: #007AFF; }

.booking-delete-form { margin: 0; flex-shrink: 0; }

.booking-delete-btn {
  background: rgba(255,59,48,0.08);
  border: none;
  border-radius: 10px;
  width: 40px;
  height: 40px;
  font-size: 1.1rem;
  cursor: pointer;
  transition: background 0.15s, transform 0.12s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.booking-delete-btn:active {
  background: rgba(255,59,48,0.18);
  transform: scale(0.93);
}

@media (min-width: 540px) {
  .booking-wrap { padding: 0 1.5rem; }
  .booking-card-meta { flex-direction: row; flex-wrap: wrap; gap: 6px 16px; }
}

/* ===== Reviews admin page ===== */
.reviews-admin-page {
  min-height: 100vh;
  background: linear-gradient(160deg, #f0f4ff 0%, #f5f5f7 45%, #eef1f8 100%);
  padding: 1rem 0 3rem;
}

.reviews-admin-wrap {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 1rem;
}

.review-admin-card-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 0.5rem;
}

.review-admin-card {
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 16px;
  padding: 14px 16px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  border: 1.5px solid rgba(255,255,255,0.6);
  transition: opacity 0.15s;
}

.review-admin-card[data-status="yes"],
.review-admin-card[data-status="no"] {
  opacity: 0.55;
}

.review-admin-card-top {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 10px;
}

.review-admin-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(0,0,0,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
  overflow: hidden;
}

.review-admin-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.review-admin-info {
  flex: 1;
  min-width: 0;
}

.review-admin-name {
  font-size: 1rem;
  font-weight: 700;
  color: #1d1d1f;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.review-admin-title {
  font-size: 0.82rem;
  color: #6e6e73;
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.review-admin-status-pill {
  flex-shrink: 0;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 20px;
  white-space: nowrap;
  margin-top: 2px;
}

.review-admin-status-pill--new { background: #fff3cd; color: #7d5a00; }
.review-admin-status-pill--yes { background: #e8f5e9; color: #2e7d32; }
.review-admin-status-pill--no  { background: #fce4ec; color: #880e4f; }

.review-admin-text {
  font-size: 0.88rem;
  color: #3a3a3c;
  line-height: 1.5;
  margin-bottom: 10px;
}

.review-text-toggle {
  display: inline-block;
  margin-top: 4px;
  background: none;
  border: none;
  color: #007aff;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
  font-family: inherit;
}

.review-admin-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 12px;
  font-size: 0.78rem;
  color: #8e8e93;
  margin-bottom: 12px;
}

.review-admin-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  border-top: 1px solid rgba(0,0,0,0.06);
  padding-top: 10px;
}

.review-status-select-form {
  flex: 1;
  margin: 0;
}

@media (min-width: 540px) {
  .reviews-admin-wrap { padding: 0 1.5rem; }
}