@font-face { font-family: Cairo; src: url('fonts/Cairo-Variable.ttf') format('truetype'); font-weight: 200 1000; font-style: normal; font-display: swap; }
:root { --shortcoded-navy: #0b2033; --shortcoded-teal: #087f83; --shortcoded-hover: #06696d; --shortcoded-radius: .5rem; --shortcoded-control-height: 2.5rem; --bb-border-radius: .5rem; --bs-border-radius: .5rem; }
body, button, input, select, textarea { font-family: Cairo, sans-serif; }
body { font-size: 15px; line-height: 1.6; }
:is(.form-control,.form-select,.input-group-text,.btn) { border-width: 1px; border-radius: var(--shortcoded-radius); min-height: var(--shortcoded-control-height); box-sizing: border-box; font-size: .9375rem; line-height: 1.4; }
.form-control, .form-select, .input-group-text { padding-block: .5rem; }
.form-control, .input-group-text { padding-inline: .75rem; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .5rem 1rem; font-weight: 600; line-height: 1.4; }
.btn-sm { min-height: 2.25rem; padding: .375rem .75rem; }
.btn-icon { min-width: var(--shortcoded-control-height); padding-inline: .5rem; }
.form-label { margin-block-end: .375rem; }
.form-control:focus-visible, .form-select:focus-visible, .btn:focus-visible, button:focus-visible, a:focus-visible { outline: 2px solid var(--shortcoded-teal); outline-offset: 2px; }
/* Resolve corners from the GROUP direction: numeric fields may correctly retain dir=ltr inside an RTL group. */
.input-group > :is(.form-control,.form-select,.input-group-text,.btn,.form-floating) { border-radius: 0 !important; margin: 0 !important; min-height: var(--shortcoded-control-height); }
.input-group > .form-floating > .form-control { border-radius: inherit !important; }
.input-group:dir(ltr) > :nth-child(1 of .form-control,.form-select,.input-group-text,.btn,.form-floating) { border-top-left-radius: var(--shortcoded-radius) !important; border-bottom-left-radius: var(--shortcoded-radius) !important; }
.input-group:dir(ltr) > :nth-last-child(1 of .form-control,.form-select,.input-group-text,.btn,.form-floating) { border-top-right-radius: var(--shortcoded-radius) !important; border-bottom-right-radius: var(--shortcoded-radius) !important; }
.input-group:dir(rtl) > :nth-child(1 of .form-control,.form-select,.input-group-text,.btn,.form-floating) { border-top-right-radius: var(--shortcoded-radius) !important; border-bottom-right-radius: var(--shortcoded-radius) !important; }
.input-group:dir(rtl) > :nth-last-child(1 of .form-control,.form-select,.input-group-text,.btn,.form-floating) { border-top-left-radius: var(--shortcoded-radius) !important; border-bottom-left-radius: var(--shortcoded-radius) !important; }
.input-group:dir(ltr) > :nth-child(n+2 of .form-control,.form-select,.input-group-text,.btn,.form-floating) { margin-left: -1px !important; }
.input-group:dir(rtl) > :nth-child(n+2 of .form-control,.form-select,.input-group-text,.btn,.form-floating) { margin-right: -1px !important; }
.page-wrapper, .page-body, .card, .card-body, .modal-content { min-width: 0; }
.table-responsive { max-width: 100%; }
.modal-body :is(input, select, textarea) { max-width: 100%; }
.text-start:dir(rtl) { text-align: right !important; }
.text-end:dir(rtl) { text-align: left !important; }
@media (max-width: 575px) { .page-header .row { row-gap: .75rem; } .page-header .btn-list { flex-wrap: wrap; } .card-body { padding: 1rem; } .btn { white-space: normal; } }

.shortcoded-auth-languages { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; }
.shortcoded-auth-languages .btn { min-width: 6rem; margin: 0; }
.shortcoded-auth-languages [aria-current="page"] { color: #fff; background: var(--shortcoded-teal); border-color: var(--shortcoded-teal); }

/* Approved navy-ink logo remains readable on native dark navigation and guest surfaces. */
:is(.navbar[data-bs-theme="dark"], body[data-bs-theme="dark"]) .navbar-brand-image { background: #fff; padding: .25rem .5rem; border-radius: var(--shortcoded-radius); box-sizing: content-box; }
/* Retain the catalogue identifier before secondary columns on Responsive tables. */
.dataTable .shortcoded-record-name { min-inline-size: 10rem; max-inline-size: 20rem; white-space: normal; }
.dataTable .shortcoded-record-name > a { display: block; max-inline-size: 20rem; white-space: normal; overflow-wrap: anywhere; }
@media (max-width: 575px) { .dataTable .shortcoded-record-name { min-inline-size: 6rem; max-inline-size: 10rem; } .dataTable .shortcoded-record-name > a { max-inline-size: 10rem; } }

.dataTable .table-actions .btn { min-inline-size: 2.5rem; min-block-size: 2.5rem; padding: .5rem; }

/* Only inherited blank-image/default-color breadcrumbs get the plain, legible fallback. */
.breadcrumb__area.shortcoded-breadcrumb-plain { --breadcrumb-txt-color: var(--shortcoded-navy); height: auto; min-height: 0; padding: 1.5rem 1rem; }
.shortcoded-breadcrumb-plain > .container.position-absolute { position: static !important; transform: none !important; inset: auto !important; max-inline-size: 100%; padding: 0; }
.breadcrumb__area.shortcoded-breadcrumb-plain .text-white { color: var(--shortcoded-navy) !important; }
.shortcoded-breadcrumb-plain h2 { font-size: clamp(1.5rem, 3vw, 2rem); line-height: 1.4; }
@media (max-width: 575px) {
  body#page-home .page-default-content .ck-content > section.container.py-5 { padding-block: 1.5rem !important; }
  .page-default-content .shortcode-cars { padding-block: 1.5rem; }
}

/* The locally supplied ShortCoded Cairo font is the public theme typography source. */
:root { --primary-font: Cairo, sans-serif !important; --heading-font: Cairo, sans-serif !important; }

/* Egyptian public storefront: one header, native catalogue, and a legible date task. */
body:has(.header .main-header) {
  --car-ink: #102a3f; --car-accent: #087f83; --car-hover: #06696d;
  --car-paper: #f5f7f8; --car-surface: #fff; --car-border: #dce5e8;
  --car-muted: #526777; --car-image: #edf2f4;
  --bs-brand-2: var(--car-accent); --bs-brand-2-darken: var(--car-hover);
  --primary-button-text-color: #fff;
  color: var(--car-ink); background: var(--car-paper);
}
.header { background: var(--car-surface, #fff); border-block-end: 1px solid var(--car-border, #dce5e8); }
.header > .container-fluid { max-inline-size: 1440px; padding-inline: clamp(16px, 3vw, 44px); }
.header .main-header { padding-block: 16px; }
.header .main-header .header-left { display: flex; align-items: center; gap: 24px; min-inline-size: 0; }
.header .main-header .header-left .header-logo { flex: 0 0 142px; min-width: 0; max-inline-size: 142px; }
.header .header-logo img { width: 142px; height: 44px; max-height: 44px !important; object-fit: contain; }
.header .main-header .header-nav { flex: 1; min-width: 0; }
.header .nav-main-menu { display: flex; justify-content: center; }
.header .main-menu > li > a { display: inline-flex; align-items: center; min-block-size: 44px; padding-block: 10px; color: var(--car-ink); }
.header .main-menu > li > a:hover { color: var(--car-accent); }
.header .main-header .header-left .header-right { display: flex; align-items: center; flex: 0 0 auto; width: auto; min-width: 0; gap: 10px; padding: 0; margin-inline-start: auto; }
.header .header-account-actions { display: inline-flex; }
.header .header-login-btn { margin: 0 !important; padding-inline: 10px; font-size: 14px; }
.shortcoded-public-languages { display: flex; flex: 0 0 auto; }
.shortcoded-public-languages a { display: inline-flex; gap: 7px; align-items: center; justify-content: center; min-block-size: 44px; padding: 8px 12px; border: 1px solid var(--car-border); border-radius: 8px; color: var(--car-ink); font-size: 14px; line-height: 1.3; text-decoration: none; white-space: nowrap; }
.shortcoded-public-languages a:hover { background: var(--car-paper); border-color: var(--car-accent); }
.shortcoded-theme-mode { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 44px; border: 0; border-radius: 8px; color: var(--car-muted); background: transparent; }
.header .header-right :is(.burger-icon,.burger-icon-2) { position: static; inset: auto; display: flex; align-items: center; justify-content: center; flex: 0 0 44px; width: 44px; height: 44px; padding: 11px; border: 1px solid var(--car-border); border-radius: 8px; background: var(--car-surface); color: var(--car-ink); }
.header .header-right .burger-icon { display: none; position: relative; }
.header .burger-icon > span { width: 20px; inset-inline-start: 10px; background: var(--car-ink) !important; }
.header .burger-icon .burger-icon-top { top: 12px; }.header .burger-icon .burger-icon-mid { top: 19px; }.header .burger-icon .burger-icon-bottom { top: 26px; }
body:has(.header .main-header) :is(a,button,input,select):focus-visible { outline: 2px solid var(--car-accent) !important; outline-offset: 3px; }
body:has(.header .main-header) :is(.btn-brand-2,.btn-book,.card-button .btn) { background: var(--car-accent); border-color: var(--car-accent); color: #fff !important; }
body:has(.header .main-header) :is(.btn-brand-2,.btn-book,.card-button .btn):hover { background: var(--car-hover); border-color: var(--car-hover); }
/* The nonmodal native drawer starts below the shared header; language stays reachable. */
body.mobile-menu-active .header { z-index: 10004; position: sticky; top: 0; }
body.mobile-menu-active .body-overlay-1 { top: var(--car-header-height, 68px); z-index: 10002; }
.mobile-header-wrapper-style { top: var(--car-header-height, 68px); height: calc(100dvh - var(--car-header-height, 68px)); min-height: 0; max-height: calc(100dvh - var(--car-header-height, 68px)); z-index: 10003; max-width: 100%; background: var(--car-surface, #fff); }
.mobile-header-wrapper-style .mobile-header-logo { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-block-end: 1px solid var(--car-border); }
.mobile-header-logo .shortcoded-menu-title { color: var(--car-ink); font-size: 16px; font-weight: 700; }
.mobile-header-wrapper-style .mobile-header-wrapper-inner .mobile-header-logo .burger-icon { position: static; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 8px; border: 1px solid var(--car-border); border-radius: 8px; color: var(--car-ink); background: var(--car-surface); background-image: none; }
body#page-home .page-header:has(.breadcrumb__area) { display: none; }
body#page-home .page-default-content { padding: 0; }
body#page-home .shortcode-hero-banner { min-height: 360px; padding-block: 58px 92px; background: #102a3f; color: #fff; }
body#page-home .shortcode-hero-banner .container { max-inline-size: 1240px; }
body#page-home .shortcode-hero-banner .shortcode-title { max-inline-size: 16ch; margin-block: 12px 16px; color: #fff; font-size: clamp(36px, 4vw, 54px); line-height: 1.35; text-wrap: balance; }
body#page-home .shortcode-hero-banner .text-primary { color: #8be1db !important; font-size: 14px; font-weight: 700; letter-spacing: 0; }
body#page-home .shortcoded-hero-description { max-inline-size: 47ch; margin: 0; color: #dce8ec; font-size: 16px; line-height: 1.8; text-wrap: pretty; }
body#page-home .shortcode-hero-banner .bg-shape::before { inline-size: 60%; inset-inline-start: auto; inset-inline-end: 0; background-position: center 61%; }
body#page-home .shortcode-hero-banner .bg-shape::after { opacity: 1; background: linear-gradient(90deg, #102a3f 0%, #102a3f 35%, #102a3f82 62%, #102a3f0a 100%); }
body#page-home:dir(rtl) .shortcode-hero-banner .bg-shape::after { background: linear-gradient(270deg, #102a3f 0%, #102a3f 35%, #102a3f82 62%, #102a3f0a 100%); }
body#page-home .shortcode-hero-banner .list-ticks-green:empty { display: none; }
body#page-home .shortcode-car-advance-search { position: relative; z-index: 3; margin-block-start: -46px; }
body#page-home .shortcode-car-advance-search .box-search-advance { position: relative; top: 0; margin: 0; padding: 24px; border: 1px solid var(--car-border); border-radius: 16px; background: var(--car-surface); box-shadow: 0 14px 35px #102a3f0b; }
body#page-home .shortcode-car-advance-search .box-top-search { padding: 0 0 18px; margin: 0; border: 0; }
body#page-home .shortcode-car-advance-search .box-top-search h6 { font-size: 20px; line-height: 1.4; color: var(--car-ink); }
body#page-home .shortcode-car-advance-search .box-bottom-search { display: grid; grid-template-columns: minmax(150px, 1fr) minmax(135px, .8fr) minmax(285px, 1.45fr) auto; gap: 16px; margin: 0; padding: 0; background: transparent; border: 0; }
body#page-home .shortcode-car-advance-search .box-bottom-search.shortcoded-search-keyword { grid-template-columns: 2fr 1fr auto; }
/* Native autocomplete caps flex items at 45% on tablets; these items belong to a grid. */
body#page-home .shortcode-car-advance-search .item-search { display: flex; flex-direction: column; width: 100%; max-width: none !important; min-width: 0; margin: 0; padding: 0; border: 0; }
body#page-home .shortcode-car-advance-search .item-search::before { display: none; }
body#page-home .shortcode-car-advance-search .item-search label { margin-block-end: 6px; color: var(--car-muted); font-size: 12px; line-height: 1.5; font-weight: 600; }
body#page-home .shortcode-car-advance-search .item-search > .position-relative { width: 100%; }
body#page-home .shortcode-car-advance-search .search-input { width: 100%; min-width: 0; min-height: 52px; padding-block: 12px; padding-inline: 12px; border: 1px solid var(--car-border) !important; border-radius: 9px; background-color: var(--car-surface) !important; color: var(--car-ink); font-size: 14px; line-height: 1.5; box-sizing: border-box; }
body#page-home .shortcode-car-advance-search .location-autocomplete { padding-inline-start: 34px !important; }
body#page-home .shortcode-car-advance-search [data-bb-toggle="search-suggestion"] .position-absolute { inset-inline-start: 10px !important; }
body#page-home .shortcode-car-advance-search .item-search:last-child { align-self: end; }
body#page-home .shortcode-car-advance-search .item-search:last-child .btn { min-height: 52px; padding: 12px 22px; border-radius: 9px; font-size: 14px; }
.shortcoded-date-range { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)) 20px; align-items: center; gap: 10px; text-align: start; cursor: pointer; background-image: none !important; }
.shortcoded-date-range > span { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; min-width: 0; }
.shortcoded-date-range small { color: var(--car-muted); font-size: 11px; line-height: 1.25; }
.shortcoded-date-range bdi { max-inline-size: 100%; font-size: 14px; line-height: 1.4; white-space: normal; }
.shortcoded-date-range > svg { inline-size: 20px; block-size: 20px; }
body#page-home .shortcode-car-advance-search .shortcoded-date-range { min-height: 52px; padding: 7px 10px; }
body#page-home .shortcode-cars { padding-block: 48px 56px; background: transparent !important; }
body#page-home .shortcode-cars .shortcode-title { color: var(--car-ink); font-size: clamp(26px, 3vw, 34px); line-height: 1.4; text-wrap: balance; }
body#page-home .shortcode-cars .shortcode-subtitle { max-inline-size: 64ch; margin-block-start: 10px; color: var(--car-muted); font-size: 15px; line-height: 1.8; }
body#page-home .shortcode-cars.car-style-feature > .container > .row.pt-30 { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 22px; padding-block-start: 24px !important; }
body#page-home .shortcode-cars.car-style-feature > .container > .row.pt-30 > div { width: 100%; max-width: none; padding: 0; margin: 0; }
body#page-home .shortcode-cars .card-journey-small { display: flex; flex-direction: column; height: 100%; margin: 0; overflow: hidden; border: 1px solid var(--car-border); border-radius: 13px; background: var(--car-surface); box-shadow: none; }
body#page-home .shortcode-cars .card-image { height: auto; aspect-ratio: 8/5; background: var(--car-image); }
body#page-home .shortcode-cars .card-image > a { display: block; height: 100%; }
body#page-home .shortcode-cars .card-image img { display: block; width: 100%; height: 100%; object-fit: cover; }
body#page-home .shortcode-cars .card-info { flex: 1; padding: 20px !important; min-width: 0; }
body#page-home .shortcode-cars :is(.card-facilities,.endtime) { flex-wrap: wrap; gap: 10px; }
body#page-home .shortcode-cars :is(.card-title a,.car-price-text) { color: var(--car-ink) !important; overflow-wrap: anywhere; }
body#page-home .shortcode-cars .car-price-text { font-size: 20px; }
body#page-home .shortcode-cars .btn { min-height: 44px; padding: 10px 16px; border-radius: 8px; }
body#page-home .shortcoded-demonstration-note { padding-block: 0 24px; color: var(--car-muted); font-size: 13px; }
/* A compact native-link footer only fills installations with no footer widgets. */
/* Keep the actual vehicle in the catalogue frame, including portrait uploads. */
.cars-listing .car-image.card-image img { height: 100%; object-fit: cover; }
.cars-listing .box-view-type :is(.display-type,.btn-mobile-filter) { display: inline-flex; align-items: center; justify-content: center; min-block-size: 44px; min-inline-size: 44px; }
.cars-listing .btn-mobile-filter { padding: 0 4px; border: 0; border-radius: 6px; background: transparent; color: inherit; font: inherit; gap: 5px; }
.filter-section .custom-filter-check .form-check-input:focus-visible + label { outline: 2px solid var(--car-accent, #087f83); outline-offset: 2px; }
body:has(.car-detail-page) .datepicker.datepicker-dropdown { max-block-size: calc(100dvh - 16px); overflow-y: auto; overscroll-behavior: contain; }
body:has(.car-detail-page) .datepicker-dropdown.shortcoded-calendar-constrained table { width: 100%; table-layout: fixed; }
body:has(.car-detail-page) .datepicker-dropdown.shortcoded-calendar-constrained :is(td,th) { padding-inline: 4px; }
.shortcoded-footer { padding-block: 30px; border-block-start: 1px solid var(--car-border); background: var(--car-surface); }
.shortcoded-footer-content { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.shortcoded-footer-brand { display: grid; grid-template-columns: auto 1fr; column-gap: 20px; align-items: center; }
.shortcoded-footer-brand .header-logo { grid-row: 1/3; }.shortcoded-footer-brand .header-logo img { width: 120px; height: 44px; max-height: 44px !important; object-fit: contain; }
.shortcoded-footer-brand strong { color: var(--car-ink); font-size: 15px; }.shortcoded-footer-brand p { margin: 4px 0 0; color: var(--car-muted); font-size: 13px; }
.shortcoded-footer-links { display: flex; flex-wrap: wrap; gap: 10px 24px; }.shortcoded-footer-links a { padding-block: 10px; color: var(--car-ink); font-size: 14px; }
@media (max-width: 767px) { .shortcoded-footer-content { align-items: flex-start; flex-direction: column; }.shortcoded-footer-brand { column-gap: 14px; }.shortcoded-footer-brand .header-logo img { width: 96px; } }
@media (max-width: 1199.98px) {
  .header .main-header { padding-block: 12px; }.header .main-header .header-left { gap: 12px; }
  .header .main-header .header-nav,.header .header-account-actions { display: none; }
  .header .header-right .burger-icon { display: block; }
  body#page-home .shortcode-car-advance-search .box-bottom-search { grid-template-columns: 1fr 1fr; }
  body#page-home .shortcode-car-advance-search .item-search:last-child .btn { width: 100%; }
}
@media (max-width: 767px) {
  .header .main-header .header-left .header-logo { flex-basis: 118px; max-inline-size: 118px; }.header .header-logo img { width: 118px; height: 38px; }
  .header .main-header .header-left .header-right { gap: 8px; }.header .shortcoded-theme-mode { display: none; }
  .shortcoded-public-languages a { padding-inline: 9px; font-size: 13px; }
  body#page-home .shortcode-hero-banner { min-height: 230px; padding-block: 30px 56px; }
  body#page-home .shortcode-hero-banner .shortcode-title { max-inline-size: 15ch; font-size: clamp(29px,7.5vw,38px); margin-block: 10px 12px; }
  body#page-home .shortcode-hero-banner .text-primary { font-size: 12px; }
  body#page-home .shortcoded-hero-description { max-inline-size: 34ch; font-size: 14px; line-height: 1.75; }
  body#page-home .shortcode-hero-banner .bg-shape::before { inline-size: 100%; background-position: center 60%; }
  body#page-home .shortcode-hero-banner .bg-shape::after,body#page-home:dir(rtl) .shortcode-hero-banner .bg-shape::after { background: #102a3fdb; }
  body#page-home .shortcode-car-advance-search { margin-block-start: -24px; }
  body#page-home .shortcode-car-advance-search .box-search-advance { padding: 18px; border-radius: 13px; }
  body#page-home .shortcode-car-advance-search .box-top-search { padding-block-end: 14px; }
  body#page-home .shortcode-car-advance-search .box-top-search h6 { font-size: 18px; }
  body#page-home .shortcode-car-advance-search .box-bottom-search { gap: 12px; }
  body#page-home .shortcode-car-advance-search .shortcoded-search-dates,body#page-home .shortcode-car-advance-search .item-search:last-child { grid-column: 1/-1; }
  body#page-home .shortcode-car-advance-search .shortcoded-search-keyword .item-search { grid-column: 1/-1; }
  body#page-home .shortcode-cars { padding-block: 32px 40px; }
  body#page-home .shortcode-cars.car-style-feature > .container > .row.pt-30 { grid-template-columns: 1fr; gap: 20px; }
}
@media (max-width: 575px) {
  body#page-home .shortcode-car-advance-search .box-bottom-search { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 375px) {
  .header > .container-fluid { padding-inline: 12px; }
  .header .main-header .header-left { gap: 8px; }
  .header .main-header .header-left .header-logo { flex-basis: 96px; max-inline-size: 96px; }
  .header .header-logo img { width: 96px; height: 34px; }
  .header .main-header .header-left .header-right { gap: 6px; }
  .shortcoded-public-languages a { padding-inline: 8px; }
  .shortcoded-public-languages a > svg { display: none; }
  body#page-home .shortcode-car-advance-search .box-search-advance { padding: 14px; }
  body#page-home .shortcode-car-advance-search .box-bottom-search { gap: 10px; }
}
html[data-bs-theme="dark"] body:has(.header .main-header) { --car-ink: #e2edf2; --car-paper: #101f2a; --car-surface: #172c3b; --car-border: #334a5b; --car-muted: #b7cad6; --car-image: #223a49; }
html[data-bs-theme="dark"] .header-logo:not(:has(img.dark-mode)) > a { background: #fff; border-radius: 6px; padding-inline: 5px; }
html[data-bs-theme="dark"] .header-logo:not(:has(img.dark-mode)) img.light-mode { display: inline-block !important; }

/* Catalogue density follows the space left by its filters, not the viewport alone. */
.box-content-main:has(.cars-listing) > .content-right { min-inline-size: 0; }
.cars-listing { container: car-catalogue / inline-size; }
.cars-listing .box-filters > .row { margin-inline: 0; gap: .75rem 1rem; }
.cars-listing .box-filters > .row > div { min-inline-size: 0; padding-inline: 0; width: auto; }
.cars-listing .box-filters > .row > div:first-child { flex: 1 1 18rem; }
.cars-listing .box-filters > .row > div:last-child { flex: 1 1 27rem; }
.cars-listing :is(.box-view-type,.box-item-sort) { flex-wrap: wrap; gap: .5rem; }
.cars-listing .box-view-type .display-type { flex-shrink: 0; margin-inline: 0; }
.cars-listing .number-found { flex: 1 1 9rem; min-inline-size: 0; margin-inline: 0; white-space: normal; }
.cars-listing .item-sort { min-inline-size: 0; max-inline-size: 100%; flex-wrap: wrap; gap: .4rem; margin: 0; }
.cars-listing .item-sort > span { flex: 0 0 auto; margin: 0; }
.cars-listing .item-sort .dropdown { min-inline-size: 0; max-inline-size: 100%; }
.cars-listing .item-sort .dropdown-toggle { min-block-size: 40px; max-inline-size: 100%; padding-inline: .5rem 1.5rem; white-space: normal; text-align: start; }
.box-content-main .cars-listing #dropdownSort { padding-inline-end: 1.75rem; }
.cars-listing .dropdown-sort :is(#dropdownSort,#dropdownSort2) { background-position: right .5rem center; background-size: 12px 12px; background-repeat: no-repeat; padding-inline-end: 1.75rem; }
.cars-listing .dropdown-sort :is(#dropdownSort,#dropdownSort2):dir(rtl) { background-position: left .5rem center; }
.cars-listing .dropdown-menu { max-inline-size: min(22rem,calc(100vw - 2rem)); }
.cars-listing .dropdown-item { white-space: normal; overflow-wrap: anywhere; }
@container car-catalogue (max-width: 58rem) {
  .car-items > .row > :is(.col-lg-3,.col-lg-4) { width: 50%; }
}
@container car-catalogue (max-width: 38rem) {
  .car-items > .row > :is(.col-lg-3,.col-lg-4,.col-lg-6,.col-md-6) { width: 100%; }
}

/* Keep complete names, location, mileage and prices readable within each native card. */
body#page-home .shortcode-cars.car-style-feature > .container > .row.pt-30 { margin-inline: 0; grid-template-columns: repeat(auto-fit,minmax(min(100%,18rem),1fr)); }
:is(.cars-listing,body#page-home .shortcode-cars) .card-journey-small { display: flex; flex-direction: column; height: calc(100% - 24px); }
:is(.cars-listing,body#page-home .shortcode-cars) .card-info { min-inline-size: 0; container-type: inline-size; }
:is(.cars-listing,body#page-home .shortcode-cars) .card-journey-small .card-info { flex: 1; display: flex; flex-direction: column; margin-block-start: 0; }
:is(.cars-listing,body#page-home .shortcode-cars) .card-program { display: flex; flex: 1; flex-direction: column; min-inline-size: 0; }
:is(.cars-listing,body#page-home .shortcode-cars) .card-title a { display: block; -webkit-line-clamp: unset; max-block-size: none; overflow: visible; white-space: normal; overflow-wrap: anywhere; }
:is(.cars-listing,body#page-home .shortcode-cars) .text-location { display: flex; align-items: start; gap: .35rem; max-inline-size: 100%; padding: 0; background-image: none; overflow: visible; white-space: normal; overflow-wrap: anywhere; }
:is(.cars-listing,body#page-home .shortcode-cars) .text-location svg { flex-shrink: 0; margin-block-start: .2rem; }
:is(.cars-listing,body#page-home .shortcode-cars) .card-facilities { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,7rem),1fr)); gap: .6rem .8rem; align-items: start; }
:is(.cars-listing,body#page-home .shortcode-cars) .card-facilities > p { display: flex; align-items: start; gap: .35rem; inline-size: auto; min-inline-size: 0; margin: 0; padding: 0; overflow-wrap: anywhere; }
:is(.cars-listing,body#page-home .shortcode-cars) .card-facilities > p svg { flex-shrink: 0; margin-block-start: .2rem; }
:is(.cars-listing,body#page-home .shortcode-cars) .card-facilities > .card-miles { white-space: nowrap; }
:is(.cars-listing,body#page-home .shortcode-cars) .endtime { flex-wrap: wrap; gap: .75rem; margin-block-start: auto; }
:is(.cars-listing,body#page-home .shortcode-cars) .card-price { min-inline-size: 0; max-inline-size: 100%; }
:is(.cars-listing,body#page-home .shortcode-cars) .car-price-text { display: inline-flex; align-items: baseline; gap: .25rem; font-size: clamp(.9375rem,5cqi,1.25rem); line-height: 1.6; unicode-bidi: isolate; white-space: nowrap; }
body#page-home .shortcode-cars .card-journey-small { height: 100%; }

/* Native list mode remains compact when its content rail can accommodate an image beside text. */
.cars-listing .card-flight.card-hotel.card-property { display: grid; grid-template-columns: minmax(0,1fr); align-items: stretch; }
.cars-listing .card-flight.card-hotel.card-property > .card-image { position: relative; inline-size: 100%; max-inline-size: none; block-size: auto; aspect-ratio: 8/5; }
.cars-listing .card-flight.card-hotel.card-property > .card-image > a { display: block; inline-size: 100%; block-size: 100%; }
.cars-listing .card-flight.card-hotel.card-property > .card-image img { position: absolute; inset: 0; inline-size: 100%; block-size: 100%; object-fit: cover; }
.cars-listing .card-flight.card-hotel.card-property > .card-info { inline-size: 100%; padding: 1.25rem !important; }
.cars-listing .card-flight.card-hotel .card-info .card-program .card-facilities .item-facilities { inline-size: auto; min-inline-size: 0; }
.cars-listing .card-flight.card-hotel .card-info .card-program .card-facilities .item-facilities p { margin: 0; padding: 0; padding-inline-start: 1.6rem; background-position: left center; overflow-wrap: anywhere; }
.cars-listing .card-flight.card-hotel .card-info .card-program .card-facilities .item-facilities p:dir(rtl) { background-position: right center; }
.cars-listing .card-flight .card-facilities .item-facilities .room { white-space: nowrap; }
@container car-catalogue (min-width: 38rem) {
  .cars-listing .card-flight.card-hotel.card-property { grid-template-columns: minmax(10rem,.38fr) minmax(0,1fr); }
  .cars-listing .card-flight.card-hotel.card-property > .card-image { aspect-ratio: auto; min-block-size: 14rem; }
}

/* Preserve the actual photographs and Slick/lightbox hooks in a bounded main frame and thumbnail strip. */
.car-detail-galleries .banner-slide-activity .wrapper-image { height: clamp(13.75rem,38vw,26.25rem) !important; padding-block-start: 0; background: var(--car-image,#edf2f4); border-radius: 12px; }
.car-detail-galleries .banner-slide-activity .wrapper-image img { object-fit: contain; }
.car-detail-galleries .banner-activities-detail:not(.slick-initialized) > .banner-slide-activity:not(:first-child) { display: none; }
.car-detail-galleries .slider-thumnail-activities { margin: .5rem -.35rem 0; padding-block-end: .5rem; }
.car-detail-galleries .slider-nav-thumbnails-activities-detail .banner-slide { padding: .35rem; }
.car-detail-galleries .slider-nav-thumbnails-activities-detail .banner-slide img { block-size: 5rem; inline-size: 100%; object-fit: contain; background: var(--car-image,#edf2f4); }
.car-detail-galleries .slider-nav-thumbnails-activities-detail:not(.slick-initialized) { display: flex; gap: .5rem; overflow-x: auto; }
.car-detail-galleries .slider-nav-thumbnails-activities-detail:not(.slick-initialized) > .banner-slide { flex: 0 0 7rem; }
.car-detail-page .list-feature-car { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,10rem),1fr)); gap: .75rem; margin: 0; }
.car-detail-page .list-feature-car .item-feature-car { inline-size: auto !important; min-inline-size: 0; margin: 0; padding: 0; }
.car-detail-page .item-feature-car-inner { block-size: 100%; min-inline-size: 0; }
.car-detail-page .item-feature-car-inner .feature-image { flex-shrink: 0; }
.car-detail-page .feature-info { min-inline-size: 0; }
.car-detail-page :is(.feature-info p,.tour-title-main h4,.tour-location,.detail-item .small,.owner-details,.contact-details) { overflow-wrap: anywhere; }
.car-detail-page .tour-metas,.car-detail-page .tour-meta-left,.car-detail-page .head-sale-info { flex-wrap: wrap; gap: .5rem 1rem; }
.car-detail-page .sale-info { container-type: inline-size; }
.car-detail-page .sale-price { font-size: clamp(1rem,5cqi,1.5rem); direction: ltr; unicode-bidi: isolate; white-space: nowrap; }
.car-detail-page .owner-profile-header > .d-flex { flex-wrap: wrap; gap: 1rem; }
.car-detail-page :is(.owner-details,.contact-details) { min-inline-size: 0; }


/* Center only page-size values, reserving equal space for the caret in either direction. */
.dataTables_wrapper .dataTables_length select, .dt-container .dt-length select {
  min-inline-size: 4.5rem; padding-inline: 1.25rem; text-align: center; text-align-last: center;
  -webkit-appearance: none; appearance: none; 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");
  background-repeat: no-repeat; background-position: right .375rem center; background-size: .75rem .75rem;
}
:is(.dataTables_wrapper .dataTables_length select, .dt-container .dt-length select):dir(rtl) { background-position: left .375rem center; }

.cars-listing #dropdownSort2 { padding-inline: 1.75rem; text-align: center; }

[data-bs-theme="dark"] :is(.dataTables_wrapper .dataTables_length select, .dt-container .dt-length select) { 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='%23e5f0f5' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3E%3C/svg%3E"); }

@media (forced-colors: active) {
  .dataTables_wrapper .dataTables_length select, .dt-container .dt-length select { -webkit-appearance: auto; appearance: auto; background-image: none; }
}
