@charset "utf-8";
/* ========================================================
   Otto Rentals Style Sheet for L-Kay Car Rental
   Inspired by otto.rentals clean modern aesthetic
   ======================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
  --otto-primary: #0f172a;
  --otto-primary-hover: #1e293b;
  --otto-accent: #10b981;
  --otto-red: #e11d48;
  --otto-bg: #f8fafc;
  --otto-card-bg: #ffffff;
  --otto-border: #e2e8f0;
  --otto-text: #0f172a;
  --otto-text-muted: #64748b;
  --otto-radius-sm: 8px;
  --otto-radius-md: 12px;
  --otto-radius-lg: 16px;
  --otto-radius-full: 9999px;
  --otto-shadow-sm: 0 1px 3px rgba(0,0,0,0.05);
  --otto-shadow-md: 0 4px 20px -2px rgba(15, 23, 42, 0.08);
  --otto-shadow-lg: 0 10px 30px -4px rgba(15, 23, 42, 0.12);
  --otto-font: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

body {
  font-family: var(--otto-font) !important;
  color: var(--otto-text);
  background-color: var(--otto-bg);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6, .navbar, .btn {
  font-family: var(--otto-font) !important;
}

/* ========================================================
   Modern Otto Header & Navbar
   ======================================================== */
.default-header {
  background: #ffffff !important;
  border-bottom: 1px solid var(--otto-border);
  padding: 12px 0;
}
.default-header .logo a {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 20px;
  color: var(--otto-primary);
  text-decoration: none;
}
.default-header .logo img {
  border-radius: 8px;
}
/* Navigation Bar rules deferred to header.php for floating animated style */
#navigation_bar {
  margin-bottom: 0;
}
.user_login .dropdown-toggle {
  background: #f1f5f9;
  padding: 8px 16px;
  border-radius: var(--otto-radius-full);
  color: var(--otto-primary) !important;
  font-weight: 600;
  font-size: 13px;
  border: 1px solid var(--otto-border);
}
.user_login .dropdown-menu {
  border-radius: var(--otto-radius-md);
  border: 1px solid var(--otto-border);
  box-shadow: var(--otto-shadow-lg);
  padding: 8px;
}
.user_login .dropdown-menu > li > a {
  border-radius: 6px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 500;
}

/* ========================================================
   Otto Hero Section & Floating Search Bar
   ======================================================== */
@keyframes luxuryBgAnimation {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
@keyframes pulseAmbient {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50% { opacity: 0.95; transform: scale(1.08); }
}
.otto-hero-banner {
  position: relative;
  background: linear-gradient(-45deg, #090d16, #1a2233, #0b1120, #1e293b, #130d1a) !important;
  background-size: 300% 300% !important;
  animation: luxuryBgAnimation 16s ease infinite !important;
  color: #ffffff;
  padding: 70px 0 90px 0;
  overflow: hidden;
}
.otto-hero-banner::after {
  content: '';
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  background: radial-gradient(circle at 75% 25%, rgba(220, 38, 38, 0.22), transparent 45%),
              radial-gradient(circle at 25% 75%, rgba(217, 119, 6, 0.18), transparent 45%);
  pointer-events: none;
  animation: pulseAmbient 8s ease-in-out infinite;
}
.otto-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
}
.otto-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  padding: 6px 16px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 18px;
  letter-spacing: 0.3px;
}
.otto-hero-title {
  font-size: 42px;
  font-weight: 800;
  line-height: 1.2;
  color: #ffffff;
  margin: 0 0 16px 0;
  letter-spacing: -0.5px;
}
.otto-hero-subtitle {
  font-size: 17px;
  color: #cbd5e1;
  line-height: 1.6;
  margin: 0 auto 32px auto;
  max-width: 650px;
}

