/* ==========================================================================
   Oserpar Otomotiv — Soft / açık tema tasarım sistemi (Trendyol–Hepsiburada hissi)
   Beyaz & yumuşak gri yüzeyler · yuvarlak köşeler · yumuşak gölgeler
   Sıcak turuncu vurgu (#FF6A00) + sarı highlight (#FFC400) · içerik öncelikli
   ========================================================================== */
:root {
    --bg: #f6f7f9;
    --surface: #ffffff;
    --surface-2: #f3f4f6;
    --ink: #2a2d34;
    --ink-soft: #51555d;
    --muted: #7c808a;
    --line: #eceef1;
    --line-2: #e3e6ea;
    --brand: #ff6a00;
    --brand-dark: #e85d00;
    --brand-soft: #fff3ea;
    --yellow: #ffc400;
    --green: #16a34a;
    --red: #e23744;
    --radius: 14px;
    --radius-md: 11px;
    --radius-sm: 8px;
    --pill: 999px;
    --shadow: 0 1px 2px rgba(17, 24, 39, .04);
    --shadow-md: 0 4px 14px rgba(17, 24, 39, .06);
    --shadow-lg: 0 12px 30px rgba(17, 24, 39, .10);
    --container: 1280px;
    --font: "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); background: var(--bg); color: var(--ink); line-height: 1.55; -webkit-font-smoothing: antialiased; display: flex; flex-direction: column; min-height: 100vh; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--brand); }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4, h5 { margin: 0 0 .5rem; font-weight: 700; letter-spacing: -.01em; color: var(--ink); }
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 18px; }

