/* SetlyCars — simple, readable theme layer over Setly Car Manager. */

:root {
	--sc-green: #183b2c;
	--sc-green-dark: #10271d;
	--sc-green-soft: #edf2ee;
	--sc-ink: #15211b;
	--sc-text: #2e3933;
	--sc-muted: #5b6660;
	--sc-line: #e1e5e2;
	--sc-bg: #ffffff;
	--sc-soft: #f5f7f5;
	--sc-gold: #c7a665;
	--sc-radius: 10px;
	--sc-font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Noto Sans Arabic", Tahoma, sans-serif;
	--sc-header-h: 68px;
}

/* Setly Car Manager ships a dark gold palette; remap its variables to the light theme. */
body {
	--sg: var(--sc-green);
	--sg-light: var(--sc-green);
	--sg-dark: var(--sc-green-dark);
	--sg-pale: var(--sc-green-soft);
	--bg-dark: var(--sc-bg);
	--bg-card: var(--sc-bg);
	--bg-card2: var(--sc-soft);
	--border: var(--sc-line);
	--text: var(--sc-ink);
	--text-muted: var(--sc-muted);
	--radius: var(--sc-radius);
	--gold-grad: var(--sc-green);
	--gold-grad-btn: var(--sc-green);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	background: var(--sc-bg);
	color: var(--sc-text);
	font-family: var(--sc-font);
	font-size: 16px;
	line-height: 1.6;
	overflow-x: hidden;
}
img { max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
h1, h2, h3 { color: var(--sc-ink); line-height: 1.2; font-weight: 700; letter-spacing: 0; font-family: var(--sc-font); font-style: normal; }
h1 { font-size: clamp(2rem, 4.5vw, 3rem); margin: 0 0 12px; }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin: 0 0 8px; }
h3 { font-size: 1.1rem; margin: 0 0 6px; }
p { margin: 0 0 12px; }
:focus-visible { outline: 3px solid var(--sc-gold); outline-offset: 2px; }
body.admin-bar .sc-header { top: 32px; }
body.sc-lock-scroll { overflow: hidden; }

