/*
 Theme Name: CADIGOR Theme
 Theme URI: https://cadigor.com
 Description: Custom child theme for CADIGOR Car Rental Agadir
 Author: CADIGOR
 Author URI: https://cadigor.com
 Template: astra
 Version: 1.0.0
 Text Domain: cadigor-theme
*/

/* ===== CUSTOM PROPERTIES ===== */
:root {
  --cg-accent: #8CC63F;
  --cg-accent-hover: #76A935;
  --cg-bg: #FFFFFF;
  --cg-surface: #F8F9FA;
  --cg-ink: #1A1A1A;
  --cg-secondary: #6C757D;
  --cg-border: #E5E5E5;
  --cg-footer-bg: #2D2D2D;
  --cg-footer-text: #CCCCCC;
  --cg-whatsapp: #25D366;
  --cg-radius-sm: 6px;
  --cg-radius-md: 10px;
  --cg-radius-lg: 16px;
  --cg-font: 'DM Sans', sans-serif;
  --cg-container: 1200px;
}

/* ===== BASE ===== */
:where(body) {
  font-family: var(--cg-font);
  font-weight: 400;
  color: var(--cg-ink);
  background: var(--cg-bg);
  line-height: 1.6;
  margin: 0;
  -webkit-font-smoothing: antialiased;
}
:where(h1, h2, h3, h4, h5, h6) {
  font-family: var(--cg-font);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 16px;
  color: var(--cg-ink);
}
:where(a) { color: var(--cg-accent); text-decoration: none; }
:where(a:hover) { color: var(--cg-accent-hover); }
:where(img) { max-width: 100%; height: auto; display: block; }
:where(*, *::before, *::after) { box-sizing: border-box; }

.cg-container {
  max-width: var(--cg-container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== HEADER ===== */
.cg-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--cg-bg);
  border-bottom: 1px solid var(--cg-border);
  transition: box-shadow 0.2s;
}
.cg-header.scrolled {
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}
.cg-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.cg-logo img {
  height: 40px;
  width: auto;
}
.cg-nav { display: flex; align-items: center; gap: 32px; list-style: none; margin: 0; padding: 0; }
.cg-nav li { position: relative; }
.cg-nav a {
  color: var(--cg-ink);
  font-weight: 500;
  font-size: 15px;
  padding: 8px 0;
  transition: color 0.2s;
}
.cg-nav a:hover,
.cg-nav .current-menu-item a { color: var(--cg-accent); }
.cg-nav .has-dropdown:hover .cg-dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.cg-dropdown {
  position: absolute;
  top: 100%;
  left: -12px;
  background: var(--cg-bg);
  border: 1px solid var(--cg-border);
  border-radius: var(--cg-radius-md);
  padding: 8px 0;
  min-width: 200px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(4px);
  transition: all 0.2s;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}
.cg-dropdown a {
  display: block;
  padding: 10px 20px;
  font-size: 14px;
}
.cg-dropdown a:hover { background: var(--cg-surface); }
.cg-header-cta {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--cg-accent);
  color: #fff !important;
  padding: 10px 20px;
  border-radius: var(--cg-radius-md);
  font-weight: 600;
  font-size: 14px;
  transition: background 0.2s;
}
.cg-header-cta:hover { background: var(--cg-accent-hover); color: #fff !important; }
.cg-hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.cg-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--cg-ink);
  margin: 5px 0;
  transition: all 0.3s;
}
.cg-mobile-nav {
  display: none;
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--cg-bg);
  z-index: 999;
  padding: 24px;
  overflow-y: auto;
}
.cg-mobile-nav.active { display: block; }
.cg-mobile-nav a {
  display: block;
  padding: 14px 0;
  color: var(--cg-ink);
  font-size: 18px;
  font-weight: 500;
  border-bottom: 1px solid var(--cg-border);
}
.cg-mobile-nav .sub-links a { padding-left: 20px; font-size: 16px; color: var(--cg-secondary); }

/* ===== HERO ===== */
.cg-hero {
  position: relative;
  background: linear-gradient(135deg, rgba(26,26,26,0.75), rgba(26,26,26,0.55)), url('/wp-content/uploads/cadigor-hero.jpg') center/cover no-repeat;
  min-height: 600px;
  display: flex;
  align-items: center;
  color: #fff;
  padding: 80px 0;
}
.cg-hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.cg-hero h1 {
  font-size: clamp(28px, 4vw, 44px);
  color: #fff;
  margin-bottom: 16px;
  line-height: 1.1;
}
.cg-hero-sub {
  font-size: 17px;
  opacity: 0.9;
  margin-bottom: 32px;
  line-height: 1.6;
}

