/* ===================================================================
   Siddik Autos — Design System
   Brand colors extracted from official logo
   =================================================================== */

:root {
  /* Brand */
  --navy: #1B2148;
  --navy-dark: #131838;
  --navy-light: #E7E8EF;
  --green: #1E7A3A;
  --green-dark: #186230;
  --green-light: #E3F3E8;
  --green-on-dark: #6BCB85;
  --red: #D14444;
  --red-dark: #B53737;
  --red-light: #FCE9E9;
  --gold: #F5A623;
  --gold-dark: #E59413;

  /* Neutrals */
  --white: #FFFFFF;
  --surface: #F6F7FA;
  --surface-2: #F0F1F5;
  --border: #E5E7EB;
  --border-strong: #CBD5E1;
  --text-primary: #0F172A;
  --text-secondary: #475569;
  --text-muted: #5C6B80;
  --text-disabled: #5C6B80;

  /* Shadow */
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 4px 12px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 12px 32px rgba(19, 24, 56, 0.12);
  --shadow-xl: 0 20px 48px rgba(19, 24, 56, 0.18);

  /* Radius (cards, panels, buttons, inputs: 4-6px scale) */
  --r-sm: 4px;
  --r-md: 5px;
  --r-lg: 6px;
  --r-xl: 6px;

  /* Layout */
  --container: 1360px;
  --header-h: 72px;
}

/* Reset & base */
* { box-sizing: border-box; margin: 0; padding: 0; outline: none; }
html { scroll-behavior: smooth; overflow-x: hidden; width: 100%; }
body {
  font-family: 'Inter', 'Hind Siliguri', system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-primary);
  overflow-x: hidden;
  width: 100%;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; border: none; cursor: pointer; background: none; color: inherit; }
input, select, textarea { font: inherit; border: none; background: none; color: inherit; }

/* ============ ACCESSIBILITY: visible keyboard focus ============ */
/* a:focus, button:focus, input:focus, select:focus, textarea:focus, [tabindex]:focus { outline: none; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible,
textarea:focus-visible, [tabindex]:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 2px;
  border-radius: var(--r-sm);
} */

/* Container */
.container { max-width: var(--container); margin: 0 auto; padding: 0 20px; }
@media (max-width: 768px) { .container { padding: 0 16px; } }

/* ============ TYPOGRAPHY ============ */
.eyebrow { font-size: 15px; letter-spacing: 2px; font-weight: 600; text-transform: uppercase; }
.eyebrow-red { color: var(--red); }
.eyebrow-green { color: var(--green); }
.eyebrow-navy { color: var(--navy); }

.h-display { font-size: clamp(28px, 4vw, 44px); font-weight: 600; line-height: 1.15; letter-spacing: -0.02em; color: var(--navy); }
.h-section { font-size: clamp(22px, 2.5vw, 30px); font-weight: 600; line-height: 1.2; letter-spacing: -0.01em; color: var(--navy); }
.h-card { font-size: 20px; font-weight: 600; color: var(--navy); }
.text-muted { color: var(--text-muted); }
.text-secondary { color: var(--text-secondary); }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 6px; padding: 11px 20px; font-size: 18px; font-weight: 500;
  border-radius: var(--r-md); transition: all 0.18s ease;
  white-space: nowrap; cursor: pointer;
  border: 0;
}
.btn-primary { background: var(--navy); color: var(--white); }
.btn-primary:hover { background: var(--navy-dark); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-accent { background: var(--red); color: var(--white); }
.btn-accent:hover { background: var(--red-dark); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-success { background: var(--green); color: var(--white); }
.btn-success:hover { background: var(--green-dark); transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--navy); border: 1px solid var(--border-strong); }
.btn-outline:hover { background: var(--surface); border-color: var(--navy); }
.btn-ghost { background: transparent; color: var(--navy); }
.btn-ghost:hover { background: var(--surface); }
.btn-sm { padding: 8px 14px; font-size: 16px; }
.btn-lg { padding: 14px 26px; font-size: 18px; }
.btn-block { width: 100%; }

/* ============ BADGES ============ */
.badge {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 12px; font-weight: 600; padding: 6px 10px;
  border-radius: var(--r-sm); line-height: 1;
}
.badge-green { background: var(--green); color: white; }
.badge-red { background: var(--red); color: white; }
.badge-navy { background: var(--navy); color: white; }
.badge-soft-green { background: var(--green-light); color: var(--green-dark); }
.badge-soft-red { background: var(--red-light); color: var(--red-dark); }
.badge-soft-navy { background: var(--navy-light); color: var(--navy); }

/* ============ CARDS ============ */
.card {
  background: var(--white);
  border: 0.5px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: all 0.2s ease;
}
.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }

.card-vehicle { display: flex; flex-direction: column; }
.card-vehicle .thumb { aspect-ratio: 16/11; background: var(--surface); display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.card-vehicle .thumb .icon { font-size: 56px; color: var(--border-strong); }
.card-vehicle .thumb img { width: 100%; height: 100%; object-fit: cover; }
.card-vehicle .badge { position: absolute; top: 10px; left: 10px; }
.card-vehicle .heart { position: absolute; top: 10px; right: 10px; color: var(--text-muted); background: rgba(255,255,255,0.9); width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.card-vehicle .heart:hover { color: var(--red); }
.card-vehicle .body { padding: 14px 16px; }

/* ============ FORMS ============ */
.field-label { display: block; font-size: 15px; font-weight: 600; color: var(--text-muted); letter-spacing: 0.5px; text-transform: uppercase; margin-bottom: 6px; }
.field-input, .field-select, .field-textarea {
  width: 100%; background: var(--surface);
  border: 0.5px solid var(--border); border-radius: var(--r-md);
  padding: 11px 14px; font-size: 18px; color: var(--text-primary);
  transition: all 0.15s ease;
}
.field-input:focus, .field-select:focus, .field-textarea:focus {
  background: var(--white); border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(27, 33, 72, 0.08);
}
.field-input::placeholder { color: var(--text-muted); }
.field-with-icon { position: relative; }
.field-with-icon .icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--text-muted); font-size: 16px; pointer-events: none; }
.field-with-icon input { padding-left: 40px; }

/* ============ NAVBAR ============ */
.topbar {
  background: var(--navy-dark);
  color: #C6C9D8;
  font-size: 14px;
  padding: 8px 0;
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; }
.topbar .left, .topbar .right { display: flex; gap: 18px; align-items: center; }
.lang-switch { display: flex; gap: 4px; align-items: center; }
.lang-switch a { color: #C6C9D8; }
.lang-switch a.active { color: #fff; font-weight: 600; text-decoration: underline; }
.lang-switch a:hover { color: #fff; }

.navbar {
  background: var(--white);
  border-bottom: 0.5px solid var(--border);
  padding: 14px 0;
  position: sticky; top: 0; z-index: 100;
  transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}
.navbar .container { display: flex; justify-content: space-between; align-items: center; }
.brand { display: flex; align-items: center; gap: 12px; width: 200px; }
.brand-logo { width: 200px; height: auto; flex-shrink: 0; object-fit: contain; }
.brand-name { line-height: 1.1; }
.brand-name .name { font-size: 20px; font-weight: 600; color: var(--navy); }
.brand-name .tagline { font-size: 15px; letter-spacing: 1.5px; color: var(--text-muted); font-weight: 500; }
.nav-links { display: flex; gap: 28px; align-items: center; font-size: 16px; }
.nav-links a { color: var(--navy); transition: color 0.15s; }
.nav-links a:hover, .nav-links a.active { color: var(--red); }
.nav-actions { display: flex; gap: 14px; align-items: center; }
.nav-actions .btn { font-size: 16px; border: 0}
.nav-icon-btn { color: var(--navy); position: relative; padding: 6px; border-radius: var(--r-md); transition: transform 0.15s ease, background 0.15s ease; }
.nav-icon-btn:hover { background: var(--surface); }
.nav-icon-btn:active { transform: scale(0.9); background: var(--surface); }
.cart-badge, .wish-badge { position: absolute; top: -2px; right: -2px; background: var(--red); color: white; font-size: 9px; padding: 1px 5px; border-radius: 8px; font-weight: 600; }

.mobile-toggle { display: none; }
@media (max-width: 980px) {
  .nav-links, .topbar, .nav-signin { display: none; }
  .mobile-toggle { display: flex; flex-shrink: 0; }
  .navbar { padding: 10px 0; }
  .navbar .container { flex-wrap: nowrap; }
  .brand { width: auto; min-width: 0; }
  .brand-logo { width: 180px; }
  .brand-name .name { font-size: 17px; }
  .brand-name .tagline { display: none; }
  .nav-actions { gap: 8px; flex-shrink: 0; }
}

@media (max-width: 480px) {
  .brand-logo { width: 140px; }
  .nav-actions { gap: 4px; }
  .nav-actions .btn-sm { padding: 7px 10px; font-size: 14px; }
  .nav-icon-btn { padding: 4px; }
}

@media (max-width: 360px) {
  .brand-logo { width: 120px; }
  .nav-actions .btn-sm { padding: 6px 8px; font-size: 13px; }
}

/* ============ HERO ============ */
.hero {
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: white;
  padding: 60px 0 50px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; top: 0; right: 0;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(30, 122, 58, 0.15) 0%, transparent 60%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute; bottom: 0; left: 0;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(209, 68, 68, 0.10) 0%, transparent 60%);
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 2; max-width: 820px; margin: 0 auto; text-align: center; }
.hero-tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(30, 122, 58, 0.18);
  border: 0.5px solid rgba(30, 122, 58, 0.4);
  color: #8FD9A5; font-size: 15px; padding: 6px 14px;
  border-radius: 20px; letter-spacing: 1.2px; font-weight: 600;
  margin-bottom: 18px;
}
.hero-tag .dot { width: 6px; height: 6px; background: var(--green); border-radius: 50%; }
.hero h1 { font-size: clamp(32px, 5vw, 48px); font-weight: 600; line-height: 1.15; letter-spacing: -0.02em; margin-bottom: 16px; }
.hero h1 .accent { border-bottom: 3px solid var(--red); padding-bottom: 3px; }
.hero p.lead { font-size: 18px; color: #C6C9D8; margin-bottom: 30px; max-width: 580px; margin-left: auto; margin-right: auto; line-height: 1.6; }

/* Hero booking widget */
.booking-widget {
  background: var(--white); border-radius: var(--r-lg);
  box-shadow: var(--shadow-xl); text-align: left; color: var(--text-primary);
  overflow: hidden;
}
.booking-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-bottom: 0.5px solid var(--border); }
.booking-tab {
  padding: 16px 16px; text-align: center; font-size: 18px;
  font-weight: 500; color: var(--text-muted); background: var(--surface);
  display: flex; align-items: center; justify-content: center; gap: 6px;
  transition: all 0.15s ease;
}
.booking-tab.active { background: var(--white); color: var(--navy); font-weight: 600; border-bottom: 3px solid var(--red); }
.booking-tab:hover:not(.active) { color: var(--navy); }
.booking-form { padding: 22px 18px 18px; }
.booking-form .row { display: grid; gap: 12px; }
.booking-form-rent { grid-template-columns: 1.2fr 1.2fr 1fr 0.9fr auto; }
.booking-form-shop { grid-template-columns: 2fr 1fr auto; }
.booking-form-buy { grid-template-columns: 1fr 1fr 1fr 1fr auto; }
@media (max-width: 900px) {
  .booking-form-rent, .booking-form-shop, .booking-form-buy { grid-template-columns: 1fr 1fr; }
  .booking-form .btn-search { grid-column: span 2; }
}

.hero-trust { display: flex; justify-content: center; gap: 30px; margin-top: 24px; font-size: 16px; color: #C6C9D8; flex-wrap: wrap; }
.hero-trust span .icon { color: var(--green); margin-right: 5px; vertical-align: -2px; }

/* ============ SECTIONS ============ */
.section { padding: 60px 0; }
.section-alt { background: var(--surface); }
.section-head { text-align: center; margin-bottom: 36px; }
.section-head .eyebrow { display: block; margin-bottom: 10px; }
.section-row { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 28px; flex-wrap: wrap; gap: 12px; }
.section-row .eyebrow { display: block; margin-bottom: 4px; }

/* ============ PILLARS ============ */
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 880px) { .pillars { grid-template-columns: 1fr; } }
.pillar {
  background: var(--white); border: 0.5px solid var(--border);
  border-radius: var(--r-lg); padding: 28px; position: relative;
  overflow: hidden; transition: all 0.2s ease;
}
.pillar:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.pillar-bar { position: absolute; top: 0; left: 0; right: 0; height: 3px; }
.pillar-icon { width: 52px; height: 52px; border-radius: var(--r-md); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.pillar-icon .icon { font-size: 24px; }
.pillar h3 { font-size: 22px; font-weight: 600; color: var(--navy); margin-bottom: 8px; }
.pillar p { font-size: 16px; color: var(--text-secondary); line-height: 1.6; margin-bottom: 16px; }
.pillar .tags { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 16px; }
.pillar .cta { color: var(--navy); font-weight: 600; font-size: 18px; display: inline-flex; align-items: center; gap: 6px; }

.pillar-rent .pillar-bar { background: var(--navy); }
.pillar-rent .pillar-icon { background: var(--navy-light); }
.pillar-rent .pillar-icon .icon { color: var(--navy); }

.pillar-shop .pillar-bar { background: var(--green); }
.pillar-shop .pillar-icon { background: var(--green-light); }
.pillar-shop .pillar-icon .icon { color: var(--green); }

.pillar-buy .pillar-bar { background: var(--red); }
.pillar-buy .pillar-icon { background: var(--red-light); }
.pillar-buy .pillar-icon .icon { color: var(--red); }

/* ============ GRID ============ */
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 980px) { .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .grid-4 { grid-template-columns: 1fr 1fr; } .grid-3 { grid-template-columns: 1fr; } .grid-2 { grid-template-columns: 1fr; } }

/* Vehicle card body */
.vehicle-body { padding: 14px 16px; }
.vehicle-title { font-size: 18px; font-weight: 600; color: var(--navy); margin-bottom: 2px; }
.vehicle-meta { font-size: 16px; color: var(--text-muted); margin-bottom: 10px; }
.vehicle-foot { display: flex; justify-content: space-between; align-items: baseline; padding-top: 10px; border-top: 0.5px solid var(--border); }
.vehicle-price { font-size: 18px; font-weight: 600; color: var(--navy); }
.vehicle-price small { font-size: 15px; font-weight: 400; color: var(--text-muted); }
.vehicle-rating { font-size: 16px; color: var(--green); font-weight: 600; }

/* ============ PRODUCT CARD ============ */
.product-card { background: white; border: 0.5px solid var(--border); border-radius: var(--r-lg); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease; }
.product-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); border-color: var(--border-strong); }
.product-card .thumb { aspect-ratio: 1; background: var(--surface); display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.product-card .thumb .icon { font-size: 20px; color: var(--border-strong); }
.product-card .thumb img { transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1); }
.product-card:hover .thumb img { transform: scale(1.07); }
.product-card .body { padding: 12px 14px 14px; display: flex; flex-direction: column; flex: 1; }
.product-card .category { font-size: 11px; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.6px; margin-bottom: 5px; }
.product-card .name { font-size: 15px; font-weight: 500; color: var(--navy); margin-bottom: 6px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.product-card .price-row { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 6px 10px; margin-bottom: 8px; }
.product-card .price { font-size: 18px; font-weight: 700; color: var(--red); white-space: nowrap; }
.product-card .price .old-price { font-size: 12px; font-weight: 400; color: var(--text-muted); text-decoration: line-through; margin-left: 4px; }
.product-card .discount-badge { position: absolute; top: 8px; left: 8px; z-index: 2; font-size: 12px; padding: 3px 8px; }
.product-card .stars { display: flex; align-items: center; gap: 2px; color: var(--gold); font-size: 13px; margin-bottom: 6px; }
.product-card .stars .stars-count { color: var(--text-muted); font-size: 12px; margin-left: 4px; }
.stock-flag { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 500; color: var(--green-dark); white-space: nowrap; }
.stock-flag::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--green); flex-shrink: 0; }
.stock-flag.out { color: var(--red-dark); }
.stock-flag.out::before { background: var(--red); }
.product-card .name-link { text-decoration: none; }

