:root {
    --green: #c58a4a;
    --green-dark: #99612f;
    --navy: #0c1928;
    --navy-soft: #173047;
    --ink: #15202a;
    --muted: #69727a;
    --line: #ded9d1;
    --paper: #f3f0eb;
    --white: #fff;
    --red: #bd4038;
    --amber: #c58a4a;
    --sand: #e6d7c3;
    --cream: #fbf8f3;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: "Segoe UI Variable", "Segoe UI", Inter, Roboto, Helvetica, Arial, sans-serif;
    font-size: 14px;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
body.modal-open { overflow: hidden; }
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
.eyebrow { color: var(--green-dark); font-size: 10px; font-weight: 900; letter-spacing: .14em; }

.worldwide-strip {
    min-height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 6px 20px;
    color: var(--navy);
    background: var(--sand);
    font-size: 11px;
    font-weight: 800;
    text-align: center;
}
.worldwide-badge { padding: 3px 6px; color: #fff; background: var(--navy); font-size: 8px; letter-spacing: .12em; }
.worldwide-message { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.language-switch {
    position: absolute;
    right: clamp(16px, 4vw, 62px);
    display: flex;
    border: 1px solid rgba(12,25,40,.22);
}
.language-switch a {
    padding: 5px 8px;
    color: rgba(12,25,40,.72);
    text-decoration: none;
    font-size: 9px;
}
.language-switch a.active { color: #fff; background: var(--navy); }

.public-header {
    position: relative;
    z-index: 20;
    min-height: 82px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 30px;
    padding: 0 clamp(20px, 5vw, 80px);
    background: rgba(12,25,40,.98);
    border-bottom: 1px solid rgba(255,255,255,.08);
    box-shadow: 0 7px 25px rgba(12,25,40,.18);
}
.public-brand {
    display: flex;
    align-items: center;
    gap: 11px;
    color: #fff;
    text-decoration: none;
}
.public-brand img { width: 70px; height: 70px; object-fit: contain; background: #fff; border: 3px solid var(--green); border-radius: 50%; }
.public-brand > span { display: grid; gap: 2px; }
.public-brand strong { font-size: 18px; letter-spacing: .05em; }
.public-brand small { font-size: 9px; font-weight: 800; letter-spacing: .17em; }
.public-header nav { display: flex; align-items: center; justify-content: center; gap: clamp(12px, 2.2vw, 34px); }
.public-header nav a { color: #fff; font-size: 11px; font-weight: 800; text-decoration: none; white-space: nowrap; }
.public-header nav a:hover { text-decoration: underline; text-underline-offset: 5px; }
.public-header nav a.active { color: #e2b77e; text-decoration: underline; text-underline-offset: 5px; }
.header-actions { display: flex; align-items: center; gap: 13px; }
.messenger-links { display: flex; align-items: center; gap: 6px; }
.messenger-link {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 50%;
    color: #fff;
    text-decoration: none;
    font-size: 10px;
    font-weight: 900;
}
.messenger-link.whatsapp { background: #177f55; }
.messenger-link.viber { background: #665cac; }
.messenger-link:hover { transform: translateY(-1px); filter: brightness(1.12); }
.auth-state { display: flex; align-items: center; gap: 7px; color: #fff; white-space: nowrap; }
.auth-state-dot { width: 8px; height: 8px; flex: 0 0 auto; border-radius: 50%; background: #9ba5ab; box-shadow: 0 0 0 4px rgba(255,255,255,.08); }
.auth-state.signed-in .auth-state-dot { background: #e2b77e; box-shadow: 0 0 0 4px rgba(226,183,126,.17); }
.auth-state > div { display: grid; gap: 2px; }
.auth-state strong { max-width: 165px; overflow: hidden; font-size: 9px; text-overflow: ellipsis; }
.auth-state small { color: #bfc7cc; font-size: 7px; }
.phone-link { display: grid; color: #fff; text-decoration: none; text-align: right; }
.phone-link span { font-size: 8px; opacity: .75; }
.phone-link strong { font-size: 12px; }
.client-zone-button {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    color: var(--navy);
    background: var(--sand);
    border-radius: 999px;
    text-decoration: none;
    font-size: 10px;
    font-weight: 900;
}
.client-zone-button span { font-size: 18px; }
.menu-button { display: none; border: 0; color: #fff; background: transparent; font-size: 25px; }

.hero {
    position: relative;
    min-height: 820px;
    display: grid;
    align-items: start;
    background: url("ego-bmw-hero.webp") center center / cover no-repeat;
    overflow: hidden;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(6,14,23,.9) 0%, rgba(6,14,23,.7) 35%, rgba(6,14,23,.14) 72%),
        linear-gradient(180deg, rgba(6,14,23,.08) 35%, rgba(6,14,23,.83) 100%);
}
.hero-content {
    position: relative;
    z-index: 2;
    width: min(780px, calc(100% - 34px));
    margin: 82px 0 0 clamp(24px, 8vw, 145px);
    text-align: left;
}
.hero-kicker { color: #e2b77e; font-size: 10px; font-weight: 900; letter-spacing: .18em; }
.hero h1 { max-width: 720px; margin: 16px 0 14px; color: #fff; font-size: clamp(42px, 5.5vw, 78px); line-height: .98; letter-spacing: -.055em; }
.hero-content > p { max-width: 635px; margin: 0 0 28px; color: #e4e7e8; font-size: 14px; line-height: 1.7; }
.hero-search {
    min-height: 82px;
    display: grid;
    grid-template-columns: 55px 1fr auto;
    align-items: center;
    padding: 8px;
    background: rgba(255,255,255,.96);
    border: 1px solid rgba(17,20,69,.09);
    border-radius: 50px;
    box-shadow: 0 25px 70px rgba(0,0,0,.26);
}
.search-symbol { color: #87919a; font-size: 29px; }
.hero-search input { height: 62px; border: 0; outline: 0; background: transparent; font-size: 18px; }
.hero-search button {
    height: 62px;
    min-width: 150px;
    padding: 0 26px;
    border: 0;
    border-radius: 34px;
    color: #fff;
    background: var(--green-dark);
    font-size: 12px;
    font-weight: 900;
}
.hero-search button:hover { background: #7d4b24; }
.hero-search button:disabled { cursor: not-allowed; opacity: .45; }
.catalog-state { min-height: 20px; display: flex; justify-content: flex-start; align-items: center; gap: 8px; margin-top: 13px; color: #edf0f1; font-size: 9px; }
.catalog-state > span { width: 7px; height: 7px; border-radius: 50%; background: var(--amber); }
.catalog-state.ready > span { background: #e2b77e; box-shadow: 0 0 0 4px rgba(226,183,126,.18); }
.catalog-state small { color: #c5cbce; }
.part-help {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    margin-top: 16px;
    padding: 10px 12px 10px 20px;
    color: #fff;
    background: rgba(8,18,28,.58);
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 30px;
    font-size: 10px;
}
.part-help a, .part-help button { padding: 10px 18px; border: 0; color: var(--navy); background: var(--sand); border-radius: 22px; text-decoration: none; font: inherit; font-weight: 900; }

.process-card {
    position: absolute;
    z-index: 3;
    left: 50%;
    bottom: 38px;
    width: min(1160px, calc(100% - 40px));
    min-height: 150px;
    transform: translateX(-50%);
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
    align-items: center;
    gap: 15px;
    padding: 25px 35px;
    background: rgba(251,248,243,.96);
    border: 1px solid rgba(197,138,74,.2);
    border-radius: 18px;
    box-shadow: 0 20px 65px rgba(17,20,69,.1);
}
.process-card article { min-width: 0; display: grid; place-items: center; gap: 8px; text-align: center; }
.process-card article b { color: var(--green-dark); font-size: 8px; }
.process-card article span { color: var(--navy); font-size: 27px; }
.process-card article strong { max-width: 150px; color: var(--navy); font-size: 11px; line-height: 1.4; }
.process-card > i { color: #9ca5aa; font-style: normal; }

.catalog-workspace {
    width: min(1480px, 100%);
    display: grid;
    grid-template-columns: minmax(0, 1fr) 390px;
    gap: 25px;
    margin: auto;
    padding: 62px clamp(18px, 4vw, 60px) 78px;
}
.catalog-main { min-width: 0; }
.workspace-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 20px; }
.workspace-heading h2 { margin: 8px 0 0; color: var(--navy); font-size: 30px; letter-spacing: -.04em; }
.workspace-heading p { margin: 0; color: var(--muted); font-size: 10px; }
.workspace-tools { display: grid; justify-items: end; gap: 10px; }
.price-mode-toggle { display: inline-grid; grid-template-columns: 1fr 1fr; padding: 3px; border: 1px solid var(--line); background: #fff; }
.price-mode-toggle button { min-width: 76px; min-height: 32px; padding: 0 10px; border: 0; color: var(--muted); background: transparent; font-size: 9px; font-weight: 900; }
.price-mode-toggle button.active { color: #fff; background: var(--navy); }
.public-admin-pricing {
    display: grid;
    grid-template-columns: minmax(260px, 1fr) auto auto auto;
    align-items: center;
    gap: 22px;
    margin: 0 0 20px;
    padding: 19px 21px;
    color: #fff;
    background: var(--navy);
    border-left: 4px solid var(--green);
    box-shadow: 0 13px 35px rgba(12,25,40,.12);
}
.public-admin-pricing > div:first-child { display: grid; gap: 5px; }
.public-admin-pricing .eyebrow { color: #e2b77e; }
.public-admin-pricing > div:first-child > strong { font-size: 15px; }
.public-admin-pricing > div:first-child > small { max-width: 580px; color: #c3ccd1; font-size: 11px; line-height: 1.5; }
.public-admin-pricing label { display: grid; gap: 6px; color: #c3ccd1; font-size: 10px; font-weight: 800; }
.public-admin-pricing label > span { min-height: 40px; display: flex; align-items: center; padding-right: 12px; color: var(--navy); background: #fff; font-weight: 900; }
.public-admin-pricing input { width: 88px; height: 40px; padding: 0 10px; border: 0; outline: 0; color: var(--navy); background: transparent; font-weight: 900; }
.public-admin-pricing input.invalid { color: var(--red); background: #fff0ef; }
.public-pricing-example { display: grid; gap: 6px; white-space: nowrap; }
.public-pricing-example > small { color: #c3ccd1; font-size: 10px; font-weight: 800; }
.public-pricing-example > span { font-size: 12px; }
.public-pricing-example b { margin: 0 7px; color: #e2b77e; }
.public-pricing-example strong { color: #fff; font-size: 15px; }
.public-admin-pricing > button { min-height: 42px; padding: 0 16px; border: 1px solid rgba(255,255,255,.35); color: #fff; background: transparent; font-size: 10px; font-weight: 900; }
.public-admin-pricing > button:hover { color: var(--navy); background: var(--sand); }
.section-title { display: flex; justify-content: space-between; align-items: center; margin-bottom: 11px; }
.section-title h3 { margin: 0; color: var(--navy); font-size: 16px; }
.section-title b { color: var(--muted); font-size: 10px; }
.public-result-list { background: #fff; border: 1px solid var(--line); }
.public-result {
    display: grid;
    grid-template-columns: 1fr .75fr minmax(190px, 2fr) .9fr 46px;
    align-items: center;
    gap: 14px;
    min-height: 87px;
    padding: 16px;
    border-bottom: 1px solid #ebeeec;
}
.public-result:last-child { border-bottom: 0; }
.public-result .part { display: grid; gap: 5px; }
.public-result .part strong { color: var(--navy); font-size: 13px; }
.public-result .part span, .public-result > span { color: var(--muted); font-size: 9px; }
.public-result p { display: grid; gap: 7px; margin: 0; color: #4e5861; font-size: 10px; line-height: 1.5; }
.delivery-label { display: block; width: max-content; max-width: 100%; padding: 4px 7px; color: var(--green-dark); background: #f4e9db; font-size: 8px; font-weight: 900; }
.public-result .result-price { display: grid; gap: 4px; text-align: right; }
.public-result .result-price b { color: var(--navy); font-size: 14px; }
.public-result .result-price small { color: var(--muted); font-size: 8px; }
.public-price-history-trigger {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    cursor: help;
}
.public-price-history-trigger > em {
    width: 18px;
    height: 18px;
    display: inline-grid;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    background: var(--green);
    font-size: 9px;
    font-style: normal;
}
.public-price-history-popover {
    position: absolute;
    right: 0;
    bottom: calc(100% + 10px);
    z-index: 12;
    width: 230px;
    display: none;
    padding: 15px;
    border: 1px solid #d7ddd9;
    color: var(--navy);
    background: #fff;
    box-shadow: 0 18px 45px rgba(12, 25, 40, .2);
    text-align: left;
}
.public-price-history-trigger:hover .public-price-history-popover,
.public-price-history-trigger:focus .public-price-history-popover {
    display: grid;
    gap: 7px;
}
.public-price-history-popover > strong { font-size: 10px; text-transform: uppercase; }
.public-price-history-popover > small { margin-bottom: 3px; color: var(--muted); font-size: 9px; }
.public-price-history-popover > span {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding-top: 7px;
    border-top: 1px solid #edf0ee;
}
.public-price-history-popover time { color: var(--muted); font-size: 9px; }
.public-price-history-popover span b { font-size: 10px; }
.public-result > button { width: 42px; height: 42px; border: 0; color: #fff; background: var(--green); font-size: 20px; font-weight: 900; }
.public-result.unavailable { background: #faf8f7; opacity: .82; }
.public-result.unavailable .part strong { text-decoration: line-through; }
.public-result.unavailable > button { cursor: not-allowed; color: #fff; background: var(--red); font-size: 12px; }
.unavailable-badge { display: inline-flex; width: max-content; padding: 5px 7px; color: #fff !important; background: var(--red); font-size: 8px !important; font-weight: 900; text-transform: uppercase; }
.empty-guide { min-height: 310px; display: grid; place-items: center; align-content: center; padding: 42px; text-align: center; border: 1px dashed #cbd4d0; background: rgba(255,255,255,.65); }
.empty-guide > span { color: #a2aaa6; font-size: 42px; }
.empty-guide h3 { margin: 13px 0 7px; color: var(--navy); }
.empty-guide p { max-width: 480px; margin: 0; color: var(--muted); font-size: 10px; line-height: 1.6; }

.order-cart { align-self: start; position: sticky; top: 18px; padding: 24px; background: #fff; border: 1px solid var(--line); box-shadow: 0 18px 50px rgba(17,20,69,.08); }
.cart-heading { display: flex; justify-content: space-between; padding-bottom: 17px; border-bottom: 1px solid var(--line); }
.cart-heading h2 { margin: 7px 0 0; color: var(--navy); font-size: 19px; }
.cart-heading > b { min-width: 31px; height: 31px; display: grid; place-items: center; color: #fff; background: var(--navy); font-size: 10px; }
.cart-items { max-height: 420px; overflow: auto; }
.cart-empty { min-height: 175px; display: grid; place-items: center; align-content: center; color: var(--muted); text-align: center; }
.cart-empty span { font-size: 29px; }
.cart-empty p { max-width: 190px; font-size: 10px; line-height: 1.5; }
.cart-item { padding: 16px 0; border-bottom: 1px solid #e9ecea; }
.cart-item-top, .cart-item-bottom { display: flex; justify-content: space-between; gap: 12px; }
.cart-item-top div { display: grid; gap: 3px; }
.cart-item-top strong, .cart-item-bottom > strong { color: var(--navy); font-size: 11px; }
.cart-item-top span, .cart-item p { color: var(--muted); font-size: 9px; }
.cart-item p { display: grid; gap: 7px; }
.cart-item-top button { padding: 0; border: 0; color: var(--red); background: transparent; font-size: 9px; }
.cart-quantity { display: grid; grid-template-columns: 29px 42px 29px; }
.cart-quantity button, .cart-quantity input { height: 31px; border: 1px solid #d7ddda; background: #fff; text-align: center; font-size: 10px; }
.cart-quantity input { width: 42px; border-left: 0; border-right: 0; }
.cart-total { display: grid; grid-template-columns: 1fr auto; gap: 7px; padding: 19px 0; }
.cart-total span, .cart-total small { color: var(--muted); font-size: 9px; }
.cart-total strong { color: var(--navy); }
.cart-total small { grid-column: 1 / -1; }
.copy-cart-button {
    width: 100%;
    min-height: 43px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 9px;
    border: 1px solid #cbd3d0;
    color: var(--navy);
    background: #f7f9f8;
    font-size: 10px;
    font-weight: 900;
}
.copy-cart-button span { color: var(--green); font-size: 16px; }
.copy-cart-button:disabled { cursor: not-allowed; opacity: .4; }
.checkout-button, .checkout-submit { width: 100%; min-height: 54px; border: 0; color: #fff; background: var(--navy); font-size: 10px; font-weight: 900; }
.checkout-button:disabled { cursor: not-allowed; opacity: .4; }

.about-section, .business-section, .tracking-section, .faq-section { scroll-margin-top: 30px; }
.about-section {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    min-height: 570px;
    padding: 0;
    color: #fff;
    background: var(--navy);
}
.about-section h2, .business-section h2, .tracking-section h2, .faq-section h2 { margin: 16px 0; font-size: clamp(31px, 4vw, 54px); line-height: 1.03; letter-spacing: -.05em; }
.about-photo { min-height: 570px; background: linear-gradient(90deg, transparent 70%, var(--navy)), url("ego-bmw-interior.webp") center center / cover no-repeat; }
.about-content { align-self: center; padding: 70px clamp(28px, 7vw, 105px) 70px clamp(35px, 5vw, 85px); }
.about-content .eyebrow { color: #ddb079; }
.about-content p { color: #c2c9ce; font-size: 13px; line-height: 1.8; }
.about-content strong { display: inline-block; margin-top: 20px; color: #ddb079; font-size: 10px; letter-spacing: .15em; }
.about-more-link {
    display: block;
    width: max-content;
    margin-top: 24px;
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
    border-bottom: 1px solid rgba(255,255,255,.45);
}
.about-more-link:hover { color: #e2b77e; border-color: #e2b77e; }
.business-section { display: grid; grid-template-columns: 1fr .85fr; min-height: 520px; padding: 0; text-align: left; background: #fff; }
.business-copy { align-self: center; padding: 75px clamp(32px, 8vw, 145px); }
.business-section h2 { max-width: 760px; color: var(--navy); }
.business-section p { max-width: 670px; margin: 0 0 25px; color: var(--muted); line-height: 1.7; }
.business-section a { display: inline-flex; padding: 16px 25px; color: #fff; background: var(--green); text-decoration: none; font-size: 11px; font-weight: 900; }
.business-photo { min-height: 520px; background: linear-gradient(90deg, #fff 0%, transparent 18%), url("ego-bmw-city.webp") center 68% / cover no-repeat; }
.business-account-button {
    display: inline-flex;
    align-items: center;
    min-height: 48px;
    margin-top: 16px;
    padding: 0 22px;
    border: 0;
    color: #fff;
    background: var(--green-dark);
    font-weight: 900;
}
.tracking-section { display: grid; grid-template-columns: .9fr 1.1fr; gap: 65px; padding: 88px clamp(28px, 8vw, 125px); color: #fff; background: #14283b; }
.tracking-section > div > p { color: #b8c1d3; font-size: 12px; line-height: 1.7; }
.tracking-card { align-self: center; padding: 28px; color: var(--ink); background: #fff; }
.tracking-card label { display: block; margin-bottom: 8px; font-size: 9px; font-weight: 900; }
.tracking-card form > div { display: grid; grid-template-columns: 1fr auto; }
.tracking-card input { min-width: 0; height: 52px; padding: 0 14px; border: 1px solid var(--line); }
.tracking-card form button { padding: 0 22px; border: 0; color: #fff; background: var(--green-dark); font-size: 10px; font-weight: 900; }
.tracking-result { margin-top: 22px; }
.tracking-order-head { display: flex; justify-content: space-between; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.tracking-order-head strong { color: var(--navy); }
.tracking-order-head span { color: var(--green-dark); font-size: 10px; font-weight: 900; }
.status-timeline { display: grid; grid-template-columns: repeat(5, 1fr); margin-top: 19px; }
.status-step { position: relative; display: grid; gap: 7px; padding-top: 20px; color: #939aa0; font-size: 8px; }
.status-step::before { content: ""; position: absolute; top: 5px; left: 4px; right: -4px; height: 2px; background: #dce2df; }
.status-step::after { content: ""; position: absolute; top: 0; left: 0; width: 11px; height: 11px; border-radius: 50%; background: #dce2df; }
.status-step.reached { color: var(--navy); }
.status-step.reached::before, .status-step.reached::after { background: var(--green); }
.tracking-updates { display: grid; gap: 9px; margin-top: 22px; }
.tracking-updates > h3 { margin: 0 0 3px; color: var(--navy); font-size: 12px; }
.tracking-update { padding: 13px 14px; border-left: 3px solid var(--green); background: var(--cream); }
.tracking-update > div { display: flex; justify-content: space-between; gap: 14px; }
.tracking-update strong { color: var(--navy); font-size: 10px; }
.tracking-update time { color: var(--muted); font-size: 8px; }
.tracking-update p { margin: 8px 0 0; color: #424b52; font-size: 10px; line-height: 1.55; white-space: pre-line; }
.tracking-update.no-note { border-left-color: #ccd2d0; }
.tracking-error { color: var(--red); font-size: 10px; }
.faq-section { padding: 85px clamp(28px, 15vw, 230px); background: var(--paper); }
.faq-section h2 { color: var(--navy); }
.faq-section details { border-top: 1px solid #d9dfdc; }
.faq-section details:last-child { border-bottom: 1px solid #d9dfdc; }
.faq-section summary { padding: 20px 0; color: var(--navy); font-weight: 800; cursor: pointer; }
.faq-section details p { color: var(--muted); font-size: 12px; }

.public-footer { display: grid; grid-template-columns: minmax(320px, 1.4fr) auto auto auto; align-items: center; gap: 45px; padding: 45px clamp(25px, 6vw, 95px); color: #b8bfd0; background: #0b0d31; }
.footer-brand { display: flex; align-items: center; gap: 15px; }
.footer-brand img { width: 68px; height: 68px; object-fit: contain; background: #fff; border-radius: 50%; }
.footer-brand div, .footer-navigation, .footer-contacts { display: grid; gap: 5px; }
.footer-brand strong { color: #fff; }
.footer-brand span, .footer-navigation > span, .footer-contacts > span { font-size: 9px; }
.footer-brand small { max-width: 560px; color: #9fa9b7; font-size: 8px; line-height: 1.5; }
.public-footer a { color: #fff; text-decoration: none; font-size: 11px; }
.footer-navigation a:hover, .footer-contacts a:hover { color: #e2b77e; }
.footer-client { padding: 13px 18px; color: var(--navy); background: var(--sand); font-weight: 900; }

.cookie-banner {
    position: fixed;
    z-index: 120;
    left: 22px;
    right: 22px;
    bottom: 22px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 30px;
    max-width: 1180px;
    margin: auto;
    padding: 22px 24px;
    color: #fff;
    background: rgba(12,25,40,.98);
    border: 1px solid rgba(226,183,126,.35);
    box-shadow: 0 20px 70px rgba(0,0,0,.32);
}
.cookie-banner-copy { display: grid; gap: 6px; }
.cookie-banner-copy .eyebrow { color: #e2b77e; }
.cookie-banner-copy strong { font-size: 18px; }
.cookie-banner-copy p { max-width: 760px; margin: 0; color: #cbd1d5; font-size: 12px; line-height: 1.55; }
.cookie-banner-copy a { color: #fff; font-weight: 800; }
.cookie-actions { display: flex; gap: 9px; }
.cookie-primary, .cookie-secondary {
    min-height: 44px;
    padding: 0 18px;
    border: 1px solid var(--sand);
    font-size: 11px;
    font-weight: 900;
}
.cookie-primary { color: var(--navy); background: var(--sand); }
.cookie-secondary { color: #fff; background: transparent; }
.cookie-primary:hover, .cookie-secondary:hover { filter: brightness(1.08); }

.modal-backdrop { position: fixed; z-index: 80; inset: 0; display: grid; place-items: center; padding: 18px; background: rgba(6,9,37,.76); }
.checkout-modal { position: relative; width: min(100%, 760px); max-height: calc(100vh - 36px); overflow: auto; padding: 34px; background: #fff; }
.modal-close { position: absolute; top: 14px; right: 14px; width: 35px; height: 35px; border: 0; background: #edf1ef; font-size: 20px; }
.checkout-modal h2 { margin: 10px 0; color: var(--navy); font-size: 31px; }
.checkout-modal > p { color: var(--muted); font-size: 10px; }
.buyer-type { display: flex; gap: 10px; margin: 22px 0 0; padding: 0; border: 0; }
.buyer-type legend { width: 100%; margin-bottom: 8px; color: #4b555d; font-size: 9px; font-weight: 900; }
.buyer-type label { position: relative; cursor: pointer; }
.buyer-type input { position: absolute; opacity: 0; pointer-events: none; }
.buyer-type span { display: block; min-width: 150px; padding: 13px 18px; border: 1px solid #ccd5d1; color: var(--muted); text-align: center; font-size: 10px; font-weight: 900; }
.buyer-type input:checked + span { border-color: var(--green); color: var(--navy); background: #f4e9db; box-shadow: inset 0 0 0 1px var(--green); }
.checkout-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 22px; }
.checkout-grid label { display: grid; gap: 6px; color: #4b555d; font-size: 9px; font-weight: 900; }
.checkout-grid input, .checkout-grid textarea { width: 100%; min-height: 47px; padding: 10px 12px; border: 1px solid #ccd5d1; outline: 0; }
.checkout-grid textarea { min-height: 78px; resize: vertical; }
.checkout-grid .wide { grid-column: 1 / -1; }
.company-fields { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; padding: 16px; border: 1px solid var(--line); background: var(--cream); }
.company-fields label:last-child { grid-column: 1 / -1; }
.checkout-summary { display: flex; justify-content: space-between; margin: 20px 0 12px; padding: 15px; background: #f2f5f3; }
.order-success { display: grid; place-items: center; padding: 28px 0 5px; text-align: center; }
.order-success > span { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: var(--green); font-size: 24px; }
.order-success p, .order-success small { color: var(--muted); font-size: 10px; }
#created-order-number { padding: 13px 18px; border: 1px dashed var(--green); color: var(--green-dark); background: var(--cream); font-weight: 900; }
.success-close { margin-top: 20px; padding: 12px 18px; border: 0; color: #fff; background: var(--navy); }
.contact-modal { position: relative; width: min(100%, 560px); padding: 38px; background: var(--cream); box-shadow: 0 25px 80px rgba(0,0,0,.3); }
.contact-modal h2 { max-width: 470px; margin: 12px 0; color: var(--navy); font-size: 31px; line-height: 1.1; }
.contact-company { display: block; margin-top: 9px; color: var(--navy); font-size: 11px; }
.contact-modal > p { color: var(--muted); font-size: 11px; line-height: 1.65; }
.contact-options { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 24px 0 12px; }
.contact-options a { display: grid; gap: 5px; padding: 16px; border: 1px solid var(--line); color: var(--navy); background: #fff; text-decoration: none; }
.contact-options span { color: var(--muted); font-size: 8px; font-weight: 800; text-transform: uppercase; }
.contact-options strong { font-size: 12px; overflow-wrap: anywhere; }
.contact-login { display: block; padding: 15px; color: #fff; background: var(--navy); text-align: center; text-decoration: none; font-size: 10px; font-weight: 900; }
.inquiry-modal { position: relative; width: min(100%, 680px); max-height: calc(100vh - 36px); overflow-y: auto; padding: 38px; background: var(--cream); box-shadow: 0 25px 80px rgba(0,0,0,.3); }
.inquiry-modal h2 { max-width: 550px; margin: 12px 0; color: var(--navy); font-size: 34px; line-height: 1.08; }
.inquiry-modal > p { max-width: 570px; color: var(--muted); font-size: 11px; line-height: 1.65; }
.account-inquiry-info { margin: 17px 0; padding: 16px 18px; border-left: 3px solid var(--green); background: #f2e8db; }
.account-inquiry-info strong { color: var(--navy); font-size: 13px; }
.account-inquiry-info ul { margin: 10px 0; padding-left: 19px; color: #3f4a53; font-size: 12px; line-height: 1.6; }
.account-inquiry-info p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.55; }
.inquiry-honeypot { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; opacity: 0 !important; }
.inquiry-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; margin-top: 22px; }
.inquiry-form-grid label { display: grid; gap: 7px; color: #3e4851; font-size: 9px; font-weight: 900; }
.inquiry-form-grid label.wide { grid-column: 1 / -1; }
.inquiry-form-grid input, .inquiry-form-grid textarea { width: 100%; min-height: 47px; padding: 10px 12px; border: 1px solid #ccd5d1; background: #fff; font: inherit; font-size: 10px; }
.inquiry-form-grid textarea { min-height: 135px; resize: vertical; }
.inquiry-submit { width: 100%; min-height: 49px; margin-top: 13px; border: 0; color: #fff; background: var(--navy); font-size: 10px; font-weight: 900; }
.inquiry-success { min-height: 270px; display: grid; place-content: center; justify-items: center; text-align: center; }
.inquiry-success > span { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: var(--green); font-size: 24px; }
.inquiry-success h3 { margin: 17px 0 7px; color: var(--navy); font-size: 25px; }
.inquiry-success p { max-width: 430px; margin: 0; color: var(--muted); font-size: 10px; line-height: 1.6; }
.inquiry-success button { min-height: 42px; margin-top: 20px; padding: 0 18px; border: 0; color: #fff; background: var(--navy); font-size: 9px; font-weight: 900; }
.public-toast { position: fixed; z-index: 100; right: 20px; bottom: 20px; max-width: 360px; padding: 14px 18px; color: #fff; background: var(--navy); font-size: 11px; box-shadow: 0 12px 30px rgba(0,0,0,.22); }

/* Maintain legibility without changing the visual hierarchy. */
.worldwide-strip > span, .language-switch a, .public-brand small,
.auth-state strong, .auth-state small, .phone-link span, .public-header nav a,
.catalog-state, .process-card article b, .workspace-heading p,
.price-mode-toggle button, .public-result .part span, .public-result > span,
.public-result p, .delivery-label, .public-result .result-price small,
.cart-item-top span, .cart-item p, .cart-total span, .cart-total small,
.tracking-card label, .status-step, .tracking-update time, .footer-brand span,
.footer-brand small, .checkout-modal > p, .buyer-type legend,
.checkout-grid label, .contact-options span, .inquiry-form-grid label,
.inquiry-form-grid input, .inquiry-form-grid textarea, .inquiry-success p {
    font-size: max(10px, .7rem);
}

@media (max-width: 1120px) {
    .public-header { grid-template-columns: auto auto; }
    .public-header nav { grid-column: 1 / -1; grid-row: 2; padding: 0 0 13px; }
    .header-actions { justify-self: end; }
    .public-header { padding-top: 7px; }
    .public-footer { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
    .phone-link { display: none; }
    .auth-state small { display: none; }
    .hero { min-height: 860px; }
    .process-card { grid-template-columns: repeat(4, 1fr); }
    .process-card > i { display: none; }
    .catalog-workspace { grid-template-columns: 1fr; }
    .public-admin-pricing { grid-template-columns: 1fr 1fr 1fr; }
    .public-admin-pricing > div:first-child { grid-column: 1 / -1; }
    .order-cart { position: static; }
    .about-section, .business-section, .tracking-section { grid-template-columns: 1fr; }
    .about-photo, .business-photo { min-height: 390px; }
    .business-photo { grid-row: 1; background-image: linear-gradient(180deg, transparent 70%, #fff), url("ego-bmw-city.webp"); }
}
@media (max-width: 690px) {
    .messenger-links { display: none; }
    .worldwide-strip { justify-content: flex-start; padding-right: 174px; text-align: left; font-size: 9px; }
    .worldwide-message { display: none; }
    .language-switch { right: 12px; }
    .public-header { min-height: 72px; grid-template-columns: 1fr auto auto; padding: 5px 14px; }
    .public-brand img { width: 55px; height: 55px; }
    .public-brand > span { display: none; }
    .menu-button { display: block; }
    .public-header nav {
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        display: none;
        padding: 17px;
        background: var(--navy-soft);
        flex-direction: column;
    }
    .public-header nav.open { display: flex; }
    .client-zone-button { padding: 10px 12px; font-size: 9px; }
    .client-zone-button span { display: none; }
    .auth-state > div { max-width: 105px; }
    .auth-state strong { max-width: 105px; font-size: 8px; }
    .hero { min-height: 900px; background-position: 67% center; }
    .hero-overlay { background: linear-gradient(90deg, rgba(6,14,23,.91) 0%, rgba(6,14,23,.7) 58%, rgba(6,14,23,.34) 100%), linear-gradient(180deg, transparent 30%, rgba(6,14,23,.88)); }
    .hero-content { margin: 55px auto 0; text-align: left; }
    .hero h1 { font-size: 43px; }
    .hero-content > p { font-size: 12px; }
    .hero-search { grid-template-columns: 42px 1fr; border-radius: 20px; }
    .hero-search input { min-width: 0; font-size: 14px; }
    .hero-search button { grid-column: 1 / -1; min-width: 0; border-radius: 12px; }
    .part-help { align-items: stretch; flex-direction: column; border-radius: 12px; }
    .process-card { bottom: 20px; grid-template-columns: 1fr 1fr; padding: 18px; }
    .process-card article:nth-of-type(n+3) { display: grid; }
    .catalog-workspace { padding: 42px 12px 55px; }
    .workspace-heading { align-items: flex-start; flex-direction: column; }
    .workspace-tools { width: 100%; justify-items: start; }
    .public-admin-pricing { grid-template-columns: 1fr 1fr; gap: 15px; padding: 18px 15px; }
    .public-admin-pricing > div:first-child { grid-column: 1 / -1; }
    .public-admin-pricing > button { grid-column: 1 / -1; }
    .public-result { grid-template-columns: 1fr auto; gap: 8px; }
    .public-result p { grid-column: 1 / -1; }
    .public-result .result-price { text-align: left; }
    .public-result > button { grid-column: 2; grid-row: 1; }
    .about-section, .business-section { padding: 0; }
    .about-content, .business-copy { padding: 58px 20px; }
    .tracking-section, .faq-section { padding: 58px 20px; }
    .tracking-card { padding: 20px 15px; }
    .tracking-card form > div { grid-template-columns: 1fr; }
    .tracking-card form button { min-height: 46px; }
    .status-timeline { grid-template-columns: 1fr; gap: 9px; }
    .status-step { padding: 0 0 0 25px; }
    .status-step::before { top: 4px; left: 5px; width: 2px; height: calc(100% + 9px); }
    .public-footer { grid-template-columns: 1fr; gap: 25px; }
    .cookie-banner { left: 10px; right: 10px; bottom: 10px; grid-template-columns: 1fr; gap: 15px; padding: 18px; }
    .cookie-actions { display: grid; grid-template-columns: 1fr 1fr; }
    .cookie-primary, .cookie-secondary { padding: 0 10px; }
    .checkout-modal { padding: 28px 18px; }
    .checkout-grid { grid-template-columns: 1fr; }
    .checkout-grid .wide { grid-column: auto; }
    .buyer-type { flex-direction: column; }
    .buyer-type span { width: 100%; }
    .company-fields { grid-template-columns: 1fr; }
    .company-fields label:last-child { grid-column: auto; }
    .contact-options { grid-template-columns: 1fr; }
    .contact-modal { padding: 32px 20px; }
    .inquiry-modal { padding: 32px 20px; }
    .inquiry-form-grid { grid-template-columns: 1fr; }
    .inquiry-form-grid label.wide { grid-column: auto; }
}