/* Floating Search Widget */
.otto-search-box {
  background: #ffffff;
  border-radius: var(--otto-radius-lg);
  padding: 16px 20px;
  box-shadow: var(--otto-shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.2);
  margin-top: 15px;
  color: var(--otto-text);
  text-align: left;
  box-sizing: border-box !important;
  max-width: 100% !important;
  overflow: hidden;
}
.otto-search-box .form-group {
  margin-bottom: 0;
  width: 100%;
}
.otto-search-box label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: #64748b;
  margin-bottom: 4px;
  letter-spacing: 0.5px;
}
.otto-search-box .form-control {
  height: 44px;
  border-radius: var(--otto-radius-sm);
  border: 1px solid var(--otto-border);
  font-size: 13.5px;
  font-weight: 600;
  color: #0f172a;
  box-shadow: none;
  background: #f8fafc;
  transition: all 0.2s ease;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
}
.otto-search-box input[type="date"],
.otto-search-box select {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}
.otto-search-box input[type="date"] {
  display: block !important;
  padding: 8px 12px !important;
  line-height: normal !important;
}
.otto-search-box input[type="date"]::-webkit-date-and-time-value {
  text-align: left;
}
.otto-search-box .form-control:focus {
  border-color: var(--otto-primary);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(15, 23, 42, 0.08);
}
.otto-search-box .row {
  display: flex;
  align-items: flex-end;
  flex-wrap: wrap;
}
.btn-otto-search {
  height: 44px;
  background: #dc2626;
  color: #ffffff !important;
  font-weight: 700;
  font-size: 14px;
  border-radius: var(--otto-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  border: none;
  transition: all 0.2s ease;
  margin-top: 0 !important;
  box-shadow: 0 4px 14px rgba(220, 38, 38, 0.4);
}
.btn-otto-search:hover {
  background: #b91c1c;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(220, 38, 38, 0.5);
}
@media (max-width: 991px) {
  .otto-search-box {
    padding: 16px 14px;
  }
  .otto-search-box .row {
    display: block !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  .otto-search-box [class*="col-"] {
    padding-left: 0 !important;
    padding-right: 0 !important;
    width: 100% !important;
    float: none !important;
    clear: both !important;
    margin-bottom: 12px;
  }
  .otto-search-box .form-group {
    margin-bottom: 0 !important;
  }
}

/* Visually Hidden KYC File Upload Inputs (Focusable & Mobile Friendly) */
.kyc-hidden-input {
  position: absolute !important;
  opacity: 0 !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  pointer-events: none !important;
}

/* ========================================================
   Category Pill Filter Bar (Van, Safari, Medium Car, SUV, Mid SUV, Small Car)
   ======================================================== */
.category-filter-wrap {
  padding: 30px 0 10px 0;
  background: var(--otto-bg);
}
.category-filter-bar {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 10px;
  scrollbar-width: none;
  -ms-overflow-style: none;
  justify-content: center;
  flex-wrap: wrap;
}
.category-filter-bar::-webkit-scrollbar {
  display: none;
}
.category-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: #ffffff;
  border: 1.5px solid var(--otto-border);
  border-radius: var(--otto-radius-full);
  color: #334155;
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none !important;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.category-pill:hover {
  border-color: #94a3b8;
  background: #f8fafc;
  color: #0f172a;
  transform: translateY(-1px);
}
.category-pill.active {
  background: var(--otto-primary);
  color: #ffffff !important;
  border-color: var(--otto-primary);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.2);
}
.category-pill .pill-icon {
  font-size: 15px;
}

/* ========================================================
   Otto Modern Vehicle Cards
   ======================================================== */
.otto-fleet-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
  gap: 25px;
  margin-top: 25px;
}
.otto-card {
  background: #ffffff;
  border-radius: var(--otto-radius-lg);
  border: 1px solid var(--otto-border);
  overflow: hidden;
  box-shadow: var(--otto-shadow-sm);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  position: relative;
}
.otto-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--otto-shadow-lg);
  border-color: #cbd5e1;
}
.otto-card-img-wrap {
  position: relative;
  width: 100%;
  height: 210px;
  background: #f1f5f9;
  overflow: hidden;
}
.otto-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.otto-card:hover .otto-card-img-wrap img {
  transform: scale(1.04);
}
.otto-category-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(6px);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 4px 10px;
  border-radius: var(--otto-radius-full);
}
.otto-min-days-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%) !important;
  color: #ffffff !important;
  font-size: 11px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: var(--otto-radius-full);
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.45) !important;
  border: 1px solid rgba(255, 255, 255, 0.3);
  letter-spacing: 0.3px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.otto-card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.otto-card-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--otto-primary);
  margin: 0 0 6px 0;
  text-decoration: none !important;
  display: block;
}
.otto-card-title:hover {
  color: var(--otto-red);
}
.otto-card-specs {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 10px 0 16px 0;
  padding-bottom: 14px;
  border-bottom: 1px solid #f1f5f9;
  font-size: 12.5px;
  color: var(--otto-text-muted);
}
.otto-card-specs span {
  display: flex;
  align-items: center;
  gap: 5px;
}
.otto-card-footer {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.otto-price-wrap .otto-price {
  font-size: 20px;
  font-weight: 800;
  color: var(--otto-primary);
}
.otto-price-wrap .otto-period {
  font-size: 12px;
  color: var(--otto-text-muted);
}
.btn-otto-book {
  background: var(--otto-primary);
  color: #ffffff !important;
  padding: 10px 18px;
  border-radius: var(--otto-radius-sm);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none !important;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.btn-otto-book:hover {
  background: var(--otto-red);
  transform: translateX(2px);
}

/* ========================================================
   Protection & Policies Card & Drawer (Matches User Screenshot)
   ======================================================== */
.protection-policies-card {
  background: #ffffff;
  border: 1px solid var(--otto-border);
  border-radius: var(--otto-radius-lg);
  padding: 24px;
  box-shadow: var(--otto-shadow-sm);
  margin-top: 30px;
}
.protection-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}
.protection-header h3 {
  font-size: 20px;
  font-weight: 800;
  color: var(--otto-primary);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Pale yellow notice box with blue shield */
.protection-notice-box {
  background: #fdf6ec;
  border: 1px solid #faeccb;
  border-radius: var(--otto-radius-md);
  padding: 14px 18px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 20px;
}
.protection-shield-icon {
  font-size: 24px;
  line-height: 1;
  color: #2563eb;
  flex-shrink: 0;
  margin-top: 2px;
}
.protection-notice-text {
  font-size: 13px;
  line-height: 1.5;
  color: #875a14;
  font-weight: 500;
}

/* Policy List Container */
.policy-list-container {
  border: 1px solid var(--otto-border);
  border-radius: var(--otto-radius-md);
  overflow: hidden;
  background: #ffffff;
}
.policy-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid #f1f5f9;
  cursor: pointer;
  transition: background 0.15s ease;
}
.policy-item:last-child {
  border-bottom: none;
}
.policy-item:hover {
  background: #f8fafc;
}
.policy-item-left {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 14.5px;
  font-weight: 600;
  color: #1e293b;
}
.policy-item-icon {
  font-size: 22px;
  width: 28px;
  text-align: center;
  display: inline-block;
}
.policy-item-chevron {
  color: #94a3b8;
  font-size: 15px;
  transition: transform 0.2s ease;
}
.policy-item.active .policy-item-chevron {
  transform: rotate(90deg);
}
.policy-content-drawer {
  display: none;
  background: #f8fafc;
  padding: 16px 22px 18px 62px;
  border-bottom: 1px solid #e2e8f0;
  font-size: 13px;
  line-height: 1.6;
  color: #475569;
}
.policy-content-drawer p {
  margin: 0;
}

/* ========================================================
   KYC Booking Form (Compulsory fields, Date Pickers, Area of Use)
   ======================================================== */
.booking-form-otto {
  background: #ffffff;
  border: 1px solid var(--otto-border);
  border-radius: var(--otto-radius-lg);
  padding: 30px;
  box-shadow: var(--otto-shadow-md);
  margin-top: 30px;
}
.booking-form-otto .form-section-title {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--otto-primary);
  letter-spacing: 0.5px;
  margin: 0 0 16px 0;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 2px solid #f1f5f9;
  padding-bottom: 8px;
}
.booking-form-otto .form-control {
  height: 44px;
  border-radius: var(--otto-radius-sm);
  border: 1.5px solid var(--otto-border);
  font-size: 13.5px;
  color: #0f172a;
  box-shadow: none;
  transition: border-color 0.2s;
}
.booking-form-otto .form-control:focus {
  border-color: var(--otto-primary);
  box-shadow: 0 0 0 3px rgba(15, 23, 42, 0.08);
}
.booking-form-otto label {
  font-size: 12px;
  font-weight: 600;
  color: #475569;
  margin-bottom: 6px;
  display: block;
}
.booking-form-otto label span.req {
  color: var(--otto-red);
  font-weight: bold;
}
.booking-form-otto label span.opt {
  color: #94a3b8;
  font-weight: normal;
  font-size: 11px;
}

