/* ============================================
   Rental — stili i përbashkët i sajtit publik
   Paleta: blu e errët (navy) + e kuqja e logos, sfond i bardhë, kënde të mprehta.
   ============================================ */
:root {
    --navy: #0f1f3d;
    --navy-2: #1b2e55;
    --accent: #b8121b;
    --accent-dark: #930d15;
    --text: #1c2331;
    --muted: #667085;
    --line: #e2e6ec;
    --bg: #f4f5f7;
    --surface: #ffffff;
    --success: #157f4b;
    --success-bg: #e8f5ee;
    --danger: #b42318;
    --danger-bg: #fdecea;
    --radius: 4px;
    --shadow: 0 1px 2px rgba(15, 31, 61, 0.06), 0 4px 16px rgba(15, 31, 61, 0.06);
    --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --font-heading: Georgia, "Times New Roman", Times, serif;
    --container: 1200px;

    /* emrat e vjetër të variablave (përdoren ende nga faqja FAQ) */
    --primary: var(--accent);
    --primary-dark: var(--accent-dark);
    --secondary: var(--navy);
    --text-light: var(--muted);
    --bg-light: var(--bg);
    --white: #ffffff;
    --border: var(--line);
    --warning: #b54708;
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }

html { -webkit-text-size-adjust: 100%; }