/* ============ SHOP SIDEBAR: browse categories, counts, show more ============ */
.browse-categories-btn {
  display: flex; align-items: center; gap: 10px; background: var(--navy); color: white;
  padding: 14px 18px; border-radius: var(--r-lg); font-size: 15px; font-weight: 600;
}
.browse-categories-btn:hover { background: var(--navy-dark); }
.filter-show-more { background: none; border: 0; color: var(--navy); font-size: 13px; font-weight: 600; padding: 4px 0; cursor: pointer; }
.filter-show-more:hover { color: var(--red); }
.toolbar-select-label { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--text-secondary); }
.toolbar-select-label .field-input { padding: 8px 10px; font-size: 13px; width: auto; }
.view-toggle-group { display: flex; gap: 6px; }

/* ============ SHOP: grid / list mode ============ */
.grid-4.list-mode { display: flex; flex-direction: column; gap: 12px; }
.grid-4.list-mode .product-card { display: flex; flex-direction: row; }
.grid-4.list-mode .product-card .thumb { width: 180px; flex-shrink: 0; aspect-ratio: 1; }
.grid-4.list-mode .product-card .body { flex: 1; display: flex; flex-direction: column; }
@media (max-width: 640px) {
  .grid-4.list-mode .product-card { flex-direction: column; }
  .grid-4.list-mode .product-card .thumb { width: 100%; }
}

/* ============ TESTIMONIALS ============ */
.testimonial-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 880px) { .testimonial-grid { grid-template-columns: 1fr; } }
.testimonial {
  background: white; border: 0.5px solid var(--border);
  border-radius: var(--r-lg); padding: 28px; position: relative;
}
.testimonial::before {
  content: '"'; position: absolute; top: 12px; right: 24px;
  font-size: 80px; line-height: 1; color: var(--red); opacity: 0.15;
  font-family: serif; font-weight: 700;
}
.testimonial .stars { display: flex; gap: 2px; color: var(--green); margin-bottom: 12px; }
.testimonial .quote { font-size: 18px; line-height: 1.7; color: var(--text-secondary); margin-bottom: 20px; }
.testimonial .author { display: flex; align-items: center; gap: 12px; }
.testimonial .avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--navy-light); display: flex; align-items: center; justify-content: center; font-weight: 600; color: var(--navy); font-size: 18px; flex-shrink: 0; }
.testimonial .who { font-size: 16px; }
.testimonial .who strong { color: var(--navy); display: block; }
.testimonial .who small { color: var(--text-muted); font-size: 15px; }

/* ============ BRAND/CLIENT LOGOS ============ */
.logo-strip { display: flex; flex-wrap: wrap; gap: 32px; justify-content: center; align-items: center; }
.logo-strip .item { color: var(--text-muted); font-size: 20px; font-weight: 600; letter-spacing: -0.01em; transition: color 0.2s; }
.logo-strip .item:hover { color: var(--navy); }

/* ============ MARQUEE (continuous logo strip) ============ */
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent); mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent); }
.marquee-track { display: flex; align-items: center; gap: 56px; width: max-content; animation: marquee-scroll 28s linear infinite; }
.marquee-track .item { color: var(--text-muted); font-size: 20px; font-weight: 600; letter-spacing: -0.01em; white-space: nowrap; transition: color 0.2s; }
.marquee-track .item:hover { color: var(--navy); }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; flex-wrap: wrap; width: 100%; justify-content: center; }
}