/* ===== BOOKING FORM ===== */
.cg-booking-form {
  background: var(--cg-bg);
  border-radius: var(--cg-radius-lg);
  padding: 28px;
  color: var(--cg-ink);
}
.cg-booking-form label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--cg-secondary);
  margin-bottom: 6px;
}
.cg-booking-form select,
.cg-booking-form input[type="date"] {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--cg-border);
  border-radius: var(--cg-radius-sm);
  font-family: var(--cg-font);
  font-size: 15px;
  color: var(--cg-ink);
  background: var(--cg-bg);
  margin-bottom: 14px;
  appearance: none;
  -webkit-appearance: none;
}
.cg-booking-form select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236C757D' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}
.cg-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.cg-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--cg-accent);
  color: #fff;
  font-family: var(--cg-font);
  font-weight: 600;
  font-size: 16px;
  padding: 14px 28px;
  border: none;
  border-radius: var(--cg-radius-md);
  cursor: pointer;
  transition: background 0.2s;
  width: 100%;
  text-align: center;
}
.cg-btn:hover { background: var(--cg-accent-hover); color: #fff; }
.cg-btn-wa { background: var(--cg-whatsapp); }
.cg-btn-wa:hover { background: #1da851; }
.cg-btn-outline {
  background: transparent;
  border: 1px solid var(--cg-accent);
  color: var(--cg-accent);
}
.cg-btn-outline:hover { background: var(--cg-accent); color: #fff; }

/* Hero Badges */
.cg-hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
  color: #fff;
}
.cg-hero-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  opacity: 0.85;
}
.cg-hero-badge svg { width: 16px; height: 16px; flex-shrink: 0; }

/* ===== SECTIONS ===== */
.cg-section {
  padding: 80px 0;
}
.cg-section-alt {
  background: var(--cg-surface);
}
.cg-section-dark {
  background: var(--cg-footer-bg);
  color: #fff;
}
.cg-section-title {
  font-size: clamp(26px, 3vw, 36px);
  text-align: center;
  margin-bottom: 12px;
}
.cg-section-subtitle {
  text-align: center;
  color: var(--cg-secondary);
  font-size: 17px;
  margin-bottom: 48px;
}
.cg-section-dark .cg-section-title { color: #fff; }
.cg-section-dark .cg-section-subtitle { color: var(--cg-footer-text); }

/* ===== TRUST BAR ===== */
.cg-trust-bar {
  background: var(--cg-surface);
  padding: 20px 0;
  border-bottom: 1px solid var(--cg-border);
}
.cg-trust-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 28px;
}
.cg-trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--cg-ink);
}
.cg-trust-item svg { width: 20px; height: 20px; color: var(--cg-accent); flex-shrink: 0; }
.cg-trust-stars { display: flex; gap: 2px; color: #F5A623; }
.cg-trust-stars svg { width: 16px; height: 16px; }

/* ===== CAR GRID ===== */
.cg-car-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.cg-car-card {
  background: var(--cg-bg);
  border: 1px solid var(--cg-border);
  border-radius: var(--cg-radius-md);
  overflow: hidden;
  transition: box-shadow 0.2s;
}
.cg-car-card:hover {
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.cg-car-img {
  width: 100%;
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, #e8f5e0, #c8e6b0);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cg-accent);
  font-size: 14px;
  font-weight: 600;
}
.cg-car-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cg-car-body {
  padding: 20px;
}
.cg-car-category {
  font-size: 12px;
  font-weight: 600;
  color: var(--cg-accent);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}
.cg-car-name {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--cg-ink);
}
.cg-car-specs {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
}
.cg-spec {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  color: var(--cg-secondary);
  background: var(--cg-surface);
  padding: 4px 10px;
  border-radius: var(--cg-radius-sm);
}
.cg-spec svg { width: 14px; height: 14px; }
.cg-car-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-top: 1px solid var(--cg-border);
}
.cg-car-price {
  font-size: 14px;
  color: var(--cg-secondary);
}
.cg-car-price strong {
  font-size: 22px;
  color: var(--cg-ink);
  font-weight: 700;
}
.cg-car-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--cg-accent);
  color: #fff;
  padding: 10px 18px;
  border-radius: var(--cg-radius-md);
  font-size: 13px;
  font-weight: 600;
  transition: background 0.2s;
}
.cg-car-cta:hover { background: var(--cg-accent-hover); color: #fff; }

/* ===== HOW IT WORKS ===== */
.cg-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.cg-step {
  text-align: center;
  padding: 32px 24px;
}
.cg-step-icon {
  width: 64px;
  height: 64px;
  background: rgba(140,198,63,0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--cg-accent);
}
.cg-step-icon svg { width: 28px; height: 28px; }
.cg-step h3 {
  font-size: 18px;
  margin-bottom: 10px;
}
.cg-step p {
  color: var(--cg-secondary);
  font-size: 15px;
  line-height: 1.6;
}

/* ===== WHY CHOOSE ===== */
.cg-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.cg-feature {
  display: flex;
  gap: 16px;
  padding: 24px;
  background: var(--cg-bg);
  border: 1px solid var(--cg-border);
  border-radius: var(--cg-radius-md);
}
.cg-feature-icon {
  width: 48px;
  height: 48px;
  background: rgba(140,198,63,0.12);
  border-radius: var(--cg-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--cg-accent);
}
.cg-feature-icon svg { width: 22px; height: 22px; }
.cg-feature h3 {
  font-size: 16px;
  margin-bottom: 6px;
}
.cg-feature p {
  color: var(--cg-secondary);
  font-size: 14px;
  margin: 0;
  line-height: 1.5;
}

/* ===== REVIEWS ===== */
.cg-reviews {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.cg-review {
  background: var(--cg-bg);
  border: 1px solid var(--cg-border);
  border-radius: var(--cg-radius-md);
  padding: 28px;
}
.cg-review-stars {
  display: flex;
  gap: 2px;
  color: #F5A623;
  margin-bottom: 14px;
}
.cg-review-stars svg { width: 16px; height: 16px; }
.cg-review p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--cg-ink);
  margin-bottom: 16px;
}
.cg-review-author {
  font-size: 14px;
  font-weight: 600;
  color: var(--cg-secondary);
}

/* ===== DELIVERY AREAS ===== */
.cg-areas {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}
.cg-area {
  text-align: center;
  padding: 32px 20px;
  background: var(--cg-bg);
  border: 1px solid var(--cg-border);
  border-radius: var(--cg-radius-md);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.cg-area:hover {
  border-color: var(--cg-accent);
  box-shadow: 0 2px 12px rgba(140,198,63,0.12);
}
.cg-area-icon {
  width: 56px;
  height: 56px;
  background: rgba(140,198,63,0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  color: var(--cg-accent);
}
.cg-area-icon svg { width: 24px; height: 24px; }
.cg-area h3 { font-size: 17px; margin-bottom: 6px; }
.cg-area p { font-size: 13px; color: var(--cg-secondary); margin: 0; }
.cg-map {
  border-radius: var(--cg-radius-md);
  overflow: hidden;
  border: 1px solid var(--cg-border);
  height: 300px;
}
.cg-map iframe { width: 100%; height: 100%; border: 0; }

/* ===== FINAL CTA ===== */
.cg-final-cta {
  text-align: center;
  padding: 80px 24px;
}
.cg-final-cta h2 {
  font-size: clamp(28px, 4vw, 40px);
  color: #fff;
  margin-bottom: 12px;
}
.cg-final-cta p {
  color: var(--cg-footer-text);
  font-size: 18px;
  margin-bottom: 32px;
}
.cg-btn-lg {
  padding: 18px 40px;
  font-size: 18px;
  border-radius: var(--cg-radius-md);
}

/* ===== FOOTER ===== */
.cg-footer {
  background: var(--cg-footer-bg);
  color: var(--cg-footer-text);
  padding: 64px 0 0;
}
.cg-footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.cg-footer-brand img { height: 36px; margin-bottom: 16px; }
.cg-footer-brand p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--cg-footer-text);
  margin-bottom: 20px;
}
.cg-footer-social {
  display: flex;
  gap: 12px;
}
.cg-footer-social a {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cg-footer-text);
  transition: background 0.2s;
}
.cg-footer-social a:hover { background: var(--cg-accent); color: #fff; }
.cg-footer h4 {
  color: #fff;
  font-size: 16px;
  margin-bottom: 20px;
  font-weight: 700;
}
.cg-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.cg-footer li { margin-bottom: 10px; }
.cg-footer li a {
  color: var(--cg-footer-text);
  font-size: 14px;
  transition: color 0.2s;
}
.cg-footer li a:hover { color: var(--cg-accent); }
.cg-footer-contact p {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--cg-footer-text);
  margin-bottom: 12px;
}
.cg-footer-contact svg { width: 16px; height: 16px; color: var(--cg-accent); flex-shrink: 0; }
.cg-footer-map {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 40px 0;
}
.cg-footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 0;
  text-align: center;
  font-size: 13px;
  color: var(--cg-footer-text);
}