/* Live Dynamic Price Breakdown Box */
.live-pricing-summary {
  background: #f8fafc;
  border: 1.5px solid #cbd5e1;
  border-radius: var(--otto-radius-md);
  padding: 20px;
  margin: 24px 0;
}
.live-pricing-summary h5 {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0 0 14px 0;
  color: var(--otto-primary);
}
.live-pricing-row {
  display: flex;
  justify-content: space-between;
  padding: 7px 0;
  font-size: 13px;
  color: #475569;
  border-bottom: 1px dashed #e2e8f0;
}
.live-pricing-row.total-row {
  border-top: 2px solid var(--otto-primary);
  border-bottom: none;
  margin-top: 8px;
  padding-top: 12px;
  font-size: 16px;
  font-weight: 800;
  color: var(--otto-primary);
}
.live-pricing-row.total-row .val {
  font-size: 22px;
  color: var(--otto-red);
}

/* Date picker UI polish */
input[type="date"].form-control {
  cursor: pointer;
}
.min-duration-alert {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: #1d4ed8;
  padding: 10px 14px;
  border-radius: var(--otto-radius-sm);
  font-size: 12.5px;
  margin-top: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ========================================================
   Hero Image Carousel & Background Slider
   ======================================================== */
.otto-hero-banner {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 85px 0 105px 0;
  background: #0a0e17;
}

.hero-slides-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  overflow: hidden;
}