/* Car brand logo gallery */
.brand-gallery { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 980px) { .brand-gallery { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 560px) { .brand-gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.brand-tile {
  aspect-ratio: 1; background: white; border: 0.5px solid var(--border);
  border-radius: var(--r-md); display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 6px;
  transition: all 0.2s ease; padding: 10px;
}
.brand-tile:hover { border-color: var(--navy); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.brand-tile .mark { font-size: 24px; font-weight: 700; color: var(--navy); letter-spacing: -0.04em; }
.brand-tile .label { font-size: 15px; color: var(--text-muted); font-weight: 500; letter-spacing: 0.5px; text-transform: uppercase; }

/* ============ WHY CHOOSE US ============ */
.usp-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 880px) { .usp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.usp { text-align: center; padding: 24px 16px; }
.usp-icon { width: 60px; height: 60px; background: var(--navy-light); color: var(--navy); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 14px; }
.usp-icon .icon { font-size: 26px; }
.usp h4 { font-size: 18px; font-weight: 600; color: var(--navy); margin-bottom: 6px; }
.usp p { font-size: 16px; color: var(--text-muted); line-height: 1.55; }

/* ============ TOUR PACKAGES ============ */
.tour-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 980px) { .tour-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .tour-grid { grid-template-columns: 1fr; } }
.tour-card { position: relative; aspect-ratio: 3/4; border-radius: var(--r-lg); overflow: hidden; background: var(--navy); color: white; }
.tour-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(19, 24, 56, 0.92) 100%); }
.tour-card .body { position: absolute; bottom: 0; left: 0; right: 0; padding: 20px; z-index: 2; }
.tour-card .body small { font-size: 15px; opacity: 0.8; text-transform: uppercase; letter-spacing: 1px; font-weight: 500; }
.tour-card .body h4 { font-size: 22px; margin: 4px 0 8px; }
.tour-card .body .price { font-size: 16px; font-weight: 500; }
.tour-card .body .price .red { color: #FF9A9A; }

/* ============ FOOTER ============ */
.footer { background: var(--navy); color: #A9AEC6; padding: 48px 0 0; margin-top: 0; position: relative; overflow: hidden; }
.footer .container { position: relative; z-index: 1; }

.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr 1.2fr; gap: 28px; padding-bottom: 36px; }

.footer .f-brand .brand-lockup { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer .f-brand .brand-lockup img { height: 32px; width: auto; }
.footer .f-brand-name { font-size: 18px; font-weight: 700; color: white; letter-spacing: -0.01em; }
.footer .f-desc { font-size: 14px; line-height: 1.7; margin-bottom: 18px; max-width: 250px; }

.footer h4 { color: white; font-size: 14.5px; font-weight: 700; letter-spacing: 0.2px; margin-bottom: 16px; }
.footer ul { list-style: none; padding-left: 0;}
.footer ul li { padding: 5px 0; font-size: 14px; }
.footer ul a { display: inline-flex; transition: color 0.15s ease; }
.footer ul a:hover { color: white; }

.footer .socials { display: flex; gap: 9px; }
.footer .socials a { width: 32px; height: 32px; background: rgba(255,255,255,0.08); border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: all 0.2s ease; color: #C6C9D8; font-size: 15px; }
.footer .socials a:hover { background: rgba(255,255,255,0.18); color: white; transform: translateY(-2px); }

.footer .contact-list { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer .contact-list li { display: flex; align-items: center; gap: 10px; padding: 0; font-size: 14px; line-height: 1.4; }
.footer .contact-list .c-icon { flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%; background: rgba(255,255,255,0.08); display: flex; align-items: center; justify-content: center; color: var(--green-on-dark); font-size: 13px; }
.footer .contact-list a { transition: color 0.15s ease; }
.footer .contact-list a:hover { color: white; }

.footer-bottom { border-top: 0.5px solid rgba(255,255,255,0.12); padding: 18px 0; display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: #8B90AC; flex-wrap: wrap; gap: 12px; }
.footer-copy, .footer-copy * { font-size: 14px; line-height: 1.5; margin: 0; }
.footer-bottom .payments { display: flex; gap: 7px; align-items: center; flex-wrap: wrap; }
.pay-badge {
  display: inline-flex; align-items: center; justify-content: center; gap: 3px;
  height: 24px; min-width: 46px; padding: 0 9px; background: white; border-radius: 4px;
  font-size: 12px; font-weight: 800; letter-spacing: -0.2px; line-height: 1;
}
.pay-visa { color: #1A1F71; font-style: italic; letter-spacing: 0.5px; }
.pay-bkash { color: #E2136E; }
.pay-nagad { color: #EE7623; }
.pay-rocket { color: #8B3E97; }
.pay-mc .mc-dot { width: 14px; height: 14px; border-radius: 50%; }
.pay-mc .mc-dot-a { background: #EB001B; }
.pay-mc .mc-dot-b { background: #F79E1B; margin-left: -6px; opacity: 0.9; }

@media (max-width: 980px) {
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; gap: 24px; }
  .footer .f-brand { grid-column: 1 / -1; }
  .footer .f-desc { max-width: 420px; }
}

/* ============ FLOATING WHATSAPP ============ */
.fab-whatsapp { position: fixed; bottom: 24px; right: 24px; width: 56px; height: 56px; background: var(--green); color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-lg); z-index: 50; transition: transform 0.2s; }
.fab-whatsapp:hover { transform: scale(1.08); }
.fab-whatsapp .icon { font-size: 28px; }

/* ============ BACK TO TOP ============ */
.btn-back-to-top { position: fixed; bottom: 92px; right: 24px; width: 44px; height: 44px; border-radius: 50%; background: var(--navy); color: white; border: 0; display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-lg); z-index: 49; transition: all 0.2s ease; cursor: pointer; }
.btn-back-to-top:hover { background: var(--navy-dark); transform: translateY(-2px); opacity: 1; }
.btn-back-to-top .icon { font-size: 18px; }
@media (max-width: 880px) { .btn-back-to-top { bottom: calc(150px + env(safe-area-inset-bottom)); width: 40px; height: 40px; right: 20px; } }

/* ============ PAGE HEADER (inner pages) ============ */
.page-header { background: linear-gradient(180deg, var(--navy) 0%, var(--navy-dark) 100%); color: white; padding: 50px 0 40px; }
.page-header h1 { font-size: clamp(26px, 3.5vw, 36px); font-weight: 600; letter-spacing: -0.01em; margin-bottom: 8px; }
.page-header .breadcrumb { font-size: 16px; color: #C6C9D8; }
.page-header .breadcrumb a { color: white; }

/* ============ FILTER SIDEBAR ============ */
.layout-with-sidebar { display: grid; grid-template-columns: 280px 1fr; gap: 28px; align-items: start; }
@media (max-width: 980px) { .layout-with-sidebar { grid-template-columns: 1fr; } }
.filter-sidebar { background: white; border: 0.5px solid var(--border); border-radius: var(--r-lg); padding: 16px 18px; position: sticky; top: 92px; }
.filter-group { padding-bottom: 14px; margin-bottom: 14px; border-bottom: 0.5px solid var(--border); }
.filter-group:last-child { border: 0; padding-bottom: 0; margin-bottom: 0; }
.filter-group h4 { font-size: 16px; font-weight: 600; color: var(--navy); margin-bottom: 10px; }
.filter-option { display: flex; align-items: center; gap: 10px; padding: 5px 0; font-size: 16px; color: var(--text-secondary); cursor: pointer; }
.filter-option input[type=checkbox] { width: 16px; height: 16px; accent-color: var(--navy); }
.filter-option .count { color: var(--text-muted); margin-left: auto; font-size: 16px; }
.range-row { display: flex; gap: 8px; }
.range-row input { width: 100%; padding: 8px 10px; font-size: 16px; background: var(--surface); border: 0.5px solid var(--border); border-radius: var(--r-sm); }
.price-slider { width: 100%; margin-top: 10px; accent-color: var(--navy); cursor: pointer; }

.sidebar-stack { display: flex; flex-direction: column; gap: 16px; }
.filter-option-icon .filter-type-icon { width: 22px; height: 22px; object-fit: contain; border-radius: 4px; flex-shrink: 0; }
.listing-toolbar { padding-bottom: 14px; margin-bottom: 14px; border-bottom: 0.5px solid var(--border); }

.why-rent-card {
  background: var(--navy-light); border-radius: var(--r-lg); padding: 18px;
  position: sticky; top: calc(92px + 1px);
}
.why-rent-card h4 { font-size: 15px; font-weight: 600; color: var(--navy); margin-bottom: 12px; }
.why-rent-card div { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-secondary); padding: 5px 0; }
.why-rent-card div .icon { color: var(--green); flex-shrink: 0; }

/* ============ MAP PICKER (Pathao/Uber style) ============ */
.map-modal-overlay { position: fixed; inset: 0; background: rgba(15, 23, 42, 0.55); backdrop-filter: blur(2px); z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 24px; }
.map-modal { background: white; border-radius: var(--r-lg); width: 100%; max-width: 1240px; height: 92vh; max-height: 860px; display: flex; flex-direction: column; overflow: hidden; box-shadow: var(--shadow-xl); }
.map-modal-header { flex-shrink: 0; padding: 14px 20px; display: flex; align-items: center; justify-content: space-between; border-bottom: 0.5px solid var(--border); }
.mh-title { display: flex; align-items: center; gap: 11px; }
.mh-title > .icon { color: var(--red); font-size: 26px; line-height: 1; }
.map-modal-header h3 { font-size: 20px; font-weight: 700; color: var(--navy); margin: 0; line-height: 1.2; }
.mh-sub { font-size: 13px; color: var(--text-muted); margin: 2px 0 0; }
.map-modal-close { width: 36px; height: 36px; border-radius: 50%; background: var(--surface); display: flex; align-items: center; justify-content: center; color: var(--text-secondary); font-size: 18px; flex-shrink: 0; }
.map-modal-close:hover { background: var(--border); color: var(--navy); }
.map-modal-body { flex: 1; display: grid; grid-template-columns: 360px 1fr; min-height: 0; }

.map-side { padding: 16px; border-right: 0.5px solid var(--border); display: flex; flex-direction: column; gap: 14px; overflow-y: auto; }

/* Pickup / dropoff card */
.loc-card { position: relative; background: white; border: 0.5px solid var(--border); border-radius: var(--r-md); padding: 4px 16px; box-shadow: var(--shadow-sm); }
.location-pin-input { display: flex; align-items: center; gap: 12px; padding: 12px 0; padding-right: 42px; cursor: text; }
.location-pin-input + .location-pin-input { border-top: 0.5px solid var(--border); }
.location-pin-input .dot { width: 12px; height: 12px; border-radius: 50%; flex-shrink: 0; }
.location-pin-input .dot.pickup { background: var(--green); box-shadow: 0 0 0 3px rgba(30,122,58,0.15); }
.location-pin-input .dot.dropoff { background: var(--red); box-shadow: 0 0 0 3px rgba(209,68,68,0.15); }
.location-pin-input .text { flex: 1; min-width: 0; }
.location-pin-input small { display: block; font-size: 12px; font-weight: 600; letter-spacing: 0.2px; margin-bottom: 2px; }
.location-pin-input[data-pin="pickup"] small { color: var(--green); }
.location-pin-input[data-pin="dropoff"] small { color: var(--red); }
.location-pin-input input { width: 100%; background: transparent; border: 0; padding: 0; font-size: 16px; color: var(--navy); font-weight: 600; }
.location-pin-input input::placeholder { color: var(--text-muted); font-weight: 400; }
.swap-pins { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; border-radius: 50%; background: white; border: 0.5px solid var(--border); box-shadow: var(--shadow-sm); color: var(--text-secondary); display: flex; align-items: center; justify-content: center; font-size: 16px; }
.swap-pins:hover { color: var(--navy); border-color: var(--navy); }

/* Live search results — a floating autocomplete anchored under whichever
   pickup/drop-off field is being typed in (positioned by map-picker.js). */
/* z-index clears Leaflet's map panes and controls (400–800): on mobile the
   sidebar sits directly above the map, so the panel overlays it. */
.loc-results { position: absolute; left: 8px; right: 8px; z-index: 900; background: white; border: 0.5px solid var(--border); border-radius: var(--r-md); box-shadow: var(--shadow-lg); max-height: 300px; overflow-y: auto; overscroll-behavior: contain; }
.loc-result { display: flex; align-items: center; gap: 10px; padding: 10px 12px; cursor: pointer; }
.loc-result + .loc-result { border-top: 0.5px solid var(--border); }
.loc-result:hover, .loc-result:focus-visible { background: var(--surface); }
.loc-result .r-icon { display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; background: var(--navy-light); color: var(--navy); font-size: 16px; flex-shrink: 0; }
.loc-result .r-info { min-width: 0; }
.loc-result .r-name { font-size: 14px; font-weight: 600; color: var(--navy); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.loc-result .r-addr { font-size: 12px; color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.loc-result.loading, .loc-result.empty { justify-content: center; color: var(--text-muted); font-size: 13px; cursor: default; }

/* Trip summary */
.trip-summary { background: var(--navy); color: white; border-radius: var(--r-md); padding: 16px; }
.ts-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.ts-item { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.ts-label { display: flex; align-items: center; gap: 5px; font-size: 12px; color: rgba(255,255,255,0.65); white-space: nowrap; }
.ts-label .icon { font-size: 14px; }
.ts-val { font-size: 19px; font-weight: 700; line-height: 1; }
.ts-val.eta { color: var(--green-on-dark); }
.ts-note { margin-top: 14px; padding-top: 12px; border-top: 1px solid rgba(255,255,255,0.14); display: flex; align-items: center; gap: 6px; font-size: 12px; color: rgba(255,255,255,0.6); }
.ts-note .icon { font-size: 14px; }

/* Which cell of the vehicle's fare chart priced this trip */
.ts-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.ts-tags:empty { display: none; }
.ts-tag { font-size: 11px; font-weight: 700; letter-spacing: 0.02em; padding: 4px 9px; border-radius: 999px; background: rgba(255,255,255,0.12); color: rgba(255,255,255,0.9); }
.ts-tag.short { background: rgba(46,160,90,0.25); color: var(--green-on-dark); }
.ts-tag.long { background: rgba(240,170,60,0.22); color: #F5C46B; }

/* Itemised costing behind the estimated fare */
.ts-breakdown { margin-top: 12px; padding-top: 12px; border-top: 1px solid rgba(255,255,255,0.14); }
.ts-bd-head { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: rgba(255,255,255,0.5); margin-bottom: 8px; }
.ts-bd-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; font-size: 13px; padding: 4px 0; color: rgba(255,255,255,0.85); }
.ts-bd-row > span:first-child { min-width: 0; }
.ts-bd-row > span:last-child { flex-shrink: 0; font-variant-numeric: tabular-nums; font-weight: 600; }
.ts-bd-row.muted { color: rgba(255,255,255,0.55); font-size: 12px; }
.ts-bd-row.total { margin-top: 6px; padding-top: 10px; border-top: 1px solid rgba(255,255,255,0.14); font-size: 15px; font-weight: 700; color: white; }
.ts-bd-empty { font-size: 12px; color: rgba(255,255,255,0.6); }

/* Suggested places — rebuilt per field (pickup vs drop-off) by map-picker.js */
.suggestions-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.suggestions h5 { font-size: 16px; font-weight: 700; color: var(--navy); margin: 0; }
.suggestions-context { font-size: 12px; font-weight: 600; color: var(--text-muted); white-space: nowrap; }
.suggestion-list { display: flex; flex-direction: column; gap: 2px; }
.suggestion-item { display: flex; align-items: center; gap: 12px; width: 100%; padding: 9px 8px; border: 0; background: transparent; border-radius: var(--r-sm); cursor: pointer; text-align: left; font: inherit; transition: background 0.12s; }
.suggestion-item:hover, .suggestion-item:focus-visible { background: var(--surface); }
.suggestion-item .icon { width: 38px; height: 38px; border-radius: 50%; background: var(--navy-light); display: flex; align-items: center; justify-content: center; color: var(--navy); flex-shrink: 0; font-size: 17px; }
.suggestion-item.is-recent .icon { background: var(--green-light, #E7F5EC); color: var(--green); }
.suggestion-item.is-nearby .icon { background: #E8EEFA; color: #2C5AA8; }
.suggestion-item.is-nearby .recent-tag { color: #2C5AA8; background: #E8EEFA; }
.suggestion-item .info { flex: 1; min-width: 0; margin-top: 0; text-align: left; }
.suggestion-item .name { display: flex; align-items: center; gap: 6px; font-size: 15px; font-weight: 600; color: var(--navy); margin-bottom: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.suggestion-item .recent-tag { flex-shrink: 0; font-size: 10px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--green); background: var(--green-light, #E7F5EC); border-radius: 999px; padding: 1px 6px; }
.suggestion-item .addr { display: block; font-size: 13px; color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.suggestion-empty { font-size: 13px; color: var(--text-muted); padding: 10px 8px; }

.map-area { position: relative; background: #E5E9EE; min-height: 400px; }
.map-canvas { position: absolute; inset: 0; }
.map-controls { position: absolute; right: 16px; top: 16px; display: flex; flex-direction: column; background: white; border-radius: var(--r-sm); overflow: hidden; box-shadow: var(--shadow-md); z-index: 401; }
.map-control-btn { width: 40px; height: 40px; background: white; display: flex; align-items: center; justify-content: center; color: var(--navy); font-size: 18px; }
.map-control-btn + .map-control-btn { border-top: 0.5px solid var(--border); }
.map-control-btn:hover { background: var(--surface); }
.map-locate-btn { position: absolute; right: 16px; top: 108px; width: 40px; height: 40px; border-radius: 50%; background: white; display: flex; align-items: center; justify-content: center; color: var(--navy); font-size: 18px; box-shadow: var(--shadow-md); z-index: 401; }
.map-locate-btn:hover { background: var(--surface); }
.map-current-btn { position: absolute; bottom: 92px; right: 16px; z-index: 401; background: white; color: var(--navy); padding: 11px 18px; border-radius: 24px; display: flex; align-items: center; gap: 7px; font-size: 15px; font-weight: 600; box-shadow: var(--shadow-lg); }
.map-current-btn .icon { color: var(--green); font-size: 17px; }
.map-bottom-cta { position: absolute; bottom: 16px; left: 16px; right: 16px; z-index: 401; display: flex; gap: 12px; }
.map-bottom-cta .btn { padding: 15px; font-size: 16px; }
.map-bottom-cta .btn-outline { flex: 1; border: 0.5px solid var(--border); box-shadow: var(--shadow-md); }
.map-bottom-cta .btn-accent { flex: 1.7; box-shadow: var(--shadow-md); }

/* Mobile — native app-style full screen */
@media (max-width: 760px) {
  .map-modal-overlay { padding: 0; }
  .map-modal { max-width: none; width: 100%; height: 100dvh; max-height: none; border-radius: 0; }
  .map-modal-body { display: flex; flex-direction: column; }
  .map-side { flex: 0 0 auto; border-right: 0; border-bottom: 0.5px solid var(--border); overflow: visible; padding: 12px 14px; gap: 12px; }
  .map-area { flex: 1 1 auto; min-height: 0; }
  .mh-sub { display: none; }
  .suggestion-list { flex-direction: row; gap: 8px; overflow-x: auto; padding-bottom: 2px; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .suggestion-list::-webkit-scrollbar { display: none; }
  .suggestion-item { flex: 0 0 auto; padding: 8px 12px 8px 8px; border: 0.5px solid var(--border); border-radius: 999px; background: white; }
  .suggestion-item .icon { width: 28px; height: 28px; font-size: 14px; }
  .suggestion-item .addr, .suggestion-item .chev { display: none; }
  .suggestion-item .name { margin: 0; }
  .map-current-btn { bottom: 86px; }
}

/* Custom Leaflet pins */
.leaflet-pin { background: transparent; border: 0; }
.pin-pickup, .pin-dropoff { width: 38px; height: 48px; position: relative; }
.pin-pickup svg, .pin-dropoff svg { width: 100%; height: 100%; filter: drop-shadow(0 4px 8px rgba(0,0,0,0.25)); }
.pulse-ring { position: absolute; width: 50px; height: 50px; border-radius: 50%; left: -6px; top: -1px; animation: pulse 2s infinite; }
.pulse-ring.green { background: rgba(30, 122, 58, 0.4); }
.pulse-ring.red { background: rgba(209, 68, 68, 0.4); }
@keyframes pulse { 0% { transform: scale(0.6); opacity: 0.9; } 100% { transform: scale(1.8); opacity: 0; } }

/* ============ MOBILE NAV ============ */
/* mobile menu drawer is defined in v3 section below */

/* ============ UTIL ============ */
.flex { display: flex; }
.gap-2 { gap: 8px; }
.gap-3 { gap: 12px; }
.gap-4 { gap: 16px; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.text-center { text-align: center; }
.mt-2 { margin-top: 8px; }
.mt-3 { margin-top: 12px; }
.mt-4 { margin-top: 16px; }
.mb-2 { margin-bottom: 8px; }
.mb-3 { margin-bottom: 12px; }
.mb-4 { margin-bottom: 16px; }
.hidden { display: none !important; }

/* ================================================================
   v2 — Clean realistic homepage components (GoZayaan/ShareTrip/Shohoz style)
   ================================================================ */

/* Hero with full image background */
.hero-img {
  position: relative;
  min-height: 640px;
  padding: 56px 0 84px;
  background-size: cover;
  background-position: center;
  color: white;
  overflow: hidden;
}
.hero-img::before {
  content:''; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(15,19,45,0.62) 0%, rgba(15,19,45,0.42) 35%, rgba(15,19,45,0.52) 100%);
}
.hero-img .container { position: relative; z-index: 2; }
.hero-img .hero-tag { background: rgba(255,255,255,0.15); color: white; border-color: rgba(255,255,255,0.25); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.hero-img h1 { color: white; font-size: clamp(30px, 4.4vw, 46px); text-shadow: 0 2px 20px rgba(0,0,0,0.4); margin-bottom: 16px; }
.hero-img p.lead { color: rgba(255,255,255,0.96); text-shadow: 0 1px 12px rgba(0,0,0,0.3); }

/* Booking widget refined */
.booking-widget.refined { box-shadow: 0 24px 60px rgba(15, 23, 42, 0.30); border-radius: var(--r-lg); }
.booking-widget.refined .booking-tabs { border-bottom: 0.5px solid var(--border); background: white; }
.booking-widget.refined .booking-tab { padding: 14px 16px; background: white; border-radius: var(--r-lg) var(--r-lg) 0 0; color: var(--text-muted); font-size: 15px; }
.booking-widget.refined .booking-tab.active { color: var(--navy); border-bottom: 3px solid var(--red); }
.trip-radios { display: flex; gap: 20px; padding: 12px 22px; background: white; }
.trip-radio { display: flex; align-items: center; gap: 6px; font-size: 14px; color: var(--text-secondary); cursor: pointer; }
.trip-radio input { accent-color: var(--red); width: 13px; height: 13px; }
.trip-radio.active { color: var(--navy); font-weight: 600; }

.airport-field { background: white; border: 0.5px solid var(--border); border-radius: var(--r-md); padding: 10px 14px; cursor: pointer; transition: all 0.15s; min-width: 0; position: relative; }
.airport-field:hover { border-color: var(--navy); }
.airport-field .label { font-size: 12px; font-weight: 600; color: var(--text-muted); letter-spacing: 0.6px; margin-bottom: 3px; }
.airport-field .city { font-size: 16px; font-weight: 600; color: var(--navy); line-height: 1.15; margin-bottom: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.airport-field .sub { font-size: 13px; color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.field-swap-btn { width: 34px; height: 34px; background: white; border-radius: 50%; border: 0.5px solid var(--border); color: var(--navy); display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: var(--shadow-sm); margin: auto; }
.field-swap-btn:hover { border-color: var(--navy); transform: rotate(90deg); transition: transform 0.2s; }

/* Native input/select overlaid on a field so its default browser picker drives the UI */
.airport-field .field-native-input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; border: 0; margin: 0; padding: 0; cursor: pointer; }
.airport-field .field-native-input:focus-visible { outline: 2px solid var(--navy); outline-offset: 2px; }

.booking-search-row { display: grid; grid-template-columns: 1.2fr auto 1.2fr 1fr 1.1fr 1fr; gap: 8px; align-items: stretch; padding: 0 22px 22px; background: white; }
.booking-search-row .btn-search-big { background: var(--gold); color: var(--navy); font-weight: 700; font-size: 16px; padding: 0 24px; border-radius: var(--r-md); border: 0; cursor: pointer; transition: all 0.2s; box-shadow: 0 4px 12px rgba(245, 166, 35, 0.3); }
.booking-search-row .btn-search-big:hover { background: var(--gold-dark); transform: translateY(-1px); }
.shop-search-row { grid-template-columns: 2fr 1fr auto; }
.buy-search-row { grid-template-columns: 1fr 1fr 1fr 1fr auto; }
@media (max-width: 980px) {
  .booking-search-row { grid-template-columns: 1fr 1fr; }
  .booking-search-row .field-swap-btn { display: none; }
  .booking-search-row .btn-search-big { grid-column: span 2; padding: 14px; }
}

/* How-to cards */
.howto-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.howto-card { background: white; border-radius: var(--r-lg); padding: 12px; display: flex; gap: 14px; align-items: center; border: 0.5px solid var(--border); transition: all 0.2s; cursor: pointer; }
.howto-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); border-color: var(--navy-light); }
.howto-thumb { width: 76px; height: 76px; border-radius: var(--r-md); flex-shrink: 0; overflow: hidden; background: var(--surface); }
.howto-thumb img { width: 100%; height: 100%; object-fit: cover; }
.howto-content { flex: 1; min-width: 0; }
.howto-title { font-size: 18px; font-weight: 600; color: var(--navy); margin-bottom: 8px; line-height: 1.35; }
.howto-watch { display: inline-flex; align-items: center; gap: 4px; background: var(--gold); color: var(--navy); font-size: 15px; font-weight: 700; padding: 4px 10px; border-radius: var(--r-sm); }
@media (max-width: 760px) { .howto-grid { grid-template-columns: 1fr; } }

/* Full-width promo banner */
.promo-strip { background: linear-gradient(90deg, var(--navy) 0%, #2A3160 100%); border-radius: var(--r-lg); padding: 24px 32px; color: white; display: grid; grid-template-columns: 1fr auto auto; gap: 24px; align-items: center; position: relative; overflow: hidden; min-height: 110px; }
.promo-strip .bg-img { position: absolute; right: 0; top: 0; bottom: 0; width: 45%; object-fit: cover; opacity: 0.5; -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 60%); mask-image: linear-gradient(90deg, transparent 0%, black 60%); }
.promo-strip .text { position: relative; z-index: 2; }
.promo-strip h3 { font-size: 22px; font-weight: 600; margin-bottom: 4px; }
.promo-strip p { font-size: 16px; color: rgba(255,255,255,0.85); }
.promo-strip .ad-tag { position: absolute; top: 12px; right: 16px; background: rgba(255,255,255,0.18); color: white; font-size: 15px; padding: 2px 8px; border-radius: var(--r-sm); z-index: 3; }

/* Hot Deals — tabs + cards */
.deal-tabs { display: inline-flex; gap: 2px; background: white; border: 0.5px solid var(--border); border-radius: 24px; padding: 4px; }
.deal-tabs button { padding: 7px 18px; font-size: 16px; border-radius: 18px; color: var(--text-muted); font-weight: 500; cursor: pointer; transition: all 0.15s; }
.deal-tabs button.active { background: var(--navy); color: white; }

.deals-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.deal-card { background: white; border-radius: var(--r-lg); overflow: hidden; border: 0.5px solid var(--border); display: flex; transition: all 0.2s; }
.deal-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
@media (max-width: 880px) { .deals-grid { grid-template-columns: 1fr; } }

.deal-card .left {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: white; flex-shrink: 0; width: 128px;
  padding: 16px 12px; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 10px; text-align: center;
}
.deal-card .savings { font-size: 13px; color: rgba(255,255,255,0.75); }
.deal-card .pct { font-size: 26px; font-weight: 700; line-height: 1.05; }
.deal-card .pct .tag { display: block; font-size: 13px; font-weight: 600; color: var(--gold); letter-spacing: 0.3px; margin-top: 2px; }
.deal-card .partner-chip { background: white; color: var(--navy); padding: 5px 10px; border-radius: var(--r-sm); font-size: 13px; font-weight: 700; letter-spacing: -0.2px; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.deal-card .right { padding: 16px 18px; flex: 1; min-width: 0; display: flex; flex-direction: column; }
.deal-card .right h4 { font-size: 16px; font-weight: 600; color: var(--navy); margin-bottom: 6px; line-height: 1.3; }
.deal-card .right p { font-size: 14px; color: var(--text-muted); line-height: 1.5; margin-bottom: auto; }
.deal-card .deal-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 14px; }

.deal-card .promo-code { display: inline-flex; align-items: center; gap: 5px; background: var(--navy-light); border: 0.5px solid var(--border); color: var(--navy); font-size: 13px; font-weight: 600; padding: 5px 10px; border-radius: 24px; white-space: nowrap; }
.deal-card .promo-code .icon { font-size: 13px; }

.deal-card .learn-more { display: inline-flex; align-items: center; gap: 5px; background: var(--gold); color: var(--navy); font-size: 13px; font-weight: 700; padding: 8px 14px; border-radius: var(--r-sm); white-space: nowrap; transition: background 0.15s ease; }
.deal-card .learn-more:hover { background: var(--gold-dark); }
.deal-card .learn-more .icon { font-size: 12px; }

@media (max-width: 480px) {
  .deal-card .left { width: 104px; padding: 12px 8px; }
  .deal-card .pct { font-size: 22px; }
  .deal-card .right { padding: 14px; }
}

/* Real-image vehicle cards */
.veh-card-img .thumb { aspect-ratio: 16/11; background: var(--surface); overflow: hidden; position: relative; }
.veh-card-img .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s ease; }
.veh-card-img:hover .thumb img { transform: scale(1.05); }
.veh-card-img .thumb .badge { position: absolute; top: 10px; left: 10px; z-index: 2; }
.veh-card-img .thumb .heart { position: absolute; top: 10px; right: 10px; z-index: 2; color: var(--text-secondary); background: rgba(255,255,255,0.95); width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-sm); }

/* Destination cards (Bangladesh) */
.dest-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.dest-card { position: relative; aspect-ratio: 3/4; border-radius: var(--r-lg); overflow: hidden; display: block; }
.dest-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.dest-card:hover img { transform: scale(1.05); }
.dest-card::after { content:''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(0,0,0,0.82) 100%); }
.dest-card .info { position: absolute; bottom: 18px; left: 18px; right: 18px; z-index: 2; color: white; }
.dest-card .name { font-size: 22px; font-weight: 600; margin-bottom: 4px; }
.dest-card .meta { font-size: 16px; opacity: 0.9; display: flex; align-items: center; gap: 6px;     flex-direction: row;
    justify-content: center;}
.dest-card .price-tag { position: absolute; top: 12px; right: 12px; background: rgba(255,255,255,0.95); color: var(--navy); font-size: 15px; font-weight: 600; padding: 4px 10px; border-radius: var(--r-sm); z-index: 2; }
@media (max-width: 880px) { .dest-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Brand grid cards (Shohoz-style) */
.brand-grid-cards { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 12px; }
.brand-grid-card { background: white; border: 0.5px solid var(--border); border-radius: var(--r-md); padding: 18px 8px 12px; text-align: center; transition: all 0.2s; cursor: pointer; }
.brand-grid-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); border-color: var(--navy-light); }
.brand-grid-card .logo-box { width: 52px; height: 52px; margin: 0 auto 8px; padding: 12px; display: flex; align-items: center; justify-content: center; background: var(--surface); border-radius: 50%; }
.brand-grid-card .logo-box img { width: 100%; height: 100%; object-fit: contain; filter: grayscale(1) opacity(0.55); transition: filter 0.2s; }
.brand-grid-card:hover .logo-box img { filter: grayscale(0) opacity(1); }
.brand-grid-card .logo-box.logo-box-text { font-weight: 700; color: var(--navy); font-size: 15px; letter-spacing: -0.5px; }
.brand-grid-card .name { font-size: 16px; color: var(--text-secondary); font-weight: 500; }
@media (max-width: 980px) { .brand-grid-cards { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* Stats bar */
.stats-bar { background: white; border: 0.5px solid var(--border); border-radius: var(--r-xl); padding: 40px 24px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; text-align: center; box-shadow: var(--shadow-sm); }
.stats-bar > div { padding: 0 12px; border-right: 0.5px solid var(--border); }
.stats-bar > div:last-child { border-right: 0; }
.stat-icon { width: 48px; height: 48px; margin: 0 auto 12px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.stat-icon .icon { font-size: 22px; }
.stat-num { font-size: 32px; font-weight: 700; color: var(--navy); margin-bottom: 4px; line-height: 1; letter-spacing: -0.02em; }
.stat-label { font-size: 16px; color: var(--text-muted); }
@media (max-width: 760px) { .stats-bar { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 28px 16px; } .stats-bar > div { border: 0; } }

/* Mobile app section */
.app-section { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%); color: white; border-radius: var(--r-xl); padding: 56px 48px; display: grid; grid-template-columns: 0.85fr 1fr; gap: 48px; align-items: center; overflow: hidden; position: relative; }
.app-section::after { content:''; position: absolute; top: -120px; right: -120px; width: 460px; height: 460px; border-radius: 50%; background: radial-gradient(circle, rgba(30,122,58,0.25) 0%, transparent 65%); z-index: 0; pointer-events: none; }
.app-section::before { content:''; position: absolute; bottom: -100px; left: -100px; width: 300px; height: 300px; border-radius: 50%; background: radial-gradient(circle, rgba(209,68,68,0.18) 0%, transparent 65%); z-index: 0; pointer-events: none; }
.app-phone-wrap { position: relative; z-index: 1; text-align: center; }
.app-info { position: relative; z-index: 1; }
.app-info .eyebrow { color: #FF9A9A; margin-bottom: 10px; }
.app-info h2 { font-size: 32px; font-weight: 600; margin-bottom: 14px; line-height: 1.2; color: white; }
.app-info h2 .accent { color: var(--green-on-dark); }
.app-info p { color: #C6C9D8; font-size: 18px; margin-bottom: 24px; line-height: 1.7; }
.app-features { list-style: none; margin-bottom: 26px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 18px; }
.app-features li { font-size: 16px; padding: 4px 0; display: flex; align-items: center; gap: 8px; color: rgba(255,255,255,0.92); }
.app-features li .icon { color: var(--green-on-dark); font-size: 16px; }
.app-downloads { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.app-store-badge { background: black; color: white; padding: 9px 18px; border-radius: var(--r-md); display: flex; align-items: center; gap: 10px; font-size: 15px; transition: transform 0.15s; }
.app-store-badge:hover { transform: translateY(-2px); }
.app-store-badge .icon { font-size: 26px; }
.app-store-badge small { display: block; font-size: 15px; opacity: 0.75; }
.app-store-badge strong { font-size: 16px; font-weight: 600; }
.qr-box { background: white; padding: 8px; border-radius: var(--r-sm); width: 76px; height: 76px; display: flex; align-items: center; justify-content: center; }
.qr-box svg { width: 100%; height: 100%; }
@media (max-width: 880px) { .app-section { grid-template-columns: 1fr; padding: 36px 24px; } .app-features { grid-template-columns: 1fr; } }

/* FAQ accordion */
.faq-section { background: linear-gradient(180deg, var(--green-light) 0%, white 80%); border-radius: var(--r-xl); padding: 48px; display: grid; grid-template-columns: 0.65fr 1.35fr; gap: 44px; align-items: start; }
.faq-side h2 { font-size: 28px; font-weight: 600; color: var(--navy); line-height: 1.2; margin-bottom: 12px; }
.faq-side p { font-size: 16px; color: var(--text-secondary); line-height: 1.6; margin-bottom: 22px; }
.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq-item { background: white; border-radius: var(--r-md); border: 0.5px solid var(--border); padding: 16px 20px; cursor: pointer; transition: all 0.2s; }
.faq-item:hover { box-shadow: var(--shadow-sm); }
.faq-q { display: flex; justify-content: space-between; align-items: flex-start; font-size: 18px; font-weight: 600; color: var(--navy); gap: 12px; }
.faq-q .icon { color: var(--green); font-size: 22px; flex-shrink: 0; transition: transform 0.2s; }
.faq-item.open .faq-q .icon { transform: rotate(45deg); color: var(--red); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; font-size: 16px; color: var(--text-secondary); line-height: 1.7; }
.faq-item.open .faq-a { max-height: 200px; padding-top: 12px; }
@media (max-width: 880px) { .faq-section { grid-template-columns: 1fr; padding: 32px 22px; } }

/* Testimonial — cleaner */
.testimonial-clean { background: white; border-radius: var(--r-lg); border: 0.5px solid var(--border); padding: 28px; position: relative; transition: all 0.2s; }
.testimonial-clean:hover { box-shadow: var(--shadow-md); }
.testimonial-clean .stars { color: var(--gold); display: flex; gap: 1px; margin-bottom: 14px; font-size: 16px; }
.testimonial-clean .quote { font-size: 16px; line-height: 1.7; color: var(--text-secondary); margin-bottom: 20px; }
.testimonial-clean .author { display: flex; align-items: center; gap: 12px; padding-top: 16px; border-top: 0.5px solid var(--border); }
.testimonial-clean .avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--navy); color: white; display: flex; align-items: center; justify-content: center; font-weight: 600; font-size: 18px; flex-shrink: 0; }
.testimonial-clean .who strong { color: var(--navy); display: block; font-size: 16px; }
.testimonial-clean .who small { color: var(--text-muted); font-size: 15px; }

/* Stack utility */
.stack > * + * { margin-top: var(--stack-space, 16px); }


/* ============================================================
   v3 — Mobile app-like UX + interactivity polish
   ============================================================ */

/* ============ NAV: hide on scroll down (mobile) ============ */
.navbar.nav-hidden { transform: translateY(-100%); }
@media (max-width: 980px) {
  .navbar.scrolled { background: rgba(255, 255, 255, 0.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 1px 12px rgba(15, 23, 42, 0.06); }
}

/* ============ TOAST notifications ============ */
.toast-container { position: fixed; top: 16px; left: 50%; transform: translateX(-50%); z-index: 9999; display: flex; flex-direction: column; gap: 8px; align-items: center; pointer-events: none; }
.toast { background: var(--navy); color: white; padding: 12px 20px; border-radius: 24px; font-size: 16px; font-weight: 500; display: flex; align-items: center; gap: 10px; box-shadow: var(--shadow-lg); opacity: 0; transform: translateY(-12px); transition: all 0.25s ease; pointer-events: auto; max-width: 90vw; }
.toast.show { opacity: 1; transform: translateY(0); }
.toast .icon { font-size: 18px; flex-shrink: 0; }
.toast-success { background: var(--green); }
.toast-error { background: var(--red); }
.toast-info { background: var(--navy); }
@media (max-width: 760px) {
  .toast-container { top: auto; bottom: 90px; left: 16px; right: 16px; transform: none; }
  .toast { width: 100%; }
}

/* ============ SHEET MODAL (bottom-sheet on mobile) ============ */
.sheet-overlay { position: fixed; inset: 0; background: rgba(15, 23, 42, 0); z-index: 1500; display: flex; align-items: center; justify-content: center; padding: 20px; transition: background 0.25s ease; }
.sheet-overlay.show { background: rgba(15, 23, 42, 0.55); }
.sheet { background: white; border-radius: var(--r-lg); width: 100%; max-width: 520px; max-height: 80vh; display: flex; flex-direction: column; transform: translateY(40px) scale(0.96); opacity: 0; transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1); overflow: hidden; }
.sheet-overlay.show .sheet { transform: translateY(0) scale(1); opacity: 1; }
.sheet-header { padding: 16px 20px; border-bottom: 0.5px solid var(--border); display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.sheet-header h3 { font-size: 18px; font-weight: 600; color: var(--navy); flex: 1; }
.sheet-drag { display: none; }
.sheet-close { width: 34px; height: 34px; border-radius: 50%; background: var(--surface); display: flex; align-items: center; justify-content: center; color: var(--text-secondary); flex-shrink: 0; }
.sheet-close:hover { background: var(--border); }
.sheet-body { padding: 20px; overflow-y: auto; flex: 1; }
.sheet-actions { padding: 14px 20px; border-top: 0.5px solid var(--border); display: flex; gap: 10px; }

@media (max-width: 760px) {
  .sheet-overlay { padding: 0; align-items: flex-end; }
  .sheet { max-width: 100%; border-radius: var(--r-lg) var(--r-lg) 0 0; max-height: 92vh; transform: translateY(100%); }
  .sheet-overlay.show .sheet { transform: translateY(0); }
  .sheet-drag { display: block; position: absolute; top: 8px; left: 50%; transform: translateX(-50%); width: 40px; height: 4px; background: var(--border-strong); border-radius: 2px; }
  .sheet-header { padding: 20px 20px 14px; }
}

/* ============ MOBILE BOTTOM NAV (app-like) ============ */
.mobile-bottom-nav { display: none; position: fixed; bottom: 0; left: 0; right: 0; background: white; border-top: 0.5px solid var(--border); z-index: 90; padding: 6px 0 calc(6px + env(safe-area-inset-bottom)); box-shadow: 0 -2px 12px rgba(15, 23, 42, 0.04); }
.mobile-bottom-nav .bn-item { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 8px 4px; color: var(--text-muted); font-size: 13px; line-height: 16px; font-weight: 500; transition: color 0.15s, transform 0.15s ease; position: relative; }
.mobile-bottom-nav .bn-item:active { transform: scale(0.9); }
.mobile-bottom-nav .bn-item .icon { font-size: 22px; }
.mobile-bottom-nav .bn-item.active { color: var(--red); }
.mobile-bottom-nav .bn-item.active::after { content:''; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 28px; height: 2px; background: var(--red); border-radius: 0 0 2px 2px; }
.mobile-bottom-nav .bn-item .bn-badge { position: absolute; top: 6px; right: calc(50% - 18px); background: var(--red); color: white; font-size: 9px; padding: 1px 5px; border-radius: 8px; font-weight: 600; }

@media (max-width: 880px) {
  .mobile-bottom-nav { display: flex; }
  body { padding-bottom: 70px; }
  .fab-whatsapp { bottom: calc(82px + env(safe-area-inset-bottom)); }
}

/* ============ MOBILE FILTER FAB + DRAWER ============ */
.mobile-filter-fab { display: none; position: fixed; bottom: calc(84px + env(safe-area-inset-bottom)); right: 16px; background: var(--navy); color: white; padding: 12px 20px; border-radius: 24px; font-size: 18px; font-weight: 600; box-shadow: var(--shadow-lg); z-index: 80; gap: 8px; align-items: center; }
.mobile-filter-fab .icon { font-size: 18px; }
.filter-sidebar-close { display: none; background: var(--surface); border: 0; border-radius: 50%; width: 30px; height: 30px; align-items: center; justify-content: center; color: var(--navy); cursor: pointer; }
.filter-backdrop { display: none; }
@media (max-width: 880px) {
  .mobile-filter-fab { display: inline-flex; }
  .layout-with-sidebar { grid-template-columns: 1fr; }
  .filter-sidebar {
    position: fixed; top: 0; right: 0; bottom: 0; width: 86%; max-width: 340px;
    z-index: 1501; border-radius: 0; overflow-y: auto; -webkit-overflow-scrolling: touch;
    transform: translateX(100%); transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: -8px 0 32px rgba(15, 23, 42, 0.18);
  }
  .filter-sidebar.mobile-open { transform: translateX(0); }
  .filter-sidebar-close { display: flex; }
  .filter-backdrop {
    display: block; position: fixed; inset: 0; background: rgba(15, 23, 42, 0);
    z-index: 1500; opacity: 0; pointer-events: none; transition: background 0.3s ease, opacity 0.3s ease;
  }
  .filter-backdrop.show { background: rgba(15, 23, 42, 0.45); opacity: 1; pointer-events: auto; }
}

/* ============ MOBILE MENU DRAWER (app-style) ============ */
.mobile-menu-backdrop {
  display: none;
  position: fixed; inset: 0; z-index: 199;
  background: rgba(15, 23, 42, 0);
  backdrop-filter: blur(0);
  -webkit-backdrop-filter: blur(0);
  opacity: 0; pointer-events: none;
  transition: background 0.32s ease, backdrop-filter 0.32s ease, opacity 0.32s ease;
}
@media (max-width: 980px) {
  .mobile-menu-backdrop { display: block; }
}
.mobile-menu-backdrop.show {
  background: rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  opacity: 1; pointer-events: auto;
}

.mobile-menu { display: none; }
@media (max-width: 980px) {
  .mobile-menu {
    display: flex; flex-direction: column;
    position: fixed; top: 0; right: 0; bottom: 0; width: 76%; max-width: 280px;
    background: var(--white); z-index: 200;
    padding: max(10px, env(safe-area-inset-top)) 0 max(10px, env(safe-area-inset-bottom));
    transform: translateX(100%);
    transition: transform 0.38s cubic-bezier(0.16, 1, 0.3, 1);
    overflow-y: auto; -webkit-overflow-scrolling: touch;
  }
}
.mobile-menu.open { transform: translateX(0); }

.mobile-menu .mm-head { display: flex; align-items: center; justify-content: space-between; padding: 0 14px 8px; flex-shrink: 0; }
.mobile-menu .mm-head .mobile-menu-close { color: var(--text-muted); }

.mm-profile {
  display: flex; align-items: center; gap: 10px;
  margin: 0; padding: 8px 14px 12px;
  color: var(--text-primary);
}
.mm-profile:active { opacity: 0.7; }
.mm-profile-avatar { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.mm-profile-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.mm-profile-info strong { font-size: 14px; font-weight: 600; }
.mm-profile-info span { display: block; font-size: 11.5px; color: var(--text-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.mm-group { margin: 0 0 6px; }
.mm-row {
  display: flex; align-items: center; gap: 10px; width: 100%;
  padding: 9px 14px; font-size: 14px; font-weight: 500; color: var(--text-primary);
  border: none; background: none; text-align: left; font-family: inherit;
}
.mm-row:active { opacity: 0.6; }
.mm-row-icon {
  width: 20px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted); font-size: 17px;
}
.mm-row-label { flex: 1; }
.mm-row-chevron { display: none; }
.mm-row-danger, .mm-row-danger .mm-row-icon { color: var(--red); }

.mm-auth { margin-top: auto; display: flex; flex-direction: column; gap: 8px; padding: 14px 14px 4px; }
.mm-auth .btn { width: 100%; justify-content: center; }

@media (prefers-reduced-motion: reduce) {
  .mobile-menu, .mobile-menu-backdrop { transition: none !important; }
}

/* ============ FIELD ERROR state ============ */
.field-input.field-error, .field-select.field-error, .field-textarea.field-error { border-color: var(--red); background: var(--red-light); }
.field-error-msg { color: var(--red); font-size: 15px; margin-top: 4px; }

/* ============ MULTI-STEP form ============ */
.multi-step .step { display: none; }
.multi-step .step.active { display: block; animation: fadeSlide 0.3s ease; }
@keyframes fadeSlide { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }
.step-meta { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; font-size: 13px; }
.step-meta .step-label { font-weight: 600; color: var(--navy); }
.step-meta .step-percent { color: var(--text-muted); }
.step-bar { height: 4px; background: var(--surface); border-radius: 2px; margin-bottom: 24px; overflow: hidden; }
.step-bar-fill { height: 100%; background: var(--red); border-radius: 2px; transition: width 0.4s ease; }
.step-nav { display: flex; gap: 12px; margin-top: 28px; }
.step-nav .step-back { flex: 0 0 auto; }
.step-nav .step-next { flex: 1; }
@media (max-width: 560px) {
  .step-nav .step-back { flex: 1; }
}

/* Clean step title (used inside .multi-step .step) */
.step-title {
  display: flex; align-items: center; gap: 10px;
  font-size: 17px; font-weight: 600; color: var(--navy);
  margin-bottom: 22px; padding-bottom: 14px;
  border-bottom: 0.5px solid var(--border);
}
.step-title .step-num {
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--navy); color: #fff;
  font-size: 12px; font-weight: 700;
}

/* Subtle divider between clusters of fields within a single step */
.field-group-title {
  font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em;
  color: var(--text-muted); margin: 4px 0 14px;
}

/* Bordered checkbox row — used instead of .filter-option inside plain forms */
.form-check-row {
  display: flex; align-items: flex-start; gap: 10px;
  border: 0.5px solid var(--border); border-radius: var(--r-md);
  padding: 12px 14px; background: var(--surface);
  font-size: 14px; color: var(--text-secondary); line-height: 1.4;
  cursor: pointer; transition: border-color 0.15s ease;
}
.form-check-row:hover { border-color: var(--navy); }
.form-check-row input[type="checkbox"] {
  width: 17px; height: 17px; margin-top: 1px; flex-shrink: 0;
  accent-color: var(--navy);
}

/* ============ GALLERY thumbs ============ */
.gallery-thumb { cursor: pointer; transition: all 0.2s; }
.gallery-thumb.active { border-color: var(--navy); box-shadow: 0 0 0 2px var(--navy); }
.gallery-main img { transition: opacity 0.2s ease; }

/* ============ EMI calculator slider ============ */
input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; background: var(--border); border-radius: 3px; outline: none; }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 22px; height: 22px; background: var(--red); border-radius: 50%; cursor: pointer; border: 3px solid white; box-shadow: 0 2px 6px rgba(209, 68, 68, 0.4); }
input[type=range]::-moz-range-thumb { width: 22px; height: 22px; background: var(--red); border-radius: 50%; cursor: pointer; border: 3px solid white; box-shadow: 0 2px 6px rgba(209, 68, 68, 0.4); }

/* ============ AUTH tabs (login) ============ */
.auth-tabs { display: grid; grid-template-columns: 1fr 1fr; background: var(--surface); border-radius: var(--r-md); padding: 4px; margin-bottom: 22px; }
.auth-tab { padding: 10px; font-size: 16px; font-weight: 600; color: var(--text-muted); border-radius: var(--r-sm); cursor: pointer; transition: all 0.18s ease; }
.auth-tab.active { background: white; color: var(--navy); box-shadow: var(--shadow-sm); }

/* ============ QUANTITY control ============ */
.qty-control { display: flex; border: 0.5px solid var(--border); border-radius: var(--r-md); align-items: center; background: var(--surface); width: fit-content; }
.qty-control button { padding: 10px 14px; color: var(--navy); font-size: 18px; user-select: none; }
.qty-control button:hover { background: var(--border); }
.qty-value { padding: 0 14px; font-weight: 600; color: var(--navy); min-width: 36px; text-align: center; }

/* ============ HEART (generic — standalone, not just inside .card-vehicle) ============ */
.heart { position: absolute; top: 10px; right: 10px; z-index: 2; color: var(--text-muted); background: rgba(255,255,255,0.92); width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-sm); cursor: pointer; transition: color 0.15s ease, background-color 0.15s ease; }
.heart:hover { color: var(--red); }
.heart.liked { color: white; background: var(--red); }
.heart.liked .icon { animation: heartPop 0.4s ease; }
@keyframes heartPop { 0% { transform: scale(1); } 30% { transform: scale(1.3); } 100% { transform: scale(1); } }

/* ============ STAR RATING input (review forms) ============ */
.star-rating { display: inline-flex; flex-direction: row-reverse; gap: 4px; }
.star-rating input { position: absolute; opacity: 0; width: 0; height: 0; }
.star-rating label { font-size: 26px; color: var(--border-strong); cursor: pointer; transition: color 0.15s ease; }
.star-rating input:checked ~ label,
.star-rating label:hover,
.star-rating label:hover ~ label { color: var(--gold); }

/* ============ REVIEW list/form ============ */
.review-card { background: white; border: 0.5px solid var(--border); border-radius: var(--r-lg); padding: 18px; }
.review-card .stars { color: var(--gold); font-size: 13px; }
.review-form { background: var(--surface); border-radius: var(--r-lg); padding: 20px; }

/* ============ Quick-add hover (replace with always-visible on mobile) ============ */
@media (max-width: 880px) {
  .product-card .quick-add { opacity: 1; }
}

/* ============ MOBILE responsive — refined for app feel ============ */
@media (max-width: 880px) {
  /* Hero */
  .hero-img { min-height: auto; padding: 32px 0 60px; }
  .hero-img h1 { font-size: 26px !important; line-height: 1.2; }
  .hero-img p.lead { font-size: 16px; }
  .booking-widget.refined { margin-top: 16px !important; box-shadow: 0 12px 28px rgba(15, 23, 42, 0.22); }
  .booking-tab { font-size: 14px; padding: 12px 8px; gap: 4px; }
  .booking-tab .icon { font-size: 15px; }
  .trip-radios { padding: 10px 16px; gap: 12px; flex-wrap: wrap; }
  .trip-radio { font-size: 13px; }
  .booking-search-row { padding: 0 16px 16px; gap: 8px; grid-template-columns: 1fr 1fr !important; }
  .airport-field { padding: 10px 12px; }
  .airport-field .city { font-size: 15px; }
  .airport-field .sub { font-size: 13px; }
  .field-swap-btn { display: none !important; }
  .btn-search-big { grid-column: span 2 !important; padding: 14px; }
  
  /* Sections */
  .section { padding: 36px 0; }
  .h-section { font-size: 20px !important; }
  .section-row { flex-direction: column; align-items: flex-start; gap: 8px; }
  
  /* Grids */
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .grid-3 { grid-template-columns: 1fr; gap: 14px; }
  .grid-2 { grid-template-columns: 1fr; }
  
  /* Stats bar */
  .stats-bar { padding: 24px 16px; }
  .stat-num { font-size: 26px; }
  .stat-icon { width: 40px; height: 40px; }
  
  /* Pillars */
  .pillars { grid-template-columns: 1fr; }
  .pillar { padding: 20px; }
  
  /* Cards */
  .vehicle-body { padding: 10px 12px; }
  .vehicle-title { font-size: 16px; }
  .vehicle-meta { font-size: 15px; margin-bottom: 8px; }
  .vehicle-price { font-size: 16px; }
  
  /* Page header */
  .page-header { padding: 28px 0 24px; }
  .page-header h1 { font-size: 22px !important; }
  
  /* Detail pages */
  [style*="grid-template-columns:1.4fr 1fr"], [style*="grid-template-columns:1.2fr 1fr"] {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }
  [style*="position:sticky"] { position: static !important; }
  
  /* Tour cards */
  .dest-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .dest-card .name { font-size: 15px; }
  .dest-card .meta { font-size: 15px; }
  
  /* Brand grid */
  .brand-grid-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  
  /* How-to cards */
  .howto-grid { grid-template-columns: 1fr; }
  .howto-card { padding: 10px; }
  .howto-thumb { width: 60px; height: 60px; }
  .howto-title { font-size: 16px; }
  
  /* Hot deals */
  .deals-grid { grid-template-columns: 1fr; }
  .section-row .deal-tabs { width: 100%; overflow-x: auto; }
  
  /* Promo strip */
  .promo-strip { grid-template-columns: 1fr; padding: 20px; gap: 14px; text-align: left; }
  .promo-strip .bg-img { opacity: 0.2; width: 70%; }
  
  /* Mobile app section */
  .app-section { padding: 32px 22px; gap: 28px; }
  .app-info h2 { font-size: 22px; }
  .app-downloads { justify-content: flex-start; }
  
  /* FAQ */
  .faq-section { padding: 28px 20px; }
  .faq-side h2 { font-size: 22px; }
  
  /* Footer */
  .footer { padding: 34px 0 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 26px 20px; padding-bottom: 26px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .footer-copy, .footer-copy p { font-size: 10.5px; }
  
  /* Filter sidebar - shown via FAB sheet on mobile */
  /* Already handled above */
  
  /* Listing pages: result toolbar */
  .layout-with-sidebar > div > div:first-child {
    flex-direction: column;
    align-items: stretch !important;
    gap: 10px;
  }
  
  /* Horizontal scrolling badges/tabs */
  .category-strip { overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; padding-bottom: 4px; }
  .category-strip::-webkit-scrollbar { display: none; }
  
  /* Card horizontal layout (search results) becomes vertical */
  a.card[style*="grid-template-columns:180px 1fr auto"] {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }
  
  /* CTA strip */
  section[style*="background:linear-gradient(135deg, var(--navy)"] .container {
    flex-direction: column;
    text-align: center;
  }
  
  /* Booking widget pricing summary on detail page sticks lower */
  
  /* Login/signup card */
  .card[style*="padding:32px"] { padding: 22px !important; }
}

@media (max-width: 480px) {
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .hero-img { padding: 24px 0 40px; }
  .hero-img h1 { font-size: 22px !important; }
  .btn { padding: 10px 16px; }
  .booking-search-row { grid-template-columns: 1fr !important; }
  .booking-search-row > * { grid-column: span 1 !important; }
  .btn-search-big { grid-column: span 1 !important; }
  .testimonial-grid, .testimonial-clean { grid-template-columns: 1fr; }
  .brand-grid-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .stats-bar { grid-template-columns: 1fr 1fr; gap: 14px; }
}

/* ============ TAP highlight clean ============ */
* { -webkit-tap-highlight-color: rgba(27, 33, 72, 0.08); }
button, a { touch-action: manipulation; }

/* ============ Safe area iOS ============ */
@supports (padding: env(safe-area-inset-bottom)) {
  body { padding-top: env(safe-area-inset-top); }
}

/* ============ Smooth scroll on iOS ============ */
.sheet-body, .filter-sidebar { -webkit-overflow-scrolling: touch; }

/* ============ CAROUSEL (horizontal scroll-snap sections) ============ */
.carousel-wrap { position: relative; }
.carousel-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  gap: 16px;
  padding-bottom: 4px;
}
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-track > * { scroll-snap-align: start; flex: 0 0 auto; }
.carousel-track.grid-4 > * { width: calc(27% - 12px); min-width: 230px; }
.carousel-track.grid-3 > * { width: calc(36% - 11px); min-width: 260px; }
.carousel-track.deals-grid { gap: 16px; }
.carousel-track.deals-grid > * { width: calc(42% - 11px); min-width: 340px; }
.carousel-track.dest-grid { gap: 14px; }
.carousel-track.dest-grid > * { width: calc(27% - 11px); min-width: 220px; }

.carousel-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 40px; height: 40px; border-radius: 50%;
  background: white; border: 0.5px solid var(--border);
  box-shadow: var(--shadow-lg);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; z-index: 5; color: var(--navy);
  transition: background 0.2s, opacity 0.2s;
}
.carousel-arrow:hover { background: var(--surface); }
.carousel-arrow.prev { left: -18px; }
.carousel-arrow.next { right: -18px; }
.carousel-arrow[disabled] { opacity: 0.35; cursor: default; pointer-events: none; }

@media (max-width: 980px) {
  .carousel-track.grid-4 > * { width: calc(50% - 8px); }
  .carousel-track.grid-3 > * { width: calc(50% - 8px); }
  .carousel-track.dest-grid > * { width: calc(50% - 7px); }
}
@media (max-width: 640px) {
  .carousel-arrow { display: none; }
  .carousel-track.grid-4 > *,
  .carousel-track.grid-3 > *,
  .carousel-track.deals-grid > *,
  .carousel-track.dest-grid > * { width: 82%; }
}

/* ============ SCROLL REVEAL (gentle, hierarchy-only) ============ */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1), transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}
.reveal.reveal-in { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ============ RENT LISTING: quick sort pills ============ */
.quick-sort-pills { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.quick-sort-pills::-webkit-scrollbar { display: none; }
.quick-sort-pill {
  font-size: 13px; font-weight: 600; color: var(--navy);
  padding: 7px 14px; border-radius: var(--r-md);
  border: 0.5px solid var(--border);
  white-space: nowrap; flex-shrink: 0;
  transition: all 0.15s ease;
}
.quick-sort-pill:hover { border-color: var(--navy); }
.quick-sort-pill.active { background: var(--navy); color: white; border-color: var(--navy); }

.view-toggle-btn {
  width: 36px; height: 36px; flex-shrink: 0; display: flex; align-items: center; justify-content: center;
  border: 0.5px solid var(--border); border-radius: var(--r-md); background: white; color: var(--navy); cursor: pointer;
  transition: all 0.15s ease;
}
.view-toggle-btn:hover { border-color: var(--navy); }
.view-toggle-btn.active { background: var(--navy); color: white; border-color: var(--navy); }

.rent-list.grid-mode { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: start; }
.rent-list.grid-mode .rent-row { height: 100%; }
.rent-list.grid-mode .rr-top { flex-direction: column; align-items: stretch; gap: 10px; }
.rent-list.grid-mode .rr-thumb { flex: none; width: 100%; aspect-ratio: unset; }
.rent-list.grid-mode .rr-price-col { flex: none; width: 100%; text-align: left; align-items: flex-start; }
.rent-list.grid-mode .rr-price-col .btn { width: 100%; }
@media (max-width: 980px) {
  .rent-list.grid-mode { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .rent-list.grid-mode { grid-template-columns: 1fr; }
}

/* ============ RENT LISTING: toolbar + empty state ============ */
.rent-toolbar { padding-bottom: 14px; margin-bottom: 14px; border-bottom: 0.5px solid var(--border); }
.rent-empty-state {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 10px; padding: 56px 20px; text-align: center; color: var(--text-muted);
  background: var(--surface); border-radius: var(--r-lg); font-size: 14px;
}

/* ============ RENT LISTING: horizontal result rows ============ */
.rent-list { display: flex; flex-direction: column; gap: 12px; }
.rent-row {
  background: var(--white);
  border: 0.5px solid var(--border);
  border-radius: var(--r-lg);
  padding: 10px;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}
.rent-row:hover { box-shadow: var(--shadow-md); border-color: var(--border-strong); }
.rr-top { display: flex; align-items: center; gap: 16px; }

.rr-thumb {
    flex: 0 0 120px;
    width: 120px;
    aspect-ratio: 1 / 1;
    border-radius: var(--r-md);
    overflow: hidden;
    position: relative;
    background: var(--surface);
    display: flex;
    align-items: center;
    justify-content: center;
}
.rr-thumb img { width: 100%; transition: transform 0.35s ease; }
.rr-thumb:hover img { transform: scale(1.05); }
.rr-thumb .icon { font-size: 20px; color: var(--border-strong); }
.rr-thumb .badge { position: absolute; top: 8px; left: 8px; font-size: 12px;}

.rr-info { flex: 1; min-width: 0; }
.rr-title-link { text-decoration: none; }
.rr-title { font-size: 17px; font-weight: 600; color: var(--navy); margin-bottom: 4px; }
.rr-title .badge { font-size: 12px; padding: 5px 8px; margin-left: 6px; }
.rr-specs { display: flex; flex-wrap: wrap; gap: 10px; font-size: 13px; color: var(--text-muted); margin-bottom: 6px; }
.rr-specs span { display: inline-flex; align-items: center; gap: 4px; }
.rr-specs span:not(:last-child) { padding-right: 10px; border-right: 0.5px solid var(--border); }
.rr-location { display: flex; align-items: center; gap: 4px; font-size: 12.5px; color: var(--text-muted); margin-bottom: 8px; }
.rr-badges { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.rr-rating { font-size: 13px; color: var(--green); font-weight: 600; display: inline-flex; align-items: center; gap: 3px; margin-top: 8px; }
.rr-rating span { color: var(--text-muted); font-weight: 400; }

.rr-price-col { flex: 0 0 180px; text-align: right; display: flex; flex-direction: column; align-items: flex-end; }
.rr-starting-label { font-size: 12px; color: var(--text-muted); margin-bottom: 2px; }
.rr-price { font-size: 20px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.rr-price small { font-size: 13px; font-weight: 400; color: var(--text-muted); }
@media (max-width: 768px) {
  .rr-top { flex-wrap: wrap; }
  .rr-thumb { flex: 0 0 100%; width: 100%; aspect-ratio: 1/1; }
  .rr-price-col { flex: 0 0 100%; text-align: left; align-items: flex-start; margin-top: 4px; }
  .rr-price-col > a.btn { width: 100%; }
}

/* ============ RENT LISTING: infinite scroll status ============ */
#rentInfiniteSentinel { height: 1px; }
.rent-infinite-status {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 24px 0; font-size: 13px; color: var(--text-muted);
}
.spin { animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  .spin { animation: none; }
}

/* ============ CART DRAWER (slide-in from the right, opened from the header) ============ */
.cart-drawer-backdrop {
  position: fixed; inset: 0; z-index: 1600;
  background: rgba(15, 23, 42, 0);
  backdrop-filter: blur(0); -webkit-backdrop-filter: blur(0);
  opacity: 0; pointer-events: none;
  transition: background 0.3s ease, backdrop-filter 0.3s ease, opacity 0.3s ease;
}
.cart-drawer-backdrop.show {
  background: rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px);
  opacity: 1; pointer-events: auto;
}

.cart-drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 1601;
  width: 100%; max-width: 420px;
  display: flex; flex-direction: column;
  background: var(--white);
  box-shadow: -8px 0 32px rgba(15, 23, 42, 0.18);
  transform: translateX(100%);
  transition: transform 0.34s cubic-bezier(0.16, 1, 0.3, 1);
  padding-top: env(safe-area-inset-top);
}
.cart-drawer.open { transform: translateX(0); }

.cd-head {
  flex-shrink: 0; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 16px 18px; border-bottom: 0.5px solid var(--border);
}
.cd-head h2 { font-size: 17px; font-weight: 600; color: var(--navy); display: flex; align-items: center; gap: 8px; }
.cd-count {
  font-size: 12px; font-weight: 600; color: var(--text-muted);
  background: var(--surface); border-radius: 10px; padding: 2px 8px;
}
.cd-close {
  width: 34px; height: 34px; border-radius: 50%; flex-shrink: 0;
  background: var(--surface); color: var(--text-secondary);
  display: flex; align-items: center; justify-content: center; font-size: 18px;
  transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
}
.cd-close:hover { background: var(--border); color: var(--navy); }
.cd-close:active { transform: scale(0.9); }

.cd-body { flex: 1; min-height: 0; overflow-y: auto; -webkit-overflow-scrolling: touch; padding: 6px 0; }
.cd-body.is-busy { opacity: 0.5; pointer-events: none; }
.cd-loading { display: flex; align-items: center; justify-content: center; padding: 48px 0; color: var(--text-muted); font-size: 26px; }

.cd-empty {
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  padding: 56px 24px; text-align: center; color: var(--text-secondary); font-size: 14px;
}
.cd-empty .icon { font-size: 40px; color: var(--text-muted); }

.cd-item { display: flex; gap: 12px; padding: 14px 18px; }
.cd-item + .cd-item { border-top: 0.5px solid var(--border); }
.cd-thumb {
  width: 64px; height: 64px; flex-shrink: 0; border-radius: var(--r-md);
  overflow: hidden; background: var(--surface);
  display: flex; align-items: center; justify-content: center;
}
.cd-thumb img { width: 100%; height: 100%; object-fit: cover; }
.cd-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.cd-title {
  font-size: 14px; font-weight: 600; color: var(--navy); line-height: 1.4;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.cd-variant { font-size: 12px; color: var(--text-muted); }
.cd-price { font-size: 13px; color: var(--text-muted); }
.cd-price strong { color: var(--red); font-weight: 600; }
.cd-item-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 4px; }

.cd-qty { display: flex; align-items: center; border: 0.5px solid var(--border); border-radius: var(--r-md); background: var(--surface); }
.cd-qty button {
  width: 30px; height: 30px; display: flex; align-items: center; justify-content: center;
  color: var(--navy); font-size: 15px; transition: background 0.15s ease, transform 0.15s ease;
}
.cd-qty button:hover { background: var(--border); }
.cd-qty button:active { transform: scale(0.88); }
.cd-qty span { min-width: 30px; text-align: center; font-size: 13px; font-weight: 600; color: var(--navy); }

.cd-remove {
  width: 30px; height: 30px; flex-shrink: 0; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted); font-size: 16px;
  transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
}
.cd-remove:hover { background: var(--red-light); color: var(--red); }
.cd-remove:active { transform: scale(0.88); }

.cd-foot {
  flex-shrink: 0; border-top: 0.5px solid var(--border); background: var(--white);
  padding: 16px 18px calc(16px + env(safe-area-inset-bottom));
  display: flex; flex-direction: column; gap: 8px;
}
.cd-foot[hidden] { display: none; }
.cd-subtotal { display: flex; align-items: baseline; justify-content: space-between; font-size: 14px; color: var(--text-secondary); }
.cd-subtotal strong { font-size: 20px; font-weight: 700; color: var(--navy); }
.cd-note { font-size: 12px; color: var(--text-muted); margin-bottom: 4px; }

@media (max-width: 480px) {
  .cart-drawer { max-width: 100%; }
  .cd-thumb { width: 56px; height: 56px; }
}

@media (prefers-reduced-motion: reduce) {
  .cart-drawer, .cart-drawer-backdrop { transition: none !important; }
  .cd-close:active, .cd-qty button:active, .cd-remove:active { transform: none; }
}