/* ===== PAGE HERO ===== */
.cg-page-hero {
  background: var(--cg-surface);
  padding: 60px 0;
  text-align: center;
}
.cg-page-hero h1 {
  font-size: clamp(28px, 4vw, 42px);
  margin-bottom: 12px;
}
.cg-page-hero p {
  font-size: 17px;
  color: var(--cg-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* ===== FILTER BAR ===== */
.cg-filters {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.cg-filter-btn {
  padding: 10px 24px;
  border: 1px solid var(--cg-border);
  border-radius: 100px;
  background: var(--cg-bg);
  color: var(--cg-secondary);
  font-family: var(--cg-font);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}
.cg-filter-btn:hover,
.cg-filter-btn.active {
  background: var(--cg-accent);
  color: #fff;
  border-color: var(--cg-accent);
}

/* ===== SERVICES ===== */
.cg-services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.cg-service-card {
  text-align: center;
  padding: 32px 20px;
  background: var(--cg-bg);
  border: 1px solid var(--cg-border);
  border-radius: var(--cg-radius-md);
  transition: border-color 0.2s;
}
.cg-service-card:hover { border-color: var(--cg-accent); }
.cg-service-icon {
  width: 56px;
  height: 56px;
  background: rgba(140,198,63,0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  color: var(--cg-accent);
}
.cg-service-icon svg { width: 24px; height: 24px; }
.cg-service-card h3 { font-size: 16px; margin-bottom: 8px; }
.cg-service-card p { font-size: 14px; color: var(--cg-secondary); margin: 0; }

/* ===== ABOUT ===== */
.cg-about-content { max-width: 800px; margin: 0 auto; }
.cg-about-content p { font-size: 17px; line-height: 1.8; margin-bottom: 24px; color: var(--cg-ink); }
.cg-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin: 48px 0;
}
.cg-stat {
  text-align: center;
  padding: 32px 16px;
  background: var(--cg-surface);
  border-radius: var(--cg-radius-md);
}
.cg-stat-number {
  font-size: 36px;
  font-weight: 700;
  color: var(--cg-accent);
  line-height: 1;
  margin-bottom: 8px;
}
.cg-stat-label {
  font-size: 14px;
  color: var(--cg-secondary);
}
.cg-values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* ===== WHATSAPP FLOAT ===== */
.cg-wa-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  background: var(--cg-whatsapp);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 4px 16px rgba(37,211,102,0.3);
  z-index: 999;
  transition: transform 0.2s;
}
.cg-wa-float:hover { transform: scale(1.08); color: #fff; }
.cg-wa-float svg { width: 28px; height: 28px; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1200px) {
  .cg-car-grid { grid-template-columns: repeat(3, 1fr); }
  .cg-services-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .cg-nav { display: none; }
  .cg-hamburger { display: block; }
  .cg-hero-inner { grid-template-columns: 1fr; }
  .cg-car-grid { grid-template-columns: repeat(2, 1fr); }
  .cg-steps { grid-template-columns: 1fr; gap: 24px; }
  .cg-features { grid-template-columns: 1fr 1fr; }
  .cg-reviews { grid-template-columns: 1fr; }
  .cg-areas { grid-template-columns: repeat(2, 1fr); }
  .cg-footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .cg-services-grid { grid-template-columns: repeat(2, 1fr); }
  .cg-stats { grid-template-columns: repeat(2, 1fr); }
  .cg-values { grid-template-columns: 1fr; }
  .cg-section { padding: 56px 0; }
  .cg-form-row { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .cg-car-grid { grid-template-columns: 1fr; }
  .cg-areas { grid-template-columns: 1fr; }
  .cg-footer-grid { grid-template-columns: 1fr; }
  .cg-features { grid-template-columns: 1fr; }
  .cg-services-grid { grid-template-columns: 1fr; }
  .cg-stats { grid-template-columns: 1fr 1fr; }
  .cg-trust-inner { gap: 16px; }
}

/* Additional Blog & Slider Styles for CADIGOR Theme */

.cg-blog-slider-container {
  position: relative;
  overflow: hidden;
}

#cg-blog-slider {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 8px 4px 16px;
  scrollbar-width: none;
}

#cg-blog-slider::-webkit-scrollbar {
  display: none;
}

.cg-blog-slide-item {
  flex: 0 0 340px;
  max-width: 340px;
  scroll-snap-align: start;
  transition: transform .2s ease, box-shadow .2s ease;
}

.cg-blog-slide-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08) !important;
}

.cg-blog-slide-item a img {
  transition: transform .3s ease;
}

.cg-blog-slide-item:hover a img {
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .cg-blog-slide-item {
    flex: 0 0 280px;
    max-width: 280px;
  }
}

.cg-filter-pill:hover {
  background: #8CC63F !important;
  color: #fff !important;
}



/* ===== HERO SECTION ===== */
.cg-hero-horizontal {
  position: relative;
  background: linear-gradient(to bottom, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.42) 100%),
              url('/wp-content/uploads/cadigor-hero.jpg') center/cover no-repeat;
  min-height: 520px;
  display: flex;
  align-items: center;
  color: #fff;
  padding: 85px 0 70px;
}

.cg-hero-horizontal .cg-hero-container {
  max-width: 1340px !important;
  width: 100%;
}

.cg-hero-horizontal-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 28px;
  width: 100%;
}

.cg-hero-header {
  max-width: 860px;
  margin: 0 auto;
}

.cg-hero-header h1 {
  font-size: clamp(26px, 3.8vw, 44px);
  color: #fff;
  font-weight: 800;
  line-height: 1.18;
  margin-bottom: 12px;
  letter-spacing: -0.4px;
  text-shadow: 0 1px 4px rgba(0,0,0,0.3);
}

.cg-hero-header .cg-hero-sub {
  font-size: clamp(15px, 1.7vw, 17.5px);
  color: rgba(255,255,255,0.92);
  line-height: 1.5;
  margin-bottom: 18px;
  text-shadow: 0 1px 2px rgba(0,0,0,0.25);
}

.cg-hero-header .cg-hero-badges {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.cg-hero-header .cg-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 500;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.22);
  padding: 5px 12px;
  border-radius: 20px;
  color: #fff;
}

.cg-hero-header .cg-hero-badge svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}


/* ===== SEARCH BAR CARD â€” EXACT MATCH TO REFERENCE IMAGE ===== */
.cg-booking-card-wrapper {
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12), 0 2px 6px rgba(0, 0, 0, 0.04);
  padding: 16px 20px;
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
  box-sizing: border-box;
  position: relative;
}

.cg-search-bar {
  display: grid;
  grid-template-columns: minmax(160px, 1.25fr) minmax(160px, 1.25fr) minmax(130px, 0.95fr) minmax(130px, 0.95fr) minmax(135px, 1.05fr) auto;
  gap: 10px;
  align-items: flex-end;
  width: 100%;
  margin: 0;
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
}

/* Individual field container */
.cg-sb-field {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

/* Label above each input box */
.cg-sb-label {
  font-size: 13px;
  font-weight: 500;
  color: #1F2937;
  margin-bottom: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.2;
  display: block;
  text-align: left;
}

/* Bordered input box matching the reference image */
.cg-sb-box {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 0 12px;
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: 8px;
  box-sizing: border-box;
  transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
}

.cg-sb-box:hover {
  border-color: #D1D5DB;
  background: #F9FAFB;
}

.cg-sb-box:focus-within {
  border-color: #76A935;
  box-shadow: 0 0 0 3px rgba(118, 169, 53, 0.15);
  background: #FFFFFF;
}

/* Icons inside the boxes */
.cg-sb-icon {
  flex-shrink: 0;
  color: #6B7280;
  display: inline-flex;
  align-items: center;
}

/* Transparent inputs / selects inside the box */
.cg-sb-select,
.cg-sb-date {
  flex: 1;
  min-width: 0;
  border: none !important;
  outline: none !important;
  background: transparent !important;
  box-shadow: none !important;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 500;
  color: #111827;
  padding: 0 !important;
  margin: 0 !important;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
  height: 100%;
}

.cg-sb-date::-webkit-calendar-picker-indicator {
  cursor: pointer;
  opacity: 0.55;
  padding: 0;
  margin-left: 2px;
}

/* Chevron dropdown arrow */
.cg-sb-chevron {
  flex-shrink: 0;
  color: #9CA3AF;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  margin-left: 2px;
}

/* Search Button Column & Button */
.cg-sb-btn-col {
  display: flex;
  flex-direction: column;
  align-self: flex-end;
}

.cg-sb-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  height: 44px;
  padding: 0 22px;
  background: #76A935;
  color: #FFFFFF;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s, transform 0.1s;
  box-sizing: border-box;
}

.cg-sb-btn:hover {
  background: #64912b;
}

.cg-sb-btn:active {
  transform: scale(0.98);
}

.cg-sb-btn svg {
  flex-shrink: 0;
}

/* Global button color updates to #76A935 */
.cg-btn-wa,
.cg-btn-primary,
a.cg-btn-wa,
button.cg-btn-wa {
  background: #76A935 !important;
  color: #ffffff !important;
}

