/* =========================================================
   Mashel Tour – penyesuaian tema Remons
   Warna brand: ubah variabel di bawah untuk mengganti warna.
   ========================================================= */
:root {
  /* Palet Hijau Zamrud */
  --theme: #1b7f5b;      /* tombol, link, ikon */
  --theme2: #145c43;     /* hijau tua: harga, label, top bar */
  --accent: #e9c46a;     /* kuning pasir: sorotan */
  --header: #0f2a20;     /* latar gelap & judul */
}

/* ---------- Logo ---------- */
.header-1 .header-logo img,
.header-logo img { height: 56px; width: auto; max-width: 340px; object-fit: contain; }
@media (max-width: 1399px) { .header-1 .header-logo img, .header-logo img { height: 48px; } }
@media (max-width: 575px) { .header-1 .header-logo img, .header-logo img { height: 38px; max-width: 230px; } }
.offcanvas__logo a img { max-width: 220px; height: auto; }
.cta-logo-white { height: 52px; width: auto; }
@media (max-width: 575px) { .cta-logo-white { height: 40px; } }
.cta-logo { height: 46px; width: auto; background: #fff; border-radius: 10px; padding: 8px 14px; }

/* Tombol kembali ke atas pindah ke kiri, kanan dipakai tombol WhatsApp */
.scroll-up { right: auto; left: 25px; }

/* ---------- Menu aktif ---------- */
.main-menu ul li.active > a { color: var(--theme) !important; }

/* ---------- Teks aksen ---------- */
.text-accent { color: var(--accent) !important; }

/* ---------- Hero beranda ---------- */
.mashel-hero {
  position: relative;
  background-color: var(--header);
  padding: 70px 0 120px;
  overflow: hidden;
}
.mashel-hero .overlay-shape { position: absolute; inset: 0; opacity: .55; pointer-events: none; }
.mashel-hero .overlay-shape img { width: 100%; height: 100%; object-fit: cover; }
.mashel-hero .container { position: relative; z-index: 2; }
.mashel-hero .hero-content h4 { color: var(--accent); font-size: 20px; font-weight: 500; margin-bottom: 15px; }
.mashel-hero .hero-content h1 { color: #fff; font-size: 72px; line-height: 1.05; margin-bottom: 20px; }
.mashel-hero .hero-content h1 span { color: var(--accent); }
.mashel-hero .hero-content p { color: rgba(255,255,255,.8); font-size: 17px; margin-bottom: 35px; max-width: 520px; }
.mashel-hero .hero-buttons { display: flex; gap: 15px; flex-wrap: wrap; }
.mashel-hero .theme-btn.btn-outline-light { background: transparent; box-shadow: inset 0 0 0 1px rgba(255,255,255,.5); }
.mashel-hero .theme-btn.btn-outline-light::before,
.mashel-hero .theme-btn.btn-outline-light::after { background-color: var(--theme); }
.mashel-hero-slider { border-radius: 16px; overflow: hidden; box-shadow: 0 25px 60px rgba(0,0,0,.35); }
.mashel-hero-slider img { width: 100%; height: auto; display: block; }
.mashel-hero-nav { display: flex; align-items: center; justify-content: space-between; margin-top: 18px; }
.mashel-hero-nav button {
  width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255,255,255,.35);
  color: #fff; background: transparent; transition: .3s;
}
.mashel-hero-nav button:hover { background: var(--theme); border-color: var(--theme); }
.mashel-hero-pagination { position: static !important; width: auto !important; }
.mashel-hero-pagination .swiper-pagination-bullet { background: #fff; opacity: .5; }
.mashel-hero-pagination .swiper-pagination-bullet-active { background: var(--accent); opacity: 1; }
@media (max-width: 1199px) { .mashel-hero .hero-content h1 { font-size: 56px; } }
@media (max-width: 991px) {
  .mashel-hero { padding: 50px 0 100px; }
  .mashel-hero .hero-content { margin-bottom: 40px; text-align: center; }
  .mashel-hero .hero-content p { margin-left: auto; margin-right: auto; }
  .mashel-hero .hero-buttons { justify-content: center; }
}
@media (max-width: 575px) { .mashel-hero .hero-content h1 { font-size: 42px; } }

/* ---------- Form pencarian (pickup) ---------- */
.pickup-loaction-area { background-color: #f3fbf8; }
.pickup-wrapper .pickup-items { flex: 1 1 0; min-width: 0; }
.pickup-wrapper .pickup-items.pickup-btn-col { flex: 0 0 auto; }
.pickup-wrapper .pickup-items .category-oneadjust { width: 100%; padding: 0; }
.pickup-wrapper .pickup-items .category-oneadjust .nice-select {
  width: 100% !important; height: 60px; line-height: 60px; padding-left: 20px; padding-right: 45px;
  border: none; background: transparent; float: none;
}
.pickup-wrapper .pickup-items .category-oneadjust .nice-select::after { right: 22px; }
.pickup-wrapper .pickup-items .category-oneadjust .nice-select .list { width: 100%; right: 0; left: 0; max-height: 260px; }
.pickup-wrapper .pickup-items .category-oneadjust .nice-select .list li { color: #fff; }
.pickup-wrapper .pickup-items input { height: 60px; text-transform: none; }
.pickup-wrapper .pickup-items .input-group { width: 100%; }
.pickup-wrapper .pickup-btn { white-space: nowrap; }
.pickup-wrapper .trip-info { flex: 1 0 100%; margin: 0; }
.pickup-loaction-area.no-overlap .pickup-wrapper { margin-top: 0; }
@media (max-width: 1399px) { .pickup-wrapper .pickup-items { flex: 1 1 100%; } }

/* ---------- Kartu kendaraan ---------- */
/* Gambar kartu tampil utuh (rasio 3:2, ukuran gambar 600x400) - tidak terpotong */
.car-rentals-items .car-image img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: contain; background: #f3f6f5; }
.car-rentals-items .car-content { padding: 25px 28px; }
.car-rentals-items .car-content h6 { font-size: 18px; font-weight: 600; }
.car-rentals-items .car-content h6 .price-label { display: block; font-size: 12px; font-weight: 400; color: var(--text); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 2px; }
.car-rentals-items .car-content h6 span { font-size: 14px; font-weight: 400; }
.car-rentals-items .car-content .icon-items { gap: 30px; }
.car-rentals-items .car-content .icon-items ul li { font-size: 14px; }
.car-card-buttons { display: flex; gap: 10px; }
.car-card-buttons .theme-btn { flex: 1; padding: 16px 12px; }
.car-rentals-section-2 .car-rentals-items { height: 100%; display: flex; flex-direction: column; }
.car-rentals-section-2 .car-rentals-items .car-content { flex: 1; display: flex; flex-direction: column; }
.car-rentals-section-2 .car-rentals-items .car-content > a.theme-btn,
.car-rentals-section-2 .car-rentals-items .car-content .car-card-buttons { margin-top: auto; }

/* ---------- Keunggulan ---------- */
.feature-benefit-items .feature-content .icon.icon-fa {
  display: flex; align-items: center; justify-content: center;
  width: 70px; height: 70px; border-radius: 50%; background: var(--theme); color: #fff; font-size: 28px;
}

/* ---------- Tentang ---------- */
.about-image-single img { width: 100%; height: auto; border-radius: 16px; }
.about-content .about-text p { margin-bottom: 15px; color: var(--text) !important; font-family: inherit !important; line-height: 1.8 !important; }
.about-content .about-text ul { padding-left: 0; margin: 0 0 20px; list-style: none; }
.about-content .about-text ul li { position: relative; padding-left: 28px; margin-bottom: 10px; }
.about-content .about-text ul li::before {
  content: "\f00c"; font-family: "Font Awesome 6 Free"; font-weight: 900;
  position: absolute; left: 0; top: 1px; color: var(--theme);
}

/* ---------- CTA layanan ---------- */
.car-service-wrapper .service-car-image > img { width: 100%; height: auto; border-radius: 16px; }
.car-service-wrapper .service-car-content p.lead-text { color: rgba(255,255,255,.85); font-size: 18px; margin-bottom: 30px; }

/* ---------- Banner promo ---------- */
.promo-banner img { width: 100%; height: auto; display: block; border-radius: 16px; }

/* ---------- Berita ---------- */
.news-card-items .news-image img { height: 250px; width: 100%; object-fit: cover; }
.news-card-items .news-content .news-cont h3 { min-height: 0; }
.news-card-items .post-client img { width: 60px; height: 60px; object-fit: contain; background: #fff; }

.page-nav-wrap ul { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }
.page-nav-wrap ul li .page-numbers.current,
.page-nav-wrap ul li .page-numbers:hover { background-color: var(--theme); color: #fff; }

/* ---------- Konten dari CMS / database ---------- */
.mashel-content { color: var(--text); line-height: 1.8; }
.mashel-content p { margin-bottom: 16px; }
.mashel-content h1, .mashel-content h2, .mashel-content h3, .mashel-content h4 { margin: 28px 0 14px; color: var(--header); }
.mashel-content ul, .mashel-content ol { padding-left: 22px; margin-bottom: 18px; }
.mashel-content ul li { list-style: disc; margin-bottom: 6px; }
.mashel-content ol li { list-style: decimal; margin-bottom: 6px; }
.mashel-content img { max-width: 100%; height: auto; border-radius: 10px; }
.mashel-content table { width: 100%; border-collapse: collapse; margin-bottom: 20px; }
.mashel-content table td, .mashel-content table th { border: 1px solid var(--border); padding: 10px 14px; }
.mashel-content a { color: var(--theme); text-decoration: underline; }
.mashel-content iframe { max-width: 100%; }

/* ---------- Detail kendaraan ---------- */
.vehicle-main-image { border-radius: 12px; overflow: hidden; background: #f3fbf8; }
.vehicle-main-image img { width: 100%; height: 480px; object-fit: cover; display: block; }
@media (max-width: 767px) { .vehicle-main-image img { height: 280px; } }
.vehicle-thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 10px; margin-top: 12px; }
.vehicle-thumbs img { width: 100%; height: 72px; object-fit: cover; border-radius: 8px; cursor: pointer; opacity: .65; border: 2px solid transparent; transition: .2s; }
.vehicle-thumbs img:hover, .vehicle-thumbs img.active { opacity: 1; border-color: var(--theme); }
.car-details-wrapper .car-details-items .car-content .icon-details-area .icon-details-main-items .icon-items .icon i { font-size: 22px; color: var(--theme); }
.spec-icon { width: 54px; height: 54px; border-radius: 50%; background: #f3fbf8; display: flex; align-items: center; justify-content: center; }

/* ---------- Sidebar booking ---------- */
.car-list-sidebar.sticky-sidebar { position: sticky; top: 120px; }
.car-list-sidebar .form-clt .label-text { display: block; font-weight: 500; color: var(--header); margin-bottom: 10px; }
.car-list-sidebar .form-clt input,
.car-booking-items .form-clt input,
.car-booking-items .form-clt textarea,
.contact-form-items .form-clt input,
.contact-form-items .form-clt textarea {
  width: 100%; border: none; outline: none; background-color: #ecf4f1; border-radius: 10px;
  padding: 16px 20px; color: var(--header); font-size: 16px;
}
.car-booking-items .form-clt textarea, .contact-form-items .form-clt textarea { min-height: 120px; resize: vertical; }
.form-clt .nice-select {
  width: 100%; height: 56px; line-height: 56px; background-color: #ecf4f1; border: none; border-radius: 10px;
  padding-left: 20px; float: none; font-size: 16px;
}
.form-clt .nice-select .list { width: 100%; max-height: 260px; overflow-y: auto; }
.nice-select.is-invalid { box-shadow: 0 0 0 2px #dc3545; }
.form-clt small.help { display: block; margin-top: 6px; color: var(--text); font-size: 13px; }

.summary-list { list-style: none; padding: 0; margin: 0 0 20px; }
.summary-list li { display: flex; justify-content: space-between; gap: 15px; padding: 12px 0; border-bottom: 1px dashed var(--border); }
.summary-list li span:first-child { color: var(--text); }
.summary-list li span:last-child { color: var(--header); font-weight: 500; text-align: right; }
.summary-total { background: var(--header); color: #fff; border-radius: 12px; padding: 20px 22px; margin-bottom: 20px; }
.summary-total small { display: block; opacity: .75; font-size: 13px; text-transform: uppercase; letter-spacing: 1px; }
.summary-total strong { font-size: 28px; color: var(--accent); }
.summary-image { width: 100%; height: 200px; object-fit: cover; border-radius: 12px; margin-bottom: 20px; }

.mashel-alert { border-radius: 12px; padding: 18px 22px; margin-bottom: 25px; }
.mashel-alert.info { background: #e8fbf4; color: #0b8f5f; }
.mashel-alert.warning { background: #fff6e0; color: #8a5a00; }
.mashel-alert.danger { background: #fdecea; color: #a52a1e; }

/* ---------- Ringkasan pencarian ---------- */
.search-summary {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px;
  background: #fff; box-shadow: var(--box-shadow); border-radius: 12px; padding: 25px 30px; margin-bottom: 40px;
}
.search-summary .summary-chips { display: flex; flex-wrap: wrap; gap: 12px 28px; }
.search-summary .summary-chips div { display: flex; align-items: center; gap: 10px; color: var(--header); }
.search-summary .summary-chips i { color: var(--theme); }
.search-summary .summary-chips small { display: block; color: var(--text); font-size: 12px; text-transform: uppercase; letter-spacing: .5px; }
.search-summary .theme-btn { padding: 14px 24px; }

/* ---------- Pembayaran ---------- */
.payment-card { background: #fff; border-radius: 16px; box-shadow: var(--box-shadow); padding: 40px; }
@media (max-width: 575px) { .payment-card { padding: 25px 20px; } }
.status-badge { display: inline-block; padding: 4px 14px; border-radius: 30px; background: #fff6e0; color: #8a5a00; font-size: 14px; font-weight: 600; }
.status-badge.paid { background: #e6f6ec; color: #17733b; }
.bank-box { background: var(--header); color: #fff; border-radius: 16px; padding: 30px; text-align: center; }
.bank-box h4 { color: #fff; margin-bottom: 15px; }
.bank-box .bank-name { font-size: 18px; opacity: .8; }
.bank-box .bank-number { font-size: 34px; font-weight: 700; letter-spacing: 2px; color: var(--accent); margin: 6px 0; }
.bank-box .total-payment { margin-top: 20px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.15); }
.bank-box .total-payment strong { font-size: 30px; display: block; }
.btn-wa { background-color: #25d366 !important; }
.payment-steps { list-style: none; padding: 0; counter-reset: step; margin: 0; }
.payment-steps li { counter-increment: step; position: relative; padding-left: 46px; margin-bottom: 16px; }
.payment-steps li::before {
  content: counter(step); position: absolute; left: 0; top: -2px; width: 32px; height: 32px; border-radius: 50%;
  background: var(--theme); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 600; font-size: 14px;
}

/* ---------- Paket wisata ---------- */
.tour-card { border-radius: 14px; overflow: hidden; background: #fff; box-shadow: var(--box-shadow); height: 100%; display: flex; flex-direction: column; }
.tour-card .tour-image { display: block; overflow: hidden; }
.tour-card .tour-image img { width: 100%; height: auto; display: block; transition: transform .5s; }
.tour-card:hover .tour-image img { transform: scale(1.04); }
.tour-card .tour-body { padding: 20px; margin-top: auto; }

/* ---------- Kontak ---------- */
.contact-right-items .icon-items .icon i { font-size: 22px; color: var(--theme); }
.map-section iframe { width: 100%; height: 450px; display: block; border: 0; }

/* ---------- Footer ---------- */
.footer-bank .bank-name { color: #fff; font-weight: 600; margin-bottom: 4px; }
.footer-bank .bank-number { color: var(--accent); font-size: 22px; font-weight: 700; margin-bottom: 4px; }
.footer-pay-img { max-width: 100%; height: auto; margin-top: 10px; }
.footer-section .single-footer-widget .widget-head h4 { font-size: 18px; }

/* ---------- flatpickr ---------- */
.flatpickr-calendar { font-family: inherit; }
.flatpickr-day.selected, .flatpickr-day.selected:hover { background: var(--theme); border-color: var(--theme); }
.flatpickr-day.flatpickr-disabled { text-decoration: line-through; color: #c9c9c9; }

/* ---------- Perbaikan tambahan ---------- */
.car-service-wrapper .service-car-content p.lead-text { color: var(--text); }
.car-service-wrapper .service-car-image .booking-content {
  background: var(--header); border-radius: 12px; padding: 14px 20px; bottom: 20px; right: 20px;
}
.car-service-wrapper .service-car-image .booking-content p { margin-bottom: 4px; font-size: 14px; }
/* Konten dari editor sering membawa inline font-family */
.about-text *, .mashel-content * { font-family: inherit !important; }
@media (max-width: 1399px) { .pickup-wrapper .pickup-btn { width: 100%; } }
/* Ikon spesifikasi template berwarna merah -> geser ke biru brand */
.car-rentals-items .icon-items img,
.icon-details-main-items .icon img { filter: hue-rotate(150deg) saturate(.9); }
.about-content .about-text ul li { padding-left: 28px !important; list-style: none !important; }
.contact-right-items .icon-items .content h6, .contact-right-items .icon-items .content h6 a { text-transform: none; }
.recent-post-area .recent-items { display: flex; gap: 15px; align-items: center; }
.recent-post-area .recent-items .recent-thumb { flex: 0 0 90px; }
.recent-post-area .recent-items .recent-thumb img { width: 90px; height: 75px; object-fit: cover; border-radius: 8px; }
.sidebar-social a { width: 42px; height: 42px; border-radius: 50%; background: #fff; display: inline-flex; align-items: center; justify-content: center; color: var(--header); transition: .3s; }
.sidebar-social a:hover { background: var(--theme); color: #fff; }
.mashel-content li p { margin-bottom: 0; }

/* Sidebar ringkasan */
.car-list-sidebar .sidebar-body { padding: 25px 30px 30px; }
.car-list-sidebar .contact-form-items .form-clt input,
.car-list-sidebar .contact-form-items .form-clt .nice-select { background-color: #fff; }
.form-clt .nice-select::after { right: 22px !important; left: auto !important; }
.car-booking-items .booking-header { margin-bottom: 25px; }
.car-details-wrapper .car-details-items .car-content .icon-details-area .icon-details-main-items .icon-items .content p { text-transform: none; }
.form-clt .nice-select::after,
.pickup-wrapper .nice-select::after {
  width: 8px !important; height: 8px !important; top: 50% !important; margin-top: -6px !important;
  border-bottom: 2px solid var(--text) !important; border-right: 2px solid var(--text) !important;
  border-top: 0 !important; border-left: 0 !important; transform: rotate(45deg) !important;
}
.form-clt .nice-select.open::after, .pickup-wrapper .nice-select.open::after { transform: rotate(-135deg) !important; margin-top: -2px !important; }

/* =========================================================
   Hero video + form booking
   ========================================================= */
.video-hero {
  position: relative; overflow: hidden;
  min-height: 760px; display: flex; align-items: center;
  padding: 110px 0; background-color: #111;
  background-size: cover; background-position: center;
}
.video-hero-bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: 0; transition: opacity 1s ease;
}
.video-hero-bg.is-playing { opacity: 1; }
.video-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(90deg,
    rgba(var(--hero-overlay-rgb, 0,0,0), min(calc(var(--hero-overlay, .45) + .25), .95)) 0%,
    rgba(var(--hero-overlay-rgb, 0,0,0), var(--hero-overlay, .45)) 50%,
    rgba(var(--hero-overlay-rgb, 0,0,0), max(calc(var(--hero-overlay, .45) - .2), 0)) 100%);
}
.video-hero .container { position: relative; z-index: 2; }
.video-hero .hero-content h4 { color: var(--accent); font-size: 20px; font-weight: 500; margin-bottom: 18px; }
.video-hero .hero-content h1 { color: #fff; font-size: 62px; line-height: 1.1; margin-bottom: 22px; text-shadow: 0 2px 18px rgba(0,0,0,.35); }
.video-hero .hero-content p, .video-hero .hero-points li { text-shadow: 0 1px 10px rgba(0,0,0,.4); }
.video-hero .hero-content h1 span { color: var(--accent); }
.video-hero .hero-content p { color: rgba(255,255,255,.85); font-size: 18px; max-width: 560px; margin-bottom: 28px; }
.hero-points { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 12px 28px; }
.hero-points li { color: #fff; font-weight: 500; }
.hero-points i { color: var(--accent); margin-right: 8px; }

.hero-booking-card {
  background: #fff; border-radius: 18px; padding: 36px;
  box-shadow: 0 30px 70px rgba(0,0,0,.35);
}
.hero-booking-card h3 { font-size: 28px; margin-bottom: 6px; }
.hero-booking-card .sub { margin-bottom: 22px; font-size: 15px; }
.hero-booking-card .form-clt .label-text { display: block; font-weight: 500; color: var(--header); margin-bottom: 8px; font-size: 15px; }
.hero-booking-card .form-clt input { width: 100%; border: none; outline: none; background: #ecf0f4; border-radius: 10px; padding: 0 20px; height: 56px; font-size: 16px; color: var(--header); }
.hero-booking-card .theme-btn { padding: 18px 30px; }

@media (max-width: 1199px) { .video-hero .hero-content h1 { font-size: 50px; } }
@media (max-width: 991px) {
  .video-hero { min-height: 0; padding: 70px 0 60px; }
  .video-hero .hero-content { text-align: center; }
  .video-hero .hero-content p { margin-left: auto; margin-right: auto; }
  .hero-points { justify-content: center; }
  .video-hero-overlay { background: rgba(var(--hero-overlay-rgb, 0,0,0), max(var(--hero-overlay, .45), .6)) !important; }
}
@media (max-width: 575px) {
  .video-hero .hero-content h1 { font-size: 36px; }
  .hero-booking-card { padding: 26px 20px; }
}

/* Slider promo di bawah hero */
.mashel-hero-slider { border-radius: 16px; overflow: hidden; }
.mashel-hero-nav.dark button { border-color: var(--border); color: var(--header); }
.mashel-hero-nav.dark button:hover { color: #fff; }
.mashel-hero-nav.dark .mashel-hero-pagination .swiper-pagination-bullet { background: var(--header); opacity: .25; }
.mashel-hero-nav.dark .mashel-hero-pagination .swiper-pagination-bullet-active { background: var(--theme); opacity: 1; }
.mashel-hero-nav { justify-content: center; gap: 20px; }
@media (max-width: 575px) { .cta-cheap-rental .cta-cheap-rental-left { flex-direction: column; text-align: center; gap: 14px; } }

/* ---------- Topbar: teks & ikon putih ---------- */
.header-top-wrapper .contact-list li,
.header-top-wrapper .contact-list li a,
.header-top-wrapper .contact-list li i { color: #fff; }
.header-top-wrapper .contact-list li a:hover { color: var(--accent); }

/* ---------- Menu: yang tidak aktif hitam ---------- */
.header-1 .header-main .main-menu ul li a,
.header-1 .header-main .main-menu ul li .submenu li a { color: #111; }
.header-1 .header-main .main-menu ul li a:hover { color: var(--theme) !important; }

/* ---------- About: jarak gambar & teks ---------- */
.about-wrapper-2 .about-content { margin-left: 0; }
@media (min-width: 992px) {
  .about-wrapper-2 .about-content { padding-left: 50px; }
}
@media (min-width: 1200px) {
  .about-wrapper-2 .about-content { padding-left: 70px; }
}

/* ---------- Jarak antar menu ---------- */
.header-main .main-menu ul li { margin-inline-end: 32px; }
.header-main .main-menu ul li:last-child { margin-inline-end: 0; }
@media (max-width: 1399px) { .header-main .main-menu ul li { margin-inline-end: 24px; } }
.header-main .main-menu ul li .submenu li { margin-inline-end: 0; }

/* ---------- Jarak antar menu ---------- */
.header-main .main-menu ul li { margin-inline-end: 40px; }
.header-main .main-menu ul li:last-child { margin-inline-end: 0; }
.header-main .main-menu ul li .submenu li { margin-inline-end: 0; }

/* =========================================================
   Form input standar (pengganti gaya nice-select)
   Dropdown memakai <select> asli browser sehingga bisa
   diketik untuk mencari pilihan.
   ========================================================= */
.form-clt input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]):not([type="hidden"]):not([type="file"]),
.form-clt select,
.form-clt textarea,
.pickup-wrapper .pickup-items input:not([type="hidden"]),
.pickup-wrapper .pickup-items select {
  display: block !important;
  width: 100% !important;
  height: 48px !important;
  padding: 10px 14px !important;
  font-family: inherit !important;
  font-size: 15px !important;
  line-height: 1.5 !important;
  font-weight: 400 !important;
  color: #212529 !important;
  background-color: #fff !important;
  border: 1px solid #ced4da !important;
  border-radius: 6px !important;
  box-shadow: none !important;
  text-transform: none !important;
  outline: none;
  transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.form-clt textarea {
  height: auto !important;
  min-height: 110px;
  resize: vertical;
}

.form-clt select,
.pickup-wrapper .pickup-items select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  padding-right: 38px !important;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e") !important;
  background-repeat: no-repeat !important;
  background-position: right 14px center !important;
  background-size: 14px 10px !important;
}

.form-clt input::placeholder,
.form-clt textarea::placeholder,
.pickup-wrapper .pickup-items input::placeholder {
  color: #6c757d !important;
  opacity: 1;
}

.form-clt input:focus,
.form-clt select:focus,
.form-clt textarea:focus,
.pickup-wrapper .pickup-items input:focus,
.pickup-wrapper .pickup-items select:focus {
  border-color: var(--theme) !important;
  box-shadow: 0 0 0 3px rgba(20, 92, 67, .15) !important;
}

.form-clt input[readonly],
.form-clt input.flatpickr-input {
  cursor: pointer;
}

.form-clt select:invalid,
.pickup-wrapper .pickup-items select:invalid {
  color: #6c757d !important;
}
.form-clt select option,
.pickup-wrapper .pickup-items select option {
  color: #212529;
}

/* Wadah di form pencarian (search.php) tidak lagi memberi latar sendiri */
.pickup-wrapper .pickup-items .category-oneadjust,
.pickup-wrapper .pickup-items .input-group { background: transparent; border: none; }
.pickup-wrapper .pickup-items .input-group .input-group-addon { display: none; }

/* =========================================================
   Dropdown yang bisa diketik (Select2) - Kota Tujuan
   ========================================================= */
.form-clt select.select2-hidden-accessible,
.pickup-wrapper .pickup-items select.select2-hidden-accessible {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  border: 0 !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
}
.select2-container { width: 100% !important; font-family: inherit; }
.select2-container--default .select2-selection--single {
  height: 48px;
  border: 1px solid #ced4da;
  border-radius: 6px;
  background-color: #fff;
  outline: none;
  transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}
.select2-container--default .select2-selection--single .select2-selection__rendered {
  line-height: 46px;
  padding-left: 14px;
  padding-right: 38px;
  font-size: 15px;
  color: #212529;
}
.select2-container--default .select2-selection--single .select2-selection__placeholder { color: #6c757d; }
.select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 46px;
  right: 10px;
}
.select2-container--default.select2-container--focus .select2-selection--single,
.select2-container--default.select2-container--open .select2-selection--single {
  border-color: var(--theme);
  box-shadow: 0 0 0 3px rgba(20, 92, 67, .15);
}
.select2.is-invalid .select2-selection--single { border-color: #dc3545; box-shadow: 0 0 0 3px rgba(220, 53, 69, .15); }

.select2-dropdown {
  border: 1px solid #ced4da;
  border-radius: 6px;
  overflow: hidden;
  font-family: inherit;
  z-index: 99999;
}
.select2-container--open .select2-dropdown--below { margin-top: 4px; border-top: 1px solid #ced4da; border-radius: 6px; }
.select2-container--open .select2-dropdown--above { margin-top: -4px; border-bottom: 1px solid #ced4da; border-radius: 6px; }
.select2-search--dropdown { padding: 8px; }
.select2-container--default .select2-search--dropdown .select2-search__field {
  height: 40px;
  padding: 6px 12px;
  border: 1px solid #ced4da;
  border-radius: 6px;
  font-size: 15px;
  color: #212529 !important;
  background: #fff;
  outline: none;
}
.select2-container--default .select2-search--dropdown .select2-search__field:focus { border-color: var(--theme); color: #212529 !important; }
.select2-container--default .select2-results > .select2-results__options { max-height: 260px; }
.select2-results__option { padding: 9px 14px; font-size: 15px; color: #212529; }
.select2-container--default .select2-results__option--highlighted.select2-results__option--selectable {
  background-color: var(--theme);
  color: #fff;
}
.select2-container--default .select2-results__option--selected { background-color: #eef5f2; }

/* Kartu kendaraan: tanpa badge & spesifikasi, garis pemisah di atas tombol */
.car-rentals-items .car-content .car-card-actions {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}
.car-rentals-section-2 .car-rentals-items .car-content .car-card-actions { margin-top: auto; }
.car-rentals-section-2 .car-rentals-items .car-content h6 { margin-bottom: 20px; }

/* =========================================================
   Slider armada di beranda: lebar mengikuti container
   (sama seperti halaman Rent Car), maks. 3 kartu
   ========================================================= */
.car-rentals-section .car-rentals-wrapper {
  width: 100%;
  max-width: 1320px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 12px;
}
@media (max-width: 1399px) { .car-rentals-section .car-rentals-wrapper { max-width: 1140px; } }
@media (max-width: 1199px) { .car-rentals-section .car-rentals-wrapper { max-width: 960px; } }
@media (max-width: 991px)  { .car-rentals-section .car-rentals-wrapper { max-width: 720px; } }
@media (max-width: 767px)  { .car-rentals-section .car-rentals-wrapper { max-width: 540px; } }
@media (max-width: 575px)  { .car-rentals-section .car-rentals-wrapper { padding: 0 15px; } }

/* Tombol panah di luar kartu pada layar lebar */
.car-rentals-section .car-rentals-wrapper .array-button .array-prev,
.car-rentals-section .car-rentals-wrapper .array-button .array-next {
  z-index: 9;
  width: 40px; height: 40px; line-height: 38px;
  background-color: #fff;
  box-shadow: 0 4px 14px rgba(0,0,0,.12);
}
.car-rentals-section .car-rentals-wrapper .array-button .array-prev { left: -48px; top: 40%; }
.car-rentals-section .car-rentals-wrapper .array-button .array-next { right: -48px; top: 40%; }
@media (max-width: 1499px) {
  .car-rentals-section .car-rentals-wrapper .array-button .array-prev { left: 0; }
  .car-rentals-section .car-rentals-wrapper .array-button .array-next { right: 0; }
}
.car-rentals-items:hover .car-image img { transform: scale(1.03); }

/* =========================================================
   Detail kendaraan: sidebar sejajar dengan foto (rata atas)
   dan tetap menempel saat scroll (sticky)
   ========================================================= */
.car-details.fix { overflow: visible; overflow-x: clip; }      /* overflow:hidden mematikan sticky */
.car-details-wrapper > .row { align-items: stretch !important; }
.car-details-wrapper > .row > [class*="col-"] { align-self: stretch !important; }
.car-details-wrapper .car-list-sidebar { margin-top: 0 !important; }
.car-list-sidebar.sticky-sidebar { position: sticky; top: 150px; }
@media (max-width: 991px) { .car-list-sidebar.sticky-sidebar { position: static; } }

/* ===== Fitur dari siaptrans: Nego WhatsApp, catatan trip & 2 driver ===== */
.theme-btn.btn-nego-wa,
.theme-btn.btn-nego-wa.bg-color { background-color: #25d366 !important; border-color: #25d366 !important; color: #fff !important; }
.theme-btn.btn-nego-wa::before,
.theme-btn.btn-nego-wa::after { background-color: #1da851 !important; }
.theme-btn.btn-nego-wa:hover { background-color: #1da851 !important; color: #fff !important; }
.search-trip-note { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; line-height: 1.5; color: #555; background: #f6f8f7; border-radius: 8px; padding: 8px 10px; margin: 0 0 10px; }
.search-trip-note i { margin-top: 3px; color: var(--theme, #0b6e4f); }
.search-trip-note.driver { background: #fff7e0; color: #6b5300; }
.search-trip-note.driver i { color: #c9a227; }
