/* =============================================================================
   e-Tir — professional theme (design system)
   Loaded after the legacy CDN stylesheets so it elevates the whole app.
   New chrome (header, footer, hero, cards, sections) uses the `et-` prefix so
   it never collides with the legacy Bootstrap-4 markup the CDN JS depends on.
   ========================================================================== */

:root {
    /* Palette aligned to the legacy e-Tir brand: deep petrol-blue #134a6d
       (legacy .blue-text) + signature golden yellow #ffcc00. */
    --et-navy: #134a6d;
    --et-navy-700: #0f3c58;
    --et-navy-600: #196290;
    --et-blue: #196290;
    --et-blue-600: #1d76ac;
    --et-azure: #2b8fc7;
    --et-amber: #ffcc00;
    --et-amber-600: #fdc200;
    --et-ink: #23282d;
    --et-body: #45525c;
    --et-muted: #7c8a95;
    --et-line: #e2e9ef;
    --et-bg: #ffffff;
    --et-bg-soft: #f5f8fa;
    --et-bg-softer: #eaf1f6;
    --et-white: #ffffff;
    --et-success: #2fa36b;
    --et-danger: #e5484d;

    --et-radius: 14px;
    --et-radius-sm: 10px;
    --et-radius-pill: 999px;
    --et-shadow-sm: 0 2px 8px rgba(19, 74, 109, .06);
    --et-shadow: 0 10px 30px rgba(19, 74, 109, .10);
    --et-shadow-lg: 0 24px 60px rgba(19, 74, 109, .16);
    --et-container: 1200px;
    --et-font: 'Lato', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --et-display: 'Poppins', var(--et-font);
    --et-trans: .22s cubic-bezier(.4, 0, .2, 1);
}