.cg-btn-wa:hover,
.cg-btn-primary:hover,
a.cg-btn-wa:hover,
button.cg-btn-wa:hover {
  background: #64912b !important;
}

/* Reassurance line below the card */
.cg-sb-footer-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  font-size: 13px;
  color: rgba(255,255,255,0.92);
  text-shadow: 0 1px 3px rgba(0,0,0,0.45);
  flex-wrap: wrap;
  margin-top: 14px;
}

.cg-sb-footer-note span:nth-child(even) {
  opacity: 0.45;
  font-size: 10px;
}


/* ===== CAR FILTER TABS BELOW HERO ===== */
.cg-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 36px;
}

.cg-filter-btn {
  padding: 9px 20px;
  border-radius: 24px;
  border: 1px solid #E2E8F0;
  background: #fff;
  color: #4A4A4A;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
}

.cg-filter-btn:hover {
  border-color: #76A935;
  color: #1A1A1A;
}

.cg-filter-btn.active {
  background: #76A935;
  border-color: #76A935;
  color: #fff;
  box-shadow: 0 2px 8px rgba(118,169,53,0.35);
}


/* ===== TABLET / MOBILE RESPONSIVE ===== */
@media (max-width: 960px) {
  .cg-booking-card-wrapper {
    max-width: 96%;
    padding: 16px;
  }
  .cg-search-bar {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .cg-sb-btn-col {
    grid-column: 1 / -1;
  }
  .cg-sb-btn {
    width: 100%;
  }
}

@media (max-width: 560px) {
  .cg-hero-horizontal {
    padding: 50px 0 40px;
  }
  .cg-booking-card-wrapper {
    padding: 14px 12px;
    border-radius: 16px;
  }
  .cg-search-bar {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .cg-sb-btn-col {
    grid-column: auto;
  }
  .cg-sb-footer-note {
    font-size: 12px;
    gap: 8px;
  }
}

/* ==========================================================================
   CADIGOR 3-STEP BOOKING FLOW (CHOOSE CAR & CHECKOUT)
   ========================================================================== */

.cgb-page-wrap {
  background: #F8F9FA;
  min-height: 80vh;
  padding-bottom: 60px;
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: #1A1A1A;
}

/* --- Breadcrumb / Step Indicator Bar --- */
.cgb-steps-nav {
  background: #FFFFFF;
  border-bottom: 1px solid #E5E5E5;
  padding: 16px 0;
}
.cgb-steps-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 600px;
  margin: 0 auto;
}
.cgb-step-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #94A3B8;
}
.cgb-step-num {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  background: #F1F5F9;
  color: #64748B;
}
.cgb-step-active .cgb-step-num {
  background: #76A935;
  color: #FFFFFF;
}
.cgb-step-active .cgb-step-label {
  color: #1A1A1A;
  font-weight: 700;
}
.cgb-step-done .cgb-step-num {
  background: rgba(118, 169, 53, 0.15);
  color: #76A935;
}
.cgb-step-done .cgb-step-label {
  color: #76A935;
}
.cgb-step-divider {
  flex: 1;
  height: 2px;
  background: #E2E8F0;
  margin: 0 14px;
}
.cgb-step-divider.active {
  background: #76A935;
}

/* --- Step 2: Trip Summary Bar (.cgb-search-summary) --- */
.cgb-summary-section {
  background: #FFFFFF;
  border-bottom: 1px solid #E5E5E5;
  padding: 16px 0;
}
.cgb-search-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  background: #F8F9FA;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 14px 20px;
}
.cgb-summary-details {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 15px;
  color: #1A1A1A;
}
.cgb-summary-locs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
}
.cgb-summary-icon {
  display: inline-flex;
  align-items: center;
}
.cgb-arrow {
  color: #76A935;
  font-weight: 700;
  margin: 0 2px;
}
.cgb-summary-meta {
  display: flex;
  align-items: center;
  gap: 8px;
}
.cgb-meta-sep {
  color: #CBD5E1;
  font-weight: 300;
}
.cgb-summary-dates {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #4B5563;
  font-weight: 500;
}
.cgb-modify-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border: 1px solid #76A935;
  border-radius: 8px;
  background: #FFFFFF;
  color: #76A935;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
}
.cgb-modify-btn:hover,
.cgb-modify-btn.active {
  background: #76A935;
  color: #FFFFFF;
}

/* Collapsible Modify Drawer */
.cgb-modify-drawer {
  margin-top: 14px;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}
.cgb-mf-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)) 140px;
  gap: 12px;
  align-items: flex-end;
}
.cgb-mf-field label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: #4B5563;
  margin-bottom: 5px;
}
.cgb-input {
  width: 100%;
  height: 42px;
  border: 1px solid #CBD5E1;
  border-radius: 8px;
  padding: 0 12px;
  font-size: 14px;
  color: #1A1A1A;
  background: #FFFFFF;
  font-family: inherit;
  box-sizing: border-box;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.cgb-input:focus {
  border-color: #76A935;
  outline: none;
  box-shadow: 0 0 0 3px rgba(118,169,53,0.18);
}
.cgb-btn-submit {
  height: 42px;
  width: 100%;
  background: #76A935;
  color: #FFFFFF;
  border: none;
  border-radius: 8px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.2s;
  font-family: inherit;
}
.cgb-btn-submit:hover {
  background: #64912b;
}

/* --- Fleet Section & Category Tabs --- */
.cgb-fleet-section {
  padding: 36px 0 60px;
}
.cgb-section-header {
  margin-bottom: 24px;
}
.cgb-main-heading {
  font-size: 28px;
  font-weight: 800;
  color: #1A1A1A;
  margin: 0 0 6px;
  letter-spacing: -0.3px;
}
.cgb-sub-heading {
  font-size: 15px;
  color: #6C757D;
  margin: 0;
}
.cgb-filter-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 30px;
  overflow-x: auto;
  padding-bottom: 6px;
  scrollbar-width: thin;
}
.cgb-tab-btn {
  padding: 8px 18px;
  border-radius: 24px;
  border: 1px solid #E2E8F0;
  background: #FFFFFF;
  color: #4A4A4A;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  font-family: inherit;
}
.cgb-tab-btn:hover {
  border-color: #76A935;
  color: #1A1A1A;
}
.cgb-tab-btn.active {
  background: #76A935;
  border-color: #76A935;
  color: #FFFFFF;
  box-shadow: 0 2px 8px rgba(118,169,53,0.3);
}

/* --- Responsive Car Grid (.cgb-car-grid) --- */
.cgb-car-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* --- Car Card (.cgb-car-card) --- */
.cgb-car-card {
  background: #FFFFFF;
  border: 1px solid #E5E5E5;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  box-shadow: 0 2px 6px rgba(0,0,0,0.03);
}
.cgb-car-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(0,0,0,0.08);
  border-color: #CBD5E1;
}
.cgb-card-img-wrap {
  position: relative;
  width: 100%;
  height: 200px;
  background: #F1F5F9;
  overflow: hidden;
}
.cgb-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.3s ease;
}
.cgb-car-card:hover .cgb-card-img {
  transform: scale(1.03);
}
.cgb-card-no-img {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: #94A3B8;
  font-weight: 600;
  font-size: 14px;
}
.cgb-card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(26,26,26,0.85);
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 4px 10px;
  border-radius: 20px;
  backdrop-filter: blur(4px);
}
.cgb-card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.cgb-card-title {
  font-size: 18px;
  font-weight: 700;
  color: #1A1A1A;
  margin: 0 0 10px;
  line-height: 1.3;
}
.cgb-card-specs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: #64748B;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid #F1F5F9;
}
.cgb-spec-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.cgb-card-price-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 16px;
  margin-top: auto;
}
.cgb-card-rate .cgb-price-val {
  font-size: 24px;
  font-weight: 800;
  color: #1A1A1A;
}
.cgb-card-rate .cgb-price-unit {
  font-size: 14px;
  font-weight: 500;
  color: #6C757D;
  margin-left: 2px;
}
.cgb-card-subtotal {
  font-size: 13px;
  font-weight: 600;
  color: #76A935;
}
.cgb-btn-continue {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 13px 20px;
  background: #76A935;
  color: #FFFFFF !important;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  border-radius: 8px;
  transition: background 0.2s, transform 0.1s;
  box-sizing: border-box;
  text-align: center;
}
.cgb-btn-continue:hover {
  background: #64912b !important;
  color: #FFFFFF !important;
  text-decoration: none;
}
.cgb-btn-continue:active {
  transform: scale(0.98);
}