@keyframes heroKenBurns {
  0% { transform: scale(1.0) translate(0, 0); }
  50% { transform: scale(1.08) translate(-1%, -1%); }
  100% { transform: scale(1.0) translate(0, 0); }
}

.hero-slide-item {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center center;
  opacity: 0;
  transform: scale(1.05);
  transition: opacity 1.2s ease-in-out;
}

.hero-slide-item.active {
  opacity: 1;
  animation: heroKenBurns 12s ease-in-out infinite alternate;
}

@keyframes heroGlowShift {
  0% { transform: translate(0, 0) scale(1); opacity: 0.6; }
  50% { transform: translate(30px, -20px) scale(1.15); opacity: 0.9; }
  100% { transform: translate(0, 0) scale(1); opacity: 0.6; }
}

.hero-slide-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  background: linear-gradient(180deg, rgba(10,14,23,0.76) 0%, rgba(10,14,23,0.56) 40%, rgba(10,14,23,0.92) 100%);
  pointer-events: none;
  overflow: hidden;
}

.hero-slide-overlay::before {
  content: '';
  position: absolute;
  top: -25%;
  left: -25%;
  width: 150%;
  height: 150%;
  background: radial-gradient(circle at 25% 25%, rgba(220, 38, 38, 0.26) 0%, transparent 45%),
              radial-gradient(circle at 75% 75%, rgba(217, 119, 6, 0.20) 0%, transparent 45%),
              radial-gradient(circle at 50% 85%, rgba(16, 185, 129, 0.12) 0%, transparent 50%);
  animation: heroGlowShift 10s ease-in-out infinite;
  pointer-events: none;
}

.hero-carousel-controls {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  padding: 0;
}

.hero-dot.active {
  background: #dc2626;
  width: 28px;
  border-radius: 10px;
}

.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  background: rgba(10, 14, 23, 0.6);
  backdrop-filter: blur(6px);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 16px;
}
.hero-arrow:hover {
  background: #dc2626;
  border-color: #dc2626;
  color: #fff;
  transform: translateY(-50%) scale(1.08);
}
.hero-arrow-prev { left: 24px; }
.hero-arrow-next { right: 24px; }

@media (max-width: 768px) {
  .hero-arrow { display: none; }
  .otto-hero-banner { min-height: 520px; padding: 50px 0 70px 0; }
  .otto-hero-title { font-size: 28px; }
}

/* ========================================================
   Interactive FAQs Accordion
   ======================================================== */
.faq-modern-wrap {
  max-width: 900px;
  margin: 0 auto;
}
.faq-item {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  margin-bottom: 14px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
  transition: all 0.25s ease;
}
.faq-item:hover, .faq-item.active {
  border-color: #fca5a5;
  box-shadow: 0 8px 20px -3px rgba(220, 38, 38, 0.08);
}
.faq-question {
  padding: 18px 22px;
  font-size: 16px;
  font-weight: 700;
  color: #0f172a;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  user-select: none;
  transition: color 0.2s ease;
}
.faq-question i {
  color: #dc2626;
  font-size: 14px;
  transition: transform 0.3s ease;
}
.faq-item.active .faq-question {
  color: #dc2626;
  background: #fef2f2;
}
.faq-item.active .faq-question i {
  transform: rotate(180deg);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease-out, padding 0.35s ease-out;
  padding: 0 22px;
  font-size: 14.5px;
  line-height: 1.7;
  color: #334155;
}
.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 16px 22px 20px 22px;
}

/* ========================================================
   Car Details Gallery Slider & Owl Controls Fix
   ======================================================== */
#listing_img_slider {
  position: relative !important;
  background: #090d16 !important;
  overflow: hidden !important;
  padding: 10px 0 !important;
  margin-bottom: 25px !important;
}

#listing_img_slider .owl-wrapper-outer {
  overflow: hidden !important;
  position: relative !important;
  width: 100% !important;
  z-index: 1 !important;
}

