/* ========== EXTRACTED FROM INDEX.HTML ========== */
/* Total style blocks found: 4 */


    .lang-picker-wrapper {
      position: relative;
      display: inline-block;
      vertical-align: middle;
    }

    /* Enhanced Booking Form Styles */
    .vehicle-select {
      border: 2px solid #e0e0e0;
      border-radius: 8px;
      padding: 12px 15px;
      font-size: 16px;
      transition: all 0.3s ease;
      background: #fff;
    }

    #send_message {
      display: block !important;
      visibility: visible !important;
      opacity: 1 !important;
      background: #f59e0b !important;
      color: #fff !important;
      border: none !important;
      padding: 12px 30px !important;
      font-size: 16px !important;
      font-weight: 600 !important;
      border-radius: 8px !important;
      cursor: pointer !important;
      transition: all 0.3s ease !important;
      width: 100% !important;
      margin-top: 20px !important;
    }

    #send_message:hover {
      background: #d97706 !important;
      transform: translateY(-2px) !important;
      box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3) !important;
    }

    #send_message:disabled {
      background: #ccc !important;
      cursor: not-allowed !important;
      transform: none !important;
      box-shadow: none !important;
    }

    .field-set {
      margin-bottom: 20px;
    }

    #submit {
      margin-top: 20px;
      text-align: center;
    }

    .loading-spinner {
      display: inline-block;
      width: 16px;
      height: 16px;
      border: 2px solid #ffffff;
      border-radius: 50%;
      border-top-color: transparent;
      animation: spin 1s ease-in-out infinite;
      margin-right: 8px;
    }

    @keyframes spin {
      to {
        transform: rotate(360deg);
      }
    }

    .vehicle-select:focus {
      border-color: #f59e0b;
      box-shadow: 0 0 0 0.2rem rgba(245, 158, 11, 0.25);
      outline: none;
    }

    .vehicle-card {
      border: 1px solid #e0e0e0;
      transition: all 0.3s ease;
    }

    .vehicle-card:hover {
      border-color: #f59e0b;
      box-shadow: 0 4px 12px rgba(245, 158, 11, 0.15);
    }

    .date-time-field {
      display: flex;
      gap: 10px;
      align-items: center;
    }

    .date-time-field input[type="text"] {
      flex: 1;
      border: 2px solid #e0e0e0;
      border-radius: 8px;
      padding: 12px 15px;
    }

    #error_message {
      background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%) !important;
      color: white !important;
      border: none !important;
      border-radius: 8px !important;
      padding: 15px 20px !important;
      margin: 15px 0 20px 0 !important;
      font-size: 14px !important;
      font-weight: 500 !important;
      box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3) !important;
      position: relative !important;
      overflow: hidden !important;
    }

    #error_message:before {
      content: "⚠️";
      margin-right: 8px;
      font-size: 16px;
    }

    #error_message.show {
      animation: slideInDown 0.3s ease-out;
    }

    /* Success Message Styling */
    #error_message.success {
      background: linear-gradient(135deg, #10b981, #059669) !important;
    }

    #error_message.success:before {
      content: "✅";
      margin-right: 8px;
      font-size: 16px;
    }

    @keyframes slideInDown {
      from {
        opacity: 0;
        transform: translateY(-10px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    .location-info {
      background: #f8f9fa;
      border: 1px solid #e9ecef;
      border-radius: 6px;
      padding: 12px 15px;
      margin-top: 10px;
    }

    .location-info small {
      color: #64748b;
      font-size: 13px;
      line-height: 1.4;
    }

    .location-info i {
      color: #f59e0b;
    }

    .vehicle-select:focus {
      border-color: #f59e0b;
      box-shadow: 0 0 0 0.2rem rgba(245, 158, 11, 0.25);
      outline: none;
      font-size: 16px;
      transition: all 0.3s ease;
    }

    .date-time-field input[type="text"]:focus {
      border-color: #f59e0b;
      box-shadow: 0 0 0 0.2rem rgba(245, 158, 11, 0.25);
      outline: none;
    }

    .date-time-field select {
      border: 2px solid #e0e0e0;
      border-radius: 8px;
      padding: 12px 15px;
      font-size: 16px;
      transition: all 0.3s ease;
      background: #fff;
    }

    .date-time-field select:focus {
      border-color: #f59e0b;
      box-shadow: 0 0 0 0.2rem rgba(245, 158, 11, 0.25);
      outline: none;
    }

    .field-set input,
    .field-set textarea {
      border: 2px solid #e0e0e0;
      border-radius: 8px;
      padding: 12px 15px;
      font-size: 16px;
      transition: all 0.3s ease;
      background: #fff;
    }

    .field-set input:focus,
    .field-set textarea:focus {
      border-color: #f59e0b;
      box-shadow: 0 0 0 0.2rem rgba(245, 158, 11, 0.25);
      outline: none;
    }

    .error_input {
      border-color: #dc3545 !important;
      box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25) !important;
    }

    .field-error {
    display: none;
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
    border-radius: 8px;
    padding: 10px 12px;
    margin-top: 8px;
    font-size: 13px;
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.3);
    animation: slideInDown 0.3s ease-out;
}
    .field-error.success {
    background: linear-gradient(135deg, #10b981, #059669);
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
}
    .field-error.show {
    display: block !important;
    animation: slideInDown 0.3s ease-out;
}
    

    .radio-group {
      background: #f8f9fa;
      border: 1px solid #e9ecef;
      border-radius: 8px;
      padding: 15px;
      margin-top: 10px;
    }

    .radio-option {
      display: flex;
      align-items: center;
      margin-bottom: 12px;
      cursor: pointer;
      font-size: 14px;
      color: #475569;
      transition: all 0.3s ease;
      padding: 8px 12px;
      border-radius: 6px;
      position: relative;
    }

    .radio-option:last-child {
      margin-bottom: 0;
    }

    .radio-option:hover {
      background: rgba(245, 158, 11, 0.1);
      color: #333;
    }

    .radio-option input[type="radio"] {
      position: absolute;
      opacity: 0;
      cursor: pointer;
      height: 0;
      width: 0;
    }

    .radio-custom {
      position: relative;
      height: 18px;
      width: 18px;
      background-color: #fff;
      border: 2px solid #dee2e6;
      border-radius: 50%;
      margin-right: 12px;
      transition: all 0.3s ease;
      flex-shrink: 0;
    }
.select2-dropdown {
    -webkit-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
    touch-action: pan-y;
    overscroll-behavior: contain;
}

.select2-results__options {
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y;
}

    .radio-option input[type="radio"]:checked~.radio-custom {
      background-color: #f59e0b;
      border-color: #f59e0b;
    }

    .radio-option input[type="radio"]:checked~.radio-custom:after {
      content: "";
      position: absolute;
      display: block;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      width: 6px;
      height: 6px;
      border-radius: 50%;
      background: white;
    }

    .radio-option input[type="radio"]:focus~.radio-custom {
      box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.25);
    }

    .radio-option input[type="radio"]:checked~span:not(.radio-custom) {
      color: #333;
      font-weight: 500;
    }

    .radio-group.error_input {
      border-color: #dc3545;
      box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
    }

    .location-card {
      background: #f8f9fa;
      border: 1px solid #e9ecef;
      border-radius: 8px;
      padding: 12px;
    }

    .location-card .fw-bold {
      color: #475569;
      font-size: 13px;
    }

    .btn-main {
      background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
      border: none;
      border-radius: 8px;
      padding: 15px 30px;
      font-size: 16px;
      font-weight: 600;
      color: #fff;
      transition: all 0.3s ease;
      text-transform: uppercase;
      letter-spacing: 0.5px;
    }

    .btn-main:hover {
      background: linear-gradient(135deg, #d97706 0%, #d97706 100%);
      transform: translateY(-2px);
      box-shadow: 0 8px 25px rgba(245, 158, 11, 0.3);
      color: #fff;
    }

    .btn-main:disabled {
      background: #64748b;
      transform: none;
      box-shadow: none;
      cursor: not-allowed;
    }

    .success {
      background: #d1fae5;
      border: 1px solid #a7f3d0;
      color: #065f46;
      padding: 30px;
      border-radius: 12px;
      margin-top: 20px;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }

    .success-icon {
      animation: bounceIn 0.6s ease-out;
    }

    @keyframes bounceIn {
      0% {
        transform: scale(0.3);
        opacity: 0;
      }
      50% {
        transform: scale(1.05);
      }
      70% {
        transform: scale(0.9);
      }
      100% {
        transform: scale(1);
        opacity: 1;
      }
    }

    .booking-details {
      background: #f8f9fa;
      border: 1px solid #e0e0e0;
      border-radius: 8px;
      padding: 20px;
      margin: 20px 0;
    }

    .booking-details h5 {
      color: #333;
      margin-bottom: 15px;
      font-weight: 600;
    }

    .booking-details p {
      margin-bottom: 8px;
      color: #666;
    }

    .booking-details strong {
      color: #333;
    }

    .booking-info .alert {
      border-radius: 8px;
      border: none;
      background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
      color: #1e40af;
      padding: 15px 20px;
    }

    .booking-info .alert i {
      margin-right: 8px;
    }

    .booking-info .alert ul {
      padding-left: 20px;
    }

    .booking-info .alert li {
      margin-bottom: 5px;
      font-size: 14px;
    }

    .error {
      background: #fee2e2;
      border: 1px solid #fecaca;
      color: #991b1b;
      padding: 15px;
      border-radius: 8px;
      margin-top: 10px;
    }

    .price-summary {
      background: #f8f9fa;
      border: 1px solid #e0e0e0;
      border-radius: 12px;
      padding: 15px;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
      margin-bottom: 20px;
    }

    .price-summary h5 {
      color: #333;
      font-weight: 600;
      margin-bottom: 12px;
      font-size: 16px;
    }

    .price-breakdown {
      font-size: 13px;
    }

    .price-item {
      color: #666;
      margin-bottom: 8px !important;
    }

    .price-item.fw-bold {
      color: #333;
      font-size: 15px;
      margin-top: 10px;
    }

    .price-item .text-primary {
      color: #f59e0b !important;
      font-weight: 700;
    }

    .price-summary hr {
      margin: 10px 0;
      border-color: #e0e0e0;
    }

    .price-summary-compact {
      background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
      border: 1px solid #dee2e6;
      border-radius: 8px;
      padding: 12px;
      box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
      margin-bottom: 15px;
    }

    .price-summary-compact h6 {
      color: #475569;
      font-weight: 600;
      margin-bottom: 8px;
      font-size: 14px;
      text-transform: uppercase;
      letter-spacing: 0.5px;
    }

    .price-breakdown-compact {
      font-size: 12px;
    }

    .price-item-compact {
      color: #64748b;
      margin-bottom: 4px !important;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

    .price-item-compact.total {
      color: #475569;
      font-weight: 600;
      font-size: 14px;
      margin-top: 8px;
      padding-top: 8px;
      border-top: 1px solid #dee2e6;
    }

    .price-item-compact .text-primary {
      color: #f59e0b !important;
      font-weight: 700;
    }

    .quick-book-btn {
      background: linear-gradient(135deg, #10b981 0%, #059669 100%);
      color: #fff;
      border: none;
      padding: 10px 20px;
      border-radius: 20px;
      font-weight: 600;
      cursor: pointer;
      transition: all 0.3s ease;
      font-size: 13px;
      margin-bottom: 15px;
      width: 100%;
    }

    .quick-book-btn:hover {
      transform: translateY(-1px);
      box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
    }

    body.modal-open {
      overflow: hidden;
    }

    .modal-backdrop {
      z-index: 1040;
    }

    .modal {
      z-index: 1050;
    }

    .close-modal,
    .btn-close-calc {
      cursor: pointer !important;
      z-index: 1060 !important;
      position: relative !important;
    }

    .price-calculator-content {
      pointer-events: auto !important;
    }

    .price-calculator-content {
      scroll-behavior: smooth;
      -webkit-overflow-scrolling: touch;
    }

    .modal-body {
      scroll-behavior: smooth;
      -webkit-overflow-scrolling: touch;
    }

    @media (max-width: 768px) {
      .price-calculator-content {
        width: 95%;
        margin: 5% auto;
        max-height: 90vh;
      }

      .modal-body {
        max-height: calc(90vh - 60px);
        padding: 15px;
      }

      .btn-calculate,
      .btn-close-calc {
        width: 100%;
        margin: 5px 0;
      }
    }

<style>
  /* ========== LANGUAGE PICKER STYLES ========== */
  
  .lang-picker-wrapper { 
    position: relative; 
    display: inline-block; 
    vertical-align: middle; 
  }
  
  /* Основная кнопка - glassmorphism стиль */
  .lang-picker-btn {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 4px 12px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    cursor: pointer;
    font-weight: 500;
    font-size: 14px;
    min-width: 80px;
    height: 36px;
    line-height: 1.2;
    transition: all 0.3s ease;
    color: #ffffff;
    margin-left: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  }
  
  .lang-picker-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  }
  
  .lang-picker-btn:focus, 
  .lang-picker-btn[aria-expanded="true"] {
    outline: none;
    border-color: rgba(245, 158, 11, 0.6);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 2px 12px rgba(245, 158, 11, 0.3);
  }
  
  /* Белый цвет для текста кнопки */
  .lang-picker-btn #langCode {
    color: #ffffff;
    font-weight: 600;
    margin: 0 2px 0 2px;
  }
  
  /* Стрелка dropdown */
  .lang-picker-btn svg path {
    stroke: rgba(255, 255, 255, 0.7);
    transition: stroke 0.3s ease;
  }
  
  .lang-picker-btn:hover svg path {
    stroke: rgba(255, 255, 255, 0.9);
  }
  
  /* Иконка глобуса */
  .lang-globe {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    margin-right: 3px;
  }
  
  .lang-globe svg circle,
  .lang-globe svg ellipse,
  .lang-globe svg path {
    stroke: rgba(255, 255, 255, 0.8);
    transition: stroke 0.3s ease;
  }
  
  .lang-picker-btn:hover .lang-globe svg circle,
  .lang-picker-btn:hover .lang-globe svg ellipse,
  .lang-picker-btn:hover .lang-globe svg path {
    stroke: rgba(245, 158, 11, 0.9);
  }
  
  /* Dropdown меню */
  .lang-picker-dropdown {
    display: none;
    position: absolute;
    top: 110%;
    left: 0;
    z-index: 1000;
    background: rgba(3, 27, 78, 0.98);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    padding: 4px 0;
    margin: 0;
    min-width: 120px;
    list-style: none;
    animation: fadeInDown 0.2s ease;
  }
  
  @keyframes fadeInDown {
    from {
      opacity: 0;
      transform: translateY(-10px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  .lang-picker-dropdown.open { 
    display: block; 
  }
  
  /* Опции языков */
  .lang-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    cursor: pointer;
    font-size: 14px;
    background: none;
    border: none;
    transition: all 0.2s ease;
    height: 40px;
    line-height: 1.2;
    color: rgba(255, 255, 255, 0.9);
    width: 100%;
    text-align: left;
  }
  
  .lang-option:hover,
  .lang-option:focus {
    background: rgba(245, 158, 11, 0.15);
    color: #f59e0b;
    outline: none;
  }
  
  .lang-option.selected {
    background: rgba(245, 158, 11, 0.25);
    color: #f59e0b;
    font-weight: 600;
  }
  
  .lang-option .lang-code {
    font-weight: 600;
    margin: 0;
  }
  
  /* Флаги */
  .lang-flag {
    font-size: 18px;
    width: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
  }
  
  .lang-flag img {
    width: 20px;
    height: 15px;
    border-radius: 2px;
    object-fit: cover;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  }
  
  /* ========== АДАПТАЦИЯ ПОД СОСТОЯНИЯ HEADER ========== */
  
  /* Десктоп - прозрачный header */
  @media (min-width: 992px) {
    header.transparent .lang-picker-btn {
      background: rgba(255, 255, 255, 0.08);
      border-color: rgba(255, 255, 255, 0.15);
    }
    
    header.transparent .lang-picker-btn:hover {
      background: rgba(255, 255, 255, 0.15);
    }
  }
  
  /* Десктоп - скролл с тёмным фоном */
  @media (min-width: 992px) {
    header.scroll-light .lang-picker-btn {
      background: rgba(255, 255, 255, 0.12);
      border-color: rgba(255, 255, 255, 0.25);
    }
    
    header.scroll-light .lang-picker-btn:hover {
      background: rgba(255, 255, 255, 0.18);
      border-color: rgba(255, 255, 255, 0.35);
    }
  }
  
  /* ========== МОБИЛЬНЫЕ УСТРОЙСТВА ========== */
  @media (max-width: 991px) {
    .lang-picker-btn {
      background: rgba(255, 255, 255, 0.08);
      border-color: rgba(255, 255, 255, 0.15);
      font-size: 13px;
      padding: 4px 10px;
      min-width: 70px;
      height: 34px;
    }
    
    .lang-picker-btn:hover {
      background: rgba(255, 255, 255, 0.12);
    }
    
    .lang-picker-dropdown {
      min-width: 110px;
    }
    
    .lang-option {
      font-size: 13px;
      padding: 9px 12px;
      height: 36px;
      gap: 8px;
    }
    
    .lang-flag img {
      width: 18px;
      height: 13px;
    }
  }
  
  /* Очень маленькие экраны */
  @media (max-width: 600px) {
    .lang-picker-btn { 
      font-size: 12px; 
      padding: 3px 8px; 
      min-width: 65px; 
      height: 32px;
      gap: 5px;
    }
    
    .lang-picker-dropdown { 
      min-width: 100px; 
    }
    
    .lang-option { 
      font-size: 12px; 
      padding: 8px 10px; 
      height: 34px;
      gap: 6px;
    }
    
    .lang-flag { 
      font-size: 15px; 
      width: 16px; 
    }
    
    .lang-flag img {
      width: 16px;
      height: 12px;
    }
    
    .lang-globe {
      width: 16px;
      height: 16px;
    }
    
    .lang-globe svg {
      width: 14px;
      height: 14px;
    }
  }
  
  /* ========== ACCESSIBILITY ========== */
  
  /* Focus visible для клавиатурной навигации */
  .lang-picker-btn:focus-visible {
    outline: 2px solid #f59e0b;
    outline-offset: 2px;
  }
  
  .lang-option:focus-visible {
    outline: 2px solid #f59e0b;
    outline-offset: -2px;
  }
  
  /* Disabled состояние */
  .lang-picker-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
  }
  
  .lang-picker-btn:disabled:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: none;
  }
.fleet-car-grid.car-list-row {
      display: flex;
      flex-wrap: wrap;
      margin-left: 0;
      margin-right: 0;
      gap: 1.5rem 0;
      justify-content: center;
    }

    .fleet-car-grid .col-xl-4,
    .fleet-car-grid .col-lg-4 {
      padding-left: 10px;
      padding-right: 10px;
      margin-bottom: 24px;
      max-width: 320px;
      flex: 1 1 260px;
      display: flex;
    }

    .de-item.mb30 {
      transition: box-shadow 0.25s, transform 0.25s;
      margin-bottom: 0 !important;
      border-radius: 10px;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
      padding: 0.7rem 0.7rem 1.1rem 0.7rem;
      background: #fff;
      width: 100%;
      display: flex;
      flex-direction: column;
      height: 100%;
      min-height: 420px;
    }

    .car-unavailable {
      opacity: 0.6;
      pointer-events: none;
      filter: grayscale(0.7);
    }

    .img-unavailable img {
      filter: grayscale(0.22) brightness(0.96);
    }

    .unavailable-badge {
      position: absolute;
      top: 0px;
      right: 0;
      background: #ef4444;
      color: #fff;
      font-size: 0.52rem;
      font-weight: 700;
      letter-spacing: 0.04em;
      text-transform: uppercase;
      padding: 5px 14px 4px 14px;
      border-radius: 7px;
      z-index: 2;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.10);
      pointer-events: none;
      border: none;
    }

    .btn-unavailable {
      background: #ececec !important;
      color: #888 !important;
      border: 2px solid #ececec !important;
      cursor: not-allowed !important;
      pointer-events: none;
      font-weight: 700;
      border-radius: 8px;
      display: inline-block;
      box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
      transition: background 0.2s, color 0.2s, border 0.2s;
    }

    .d-img {
      position: relative;
      margin-bottom: 1rem;
      border-radius: 8px;
      overflow: hidden;
      background: #f8f9fa;
      height: 200px;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .car-gallery .d-img {
      height: 200px;
    }

    .car-gallery .d-img img {
      height: 100%;
      object-fit: cover;
      max-height: 200px;
    }

    .d-img img {
      width: 100%;
      height: auto;
      object-fit: cover;
    }

    .d-info {
      flex: 1 1 auto;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
    }

    .d-text {
      flex: 1 1 auto;
    }

    .d-item_like {
      margin-bottom: 0.5rem;
    }

    .d-atr-group {
      display: flex;
      flex-wrap: wrap;
      gap: 0.5rem 1rem;
      margin-bottom: 0.7rem;
      font-size: 0.98rem;
    }

    .d-atr img {
      width: 18px;
      height: 18px;
      margin-right: 4px;
      vertical-align: middle;
    }

    .d-price {
      font-weight: 600;
      margin-bottom: 0.7rem;
      color: #3b82f6;
    }

    .btn-main {
      margin-top: 0.5rem;
      width: 100%;
      text-align: center;
    }

    @media (max-width: 991px) {
      .fleet-car-grid.car-list-row {
        flex-direction: row;
      }
    }
    

    @media (max-width: 600px) {
      .fleet-car-grid {
        grid-template-columns: 1fr;
      }

      .fleet-car-card {
        padding: 1rem 0.5rem 1.2rem 0.5rem;
      }
    }

    #section-cars .fleet-car-grid.car-list-row {
      display: flex;
      flex-wrap: wrap;
      margin-left: 0;
      margin-right: 0;
      gap: 1.5rem 0;
      justify-content: center;
    }

    #section-cars .fleet-car-grid .col-xl-4,
    #section-cars .fleet-car-grid .col-lg-4 {
      padding-left: 10px;
      padding-right: 10px;
      margin-bottom: 24px;
      max-width: 320px;
      flex: 1 1 260px;
      display: flex;
    }

    #section-cars .de-item.mb30 {
      transition: box-shadow 0.25s, transform 0.25s;
      margin-bottom: 0 !important;
      border-radius: 10px;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
      padding: 0.7rem 0.7rem 1.1rem 0.7rem;
      background: #fff;
      width: 100%;
      display: flex;
      flex-direction: column;
      height: 100%;
      min-height: 420px;
    }

    #section-cars .car-unavailable {
      opacity: 0.6;
      pointer-events: none;
      filter: grayscale(0.7);
    }

    #section-cars .img-unavailable img {
      filter: grayscale(0.22) brightness(0.96);
    }

    #section-cars .unavailable-badge {
      position: absolute;
      top: 0px;
      right: 0;
      background: #ef4444;
      color: #fff;
      font-size: 0.52rem;
      font-weight: 700;
      letter-spacing: 0.04em;
      text-transform: uppercase;
      padding: 5px 14px 4px 14px;
      border-radius: 7px;
      z-index: 2;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.10);
      pointer-events: none;
      border: none;
    }

    #section-cars .d-img {
      position: relative;
      margin-bottom: 1rem;
      border-radius: 8px;
      overflow: hidden;
      background: #f8f9fa;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    #section-cars .d-img img {
      width: 100%;
      height: 100%;
      object-fit: contain;
      max-width: 100%;
      max-height: 200px;
    }

    #section-cars .d-info {
      flex: 1 1 auto;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
    }

    #section-cars .d-text {
      display: flex;
      flex-direction: column;
      height: 100%;
      min-height: 200px;
    }

    #section-cars .d-text .btn-main {
      margin-top: auto;
      align-self: flex-start;
    }

    #section-cars .d-text .btn-unavailable {
      margin-top: auto;
      align-self: flex-start;
    }

    #section-cars .d-item_like {
      margin-bottom: 0.5rem;
    }

    #section-cars .d-atr-group {
      display: flex;
      flex-wrap: wrap;
      gap: 0.5rem 1rem;
      margin-bottom: 0.7rem;
      font-size: 0.98rem;
    }

    #section-cars .d-atr img {
      width: 18px;
      height: 18px;
      margin-right: 4px;
      vertical-align: middle;
    }

    #section-cars .d-price {
      font-weight: 600;
      margin-bottom: 0.7rem;
      color: #031B4E;
    }

    #section-cars .btn-main {
      margin-top: 0.5rem;
      width: 100%;
      text-align: center;
    }

    @media (max-width: 991px) {
      #section-cars .fleet-car-grid.car-list-row {
        flex-direction: row;
      }
    }

    @media (max-width: 600px) {
      #section-cars .fleet-car-grid .col-xl-4,
      #section-cars .fleet-car-grid .col-lg-4 {
        min-width: 100%;
        max-width: 100%;
        padding-left: 0;
        padding-right: 0;
      }

      #section-cars .de-item.mb30 {
        padding: 1rem 0.5rem 1.2rem 0.5rem;
      }
    }

    .de-item.premium {
      border: 3px solid #f59e0b;
      box-shadow: 0 8px 25px rgba(255, 215, 0, 0.3);
      transform: scale(1.02);
      transition: all 0.3s ease;
    }

    .de-item.premium:hover {
      transform: scale(1.05);
      box-shadow: 0 12px 35px rgba(255, 215, 0, 0.4);
    }

    .premium-badge {
      position: absolute;
      top: 0px;
      left: 0px;
      background: linear-gradient(135deg, #f59e0b, #fbbf24);
      color: #333;
      font-size: 0.6rem;
      font-weight: 700;
      letter-spacing: 0.04em;
      text-transform: uppercase;
      padding: 6px 12px 5px 12px;
      border-radius: 0 0 7px 0;
      z-index: 3;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
      border: none;
      max-width: 120px;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    .contact-popup-overlay {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0, 0, 0, 0.7);
      display: none;
      justify-content: center;
      align-items: center;
      z-index: 9999;
      backdrop-filter: blur(5px);
    }

    .contact-popup {
      background: linear-gradient(135deg, #1e293b, #1e293b);
      border-radius: 20px;
      padding: 0;
      max-width: 500px;
      width: 90%;
      max-height: 80vh;
      overflow: hidden;
      box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
      position: relative;
      animation: popupSlideIn 0.3s ease-out;
    }

    @keyframes popupSlideIn {
      from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
      }
      to {
        opacity: 1;
        transform: translateY(0) scale(1);
      }
    }

    .contact-popup-header {
      background: linear-gradient(135deg, #334155, #334155);
      padding: 20px 25px 20px 25px;
      text-align: center;
      border-bottom: 1px solid rgba(255, 255, 255, 0.1);
      position: relative;
    }

    .contact-popup-header h3 {
      color: #ffffff;
      margin: 0 0 5px 0;
      font-size: 18px;
      font-weight: 600;
    }

    .contact-popup-header p {
      color: #94a3b8;
      margin: 0;
      font-size: 14px;
    }

    .contact-popup-close {
      position: absolute;
      top: 20px;
      right: 20px;
      background: rgba(255, 255, 255, 0.15);
      border: none;
      color: #ffffff;
      width: 35px;
      height: 35px;
      border-radius: 50%;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: all 0.3s ease;
      z-index: 10;
    }

    .contact-popup-close:hover {
      background: rgba(255, 255, 255, 0.25);
      transform: scale(1.1);
    }

    .contact-popup-close i {
      font-size: 16px;
    }

    .contact-popup-body {
      padding: 20px;
    }

    .contact-option {
      display: flex;
      align-items: center;
      padding: 15px 20px;
      margin-bottom: 10px;
      background: rgba(255, 255, 255, 0.05);
      border-radius: 12px;
      cursor: pointer;
      transition: all 0.3s ease;
      border: 1px solid rgba(255, 255, 255, 0.1);
    }

    .contact-option:hover {
      background: rgba(255, 255, 255, 0.1);
      transform: translateX(5px);
      border-color: rgba(255, 255, 255, 0.2);
    }

    .contact-option:last-child {
      margin-bottom: 0;
    }

    .contact-option-icon {
      width: 45px;
      height: 45px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      margin-right: 1.5vw;
      font-size: 18px;
      color: #ffffff;
      background: linear-gradient(135deg, #3498db, #2980b9);
    }

    .contact-option:nth-child(1) .contact-option-icon {
      background: linear-gradient(135deg, #25d366, #128c7e);
    }

    .contact-option:nth-child(2) .contact-option-icon {
      background: linear-gradient(135deg, #7360f2, #5b4bc4);
    }

    .contact-option:nth-child(3) .contact-option-icon {
      background: linear-gradient(135deg, #0088cc, #006699);
    }

    .contact-option:nth-child(4) .contact-option-icon {
      background: linear-gradient(135deg, #e74c3c, #c0392b);
    }

    .contact-option-content {
      flex: 1;
    }

    .contact-option-title {
      color: #ffffff;
      font-weight: 600;
      font-size: 16px;
      margin-bottom: 2px;
    }

    .contact-option-subtitle {
      color: #94a3b8;
      font-size: 13px;
    }

    .floating-contact-btn {
      position: fixed;
      bottom: 80px;
      right: 30px;
      width: 60px;
      height: 60px;
      background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      box-shadow: 0 4px 20px rgba(59, 130, 246, 0.4);
      z-index: 1000;
      transition: all 0.3s ease;
      animation: bounce 2s infinite;
    }

    .floating-contact-btn:hover {
      transform: scale(1.1);
      box-shadow: 0 6px 25px rgba(59, 130, 246, 0.6);
    }

    .floating-contact-btn i {
      color: #ffffff;
      font-size: 24px;
    }

    @keyframes bounce {
      0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
      }
      40% {
        transform: translateY(-10px);
      }
      60% {
        transform: translateY(-5px);
      }
    }

    @media (max-width: 768px) {
      .contact-popup {
        width: 85%;
        max-width: 350px;
        max-height: 75vh;
        margin-right: 10px;
      }

      .contact-popup-header {
        padding: 15px 20px;
      }

      .contact-popup-header h3 {
        font-size: 16px;
        padding-right: 40px;
      }

      .contact-popup-header p {
        font-size: 13px;
        padding-right: 40px;
      }

      .contact-popup-close {
        top: 15px;
        right: 15px;
        width: 30px;
        height: 30px;
      }

      .contact-popup-close i {
        font-size: 14px;
      }

      .floating-contact-btn {
        bottom: 70px;
        right: 20px;
        width: 55px;
        height: 55px;
        font-size: 20px;
      }

      .contact-option {
        padding: 12px 15px;
      }

      .contact-option-icon {
        width: 40px;
        height: 40px;
      }

      .contact-option-icon i {
        font-size: 16px;
      }

      .contact-option-title {
        font-size: 14px;
      }

      .contact-option-subtitle {
        font-size: 12px;
      }
    }

    .modal-return-date-picker {
      right: 0 !important;
    }

    .flatpickr-calendar.animate.static.arrowBottom.arrowLeft.open:after {
      display: none !important;
    }

    .flatpickr-calendar.animate.static.arrowBottom.arrowLeft.open:before {
      display: none !important;
    }
  

/* ========== EXTRACTED STYLES ========== */


    /* ========== PRICE CALCULATOR MODAL - WORLD-CLASS DESIGN ========== */
    
    /* Modal Overlay with Blur Effect */
    .price-calculator-modal {
      display: none;
      position: fixed !important;
      z-index: 9999 !important;
      left: 0 !important;
      top: 0 !important;
      width: 100% !important;
      height: 100vh !important;
      overflow: hidden !important;
      background: rgba(15, 23, 42, 0.85);
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
      animation: fadeIn 0.3s ease-out;
    }


    @keyframes fadeIn {
      from {
        opacity: 0;
      }
      to {
        opacity: 1;
      }
    }

    /* Modern Calculator Content Container */
    .price-calculator-content {
      background: linear-gradient(145deg, 
        rgba(255, 255, 255, 0.95) 0%, 
        rgba(248, 250, 252, 0.98) 100%);
      margin: 3% auto;
      padding: 0;
      border-radius: 24px;
      width: 90%;
      max-width: 680px;
      box-shadow: 
        0 25px 50px -12px rgba(0, 0, 0, 0.25),
        0 0 0 1px rgba(255, 255, 255, 0.1),
        inset 0 1px 0 0 rgba(255, 255, 255, 0.8);
      animation: slideUpFadeIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
      max-height: 90vh;
      overflow: hidden;
      display: flex;
      flex-direction: column;
    }

    @keyframes slideUpFadeIn {
      from {
        opacity: 0;
        transform: translateY(40px) scale(0.96);
      }
      to {
        opacity: 1;
        transform: translateY(0) scale(1);
      }
    }

    /* Glassmorphism Header */
    .modal-header {
      background: linear-gradient(135deg, 
        #667eea 0%, 
        #5568d3 100%);
      color: #fff;
      padding: 28px 32px;
      position: relative;
      border-radius: 24px 24px 0 0;
      box-shadow: 
        0 4px 20px rgba(102, 126, 234, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    }

    .modal-header::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: linear-gradient(180deg, 
        rgba(255, 255, 255, 0.1) 0%, 
        transparent 100%);
      border-radius: 24px 24px 0 0;
      pointer-events: none;
    }

    .modal-header h4 {
      margin: 0;
      font-weight: 700;
      font-size: 24px;
      letter-spacing: -0.5px;
      display: flex;
      align-items: center;
      gap: 12px;
      position: relative;
      z-index: 1;
    }

    .modal-header h4 i {
      font-size: 28px;
      opacity: 0.95;
    }

    /* Modern Close Button */
    .close-modal {
      position: absolute;
      right: 24px;
      top: 50%;
      transform: translateY(-50%);
      background: rgba(255, 255, 255, 0.2);
      backdrop-filter: blur(10px);
      border: 1px solid rgba(255, 255, 255, 0.3);
      color: #fff;
      width: 40px;
      height: 40px;
      border-radius: 12px;
      font-size: 20px;
      cursor: pointer;
      transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
      display: flex;
      align-items: center;
      justify-content: center;
      z-index: 2;
    }

    .close-modal:hover {
      background: rgba(255, 255, 255, 0.3);
      transform: translateY(-50%) rotate(90deg);
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    }

    .close-modal:active {
      transform: translateY(-50%) scale(0.95);
    }

    /* Scrollable Modal Body */
    .modal-body {
      padding: 32px;
      overflow-y: auto;
      overflow-x: hidden;
      max-height: calc(90vh - 200px);
      scrollbar-width: thin;
      scrollbar-color: rgba(102, 126, 234, 0.3) transparent;
    }

    .modal-body::-webkit-scrollbar {
      width: 6px;
    }

    .modal-body::-webkit-scrollbar-track {
      background: transparent;
    }

    .modal-body::-webkit-scrollbar-thumb {
      background: rgba(102, 126, 234, 0.3);
      border-radius: 3px;
    }

    .modal-body::-webkit-scrollbar-thumb:hover {
      background: rgba(102, 126, 234, 0.5);
    }

    /* Modern Info Card */
    .tariff-info {
      background: linear-gradient(135deg, 
        rgba(102, 126, 234, 0.08) 0%, 
        rgba(102, 126, 234, 0.08) 100%);
      border: 1px solid rgba(102, 126, 234, 0.2);
      border-radius: 16px;
      padding: 20px;
      margin-bottom: 24px;
      position: relative;
      overflow: hidden;
    }

    .tariff-info::before {
      content: '';
      position: absolute;
      left: 0;
      top: 0;
      bottom: 0;
      width: 4px;
      background: linear-gradient(180deg, #667eea 0%, #5568d3 100%);
      border-radius: 16px 0 0 16px;
    }

    .tariff-info h6 {
      color: #1e293b;
      font-weight: 700;
      margin-bottom: 16px;
      font-size: 16px;
      display: flex;
      align-items: center;
      gap: 8px;
    }

    .tariff-info h6 i {
      color: #667eea;
      font-size: 18px;
    }

    .tariff-details {
      font-size: 14px;
      color: #475569;
      line-height: 1.8;
    }

    .tariff-details > div {
      padding: 8px 0;
      border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }

    .tariff-details > div:last-child {
      border-bottom: none;
    }

    .working-hours {
      color: #10b981;
      font-weight: 600;
    }

    .outside-hours {
      color: #f59e0b;
      font-weight: 600;
    }

    .location-fees {
      color: #3b82f6;
      font-weight: 600;
    }

    /* Calculator Section */
    .calculator-section {
      margin-bottom: 28px;
    }

    .calculator-section h5 {
      color: #1e293b;
      font-size: 18px;
      font-weight: 700;
      margin-bottom: 16px;
      display: flex;
      align-items: center;
      gap: 10px;
      letter-spacing: -0.3px;
    }

   .vehicle-year {
     display: flex;
     align-items: center;
     gap: 4px;
     margin-top: 4px;
    }

    .vehicle-year .text-muted {
      font-size: 12px;
    }

    .vehicle-year .fw-bold {
      font-size: 13px;
      color: #667eea;
    }
    .calculator-section h5 i {
      color: #667eea;
      font-size: 20px;
    }

    /* Modern Form Controls */
    .form-control-sm {
      padding: 12px 16px;
      font-size: 14px;
      border-radius: 12px;
      border: 1px solid #e2e8f0;
      transition: all 0.3s ease;
      background: #fff;
      font-weight: 500;
    }

    .form-control-sm:focus {
      border-color: #667eea;
      box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
      outline: none;
      background: #fff;
    }

    .form-control-sm:hover {
      border-color: #cbd5e1;
    }

    .form-label.small {
      font-size: 13px;
      font-weight: 600;
      margin-bottom: 8px;
      color: #475569;
      display: block;
      letter-spacing: 0.3px;
    }

    /* Modern Vehicle Card */
    .vehicle-card {
      background: linear-gradient(135deg, 
        rgba(245, 158, 11, 0.05) 0%, 
        rgba(255, 255, 255, 0.8) 100%);
      border: 2px solid rgba(245, 158, 11, 0.2);
      border-radius: 16px;
      padding: 16px;
      transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .vehicle-card:hover {
      border-color: rgba(245, 158, 11, 0.4);
      box-shadow: 0 8px 24px rgba(245, 158, 11, 0.15);
      transform: translateY(-2px);
    }

    .vehicle-card img {
      border-radius: 10px;
      transition: transform 0.3s ease;
    }

    .vehicle-card:hover img {
      transform: scale(1.05);
    }

    .vehicle-card h6 {
      color: #1e293b;
      font-weight: 700;
      font-size: 16px;
      margin-bottom: 4px;
    }

    .vehicle-card p {
      color: #64748b;
      font-size: 13px;
      margin-bottom: 8px;
    }

    .vehicle-price {
      display: flex;
      align-items: center;
      gap: 4px;
    }

    .vehicle-price .text-primary {
      color: #667eea !important;
      font-weight: 700;
      font-size: 18px;
    }

    /* Location Card */
    .location-card {
      background: linear-gradient(135deg, 
        rgba(59, 130, 246, 0.05) 0%, 
        rgba(147, 197, 253, 0.05) 100%);
      border: 1px solid rgba(59, 130, 246, 0.2);
      border-radius: 12px;
      padding: 16px;
    }

    .location-card .fw-bold {
      color: #1e293b;
      font-size: 14px;
      font-weight: 600;
    }

    .location-card small {
      color: #64748b;
      font-size: 12px;
    }

    /* Premium Price Summary */
    .modal-price-summary {
      background: linear-gradient(145deg, 
        rgba(16, 185, 129, 0.05) 0%, 
        rgba(167, 243, 208, 0.08) 100%);
      border: 2px solid rgba(16, 185, 129, 0.2);
      border-radius: 20px;
      padding: 24px;
      margin-top: 28px;
      position: relative;
      overflow: hidden;
    }

    .modal-price-summary::before {
      content: '';
      position: absolute;
      top: 0;
      right: 0;
      width: 200px;
      height: 200px;
      background: radial-gradient(circle, 
        rgba(16, 185, 129, 0.1) 0%, 
        transparent 70%);
      border-radius: 50%;
      transform: translate(50%, -50%);
    }

    .modal-price-summary h5 {
      color: #1e293b;
      font-weight: 700;
      margin-bottom: 20px;
      text-align: center;
      font-size: 18px;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      position: relative;
      z-index: 1;
    }

    .modal-price-summary h5 i {
      color: #10b981;
      font-size: 20px;
    }

    .modal-price-item {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 12px 0;
      font-size: 15px;
      color: #475569;
      border-bottom: 1px solid rgba(0, 0, 0, 0.06);
      position: relative;
      z-index: 1;
    }

    .modal-price-item:last-child {
      border-bottom: none;
    }

    .modal-price-item span:first-child {
      font-weight: 500;
    }

    .modal-price-item span:last-child {
      font-weight: 600;
      color: #1e293b;
    }

    .modal-price-item.total {
      color: #1e293b;
      font-weight: 700;
      font-size: 20px;
      margin-top: 8px;
      padding-top: 16px;
      border-top: 2px solid rgba(16, 185, 129, 0.3);
      border-bottom: none;
    }

    .modal-price-item.total .text-primary {
      color: #10b981 !important;
      font-size: 24px;
      letter-spacing: -0.5px;
    }

    /* Modern Action Buttons */
    .modal-actions {
      text-align: center;
      margin-top: 28px;
      display: flex;
      gap: 12px;
      flex-wrap: wrap;
    }

    .btn-calculate {
      flex: 1;
      min-width: 180px;
      background: linear-gradient(135deg, #10b981 0%, #059669 100%);
      color: #fff;
      border: none;
      padding: 16px 32px;
      border-radius: 14px;
      font-weight: 700;
      font-size: 15px;
      cursor: pointer;
      transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
      box-shadow: 0 4px 14px rgba(16, 185, 129, 0.3);
      letter-spacing: 0.3px;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
    }

    .btn-calculate:hover {
      transform: translateY(-2px);
      box-shadow: 0 8px 20px rgba(16, 185, 129, 0.4);
      background: linear-gradient(135deg, #059669 0%, #059669 100%);
    }

    .btn-calculate:active {
      transform: translateY(0);
    }

    .btn-close-calc {
      flex: 1;
      min-width: 140px;
      background: linear-gradient(135deg, #64748b 0%, #475569 100%);
      color: #fff;
      border: none;
      padding: 16px 28px;
      border-radius: 14px;
      font-weight: 600;
      font-size: 15px;
      cursor: pointer;
      transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
      box-shadow: 0 4px 14px rgba(100, 116, 139, 0.2);
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
    }

    .btn-close-calc:hover {
      background: linear-gradient(135deg, #475569 0%, #334155 100%);
      transform: translateY(-2px);
      box-shadow: 0 8px 20px rgba(100, 116, 139, 0.3);
    }

    .btn-close-calc:active {
      transform: translateY(0);
    }

    /* Mobile Responsive Design */
    @media (max-width: 768px) {
      .price-calculator-content {
        margin: 2% auto;
        width: 96%;
        max-width: none;
        max-height: 95vh;
        border-radius: 20px;
      }

      .modal-header {
        padding: 20px 24px;
        border-radius: 20px 20px 0 0;
      }

      .modal-header h4 {
        font-size: 20px;
        padding-right: 40px;
      }

      .close-modal {
        right: 20px;
        width: 36px;
        height: 36px;
        font-size: 18px;
      }

      .modal-body {
        padding: 24px 20px;
        max-height: calc(95vh - 180px);
      }

      .calculator-section {
        margin-bottom: 20px;
      }

      .calculator-section h5 {
        font-size: 16px;
        margin-bottom: 12px;
      }

      .tariff-info {
        padding: 16px;
        margin-bottom: 20px;
      }

      .tariff-info h6 {
        font-size: 14px;
        margin-bottom: 12px;
      }

      .tariff-details {
        font-size: 13px;
      }

      .modal-price-summary {
        padding: 20px;
        margin-top: 20px;
        border-radius: 16px;
      }

      .modal-price-summary h5 {
        font-size: 16px;
        margin-bottom: 16px;
      }

      .modal-price-item {
        font-size: 14px;
        padding: 10px 0;
      }

      .modal-price-item.total {
        font-size: 18px;
        padding-top: 14px;
      }

      .modal-price-item.total .text-primary {
        font-size: 20px;
      }

      .modal-actions {
        margin-top: 20px;
        flex-direction: column;
        gap: 10px;
      }

      .btn-calculate,
      .btn-close-calc {
        width: 100%;
        min-width: 100%;
        padding: 14px 24px;
        font-size: 14px;
      }
    }

    @media (max-width: 480px) {
      .price-calculator-content {
        width: 98%;
        max-height: 96vh;
        border-radius: 16px;
      }

      .modal-header {
        padding: 18px 20px;
        border-radius: 16px 16px 0 0;
      }

      .modal-header h4 {
        font-size: 18px;
      }

      .modal-header h4 i {
        font-size: 22px;
      }

      .close-modal {
        right: 16px;
        width: 32px;
        height: 32px;
        font-size: 16px;
      }

      .modal-body {
        padding: 20px 16px;
      }

      .calculator-section h5 {
        font-size: 15px;
      }

      .calculator-section h5 i {
        font-size: 18px;
      }

      .tariff-info {
        padding: 14px;
      }

      .form-control-sm {
        padding: 10px 14px;
        font-size: 13px;
      }

      .vehicle-card {
        padding: 12px;
      }

      .modal-price-summary {
        padding: 16px;
      }
    }
      /* ========== TOAST NOTIFICATIONS - MODERN DESIGN ========== */

/* ========== TOAST NOTIFICATIONS - MODERN DESIGN ========== */
#toast-container {
    position: fixed !important;
    bottom: 20px !important;
    right: 20px !important;
    z-index: 999999 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    max-width: 400px !important;
    pointer-events: none !important;
    background: none !important;
    background-size: initial !important;
    background-repeat: initial !important;
}

.toast-notification {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%) !important;
    color: white !important;
    padding: 16px 20px !important;
    border-radius: 12px !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3) !important;
    display: flex !important;
    align-items: flex-start !important;
    gap: 12px !important;
    min-width: 300px !important;
    max-width: 400px !important;
    pointer-events: auto !important;
    animation: slideInRight 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
    position: relative !important;
    overflow: hidden !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateX(0) !important;
}

.toast-notification::before {
    content: '' !important;
    position: absolute !important;
    left: 0 !important;
    top: 0 !important;
    bottom: 0 !important;
    width: 4px !important;
    background: #3b82f6 !important;
}

.toast-notification.error::before {
    background: linear-gradient(180deg, #ef4444, #dc2626) !important;
}

.toast-notification.success::before {
    background: linear-gradient(180deg, #10b981, #059669) !important;
}

.toast-notification.warning::before {
    background: linear-gradient(180deg, #f59e0b, #d97706) !important;
}

.toast-notification.info::before {
    background: linear-gradient(180deg, #3b82f6, #2563eb) !important;
}

.toast-icon {
    width: 24px !important;
    height: 24px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
    font-size: 14px !important;
    font-weight: 700 !important;
}

.toast-notification.error .toast-icon {
    background: rgba(239, 68, 68, 0.2) !important;
    color: #fca5a5 !important;
}

.toast-notification.success .toast-icon {
    background: rgba(16, 185, 129, 0.2) !important;
    color: #6ee7b7 !important;
}

.toast-notification.warning .toast-icon {
    background: rgba(245, 158, 11, 0.2) !important;
    color: #fcd34d !important;
}

.toast-notification.info .toast-icon {
    background: rgba(59, 130, 246, 0.2) !important;
    color: #93c5fd !important;
}

.toast-content {
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 4px !important;
}

.toast-title {
    font-weight: 600 !important;
    font-size: 14px !important;
    line-height: 1.2 !important;
    color: white !important;
}

.toast-message {
    font-size: 13px !important;
    line-height: 1.4 !important;
    opacity: 0.9 !important;
    color: white !important;
}

.toast-close {
    width: 20px !important;
    height: 20px !important;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, 0.1) !important;
    border: none !important;
    color: white !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
    font-size: 12px !important;
    transition: all 0.2s ease !important;
    opacity: 0.7 !important;
}

.toast-close:hover {
    background: rgba(255, 255, 255, 0.2) !important;
    opacity: 1 !important;
    transform: scale(1.1) !important;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideOutRight {
    from {
        opacity: 1;
        transform: translateX(0);
    }
    to {
        opacity: 0;
        transform: translateX(120%);
    }
}

.toast-notification.removing {
    animation: slideOutRight 0.3s cubic-bezier(0.4, 0, 1, 1) !important;
}

@media (max-width: 768px) {
    #toast-container {
        bottom: 10px !important;
        right: 10px !important;
        left: 10px !important;
        max-width: none !important;
    }
    
    .toast-notification {
        min-width: auto !important;
        max-width: none !important;
    }
}
    /* Landscape Mode Adjustments */
    @media (max-width: 768px) and (orientation: landscape) {
      .price-calculator-content {
        max-height: 98vh;
        margin: 1% auto;
      }

      .modal-body {
        max-height: calc(98vh - 160px);
      }

      .calculator-section {
        margin-bottom: 16px;
      }

      .tariff-info {
        padding: 12px;
        margin-bottom: 16px;
      }

      .modal-price-summary {
        padding: 16px;
        margin-top: 16px;
      }

      .modal-actions {
        margin-top: 16px;
      }
    }

    /* High Contrast Mode Support */
    @media (prefers-contrast: high) {
      .price-calculator-content {
        border: 3px solid #1e293b;
      }

      .modal-header {
        border-bottom: 2px solid rgba(255, 255, 255, 0.3);
      }

      .form-control-sm:focus {
        border-width: 3px;
      }
    }

    /* Reduced Motion Support */
    @media (prefers-reduced-motion: reduce) {
      .price-calculator-modal,
      .price-calculator-content,
      .btn-calculate,
      .btn-close-calc,
      .vehicle-card {
        animation: none;
        transition: none;
      }

      .close-modal:hover {
        transform: translateY(-50%);
      }
    }
  

/* ========== EXTRACTED STYLES ========== */


/* ========== FLATPICKR CALENDAR - ОЧИЩЕННЫЙ И ОПТИМИЗИРОВАННЫЙ ========== */
.flatpickr-calendar {
  opacity: 0 !important;
  display: none !important;
  visibility: hidden !important;
  position: absolute !important;
  z-index: 99999 !important;
}

.flatpickr-calendar.open {
  opacity: 1 !important;
  display: inline-block !important;
  visibility: visible !important;
}

.flatpickr-wrapper {
  position: relative !important;
  display: inline-block !important;
}

/* Base Calendar Container */
.flatpickr-calendar {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 20px;
  box-shadow: 
    0 25px 50px -12px rgba(0, 0, 0, 0.25),
    0 0 0 1px rgba(0, 0, 0, 0.05),
    inset 0 1px 0 0 rgba(255, 255, 255, 0.9);
  border: none !important;
  overflow: visible !important;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
  font-size: 14px;
  max-height: 420px !important;
  transform: translate3d(0, 0, 0);
  will-change: transform;
  animation: calendarFadeIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes calendarFadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Touch and Interaction Protection */
.flatpickr-calendar,
.flatpickr-calendar * {
  touch-action: manipulation !important;
  -webkit-tap-highlight-color: transparent !important;
  -webkit-touch-callout: none !important;
  -webkit-user-select: none !important;
  -moz-user-select: none !important;
  user-select: none !important;
}

/* Modern Header with Gradient */
.flatpickr-months {
  background: linear-gradient(135deg, #667eea 0%, #5568d3 100%);
  padding: 20px 60px !important;
  border-radius: 20px 20px 0 0;
  position: relative !important;
  min-height: 60px !important;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5 !important;
  box-shadow: 
    0 4px 20px rgba(102, 126, 234, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.flatpickr-months::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, 
    rgba(255, 255, 255, 0.15) 0%, 
    transparent 100%);
  border-radius: 20px 20px 0 0;
  pointer-events: none;
}
.flatpickr-day.today.occupied,
.flatpickr-day.today.flatpickr-disabled.occupied {
  border: 2px solid #ef4444 !important;
  box-shadow: none !important;
}
/* Current Month Display */
.flatpickr-current-month {
  color: white;
  font-weight: 700;
  font-size: 15px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 0 4px;
  letter-spacing: 0.3px;
  position: relative;
  z-index: 1;
  gap: 3px;
  flex-wrap: nowrap;
  overflow: visible;
}

/* Month Dropdown */
.flatpickr-current-month .flatpickr-monthDropdown-months {
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(10px);
  color: white;
  font-weight: 700;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 10px;
  padding: 4px 8px;
  font-size: 15px !important;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  appearance: none;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  flex-shrink: 0;
  margin-right: -6px;
}

.flatpickr-current-month .flatpickr-monthDropdown-months:hover {
  background: rgba(255, 255, 255, 0.35);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-1px);
}

.flatpickr-current-month .flatpickr-monthDropdown-months:focus {
  outline: none !important;
  box-shadow: none !important;
  border-color: rgba(255, 255, 255, 0.5) !important;
}
/* ✅ КРИТИЧНО: Стили для раскрывающегося списка месяцев */
.flatpickr-current-month .flatpickr-monthDropdown-months option {
  background-color: #667eea !important; /* Фиолетовый фон */
  color: white !important; /* Белый текст */
  padding: 10px !important;
  font-weight: 600 !important;
}

/* При наведении на месяц в списке */
.flatpickr-current-month select.flatpickr-monthDropdown-months option:hover {
  background-color: #5568d3 !important; /* Темнее при hover */
}

/* Выбранный месяц */
.flatpickr-current-month select.flatpickr-monthDropdown-months option:checked {
  background-color: #667eea !important; /* Синий для выбранного */
  font-weight: 700 !important;
}

/* Сам select при раскрытии (для браузеров где это работает) */
.flatpickr-current-month select.flatpickr-monthDropdown-months:focus option {
  background-color: #667eea !important;
  color: white !important;
}
/* ========== YEAR DROPDOWN - ЧИСТОЕ РЕШЕНИЕ ========== */
.flatpickr-current-month .numInputWrapper {
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
  box-shadow: none !important;
  outline: none !important;
}

.flatpickr-current-month .flatpickr-year-dropdown {
  background: rgba(255, 255, 255, 0.25) !important;
  backdrop-filter: blur(10px) !important;
  color: white !important;
  font-weight: 700 !important;
  border: 2px solid rgba(255, 255, 255, 0.3) !important;
  border-radius: 10px !important;
  padding: 4px 6px !important; /* ✅ Слева меньше */
  padding-right: 26px !important; /* ✅ КРИТИЧНО: Больше справа! */
  font-size: 15px !important;
  cursor: pointer !important;
  outline: none !important;
  box-shadow: none !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2) !important;
  text-align: center !important;
  margin: 0 !important;
  min-width: 70px !important; /* ✅ Шире */
  max-width: 74px !important;
  width: 74px !important;
  box-sizing: border-box !important;
  -webkit-tap-highlight-color: transparent !important;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e") !important;
  background-repeat: no-repeat !important;
  background-position: right 5px center !important;
  background-size: 10px !important;
}

.flatpickr-current-month .flatpickr-year-dropdown:hover {
  background-color: rgba(255, 255, 255, 0.35) !important;
  transform: translateY(-1px) !important;
}

.flatpickr-current-month .flatpickr-year-dropdown:focus,
.flatpickr-current-month .flatpickr-year-dropdown:active {
  outline: none !important;
  box-shadow: none !important;
}
  
/* Modern Navigation Arrows */
.flatpickr-prev-month,
.flatpickr-next-month {
  fill: white;
  position: absolute !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  z-index: 10 !important;
  width: 44px !important;
  height: 44px !important;
  padding: 0 !important;
  background: rgba(255, 255, 255, 0.2) !important;
  backdrop-filter: blur(10px) !important;
  border-radius: 12px !important;
  opacity: 1 !important;
  visibility: visible !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.flatpickr-prev-month {
  left: 8px !important;
}

.flatpickr-next-month {
  right: 8px !important;
}

.flatpickr-prev-month::after,
.flatpickr-next-month::after {
  font-size: 24px !important;
  color: white !important;
  font-weight: 700 !important;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

.flatpickr-prev-month::after {
  content: '‹' !important;
}

.flatpickr-next-month::after {
  content: '›' !important;
}

.flatpickr-prev-month svg,
.flatpickr-next-month svg {
  display: none !important;
}

.flatpickr-prev-month:hover,
.flatpickr-next-month:hover {
  background: rgba(255, 255, 255, 0.3) !important;
  transform: translateY(-50%) scale(1.05) !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.flatpickr-prev-month:active,
.flatpickr-next-month:active {
  transform: translateY(-50%) scale(0.95) !important;
}

.flatpickr-weekdays {
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%) !important;
  padding: 16px 10px 12px !important;
  border-bottom: 2px solid #f1f5f9 !important;
  display: flex !important;
  flex-direction: row !important;
  width: 100% !important;
  height: auto !important;
  align-items: center !important;
  justify-content: space-around !important;
  overflow: visible !important;
}

.flatpickr-weekdaycontainer {
  display: flex !important;
  width: 100% !important;
  justify-content: space-around !important;
}

.flatpickr-weekday {
  color: #667eea !important;
  font-weight: 700 !important;
  font-size: 12px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  flex: 1 1 14.28% !important;
  max-width: 14.28% !important;
  text-align: center !important;
  display: block !important;
  cursor: default !important;
  height: auto !important;
  line-height: 1.5 !important;
}

/* Days Container */
.flatpickr-days {
  padding: 12px;
  background: #ffffff;
}

/* ✅ DESKTOP: 7 ДНЕЙ В РЯД */
.dayContainer {
  width: 308px !important;
  min-width: 308px !important;
  max-width: 308px !important;
  display: flex !important;
  flex-wrap: wrap !important;
}

/* ✅ DESKTOP: ВСЕ ДНИ ВИДНЫ */
.flatpickr-day {
  border-radius: 12px;
  font-weight: 600;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  width: 40px !important;
  max-width: 40px !important;
  min-width: 40px !important;
  height: 40px !important;
  line-height: 40px !important;
  font-size: 14px;
  color: #334155;
  border: 2px solid transparent;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  visibility: visible !important;
  margin: 2px !important;
  flex: 0 0 40px !important;
  opacity: 1 !important;
  text-align: center !important;
  padding: 0 !important;
}

.flatpickr-day:hover:not(.flatpickr-disabled):not(.occupied) {
  background: linear-gradient(135deg, #e0e7ff, #ddd6fe);
  border-color: #667eea;
  transform: scale(1.08);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.25);
  color: #1e293b;
}

/* Selected Day - убираем обводку с today при выборе */
.flatpickr-day.selected,
.flatpickr-day.startRange,
.flatpickr-day.endRange {
  background: linear-gradient(135deg, #667eea, #5568d3) !important;
  border: 2px solid transparent !important;
  box-shadow: 0 6px 16px rgba(102, 126, 234, 0.4);
  font-weight: 700;
  color: white !important;
  transform: scale(1.05);
}

.flatpickr-day.flatpickr-disabled.prevMonthDay,
.flatpickr-day.flatpickr-disabled.nextMonthDay {
  display: none !important;
  visibility: hidden !important;
}

/* ✅ ТОЛЬКО НЕзанятые прошлые даты */
.flatpickr-day.flatpickr-disabled:not(.nextMonthDay):not(.prevMonthDay):not(.occupied) {
  opacity: 0.2 !important;
  pointer-events: none !important;
}
/* Today - только обводка, БЕЗ цвета */
.flatpickr-day.today {
  border: 2px solid #667eea !important;
  font-weight: 700;
  background: transparent !important;
  color: #334155 !important; /* ✅ Обычный цвет текста, а не #667eea */
  box-shadow: 0 0 0 1px #667eea inset;
}

.flatpickr-day.today:not(.selected):hover {
  background: linear-gradient(135deg, #e0e7ff, #f5f3ff) !important;
  border: 2px solid #667eea !important;
  color: #1e293b !important; /* ✅ Тёмный цвет при hover */
}

.flatpickr-day.today:not(.selected):not(.occupied) {
  border: 2px solid #667eea !important;
  box-shadow: 0 0 0 1px #667eea inset !important;
}

.flatpickr-calendar.hasSelected .flatpickr-day.today:not(.selected):not(.occupied),
.flatpickr-day.today.selected:not(.occupied) {
  border: 2px solid transparent !important;
  box-shadow: none !important;
  background: transparent !important;
  color: #667eea !important;
  font-weight: 700 !important;
}

/* Если today выбрана - показываем как selected */
.flatpickr-day.today.selected {
  background: linear-gradient(135deg, #667eea, #5568d3) !important;
  color: white !important;
  border: 2px solid transparent !important;
  box-shadow: 0 6px 16px rgba(102, 126, 234, 0.4) !important;
}

/* ✅ МОЩНОЕ правило - работает ВСЕГДА */
.flatpickr-day.occupied,
.flatpickr-day.flatpickr-disabled.occupied,
.flatpickr-day.today.occupied {
  background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%) !important;
  border: 2px solid #ef4444 !important;
  color: #991b1b !important;
  cursor: not-allowed !important;
  font-weight: 600 !important;
  position: relative !important;
  display: inline-flex !important;
  visibility: visible !important;
  opacity: 0.7 !important;
}

.flatpickr-day.occupied::before {
  content: '🚗';
  position: absolute;
  top: 2px;
  right: 2px;
  font-size: 10px;
}

.flatpickr-day.occupied:hover {
  background: linear-gradient(135deg, #fecaca 0%, #fca5a5 100%) !important;
  transform: none;
}

/* ✅ СКРЫВАЕМ ВСЕ ПРОШЛЫЕ ДАТЫ */
.flatpickr-day.prevMonthDay,
.flatpickr-day.nextMonthDay,
.flatpickr-day.flatpickr-disabled:not(.occupied) {
  display: none !important;
  visibility: hidden !important;
}
  
/* ✅ МОБИЛЬНЫЕ УСТРОЙСТВА - УВЕЛИЧЕННАЯ ШИРИНА */
/* ========== МОБИЛЬНЫЕ УСТРОЙСТВА - ПОЛНАЯ ШИРИНА ЭКРАНА ========== */
@media (pointer: coarse), (max-width: 767px) {
  .flatpickr-calendar {
    border-radius: 16px;
    width: 100% !important;
    max-width: 100% !important;
    max-height: 90vh !important;
    padding: 0 !important;
    margin: 0 !important;
    box-sizing: border-box !important;
  }

  .flatpickr-months {
    padding: 16px 50px !important;
    border-radius: 16px 16px 0 0;
    width: 100% !important;
  }

  .flatpickr-prev-month,
  .flatpickr-next-month {
    width: 40px !important;
    height: 40px !important;
    border-radius: 10px !important;
  }

  .flatpickr-prev-month {
    left: 6px !important;
  }

  .flatpickr-next-month {
    right: 6px !important;
  }
  .flatpickr-day.flatpickr-disabled,
  .flatpickr-day.prevMonthDay,
  .flatpickr-day.nextMonthDay {
    display: none !important;
    visibility: hidden !important;
  }
  /* ✅ КОНТЕЙНЕР ДНЕЙ - РАСТЯГИВАЕМ НА ВСЮ ШИРИНУ */
  .dayContainer {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 100% !important;
    display: grid !important;
    grid-template-columns: repeat(7, 1fr) !important;
    gap: 2px !important;
    padding: 0 !important;
    margin: 0 !important;
    box-sizing: border-box !important;
  }

  /* ✅ ДНИ - РАВНОМЕРНОЕ РАСПРЕДЕЛЕНИЕ */
  .flatpickr-day {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: 42px !important;
    line-height: 42px !important;
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 8px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    visibility: visible !important;
    font-size: 13px !important;
    box-sizing: border-box !important;
    text-align: center !important;
    border: 2px solid transparent !important;
  }

  .flatpickr-day.today.selected {
    border: 2px solid transparent !important;
    box-shadow: 0 6px 16px rgba(102, 126, 234, 0.4) !important;
  }
}
.flatpickr-day.prevMonthDay,
.flatpickr-day.nextMonthDay {
  display: none !important;
  visibility: hidden !important;
}

.flatpickr-day.today:not(.selected):not(.occupied) {
  border: 2px solid #667eea !important;
  box-shadow: 0 0 0 1px #667eea inset !important;
}

  /* ✅ КОНТЕЙНЕР С ДНЯМИ - БЕЗ ПРОКРУТКИ */
  .flatpickr-days {
    padding: 10px 8px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  /* ✅ ДНИ НЕДЕЛИ - РАСТЯГИВАЕМ */
  .flatpickr-weekdays {
    padding: 12px 8px 10px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  
  .flatpickr-weekday {
    font-size: 11px !important;
  }
}

/* Small Screens (до 480px) */
@media (max-width: 480px) {
  .flatpickr-calendar {
    font-size: 11px !important;
    border-radius: 14px;
  }

  .flatpickr-months {
    padding: 14px 40px !important; /* ✅ Ещё меньше */
    min-height: 48px !important;
    border-radius: 14px 14px 0 0;
  }

  .flatpickr-current-month {
    font-size: 11px !important; /* ✅ Меньше */
    gap: 1px !important;
    padding: 0 1px !important;
  }
  
  /* ✅ КРИТИЧНО: Год с максимальным приоритетом */
  .flatpickr-current-month .numInputWrapper,
  .flatpickr-current-month .flatpickr-year-dropdown {
    font-size: 10px !important; /* ✅ ОЧЕНЬ маленький */
    padding: 2px 3px !important;
    padding-right: 16px !important;
    min-width: 50px !important;
    max-width: 52px !important;
    width: 52px !important;
    background-position: right 2px center !important;
    background-size: 6px !important;
    letter-spacing: -0.8px !important; /* ✅ СИЛЬНО сжимаем */
    border-radius: 6px !important;
  }
  
  .flatpickr-current-month .flatpickr-monthDropdown-months {
    font-size: 11px !important;
    padding: 2px 4px !important;
    border-radius: 6px !important;
    margin-right: -3px !important;
  }

  /* ✅ СТРЕЛКИ */
  .flatpickr-prev-month,
  .flatpickr-next-month {
    width: 30px !important;
    height: 30px !important;
  }

  .flatpickr-prev-month::after,
  .flatpickr-next-month::after {
    font-size: 18px !important;
  }

  .dayContainer {
    gap: 1px !important;
  }

  .flatpickr-day {
    font-size: 11px !important;
    height: 38px !important;
    line-height: 38px !important;
    border-radius: 6px !important;
  }
  
  .flatpickr-weekday {
    font-size: 9px !important;
  }

  .flatpickr-days {
    padding: 8px 6px !important;
  }

  .flatpickr-weekdays {
    padding: 10px 6px 8px !important;
  }
}

/* Скрыть topbar на мобильных */
@media (max-width: 991px) {
    #topbar {
        display: none !important;
    }
}

/* ========== МОБИЛЬНЫЕ УСТРОЙСТВА ========== */
@media (max-width: 991px) {
    /* Тёмный фон header на мобильных */
    header {
        background: linear-gradient(180deg, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.9) 100%) !important;
    }
    
    /* На мобильных показываем светлый логотип */
    .logo-1 {
        display: block !important;
    }
    .logo-2 {
        display: none !important;
    }
    
    /* ========== БЕЛЫЙ ТЕКСТ ВЕЗДЕ НА МОБИЛЬНЫХ ========== */
    
    /* Закрытое меню */
    header #mainmenu a,
    header #mainmenu li a,
    #mainmenu a,
    #mainmenu li a {
        color: #ffffff !important;
    }
    
    #mainmenu a:hover {
        color: #f59e0b !important;
    }
    
    /* ========== ОТКРЫТОЕ БУРГЕР-МЕНЮ - МАКСИМАЛЬНАЯ АГРЕССИЯ ========== */
    
    /* Тёмный фон */
    #de-sidebar,
    .de-menu-profile,
    body.de-menu-open #de-sidebar,
    body.de-menu-open .de-menu-profile {
        background: rgba(0, 0, 0, 0.98) !important;
    }
    
    /* БЕЛЫЙ ТЕКСТ - ВСЕ ВОЗМОЖНЫЕ ВАРИАНТЫ */
    #de-sidebar a,
    #de-sidebar li a,
    #de-sidebar #mainmenu a,
    #de-sidebar #mainmenu li a,
    #de-sidebar #mainmenu > li > a,
    #de-sidebar nav a,
    #de-sidebar nav li a,
    .de-menu-profile a,
    .de-menu-profile li a,
    .de-menu-profile #mainmenu a,
    .de-menu-profile #mainmenu li a,
    body.de-menu-open a,
    body.de-menu-open li a,
    body.de-menu-open #mainmenu a,
    body.de-menu-open #mainmenu li a,
    body.de-menu-open nav a,
    body.de-menu-open nav li a {
        color: #ffffff !important;
        text-shadow: none !important;
    }
    
    /* Hover состояние */
    #de-sidebar a:hover,
    #de-sidebar li a:hover,
    #de-sidebar #mainmenu a:hover,
    .de-menu-profile a:hover,
    .de-menu-profile #mainmenu a:hover,
    body.de-menu-open a:hover,
    body.de-menu-open #mainmenu a:hover {
        color: #f59e0b !important;
    }
    
    /* Submenu */
    #de-sidebar ul li a,
    #de-sidebar #mainmenu ul li a,
    .de-menu-profile ul li a,
    .de-menu-profile #mainmenu ul li a,
    body.de-menu-open ul li a,
    body.de-menu-open #mainmenu ul li a {
        color: #ffffff !important;
    }
    
    /* Span элементы внутри ссылок */
    #de-sidebar a span,
    #de-sidebar li span,
    #de-sidebar #mainmenu span,
    .de-menu-profile a span,
    .de-menu-profile li span,
    body.de-menu-open a span,
    body.de-menu-open li span,
    body.de-menu-open #mainmenu span {
        color: #ffffff !important;
    }
    
    /* Иконка закрытия */
    .de-click-menu-close,
    #de-sidebar .de-click-menu-close,
    .de-menu-profile .de-click-menu-close {
        color: #ffffff !important;
        background: rgba(255, 255, 255, 0.1) !important;
    }
    
    /* Иконка бургера */
    #menu-btn span {
        background: #ffffff !important;
    }
    
    /* Social icons */
    #de-sidebar .social-icons a,
    .de-menu-profile .social-icons a {
        color: #ffffff !important;
    }
    
    /* Границы */
    #de-sidebar li,
    #de-sidebar #mainmenu li,
    .de-menu-profile li,
    .de-menu-profile #mainmenu li,
    body.de-menu-open li,
    body.de-menu-open #mainmenu li {
        border-color: rgba(255, 255, 255, 0.1) !important;
    }
}

/* ========== ДЕСКТОП ========== */
@media (min-width: 992px) {
    /* Прозрачный header */
    header.transparent {
        background: transparent;
    }
    
    /* Когда прозрачный - белый текст */
    header.transparent #mainmenu a {
        color: #ffffff !important;
    }
    
    header.transparent .logo-1 {
        display: block !important;
    }
    header.transparent .logo-2 {
        display: none !important;
    }
    
    /* Header с тёмным фоном при скролле */
    header.scroll-light {
        background: rgba(0, 0, 0, 0.92) !important;
        backdrop-filter: blur(8px);
        transition: background 0.3s ease;
    }
    
    /* Когда фон тёмный - белый текст */
    header.scroll-light #mainmenu a {
        color: #ffffff !important;
        transition: color 0.3s ease;
    }
    
    header.scroll-light #mainmenu a:hover {
        color: #f59e0b !important;
    }
    
    header.scroll-light .logo-1 {
        display: block !important;
    }
    header.scroll-light .logo-2 {
        display: none !important;
    }
}

/* ========== ОБЩИЕ СТИЛИ ========== */

/* Лёгкая тень для логотипа */
#logo img {
    filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.6));
    transition: filter 0.3s ease;
}

/* Улучшаем читаемость текста */
#mainmenu a {
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    font-weight: 500;
    transition: all 0.3s ease;
}

/* ========== МАКСИМАЛЬНЫЙ ПРИОРИТЕТ - ТОЛЬКО МОБИЛЬНЫЕ ========== */
@media (max-width: 991px) {
    header a:not(#logo a):not(.lang-picker-wrapper a):not(.call-now-btn a),
    header li:not(#logo li):not(.lang-picker-wrapper li),
    #mainmenu a,
    #mainmenu li,
    #de-sidebar a,
    #de-sidebar li,
    .de-menu-profile a,
    .de-menu-profile li,
    nav a,
    nav li {
        color: #ffffff !important;
        -webkit-text-fill-color: #ffffff !important;
    }
}

/* ========== ФИКС СКРОЛЛА ДЛЯ ВСЕХ МОДАЛОК - ДОБАВИТЬ В КОНЕЦ ========== */

/* Блокировка скролла body */
body.scroll-locked {
  overflow: hidden !important;
  position: fixed !important;
  width: 100% !important;
  height: 100vh !important;
  left: 0 !important;
  right: 0 !important;
  top: 0 !important;
}

/* Contact Popup - разрешаем скролл внутри */
.contact-popup-body {
  overflow-y: auto !important;
  max-height: calc(80vh - 100px) !important;
  -webkit-overflow-scrolling: touch !important;
  overscroll-behavior: contain !important;
}

.contact-popup {
  overflow: visible !important;
}

/* Price Calculator - разрешаем скролл внутри */
.price-calculator-modal {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  overflow: hidden !important;
  z-index: 9999 !important;
}

.price-calculator-content {
  max-height: 90vh !important;
  overflow: hidden !important;
  display: flex !important;
  flex-direction: column !important;
}

.price-calculator-content .modal-body {
  overflow-y: auto !important;
  overflow-x: hidden !important;
  -webkit-overflow-scrolling: touch !important;
  overscroll-behavior: contain !important;
}

/* Бургер меню - разрешаем скролл */
#de-sidebar,
#mainmenu {
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch !important;
  overscroll-behavior: contain !important;
}

/* Мобильный фильтр - разрешаем скролл */
.mobile-filter-content {
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch !important;
  overscroll-behavior: contain !important;
}

/* Для мобильных */
@media (max-width: 991px) {
  body.scroll-locked #wrapper {
    position: fixed !important;
    width: 100% !important;
    overflow: hidden !important;
  }
}

/* ========== АГРЕССИВНАЯ БЛОКИРОВКА СКРОЛЛА НА ПК ========== */
body[style*="position: fixed"] {
  overflow: hidden !important;
  height: 100vh !important;
  width: 100% !important;
}

body[style*="position: fixed"] #wrapper {
  position: fixed !important;
  width: 100% !important;
  overflow: hidden !important;
}

/* Полная блокировка скролла body при открытом модале */
body.price-calculator-open {
  overflow: hidden !important;
  position: fixed !important;
  width: 100% !important;
  height: 100vh !important;
}

body.price-calculator-open #wrapper {
  position: fixed !important;
  overflow: hidden !important;
}

/* ========== ПОЛНОЕ УДАЛЕНИЕ СКРОЛЛБАРА ПРИ МОДАЛЕ ========== */
html.modal-active,
body.price-calculator-open {
  overflow: hidden !important;
  position: fixed !important;
  width: 100% !important;
  height: 100% !important;
  padding-right: 0 !important;
}

html.modal-active {
  overflow: hidden !important;
}

/* Скрываем скроллбар полностью */
body.price-calculator-open::-webkit-scrollbar,
html.modal-active::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
}

body.price-calculator-open {
  -ms-overflow-style: none !important;
  scrollbar-width: none !important;
}

/* Wrapper также не должен скроллиться */
body.price-calculator-open #wrapper,
html.modal-active #wrapper {
  position: fixed !important;
  width: 100% !important;
  height: 100% !important;
  overflow: hidden !important;
  top: 0 !important;
  left: 0 !important;
}

html.modal-active,
html.modal-active body {
  overflow: hidden !important;
  position: fixed !important;
  width: 100% !important;
  height: 100% !important;
}

html.modal-active::-webkit-scrollbar,
html.modal-active body::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
}