/* Reassurance row */
.cgb-reassurance-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 44px;
  padding-top: 28px;
  border-top: 1px solid #E5E5E5;
}
.cgb-rb-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.cgb-rb-item strong {
  display: block;
  font-size: 14px;
  color: #1A1A1A;
  margin-bottom: 2px;
}
.cgb-rb-item span {
  font-size: 13px;
  color: #6C757D;
  line-height: 1.4;
}

/* --- Step 3: Checkout Page Layout (.cgb-checkout-layout) --- */
.cgb-checkout-section {
  padding: 36px 0 60px;
}
.cgb-checkout-title-area {
  margin-bottom: 28px;
}
.cgb-checkout-heading {
  font-size: 30px;
  font-weight: 800;
  color: #1A1A1A;
  margin: 0 0 6px;
  letter-spacing: -0.3px;
}
.cgb-checkout-sub {
  font-size: 15px;
  color: #6C757D;
  margin: 0;
}
.cgb-checkout-layout {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: 32px;
  align-items: flex-start;
}

/* Form Sections (.cgb-form-section) */
.cgb-form-section {
  background: #FFFFFF;
  border: 1px solid #E5E5E5;
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.02);
}
.cgb-section-top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}
.cgb-section-badge {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  background: rgba(118,169,53,0.12);
  color: #76A935;
  padding: 3px 8px;
  border-radius: 4px;
}
.cgb-section-title {
  font-size: 18px;
  font-weight: 700;
  color: #1A1A1A;
  margin: 0;
}
.cgb-section-desc {
  font-size: 13px;
  color: #6C757D;
  margin: 0 0 18px;
}

/* Section A: Trip Summary Box */
.cgb-trip-summary-box {
  background: #F8F9FA;
  border: 1px solid #E2E8F0;
  border-radius: 10px;
  padding: 18px;
}
.cgb-ts-car {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid #E2E8F0;
}
.cgb-ts-car-img {
  width: 90px;
  height: 60px;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid #CBD5E1;
}
.cgb-ts-car-info {
  flex: 1;
}
.cgb-ts-car-info .cgb-card-badge {
  position: static;
  display: inline-block;
  margin-bottom: 4px;
}
.cgb-ts-car-name {
  font-size: 17px;
  font-weight: 700;
  color: #1A1A1A;
  margin: 2px 0;
}
.cgb-ts-car-rate {
  font-size: 13px;
  color: #64748B;
}
.cgb-change-link {
  font-size: 13px;
  font-weight: 600;
  color: #76A935;
  text-decoration: underline;
  cursor: pointer;
}
.cgb-change-link:hover {
  color: #64912b;
}
.cgb-ts-details-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.cgb-ts-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.cgb-ts-icon {
  margin-top: 2px;
}
.cgb-ts-lbl {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  font-weight: 600;
  color: #94A3B8;
  margin-bottom: 2px;
}
.cgb-ts-val {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #1E293B;
  line-height: 1.3;
}

/* Forms, Inputs, Selects */
.cgb-form-row {
  margin-bottom: 16px;
}
.cgb-form-row:last-child {
  margin-bottom: 0;
}
.cgb-form-cols-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.cgb-field-group {
  display: flex;
  flex-direction: column;
}
.cgb-field-label {
  font-size: 13px;
  font-weight: 600;
  color: #334155;
  margin-bottom: 6px;
}
.cgb-req {
  color: #EF4444;
  font-weight: 700;
  margin-left: 2px;
}
.cgb-opt {
  color: #94A3B8;
  font-weight: 400;
  font-size: 12px;
  margin-left: 4px;
}
.cgb-field-hint {
  font-size: 12px;
  color: #64748B;
  margin-top: 5px;
}
.cgb-form-input {
  width: 100%;
  height: 44px;
  padding: 0 14px;
  border: 1px solid #CBD5E1;
  border-radius: 8px;
  font-size: 14px;
  color: #1E293B;
  background: #FFFFFF;
  font-family: inherit;
  box-sizing: border-box;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.cgb-form-input:focus {
  border-color: #76A935;
  outline: none;
  box-shadow: 0 0 0 3px rgba(118,169,53,0.18);
}
.cgb-select-box {
  position: relative;
  width: 100%;
}
.cgb-select-box select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 32px;
  cursor: pointer;
}
.cgb-select-arrow {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: #64748B;
  font-size: 11px;
}
.cgb-input-invalid {
  border-color: #EF4444 !important;
  background-color: #FEF2F2 !important;
}
.cgb-field-error {
  display: none;
  font-size: 12px;
  color: #EF4444;
  margin-top: 4px;
  font-weight: 500;
}

/* Add-ons List (.cgb-addon-item) */
.cgb-addons-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cgb-addon-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 18px;
  border: 1px solid #E2E8F0;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
  background: #FAFAFA;
}
.cgb-addon-item:hover {
  border-color: #76A935;
  background: #F6FAF0;
}
.cgb-addon-check {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  accent-color: #76A935;
  cursor: pointer;
  flex-shrink: 0;
}
.cgb-addon-content {
  flex: 1;
}
.cgb-addon-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4px;
}
.cgb-addon-name {
  font-size: 15px;
  font-weight: 700;
  color: #1E293B;
}
.cgb-addon-price {
  font-size: 13px;
  font-weight: 700;
  color: #76A935;
  background: rgba(118,169,53,0.12);
  padding: 3px 8px;
  border-radius: 6px;
}
.cgb-addon-note {
  font-size: 13px;
  color: #64748B;
  margin: 0;
  line-height: 1.4;
}

/* --- Price Summary Sticky Card (.cgb-price-summary) --- */
.cgb-checkout-sidebar {
  position: sticky;
  top: 90px;
}
.cgb-price-summary {
  background: #FFFFFF;
  border: 1px solid #E5E5E5;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.05);
}
.cgb-summary-title {
  font-size: 20px;
  font-weight: 800;
  color: #1A1A1A;
  margin: 0 0 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid #F1F5F9;
}
.cgb-ps-breakdown {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 22px;
}

/* Price Rows (.cgb-price-row) */
.cgb-price-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  font-size: 14px;
  color: #334155;
}
.cgb-pr-label strong {
  color: #1A1A1A;
  font-size: 15px;
}
.cgb-pr-sub {
  font-size: 12px;
  color: #64748B;
  margin-top: 2px;
}
.cgb-pr-val {
  font-weight: 700;
  color: #1A1A1A;
  font-size: 15px;
  white-space: nowrap;
}
.cgb-ps-divider {
  height: 1px;
  background: #E2E8F0;
  margin: 4px 0;
}
.cgb-total-row {
  align-items: center;
  padding-top: 8px;
}
.cgb-total-lbl {
  font-size: 16px;
  font-weight: 800;
  color: #1A1A1A;
  letter-spacing: 0.3px;
}
.cgb-total-sub {
  font-size: 12px;
  color: #76A935;
  font-weight: 600;
  margin-top: 2px;
}
.cgb-total-val {
  font-size: 26px;
  font-weight: 800;
  color: #76A935;
  white-space: nowrap;
}