body {
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { color: var(--navy); line-height: 1.25; }
h1, h2 { font-family: var(--font-heading); font-weight: 700; letter-spacing: -0.01em; }

a { color: var(--accent); }
img { max-width: 100%; }
main { display: block; }

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

/* ---------- Butonat ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 12px 26px;
    border: 1px solid transparent;
    border-radius: var(--radius);
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { background: var(--navy-2); }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: #eef0f4; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: 0.5; cursor: not-allowed; }

/* ---------- Fushat e formularëve ---------- */
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field > label,
.field-label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--muted);
}
.field .req { color: var(--accent); }
.input,
.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field input[type="date"],
.field select,
.field textarea {
    width: 100%;
    min-height: 46px;
    padding: 10px 12px;
    border: 1px solid #c9ced8;
    border-radius: var(--radius);
    background: #fff;
    color: var(--text);
    font-family: inherit;
    font-size: 16px;
    line-height: 1.4;
    appearance: none;
    -webkit-appearance: none;
}
.field select {
    padding-right: 34px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23667085' stroke-width='1.6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
}
.field textarea { min-height: 80px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus,
.input:focus {
    outline: none;
    border-color: var(--navy);
    box-shadow: 0 0 0 3px rgba(15, 31, 61, 0.12);
}
.field-hint { font-size: 13px; color: var(--muted); }

/* ---------- Titujt e seksioneve ---------- */
.section { padding: 72px 0; }
.section-white { background: var(--surface); }
.section-head { max-width: 680px; margin: 0 auto 40px; text-align: center; }
.section-head h2 { font-size: clamp(26px, 3.4vw, 34px); }
.section-head p { color: var(--muted); margin-top: 10px; }
.section-head::after {
    content: "";
    display: block;
    width: 56px;
    height: 3px;
    background: var(--accent);
    margin: 18px auto 0;
}

.page-head {
    background: var(--navy);
    color: #fff;
    padding: 36px 0;
}
.page-head h1 { color: #fff; font-size: clamp(26px, 3.6vw, 36px); }
.page-head p { color: #c7d0e2; margin-top: 6px; }

/* ---------- Header ---------- */
.main-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
}

.top-bar {
    background: var(--navy);
    color: #d5dcea;
    font-size: 13px;
    padding: 7px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}
.top-bar-left, .top-bar-right { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.top-bar a, .top-bar span { color: #d5dcea; text-decoration: none; }
.top-bar a:hover { color: #fff; }
.top-bar i { margin-right: 6px; color: #8fa0c2; font-size: 12px; }

.header-container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 12px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    position: relative;
}

.logo a { display: flex; align-items: center; text-decoration: none; }
.logo-img {
    width: var(--logo-width, 180px);
    max-width: 55vw;
    height: auto;
    object-fit: contain;
    padding: var(--logo-pt, 0) var(--logo-pr, 0) var(--logo-pb, 0) var(--logo-pl, 0);
}
.logo-text { font-family: var(--font-heading); font-size: 24px; font-weight: 700; color: var(--navy); }

.nav-menu { display: flex; align-items: center; gap: 32px; }
.nav-menu a {
    position: relative;
    padding: 8px 0;
    color: var(--navy);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-decoration: none;
}
.nav-menu a::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 2px;
    background: var(--accent);
    transform: scaleX(0);
    transition: transform 0.2s;
}
.nav-menu a:hover::after,
.nav-menu a.active::after { transform: scaleX(1); }

.mobile-menu-btn {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    color: var(--navy);
    font-size: 18px;
    cursor: pointer;
}

.menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 31, 61, 0.5);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s, visibility 0.2s;
}
.menu-overlay.show { opacity: 1; visibility: visible; }

/* ---------- Zgjedhësi i gjuhës ---------- */
.language-dropdown, .language-dropdown-mobile { position: relative; }
.language-dropdown-mobile { display: none; margin-left: auto; }
.selected-lang, .selected-lang-mobile {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 6px;
    border: 1px solid transparent;
    border-radius: var(--radius);
    background: none;
    color: inherit;
    font-family: inherit;
    cursor: pointer;
}
.selected-lang:hover { border-color: rgba(255, 255, 255, 0.3); }
.selected-lang img, .selected-lang-mobile img { display: block; border-radius: 2px; object-fit: cover; }
.selected-lang .arrow { font-size: 8px; transition: transform 0.2s; }
.selected-lang .arrow.open { transform: rotate(180deg); }
.selected-lang-mobile { border-color: var(--line); padding: 8px; }

.dropdown-menu, .dropdown-menu-mobile {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    min-width: 160px;
    padding: 6px 0;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    z-index: 1001;
}
.dropdown-menu.show, .dropdown-menu-mobile.show { display: block; }
.lang-item, .lang-item-mobile {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 14px;
    color: var(--text) !important;
    font-size: 14px;
    text-decoration: none;
}
.lang-item:hover, .lang-item-mobile:hover { background: var(--bg); }
.lang-item.active, .lang-item-mobile.active { font-weight: 700; color: var(--accent) !important; }
.lang-item img, .lang-item-mobile img { border-radius: 2px; object-fit: cover; flex-shrink: 0; }

/* ---------- Karta e makinës (lista) ---------- */
.car-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.car-card {
    display: flex;
    flex-direction: column;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    transition: box-shadow 0.2s, border-color 0.2s;
}
.car-card:hover { box-shadow: var(--shadow); border-color: #cfd5df; }
.car-card-media {
    position: relative;
    display: block;
    aspect-ratio: 3 / 2;
    background: #eceff3;
    overflow: hidden;
}
.car-card-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.car-card-media .no-photo {
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    color: #b3bccb; font-size: 52px;
}
.car-badge {
    position: absolute;
    top: 12px; left: 12px;
    padding: 4px 10px;
    background: var(--navy);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: 2px;
}
.car-card-body { display: flex; flex-direction: column; flex: 1; padding: 20px; }
.car-card-title { font-family: var(--font-heading); font-size: 20px; }
.car-card-title a { color: var(--navy); text-decoration: none; }
.car-card-title a:hover { color: var(--accent); }
.car-card-sub { font-size: 13px; color: var(--muted); margin-top: 2px; }
.car-specs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 12px;
    margin: 16px 0;
    padding: 14px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    font-size: 14px;
    color: #3b4558;
    list-style: none;
}
.car-specs i { width: 18px; color: var(--muted); font-size: 13px; }
.car-card-foot {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
}
.price { line-height: 1.1; }
.price-label { display: block; font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.price-amount { font-family: var(--font-heading); font-size: 26px; font-weight: 700; color: var(--navy); }
.price-unit { font-size: 13px; color: var(--muted); }
.car-card-foot .btn { min-height: 42px; padding: 9px 18px; font-size: 14px; }

.empty-state {
    grid-column: 1 / -1;
    padding: 56px 24px;
    text-align: center;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}
.empty-state i { font-size: 44px; color: #b3bccb; margin-bottom: 14px; }
.empty-state h3 { font-size: 20px; margin-bottom: 6px; }
.empty-state p { color: var(--muted); margin-bottom: 16px; }

/* ---------- Footer ---------- */
.footer { background: var(--navy); color: #b9c3d8; padding: 56px 0 0; }
.footer-grid {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1.4fr 1fr 1.2fr;
    gap: 48px;
}
.footer-col h3 {
    color: #fff;
    font-family: var(--font);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 18px;
}
.footer-col p { font-size: 14px; line-height: 1.7; margin-bottom: 10px; }
.footer-col a { color: #b9c3d8; text-decoration: none; }
.footer-col a:hover { color: #fff; }
.footer-col p i { width: 20px; color: #8fa0c2; }
.footer-social { display: flex; gap: 10px; margin-top: 18px; }
.footer-social a {
    width: 40px; height: 40px;
    display: flex; align-items: center; justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: var(--radius);
    color: #fff;
}
.footer-social a:hover { background: var(--accent); border-color: var(--accent); }
.footer-bottom {
    max-width: var(--container);
    margin: 44px auto 0;
    padding: 20px 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 13px;
    text-align: center;
}

/* ---------- Faqet e gabimit ---------- */
.error-page { max-width: 640px; margin: 0 auto; padding: 90px 24px; text-align: center; }
.error-page .code { font-family: var(--font-heading); font-size: clamp(72px, 18vw, 130px); font-weight: 700; line-height: 1; color: var(--navy); }
.error-page h1 { font-size: 26px; margin: 16px 0 10px; }
.error-page p { color: var(--muted); margin-bottom: 28px; }
.error-page a.btn { margin: 4px; background: var(--accent); color: #fff; }

/* ---------- Animacioni i shfaqjes ---------- */
.fade-up { opacity: 0; transform: translateY(16px); transition: opacity 0.5s ease, transform 0.5s ease; }
.fade-up.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    .fade-up { opacity: 1; transform: none; transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .car-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .container { padding: 0 16px; }
    .section { padding: 48px 0; }

    .top-bar { padding: 6px 16px; justify-content: center; font-size: 12px; }
    .top-bar-right { display: none; }
    .top-bar-left { gap: 14px; justify-content: center; }
    .top-bar-left span { display: none; }

    .header-container { padding: 10px 16px; }
    .language-dropdown-mobile { display: block; }
    .mobile-menu-btn { display: inline-flex; align-items: center; justify-content: center; }

    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0; right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        background: #fff;
        border-top: 1px solid var(--line);
        border-bottom: 1px solid var(--line);
        box-shadow: var(--shadow);
        z-index: 999;
        display: none;
    }
    .nav-menu.show { display: flex; }
    .nav-menu a { padding: 16px 20px; border-bottom: 1px solid var(--line); }
    .nav-menu a:last-child { border-bottom: none; }
    .nav-menu a::after { display: none; }
    .nav-menu a.active { color: var(--accent); }

    .footer-grid { grid-template-columns: 1fr; gap: 32px; padding: 0 16px; }
    .footer { padding-top: 40px; }
}

@media (max-width: 600px) {
    .car-grid { grid-template-columns: 1fr; }
}

/* ============================================
   Ngjyrat: gradiente të buta në vend të së bardhës së sheshtë
   ============================================ */
body { background: linear-gradient(180deg, #f6f7f9 0%, #e9ecf1 100%) fixed; }

/* Header */
.top-bar { background: linear-gradient(90deg, #0a1529 0%, #16284c 55%, #1f3563 100%); }
.main-header {
    background: linear-gradient(180deg, #ffffff 0%, #eef1f5 100%);
    border-bottom: 1px solid #d9dee6;
    box-shadow: 0 2px 14px rgba(15, 31, 61, 0.08);
}
.nav-menu a { transition: color 0.2s; }
.nav-menu a:hover { color: var(--accent); }

/* Logo: zmadhim i butë kur kalon miu */
.logo a { overflow: visible; }
.logo-img, .logo-text {
    transition: transform 0.35s cubic-bezier(0.22, 0.61, 0.36, 1);
    transform-origin: left center;
    will-change: transform;
}
.logo a:hover .logo-img,
.logo a:hover .logo-text,
.logo a:focus-visible .logo-img { transform: scale(1.07); }

/* Zgjedhësi i gjuhës: teksti i errët mbi sfondin e bardhë të listës */
.dropdown-menu, .dropdown-menu-mobile { background: linear-gradient(180deg, #ffffff 0%, #f3f5f8 100%); }
.top-bar .dropdown-menu .lang-item,
.top-bar .dropdown-menu .lang-item span,
.dropdown-menu .lang-name,
.dropdown-menu-mobile .lang-name { color: #1c2331 !important; }
.top-bar .dropdown-menu .lang-item.active,
.top-bar .dropdown-menu .lang-item.active span,
.dropdown-menu-mobile .lang-item-mobile.active .lang-name { color: var(--accent) !important; }
.lang-item:hover, .lang-item-mobile:hover { background: #e6eaf0; }

/* Sipërfaqet */
.section-white { background: linear-gradient(180deg, #ffffff 0%, #eef1f5 100%); }
.car-card,
.panel,
.filter-bar,
.empty-state,
.testimonial { background: linear-gradient(180deg, #ffffff 0%, #f4f6f9 100%); }
.car-card:hover { box-shadow: 0 10px 28px rgba(15, 31, 61, 0.14); transform: translateY(-2px); }
.car-card { transition: box-shadow 0.25s, border-color 0.25s, transform 0.25s; }
.car-card-media img { transition: transform 0.5s ease; }
.car-card:hover .car-card-media img { transform: scale(1.04); }

/* Blloqet e errëta */
.page-head,
.search-head,
.cta-band { background: linear-gradient(120deg, #0a1529 0%, #16284c 55%, #24407a 100%); }
.footer { background: linear-gradient(180deg, #13244a 0%, #0a1529 100%); }
.car-badge, .car-badge-inline, .step-num { background: linear-gradient(135deg, #16284c, #0a1529); }

/* Butonat */
.btn-primary { background: linear-gradient(180deg, #cf1722 0%, #a50f18 100%); box-shadow: 0 2px 6px rgba(184, 18, 27, 0.28); }
.btn-primary:hover { background: linear-gradient(180deg, #b8121b 0%, #8c0b13 100%); }
.btn-dark { background: linear-gradient(180deg, #1b2e55 0%, #0f1f3d 100%); }
.btn-light { background: linear-gradient(180deg, #ffffff 0%, #e6eaf0 100%); }

@media (max-width: 768px) {
    .nav-menu { background: linear-gradient(180deg, #ffffff 0%, #eef1f5 100%); }
    .logo-img, .logo-text { transform-origin: left center; }
}
@media (prefers-reduced-motion: reduce) {
    .logo-img, .logo-text, .car-card, .car-card-media img { transition: none; }
    .logo a:hover .logo-img, .car-card:hover, .car-card:hover .car-card-media img { transform: none; }
}

/* footer me 4 kolona */
.footer-grid { grid-template-columns: 1.4fr 0.9fr 1fr 1.2fr; gap: 40px; }
@media (max-width: 1000px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .footer-grid { grid-template-columns: 1fr; } }
@media (max-width: 900px) and (min-width: 769px) { .nav-menu { gap: 20px; } }

/* adresa në shiritin e sipërm: fshihet në ekrane të vogla si më parë */
@media (max-width: 768px) { .top-bar-left .top-address { display: none; } }

/* ---------- Dati legali e link nel footer ---------- */
.footer-bottom p + p { margin-top: 6px; }
.footer-legal { opacity: 0.85; }
.footer-bottom a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.footer-bottom a:hover { color: #fff; }
.footer-sep { margin: 0 6px; opacity: 0.6; }

/* ---------- Banner dei cookie ---------- */
.cc-banner[hidden], .cc-cats[hidden], .cc-btn[hidden] { display: none !important; }
.cc-banner {
    position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 1500;
    display: flex; align-items: flex-end; gap: 20px;
    max-width: 1080px; margin: 0 auto; padding: 20px 48px 20px 22px;
    background: #fff; color: #1f2937;
    border: 1px solid #d5dae3; border-top: 4px solid var(--navy, #111a2e); border-radius: 10px;
    box-shadow: 0 18px 50px rgba(15, 31, 61, 0.28);
    font-size: 14px; line-height: 1.5;
}
.cc-main { flex: 1; min-width: 0; }
.cc-banner h2 { margin: 0 0 6px; font-size: 17px; color: var(--navy, #111a2e); }
.cc-banner p { margin: 0; }
.cc-banner a { color: var(--navy, #111a2e); font-weight: 600; text-decoration: underline; }
.cc-close { position: absolute; top: 8px; right: 10px; width: 34px; height: 34px; border: none; border-radius: 50%; background: transparent; color: #4b5563; font-size: 24px; line-height: 1; cursor: pointer; }
.cc-close:hover { background: #f1f3f6; color: #111827; }
.cc-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; flex-shrink: 0; }
.cc-btn { padding: 10px 16px; border: 1px solid var(--navy, #111a2e); border-radius: 6px; background: #fff; color: var(--navy, #111a2e); font-size: 14px; font-weight: 600; font-family: inherit; cursor: pointer; white-space: nowrap; }
.cc-btn:hover { background: #f1f3f6; }
/* Accetta e Rifiuta hanno lo stesso aspetto: nessuna scelta è messa in evidenza */
.cc-btn.solid { background: var(--navy, #111a2e); color: #fff; }
.cc-btn.solid:hover { background: #1d2a48; }
.cc-banner.is-prefs { flex-direction: column; align-items: stretch; }
.cc-cats { list-style: none; margin: 14px 0 0; padding: 0; border: 1px solid #e5e7eb; border-radius: 8px; max-height: 40vh; overflow-y: auto; }
.cc-cats li { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 14px; border-top: 1px solid #e5e7eb; }
.cc-cats li:first-child { border-top: none; }
.cc-cats strong { display: block; color: #111827; }
.cc-cats span { font-size: 13px; color: #4b5563; }
.cc-cats em { font-style: normal; font-size: 12px; font-weight: 600; color: #047857; white-space: nowrap; }
.cc-switch { position: relative; flex-shrink: 0; width: 44px; height: 24px; cursor: pointer; }
.cc-switch input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.cc-switch span { position: absolute; inset: 0; border-radius: 999px; background: #c5cad3; transition: background 0.15s; }
.cc-switch span::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: transform 0.15s; }
.cc-switch input:checked + span { background: #047857; }
.cc-switch input:checked + span::after { transform: translateX(20px); }
.cc-switch input:focus-visible + span { outline: 2px solid #0b5ed7; outline-offset: 2px; }
@media (max-width: 860px) {
    .cc-banner { flex-direction: column; align-items: stretch; left: 8px; right: 8px; bottom: 8px; padding: 18px 16px 16px; max-height: calc(100vh - 16px); overflow-y: auto; }
    .cc-banner h2 { padding-right: 34px; }
    .cc-actions { justify-content: stretch; }
    .cc-btn { flex: 1 1 calc(50% - 8px); white-space: normal; }
}
@media (prefers-reduced-motion: reduce) { .cc-switch span, .cc-switch span::after { transition: none; } }

/* ---------- Contenuto esterno in attesa di consenso (mappa) ---------- */
.consent-embed { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; min-height: 300px; padding: 24px; text-align: center; background: #e9ecf1; color: #3b4558; }
.consent-embed i { font-size: 34px; color: #8d97a8; }
.consent-embed p { max-width: 520px; margin: 0; font-size: 14px; }

/* Banner cookie: rifiutare e accettare hanno la stessa evidenza (Linee guida Garante 2021) */
.cc-btn[data-consent-action="reject"], .cc-btn[data-consent-action="accept"] { min-width: 150px; text-align: center; }
@media (max-width: 720px) {
    .cc-btn[data-consent-action="customize"], .cc-btn[data-consent-action="save"] { flex: 1 1 100%; order: 3; }
    .cc-btn[data-consent-action="reject"], .cc-btn[data-consent-action="accept"] { flex: 1 1 calc(50% - 8px); min-width: 0; order: 1; }
}