/* ---- base refinements (light touch on the whole app) --------------------- */
body {
    font-family: var(--et-font);
    color: var(--et-body);
    background: var(--et-bg);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
.et-scope h1, .et-scope h2, .et-scope h3, .et-scope h4, .et-scope h5 {
    font-family: var(--et-display);
    color: var(--et-ink);
    font-weight: 700;
    letter-spacing: -.01em;
}
.et-scope a { color: var(--et-blue); text-decoration: none; transition: color var(--et-trans); }
.et-scope a:hover { color: var(--et-navy); }

.et-container { max-width: var(--et-container); margin: 0 auto; padding: 0 20px; }
.et-section { padding: 84px 0; }
.et-section--soft { background: var(--et-bg-soft); }
.et-section--navy { background: var(--et-navy); color: #cdd8ea; }
.et-eyebrow {
    display: inline-block; font-family: var(--et-display); font-weight: 700;
    font-size: .78rem; letter-spacing: .14em; text-transform: uppercase;
    color: var(--et-blue); margin-bottom: 12px;
}
.et-section--navy .et-eyebrow { color: var(--et-amber); }
.et-title { font-family: var(--et-display); font-weight: 800; color: var(--et-ink); font-size: clamp(1.7rem, 3vw, 2.5rem); line-height: 1.15; margin: 0 0 14px; }
.et-section--navy .et-title { color: #fff; }
.et-lead { font-size: 1.08rem; color: var(--et-muted); max-width: 640px; margin: 0 auto; }
.et-text-center { text-align: center; }

/* ---- buttons ------------------------------------------------------------- */
.et-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 9px;
    font-family: var(--et-display); font-weight: 600; font-size: .96rem;
    padding: 12px 26px; border-radius: var(--et-radius-pill); border: 2px solid transparent;
    cursor: pointer; transition: all var(--et-trans); text-decoration: none; line-height: 1;
}
.et-btn:focus-visible { outline: 3px solid rgba(25, 98, 144, .35); outline-offset: 2px; }
.et-btn--primary { background: var(--et-blue); color: #fff; box-shadow: 0 8px 20px rgba(25, 98, 144, .30); }
.et-btn--primary:hover { background: var(--et-navy-700); color: #fff; transform: translateY(-2px); box-shadow: 0 12px 26px rgba(19, 74, 109, .3); }
.et-btn--accent { background: var(--et-amber); color: var(--et-navy); box-shadow: 0 8px 20px rgba(253, 194, 0, .40); }
.et-btn--accent:hover { background: var(--et-amber-600); color: var(--et-navy); transform: translateY(-2px); }
.et-btn--ghost { background: transparent; color: var(--et-navy); border-color: var(--et-line); }
.et-btn--ghost:hover { border-color: var(--et-blue); color: var(--et-blue); }
.et-btn--light { background: #fff; color: var(--et-navy); }
.et-btn--light:hover { background: var(--et-bg-softer); color: var(--et-navy); transform: translateY(-2px); }
.et-btn--lg { padding: 15px 34px; font-size: 1.02rem; }
.et-btn--block { display: flex; width: 100%; }

/* ---- header / navbar ----------------------------------------------------- */
.et-header { position: sticky; top: 0; z-index: 1030; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(150%) blur(10px); border-bottom: 1px solid var(--et-line); }
.et-topbar { background: var(--et-navy); color: #b9c6dc; font-size: .82rem; }
.et-topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 38px; }
.et-topbar a { color: #cdd8ea; }
.et-topbar a:hover { color: #fff; }
.et-topbar__contact { display: flex; gap: 22px; align-items: center; }
.et-topbar__contact span { display: inline-flex; align-items: center; gap: 7px; }
.et-nav { display: flex; align-items: center; justify-content: space-between; height: 74px; gap: 20px; }
.et-brand { display: flex; align-items: center; gap: 10px; }
.et-brand img { height: 38px; width: auto; display: block; }
.et-nav__links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.et-nav__links > li > a {
    font-family: var(--et-display); font-weight: 600; font-size: .95rem; color: var(--et-navy);
    padding: 10px 15px; border-radius: var(--et-radius-sm); display: inline-block; transition: all var(--et-trans);
}
.et-nav__links > li > a:hover, .et-nav__links > li > a.is-active { background: var(--et-bg-softer); color: var(--et-blue); }
.et-nav__actions { display: flex; align-items: center; gap: 10px; }

/* language switcher */
.et-lang { position: relative; }
.et-lang__toggle { display: inline-flex; align-items: center; gap: 8px; background: var(--et-bg-soft); border: 1px solid var(--et-line); border-radius: var(--et-radius-pill); padding: 7px 12px; cursor: pointer; font-family: var(--et-display); font-weight: 600; font-size: .85rem; color: var(--et-navy); transition: all var(--et-trans); }
.et-lang__toggle:hover { border-color: var(--et-blue); }
.et-lang__toggle img { width: 22px; height: 15px; border-radius: 3px; object-fit: cover; box-shadow: 0 0 0 1px rgba(0, 0, 0, .05); }
.et-lang__menu { position: absolute; right: 0; top: calc(100% + 8px); background: #fff; border: 1px solid var(--et-line); border-radius: var(--et-radius-sm); box-shadow: var(--et-shadow); min-width: 172px; padding: 6px; opacity: 0; visibility: hidden; transform: translateY(-6px); transition: all var(--et-trans); z-index: 20; }
.et-lang.is-open .et-lang__menu { opacity: 1; visibility: visible; transform: translateY(0); }
.et-lang__menu a { display: flex; align-items: center; gap: 10px; padding: 9px 11px; border-radius: 8px; color: var(--et-navy); font-weight: 600; font-size: .9rem; }
.et-lang__menu a:hover { background: var(--et-bg-soft); }
.et-lang__menu a.is-active { background: var(--et-bg-softer); }
.et-lang__menu img { width: 24px; height: 16px; border-radius: 3px; object-fit: cover; box-shadow: 0 0 0 1px rgba(0, 0, 0, .05); }

.et-iconbtn { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 50%; background: var(--et-bg-soft); color: var(--et-navy); border: 1px solid var(--et-line); transition: all var(--et-trans); }
.et-iconbtn:hover { background: var(--et-blue); color: #fff; border-color: var(--et-blue); }
.et-iconbtn .et-badge { position: absolute; top: -4px; right: -4px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 999px; background: var(--et-amber); color: var(--et-navy); font-size: .68rem; font-weight: 800; display: flex; align-items: center; justify-content: center; border: 2px solid #fff; }

.et-burger { display: none; width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--et-line); background: #fff; cursor: pointer; align-items: center; justify-content: center; }
.et-burger span, .et-burger span::before, .et-burger span::after { content: ''; display: block; width: 20px; height: 2px; background: var(--et-navy); border-radius: 2px; position: relative; transition: all var(--et-trans); }
.et-burger span::before { position: absolute; top: -6px; }
.et-burger span::after { position: absolute; top: 6px; }

.et-user { display: inline-flex; align-items: center; gap: 9px; padding: 6px 14px 6px 6px; border-radius: var(--et-radius-pill); background: var(--et-bg-soft); border: 1px solid var(--et-line); cursor: pointer; }
.et-user__avatar { width: 32px; height: 32px; border-radius: 50%; background: var(--et-navy); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-family: var(--et-display); font-weight: 700; font-size: .82rem; }
.et-user__name { font-family: var(--et-display); font-weight: 600; font-size: .88rem; color: var(--et-navy); max-width: 150px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---- hero ---------------------------------------------------------------- */
.et-hero { position: relative; background: radial-gradient(1200px 500px at 80% -10%, rgba(43, 143, 199, .22), transparent 60%), linear-gradient(160deg, #0f3c58 0%, #134a6d 55%, #196290 100%); color: #dbe6f5; overflow: hidden; }
.et-hero::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 90px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 90' preserveAspectRatio='none'%3E%3Cpath fill='%23ffffff' d='M0 60 C 240 90 480 20 720 40 C 960 60 1200 95 1440 55 L1440 90 L0 90 Z'/%3E%3C/svg%3E") no-repeat center / cover; }
.et-hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; padding: 70px 0 130px; }
.et-hero__badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); color: #cfe0f5; padding: 7px 15px; border-radius: 999px; font-size: .82rem; font-weight: 600; margin-bottom: 22px; }
.et-hero h1 { font-family: var(--et-display); font-weight: 800; color: #fff; font-size: clamp(2.1rem, 4.4vw, 3.5rem); line-height: 1.08; margin: 0 0 18px; letter-spacing: -.02em; }
.et-hero h1 em { color: var(--et-amber); font-style: normal; }
.et-hero p { font-size: 1.14rem; color: #b8c8e0; max-width: 520px; margin: 0 0 30px; }
.et-hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 34px; }
.et-hero__stats { display: flex; gap: 34px; flex-wrap: wrap; }
.et-stat__num { font-family: var(--et-display); font-weight: 800; font-size: 1.8rem; color: #fff; }
.et-stat__label { font-size: .84rem; color: #9db2d2; }
.et-hero__art { position: relative; }
.et-hero__art img { width: 100%; height: auto; filter: drop-shadow(0 30px 50px rgba(0, 0, 0, .35)); }

/* ---- feature / step / route cards --------------------------------------- */
.et-grid { display: grid; gap: 24px; }
.et-grid--3 { grid-template-columns: repeat(3, 1fr); }
.et-grid--4 { grid-template-columns: repeat(4, 1fr); }
.et-card { background: #fff; border: 1px solid var(--et-line); border-radius: var(--et-radius); padding: 30px 26px; box-shadow: var(--et-shadow-sm); transition: all var(--et-trans); height: 100%; }
.et-card:hover { transform: translateY(-6px); box-shadow: var(--et-shadow); border-color: transparent; }
.et-card__icon { width: 58px; height: 58px; border-radius: 16px; background: linear-gradient(140deg, var(--et-blue), var(--et-azure)); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.et-card__icon img { width: 30px; height: 30px; }
.et-card h3 { font-size: 1.16rem; margin: 0 0 9px; }
.et-card p { color: var(--et-muted); font-size: .96rem; margin: 0; line-height: 1.6; }

.et-step { text-align: center; position: relative; }
.et-step__num { width: 62px; height: 62px; margin: 0 auto 16px; border-radius: 50%; background: #fff; border: 2px solid var(--et-line); color: var(--et-blue); font-family: var(--et-display); font-weight: 800; font-size: 1.4rem; display: flex; align-items: center; justify-content: center; box-shadow: var(--et-shadow-sm); }
.et-step h4 { font-size: 1.08rem; margin: 0 0 7px; }
.et-step p { color: var(--et-muted); font-size: .92rem; margin: 0; }

.et-trust { display: flex; align-items: center; gap: 12px; }
.et-trust img { width: 44px; height: 44px; }
.et-trust__t { font-family: var(--et-display); font-weight: 700; color: #fff; }
.et-trust__s { font-size: .86rem; color: #9db2d2; }

/* ---- CTA band ------------------------------------------------------------ */
.et-cta { background: linear-gradient(120deg, var(--et-blue), var(--et-navy-700)); border-radius: 22px; padding: 52px; color: #fff; display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; box-shadow: var(--et-shadow-lg); }
.et-cta h2 { color: #fff; font-family: var(--et-display); font-weight: 800; font-size: 1.9rem; margin: 0 0 8px; }
.et-cta p { color: #d4e2f7; margin: 0; }

/* ---- footer -------------------------------------------------------------- */
.et-footer { background: var(--et-navy); color: #9db2d2; padding: 66px 0 0; }
.et-footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 34px; padding-bottom: 44px; }
.et-footer__brand img { height: 40px; margin-bottom: 16px; }
.et-footer__brand p { font-size: .94rem; line-height: 1.7; max-width: 300px; }
.et-footer h5 { color: #fff; font-family: var(--et-display); font-weight: 700; font-size: 1rem; margin: 4px 0 18px; }
.et-footer ul { list-style: none; margin: 0; padding: 0; }
.et-footer ul li { margin-bottom: 11px; }
.et-footer ul li a { color: #9db2d2; font-size: .94rem; }
.et-footer ul li a:hover { color: var(--et-amber); }
.et-footer__contact li { display: flex; gap: 10px; align-items: flex-start; }
.et-social { display: flex; gap: 10px; margin-top: 14px; }
.et-social a { width: 38px; height: 38px; border-radius: 10px; background: rgba(255, 255, 255, .07); display: inline-flex; align-items: center; justify-content: center; color: #cdd8ea; transition: all var(--et-trans); }
.et-social a:hover { background: var(--et-amber); color: var(--et-navy); transform: translateY(-3px); }
.et-footer__bottom { border-top: 1px solid rgba(255, 255, 255, .09); padding: 22px 0; display: flex; align-items: center; justify-content: space-between; gap: 14px; font-size: .86rem; flex-wrap: wrap; }

/* ---- generic surface used to wrap ported inner pages --------------------- */
.et-page { background: var(--et-bg-soft); min-height: 60vh; }
.et-page__head { background: linear-gradient(135deg, var(--et-navy) 0%, var(--et-navy-700) 100%); color: #fff; padding: 46px 0; }
.et-page__head h1 { color: #fff; font-family: var(--et-display); font-weight: 800; margin: 0; font-size: clamp(1.5rem, 3vw, 2.1rem); }
.et-page__head .et-crumbs { color: #a9bcda; font-size: .9rem; margin-top: 8px; }
.et-page__head .et-crumbs a { color: #cfe0f5; }
.et-panel { background: #fff; border: 1px solid var(--et-line); border-radius: var(--et-radius); box-shadow: var(--et-shadow-sm); padding: 30px; }

/* ---- responsive ---------------------------------------------------------- */
@media (max-width: 991px) {
    .et-hero__grid { grid-template-columns: 1fr; padding: 40px 0 120px; }
    .et-hero__art { display: none; }
    .et-grid--3, .et-grid--4 { grid-template-columns: repeat(2, 1fr); }
    .et-footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
    .et-nav__links, .et-topbar { display: none; }
    .et-burger { display: inline-flex; }
    .et-nav__mobile-open .et-nav__links { display: flex; position: fixed; inset: 0 0 0 auto; width: min(82vw, 340px); background: #fff; flex-direction: column; align-items: stretch; padding: 90px 22px 30px; box-shadow: var(--et-shadow-lg); z-index: 1040; gap: 6px; }
    .et-nav__mobile-open .et-nav__links > li > a { display: block; }
    .et-section { padding: 60px 0; }
    .et-cta { padding: 36px 26px; text-align: center; justify-content: center; }
}
@media (max-width: 560px) {
    .et-grid--3, .et-grid--4, .et-footer__grid { grid-template-columns: 1fr; }
    .et-user__name { display: none; }
}

/* =============================================================================
   Auth pages — premium split-screen (brand panel + form panel)
   ========================================================================== */
.et-auth { display: grid; grid-template-columns: 1.02fr 1fr; min-height: calc(100vh - 112px); }
.et-auth__brand { position: relative; background: linear-gradient(160deg, #0f3c58 0%, #134a6d 55%, #196290 100%); color: #dbe8f0; padding: 56px 60px; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; }
.et-auth__brand::before { content: ''; position: absolute; inset: 0; background: radial-gradient(600px 300px at 90% 0%, rgba(255,204,0,.14), transparent 60%), radial-gradient(500px 260px at 0% 100%, rgba(43,143,199,.22), transparent 60%); }
.et-auth__brand > * { position: relative; z-index: 1; }
.et-auth__logo img { height: 42px; }
.et-auth__pitch h2 { font-family: var(--et-display); font-weight: 800; color: #fff; font-size: clamp(1.7rem, 2.6vw, 2.4rem); line-height: 1.15; margin: 0 0 16px; }
.et-auth__pitch h2 em { color: var(--et-amber); font-style: normal; }
.et-auth__pitch p { color: #a9c2d4; font-size: 1.05rem; max-width: 420px; margin: 0 0 30px; }
.et-auth__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.et-auth__list li { display: flex; gap: 13px; align-items: flex-start; }
.et-auth__list .ic { flex: 0 0 auto; width: 38px; height: 38px; border-radius: 11px; background: rgba(255,255,255,.09); display: inline-flex; align-items: center; justify-content: center; }
.et-auth__list .ic img { width: 21px; height: 21px; }
.et-auth__list strong { display: block; color: #fff; font-family: var(--et-display); font-weight: 600; font-size: .98rem; }
.et-auth__list span { color: #9db6c7; font-size: .88rem; }
.et-auth__quote { border-left: 3px solid var(--et-amber); padding-left: 16px; color: #cfe0ea; font-size: .95rem; }
.et-auth__quote cite { display: block; margin-top: 6px; color: #8fabbd; font-style: normal; font-size: .84rem; }

.et-auth__form { display: flex; align-items: center; justify-content: center; padding: 48px 24px; background: var(--et-bg); }
.et-auth__card { width: 100%; max-width: 452px; }
.et-auth__card--wide { max-width: 620px; }
.et-auth__head { margin-bottom: 26px; }
.et-auth__head h1 { font-family: var(--et-display); font-weight: 800; color: var(--et-ink); font-size: 1.7rem; margin: 0 0 6px; }
.et-auth__head p { color: var(--et-muted); margin: 0; font-size: .96rem; }
.et-auth__foot { margin-top: 22px; text-align: center; color: var(--et-muted); font-size: .93rem; }
.et-auth__foot a { font-weight: 600; }

/* forms (et- form system + light touch on legacy .form-control) */
.et-field { margin-bottom: 17px; }
.et-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.et-label, .et-scope form label { display: block; font-family: var(--et-display); font-weight: 600; font-size: .86rem; color: var(--et-navy); margin-bottom: 7px; }
.et-input, .et-select,
.et-scope .form-control, .et-scope select.form-control {
    width: 100%; padding: 12px 15px; font-size: .96rem; color: var(--et-ink);
    background: #fff; border: 1.5px solid var(--et-line); border-radius: var(--et-radius-sm);
    transition: border-color var(--et-trans), box-shadow var(--et-trans); font-family: var(--et-font); line-height: 1.3;
}
.et-input:focus, .et-select:focus,
.et-scope .form-control:focus {
    outline: none; border-color: var(--et-blue); box-shadow: 0 0 0 4px rgba(25,98,144,.12);
}
.et-input.is-invalid, .et-scope .form-control.is-invalid { border-color: var(--et-danger); }
.et-invalid, .et-scope .invalid-feedback { display: block; color: var(--et-danger); font-size: .82rem; margin-top: 6px; }
.et-check { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 12px; }
.et-check input { margin-top: 3px; width: 17px; height: 17px; accent-color: var(--et-blue); flex: 0 0 auto; }
.et-check label { margin: 0; font-weight: 400; color: var(--et-body); font-size: .92rem; font-family: var(--et-font); }
.et-checks { border: 1px solid var(--et-line); border-radius: var(--et-radius-sm); padding: 15px 16px; max-height: 190px; overflow-y: auto; background: var(--et-bg-soft); }

.et-alert { padding: 13px 16px; border-radius: var(--et-radius-sm); font-size: .92rem; margin-bottom: 18px; border: 1px solid transparent; }
.et-alert--danger { background: #fdecec; color: #a3282c; border-color: #f6cdcf; }
.et-alert--success { background: #e8f6ef; color: #1d6f49; border-color: #bfe6d3; }

/* account / dashboard pages */
.et-account { display: grid; grid-template-columns: 260px 1fr; gap: 26px; align-items: start; }
.et-side { background: #fff; border: 1px solid var(--et-line); border-radius: var(--et-radius); box-shadow: var(--et-shadow-sm); padding: 12px; position: sticky; top: 96px; }
.et-side a { display: flex; align-items: center; gap: 11px; padding: 11px 14px; border-radius: var(--et-radius-sm); color: var(--et-navy); font-family: var(--et-display); font-weight: 600; font-size: .93rem; }
.et-side a:hover { background: var(--et-bg-soft); }
.et-side a.is-active { background: var(--et-navy); color: #fff; }
.et-side a i { width: 18px; text-align: center; }

@media (max-width: 900px) {
    .et-auth { grid-template-columns: 1fr; }
    .et-auth__brand { display: none; }
    .et-account { grid-template-columns: 1fr; }
    .et-side { position: static; display: flex; overflow-x: auto; }
}
@media (max-width: 520px) {
    .et-grid-2 { grid-template-columns: 1fr; }
    .et-auth__form { padding: 30px 18px; }
}

/* ---- cart / checkout ----------------------------------------------------- */
.et-cart { display: grid; grid-template-columns: 1fr 384px; gap: 26px; align-items: start; }
.et-cart__summary { position: sticky; top: 96px; }
.et-cartitem { background: #fff; border: 1px solid var(--et-line); border-radius: var(--et-radius); box-shadow: var(--et-shadow-sm); padding: 22px; margin-bottom: 18px; transition: box-shadow var(--et-trans); }
.et-cartitem:hover { box-shadow: var(--et-shadow); }
.et-cartitem__head { display: flex; gap: 14px; align-items: center; padding-bottom: 15px; border-bottom: 1px solid var(--et-line); margin-bottom: 15px; }
.et-cartitem__logo { width: 92px; height: 46px; object-fit: contain; }
.et-cartitem__provider { font-family: var(--et-display); font-weight: 700; color: var(--et-navy); }
.et-cartitem__price { font-family: var(--et-display); font-weight: 800; color: var(--et-navy); font-size: 1.22rem; white-space: nowrap; }
.et-cartitem__old { color: var(--et-muted); text-decoration: line-through; font-size: .9rem; margin-right: 6px; font-weight: 600; }
.et-route { display: flex; align-items: center; gap: 10px; font-family: var(--et-display); font-weight: 600; color: var(--et-ink); flex-wrap: wrap; }
.et-route img.flag { width: 22px; height: 15px; border-radius: 2px; box-shadow: 0 0 0 1px rgba(0,0,0,.06); }
.et-route .sep { color: var(--et-amber); }
.et-meta { color: var(--et-muted); font-size: .9rem; display: flex; gap: 16px; flex-wrap: wrap; margin-top: 8px; }
.et-meta b { color: var(--et-navy); font-weight: 600; }
.et-summary__total { display: flex; justify-content: space-between; align-items: baseline; padding: 16px 0; border-top: 2px solid var(--et-line); margin-top: 8px; }
.et-summary__total .lbl { font-family: var(--et-display); font-weight: 600; color: var(--et-body); }
.et-summary__total .val { font-family: var(--et-display); font-weight: 800; color: var(--et-navy); font-size: 1.5rem; }
.et-pay { border: 1.5px solid var(--et-line); border-radius: var(--et-radius-sm); padding: 12px 14px; margin-bottom: 10px; cursor: pointer; display: flex; align-items: center; gap: 10px; transition: border-color var(--et-trans); }
.et-pay:hover { border-color: var(--et-blue); }
.et-pay input { accent-color: var(--et-blue); width: 17px; height: 17px; }
.et-empty { text-align: center; padding: 60px 20px; }
.et-empty img { max-width: 220px; opacity: .9; margin-bottom: 18px; }
@media (max-width: 900px) { .et-cart { grid-template-columns: 1fr; } .et-cart__summary { position: static; } }

/* ---- widgets (routes / partners / newsletter / my-routes) ---------------- */
.et-routes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.et-rcard { display: flex; align-items: center; justify-content: space-between; gap: 14px; background: #fff; border: 1px solid var(--et-line); border-radius: var(--et-radius); padding: 18px 20px; box-shadow: var(--et-shadow-sm); transition: all var(--et-trans); }
.et-rcard:hover { transform: translateY(-4px); box-shadow: var(--et-shadow); border-color: transparent; }
.et-rcard__route { font-family: var(--et-display); font-weight: 700; color: var(--et-navy); font-size: 1.02rem; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.et-rcard__route img { width: 22px; height: 15px; border-radius: 3px; box-shadow: 0 0 0 1px rgba(0,0,0,.06); }
.et-rcard__route .arw { color: var(--et-amber); }
.et-rcard__meta { font-size: .82rem; color: var(--et-muted); margin-top: 4px; }
.et-rcard__meta b { color: var(--et-blue); }
.et-rcard__cta { flex: 0 0 auto; }
.et-badge-rank { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 8px; background: var(--et-amber); color: var(--et-navy); font-family: var(--et-display); font-weight: 800; font-size: .82rem; margin-right: 4px; }

.et-partners { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 20px 40px; }
.et-partners img { height: 42px; max-width: 130px; object-fit: contain; filter: grayscale(100%); opacity: .62; transition: all var(--et-trans); }
.et-partners img:hover { filter: grayscale(0); opacity: 1; }

.et-news { background: linear-gradient(120deg, var(--et-navy) 0%, var(--et-navy-600) 100%); border-radius: 22px; padding: 44px 48px; color: #fff; display: grid; grid-template-columns: 1fr auto; gap: 26px; align-items: center; box-shadow: var(--et-shadow-lg); }
.et-news h3 { font-family: var(--et-display); font-weight: 800; color: #fff; font-size: 1.6rem; margin: 0 0 6px; }
.et-news p { color: #b8cede; margin: 0; }
.et-news__form { display: flex; gap: 10px; min-width: 340px; }
.et-news__form input { flex: 1; padding: 13px 16px; border-radius: var(--et-radius-pill); border: 1.5px solid rgba(255,255,255,.2); background: rgba(255,255,255,.1); color: #fff; font-size: .95rem; }
.et-news__form input::placeholder { color: #a9c2d4; }
.et-news__form input:focus { outline: none; border-color: var(--et-amber); background: rgba(255,255,255,.15); }
.et-news__msg { margin-top: 10px; font-size: .9rem; font-weight: 600; color: var(--et-amber); min-height: 20px; }

.et-myroutes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.et-mrcard { display: flex; align-items: center; justify-content: space-between; gap: 12px; background: #fff; border: 1px solid var(--et-line); border-left: 4px solid var(--et-amber); border-radius: var(--et-radius-sm); padding: 16px 18px; box-shadow: var(--et-shadow-sm); }

@media (max-width: 900px) { .et-routes { grid-template-columns: 1fr 1fr; } .et-news { grid-template-columns: 1fr; } .et-news__form { min-width: 0; } .et-myroutes { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .et-routes { grid-template-columns: 1fr; } .et-news__form { flex-direction: column; } }

/* ---- enterprise dark header (uses the real white e-Tir logo) ------------- */
.et-header { background: #0f3c58; background-image: linear-gradient(180deg,#0f3c58,#123f5e); border-bottom: 1px solid rgba(255,255,255,.08); }
.et-topbar { background: #0a2c42; color: #a9c2d4; }
.et-brand img { height: 40px; }
.et-nav__links > li > a { color: #dbe8f0; }
.et-nav__links > li > a:hover, .et-nav__links > li > a.is-active { background: rgba(255,255,255,.09); color: #ffcc00; }
.et-lang__toggle { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.16); color: #fff; }
.et-lang__toggle:hover { border-color: #ffcc00; }
.et-iconbtn { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.16); color: #fff; }
.et-iconbtn:hover { background: #ffcc00; color: #134a6d; border-color: #ffcc00; }
.et-user { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.16); }
.et-user__name { color: #fff; }
.et-header .et-btn--ghost { color: #fff; border-color: rgba(255,255,255,.28); }
.et-header .et-btn--ghost:hover { border-color: #ffcc00; color: #ffcc00; }
.et-burger { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.16); }
.et-burger span, .et-burger span::before, .et-burger span::after { background: #fff; }
@media (max-width: 768px){ .et-nav__mobile-open .et-nav__links { background: #0f3c58; } .et-nav__mobile-open .et-nav__links > li > a { color: #dbe8f0; } }

/* =============================================================================
   Enterprise elevation — announce bar, KPIs, stats, showcase, testimonials,
   scroll-reveal. Layered on top of the base theme.
   ========================================================================== */

/* scroll-reveal — gated behind .js-reveal so content stays fully visible if JS
   is off or fails (progressive enhancement; JS adds .js-reveal to <html> at once). */
.js-reveal .et-reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s cubic-bezier(.4,0,.2,1), transform .7s cubic-bezier(.4,0,.2,1); will-change: opacity, transform; }
.js-reveal .et-reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce){ .js-reveal .et-reveal { opacity:1; transform:none; transition:none; } }

/* announcement bar */
.et-announce { background: #ffcc00; color: #134a6d; font-family: var(--et-display); font-weight: 600; font-size: .86rem; }
.et-announce__in { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 9px 44px 9px 16px; position: relative; text-align: center; }
.et-announce a { color: #134a6d; text-decoration: underline; font-weight: 700; }
.et-announce__x { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); cursor: pointer; border: 0; background: transparent; color: #134a6d; font-size: 16px; line-height: 1; opacity: .7; }
.et-announce__x:hover { opacity: 1; }

/* hero KPI glass cards */
.et-hero__kpis { position: absolute; left: -18px; bottom: 24px; display: grid; gap: 12px; }
.et-kpi { display: flex; align-items: center; gap: 12px; background: rgba(255,255,255,.10); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,.18); border-radius: 14px; padding: 12px 16px; box-shadow: 0 12px 30px rgba(0,0,0,.25); }
.et-kpi__ic { width: 38px; height: 38px; border-radius: 10px; background: rgba(255,204,0,.18); display: inline-flex; align-items: center; justify-content: center; color: #ffcc00; }
.et-kpi__n { font-family: var(--et-display); font-weight: 800; color: #fff; font-size: 1.05rem; line-height: 1; }
.et-kpi__l { font-size: .74rem; color: #b8c8e0; }
.et-hero__trust { display: flex; align-items: center; gap: 14px; margin-top: 26px; color: #9db2d2; font-size: .84rem; }
.et-hero__trust .stars { color: #ffcc00; letter-spacing: 1px; }

/* stats / metrics band */
.et-stats { background: #ffffff; border: 1px solid var(--et-line); border-radius: 18px; box-shadow: var(--et-shadow); display: grid; grid-template-columns: repeat(4, 1fr); overflow: hidden; margin-top: -46px; position: relative; z-index: 3; }
.et-stat-cell { padding: 30px 26px; text-align: center; border-right: 1px solid var(--et-line); }
.et-stat-cell:last-child { border-right: 0; }
.et-stat-cell .n { font-family: var(--et-display); font-weight: 800; font-size: 2.3rem; color: var(--et-navy); line-height: 1; }
.et-stat-cell .n span { color: var(--et-amber); }
.et-stat-cell .l { color: var(--et-muted); font-size: .9rem; margin-top: 8px; }

/* product showcase (text + UI mockup) */
.et-showcase { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: center; }
.et-showcase--rev { grid-template-columns: 1.1fr 1fr; }
.et-showcase__art img { width: 100%; height: auto; border-radius: 16px; box-shadow: var(--et-shadow-lg); border: 1px solid var(--et-line); }
.et-checklist { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 14px; }
.et-checklist li { display: flex; gap: 12px; align-items: flex-start; color: var(--et-body); }
.et-checklist .ck { flex: 0 0 auto; width: 26px; height: 26px; border-radius: 50%; background: rgba(47,163,107,.12); color: #2fa36b; display: inline-flex; align-items: center; justify-content: center; font-size: 12px; }
.et-checklist strong { color: var(--et-ink); font-family: var(--et-display); }

/* testimonials */
.et-quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.et-qcard { background: #fff; border: 1px solid var(--et-line); border-radius: var(--et-radius); padding: 28px; box-shadow: var(--et-shadow-sm); display: flex; flex-direction: column; }
.et-qcard .stars { color: #ffcc00; letter-spacing: 1px; margin-bottom: 12px; }
.et-qcard p { color: var(--et-body); font-size: .98rem; line-height: 1.65; margin: 0 0 20px; }
.et-qcard__who { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.et-qcard__av { width: 44px; height: 44px; border-radius: 50%; background: var(--et-navy); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-family: var(--et-display); font-weight: 700; }
.et-qcard__n { font-family: var(--et-display); font-weight: 700; color: var(--et-navy); font-size: .95rem; }
.et-qcard__c { color: var(--et-muted); font-size: .84rem; }

@media (max-width: 991px){ .et-stats { grid-template-columns: repeat(2,1fr); } .et-stat-cell:nth-child(2){border-right:0;} .et-showcase, .et-showcase--rev { grid-template-columns: 1fr; } .et-quotes { grid-template-columns: 1fr; } .et-hero__kpis { display:none; } }

/* ---- premium page header (all inner pages) ------------------------------- */
.et-page__head { position: relative; overflow: hidden; background: linear-gradient(135deg,#0f3c58 0%,#134a6d 60%,#196290 100%); }
.et-page__head::before { content:''; position:absolute; inset:0; background: radial-gradient(620px 260px at 86% -30%, rgba(255,204,0,.12), transparent 60%), radial-gradient(500px 240px at 0% 130%, rgba(43,143,199,.20), transparent 60%); pointer-events:none; }
.et-page__head::after { content:''; position:absolute; left:0; right:0; bottom:0; height:3px; background: linear-gradient(90deg,#ffcc00,rgba(255,204,0,0)); }
.et-page__head > .et-container { position: relative; z-index: 1; }

/* ---- account dashboard header (KPI cards) -------------------------------- */
.et-dash { position: relative; overflow: hidden; background: linear-gradient(135deg,#0f3c58 0%,#134a6d 60%,#196290 100%); color: #fff; padding: 38px 0 34px; }
.et-dash::before { content:''; position:absolute; inset:0; background: radial-gradient(620px 260px at 88% -30%, rgba(255,204,0,.12), transparent 60%); pointer-events:none; }
.et-dash::after { content:''; position:absolute; left:0; right:0; bottom:0; height:3px; background: linear-gradient(90deg,#ffcc00,rgba(255,204,0,0)); }
.et-dash > .et-container { position: relative; z-index: 1; }
.et-dash__top { display: flex; align-items: center; gap: 15px; margin-bottom: 22px; }
.et-dash__av { flex: 0 0 auto; width: 56px; height: 56px; border-radius: 50%; background: #ffcc00; color: #134a6d; font-family: var(--et-display); font-weight: 800; font-size: 1.25rem; display: flex; align-items: center; justify-content: center; }
.et-dash__hi { font-family: var(--et-display); font-weight: 800; font-size: 1.5rem; color: #fff; line-height: 1.1; }
.et-dash__sub { color: #a9c2d4; font-size: .9rem; margin-top: 2px; }
.et-dash__kpis { display: grid; grid-template-columns: repeat(3, 1fr) auto; gap: 14px; }
.et-dashkpi { display: flex; align-items: center; gap: 13px; background: rgba(255,255,255,.09); border: 1px solid rgba(255,255,255,.15); border-radius: 14px; padding: 15px 18px; text-decoration: none; transition: all var(--et-trans); }
a.et-dashkpi:hover { background: rgba(255,255,255,.14); transform: translateY(-2px); }
.et-dashkpi__ic { flex: 0 0 auto; width: 42px; height: 42px; border-radius: 11px; background: rgba(255,204,0,.16); color: #ffcc00; display: inline-flex; align-items: center; justify-content: center; font-size: 17px; }
.et-dashkpi__n { font-family: var(--et-display); font-weight: 800; font-size: 1.55rem; color: #fff; line-height: 1; }
.et-dashkpi__l { font-size: .8rem; color: #a9c2d4; margin-top: 3px; }
.et-dashkpi--cta { background: #ffcc00; border-color: #ffcc00; color: #134a6d; font-family: var(--et-display); font-weight: 700; justify-content: center; }
.et-dashkpi--cta:hover { background: #fdc200; }
@media (max-width: 900px){ .et-dash__kpis { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px){ .et-dash__kpis { grid-template-columns: 1fr; } }

/* ---- dashboard chart + payment alert ------------------------------------ */
.et-alert-pay { display: flex; align-items: center; gap: 15px; background: #fff9e0; border: 1px solid #ffe08a; border-radius: 14px; padding: 16px 20px; margin-bottom: 24px; }
.et-alert-pay__ic { flex: 0 0 auto; width: 46px; height: 46px; border-radius: 12px; background: #ffcc00; color: #134a6d; display: inline-flex; align-items: center; justify-content: center; font-size: 20px; }
.et-alert-pay__t { color: #7a5c00; font-weight: 600; flex: 1; }
.et-alert-pay__t b { color: #134a6d; }
.et-chart { display: flex; align-items: flex-end; gap: 14px; height: 160px; padding-top: 10px; }
.et-chart__col { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 8px; height: 100%; justify-content: flex-end; }
.et-chart__bar { width: 100%; max-width: 48px; background: linear-gradient(180deg,#2b8fc7,#196290); border-radius: 8px 8px 0 0; min-height: 4px; }
.et-chart__bar.is-top { background: linear-gradient(180deg,#ffcc00,#fdc200); }
.et-chart__v { font-family: var(--et-display); font-weight: 700; font-size: .82rem; color: var(--et-navy); }
.et-chart__l { font-size: .74rem; color: var(--et-muted); }

/* ---- notifications dropdown (header bell) -------------------------------- */
.et-notif__menu { width: 344px; max-height: 430px; overflow-y: auto; }
.et-notif__head { padding: 8px 11px 8px; font-family: var(--et-display); font-weight: 700; color: var(--et-navy); font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; border-bottom: 1px solid var(--et-line); margin-bottom: 4px; }
.et-notif__menu a.et-notif__item { display: flex; gap: 11px; align-items: flex-start; padding: 10px 11px; }
.et-notif__ic { width: 34px; height: 34px; border-radius: 9px; display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; font-size: 14px; }
.et-notif__ic--proof { background: #fdecec; color: #c0393d; }
.et-notif__ic--await { background: #eef3fa; color: #196290; }
.et-notif__ic--cart { background: #fff9e0; color: #9a7b1c; }
.et-notif__t { font-size: .88rem; color: var(--et-body); font-weight: 500; line-height: 1.4; }
.et-notif__empty { padding: 22px; text-align: center; color: var(--et-muted); font-size: .9rem; }
.et-notif__ic--profile { background: #eef3fa; color: #196290; }
.et-notif__ic--route { background: #e8f6ef; color: #2fa36b; }
.et-notif__ic--company { background: #fdecec; color: #c0393d; }

/* =============================================================================
   Enterprise data table + KPI row + toolbar + pagination (orders page)
   ========================================================================== */
.et-kpirow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: 24px; }
.et-kpicard { background: #fff; border: 1px solid var(--et-line); border-radius: 14px; padding: 19px 20px; box-shadow: var(--et-shadow-sm); display: flex; gap: 14px; align-items: center; }
.et-kpicard__ic { flex: 0 0 auto; width: 46px; height: 46px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; font-size: 18px; }
.et-kpicard__ic--blue { background: #eef3fa; color: var(--et-blue); }
.et-kpicard__ic--amber { background: #fff9e0; color: #9a7b1c; }
.et-kpicard__ic--green { background: #e8f6ef; color: #2fa36b; }
.et-kpicard__ic--red { background: #fdecec; color: #c0393d; }
.et-kpicard__n { font-family: var(--et-display); font-weight: 800; font-size: 1.5rem; color: var(--et-navy); line-height: 1; }
.et-kpicard__l { font-size: .82rem; color: var(--et-muted); margin-top: 3px; }

.et-toolbar { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; background: #fff; border: 1px solid var(--et-line); border-radius: 14px; padding: 13px 15px; box-shadow: var(--et-shadow-sm); margin-bottom: 20px; }
.et-toolbar__search { position: relative; flex: 1; min-width: 220px; }
.et-toolbar__search i { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--et-muted); }
.et-toolbar__search .et-input { padding-left: 38px; }
.et-toolbar .et-select { width: auto; min-width: 190px; }

.et-table-wrap { background: #fff; border: 1px solid var(--et-line); border-radius: 14px; box-shadow: var(--et-shadow-sm); overflow-x: auto; }
.et-table { width: 100%; border-collapse: collapse; min-width: 720px; }
.et-table thead th { text-align: left; font-family: var(--et-display); font-weight: 700; font-size: .74rem; text-transform: uppercase; letter-spacing: .05em; color: var(--et-muted); padding: 14px 18px; border-bottom: 1px solid var(--et-line); background: var(--et-bg-soft); white-space: nowrap; }
.et-table tbody td { padding: 15px 18px; border-bottom: 1px solid var(--et-line); font-size: .92rem; color: var(--et-body); vertical-align: middle; }
.et-table tbody tr:last-child td { border-bottom: 0; }
.et-table tbody tr:hover { background: var(--et-bg-soft); }
.et-table__nr { font-family: var(--et-display); font-weight: 700; color: var(--et-navy); }
.et-table__total { font-family: var(--et-display); font-weight: 700; color: var(--et-navy); white-space: nowrap; }
.et-chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px; font-size: .78rem; font-weight: 600; color: #fff; white-space: nowrap; }
.et-tbtn { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 9px; border: 1px solid var(--et-line); background: #fff; color: var(--et-navy); transition: all var(--et-trans); text-decoration: none; }
.et-tbtn:hover { background: var(--et-blue); color: #fff; border-color: var(--et-blue); }
.et-tbtn--amber:hover { background: var(--et-amber); color: var(--et-navy); border-color: var(--et-amber); }

.et-pagination { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 20px; flex-wrap: wrap; }
.et-pagination__info { color: var(--et-muted); font-size: .88rem; }
.et-pagination__links { display: flex; gap: 6px; flex-wrap: wrap; }
.et-pagination a, .et-pagination .pg { display: inline-flex; align-items: center; justify-content: center; min-width: 38px; height: 38px; padding: 0 12px; border-radius: 9px; border: 1px solid var(--et-line); background: #fff; color: var(--et-navy); font-weight: 600; font-size: .9rem; text-decoration: none; }
.et-pagination a:hover { border-color: var(--et-blue); color: var(--et-blue); }
.et-pagination .is-active { background: var(--et-navy); color: #fff; border-color: var(--et-navy); }
.et-pagination .is-disabled { opacity: .45; pointer-events: none; }
.et-orders-empty { text-align: center; padding: 56px 20px; color: var(--et-muted); }
.et-orders-empty i { font-size: 40px; color: var(--et-line); margin-bottom: 14px; }
@media (max-width: 900px){ .et-kpirow { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px){ .et-kpirow { grid-template-columns: 1fr; } }

/* ---- profile / account settings ----------------------------------------- */
.et-profcard { position: relative; overflow: hidden; background: linear-gradient(135deg,#0f3c58,#134a6d 60%,#196290); color: #fff; border-radius: 16px; padding: 26px 30px; display: flex; gap: 20px; align-items: center; margin-bottom: 24px; box-shadow: var(--et-shadow); }
.et-profcard::before { content:''; position:absolute; inset:0; background: radial-gradient(500px 220px at 92% -30%, rgba(255,204,0,.14), transparent 60%); pointer-events:none; }
.et-profcard > * { position: relative; z-index: 1; }
.et-profcard__av { flex: 0 0 auto; width: 76px; height: 76px; border-radius: 50%; background: #ffcc00; color: #134a6d; font-family: var(--et-display); font-weight: 800; font-size: 1.8rem; display: flex; align-items: center; justify-content: center; }
.et-profcard__name { font-family: var(--et-display); font-weight: 800; font-size: 1.4rem; color: #fff; line-height: 1.1; }
.et-profcard__meta { color: #a9c2d4; font-size: .9rem; margin-top: 7px; display: flex; gap: 18px; flex-wrap: wrap; }
.et-profcard__meta span { display: inline-flex; align-items: center; gap: 7px; }
.et-badge-ok { display: inline-flex; align-items: center; gap: 6px; background: rgba(47,163,107,.22); color: #86e3b1; padding: 5px 13px; border-radius: 999px; font-size: .82rem; font-weight: 600; margin-left: auto; }
.et-complist { display: grid; gap: 10px; }
.et-compitem { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--et-line); border-radius: 10px; background: var(--et-bg-soft); }
.et-compitem__ic { flex: 0 0 auto; width: 38px; height: 38px; border-radius: 10px; background: #fff; border: 1px solid var(--et-line); display: inline-flex; align-items: center; justify-content: center; color: var(--et-blue); }
.et-compitem__name { font-family: var(--et-display); font-weight: 600; color: var(--et-navy); }
@media (max-width: 560px){ .et-profcard { flex-direction: column; text-align: center; } .et-badge-ok { margin: 0; } }

/* ==================================================================
   Async UI: zone loaders, spinner, generic modal, detail partials
   ================================================================== */
@keyframes et-spin { to { transform: rotate(360deg); } }
@keyframes et-shimmer { 0% { background-position: -400px 0; } 100% { background-position: 400px 0; } }

.et-spin { display: inline-block; width: 34px; height: 34px; border: 3px solid #d9e2e9; border-top-color: var(--et-blue, #134a6d); border-radius: 50%; animation: et-spin .7s linear infinite; }
.et-loading { display: flex; align-items: center; justify-content: center; min-height: 120px; padding: 30px; }
.et-zone { position: relative; }
.et-zone--loading { min-height: 120px; }
.et-zone-err { display: flex; align-items: center; justify-content: center; min-height: 90px; color: #a3282c; font-size: 22px; }
.et-btn.is-loading { position: relative; color: transparent !important; pointer-events: none; }
.et-btn.is-loading::after { content: ""; position: absolute; top: 50%; left: 50%; width: 16px; height: 16px; margin: -8px 0 0 -8px; border: 2px solid rgba(255,255,255,.5); border-top-color: #fff; border-radius: 50%; animation: et-spin .7s linear infinite; }

/* skeleton placeholder */
.et-skel { background: linear-gradient(90deg,#eef2f5 25%,#f6f9fb 50%,#eef2f5 75%); background-size: 800px 100%; animation: et-shimmer 1.2s infinite linear; border-radius: 8px; }
.et-skel-line { height: 14px; margin: 9px 0; border-radius: 6px; }

/* generic async modal */
.et-modal { position: fixed; inset: 0; z-index: 4000; display: none; }
.et-modal.is-open { display: block; }
.et-modal__backdrop { position: absolute; inset: 0; background: rgba(15,34,48,.55); backdrop-filter: blur(2px); animation: et-fade .2s ease; }
@keyframes et-fade { from { opacity: 0; } to { opacity: 1; } }
.et-modal__dialog { position: relative; max-width: 860px; margin: 40px auto; background: #fff; border-radius: 16px; box-shadow: 0 24px 70px rgba(9,30,45,.35); max-height: calc(100vh - 80px); overflow: auto; animation: et-pop .22s cubic-bezier(.2,.8,.3,1.2); }
@keyframes et-pop { from { transform: translateY(18px) scale(.98); opacity: 0; } to { transform: none; opacity: 1; } }
.et-modal__x { position: absolute; top: 14px; right: 16px; z-index: 2; width: 36px; height: 36px; border: 0; border-radius: 10px; background: rgba(255,255,255,.18); color: #fff; font-size: 24px; line-height: 1; cursor: pointer; transition: background .15s; }
.et-modal__x:hover { background: rgba(255,255,255,.32); }
.et-modal__body { min-height: 120px; }
@media (max-width: 640px) { .et-modal__dialog { margin: 12px; max-height: calc(100vh - 24px); } }

/* detail partial (order + booking share these) */
.et-dt__head { background: linear-gradient(120deg,var(--et-blue,#134a6d),#0d3550); color: #fff; padding: 22px 26px; }
.et-dt__eyebrow { font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; opacity: .8; font-weight: 600; }
.et-dt__title { font-family: Poppins, sans-serif; font-weight: 700; font-size: 1.5rem; margin: 3px 0 0; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.et-dt__badge { display: inline-block; padding: 4px 12px; border-radius: 999px; font-size: .78rem; font-weight: 600; color: #fff; }
.et-dt__sub { margin-top: 10px; display: flex; gap: 22px; flex-wrap: wrap; font-size: .9rem; opacity: .95; }
.et-dt__sub b { font-weight: 700; }
.et-dt__body { padding: 24px 26px 28px; }
.et-dt__sec { margin-top: 22px; }
.et-dt__sec:first-child { margin-top: 0; }
.et-dt__sec-h { font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--et-blue,#134a6d); font-weight: 700; margin: 0 0 12px; display: flex; align-items: center; gap: 8px; }
.et-dt__sec-h::after { content: ""; flex: 1; height: 1px; background: #e6ecf1; }
.et-dt__grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(180px,1fr)); gap: 14px 20px; }
.et-dt__f { display: flex; flex-direction: column; gap: 3px; }
.et-dt__f-l { font-size: .74rem; text-transform: uppercase; letter-spacing: .05em; color: var(--et-muted,#7c8a95); font-weight: 600; }
.et-dt__f-v { font-size: .98rem; color: #223; font-weight: 600; word-break: break-word; }
.et-dt__route { border: 1px solid #e6ecf1; border-radius: 14px; padding: 16px 18px; margin-bottom: 14px; }
.et-dt__route-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-bottom: 12px; }
.et-dt__route-name { font-family: Poppins, sans-serif; font-weight: 600; font-size: 1.05rem; color: var(--et-blue,#134a6d); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.et-dt__route-name img { width: 22px; border-radius: 3px; box-shadow: 0 0 0 1px rgba(0,0,0,.08); }
.et-dt__route-price { font-family: Poppins, sans-serif; font-weight: 700; font-size: 1.15rem; color: #1d6f49; white-space: nowrap; }
.et-dt__empty { color: var(--et-muted,#7c8a95); text-align: center; padding: 30px; }

/* ==================================================================
   Mobile nav fix: the header's backdrop-filter turns it into a
   containing block for position:fixed, which broke the slide-in menu
   panel. Drop it on mobile so the panel is viewport-anchored again.
   ================================================================== */
@media (max-width: 768px) {
    .et-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: #0f3c58; }
    .et-nav__mobile-open .et-nav__links { height: 100dvh; }
}
.et-navbackdrop { position: fixed; inset: 0; background: rgba(9, 30, 45, .5); opacity: 0; visibility: hidden; transition: opacity .25s ease; z-index: 1035; }
.et-navbackdrop.is-open { opacity: 1; visibility: visible; }
body.et-mnav-lock { overflow: hidden; }
.et-burger.is-open span { background: transparent; }
.et-burger.is-open span::before { top: 0; transform: rotate(45deg); }
.et-burger.is-open span::after { top: 0; transform: rotate(-45deg); }

/* ==================================================================
   User dropdown: keep every label on a single line (wider + nowrap).
   Mobile drawer: show login / register for guests as buttons.
   ================================================================== */
#etUser .et-lang__menu { min-width: 226px; }
#etUser .et-lang__menu a { white-space: nowrap; }

@media (max-width: 768px) {
    .et-nav__mauth:first-of-type { margin-top: 14px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .14); }
    .et-nav__mobile-open .et-nav__mauth > a { text-align: center; border: 1px solid rgba(255, 255, 255, .28); border-radius: 10px; font-weight: 700; margin-top: 8px; }
    .et-nav__mobile-open .et-nav__mauth > a.is-primary { background: #ffcc00; color: #0f3c58; border-color: #ffcc00; }
    .et-nav__mobile-open .et-nav__mauth > a.is-primary:hover { background: #ffd633; color: #0f3c58; }
}