/* Book Now Button (.cgb-book-btn) */
.cgb-book-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #76A935 !important;
  color: #FFFFFF !important;
  border: none;
  border-radius: 10px;
  padding: 16px 20px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
  box-shadow: 0 4px 12px rgba(118,169,53,0.3);
  font-family: inherit;
}
.cgb-book-btn:hover {
  background: #64912b !important;
  color: #FFFFFF !important;
}
.cgb-book-btn:active {
  transform: scale(0.98);
}
.cgb-action-note {
  font-size: 12px;
  color: #64748B;
  text-align: center;
  margin: 10px 0 0;
  line-height: 1.4;
}

/* Trust list in price summary */
.cgb-ps-trust {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid #F1F5F9;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.cgb-trust-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 12px;
  color: #4B5563;
  line-height: 1.4;
}
.cgb-trust-row svg {
  flex-shrink: 0;
  margin-top: 2px;
}

/* --- Protection Plans (Section D) --- */
.cgb-plans-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cgb-plan-card {
  display: block;
  background: #FFFFFF;
  border: 2px solid #E2E8F0;
  border-radius: 12px;
  padding: 16px 18px;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
}
.cgb-plan-card:hover {
  border-color: #CBD5E1;
  background: #FAFAFA;
}
.cgb-plan-card.cgb-plan-selected {
  border-color: #76A935;
  background: #F6FAF0;
  box-shadow: 0 2px 8px rgba(118, 169, 53, 0.12);
}
.cgb-plan-card.cgb-plan-recommended {
  border-color: #A3CF68;
}
.cgb-plan-card.cgb-plan-recommended.cgb-plan-selected {
  border-color: #76A935;
}
.cgb-plan-top-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 8px;
}
.cgb-plan-radio-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}
.cgb-plan-radio {
  width: 18px;
  height: 18px;
  accent-color: #76A935;
  cursor: pointer;
  margin: 0;
}
.cgb-plan-title {
  font-size: 15px;
  color: #1E293B;
  font-weight: 500;
}
.cgb-plan-badge-rec {
  background: #76A935;
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 3px 10px;
  border-radius: 12px;
  text-transform: uppercase;
  flex-shrink: 0;
}
.cgb-plan-desc {
  font-size: 13px;
  color: #64748B;
  line-height: 1.5;
  margin-left: 28px;
}
@media (max-width: 640px) {
  .cgb-plan-desc {
    margin-left: 0;
    margin-top: 6px;
  }
}