#listing_img_slider .owl-wrapper {
  display: flex !important;
  align-items: center !important;
}

#listing_img_slider .owl-item {
  padding: 0 6px !important;
  height: 480px !important;
}

#listing_img_slider .owl-item > div {
  width: 100% !important;
  height: 480px !important;
  border-radius: 12px !important;
  overflow: hidden !important;
  background: #0f172a !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4) !important;
  display: block !important;
}

#listing_img_slider .owl-item img {
  width: 100% !important;
  height: 480px !important;
  object-fit: cover !important;
  object-position: center !important;
  display: block !important;
  border-radius: 12px !important;
  transition: transform 0.35s ease !important;
}

#listing_img_slider .owl-item img:hover {
  transform: scale(1.03) !important;
}

/* Fix Owl Carousel Navigation Prev & Next Controls: vertically centered on slider sides */
#listing_img_slider .owl-controls {
  position: absolute !important;
  top: 50% !important;
  left: 0 !important;
  right: 0 !important;
  transform: translateY(-50%) !important;
  width: 100% !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  z-index: 50 !important;
  pointer-events: none !important;
  display: block !important;
}

#listing_img_slider .owl-buttons {
  position: static !important;
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  width: 100% !important;
  padding: 0 20px !important;
  margin: 0 !important;
  pointer-events: none !important;
}

#listing_img_slider .owl-prev,
#listing_img_slider .owl-next {
  pointer-events: auto !important;
  width: 48px !important;
  height: 48px !important;
  background: rgba(15, 23, 42, 0.85) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  border: 2px solid rgba(255, 255, 255, 0.3) !important;
  border-radius: 50% !important;
  color: #ffffff !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 22px !important;
  line-height: 1 !important;
  cursor: pointer !important;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5) !important;
  transition: all 0.25s ease !important;
  user-select: none !important;
  margin: 0 !important;
  padding: 0 !important;
  opacity: 0.9 !important;
}

#listing_img_slider .owl-prev:hover,
#listing_img_slider .owl-next:hover {
  background: #dc2626 !important;
  border-color: #dc2626 !important;
  color: #ffffff !important;
  transform: scale(1.12) !important;
  opacity: 1 !important;
  box-shadow: 0 8px 24px rgba(220, 38, 38, 0.55) !important;
}

@media (max-width: 768px) {
  #listing_img_slider {
    padding: 6px 0 !important;
  }
  #listing_img_slider .owl-item,
  #listing_img_slider .owl-item > div,
  #listing_img_slider .owl-item img {
    height: 300px !important;
  }
  #listing_img_slider .owl-prev,
  #listing_img_slider .owl-next {
    width: 38px !important;
    height: 38px !important;
    font-size: 16px !important;
  }
  #listing_img_slider .owl-buttons {
    padding: 0 10px !important;
  }
}

/* Similar Cars Section - Perfectly Aligned Cards */
.similar_cars {
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid #e2e8f0;
}
.similar_cars h3 {
  font-size: 24px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 24px;
}
.similar_cars .row {
  display: flex;
  flex-wrap: wrap;
}
.similar_cars .grid_listing {
  margin-bottom: 25px;
  display: flex;
}
.similar_cars .product-listing-m {
  display: flex;
  flex-direction: column;
  width: 100%;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.04);
  transition: all 0.3s ease;
}
.similar_cars .product-listing-m:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  border-color: #cbd5e1;
}
.similar_cars .product-listing-img {
  width: 100%;
  height: 180px;
  background: #f1f5f9;
  overflow: hidden;
  position: relative;
}
.similar_cars .product-listing-img img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  transition: transform 0.4s ease;
}
.similar_cars .product-listing-m:hover .product-listing-img img {
  transform: scale(1.05);
}
.similar_cars .product-listing-content {
  padding: 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.similar_cars .product-listing-content h5 {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 8px 0;
  line-height: 1.3;
}
.similar_cars .product-listing-content h5 a {
  color: #0f172a;
  text-decoration: none;
}
.similar_cars .product-listing-content h5 a:hover {
  color: #dc2626;
}
.similar_cars .product-listing-content .list-price {
  font-size: 18px;
  font-weight: 800;
  color: #dc2626;
  margin-bottom: 12px;
}
.similar_cars .features_list {
  margin-top: auto;
  padding: 10px 0 0;
  border-top: 1px solid #f1f5f9;
  display: flex;
  justify-content: space-between;
  list-style: none;
  font-size: 11px;
  color: #64748b;
  font-weight: 600;
}