/* Buttons (Bootstrap override → soft orange) */
.btn { border-radius: var(--radius-sm); font-weight: 600; }
.btn-danger { --bs-btn-bg: var(--brand); --bs-btn-border-color: var(--brand); --bs-btn-hover-bg: var(--brand-dark); --bs-btn-hover-border-color: var(--brand-dark); --bs-btn-active-bg: var(--brand-dark); --bs-btn-color: #fff; }
.btn-outline-light { --bs-btn-color: var(--ink); --bs-btn-border-color: var(--line-2); --bs-btn-hover-bg: var(--surface-2); --bs-btn-hover-color: var(--ink); --bs-btn-hover-border-color: var(--line-2); }
.btn-secondary { --bs-btn-bg: var(--surface-2); --bs-btn-border-color: var(--line-2); --bs-btn-color: var(--ink); }

/* ---------- Header ---------- */
.ev-header { position: sticky; top: 0; z-index: 1000; background: var(--surface); box-shadow: var(--shadow); }
.ev-topbar { background: var(--bg); font-size: .78rem; color: var(--muted); border-bottom: 1px solid var(--line); }
.ev-topbar__inner { display: flex; justify-content: space-between; padding: 6px 18px; }
.ev-topbar b, .ev-topbar span span { color: var(--ink-soft); }
.ev-topbar i { color: var(--muted); }
.ev-header__main { padding: 12px 0; }
.ev-header__grid { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px; }
.ev-logo { font-size: 1.4rem; font-weight: 700; letter-spacing: -.02em; color: var(--ink); display: inline-flex; align-items: center; gap: 6px; }
.ev-logo span { color: var(--brand); }
/* Logo görseli lacivert/gümüş tonlarında, açık zeminler için tasarlandı — başlıkta
   (beyaz zemin) doğrudan kullanılır. Koyu footer için aşağıdaki metin logosu kalır. */
.ev-logo img { height: 44px; width: auto; display: block; }
.ev-logo--footer { color: #fff; font-size: 1.4rem; font-weight: 700; letter-spacing: -.02em; }
.ev-logo--footer span { color: var(--brand); }

.ev-search { display: flex; align-items: stretch; background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--pill); overflow: hidden; max-width: 640px; transition: border-color .15s ease; }
.ev-search:focus-within { border-color: var(--brand); }
.ev-search__input { flex: 1; background: transparent; border: 0; color: var(--ink); padding: 11px 20px; font-size: .95rem; outline: none; }
.ev-search__input::placeholder { color: var(--muted); }
.ev-search__btn { background: var(--brand); color: #fff; border: 0; padding: 0 24px; cursor: pointer; font-weight: 600; transition: background .15s; }
.ev-search__btn:hover { background: var(--brand-dark); }

.ev-header__actions { display: flex; align-items: center; gap: 6px; }
.ev-action { display: flex; align-items: center; gap: 8px; background: transparent; border: 0; color: var(--ink-soft); padding: 9px 12px; border-radius: var(--radius-sm); cursor: pointer; font-size: .9rem; }
.ev-action:hover { background: var(--surface-2); color: var(--brand); }
.ev-action i { font-size: 1.3rem; }
.ev-cart__icon { position: relative; }
.ev-cart__count { position: absolute; top: -8px; right: -10px; background: var(--brand); color: #fff; font-size: .68rem; font-weight: 700; min-width: 18px; height: 18px; border-radius: var(--pill); display: grid; place-items: center; padding: 0 4px; }
.dropdown-menu { border-radius: var(--radius-md); border: 1px solid var(--line); box-shadow: var(--shadow-md); }

/* ---------- Mega menu ---------- */
.ev-nav { background: var(--surface); border-top: 1px solid var(--line); }
.ev-nav__inner { min-height: 48px; flex-wrap: nowrap; }
/* Tek sıra: kategoriler asla alt satıra kırılmaz; sığmazsa yatay kayar (scrollbar gizli). */
.ev-megamenu { list-style: none; display: flex; gap: 2px; margin: 0; padding: 0; flex-wrap: nowrap; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; -ms-overflow-style: none; min-width: 0; }
.ev-megamenu::-webkit-scrollbar { display: none; }
.ev-megamenu__item { position: relative; flex: 0 0 auto; }
.ev-megamenu__link { display: flex; align-items: center; gap: 7px; padding: 11px 11px; font-size: .85rem; font-weight: 500; color: var(--ink-soft); border-radius: var(--radius-sm); white-space: nowrap; }
.ev-megamenu__link i:first-child { color: var(--muted); transition: color .15s ease; }
.ev-megamenu__caret { font-size: .7rem; color: var(--muted); transition: transform .2s; }
.ev-megamenu__item:hover .ev-megamenu__link { color: var(--ink); background: var(--surface-2); }
.ev-megamenu__item:hover .ev-megamenu__link i:first-child { color: var(--brand); }
.ev-megamenu__item:hover .ev-megamenu__caret { transform: rotate(180deg); }
.ev-megamenu__panel { position: absolute; top: 100%; left: 0; min-width: 540px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-md); box-shadow: var(--shadow-lg); padding: 20px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; opacity: 0; visibility: hidden; transform: translateY(8px); transition: all .18s ease; z-index: 1200; }
.ev-megamenu__item:hover .ev-megamenu__panel { opacity: 1; visibility: visible; transform: translateY(0); }
/* Panelin KENDİ sınıfıyla aynı kural — bkz. js/megamenu.js. ":hover" alt-seçicisi
   bazı ortamlarda dinamik durumda yeniden hesaplanmıyor; bu ikinci, kendi
   üzerindeki kural her yerde güvenilir çalışır (çift güvence, sorun çıkarmaz). */
.ev-megamenu__panel.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
.ev-megamenu__head { display: block; font-weight: 700; color: var(--ink); margin-bottom: 8px; padding-bottom: 6px; border-bottom: 1px solid var(--line); }
.ev-megamenu__sub { list-style: none; margin: 0; padding: 0; }
.ev-megamenu__sub li a { display: block; padding: 4px 0; font-size: .85rem; color: var(--muted); }
.ev-megamenu__sub li a:hover { color: var(--brand); padding-left: 4px; transition: padding .15s; }

/* ---------- Hero ---------- */
.ev-main { flex: 1; }
.ev-hero { background: linear-gradient(180deg, #fff7f0 0%, var(--bg) 100%); }
.ev-hero__inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: 36px; align-items: center; padding: 46px 18px; }
.ev-hero__eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--brand); font-weight: 700; font-size: .82rem; text-transform: uppercase; letter-spacing: .06em; }
.ev-hero__copy h1 { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.1; margin: 14px 0; color: var(--ink); }
.ev-hero__copy h1 span { color: var(--brand); }
.ev-hero__copy p { color: var(--ink-soft); font-size: 1.05rem; max-width: 30rem; }
.ev-hero__stats { display: flex; gap: 30px; margin-top: 26px; }
.ev-hero__stats strong { display: block; font-size: 1.7rem; color: var(--ink); }
.ev-hero__stats span { color: var(--muted); font-size: .85rem; }

.ev-selector-card { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 28px; box-shadow: var(--shadow-lg); }
.ev-selector-card h2 { display: flex; align-items: center; gap: 10px; font-size: 1.15rem; }
.ev-selector-card h2 i { color: #fff; background: var(--brand); width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; }
.ev-vehicle-selector { display: grid; gap: 14px; margin-top: 18px; }
.ev-vehicle-selector__field label { display: block; font-size: .76rem; color: var(--muted); margin-bottom: 6px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.ev-vehicle-selector .form-select { background: var(--surface); color: var(--ink); border: 1px solid var(--line-2); padding: 12px 14px; border-radius: var(--radius-sm); }
.ev-vehicle-selector .form-select:focus { border-color: var(--brand); box-shadow: 0 0 0 .2rem rgba(255, 106, 0, .18); }
.ev-vehicle-selector__submit { margin-top: 4px; padding: 13px; font-size: 1rem; }

/* ---------- Sections ---------- */
.ev-block { padding: 34px 18px; }
.ev-section-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.ev-section-head h2 { font-size: 1.45rem; margin: 0; font-weight: 800; }
.ev-section-head__more { color: var(--brand); font-weight: 600; font-size: .9rem; }

/* ---------- Brand badges ---------- */
.ev-brands { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 16px; }
.ev-brand-badge { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 22px 18px; text-align: center; box-shadow: var(--shadow); transition: transform .18s, box-shadow .18s; }
.ev-brand-badge:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: var(--line-2); }
.ev-brand-badge__name { display: block; font-weight: 800; font-size: 1.05rem; color: var(--ink); }
.ev-brand-badge__count { display: block; color: var(--muted); font-size: .8rem; margin-top: 4px; }

/* ---------- Product grid & card ---------- */
.ev-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(228px, 1fr)); gap: 16px; }
.ev-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow); transition: transform .2s ease, box-shadow .2s ease; }
.ev-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: var(--line-2); }
.ev-card__media { position: relative; display: block; aspect-ratio: 1; background: #fff; overflow: hidden; }
.ev-card__media picture, .ev-card__media img, .ev-card__img { width: 100%; height: 100%; object-fit: contain; padding: 12px; transition: transform .35s ease; }
.ev-card:hover .ev-card__img { transform: scale(1.03); }
.ev-card__badge { position: absolute; top: 10px; left: 10px; background: var(--brand); color: #fff; font-size: .72rem; font-weight: 700; padding: 4px 10px; border-radius: var(--pill); z-index: 2; }
.ev-card__badge--sale { background: var(--yellow); color: #4a3b00; }
.ev-card__badge--out { background: #9aa0a6; left: auto; right: 10px; }
.ev-card__quickview { position: absolute; left: 50%; bottom: 12px; transform: translate(-50%, 12px); z-index: 3; background: rgba(42, 45, 52, .92); color: #fff; font-size: .78rem; font-weight: 600; padding: 8px 16px; border-radius: var(--pill); opacity: 0; transition: all .2s ease; pointer-events: none; white-space: nowrap; }
.ev-card__media:hover .ev-card__quickview { opacity: 1; transform: translate(-50%, 0); }
.ev-card__body { padding: 14px; display: flex; flex-direction: column; gap: 7px; flex: 1; }
.ev-card__brandrow { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.ev-card__brand { font-size: .72rem; text-transform: uppercase; letter-spacing: .05em; color: var(--brand); font-weight: 700; }
.ev-card__title { font-size: .92rem; line-height: 1.35; margin: 0; min-height: 2.6em; font-weight: 600; }
.ev-card__title a { color: var(--ink); }
.ev-card__title a:hover { color: var(--brand); }
.ev-card__meta { display: flex; flex-wrap: wrap; gap: 6px; font-size: .7rem; color: var(--muted); }
.ev-card__sku, .ev-card__oem { background: var(--surface-2); border-radius: 6px; padding: 2px 7px; }
.ev-card__footer { display: flex; align-items: flex-end; justify-content: space-between; margin-top: auto; padding-top: 4px; }
.ev-card__price-old { display: block; font-size: .78rem; color: var(--muted); text-decoration: line-through; }
.ev-card__price-now { font-size: 1.25rem; font-weight: 800; color: var(--brand); }
.ev-card__add { width: 44px; height: 44px; border-radius: var(--radius-sm); border: 0; background: var(--brand-soft); color: var(--brand); font-size: 1.2rem; cursor: pointer; transition: all .15s; }
.ev-card__add:hover { background: var(--brand); color: #fff; transform: scale(1.06); }
.ev-card__add:disabled { background: var(--surface-2); color: var(--muted); cursor: not-allowed; }

/* ---------- Listing ---------- */
.ev-breadcrumb { font-size: .82rem; color: var(--muted); padding: 18px 0; display: flex; align-items: center; gap: 8px; }
.ev-breadcrumb i { font-size: .65rem; }
.ev-breadcrumb a:hover { color: var(--brand); }
.ev-listing { padding-bottom: 48px; }
.ev-listing__head { display: flex; align-items: baseline; gap: 14px; margin-bottom: 18px; }
.ev-listing__count { color: var(--muted); font-size: .9rem; }
.ev-listing__layout { display: grid; grid-template-columns: 272px 1fr; gap: 24px; align-items: start; }
.ev-filters { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); position: sticky; top: 140px; }
.ev-filters__group { padding-bottom: 16px; margin-bottom: 16px; border-bottom: 1px solid var(--line); }
.ev-filters__group h3 { font-size: .85rem; text-transform: uppercase; letter-spacing: .05em; color: var(--ink); font-weight: 700; }
.ev-filters__list { max-height: 230px; overflow-y: auto; display: grid; gap: 8px; }
.ev-check { display: flex; align-items: center; gap: 9px; font-size: .88rem; cursor: pointer; color: var(--ink-soft); }
.ev-check input { accent-color: var(--brand); width: 17px; height: 17px; }
.ev-check em { margin-left: auto; color: var(--muted); font-style: normal; font-size: .75rem; }
.ev-filters__price { display: flex; align-items: center; gap: 8px; }
.ev-filters__price input { width: 100%; background: var(--surface); border: 1px solid var(--line-2); color: var(--ink); border-radius: var(--radius-sm); padding: 9px 10px; }
.ev-filters__clear { display: block; text-align: center; margin-top: 12px; color: var(--muted); font-size: .82rem; }
.ev-filters__clear:hover { color: var(--brand); }
.ev-listing__toolbar { display: flex; justify-content: flex-end; margin-bottom: 16px; }
.ev-sort { display: flex; align-items: center; gap: 10px; }
.ev-sort label { color: var(--muted); font-size: .85rem; }
.ev-sort .form-select { background: var(--surface); border: 1px solid var(--line-2); color: var(--ink); width: auto; border-radius: var(--radius-sm); }
.ev-grid--listing { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.ev-empty { text-align: center; padding: 64px 20px; color: var(--muted); background: var(--surface); border-radius: var(--radius); border: 1px solid var(--line); }
.ev-empty i { font-size: 3rem; display: block; margin-bottom: 14px; opacity: .4; }
.ev-vehicle-chip { display: flex; align-items: center; gap: 10px; background: var(--brand-soft); border: 1px solid #ffd9bd; border-radius: var(--radius-md); padding: 12px 16px; margin-bottom: 22px; font-size: .92rem; color: var(--ink); }
.ev-vehicle-chip .bi-car-front-fill { color: var(--brand); font-size: 1.2rem; }
.ev-vehicle-chip strong { color: var(--ink); }
.ev-vehicle-chip__clear { margin-left: auto; color: var(--muted); width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; }
.ev-vehicle-chip__clear:hover { background: var(--brand); color: #fff; }

.pagination { margin-top: 30px; justify-content: center; gap: 6px; }
.page-link { background: var(--surface); border: 1px solid var(--line-2); color: var(--ink); border-radius: var(--radius-sm) !important; }
.page-link:hover { background: var(--brand-soft); color: var(--brand); border-color: #ffd9bd; }
.page-item.active .page-link { background: var(--brand); border-color: var(--brand); color: #fff; }
.page-item.disabled .page-link { background: var(--surface-2); color: #b9bdc4; }

/* ---------- Product detail ---------- */
.ev-pdp { padding-bottom: 56px; }
.ev-pdp__top { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; }
.ev-gallery__stage { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); aspect-ratio: 1; display: grid; place-items: center; overflow: hidden; }
.ev-gallery__stage img { width: 100%; height: 100%; object-fit: contain; padding: 20px; }
.ev-gallery__thumbs { display: flex; gap: 10px; margin-top: 14px; flex-wrap: wrap; }
.ev-gallery__thumb { width: 72px; height: 72px; padding: 6px; background: #fff; border: 2px solid var(--line); border-radius: var(--radius-sm); cursor: pointer; }
.ev-gallery__thumb:hover, .ev-gallery__thumb.is-active { border-color: var(--brand); }
.ev-gallery__thumb img { width: 100%; height: 100%; object-fit: contain; }
.ev-product-info__brand { color: var(--brand); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: .82rem; }
.ev-product-info__title { font-size: 1.7rem; margin: 8px 0 14px; }
.ev-product-info__codes { display: flex; flex-wrap: wrap; gap: 14px; color: var(--muted); font-size: .85rem; margin-bottom: 16px; align-items: center; }
.ev-product-info__lead { color: var(--ink-soft); }
.ev-product-info__buy { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; margin-top: 18px; box-shadow: var(--shadow); }
.ev-product-info__price { display: flex; align-items: baseline; gap: 12px; }
.ev-product-info__price-old { color: var(--muted); text-decoration: line-through; }
.ev-product-info__price-now { font-size: 2rem; font-weight: 800; color: var(--brand); }
.ev-product-info__badge { background: var(--yellow); color: #4a3b00; font-size: .8rem; font-weight: 700; padding: 3px 9px; border-radius: 7px; }
.ev-product-info__stock { margin: 12px 0; font-weight: 600; }
.ev-product-info__stock.is-in { color: var(--green); }
.ev-product-info__stock.is-out { color: var(--red); }
.ev-product-info__actions { display: flex; gap: 12px; margin-top: 16px; }
.ev-qty-control { display: inline-flex; align-items: center; border: 1px solid var(--line-2); border-radius: var(--radius-sm); overflow: hidden; background: var(--surface); }
.ev-qty-btn { width: 42px; height: 48px; background: var(--surface-2); color: var(--ink); border: 0; font-size: 1.2rem; cursor: pointer; }
.ev-qty-btn:hover { background: var(--brand-soft); color: var(--brand); }
.ev-qty { width: 56px; height: 48px; text-align: center; background: var(--surface); border: 0; color: var(--ink); -moz-appearance: textfield; }
.ev-qty::-webkit-outer-spin-button, .ev-qty::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.ev-qty-control--sm .ev-qty-btn { height: 38px; width: 34px; }
.ev-qty-control--sm .ev-qty { height: 38px; width: 46px; }
.ev-buy-btn { flex: 1; }

.ev-pdp__tabs { margin-top: 44px; }
.ev-pdp__tabs .nav-tabs { border-bottom: 1px solid var(--line); }
.ev-pdp__tabs .nav-link { color: var(--muted); border: 0; border-bottom: 3px solid transparent; background: none; font-weight: 600; }
.ev-pdp__tabs .nav-link.active { color: var(--ink); background: none; border-bottom-color: var(--brand); }
.ev-tab-count { background: var(--brand); color: #fff; font-size: .7rem; padding: 1px 7px; border-radius: var(--pill); margin-left: 4px; }
.ev-pdp__tab-content { padding: 24px 4px; color: var(--ink-soft); }
.ev-spec-table, .ev-fit-table { width: 100%; border-collapse: collapse; }
.ev-spec-table th, .ev-spec-table td, .ev-fit-table th, .ev-fit-table td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; }
.ev-spec-table th { width: 220px; color: var(--muted); font-weight: 600; }
.ev-fit-table thead th { color: var(--brand); font-size: .82rem; text-transform: uppercase; letter-spacing: .04em; }
.ev-chip { background: var(--surface-2); border: 1px solid var(--line-2); border-radius: 6px; padding: 2px 8px; font-size: .8rem; font-weight: 600; }

/* ---------- Cart ---------- */
.ev-cart-page { padding: 28px 18px 56px; }
.ev-cart-page__layout { display: grid; grid-template-columns: 1fr 340px; gap: 24px; align-items: start; }
.ev-cart-lines { display: grid; gap: 12px; }
.ev-cart-line { display: grid; grid-template-columns: 80px 1fr auto auto auto; gap: 16px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 12px; box-shadow: var(--shadow); }
.ev-cart-line__media { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 4px; }
.ev-cart-line__title { font-weight: 600; }
.ev-cart-line__title:hover { color: var(--brand); }
.ev-cart-line__sku, .ev-cart-line__unit { display: block; color: var(--muted); font-size: .78rem; }
.ev-cart-line__price { font-weight: 800; min-width: 110px; text-align: right; color: var(--brand); }
.ev-cart-line__remove { background: none; border: 0; color: var(--muted); font-size: 1.1rem; cursor: pointer; }
.ev-cart-line__remove:hover { color: var(--red); }
.ev-cart-summary { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); position: sticky; top: 140px; }
.ev-cart-summary__row { display: flex; justify-content: space-between; padding: 8px 0; }
.ev-cart-summary__row--muted { color: var(--muted); font-size: .85rem; }
.ev-cart-summary .btn { margin-top: 14px; }
.ev-cart-summary__cont { display: block; text-align: center; margin-top: 12px; color: var(--muted); font-size: .85rem; }

/* ---------- Auth / checkout ---------- */
.ev-auth { display: grid; place-items: center; padding: 48px 18px; }
.ev-auth__card { width: 100%; max-width: 440px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow-md); }
.ev-auth__card h1 { font-size: 1.6rem; margin-bottom: 22px; }
.ev-field { margin-bottom: 16px; }
.ev-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.ev-field label { display: block; font-size: .82rem; color: var(--ink-soft); margin-bottom: 6px; font-weight: 600; }
.ev-field .form-control { background: var(--surface); border: 1px solid var(--line-2); color: var(--ink); padding: 11px 14px; border-radius: var(--radius-sm); }
.ev-field .form-control:focus { border-color: var(--brand); box-shadow: 0 0 0 .2rem rgba(255, 106, 0, .15); }
.ev-field__error, .field-validation-error { color: var(--red); font-size: .8rem; }
.ev-auth__errors { color: var(--red); font-size: .85rem; margin-bottom: 10px; }
.ev-auth__alt { margin-top: 18px; text-align: center; color: var(--muted); font-size: .9rem; }
.ev-auth__hint { margin-top: 12px; text-align: center; font-size: .78rem; color: var(--muted); background: var(--surface-2); padding: 10px; border-radius: var(--radius-sm); }
.ev-checkout { padding: 28px 18px 56px; }
.ev-checkout__layout { display: grid; grid-template-columns: 1fr 360px; gap: 24px; align-items: start; }
.ev-checkout__section { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; margin-bottom: 18px; box-shadow: var(--shadow); }
.ev-checkout__section legend { float: none; font-size: 1.05rem; font-weight: 700; width: auto; margin-bottom: 14px; }
.ev-checkout__secure { color: var(--muted); font-size: .82rem; margin-top: 8px; }
.ev-checkout__sandbox { text-align: center; color: var(--muted); font-size: .78rem; margin-top: 10px; }
.ev-checkout__summary { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); position: sticky; top: 140px; }
.ev-checkout__line { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; font-size: .9rem; border-bottom: 1px solid var(--line); }
.ev-checkout__total { display: flex; justify-content: space-between; margin-top: 14px; font-size: 1.2rem; font-weight: 800; color: var(--brand); }
.ev-checkout__hint { display: block; color: var(--muted); font-size: .8rem; margin-top: 5px; line-height: 1.5; }
.ev-checkout__guest { display: flex; flex-direction: column; gap: 4px; background: var(--brand-soft); border: 1px solid #ffe0c2; border-radius: var(--radius-sm); padding: 12px 16px; margin-bottom: 18px; font-size: .88rem; }
.ev-checkout__guest a { font-weight: 600; }
.ev-success, .ev-error { display: grid; place-items: center; min-height: 56vh; text-align: center; padding: 40px 18px; }
.ev-success__icon { font-size: 4rem; color: var(--green); }
.ev-success__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 8px; }
.ev-error__code { font-size: 5rem; font-weight: 800; color: var(--brand); line-height: 1; }
.ev-error__rid { margin-top: 18px; font-size: .78rem; color: var(--muted); }
.ev-alert { padding: 12px 16px; border-radius: var(--radius-sm); margin-bottom: 18px; border: 1px solid; }
.ev-alert--error { background: #fff1f2; border-color: #fecdd3; color: #b42318; }
.ev-alert--info { background: #ecfdf3; border-color: #abefc6; color: #067647; }
.ev-contact__errors { color: var(--red); font-size: .85rem; margin-bottom: 10px; }
/* Honeypot: present in the DOM (so a real form-filling bot sees it) but never visible/reachable to a person. */
.ev-honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Footer ---------- */
.ev-footer { background: var(--ink); color: #b6bac2; margin-top: 40px; }
.ev-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; padding: 44px 18px; }
.ev-footer h5 { color: #fff; font-size: .95rem; margin-bottom: 14px; }
.ev-footer ul { list-style: none; padding: 0; margin: 0; }
.ev-footer ul li a { color: #b6bac2; font-size: .88rem; line-height: 2; }
.ev-footer ul li a:hover { color: var(--brand); }
.ev-footer__tag { color: #b6bac2; font-size: .88rem; }
/* "Colored" logo, koyu footer zemininde kendi beyaz kutusunda — hangi arka plan
   olursa olsun kontrast garanti (White varyantı yerine bunu tercih ettik). */
.ev-footer__paylogos { display: block; margin-top: 12px; background: #fff; border-radius: 8px; padding: 10px 14px; width: 200px; max-width: 100%; height: auto; }
.ev-footer__bottom { border-top: 1px solid #3a3d44; padding: 16px 0; color: #8b8f97; font-size: .82rem; text-align: center; }

/* ---------- Toast ---------- */
.ev-toast { position: fixed; bottom: 24px; right: 24px; background: var(--ink); color: #fff; padding: 14px 20px; border-radius: var(--radius-md); box-shadow: var(--shadow-lg); transform: translateY(120%); opacity: 0; transition: all .3s ease; z-index: 2000; max-width: 320px; }
.ev-toast.is-visible { transform: translateY(0); opacity: 1; }

/* ---------- Part-type badge / quick-view modal ---------- */
.ev-parttype-badge { display: inline-block; font-size: .68rem; font-weight: 700; letter-spacing: .02em; padding: 2px 9px; border-radius: var(--pill); background: var(--brand-soft); color: var(--brand); border: 1px solid #ffd9bd; white-space: nowrap; }
.ev-parttype-badge--sm { font-size: .62rem; padding: 1px 7px; }
.ev-qv-modal .modal-content { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); position: relative; box-shadow: var(--shadow-lg); }
/* Bootstrap'ın açılış kayma animasyonunu (.modal.fade .modal-dialog transform)
   bu modalde tamamen iptal ediyoruz — .show durumunda bile bazı tarayıcı/görünüm
   koşullarında transform sıfırlanmıyor ve dialog viewport dışına kayabiliyor
   (bu da köşesindeki kapatma butonunu ekranın dışına itiyordu). Sade bir fade
   (opacity geçişi zaten Bootstrap'tan geliyor) bu modal için yeterli. */
.ev-qv-modal .modal-dialog { transform: none !important; }
/* Kapalı, dolgun bir daire + siyah X: modalın arkasında ne olursa olsun
   (beyaz yüzey, açık renkli ürün fotoğrafı) her zaman yeterli kontrast sağlar
   — eskiden btn-close-white (beyaz X) beyaz modal yüzeyinde neredeyse görünmezdi.
   .modal-content'e göre position:absolute ile dialoğun köşesinde kalır; dialog
   artık modal-dialog-scrollable sayesinde viewport yüksekliğini aşmadığından
   (uzun içerik yalnızca .modal-body içinde kayar) buton hiçbir zaman ekranın
   dışına taşmaz. */
.ev-qv-modal__close {
    position: absolute; top: 12px; right: 12px; z-index: 5;
    width: 36px; height: 36px; padding: 0; margin: 0;
    background-color: #fff;
    background-image: var(--bs-btn-close-bg, url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3e%3cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414z'/%3e%3c/svg%3e"));
    background-repeat: no-repeat;
    background-position: center;
    background-size: 13px;
    border-radius: 50%;
    border: 1px solid var(--line-2);
    box-shadow: 0 2px 10px rgba(0, 0, 0, .22);
    opacity: 1;
}
.ev-qv-modal__close:hover, .ev-qv-modal__close:focus {
    background-color: var(--brand-soft);
    border-color: var(--brand);
    box-shadow: 0 2px 10px rgba(0, 0, 0, .3);
    opacity: 1;
}
@media (max-width: 768px) {
    /* Dokunma hedefi büyüsün, kenardan biraz uzak dursun (tek elle kolay basılır). */
    .ev-qv-modal__close { width: 40px; height: 40px; top: 10px; right: 10px; background-size: 14px; }
}
.ev-qv-modal .modal-body { padding: 24px; }
.ev-qv-loading { padding: 64px 20px; text-align: center; color: var(--muted); }
.ev-qv { display: grid; grid-template-columns: 1fr 1.1fr; gap: 24px; }
.ev-qv__stage { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); aspect-ratio: 1; display: grid; place-items: center; overflow: hidden; }
.ev-qv__stage img { width: 100%; height: 100%; object-fit: contain; padding: 16px; }
.ev-qv__title { font-size: 1.3rem; margin: 6px 0 12px; }
.ev-qv__price { display: flex; align-items: baseline; gap: 10px; margin: 12px 0; }
.ev-qv__compat { margin-top: 16px; border-top: 1px solid var(--line); padding-top: 14px; }
.ev-qv__compat h4 { font-size: .9rem; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.ev-qv__compat-list { display: flex; flex-wrap: wrap; gap: 6px; }
.ev-qv__detail-link { display: inline-block; margin-top: 16px; color: var(--brand); font-weight: 600; }
.ev-chip--more { background: var(--brand); color: #fff; border-color: var(--brand); }

/* ==========================================================================
   Admin panel (soft light)
   ========================================================================== */
.ev-admin { display: grid; grid-template-columns: 250px 1fr; min-height: 100vh; background: var(--bg); }
.ev-admin__sidebar { background: var(--surface); border-right: 1px solid var(--line); padding: 22px 16px; display: flex; flex-direction: column; position: sticky; top: 0; height: 100vh; box-shadow: var(--shadow); }
.ev-admin__brand { font-weight: 800; font-size: 1.25rem; color: var(--ink); letter-spacing: -.02em; }
.ev-admin__brand span { color: var(--brand); }
.ev-admin__brand em { display: block; font-style: normal; font-size: .7rem; color: var(--muted); letter-spacing: .18em; text-transform: uppercase; }
.ev-admin__nav { display: grid; gap: 4px; margin-top: 30px; }
.ev-admin__nav a { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: var(--radius-sm); color: var(--ink-soft); font-weight: 600; font-size: .9rem; }
.ev-admin__nav a:hover { background: var(--surface-2); color: var(--ink); }
.ev-admin__nav a.is-active { background: var(--brand); color: #fff; }
.ev-admin__back { margin-top: auto; color: var(--muted); font-size: .85rem; padding: 12px 14px; }
.ev-admin__main { display: flex; flex-direction: column; min-width: 0; }
.ev-admin__topbar { display: flex; align-items: center; justify-content: space-between; padding: 18px 28px; border-bottom: 1px solid var(--line); background: var(--surface); }
.ev-admin__topbar h1 { margin: 0; font-size: 1.3rem; }
.ev-admin__user { color: var(--muted); font-size: .9rem; }
.ev-admin__content { padding: 28px; }
.ev-admin-kpis { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; margin-bottom: 28px; }
.ev-kpi { display: flex; align-items: center; gap: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }
.ev-kpi__icon { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; font-size: 1.4rem; background: var(--surface-2); color: var(--ink); }
.ev-kpi--accent .ev-kpi__icon { background: var(--brand); color: #fff; }
.ev-kpi--warn .ev-kpi__icon { background: var(--yellow); color: #4a3b00; }
.ev-kpi--danger .ev-kpi__icon { background: var(--red); color: #fff; }
.ev-kpi__value { display: block; font-size: 1.7rem; font-weight: 800; }
.ev-kpi__label { color: var(--muted); font-size: .82rem; }
.ev-admin-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; margin-bottom: 22px; box-shadow: var(--shadow); }
.ev-admin-card__title { font-size: 1.1rem; margin-bottom: 16px; }
.ev-admin-quick { display: flex; gap: 12px; flex-wrap: wrap; }
.ev-admin-page__head { display: flex; justify-content: flex-end; margin-bottom: 18px; }
.ev-admin-page__actions { display: flex; gap: 8px; flex-wrap: wrap; }
.ev-admin-modal { background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: var(--radius); }
.ev-price-breakdown { background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 14px 16px; margin: -4px 0 20px; max-width: 100%; box-sizing: border-box; }
.ev-price-breakdown > div { display: flex; flex-wrap: wrap; gap: 4px 10px; padding: 4px 0; font-size: .88rem; color: var(--ink-soft); max-width: 420px; }
.ev-price-breakdown > div > span { color: var(--muted); }
.ev-price-breakdown > div > span::after { content: ":"; }
.ev-price-breakdown > div > strong { white-space: nowrap; }
.ev-price-breakdown__final { border-top: 1px dashed var(--line-2); margin-top: 4px; padding-top: 8px !important; font-weight: 700; color: var(--ink) !important; }
.ev-price-breakdown__final strong { color: var(--brand); font-size: 1rem; }
.ev-price-breakdown small { display: block; margin-top: 8px; }
.ev-admin-modal .modal-header, .ev-admin-modal .modal-footer { border-color: var(--line); }
.ev-admin-modal code { color: var(--brand); }
.ev-status { padding: 3px 10px; border-radius: var(--pill); font-size: .74rem; font-weight: 700; }
.ev-status--on { background: #ecfdf3; color: var(--green); }
.ev-status--off { background: var(--surface-2); color: var(--muted); }
.ev-status--pending { background: #fff4e5; color: #b45309; }

/* ---------- Admin: genişletilmiş panel (nav grupları, tablolar, detay, rapor) ---------- */
.ev-admin__navlabel { display: block; font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 16px 14px 4px; }
.ev-admin-card__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.ev-admin-card__head .ev-admin-card__title { margin: 0; }
.ev-admin-card__more { color: var(--brand); font-weight: 600; font-size: .85rem; white-space: nowrap; }
.ev-admin-muted { color: var(--muted); font-size: .85rem; margin: 6px 0 0; }

.ev-admin-table { width: 100%; margin: 0; }
.ev-admin-table thead th { color: var(--muted); font-size: .76rem; text-transform: uppercase; letter-spacing: .03em; font-weight: 600; border-bottom: 1px solid var(--line); padding: 10px 12px; }
.ev-admin-table tbody td { border-bottom: 1px solid var(--line); padding: 11px 12px; color: var(--ink-soft); vertical-align: middle; }
.ev-admin-table tbody tr:hover { background: var(--surface-2); }
.ev-admin-table__strong { font-weight: 700; color: var(--ink); }
.ev-admin-table__child { color: var(--ink-soft); padding-left: 22px; }
.ev-admin-table code { color: var(--brand-dark); font-size: .82rem; }

.ev-admin-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.ev-admin-chip { padding: 7px 14px; border-radius: var(--pill); background: var(--surface-2); border: 1px solid var(--line-2); color: var(--ink-soft); font-size: .85rem; font-weight: 600; }
.ev-admin-chip:hover { background: var(--brand-soft); color: var(--brand-dark); }
.ev-admin-chip.is-active { background: var(--brand); border-color: var(--brand); color: #fff; }

.ev-admin-search { display: flex; gap: 10px; margin-bottom: 16px; max-width: 460px; }

.ev-admin-detail { display: grid; grid-template-columns: 1fr 320px; gap: 18px; align-items: start; }
.ev-admin-side { display: grid; gap: 18px; }
.ev-admin-side .ev-admin-card { margin-bottom: 0; }
.ev-admin-kv { display: flex; justify-content: space-between; gap: 12px; margin: 6px 0; font-size: .88rem; color: var(--ink-soft); }
.ev-admin-kv span { color: var(--muted); }
.ev-admin-totals { margin-top: 14px; border-top: 1px solid var(--line); padding-top: 12px; }
.ev-admin-totals > div { display: flex; justify-content: space-between; padding: 4px 0; font-size: .9rem; }
.ev-admin-totals__grand { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 10px !important; font-size: 1.1rem !important; font-weight: 800; color: var(--brand); }
.ev-admin-statusform { display: grid; gap: 10px; }

.ev-report-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; }
.ev-report-cell { background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 16px; }
.ev-report-cell span { display: block; color: var(--muted); font-size: .8rem; margin-bottom: 4px; }
.ev-report-cell strong { font-size: 1.4rem; font-weight: 800; color: var(--ink); }
.ev-report-cell--warn strong { color: #b45309; }
.ev-report-cell--danger strong { color: var(--red); }

.ev-health { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 10px; }
.ev-health li { display: flex; align-items: center; gap: 12px; padding: 12px 14px; background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius-md); }
.ev-health__dot { width: 11px; height: 11px; border-radius: 50%; flex: 0 0 auto; }
.ev-health__dot--on { background: var(--green); box-shadow: 0 0 0 3px #16a34a22; }
.ev-health__dot--off { background: var(--red); box-shadow: 0 0 0 3px #e2374422; }
.ev-health__dot--warn { background: var(--yellow); box-shadow: 0 0 0 3px #ffc40033; }
.ev-health li strong { display: block; font-size: .92rem; color: var(--ink); }
.ev-health li small { color: var(--muted); font-size: .8rem; }

@media (max-width: 860px) {
    .ev-admin-detail { grid-template-columns: 1fr; }
    /* Grid item'ların varsayılan min-width:auto'su, içindeki tablo/kart
       min-content genişliğinden küçülmeyi reddediyor ("grid blowout") —
       Sipariş/Müşteri Detay gibi .ev-admin-detail kullanan sayfalarda bu,
       tüm sayfayı mobilde genişletiyordu. min-width:0 ile küçülmeye izin ver. */
    .ev-admin-detail > * { min-width: 0; }
}

/* ---------- Admin: satır işlemleri + araç hiyerarşi yönetimi ---------- */
.ev-row-actions { display: inline-flex; gap: 6px; align-items: center; justify-content: flex-end; flex-wrap: wrap; }
.ev-row-actions form { margin: 0; }
.btn-sm { padding: 5px 11px; font-size: .8rem; }

.ev-vman-form { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 14px; padding: 12px; background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius-sm); }
.ev-vman-form .form-control, .ev-vman-form .form-select { width: auto; min-width: 120px; flex: 1 1 130px; max-width: 220px; }
.ev-vman-form--sm .form-control, .ev-vman-form--sm .form-select { min-width: 96px; flex-basis: 100px; font-size: .85rem; }

.ev-vman-model { border-left: 3px solid var(--brand); }
.ev-vman-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.ev-vman-head h3 { margin: 0; font-size: 1.05rem; }
.ev-vman-head h3 small { color: var(--muted); font-weight: 400; }
.ev-vman-head form { margin: 0; }

.ev-vman-body { margin: 12px 0 0; padding: 12px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); }
.ev-vman-body .ev-vman-head strong { font-size: .95rem; }
.ev-vman-variants { display: flex; flex-wrap: wrap; gap: 7px; margin: 10px 0; }
.ev-vman-variant { display: inline-flex; align-items: center; gap: 6px; background: var(--brand-soft); color: var(--brand-dark); border: 1px solid #ffd9bd; border-radius: var(--pill); padding: 3px 6px 3px 12px; font-size: .8rem; font-weight: 600; }
.ev-vman-variant form { margin: 0; display: inline; }
.ev-vman-x { border: 0; background: transparent; color: var(--brand-dark); font-size: 1.1rem; line-height: 1; cursor: pointer; padding: 0 4px; }
.ev-vman-x:hover { color: var(--red); }
.table-dark { --bs-table-bg: var(--surface); --bs-table-color: var(--ink); --bs-table-border-color: var(--line); }
.table-dark.ev-datatable, table.dataTable { color: var(--ink); }
table.dataTable tbody tr { background: var(--surface); }
table.dataTable tbody tr:hover { background: var(--surface-2); }
.dataTables_wrapper .dataTables_length, .dataTables_wrapper .dataTables_filter, .dataTables_wrapper .dataTables_info, .dataTables_wrapper .dataTables_paginate { color: var(--muted); }
.dataTables_wrapper .dataTables_filter input, .dataTables_wrapper .dataTables_length select { background: var(--surface); border: 1px solid var(--line-2); color: var(--ink); border-radius: var(--radius-sm); }
.dataTables_wrapper .paginate_button { color: var(--ink) !important; }
.dataTables_wrapper .paginate_button.current { background: var(--brand) !important; border-color: var(--brand) !important; color: #fff !important; border-radius: var(--radius-sm); }

/* Admin: tedarikçi grubunu mağazaya aktarma çubuğu */
.ev-sup-import { display: flex; align-items: center; gap: 12px; margin: -6px 0 16px; }
.ev-sup-import small { color: var(--muted); }

/* ---------- Tedarikçi (Başbuğ) kataloğu: araç çubuğu + tablo/kart + pager ---------- */
.ev-sup-toolbar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 18px; }
.ev-sup-toolbar__group { max-width: 320px; }
.ev-sup-toolbar__search { max-width: 280px; }
.ev-sup-toggle { display: inline-flex; gap: 4px; margin-left: auto; background: var(--surface-2); border: 1px solid var(--line-2); border-radius: var(--radius-sm); padding: 3px; }
.ev-sup-toggle a { display: grid; place-items: center; width: 36px; height: 32px; border-radius: 6px; color: var(--muted); }
.ev-sup-toggle a:hover { color: var(--brand); }
.ev-sup-toggle a.is-active { background: var(--surface); color: var(--brand); box-shadow: var(--shadow); }
.ev-sup-count { color: var(--muted); font-size: .85rem; margin: 0 0 12px; }
.ev-sup-empty { text-align: center; color: var(--muted); padding: 48px 16px; }
.ev-sup-empty i { font-size: 2.6rem; display: block; margin-bottom: 10px; opacity: .4; }
.ev-sup-table__no { font-weight: 700; white-space: nowrap; }
.ev-sup-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; }
.ev-sup-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 14px; display: flex; flex-direction: column; gap: 8px; box-shadow: var(--shadow); }
.ev-sup-card header { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.ev-sup-card__no { font-weight: 800; font-size: .9rem; color: var(--ink); }
.ev-sup-card__brand { font-size: .7rem; font-weight: 700; text-transform: uppercase; color: var(--brand); background: var(--brand-soft); padding: 2px 8px; border-radius: var(--pill); }
.ev-sup-card h3 { font-size: .85rem; font-weight: 500; color: var(--ink-soft); margin: 0; line-height: 1.4; min-height: 2.4em; }
.ev-sup-card dl { display: grid; grid-template-columns: auto 1fr; gap: 2px 10px; margin: 0; font-size: .76rem; }
.ev-sup-card dt { color: var(--muted); font-weight: 600; }
.ev-sup-card dd { margin: 0; color: var(--ink-soft); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ev-sup-card footer { display: flex; align-items: flex-end; justify-content: space-between; margin-top: auto; padding-top: 8px; border-top: 1px solid var(--line); }
.ev-sup-card__price small { display: block; color: var(--muted); font-size: .72rem; }
.ev-sup-card__price strong { color: var(--brand); font-size: .95rem; }
.ev-sup-card__vat { font-size: .72rem; color: var(--muted); }

/* ---------- Responsive ---------- */
@media (max-width: 992px) {
    .ev-hero__inner { grid-template-columns: 1fr; }
    .ev-listing__layout { grid-template-columns: 1fr; }
    .ev-filters { position: static; }
    .ev-pdp__top, .ev-qv { grid-template-columns: 1fr; }
    .ev-cart-page__layout, .ev-checkout__layout { grid-template-columns: 1fr; }
    .ev-admin { grid-template-columns: 1fr; }
    /* Kenar çubuğu dar ekranda üstte, dikey akan normal bir blok olarak kalır.
       Not: Daha önce burada .ev-admin__nav'ı grid-auto-flow:column ile yatay
       tek satıra çeviren bir kural vardı — CSS grid bu satırı SARMIYOR
       (flex-wrap gibi davranmıyor), bu yüzden ~12 menü öğesi tek satırda
       yan yana dizilip sayfayı (ve mobil layout viewport'unu) ~1700px'e
       genişletiyordu; tüm admin sayfalarında mobilde yatay taşmaya yol
       açıyordu. Düzeltme: menü dikey akışında kalır (varsayılan davranış). */
    .ev-admin__sidebar { position: static; height: auto; }
    .ev-admin__back { margin: 16px 0 0; }
    /* Admin tabloları (Ürünler/Siparişler/Müşteriler/Kategoriler/Markalar/
       Araçlar/Dashboard vb. — hepsi .ev-admin-table paylaşır) çok sütunlu;
       dar ekranda hücreleri kırmak yerine kartın içinde YATAY kaydırılabilir
       hale getiriyoruz (tablo kendi genişliğini korur, sayfa taşmaz). */
    .ev-admin-table, .ev-datatable { display: block; max-width: 100%; overflow-x: auto; white-space: nowrap; }
}
@media (max-width: 768px) {
    .ev-header__grid { grid-template-columns: auto 1fr; }
    .ev-search { grid-column: 1 / -1; order: 3; max-width: none; }
    .ev-footer__grid { grid-template-columns: 1fr 1fr; }
    .ev-cart-line { grid-template-columns: 64px 1fr; grid-auto-flow: row; }
}

/* ==========================================================================
   Sol katalog paneli — "Araca Göre Ara" (Marka→Model) + Parça Kategorileri
   Açılıp kapanabilen (drawer) gizlenebilir panel · arabam.com / sahibinden hissi
   ========================================================================== */
.ev-nav__inner { display: flex; align-items: center; gap: 14px; }

.ev-catalog-trigger {
    display: inline-flex; align-items: center; gap: 8px; flex: 0 0 auto;
    cursor: pointer;
    background: var(--surface); color: var(--ink);
    border: 1px solid var(--line-2);
    font: 600 .88rem/1 var(--font);
    padding: 9px 14px; border-radius: var(--radius-sm);
    transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.ev-catalog-trigger:hover { background: var(--brand-soft); border-color: #ffd9bd; color: var(--brand-dark); }
.ev-catalog-trigger i { font-size: 1.05rem; color: var(--brand); }

body.ev-noscroll { overflow: hidden; }

.ev-catalog { position: fixed; inset: 0; z-index: 1200; visibility: hidden; pointer-events: none; }
.ev-catalog.is-open { visibility: visible; pointer-events: auto; }

.ev-catalog__backdrop {
    position: absolute; inset: 0; background: rgba(20, 23, 28, .42);
    opacity: 0; transition: opacity .25s ease;
}
.ev-catalog.is-open .ev-catalog__backdrop { opacity: 1; }
/* Aynı efekti panelin KENDİ sınıfıyla da tanımla (bkz. catalog-sidebar.js) —
   ".ev-catalog.is-open .çocuk" alt-seçicisi bazı motorlarda dinamik sınıf
   değişiminde yeniden hesaplanmıyor; kendi üzerindeki kural her yerde çalışır. */
.ev-catalog__backdrop.is-open { opacity: 1; }

.ev-catalog__panel {
    position: absolute; top: 0; left: 0; height: 100%;
    width: min(360px, 88vw); background: var(--surface);
    box-shadow: var(--shadow-lg); display: flex; flex-direction: column;
    transform: translateX(-100%);
    transition: transform .3s cubic-bezier(.4, 0, .2, 1);
}
.ev-catalog.is-open .ev-catalog__panel { transform: translateX(0); }
.ev-catalog__panel.is-open { transform: translateX(0); }

.ev-catalog__head {
    flex: 0 0 auto; display: flex; align-items: center; justify-content: space-between;
    padding: 16px 18px; border-bottom: 1px solid var(--line);
}
.ev-catalog__title { display: inline-flex; align-items: center; gap: 9px; font-weight: 800; color: var(--ink); }
.ev-catalog__title i { color: var(--brand); }
.ev-catalog__close {
    border: 0; background: var(--bg); color: var(--ink-soft);
    width: 34px; height: 34px; border-radius: 50%; cursor: pointer;
    display: inline-flex; align-items: center; justify-content: center;
    transition: background .15s ease, color .15s ease;
}
.ev-catalog__close:hover { background: var(--brand-soft); color: var(--brand); }

.ev-catalog__body { flex: 1 1 auto; overflow-y: auto; padding: 8px 10px 24px; }

.ev-catalog__section { padding: 10px 6px; }
.ev-catalog__section + .ev-catalog__section { border-top: 1px solid var(--line); margin-top: 6px; }
.ev-catalog__section-head { display: flex; align-items: baseline; gap: 8px; padding: 6px 8px 10px; }
.ev-catalog__section-head span { font-weight: 800; color: var(--ink); display: inline-flex; align-items: center; gap: 8px; }
.ev-catalog__section-head span i { color: var(--brand); }
.ev-catalog__section-head small { color: var(--muted); font-size: .76rem; margin-left: auto; }

.ev-catalog__search { position: relative; margin: 0 6px 10px; }
.ev-catalog__search i { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--muted); font-size: .95rem; }
.ev-catalog__search input {
    width: 100%; border: 1px solid var(--line); background: var(--bg);
    border-radius: var(--pill); padding: 10px 14px 10px 36px;
    font: 400 .9rem var(--font); color: var(--ink); outline: none;
    transition: border-color .15s ease, background .15s ease;
}
.ev-catalog__search input:focus { border-color: var(--brand); background: #fff; }

.ev-tree { list-style: none; margin: 0; padding: 0; }
.ev-tree__node { border-radius: var(--radius-sm); }
.ev-tree__toggle {
    width: 100%; border: 0; background: transparent; cursor: pointer;
    display: flex; align-items: center; justify-content: space-between; gap: 10px;
    padding: 11px 12px; border-radius: var(--radius-sm);
    font: 600 .94rem var(--font); color: var(--ink); text-align: left;
    transition: background .12s ease, color .12s ease;
}
.ev-tree__toggle:hover { background: var(--brand-soft); color: var(--brand-dark); }
.ev-tree__label { display: inline-flex; align-items: center; gap: 9px; }
.ev-tree__label i { color: var(--muted); }
.ev-tree__meta { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: .8rem; font-weight: 600; }
.ev-tree__meta i { transition: transform .2s ease; font-size: .9rem; }
.ev-tree__node.is-open > .ev-tree__toggle { color: var(--brand); }
.ev-tree__node.is-open > .ev-tree__toggle .ev-tree__meta i { transform: rotate(180deg); }

.ev-tree__children { list-style: none; margin: 0; padding: 0; overflow: hidden; max-height: 0; transition: max-height .28s ease; }
.ev-tree__node.is-open > .ev-tree__children { max-height: 1600px; }
.ev-tree__leaf, .ev-tree__all {
    display: block; text-decoration: none;
    padding: 9px 12px 9px 34px; border-radius: var(--radius-sm);
    color: var(--ink-soft); font-size: .9rem;
    transition: background .12s ease, color .12s ease;
}
.ev-tree__leaf:hover, .ev-tree__all:hover { background: var(--bg); color: var(--brand-dark); }
.ev-tree__all { color: var(--brand); font-weight: 600; }
.ev-tree__leaf.is-active { background: var(--brand-soft); color: var(--brand-dark); font-weight: 700; }

@media (max-width: 768px) {
    .ev-catalog-trigger { padding: 9px 13px; }
    .ev-catalog__panel { width: min(340px, 92vw); }
}

/* Sol panel — 3. seviye: Model → Kasa (jenerasyon) */
.ev-tree__toggle--sub { padding: 9px 12px 9px 34px; font: 500 .88rem var(--font); color: var(--ink-soft); }
.ev-tree__toggle--sub .ev-tree__label { font-weight: 500; }
.ev-tree__node--sub.is-open > .ev-tree__toggle--sub { color: var(--brand); }
.ev-tree__leaf--body, .ev-tree__node--sub .ev-tree__all { padding-left: 48px; }
.ev-tree__leaf--body { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.ev-tree__leaf--body small { color: var(--muted); font-size: .76rem; font-weight: 500; }
.ev-tree__leaf--body.is-active small { color: var(--brand-dark); }
#evMakeTree > .ev-tree__node.is-open > .ev-tree__children { max-height: 9000px; }
.ev-tree__node--sub.is-open > .ev-tree__children { max-height: 3000px; }

/* ==========================================================================
   Anasayfa sinematik banner (golden-hour) — sağda araç, solda logo/yazı alanı
   ========================================================================== */
.ev-banner { position: relative; overflow: hidden; background: #0e0d11; }
.ev-banner::before {
    content: ''; position: absolute; inset: 0; z-index: 0;
    background: url('/img/hero/porsche.jpg') center / cover no-repeat;
    transform: scale(1.04); transform-origin: 70% 50%;
    animation: ev-kenburns 26s ease-in-out infinite alternate;
}
.ev-banner__video {
    position: absolute; inset: 0; z-index: 1;
    width: 100%; height: 100%; object-fit: cover;
    opacity: 0; transition: opacity .9s ease;
}
.ev-banner__video.is-playing { opacity: 1; }
.ev-banner::after {
    content: ''; position: absolute; inset: 0; z-index: 2; pointer-events: none;
    background: linear-gradient(95deg, rgba(14, 13, 17, .94) 0%, rgba(14, 13, 17, .74) 30%, rgba(14, 13, 17, .34) 54%, rgba(14, 13, 17, .04) 100%);
}
@keyframes ev-kenburns { from { transform: scale(1.03); } to { transform: scale(1.13); } }
@media (prefers-reduced-motion: reduce) { .ev-banner::before { animation: none; } .ev-banner__video { display: none; } }
.ev-banner__bokeh {
    position: absolute; inset: 0; z-index: 1; pointer-events: none; filter: blur(2px);
    background:
        radial-gradient(circle 90px at 70% 22%, rgba(255, 212, 152, .34), transparent 70%),
        radial-gradient(circle 60px at 86% 58%, rgba(255, 190, 120, .30), transparent 70%),
        radial-gradient(circle 130px at 62% 82%, rgba(255, 170, 90, .16), transparent 70%),
        radial-gradient(circle 40px at 93% 33%, rgba(255, 226, 184, .42), transparent 70%);
}
.ev-banner__inner {
    position: relative; z-index: 3;
    display: flex; align-items: center;
    min-height: clamp(380px, 44vw, 560px); padding: 48px 18px;
}
.ev-banner__content { max-width: 34rem; }
.ev-banner__eyebrow { display: inline-flex; align-items: center; gap: 8px; color: #ffd6a6; font-weight: 700; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; }
.ev-banner__title { color: #fff; font-size: clamp(2rem, 3.6vw, 3.2rem); line-height: 1.08; margin: 14px 0 0; letter-spacing: -.02em; }
.ev-banner__title span { color: #ffc46a; }
.ev-banner__sub { color: rgba(255, 255, 255, .82); font-size: 1.05rem; margin: 16px 0 0; max-width: 30rem; }
.ev-banner__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.ev-banner .btn-lg { padding: 12px 22px; font-size: 1rem; border-radius: var(--pill); }
.ev-banner .btn-outline-light {
    --bs-btn-color: #fff; --bs-btn-border-color: rgba(255, 255, 255, .55);
    --bs-btn-hover-bg: rgba(255, 255, 255, .12); --bs-btn-hover-color: #fff; --bs-btn-hover-border-color: #fff;
}
.ev-banner__media { display: flex; justify-content: flex-end; align-items: center; }
.ev-banner__car { width: 100%; max-width: 760px; height: auto; object-fit: contain; filter: drop-shadow(0 26px 36px rgba(0, 0, 0, .5)); animation: ev-banner-in .8s ease both; }
@keyframes ev-banner-in { from { opacity: 0; transform: translateX(28px); } to { opacity: 1; transform: translateX(0); } }

/* ==========================================================================
   Anasayfa kampanya slider'ı (Trendyol hissi) — tıklanabilir promosyon kartları
   ========================================================================== */
.ev-slider-wrap { margin-top: 26px; }
.ev-slider { position: relative; overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow); background: var(--surface); }
.ev-slider__track { display: flex; transition: transform .5s ease; }
.ev-slide {
    position: relative; flex: 0 0 100%; min-height: 250px;
    display: flex; align-items: center; padding: 36px 56px;
    color: #fff; text-decoration: none; overflow: hidden;
}
.ev-slide:hover { color: #fff; }
.ev-slide--photo {
    background:
        linear-gradient(95deg, rgba(13, 12, 16, .92) 0%, rgba(13, 12, 16, .55) 46%, rgba(13, 12, 16, .12) 100%),
        url('/img/hero/porsche-black.jpg') center / cover no-repeat;
}
.ev-slide--brand { background: linear-gradient(110deg, var(--brand-dark) 0%, var(--brand) 55%, #ff9540 100%); }
.ev-slide--dark { background: linear-gradient(110deg, #23262d 0%, #3a3f49 70%, #4d5562 100%); }
.ev-slide--light { background: linear-gradient(110deg, #f59e0b 0%, var(--yellow) 70%, #ffd75e 100%); }
.ev-slide--light .ev-slide__sub { color: rgba(60, 44, 0, .75); }
.ev-slide--light .ev-slide__content { color: #3c2c00; }
.ev-slide--light .ev-slide__eyebrow { color: #7a5a00; }
.ev-slide--light .ev-slide__cta { background: #3c2c00; color: #ffd75e; }
.ev-slide__content { position: relative; z-index: 2; max-width: 34rem; }
.ev-slide__eyebrow { display: inline-flex; align-items: center; gap: 7px; font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #ffd9b0; }
.ev-slide--dark .ev-slide__eyebrow { color: var(--yellow); }
.ev-slide__title { font-size: clamp(1.4rem, 2.6vw, 2.1rem); line-height: 1.12; margin: 10px 0 8px; color: inherit; letter-spacing: -.01em; }
.ev-slide__sub { margin: 0 0 18px; color: rgba(255, 255, 255, .82); font-size: .95rem; }
.ev-slide__cta {
    display: inline-flex; align-items: center; gap: 8px;
    background: #fff; color: var(--ink); font-weight: 700; font-size: .88rem;
    padding: 10px 18px; border-radius: var(--pill);
    transition: transform .15s ease;
}
.ev-slide:hover .ev-slide__cta { transform: translateX(3px); }
.ev-slide__art { position: absolute; right: 7%; top: 50%; transform: translateY(-50%); font-size: 8rem; opacity: .18; z-index: 1; }

.ev-slider__nav {
    position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
    width: 38px; height: 38px; border: 0; border-radius: 50%; cursor: pointer;
    background: rgba(255, 255, 255, .92); color: var(--ink);
    display: grid; place-items: center; box-shadow: var(--shadow-md);
    transition: background .15s ease, color .15s ease;
}
.ev-slider__nav:hover { background: var(--brand); color: #fff; }
.ev-slider__nav--prev { left: 14px; }
.ev-slider__nav--next { right: 14px; }

.ev-slider__dots { position: absolute; left: 0; right: 0; bottom: 12px; display: flex; justify-content: center; gap: 7px; z-index: 3; }
.ev-slider__dots button {
    width: 8px; height: 8px; border-radius: 50%; border: 0; cursor: pointer; padding: 0;
    background: rgba(255, 255, 255, .55); transition: all .2s ease;
}
.ev-slider__dots button.is-active { width: 22px; border-radius: var(--pill); background: #fff; }

@media (max-width: 768px) {
    .ev-slide { min-height: 210px; padding: 24px 22px; }
    .ev-slide__art { display: none; }
    .ev-slider__nav { display: none; }
}

/* Araç seçici bandı — banner'ın altında hafifçe bindirilmiş, içerik öncelikli */
.ev-selector-band { margin-top: -34px; position: relative; z-index: 5; margin-bottom: 8px; }
.ev-selector-card--wide { padding: 18px 22px; }
.ev-selector-card--wide h2 { font-size: 1.05rem; margin-bottom: 14px; }
.ev-selector-card--wide .ev-vehicle-selector { grid-template-columns: repeat(3, 1fr) auto; align-items: end; gap: 14px; margin-top: 0; }
.ev-selector-card--wide .ev-vehicle-selector__submit { margin-top: 0; height: 46px; white-space: nowrap; }

@media (max-width: 860px) {
    .ev-banner::after { background: linear-gradient(180deg, rgba(14, 13, 17, .50) 0%, rgba(14, 13, 17, .80) 100%); }
    .ev-banner__video { display: none; }
    .ev-banner__inner { min-height: 340px; padding: 34px 18px; text-align: center; justify-content: center; }
    .ev-banner__content { max-width: none; }
    .ev-banner__eyebrow { justify-content: center; }
    .ev-banner__cta { justify-content: center; }
    .ev-selector-band { margin-top: 14px; }
    .ev-selector-card--wide .ev-vehicle-selector { grid-template-columns: 1fr; }
}

/* ===== Anasayfa hero slider (adminden yönetilen) ===== */
.ev-hero {
    position: relative;
    overflow: hidden;
    min-height: clamp(440px, 58vh, 620px);
    background: #0e0d11;
}
.ev-hero__slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity .8s ease;
}
.ev-hero__slide.is-active { opacity: 1; }
.ev-hero__slide::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(8,8,11,.86) 0%, rgba(8,8,11,.55) 42%, rgba(8,8,11,.12) 72%, transparent 100%);
}
.ev-hero__slide > .container { position: relative; z-index: 1; }
/* Slayt CTA'ları koyu fotoğraf zemininde durur (bkz. yukarıdaki koyu degrade) —
   global ".btn-outline-light" kuralı (site.css üstü) burada KOYU metin verir ve
   "Tüm Kategoriler" okunmaz hâle gelir. .ev-banner ve .ev-page-hero'daki aynı
   düzeltmenin eşleniği. */
.ev-hero .btn-outline-light {
    --bs-btn-color: #fff; --bs-btn-border-color: rgba(255, 255, 255, .55);
    --bs-btn-hover-bg: rgba(255, 255, 255, .12); --bs-btn-hover-color: #fff; --bs-btn-hover-border-color: #fff;
}
.ev-hero__dots {
    position: absolute;
    left: 0; right: 0; bottom: 18px;
    z-index: 3;
    display: flex; gap: 8px; justify-content: center;
}
.ev-hero__dot {
    width: 10px; height: 10px;
    padding: 0; border: 0; border-radius: 50%;
    background: rgba(255,255,255,.45);
    cursor: pointer;
    transition: width .25s ease, background .25s ease;
}
.ev-hero__dot.is-active { width: 26px; border-radius: 6px; background: #ff6a00; }
@media (max-width: 720px) {
    .ev-hero { min-height: 380px; text-align: center; }
    .ev-hero__slide { justify-content: center; }
    .ev-hero__slide::before { background: linear-gradient(180deg, rgba(8,8,11,.55) 0%, rgba(8,8,11,.78) 100%); }
}

/* ===== Tedarikçi senkron durum çubuğu ===== */
.ev-sync-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin: 10px 0 14px;
    padding: 10px 14px;
    border: 1px solid rgba(0,0,0,.08);
    border-radius: 10px;
    background: #fafafa;
}
.ev-sync-bar__info { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; font-size: .92rem; }

/* ===== Yasal sayfalar ===== */
.ev-legal { max-width: 860px; margin: 24px auto 60px; line-height: 1.75; color: #333; }
.ev-legal h1 { font-size: 28px; margin-bottom: 6px; }
.ev-legal h2 { font-size: 18px; margin: 26px 0 8px; color: #1a1a1a; }
.ev-legal__note { background: #fff8ec; border: 1px solid #ffe2b8; color: #8a5a00; padding: 8px 12px; border-radius: 8px; font-size: 13px; }
.ev-legal__company { background: #fafafa; border: 1px solid #eee; border-radius: 10px; padding: 12px 16px; margin: 8px 0; font-size: 14px; }
.ev-legal ul { padding-left: 20px; }

/* ===== Sayfa hero'su (Hakkımızda + İletişim ortak) ===== */
.ev-page-hero { position: relative; overflow: hidden; background: linear-gradient(120deg, #1a1c22 0%, #2a2d34 55%, var(--brand-dark) 140%); margin-bottom: 8px; }
.ev-page-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 85% 20%, rgba(255, 106, 0, .35), transparent 55%); pointer-events: none; }
.ev-page-hero__inner { position: relative; padding: 64px 18px; max-width: 42rem; }
.ev-page-hero__eyebrow { display: inline-flex; align-items: center; gap: 8px; color: #ffd6a6; font-weight: 700; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; }
.ev-page-hero__title { color: #fff; font-size: clamp(1.9rem, 3.4vw, 2.9rem); line-height: 1.14; margin: 14px 0 0; letter-spacing: -.02em; }
.ev-page-hero__title span { color: #ffc46a; }
.ev-page-hero__sub { color: rgba(255, 255, 255, .82); font-size: 1.02rem; margin: 18px 0 0; max-width: 34rem; }
.ev-page-hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.ev-page-hero .btn-lg { padding: 12px 22px; font-size: 1rem; border-radius: var(--pill); }
.ev-page-hero .btn-outline-light { --bs-btn-color: #fff; --bs-btn-border-color: rgba(255, 255, 255, .4); --bs-btn-hover-bg: rgba(255, 255, 255, .12); --bs-btn-hover-color: #fff; --bs-btn-hover-border-color: rgba(255, 255, 255, .6); }

.ev-stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: -34px; padding: 0 18px 8px; position: relative; z-index: 2; }
.ev-stat-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 22px 18px; text-align: center; }
.ev-stat-card i { font-size: 1.5rem; color: var(--brand); }
.ev-stat-card strong { display: block; font-size: 1.7rem; font-weight: 800; letter-spacing: -.02em; margin: 8px 0 2px; color: var(--ink); }
.ev-stat-card span { font-size: .85rem; color: var(--muted); }
a.ev-stat-card { transition: transform .15s ease, box-shadow .15s ease; }
a.ev-stat-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg), 0 0 0 1px var(--brand) inset; color: inherit; }

.ev-about-lead { max-width: 62rem; color: var(--ink-soft); font-size: 1rem; line-height: 1.7; margin: 0 0 26px; }

.ev-about-features { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
.ev-about-feature { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 20px; box-shadow: var(--shadow); transition: transform .15s ease, box-shadow .15s ease; }
.ev-about-feature:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.ev-about-feature__icon { width: 46px; height: 46px; border-radius: var(--radius-sm); background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; font-size: 1.25rem; margin-bottom: 14px; }
.ev-about-feature h3 { font-size: 1rem; margin-bottom: 6px; }
.ev-about-feature p { color: var(--muted); font-size: .9rem; margin: 0; line-height: 1.6; }

.ev-about-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; }
.ev-about-step { position: relative; padding: 8px 4px 4px 4px; }
.ev-about-step__no { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 800; font-size: 1.05rem; margin-bottom: 14px; }
.ev-about-step h3 { font-size: 1rem; margin-bottom: 6px; }
.ev-about-step p { color: var(--muted); font-size: .9rem; margin: 0; line-height: 1.6; }

.ev-about-cta { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; background: var(--brand-soft); border: 1px solid #ffe0c2; border-radius: var(--radius); padding: 28px 30px; margin: 8px 0 40px; }
.ev-about-cta h2 { font-size: 1.2rem; margin-bottom: 6px; }
.ev-about-cta p { margin: 0; color: var(--ink-soft); max-width: 34rem; }

@media (max-width: 900px) {
    .ev-stat-row { grid-template-columns: repeat(2, 1fr); margin-top: 18px; }
}
@media (max-width: 600px) {
    .ev-page-hero__inner { padding: 44px 18px; text-align: center; }
    .ev-page-hero__eyebrow, .ev-page-hero__cta { justify-content: center; }
    .ev-page-hero__sub { margin-left: auto; margin-right: auto; }
    .ev-about-cta { flex-direction: column; align-items: flex-start; }
}

/* ===== İletişim ===== */
.ev-stat-card--link { text-decoration: none; display: block; cursor: pointer; }
.ev-stat-card--link i { width: 44px; height: 44px; line-height: 44px; border-radius: 50%; background: var(--brand-soft); margin: 0 auto 10px; font-size: 1.15rem; }
.ev-stat-card--link strong { font-size: 1.02rem; word-break: break-word; }
.ev-stat-card--link span { display: block; margin-top: 2px; }

.ev-contact-layout { display: grid; grid-template-columns: 1.1fr 1.4fr; gap: 24px; align-items: start; }
.ev-contact-panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.ev-contact-panel h2 { display: flex; align-items: center; gap: 10px; font-size: 1.15rem; margin-bottom: 18px; }
.ev-contact-panel h2 i { color: var(--brand); }
.ev-contact-panel__note { color: var(--muted); font-size: .88rem; line-height: 1.6; margin-top: 4px; }
.ev-contact-address { display: flex; gap: 10px; align-items: flex-start; color: var(--ink-soft); font-size: .92rem; line-height: 1.6; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
.ev-contact-address i { color: var(--brand); font-size: 1.1rem; margin-top: 2px; }

@media (max-width: 860px) {
    .ev-contact-layout { grid-template-columns: 1fr; }
}

/* ===== Çerez banner ===== */
.ev-cookie {
    position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 1200;
    max-width: 720px; margin: 0 auto;
    display: flex; align-items: center; gap: 14px; flex-wrap: wrap; justify-content: space-between;
    background: #1a1a1f; color: #eee; padding: 12px 18px; border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0,0,0,.25); font-size: 14px;
}
.ev-cookie a { color: #ff9a4d; }

/* ---------- Ödeme "Yakında" sayfası (Payments:Enabled=false iken) ---------- */
.ev-soon { padding: 42px 0 64px; }
.ev-soon__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.ev-soon__card {
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
    padding: 26px 22px; box-shadow: var(--shadow);
}
.ev-soon__card i { font-size: 1.9rem; color: var(--brand); display: block; margin-bottom: 12px; }
.ev-soon__card h2 { font-size: 1.05rem; margin: 0 0 8px; }
.ev-soon__card p { color: var(--ink-soft); font-size: .92rem; margin: 0; line-height: 1.6; }
.ev-soon__link { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; color: var(--brand); font-weight: 600; font-size: .9rem; }
.ev-soon__foot { text-align: center; margin-top: 32px; }

/* ==========================================================================
   Üye "Hesabım" alanı — genel bakış, profil, şifre, adresler, siparişler
   Kenar menü + içerik; her sayfa aynı tip (tutarlı). Mobilde menü üste geçer.
   ========================================================================== */
.ev-alert--success { background: #ecfdf3; border-color: #abefc6; color: #067647; }
.ev-empty--sm { padding: 28px 16px; }
.ev-empty--sm i { font-size: 2rem; }

.ev-account { display: grid; grid-template-columns: 240px 1fr; gap: 24px; padding: 28px 0 64px; align-items: start; }

.ev-account__nav { display: flex; flex-direction: column; gap: 4px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px; box-shadow: var(--shadow); position: sticky; top: 90px; }
.ev-account__nav a { display: flex; align-items: center; gap: 11px; padding: 11px 14px; border-radius: var(--radius-sm); color: var(--ink-soft); font-weight: 600; font-size: .9rem; }
.ev-account__nav a:hover { background: var(--surface-2); color: var(--ink); }
.ev-account__nav a.is-active { background: var(--brand); color: #fff; }
.ev-account__logout { margin: 6px 0 0; border-top: 1px solid var(--line); padding-top: 8px; }
.ev-account__logout button { display: flex; align-items: center; gap: 11px; width: 100%; padding: 11px 14px; border: 0; background: transparent; border-radius: var(--radius-sm); color: var(--muted); font-weight: 600; font-size: .9rem; cursor: pointer; text-align: left; }
.ev-account__logout button:hover { background: #fff1f2; color: var(--red); }

.ev-account__main { min-width: 0; }
.ev-account__head { margin-bottom: 20px; }
.ev-account__head h1 { font-size: 1.5rem; margin: 0; }
.ev-account__head--row { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.ev-account__sub { color: var(--muted); margin: 4px 0 0; font-size: .92rem; }
.ev-account__back { color: var(--muted); font-weight: 600; font-size: .88rem; white-space: nowrap; }
.ev-account__hint { color: var(--muted); font-size: .78rem; margin-top: 4px; display: block; }

.ev-account__cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; margin-bottom: 22px; }
.ev-account__stat { display: flex; flex-direction: column; gap: 2px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; box-shadow: var(--shadow); transition: transform .15s ease, box-shadow .15s ease; }
.ev-account__stat:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.ev-account__stat i { font-size: 1.4rem; color: var(--brand); }
.ev-account__stat-num { font-size: 1.7rem; font-weight: 800; color: var(--ink); line-height: 1.1; }
.ev-account__stat-label { color: var(--muted); font-size: .84rem; }

.ev-account__panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); margin-bottom: 20px; }
.ev-account__panel--narrow { max-width: 460px; }
.ev-account__panel--flush { padding: 0; overflow: hidden; }
.ev-account__panel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.ev-account__panel-head h2, .ev-account__panel-title { font-size: 1.05rem; margin: 0 0 14px; }
.ev-account__panel-head h2 { margin: 0; }
.ev-account__panel-head a { color: var(--brand); font-weight: 600; font-size: .85rem; white-space: nowrap; }

.ev-account__orders { display: flex; flex-direction: column; }
.ev-account__order { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-top: 1px solid var(--line); }
.ev-account__order:first-child { border-top: 0; }
.ev-account__order > div { display: flex; flex-direction: column; }
.ev-account__order > div small { color: var(--muted); font-size: .8rem; }
.ev-account__order-amt { margin-left: auto; font-weight: 700; color: var(--ink); white-space: nowrap; }

.ev-account__addr strong { display: block; }
.ev-account__addr p { margin: 6px 0; color: var(--ink-soft); font-size: .9rem; line-height: 1.5; }
.ev-account__addr small { color: var(--muted); }

.ev-account__addr-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.ev-account__addr-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.ev-account__addr-card.is-default { border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand) inset; }
.ev-account__addr-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 8px; }
.ev-account__addr-top strong { font-size: 1rem; }
.ev-account__addr-name { font-weight: 600; margin: 0 0 6px; }
.ev-account__addr-lines { color: var(--ink-soft); font-size: .9rem; line-height: 1.55; margin: 0 0 8px; }
.ev-account__addr-phone { color: var(--muted); font-size: .85rem; margin: 0 0 14px; }
.ev-account__addr-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }
.ev-account__addr-actions form { margin: 0; }

.ev-account__table-wrap { overflow-x: auto; }
.ev-account__table { width: 100%; border-collapse: collapse; }
.ev-account__table thead th { text-align: left; color: var(--muted); font-size: .76rem; text-transform: uppercase; letter-spacing: .03em; font-weight: 600; border-bottom: 1px solid var(--line); padding: 12px 16px; white-space: nowrap; }
.ev-account__table tbody td { border-bottom: 1px solid var(--line); padding: 13px 16px; color: var(--ink-soft); vertical-align: middle; }
.ev-account__table tbody tr:last-child td { border-bottom: 0; }
.ev-account__table code { color: var(--brand-dark); font-size: .82rem; }

.ev-account__totals { padding: 16px 22px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; align-items: flex-end; }
.ev-account__totals > div { display: flex; justify-content: space-between; gap: 40px; min-width: 240px; font-size: .92rem; color: var(--ink-soft); }
.ev-account__totals-grand { border-top: 1px solid var(--line); padding-top: 10px; margin-top: 4px; font-size: 1.1rem; font-weight: 800; color: var(--brand); }
.ev-account__order-status { margin-bottom: 16px; }

.ev-account__two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ev-account__two .ev-account__panel { margin-bottom: 0; }

.ev-account__timeline { list-style: none; margin: 0; padding: 0; }
.ev-account__timeline li { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; padding: 10px 0; border-top: 1px solid var(--line); }
.ev-account__timeline li:first-child { border-top: 0; }
.ev-account__timeline-status { font-weight: 700; color: var(--ink); }
.ev-account__timeline-date { color: var(--muted); font-size: .84rem; }
.ev-account__timeline-note { color: var(--ink-soft); font-size: .85rem; width: 100%; }

.ev-account__pager { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 8px; }
.ev-account__pager a { color: var(--brand); font-weight: 600; }
.ev-account__pager span { color: var(--muted); font-size: .9rem; }

@media (max-width: 860px) {
    .ev-account { grid-template-columns: 1fr; gap: 16px; }
    .ev-account__nav { position: static; flex-direction: row; flex-wrap: wrap; }
    .ev-account__nav a { flex: 1 1 auto; justify-content: center; }
    .ev-account__logout { flex: 1 1 100%; }
    .ev-account__logout button { justify-content: center; }
    .ev-account__two { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
    .ev-account__table thead { display: none; }
    .ev-account__table, .ev-account__table tbody, .ev-account__table tr, .ev-account__table td { display: block; width: 100%; }
    .ev-account__table tr { border-bottom: 1px solid var(--line); padding: 8px 0; }
    .ev-account__table tbody td { border: 0; padding: 5px 16px; display: flex; justify-content: space-between; gap: 16px; }
    .ev-account__table tbody td::before { content: attr(data-label); color: var(--muted); font-weight: 600; font-size: .8rem; }
    .ev-account__table tbody td.text-end, .ev-account__table tbody td.text-center { text-align: left; }
    .ev-account__totals > div { min-width: 0; width: 100%; }
}

/* ---------- Admin: kategori grupları (açılır/kapanır) ---------- */
.ev-cat-group { border: 1px solid var(--line); border-radius: var(--radius-sm); margin-bottom: 10px; background: var(--surface); }
.ev-cat-group[open] { box-shadow: var(--shadow); }
.ev-cat-group__head {
    display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
    padding: 12px 16px; cursor: pointer; list-style: none; user-select: none;
}
.ev-cat-group__head::-webkit-details-marker { display: none; }
/* Kendi oku: kapalıyken sağa, açıkken aşağı bakar. */
.ev-cat-group__head::before {
    content: "▸"; color: var(--muted); font-size: .9rem; margin-right: 4px; transition: transform .15s ease; display: inline-block;
}
.ev-cat-group[open] > .ev-cat-group__head::before { transform: rotate(90deg); }
.ev-cat-group__head:hover { background: var(--surface-2); }
.ev-cat-group__name { font-weight: 700; color: var(--ink); flex: 1 1 auto; }
.ev-cat-group__meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.ev-cat-group__badge {
    font-size: .74rem; font-weight: 600; color: var(--ink-soft);
    background: var(--surface-2); border: 1px solid var(--line-2);
    padding: 2px 9px; border-radius: var(--pill); white-space: nowrap;
}
.ev-cat-group__badge--markup { background: var(--brand-soft); color: var(--brand-dark); border-color: #ffd9bd; }
.ev-cat-group > .ev-admin-table { margin: 0; border-top: 1px solid var(--line); }
.ev-markup-form { display: flex; gap: .25rem; align-items: center; justify-content: center; }
.ev-markup-form .form-control { width: 5.5rem; }
@media (max-width: 768px) {
    .ev-cat-group__head { padding: 12px; }
    .ev-cat-group__name { flex-basis: 100%; }
}

/* --- Mega menüde araç modelleri (FIAT/RENAULT/VW kategorileri) ------------- */
/* Panel 2 sütunlu grid; model listesi tüm genişliği kaplayan bir şerit olur.  */
.ev-megamenu__vehicles { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 12px; margin-top: 2px; }
.ev-megamenu__vehicles .ev-megamenu__head { border-bottom: 0; margin-bottom: 8px; padding-bottom: 0; font-size: .82rem; }
.ev-megamenu__vehicles .ev-megamenu__head i { color: var(--brand); }
.ev-megamenu__chips { display: flex; flex-wrap: wrap; gap: 6px; max-height: 168px; overflow-y: auto; }
.ev-megamenu__chips a { display: inline-block; padding: 4px 10px; font-size: .8rem; line-height: 1.3; color: var(--ink-soft);
    background: var(--surface-2); border: 1px solid var(--line); border-radius: 999px; white-space: nowrap; }
.ev-megamenu__chips a:hover { color: #fff; background: var(--brand); border-color: var(--brand); }

/* Filtre panelindeki araç modeli seçici */
.ev-filters__select { width: 100%; }
.ev-filters__hint { display: block; margin-top: 6px; font-size: .75rem; color: var(--muted); }

/* Admin ayarlar: SMTP test e-postası kutusu */
.ev-testmail { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.ev-testmail label { display: block; font-weight: 600; font-size: .88rem; margin-bottom: 6px; color: var(--ink); }
.ev-testmail__row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.ev-testmail__row input { flex: 1 1 220px; min-width: 0; }
.ev-testmail__row button { flex: 0 0 auto; white-space: nowrap; }

/* Sepet özeti: kargo satırı, ücretsiz kargo ipucu ve toplam */
.ev-cart-summary__free { color: #2f9e44; }
.ev-cart-summary__hint {
    display: flex; align-items: flex-start; gap: 7px;
    margin: 4px 0 10px; padding: 9px 11px;
    background: var(--brand-soft); border-radius: var(--radius-sm);
    font-size: .82rem; line-height: 1.45; color: var(--brand-dark);
}
.ev-cart-summary__hint i { margin-top: 2px; }
.ev-cart-summary__row--total { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 10px; font-size: 1.05rem; }
.ev-cart-summary__row--total strong { color: var(--brand); font-weight: 800; }

/* Ürün kartında uyumlu araçlar — tek satır, taşarsa "…" ile kısalır */
.ev-card__fits {
    display: flex; align-items: center; gap: 6px;
    margin-top: 6px; padding: 5px 8px;
    background: var(--surface-2); border-radius: var(--radius-sm);
    font-size: .74rem; line-height: 1.35; color: var(--ink-soft); min-width: 0;
}
.ev-card__fits i { flex: 0 0 auto; color: var(--brand); font-size: .82rem; }
.ev-card__fits span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