/* --- Mobile / Tablet Responsive Breakpoints --- */
@media (max-width: 992px) {
  .cgb-car-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .cgb-checkout-layout {
    grid-template-columns: 1fr;
  }
  .cgb-checkout-sidebar {
    position: static;
  }
  .cgb-reassurance-bar {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

@media (max-width: 640px) {
  .cgb-car-grid {
    grid-template-columns: 1fr;
  }
  .cgb-search-summary {
    flex-direction: column;
    align-items: flex-start;
  }
  .cgb-modify-btn {
    width: 100%;
    justify-content: center;
  }
  .cgb-form-cols-2 {
    grid-template-columns: 1fr;
  }
  .cgb-ts-details-grid {
    grid-template-columns: 1fr;
  }
  .cgb-steps-bar {
    gap: 4px;
  }
  .cgb-step-label {
    display: none;
  }
  .cgb-main-heading {
    font-size: 22px;
  }
  .cgb-checkout-heading {
    font-size: 24px;
  }
}
/* Dynamic Customizer Logo & Site Title */
.cg-logo { display: flex; align-items: center; }
.cg-logo img, .cg-logo .custom-logo-link img, .cg-logo .custom-logo { height: 40px; max-height: 48px; width: auto; object-fit: contain; display: block; }
.cg-logo .cg-site-title { font-size: 22px; font-weight: 800; color: #1A1A1A; text-decoration: none; letter-spacing: -0.5px; }

/* Services Gutenberg Block Styling */
.cg-page-services .wp-block-heading { color: #1A1A1A; font-family: 'DM Sans', sans-serif; }
.cg-page-services h1.wp-block-heading { font-size: clamp(28px, 4vw, 42px); font-weight: 800; line-height: 1.25; margin-bottom: 20px; }
.cg-page-services h2.wp-block-heading { font-size: clamp(22px, 3vw, 28px); font-weight: 700; line-height: 1.3; margin-bottom: 14px; }
.cg-page-services h3.wp-block-heading { font-size: 19px; font-weight: 700; margin-top: 24px; margin-bottom: 8px; color: #1A1A1A; }
.cg-page-services p { font-size: 16px; line-height: 1.7; color: #4A4A4A; margin-bottom: 18px; }
.cg-page-services .wp-block-image img { width: 100%; height: auto; max-height: 380px; object-fit: cover; border-radius: 14px; box-shadow: 0 4px 20px rgba(0,0,0,0.07); display: block; }
.cg-page-services .wp-block-button__link { background-color: #8CC63F !important; color: #FFFFFF !important; font-weight: 700 !important; font-size: 15px !important; text-decoration: none !important; border-radius: 8px !important; display: inline-flex !important; align-items: center !important; justify-content: center !important; transition: background 0.2s ease !important; }
.cg-page-services .wp-block-button__link:hover { background-color: #7ab332 !important; color: #FFFFFF !important; }
.cg-page-services .wp-block-columns { gap: 40px; margin-bottom: 32px; align-items: center; }
@media (max-width: 781px) {
  .cg-page-services { padding: 32px 0 60px !important; }
  .cg-page-services .wp-block-columns { gap: 20px !important; margin-bottom: 36px !important; }
  .cg-page-services .wp-block-image img { max-height: 280px !important; }
}


/* ===== SERVICES REDESIGN SCOPED STYLES ===== */
.cg-services-hero {
  padding: 48px 0 64px;
  background: var(--cg-bg, #FFFFFF);
}
.cg-services-hero-inner {
  display: flex;
  align-items: center;
  gap: 48px;
}
.cg-services-hero-content {
  flex: 1 1 55%;
}
.cg-services-hero-content h1 {
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.2;
  font-weight: 800;
  color: var(--cg-ink, #1A1A1A);
  margin-bottom: 18px;
}
.cg-services-hero-content p.cg-services-intro {
  font-size: 17px;
  line-height: 1.7;
  color: #4A4A4A;
  margin-bottom: 24px;
}
.cg-services-hero-media {
  flex: 1 1 45%;
}
.cg-services-hero-img {
  width: 100%;
  height: auto;
  max-height: 440px;
  object-fit: cover;
  border-radius: var(--cg-radius-lg, 16px);
  box-shadow: 0 12px 36px rgba(0,0,0,0.1);
  display: block;
}
.cg-services-btn-group {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 24px;
}
.cg-services-section {
  padding: 80px 0;
}
.cg-services-row {
  display: flex;
  align-items: center;
  gap: 48px;
  margin-bottom: 64px;
}
.cg-services-row:last-child {
  margin-bottom: 0;
}
.cg-services-row-reverse {
  flex-direction: row-reverse;
}
.cg-services-col-text {
  flex: 1 1 52%;
}
.cg-services-col-media {
  flex: 1 1 48%;
}
.cg-services-img {
  width: 100%;
  height: auto;
  max-height: 360px;
  object-fit: cover;
  border-radius: var(--cg-radius-lg, 16px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
  display: block;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.cg-services-img:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.09);
}
.cg-services-num-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px 14px;
  background: rgba(140, 198, 63, 0.12);
  color: var(--cg-accent, #8CC63F);
  font-weight: 700;
  font-size: 13px;
  border-radius: 20px;
  letter-spacing: 0.5px;
  margin-bottom: 14px;
  text-transform: uppercase;
}
.cg-services-col-text h2 {
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 14px;
  color: var(--cg-ink, #1A1A1A);
}
.cg-services-col-text p {
  font-size: 16px;
  line-height: 1.7;
  color: #4A4A4A;
  margin-bottom: 18px;
}
.cg-services-feature-card {
  background: var(--cg-surface, #F8F9FA);
  border: 1px solid var(--cg-border, #E5E5E5);
  border-radius: var(--cg-radius-lg, 16px);
  padding: 36px 32px;
  margin-bottom: 64px;
  display: flex;
  align-items: flex-start;
  gap: 20px;
}
.cg-services-feature-icon {
  width: 52px;
  height: 52px;
  background: rgba(140, 198, 63, 0.14);
  border-radius: var(--cg-radius-sm, 8px);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--cg-accent, #8CC63F);
}
.cg-services-feature-icon svg {
  width: 26px;
  height: 26px;
}
.cg-services-faq-list {
  max-width: 860px;
  margin: 0 auto;
}
.cg-services-faq-item {
  background: var(--cg-bg, #FFFFFF);
  border: 1px solid var(--cg-border, #E5E5E5);
  border-radius: var(--cg-radius-md, 10px);
  margin-bottom: 14px;
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.cg-services-faq-item:hover {
  border-color: var(--cg-accent, #8CC63F);
  box-shadow: 0 4px 14px rgba(140, 198, 63, 0.08);
}
.cg-services-faq-item summary {
  padding: 20px 24px;
  cursor: pointer;
  font-weight: 700;
  font-size: 17px;
  color: var(--cg-ink, #1A1A1A);
  display: flex;
  align-items: center;
  justify-content: space-between;
  user-select: none;
  list-style: none;
}
.cg-services-faq-item summary::-webkit-details-marker {
  display: none;
}
.cg-services-faq-item summary::after {
  content: "+";
  font-size: 20px;
  font-weight: 600;
  color: var(--cg-accent, #8CC63F);
  transition: transform 0.2s ease;
}
.cg-services-faq-item[open] summary::after {
  content: "−";
  transform: rotate(180deg);
}
.cg-services-faq-item .cg-services-faq-answer {
  padding: 0 24px 22px;
  color: #4A4A4A;
  font-size: 15px;
  line-height: 1.7;
}

@media (max-width: 860px) {
  .cg-services-hero-inner {
    flex-direction: column-reverse;
    gap: 32px;
  }
  .cg-services-row,
  .cg-services-row-reverse {
    flex-direction: column !important;
    gap: 28px;
    margin-bottom: 48px;
  }
  .cg-services-col-media,
  .cg-services-col-text {
    width: 100%;
  }
  .cg-services-img {
    max-height: 280px;
  }
  .cg-services-feature-card {
    flex-direction: column;
    padding: 24px;
  }
}


/* Keep footer bottom (copyright + Trustindex badge) visible above the sticky mobile booking bar on car pages */
@media (max-width: 900px) {
  body.single-car .cg-footer-bottom { padding-bottom: 96px; }
}


/* Trustindex certificate badge: floating bottom-left on computers (901px+), stays in the footer on tablets/phones.
   Hidden while the car booking form is on screen so it never covers a field. */
@media (min-width: 901px) {
  .cg-footer-trust { position: fixed; left: 16px; bottom: 20px; z-index: 99; margin: 0 !important; transition: opacity .2s ease; }
  .cg-footer-trust.cg-trust-hidden { opacity: 0; pointer-events: none; }
}


/* Phones & tablets: Trustindex badge hidden behind a shield button (bottom-left); tap to show. WhatsApp button lifted above the car-page booking bar. */
.cg-trust-toggle { display: none; }
@media (max-width: 900px) {
  .cg-trust-toggle { display: flex; position: fixed; left: 14px; bottom: 20px; z-index: 100; width: 48px; height: 48px; border-radius: 50%; border: 0; background: #fff; box-shadow: 0 4px 14px rgba(0,0,0,.18); align-items: center; justify-content: center; padding: 0; cursor: pointer; }
  .cg-trust-toggle svg { width: 26px; height: 26px; }
  .cg-footer-trust { position: fixed !important; left: 14px; bottom: 78px; z-index: 100; margin: 0 !important; opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .2s, transform .2s, visibility .2s; }
  .cg-footer-trust.cg-trust-open { opacity: 1; visibility: visible; transform: none; }
  body.single-car .cg-trust-toggle { bottom: 92px; }
  body.single-car .cg-footer-trust { bottom: 150px; }
  body.single-car .cg-wa-float { bottom: 92px; }
}


/* Pages with the location booking bar (Book Now on WhatsApp + call): lift floating buttons above it on phones/tablets */
@media (max-width: 900px) {
  body:has(.cg-sticky-mobile-bar) .cg-trust-toggle { bottom: 88px; }
  body:has(.cg-sticky-mobile-bar) .cg-footer-trust { bottom: 146px; }
  body:has(.cg-sticky-mobile-bar) .cg-wa-float { bottom: 88px; }
}

/* ===== Car detail page: desktop layout (photo gallery left, rental summary card right). Phones/tablets unchanged. ===== */
.cg-dt-crumbs, .cg-dt-card, .cg-gal-arrow { display: none; }
.cg-thumbs-row { display: contents; }
@media (min-width: 901px) {
  body.single-car .cg-detail-breadcrumbs { display: none; }
  body.single-car .cg-detail-h1 { margin-bottom: 0; }
  body.single-car .cg-dt-crumbs { display: block; margin: 10px 0 26px; font-size: 15px; color: #6C757D; }
  body.single-car .cg-dt-crumbs a { color: #6C757D; text-decoration: none; }
  body.single-car .cg-dt-crumbs a:hover { color: #1A1A1A; }
  body.single-car .cg-dt-crumbs .current { color: #1A1A1A; font-weight: 500; }
  body.single-car .cg-dt-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 48px; align-items: start; margin-bottom: 36px; }
  body.single-car .cg-dt-grid .cg-gallery-container { display: block; margin: 0; border-radius: 0; overflow: visible; }
  body.single-car .cg-dt-grid .cg-gallery-main { aspect-ratio: 16 / 9.2; height: auto; border-radius: 16px; background: #fff; box-shadow: 0 2px 10px rgba(0,0,0,.05); }
  body.single-car .cg-dt-grid .cg-gallery-main img { width: 100%; height: 100%; object-fit: cover; object-position: center 58%; }
  body.single-car .cg-thumbs-row { display: flex; align-items: center; gap: 12px; margin-top: 16px; }
  body.single-car .cg-dt-grid .cg-gallery-thumbs { display: flex; flex-direction: row; gap: 12px; flex: 1; min-width: 0; overflow-x: auto; scrollbar-width: none; }
  body.single-car .cg-dt-grid .cg-gallery-thumbs::-webkit-scrollbar { display: none; }
  body.single-car .cg-dt-grid .cg-gallery-thumb { position: relative; flex: 0 0 calc((100% - 24px) / 3); aspect-ratio: 3 / 2; border-radius: 10px; overflow: hidden; background: #fff; border: 2px solid transparent; cursor: pointer; }
  body.single-car .cg-dt-grid .cg-gallery-thumb.is-active { border-color: #8BC34A; }
  body.single-car .cg-dt-grid .cg-gallery-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
  body.single-car .cg-gal-arrow { display: flex; flex: none; width: 36px; height: 36px; border-radius: 50%; border: 0; background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,.14); align-items: center; justify-content: center; font-size: 22px; line-height: 1; color: #333; cursor: pointer; padding: 0 0 3px; }
  body.single-car .cg-gal-arrow:hover { background: #F1F8E9; }
  body.single-car .cg-facts-bar, body.single-car .cg-trust-badges-bar { display: none; }
  body.single-car .cg-dt-card { display: block; background: #fff; border-radius: 18px; box-shadow: 0 8px 30px rgba(0,0,0,.08); padding: 26px 26px 22px; }
  .cg-dt-card-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 48px; }
  .cg-dt-pill { background: #E8F5E0; color: #4C8A1E; font-weight: 600; font-size: 15px; padding: 9px 16px; border-radius: 30px; white-space: nowrap; }
  .cg-dt-cert .cg-footer-trust { position: static !important; opacity: 1 !important; visibility: visible !important; transform: none !important; margin: 0 !important; display: block !important; }
  .cg-dt-specs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 24px 0 20px; text-align: center; }
  .cg-dt-spec { display: flex; flex-direction: column; align-items: center; gap: 10px; font-size: 15px; color: #1A1A1A; }
  .cg-dt-ic { width: 56px; height: 56px; border-radius: 12px; background: #F1F3F5; display: flex; align-items: center; justify-content: center; }
  .cg-dt-ic svg { width: 26px; height: 26px; }
  .cg-dt-points { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 18px; margin: 0 6px 22px; padding: 0; font-size: 15px; color: #1A1A1A; }
  .cg-dt-points li { display: flex; align-items: center; gap: 8px; margin: 0; }
  .cg-dt-points li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #7CB342; flex: none; }
  .cg-dt-btn { display: flex; align-items: center; justify-content: center; gap: 10px; border-radius: 10px; font-weight: 700; font-size: 17px; padding: 15px; text-decoration: none; transition: background .15s, border-color .15s; }
  .cg-dt-btn-book { background: #7CB342; color: #fff; }
  .cg-dt-btn-book:hover { background: #689F38; color: #fff; }
  .cg-dt-btn-wa { margin-top: 10px; border: 1.5px solid #D5D9DD; color: #1A1A1A; font-weight: 600; background: #fff; }
  .cg-dt-btn-wa:hover { border-color: #25D366; color: #1A1A1A; }
  .cg-dt-note { text-align: center; font-size: 13px; color: #6C757D; margin: 12px 0 0; }
}

/* ===== Car detail page: "Similar Vehicles" cards (all screen sizes) ===== */
.cg-similar-title { margin-top: 48px; }
.cg-similar-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-bottom: 20px; }
.cg-similar-grid .cg-car-card { background: #fff; border: 1px solid #E5E5E5; border-radius: 16px; overflow: hidden; box-shadow: 0 4px 20px rgba(0,0,0,.04); display: flex; flex-direction: column; transition: transform .25s ease, box-shadow .25s ease; }
.cg-similar-grid .cg-car-card:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(0,0,0,.08); }
.cg-similar-grid .cg-card-img-wrap { position: relative; display: block; width: 100%; aspect-ratio: 16 / 10; background: #fff; overflow: hidden; }
.cg-similar-grid .cg-card-img-wrap img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 62%; transition: transform .4s ease; }
.cg-similar-grid .cg-car-card:hover .cg-card-img-wrap img { transform: scale(1.04); }
.cg-similar-grid .cg-card-badge { position: absolute; top: 12px; left: 12px; z-index: 2; background: #1A1A1A; color: #fff; font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 20px; letter-spacing: .5px; text-transform: uppercase; }
.cg-similar-grid .cg-card-body { padding: 18px 18px 16px; flex: 1; display: flex; flex-direction: column; }
.cg-similar-grid .cg-card-cat { font-size: 12px; font-weight: 700; color: #7CB342; text-transform: uppercase; letter-spacing: .5px; margin-bottom: 4px; }
.cg-similar-grid .cg-card-title { font-size: 19px; font-weight: 700; line-height: 1.3; margin: 0 0 14px; color: #1A1A1A; }
.cg-similar-grid .cg-card-title a { color: inherit; text-decoration: none; }
.cg-similar-grid .cg-card-title a:hover { color: #7CB342; }
.cg-similar-grid .cg-card-footer { margin-top: auto; padding-top: 14px; border-top: 1px solid #E5E5E5; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.cg-similar-grid .cg-price-block { display: flex; flex-direction: column; }
.cg-similar-grid .cg-price-from { font-size: 12px; color: #6C757D; font-weight: 500; }
.cg-similar-grid .cg-price-main { font-size: 22px; font-weight: 800; color: #1A1A1A; line-height: 1.1; }
.cg-similar-grid .cg-price-main span { font-size: 13px; font-weight: 500; color: #6C757D; }
.cg-similar-grid .cg-btn-view-book { display: inline-flex; align-items: center; justify-content: center; padding: 10px 18px; background: #8CC63F; color: #fff !important; font-weight: 700; font-size: 14px; border-radius: 8px; text-decoration: none !important; white-space: nowrap; box-shadow: 0 4px 12px rgba(140,198,63,.3); transition: background .2s ease; }
.cg-similar-grid .cg-btn-view-book:hover { background: #76A935; }
/* Tablets: 3 slimmer cards */
@media (min-width: 768px) and (max-width: 1024px) {
  .cg-similar-grid { gap: 16px; }
  .cg-similar-grid .cg-card-body { padding: 14px 14px 12px; }
  .cg-similar-grid .cg-card-title { font-size: 17px; }
  .cg-similar-grid .cg-price-main { font-size: 19px; }
  .cg-similar-grid .cg-btn-view-book { padding: 9px 12px; font-size: 13px; }
}
/* Phones: swipeable row of cards */
@media (max-width: 767px) {
  .cg-similar-title { margin-top: 36px; font-size: 21px !important; }
  .cg-similar-grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-left: 20px; gap: 14px; margin: 0 -20px 20px; padding: 4px 20px 12px; scrollbar-width: none; }
  .cg-similar-grid::-webkit-scrollbar { display: none; }
  .cg-similar-grid .cg-car-card { flex: 0 0 78%; scroll-snap-align: start; }
  .cg-similar-grid .cg-car-card:hover { transform: none; }
}

/* Header WhatsApp button: proper inner spacing (the generic nav-link rule was removing its side padding) */
.cg-nav a.cg-header-cta { padding: 9px 18px; gap: 8px; white-space: nowrap; border-radius: 10px; line-height: 1.2; font-weight: 700; }
.cg-nav a.cg-header-cta svg { flex: none; }

/* Mobile menu: brand-coloured hamburger (no blue theme background on tap/focus) and WhatsApp link with the WhatsApp icon */
.cg-hamburger, .cg-hamburger:hover, .cg-hamburger:focus, .cg-hamburger:active { background: transparent !important; box-shadow: none !important; color: inherit; border-radius: 8px; }
.cg-hamburger:focus-visible { outline: 2px solid #8BC34A; outline-offset: 2px; }
.cg-hamburger[aria-expanded="true"] span { background: #7CB342; }
.cg-mobile-nav a.cg-mobile-wa { display: flex; align-items: center; gap: 10px; color: #25D366 !important; font-weight: 700; }
.cg-mobile-nav a.cg-mobile-wa svg { flex: none; fill: #25D366; }