.sc-container { width: min(1200px, 100% - 32px); margin-inline: auto; }
.sc-skip-link { position: fixed; z-index: 10000; top: 8px; inset-inline-start: 8px; padding: 10px 16px; background: #fff; color: #111; transform: translateY(-200%); }
.sc-skip-link:focus { transform: none; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* Buttons and links */
.sc-button {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 46px; padding: 0 20px;
	border: 0; border-radius: 8px;
	background: var(--sc-green); color: #fff;
	font-weight: 600; font-size: 1rem; text-decoration: none; text-align: center;
	cursor: pointer; transition: background-color .15s;
}
.sc-button:hover { background: var(--sc-green-dark); color: #fff; }
.sc-button-light { background: #fff; color: var(--sc-green); }
.sc-button-light:hover { background: var(--sc-green-soft); color: var(--sc-green-dark); }
.sc-link { color: var(--sc-green); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }

/* Header */
.sc-header { position: sticky; top: 0; z-index: 1000; background: var(--sc-green-dark); color: #fff; }
.sc-header-inner { display: flex; align-items: center; gap: 24px; min-height: var(--sc-header-h); }
.sc-brand { display: inline-flex; align-items: center; flex: 0 0 auto; color: #fff; text-decoration: none; }
.sc-brand .custom-logo { display: block; width: auto; height: 44px; }
.sc-brand-name { font-weight: 700; font-size: 1.25rem; }
.sc-nav { display: flex; align-items: center; gap: 4px; margin-inline-start: auto; }
.sc-nav a:not(.sc-button) { padding: 8px 12px; border-radius: 6px; color: #fff; font-size: .95rem; font-weight: 500; text-decoration: none; }
.sc-nav a:not(.sc-button):hover { background: rgba(255, 255, 255, .1); }
.sc-nav-cta { min-height: 40px; margin-inline-start: 8px; background: #fff; color: var(--sc-green); }
.sc-nav-cta:hover { background: var(--sc-green-soft); color: var(--sc-green-dark); }
.sc-header-tools { display: flex; align-items: center; gap: 8px; }

.sc-dropdown { position: relative; }
.sc-chip {
	display: inline-flex; align-items: center; gap: 6px;
	min-height: 40px; padding: 0 12px;
	border: 1px solid rgba(255, 255, 255, .35); border-radius: 8px;
	background: transparent; color: #fff;
	font-size: .9rem; font-weight: 600; line-height: 1; cursor: pointer;
}
.sc-chip:hover, .sc-chip[aria-expanded="true"] { background: rgba(255, 255, 255, .12); }
.sc-flag { font-size: 1.1rem; line-height: 1; }
.sc-chevron { width: 7px; height: 7px; border-inline-end: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); }
.sc-menu {
	position: absolute; top: calc(100% + 6px); inset-inline-end: 0; z-index: 20;
	min-width: 190px; max-height: min(70vh, 420px); overflow-y: auto;
	padding: 6px; border: 1px solid var(--sc-line); border-radius: var(--sc-radius);
	background: #fff; box-shadow: 0 12px 32px rgba(16, 39, 29, .18);
}
.sc-menu[hidden] { display: none; }
.sc-menu-item {
	display: flex; align-items: center; gap: 10px; width: 100%;
	min-height: 42px; padding: 8px 10px;
	border: 0; border-radius: 6px; background: transparent;
	color: var(--sc-ink); font-size: .95rem; text-align: start; text-decoration: none; cursor: pointer;
}
.sc-menu-item:hover, .sc-menu-item:focus-visible { background: var(--sc-soft); }
.sc-menu-item[aria-current] { background: var(--sc-green-soft); font-weight: 700; }
.sc-currency-code { min-width: 3.2em; font-weight: 700; }
.sc-currency-name { color: var(--sc-muted); }

.sc-menu-toggle { display: none; width: 42px; height: 40px; padding: 0; border: 1px solid rgba(255, 255, 255, .35); border-radius: 8px; background: transparent; color: #fff; cursor: pointer; }
.sc-menu-bars, .sc-menu-bars::before, .sc-menu-bars::after { display: block; width: 18px; height: 2px; margin: 0 auto; background: currentColor; content: ""; }
.sc-menu-bars { position: relative; }
.sc-menu-bars::before { position: absolute; top: -6px; }
.sc-menu-bars::after { position: absolute; top: 6px; }

/* Hero and search */
.sc-hero {
	position: relative;
	isolation: isolate;
	padding: 72px 0 56px;
	background: #0a1812;
	color: #fff;
}
.sc-hero > .sc-hero-media {
	position: absolute; inset: 0; z-index: -2;
	width: 100%; height: 100%; max-width: none;
	object-fit: cover; object-position: center;
}
.sc-hero::before {
	content: ""; position: absolute; inset: 0; z-index: -1;
	background: rgba(10, 24, 18, .62);
}
.sc-hero h1 { max-width: 760px; color: #fff; }
.sc-hero-copy { max-width: 620px; margin-bottom: 28px; font-size: 1.125rem; color: rgba(255, 255, 255, .92); }
.sc-search {
	display: grid; grid-template-columns: 1.3fr 1fr 1fr auto; gap: 12px; align-items: end;
	padding: 16px; border-radius: 12px; background: #fff; color: var(--sc-ink);
	box-shadow: 0 16px 40px rgba(0, 0, 0, .2);
}
.sc-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.sc-field-label { font-size: .85rem; font-weight: 600; color: var(--sc-muted); }
.sc-field select, .sc-field input {
	width: 100%; min-height: 48px; padding: 0 12px;
	border: 1px solid #cfd6d1; border-radius: 8px; background: #fff; color: var(--sc-ink);
}
/* Keep native iPhone date controls within the search card. */
.sc-field select, .sc-field input { min-width: 0; max-width: 100%; box-sizing: border-box; }
form.sc-search .sc-field { width: 100%; min-width: 0; max-width: 100%; }
form.sc-search .sc-field input[type="datetime-local"] {
  display: block; flex: 0 1 auto;
  width: 100% !important; min-width: 0 !important; max-width: 100% !important;
  inline-size: 100% !important; min-inline-size: 0 !important; max-inline-size: 100% !important;
  box-sizing: border-box !important; margin: 0; padding: 0 12px;
  -webkit-appearance: none; appearance: none; font-size: 16px;
}
.sc-field input[type="datetime-local"]::-webkit-date-and-time-value { min-width: 0; text-align: start; }
.sc-field input[type="datetime-local"]::-webkit-datetime-edit { min-width: 0; padding: 0; }
.sc-minimum-rental-notice { grid-column: 1 / -1; min-width: 0; max-width: 100%; overflow-wrap: anywhere; }
.sc-search-submit { min-height: 48px; }
.sc-search.has-dropoff { grid-template-columns: 1.2fr 1.2fr 1fr 1fr auto; }
.sc-dropoff-field[hidden] { display: none; }
.sc-check { display: inline-flex; align-items: center; gap: 8px; grid-column: 1 / -1; width: fit-content; color: var(--sc-text); font-size: .95rem; cursor: pointer; }
.sc-check input { width: 18px; height: 18px; margin: 0; accent-color: var(--sc-green); }
.sc-chip .sc-chip-icon { width: 17px; height: 17px; color: currentColor; vertical-align: 0; }
.sc-hero-points { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 20px 0 0; padding: 0; list-style: none; font-size: .95rem; color: rgba(255, 255, 255, .92); }
.sc-hero-points li { display: inline-flex; align-items: center; gap: 8px; }
.sc-hero-points li::before { flex: 0 0 auto; width: 6px; height: 10px; border-right: 2px solid var(--sc-gold); border-bottom: 2px solid var(--sc-gold); transform: rotate(45deg) translateY(-2px); content: ""; }

/* Sections */
.sc-section { padding: 64px 0; }
.sc-section-muted { background: var(--sc-soft); }
.sc-section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px 24px; flex-wrap: wrap; margin-bottom: 24px; }
.sc-section-head p { margin: 0; color: var(--sc-muted); }

/* Fleet categories */
.sc-tabs { display: flex; gap: 8px; margin-bottom: 24px; overflow-x: auto; scrollbar-width: thin; padding-bottom: 4px; }
.sc-tab {
	display: inline-flex; align-items: center; gap: 8px; flex: 0 0 auto;
	min-height: 44px; padding: 0 16px;
	border: 1px solid var(--sc-line); border-radius: 999px; background: #fff;
	color: var(--sc-ink); font-weight: 600; font-size: .95rem; cursor: pointer;
}
.sc-tab:hover { border-color: var(--sc-green); }
.sc-tab[aria-selected="true"] { border-color: var(--sc-green); background: var(--sc-green); color: #fff; }
.sc-tab-count { min-width: 24px; padding: 1px 7px; border-radius: 999px; background: var(--sc-soft); color: var(--sc-muted); font-size: .8rem; text-align: center; }
.sc-tab[aria-selected="true"] .sc-tab-count { background: rgba(255, 255, 255, .2); color: #fff; }
.sc-panel-title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
.sc-tab-panel[hidden] { display: none; }
.sc-car-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }

.sc-car { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--sc-line); border-radius: 12px; background: #fff; }
.sc-car-photo { display: block; aspect-ratio: 16 / 10; background: var(--sc-soft); }
.sc-car-photo img { display: block; width: 100%; height: 100%; object-fit: contain; padding: 8px; }
.sc-car-body { display: flex; flex: 1; flex-direction: column; padding: 16px; }
.sc-car-brand { margin: 0 0 2px; color: var(--sc-muted); font-size: .85rem; font-weight: 600; }
.sc-car-name { margin: 0 0 10px; font-size: 1.15rem; }
.sc-car-name a { text-decoration: none; }
.sc-car-name a:hover { color: var(--sc-green); }
.sc-car-specs { display: flex; flex-wrap: wrap; gap: 4px 14px; margin: 0 0 16px; padding: 0; list-style: none; color: var(--sc-muted); font-size: .9rem; }
.sc-car-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; }
.sc-car-price { margin: 0; color: var(--sc-muted); font-size: .85rem; line-height: 1.3; }
.sc-car-price strong { display: block; color: var(--sc-ink); font-size: 1.25rem; font-weight: 700; }
.sc-car-footer .sc-button { min-height: 42px; padding: 0 16px; }

/* Fleet by brand (Simple Icons marks, CC0) */
.sc-brand-tabs { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 10px; margin-bottom: 24px; }
.sc-brand-tab {
	display: flex; flex-direction: column; align-items: center; gap: 8px;
	padding: 16px 8px 12px; border: 1px solid var(--sc-line); border-radius: 12px; background: #fff;
	color: var(--sc-ink); font-weight: 600; font-size: .9rem; cursor: pointer;
}
.sc-brand-tab:hover { border-color: var(--sc-green); }
.sc-brand-tab[aria-selected="true"] { border-color: var(--sc-green); box-shadow: inset 0 0 0 1px var(--sc-green); }
.sc-brand-logo { display: flex; align-items: center; justify-content: center; width: 48px; height: 40px; color: var(--sc-ink); }
.sc-brand-tab[aria-selected="true"] .sc-brand-logo { color: var(--sc-green); }
.sc-brand-mark { display: block; max-width: 100%; max-height: 100%; width: 40px; height: 40px; }
.sc-brand-mark-img { width: auto; object-fit: contain; filter: grayscale(1) contrast(1.4) brightness(.55); }
.sc-brand-mark-text { display: flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--sc-soft); font-size: 1.2rem; }
.sc-brand-name { line-height: 1.2; text-align: center; }
.sc-brand-tab .sc-tab-count { font-weight: 600; }

/* Icons (Tabler Icons, MIT) */
.sc-icon { display: inline-block; flex: 0 0 auto; width: 16px; height: 16px; vertical-align: -3px; color: var(--sc-green); }
.sc-car-specs li { display: inline-flex; align-items: center; gap: 5px; }
.crm-car-specs span, .crm-feat, .crm-feat-item { display: inline-flex !important; align-items: center; gap: 5px; }
.crm-form-section-title { display: flex !important; align-items: center; gap: 8px; }
.crm-form-section-title .sc-icon { width: 18px; height: 18px; }

/* Cities */
.sc-city-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 0; padding: 0; list-style: none; }
.sc-city-card a {
	display: flex; flex-direction: column; height: 100%; overflow: hidden;
	border: 1px solid var(--sc-line); border-radius: 12px; background: #fff;
	color: var(--sc-ink); text-decoration: none; transition: border-color .15s, box-shadow .15s;
}
.sc-city-card a:hover { border-color: var(--sc-green); box-shadow: 0 6px 20px rgba(16, 39, 29, .08); }
.sc-city-photo { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--sc-soft); }
.sc-city-photo img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.sc-city-card a:hover .sc-city-photo img { transform: scale(1.04); }
.sc-city-body { display: flex; flex: 1; flex-direction: column; gap: 4px; padding: 16px 18px 18px; border-top: 2px solid var(--sc-gold); }
.sc-city-name { font-size: 1.15rem; font-weight: 700; line-height: 1.25; }
.sc-city-line { color: var(--sc-muted); font-size: .95rem; }
.sc-city-more { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 10px; color: var(--sc-green); font-weight: 600; font-size: .95rem; }
.sc-city-more .sc-arrow { width: 7px; height: 7px; }
.sc-city-grid-compact { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.sc-city-grid-compact .sc-city-body { padding: 12px 14px 14px; }
.sc-city-grid-compact .sc-city-name { font-size: 1.05rem; }
.sc-city-grid-compact .sc-city-line { font-size: .88rem; }
.sc-arrow { width: 8px; height: 8px; border-top: 2px solid currentColor; border-inline-end: 2px solid currentColor; transform: rotate(45deg); }
[dir="rtl"] .sc-arrow { transform: rotate(-45deg); }

/* Services */
.sc-services { display: grid; grid-template-columns: 5fr 7fr; gap: 48px; align-items: center; }
.sc-services-image { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; }
.sc-service-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin: 24px 0 0; padding: 0; list-style: none; }
.sc-service-list li { padding-top: 16px; border-top: 2px solid var(--sc-green); }
.sc-service-list p { margin: 0; color: var(--sc-muted); }

/* Reviews and contact */
.sc-reviews { min-height: 40px; }
.sc-contact { padding: 48px 0; background: var(--sc-green); color: #fff; }
.sc-contact h2 { color: #fff; }
.sc-contact p { margin: 0; color: rgba(255, 255, 255, .88); }
.sc-contact-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }

/* Footer */
.sc-footer { padding-top: 48px; background: var(--sc-green-dark); color: rgba(255, 255, 255, .85); font-size: .95rem; }
.sc-footer-main { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; padding-bottom: 32px; }
.sc-footer-brand p { margin: 12px 0 0; }
.sc-footer-links, .sc-footer-languages { display: flex; flex-direction: column; gap: 10px; }
.sc-footer a { color: #fff; text-decoration: none; }
.sc-footer a:hover { text-decoration: underline; }
.sc-footer a[aria-current] { font-weight: 700; }
.sc-footer-marks { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px 32px; padding: 20px 0 24px; border-top: 1px solid rgba(255, 255, 255, .15); }
.sc-footer-title { margin: 0 0 10px; color: rgba(255, 255, 255, .7); font-size: .85rem; }
.sc-footer-marks ul { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0; padding: 0; list-style: none; }
.sc-social-link { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 1px solid rgba(255, 255, 255, .3); border-radius: 50%; transition: background-color .15s, border-color .15s; }
.sc-footer .sc-social-link:hover { border-color: var(--sc-gold); background: rgba(255, 255, 255, .08); text-decoration: none; }
.sc-social-icon { display: block; width: 20px; height: 20px; }
.sc-payment-mark { display: inline-flex; align-items: center; justify-content: center; width: 54px; height: 34px; border-radius: 6px; background: #fff; }
.sc-payment-mark svg { display: block; }
.sc-footer-bottom { padding: 20px 0; border-top: 1px solid rgba(255, 255, 255, .15); font-size: .85rem; color: rgba(255, 255, 255, .7); }

/* City landing pages */
.sc-button-ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .7); }
.sc-button-ghost:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.sc-landing-hero { position: relative; display: flex; align-items: flex-end; min-height: clamp(460px, 42vw, 560px); overflow: hidden; background: var(--sc-green-dark); color: #fff; }
.sc-landing-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sc-landing-hero::after { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10, 24, 18, .78) 0%, rgba(10, 24, 18, .5) 50%, rgba(10, 24, 18, .15) 100%), linear-gradient(0deg, rgba(10, 24, 18, .45), transparent 55%); content: ""; }
[dir="rtl"] .sc-landing-hero::after { background: linear-gradient(270deg, rgba(10, 24, 18, .78) 0%, rgba(10, 24, 18, .5) 50%, rgba(10, 24, 18, .15) 100%), linear-gradient(0deg, rgba(10, 24, 18, .45), transparent 55%); }
.sc-landing-hero-inner { position: relative; z-index: 1; padding: 64px 0 56px; }
.sc-landing-hero h1 { max-width: 680px; margin-bottom: 10px; color: #fff; }
.sc-landing-tagline { max-width: 620px; margin-bottom: 8px; color: var(--sc-gold); font-size: clamp(1.15rem, 2vw, 1.4rem); font-weight: 600; }
.sc-landing-lead { max-width: 560px; margin-bottom: 24px; color: rgba(255, 255, 255, .92); font-size: 1.05rem; }
.sc-landing-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.sc-landing-body > * { max-width: 800px; }
.sc-landing-body > p:first-child { color: var(--sc-ink); font-size: 1.1rem; }
.sc-landing-body h2 { margin: 36px 0 10px; font-size: clamp(1.3rem, 2.4vw, 1.6rem); }
.sc-landing-body ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 24px; margin: 16px 0 0; padding: 0; list-style: none; }
.sc-landing-body li { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border: 1px solid var(--sc-line); border-radius: var(--sc-radius); background: #fff; color: var(--sc-ink); font-weight: 500; }
.sc-landing-body li::before { flex: 0 0 auto; width: 6px; height: 11px; margin-inline: 3px 2px; border-right: 2px solid var(--sc-gold); border-bottom: 2px solid var(--sc-gold); transform: rotate(45deg) translateY(-2px); content: ""; }
.sc-landing .sc-search { box-shadow: 0 8px 28px rgba(16, 39, 29, .08); border: 1px solid var(--sc-line); }
.sc-landing-faq > * { max-width: 860px; }
.sc-landing-faq > h2 { margin-bottom: 20px; }
.sc-faq-item { padding: 18px 0; border-top: 1px solid var(--sc-line); }
.sc-faq-item:last-child { border-bottom: 1px solid var(--sc-line); }
.sc-faq-item h3 { margin-bottom: 6px; font-size: 1.05rem; }
.sc-faq-item p { margin: 0; color: var(--sc-muted); }

/* Pages */
.sc-page { padding-bottom: 64px; }
.sc-page-head { padding: 40px 0 24px; }
.sc-page-head p { margin: 0; color: var(--sc-muted); }
.sc-booking-page .sc-plugin-page { padding-top: 24px; }
.sc-content-page { padding-top: 40px; }
.sc-content-body { max-width: 760px; }

/* ── Setly Car Manager output ─────────────────────────────────── */
.sc-plugin-page, .sc-fleet-fallback { color: var(--sc-text); font-family: var(--sc-font); }
.sc-plugin-page h1, .sc-plugin-page h2, .sc-plugin-page h3, .sc-plugin-page h4,
.crm-detail-title, .crm-car-title, .crm-booking-card h3, .crm-filter-head h3 { font-family: var(--sc-font) !important; font-style: normal !important; letter-spacing: 0 !important; color: var(--sc-ink); }
.sc-plugin-page input, .sc-plugin-page select, .sc-plugin-page textarea,
.crm-select-input {
	min-height: 46px; border: 1px solid #cfd6d1 !important; border-radius: 8px !important;
	background: #fff !important; color: var(--sc-ink) !important; font-family: var(--sc-font) !important; box-shadow: none !important;
}
.sc-plugin-page textarea { min-height: 96px; }
.sc-plugin-page input[type="checkbox"], .sc-plugin-page input[type="radio"] { min-height: 0; width: 18px; height: 18px; accent-color: var(--sc-green); }
.sc-plugin-page label { color: var(--sc-text); }
.crm-select-input option, .crm-select-input optgroup { background: #fff; color: var(--sc-ink); }
.crm-suggestions { background: #fff !important; border-color: var(--sc-line) !important; color: var(--sc-ink) !important; }

.crm-btn, .crm-btn-primary, .crm-submit-btn, .crm-apply-promo {
	border-radius: 8px !important; background: var(--sc-green) !important; color: #fff !important;
	border: 0 !important; box-shadow: none !important; text-transform: none !important; letter-spacing: 0 !important;
	font-family: var(--sc-font) !important; font-weight: 600 !important;
}
.crm-btn:hover, .crm-btn-primary:hover, .crm-submit-btn:hover, .crm-apply-promo:hover { background: var(--sc-green-dark) !important; color: #fff !important; transform: none !important; }
.crm-btn-outline { background: #fff !important; color: var(--sc-green) !important; border: 1px solid var(--sc-green) !important; }

/* Fleet list */
.sc-fleet-content { position: relative; }
.crm-fleet-layout { gap: 28px; grid-template-columns: 280px minmax(0, 1fr); }
.crm-fleet-sidebar { top: calc(var(--sc-header-h) + 16px); }
.crm-filter-card, .crm-empty-state { background: #fff !important; border: 1px solid var(--sc-line) !important; box-shadow: none !important; border-radius: 12px !important; }
.crm-filter-eyebrow { display: none !important; }
.crm-filter-head h3 { margin: 0; font-size: 1.1rem; }
.crm-filter-reset { color: var(--sc-green) !important; font-weight: 600; }
.crm-filter-group label, .crm-filter-label { color: var(--sc-muted) !important; font-size: .85rem !important; font-weight: 600 !important; text-transform: none !important; letter-spacing: 0 !important; }
.crm-check { color: var(--sc-text) !important; }
.crm-results-toolbar { color: var(--sc-muted); }
.crm-results-count, .crm-results-copy { color: var(--sc-ink) !important; font-family: var(--sc-font) !important; }
.crm-car-list { gap: 20px; }
.crm-car-card { background: #fff !important; border: 1px solid var(--sc-line) !important; border-radius: 12px !important; box-shadow: none !important; }
.crm-car-card:hover { transform: none !important; box-shadow: 0 6px 20px rgba(16, 39, 29, .08) !important; border-color: #c9d2cc !important; }
.crm-car-photo { background: var(--sc-soft); }
.crm-car-photo::after { display: none !important; }
.crm-car-photo img { object-fit: contain !important; padding: 8px; filter: none !important; }
.crm-car-card:hover .crm-car-photo img { transform: none !important; }
.crm-car-brand, .crm-detail-brand { background: none !important; -webkit-text-fill-color: currentColor !important; color: var(--sc-muted) !important; letter-spacing: 0 !important; text-transform: none !important; font-size: .85rem !important; font-weight: 600 !important; }
.crm-car-title { font-size: 1.15rem !important; }
.crm-car-specs span, .crm-feat { background: var(--sc-soft) !important; border: 0 !important; color: var(--sc-muted) !important; border-radius: 6px !important; font-weight: 500 !important; }
.crm-price, .crm-car-price, .crm-total-price, .crm-detail-price { background: none !important; -webkit-text-fill-color: currentColor !important; color: var(--sc-ink) !important; font-family: var(--sc-font) !important; font-style: normal !important; font-weight: 700 !important; }
.crm-per-day, .crm-detail-per-day { color: var(--sc-muted) !important; }
.crm-car-footer { flex-direction: column; align-items: stretch !important; gap: 12px !important; margin-top: auto; border-top: 1px solid var(--sc-line); }
.crm-car-footer .crm-btn-primary { width: 100% !important; min-width: 0 !important; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }
.crm-price-wrap { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 6px; }
.crm-total-price--hero { font-size: 1.25rem !important; }

/* Car detail and booking form */
.crm-back-link { border: 1px solid var(--sc-line) !important; background: #fff !important; color: var(--sc-ink) !important; border-radius: 8px !important; }
.crm-detail-photo { background: var(--sc-soft) !important; border: 0 !important; border-radius: 12px !important; box-shadow: none !important; }
.crm-detail-title { font-size: clamp(1.75rem, 3vw, 2.25rem) !important; font-weight: 700 !important; }
.crm-detail-section-title, .crm-form-section-title { font-family: var(--sc-font) !important; font-style: normal !important; text-transform: none !important; letter-spacing: 0 !important; color: var(--sc-ink) !important; font-size: 1rem !important; font-weight: 700 !important; }
.crm-detail-specs-grid .crm-spec-item, .crm-detail-features, .crm-detail-desc { background: #fff !important; border: 1px solid var(--sc-line) !important; box-shadow: none !important; border-radius: 10px !important; }
.crm-spec-icon { display: inline-flex !important; align-items: center; justify-content: center; width: 32px; height: 32px; margin: 0 auto 6px; border-radius: 8px; background: var(--sc-green-soft); color: var(--sc-green); font-size: 0 !important; }
.crm-spec-icon .sc-icon { width: 18px; height: 18px; }
.crm-spec-label { color: var(--sc-muted) !important; text-transform: none !important; letter-spacing: 0 !important; }
.crm-spec-val { color: var(--sc-ink) !important; }
.crm-booking-card { background: #fff !important; border: 1px solid var(--sc-line) !important; border-radius: 12px !important; box-shadow: 0 8px 28px rgba(16, 39, 29, .08) !important; top: calc(var(--sc-header-h) + 16px) !important; }
.crm-booking-card::before { display: none !important; }
.crm-booking-card-subtitle, .crm-booking-note { color: var(--sc-muted) !important; }
.crm-price-summary { background: var(--sc-soft) !important; border: 1px solid var(--sc-line) !important; color: var(--sc-ink) !important; border-radius: 10px !important; }
.crm-ps-total-row, .crm-ps-total { color: var(--sc-ink) !important; }
.crm-age-option { border-color: var(--sc-line) !important; background: #fff !important; color: var(--sc-ink) !important; }

/* Mobile helpers for the fleet and car pages */
.sc-cars-mobile-toolbar { display: none; }
.sc-cars-sheet-backdrop[hidden] { display: none; }
.sc-mobile-booking-bar { display: none; }

/* ── Responsive ───────────────────────────────────────────────── */
@media (max-width: 1100px) {
	.sc-car-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.sc-city-grid-compact { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.sc-nav a:not(.sc-button) { padding: 8px; }
}

@media (max-width: 960px) {
	:root { --sc-header-h: 60px; }
	.sc-header-inner { gap: 12px; }
	.sc-brand .custom-logo { height: 36px; }
	.sc-header-tools { margin-inline-start: auto; }
	.sc-menu-toggle { display: inline-flex; align-items: center; justify-content: center; }
	.sc-nav {
		position: absolute; top: 100%; inset-inline: 0;
		display: none; flex-direction: column; align-items: stretch; gap: 0;
		margin: 0; padding: 8px 16px 16px;
		background: var(--sc-green-dark); border-top: 1px solid rgba(255, 255, 255, .12);
	}
	.sc-nav.is-open { display: flex; }
	.sc-nav a:not(.sc-button) { padding: 14px 4px; border-bottom: 1px solid rgba(255, 255, 255, .1); border-radius: 0; font-size: 1rem; }
	.sc-nav-cta { margin: 12px 0 0; min-height: 48px; }

	.sc-search, .sc-search.has-dropoff { grid-template-columns: 1fr 1fr; }
	.sc-search .sc-field:first-child, .sc-dropoff-field, .sc-search-submit { grid-column: 1 / -1; }
	.sc-search-submit { order: 2; }
	.sc-dropoff-toggle { order: 1; }
	.sc-city-grid, .sc-city-grid-compact { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.sc-services { grid-template-columns: 1fr; gap: 24px; }
	.sc-services-image { aspect-ratio: 16 / 7; }
	.sc-footer-main { grid-template-columns: 1fr 1fr; }
	.sc-footer-brand { grid-column: 1 / -1; }

	/* Fleet page: filters become a bottom sheet */
	.crm-fleet-layout { grid-template-columns: 1fr; }
	.sc-cars-mobile-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
	.sc-cars-filter-toggle { border-color: var(--sc-line); color: var(--sc-ink); background: #fff; }
	.sc-cars-filter-toggle:hover { background: var(--sc-soft); }
	.sc-cars-mobile-sort { display: flex; align-items: center; gap: 8px; color: var(--sc-muted); font-size: .9rem; }
	.sc-cars-mobile-sort .crm-sort-form { display: flex; align-items: center; gap: 8px; margin: 0; width: auto; }
	.sc-cars-mobile-sort .crm-sort-form label { display: none; }
	.sc-cars-mobile-sort select { min-height: 40px !important; max-width: 52vw; }
	.sc-cars-page .crm-fleet-sidebar {
		position: fixed !important; inset: auto 0 0 0; z-index: 1100;
		max-height: 85vh; overflow-y: auto;
		transform: translateY(105%); transition: transform .2s ease;
	}
	.sc-cars-page .crm-fleet-sidebar .crm-filter-card { border-radius: 16px 16px 0 0 !important; }
	.sc-cars-page.sc-filters-open .crm-fleet-sidebar { transform: none; }
	.sc-cars-sheet-backdrop { position: fixed; inset: 0; z-index: 1050; background: rgba(0, 0, 0, .45); }

	/* Car page: sticky booking bar */
	.sc-mobile-booking-bar {
		position: fixed; inset: auto 0 0 0; z-index: 900;
		display: flex; align-items: center; justify-content: space-between; gap: 12px;
		padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
		background: #fff; border-top: 1px solid var(--sc-line); box-shadow: 0 -6px 20px rgba(0, 0, 0, .08);
	}
	.sc-mobile-booking-price { color: var(--sc-ink); font-weight: 700; }
	body.sc-has-booking-bar { padding-bottom: 72px; }
}

@media (max-width: 782px) {
	body.admin-bar .sc-header { top: 46px; }
}

@media (max-width: 640px) {
	body { font-size: 15px; }
	.sc-section { padding: 44px 0; }
	.sc-hero { padding: 40px 0 32px; }
	.sc-hero-copy { font-size: 1rem; margin-bottom: 20px; }
	.sc-search, .sc-search.has-dropoff { grid-template-columns: 1fr; padding: 12px; }
	.sc-car-grid { grid-template-columns: 1fr; gap: 16px; }
	.sc-car { flex-direction: row; }
	.sc-car-photo { flex: 0 0 38%; aspect-ratio: auto; }
	.sc-car-body { padding: 12px; }
	.sc-car-name { font-size: 1.05rem; margin-bottom: 6px; }
	.sc-car-specs { gap: 2px 10px; margin-bottom: 10px; font-size: .85rem; }
	.sc-car-footer { flex-wrap: wrap; }
	.sc-car-footer .sc-button { min-height: 40px; padding: 0 14px; }
	.sc-city-grid { grid-template-columns: 1fr; gap: 16px; }
	.sc-city-grid-compact { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
	.sc-city-grid-compact .sc-city-line { display: none; }
	.sc-landing-hero { min-height: 420px; }
	.sc-landing-hero-inner { padding: 40px 0 32px; }
	.sc-landing-hero::after { background: linear-gradient(0deg, rgba(10, 24, 18, .85) 0%, rgba(10, 24, 18, .55) 60%, rgba(10, 24, 18, .3) 100%); }
	.sc-landing-actions .sc-button { flex: 1 1 auto; }
	.sc-landing-body ul { grid-template-columns: 1fr; }
	.sc-footer-marks { flex-direction: column; align-items: flex-start; }
	.sc-brand-tabs { display: flex; overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; }
	.sc-brand-tab { flex: 0 0 104px; }
	.crm-car-photo { aspect-ratio: 2 / 1 !important; }
	.crm-car-info { padding: 14px !important; }
	.sc-service-list { grid-template-columns: 1fr; gap: 16px; }
	.sc-footer-main { grid-template-columns: 1fr; gap: 24px; }
	.sc-header-tools { gap: 6px; }
	.sc-chip { padding: 0 9px; }
	.sc-language .sc-chip > span:not(.sc-flag):not(.sc-chevron) { display: none; }
}

@media (max-width: 380px) {
	.sc-brand .custom-logo { height: 30px; }
	.sc-chip { padding: 0 7px; gap: 4px; }
	.sc-menu-toggle { width: 38px; }
	.sc-currency .sc-chip-icon { display: none; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
