/* MarkaGlobal vitrin katmanı — başlık, menü, kartlar, ürün sayfası, alt bilgi.
   tailwind.css'ten sonra yüklenir; eski katmanların üzerine yazar. */
:root {
  --st-navy: #081525;
  --st-navy-2: #0c2240;
  --st-blue: #0f5b9e;
  --st-blue-600: #0b4a82;
  --st-blue-50: #eef5fc;
  --st-ink: #14233a;
  --st-muted: #64748b;
  --st-line: #e3e9f0;
  --st-bg: #f4f6f9;
  --st-green: #12805c;
  --st-amber: #b45309;
  --st-red: #d02f3a;
  --st-radius: 16px;
  --st-shadow-sm: 0 1px 2px rgba(8,21,37,.06), 0 6px 16px -10px rgba(8,21,37,.18);
  --st-shadow: 0 1px 2px rgba(8,21,37,.05), 0 18px 40px -24px rgba(8,21,37,.35);
  --st-header-h: 128px;
}
html, body.mg-store { overflow-x: clip; }
body.mg-store { background: var(--st-bg); }
body.mg-store .mg-container { width: min(1320px, calc(100% - 40px)); margin-inline: auto; }
body.mg-store .mg-icon { width: 20px; height: 20px; }

/* ------------------------------------------------------------ topbar */
.mg-topbar { background: var(--st-navy); color: #cfdcec; font-size: .74rem; }
.mg-topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 36px; }
.mg-topbar__promises { display: flex; gap: 22px; margin: 0; padding: 0; list-style: none; }
.mg-topbar__promises li { display: inline-flex; align-items: center; gap: 7px; font-weight: 650; white-space: nowrap; }
.mg-topbar__promises .mg-icon { width: 15px; height: 15px; color: #7cc0ff; }
.mg-topbar__links { display: flex; align-items: center; gap: 18px; }
.mg-topbar__links a { display: inline-flex; align-items: center; gap: 6px; color: #e8f1fb; font-weight: 700; text-decoration: none; }
.mg-topbar__links a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.mg-topbar__links .mg-icon { width: 14px; height: 14px; }

/* ------------------------------------------------------------ header */
.mg-store-header { position: sticky; top: 0; z-index: 60; background: rgba(255,255,255,.97); box-shadow: 0 1px 0 var(--st-line); backdrop-filter: saturate(1.4) blur(14px); transition: box-shadow .2s ease; }
.mg-store-header.is-scrolled { box-shadow: 0 10px 30px -18px rgba(8,21,37,.35); }
.mg-store-header .mg-header-main { display: flex; align-items: center; gap: 28px; min-height: 80px; }
.mg-store-header .mg-brand { display: flex; align-items: center; flex: 0 0 auto; width: auto; height: auto; gap: 10px; text-decoration: none; }
.mg-store-header .mg-brand-emblem { display: block; flex: 0 0 48px; width: 48px; height: 48px; border-radius: 50%; background: url('../images/markaglobal-logo.jpeg') -55px -23px/160px 121px no-repeat; box-shadow: 0 4px 14px rgba(8,21,37,.16); }
.mg-store-header .mg-brand-copy strong { color: #414a57; font-size: 27px; line-height: 1; }
.mg-store-header .mg-brand-copy small { margin-top: 5px; font-size: 6.4px; }
.mg-menu-button { display: none; place-items: center; flex: 0 0 44px; width: 44px; height: 44px; padding: 0; border: 1px solid var(--st-line); border-radius: 12px; background: #fff; color: var(--st-ink); cursor: pointer; }
.mg-menu-button .mg-icon { width: 22px; height: 22px; }

.mg-store-header .mg-header-search { position: relative; display: flex; align-items: center; flex: 1; max-width: 680px; min-width: 0; height: 50px; margin: 0 auto; border: 1.5px solid #d6dee8; border-radius: 14px; background: #f7f9fc; box-shadow: none; overflow: visible; transition: border-color .15s ease, box-shadow .15s ease, background .15s ease; }
.mg-store-header .mg-header-search:focus-within { border-color: var(--st-blue); background: #fff; box-shadow: 0 0 0 4px rgba(15,91,158,.12); }
.mg-header-search__icon { display: grid; place-items: center; width: 46px; color: #8a97a8; }
.mg-header-search__icon .mg-icon { width: 19px; height: 19px; }
.mg-store-header .mg-header-search input[type=search] { flex: 1; min-width: 0; height: 100%; padding: 0 8px 0 0; border: 0; outline: 0; background: transparent; color: var(--st-ink); font-size: .92rem; }
.mg-store-header .mg-header-search input[type=search]::-webkit-search-cancel-button { cursor: pointer; }
.mg-store-header .mg-header-search button[type=submit] { display: inline-flex; align-items: center; justify-content: center; height: 40px; min-width: 76px; margin-right: 4px; padding: 0 18px; border: 0; border-radius: 10px; background: var(--st-blue); color: #fff; font-size: .84rem; font-weight: 800; cursor: pointer; }
.mg-store-header .mg-header-search button[type=submit]:hover { background: var(--st-blue-600); }
.mg-store-header .mg-header-search button[type=submit] .mg-icon { display: none; width: 19px; height: 19px; }
.mg-store-header .mg-header-search button[type=submit] span { display: inline !important; }

.mg-live-results { position: absolute; z-index: 80; top: calc(100% + 8px); right: 0; left: 0; max-height: min(70vh, 560px); padding: 8px; border: 1px solid var(--st-line); border-radius: 16px; background: #fff; box-shadow: 0 30px 60px -28px rgba(8,21,37,.45); overflow-y: auto; }
.mg-live-label { margin: 8px 10px 4px; color: var(--st-muted); font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.mg-live-item, .mg-live-group, .mg-live-all { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 11px; color: var(--st-ink); text-decoration: none; }
.mg-live-item:hover, .mg-live-group:hover, .mg-live-item.is-active, .mg-live-group.is-active { background: var(--st-blue-50); }
.mg-live-thumb { flex: 0 0 52px; width: 52px; height: 52px; border: 1px solid var(--st-line); border-radius: 10px; background: #fff; overflow: hidden; }
.mg-live-thumb img { width: 100%; height: 100%; object-fit: contain; }
.mg-live-body { display: flex; flex: 1; min-width: 0; flex-direction: column; gap: 3px; }
.mg-live-body strong { overflow: hidden; font-size: .84rem; font-weight: 750; line-height: 1.3; text-overflow: ellipsis; white-space: nowrap; }
.mg-live-body small { display: flex; align-items: center; gap: 6px; color: var(--st-muted); font-size: .72rem; }
.mg-live-body .mg-badge { font-style: normal; }
.mg-live-price { flex: none; color: var(--st-blue-600); font-size: .86rem; font-weight: 850; white-space: nowrap; }
.mg-live-group { justify-content: space-between; font-size: .86rem; font-weight: 700; }
.mg-live-group small { color: var(--st-muted); font-weight: 600; }
.mg-live-all { justify-content: center; margin-top: 4px; border-top: 1px solid var(--st-line); border-radius: 0 0 10px 10px; color: var(--st-blue); font-size: .82rem; font-weight: 800; }
.mg-live-empty { margin: 0; padding: 18px 14px; color: var(--st-muted); font-size: .85rem; line-height: 1.5; }

.mg-header-actions { display: flex; flex: none; align-items: center; gap: 6px; }
.mg-header-action { display: flex; align-items: center; gap: 10px; min-height: 50px; padding: 6px 12px; border-radius: 12px; color: var(--st-ink); text-decoration: none; transition: background .15s ease; }
.mg-header-action:hover { background: var(--st-blue-50); }
.mg-header-action > .mg-icon, .mg-header-action__icon > .mg-icon { width: 24px; height: 24px; color: var(--st-ink); }
.mg-header-action span:last-child { display: flex; flex-direction: column; line-height: 1.15; }
.mg-header-action small { color: var(--st-muted); font-size: .7rem; font-weight: 600; }
.mg-header-action strong { font-size: .84rem; font-weight: 800; }
.mg-header-action__icon { position: relative; display: block; }
.mg-header-action .mg-cart-count, .mg-bottom-nav .mg-cart-count { position: absolute; top: -7px; right: -9px; display: grid; place-items: center; min-width: 19px; height: 19px; padding: 0 5px; border: 2px solid #fff; border-radius: 99px; background: var(--st-red); color: #fff; font-size: .62rem; font-weight: 850; line-height: 1; }
.mg-cart-count[data-count="0"] { display: none !important; }
.mg-cart-total:empty::before { content: "Boş"; color: var(--st-muted); font-weight: 650; }

/* ---------------------------------------------------------- menü bandı */
.mg-store-header .mg-header-nav-band { position: relative; border-top: 1px solid #eef2f6; background: #fff; }
.mg-store-header .mg-header-nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 50px; }
.mg-store-nav ul { display: flex; align-items: center; gap: 2px; margin: 0; padding: 0; list-style: none; }
.mg-store-nav > ul > li { position: relative; }
.mg-store-nav > ul > li > a { display: flex; align-items: center; min-height: 50px; padding: 0 13px; color: #2c3b50; font-size: .84rem; font-weight: 750; text-decoration: none; }
.mg-store-nav > ul > li > a:hover, .mg-store-nav > ul > li > a[aria-current=page] { color: var(--st-blue); }
.mg-store-nav > ul > li > a[aria-current=page] { box-shadow: inset 0 -2px 0 var(--st-blue); }
.mg-store-nav__condition a { color: #4a5a70 !important; font-weight: 650 !important; }
.mg-mega-toggle { display: inline-flex; align-items: center; gap: 9px; height: 38px; margin-right: 10px; padding: 0 14px; border: 0; border-radius: 10px; background: var(--st-navy); color: #fff; font-size: .84rem; font-weight: 800; cursor: pointer; }
.mg-mega-toggle .mg-icon { width: 18px; height: 18px; }
.mg-mega-toggle .mg-caret { width: 16px; height: 16px; transition: transform .2s ease; }
.mg-mega-toggle[aria-expanded=true] { background: var(--st-blue); }
.mg-mega-toggle[aria-expanded=true] .mg-caret { transform: rotate(180deg); }

.mg-nav-drop { position: absolute; z-index: 70; top: 100%; left: -8px; display: none; width: 280px; padding: 14px; border: 1px solid var(--st-line); border-radius: 14px; background: #fff; box-shadow: var(--st-shadow); }
.mg-store-nav__make:hover .mg-nav-drop, .mg-store-nav__make:focus-within .mg-nav-drop { display: block; }
.mg-nav-drop > p { margin: 0 0 8px; color: var(--st-muted); font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.mg-nav-drop ul { display: grid !important; grid-template-columns: 1fr 1fr; gap: 2px !important; }
.mg-nav-drop ul a, .mg-mega__panel ul a { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 10px; border-radius: 9px; color: var(--st-ink); font-size: .84rem; font-weight: 650; text-decoration: none; }
.mg-nav-drop ul a:hover, .mg-mega__panel ul a:hover { background: var(--st-blue-50); color: var(--st-blue); }
.mg-nav-drop small, .mg-mega__panel small, .mg-mega__group small { color: #94a1b2; font-size: .7rem; font-weight: 700; }
.mg-nav-drop__all { display: flex; align-items: center; gap: 6px; margin-top: 10px; padding: 10px 10px 2px; border-top: 1px solid var(--st-line); color: var(--st-blue); font-size: .8rem; font-weight: 800; text-decoration: none; }
.mg-nav-drop__all .mg-icon { width: 15px; height: 15px; }

.mg-header-support { display: flex; flex: none; align-items: center; gap: 9px; color: var(--st-ink); text-decoration: none; }
.mg-header-support .mg-icon { width: 22px; height: 22px; color: var(--st-blue); }
.mg-header-support span { display: flex; flex-direction: column; line-height: 1.15; }
.mg-header-support small { color: var(--st-muted); font-size: .68rem; font-weight: 650; }
.mg-header-support strong { font-size: .86rem; font-weight: 850; }

.mg-mega { position: absolute; z-index: 65; top: 100%; right: 0; left: 0; border-top: 1px solid var(--st-line); background: #fff; box-shadow: 0 40px 60px -40px rgba(8,21,37,.45); }
.mg-mega__inner { display: grid; grid-template-columns: 300px minmax(0,1fr) 300px; gap: 0; min-height: 360px; padding-block: 18px 22px; }
.mg-mega__inner.is-vehicles-only { grid-template-columns: 1fr; min-height: 0; }
.mg-mega__groups { margin: 0; padding: 0 14px 0 0; border-right: 1px solid var(--st-line); list-style: none; }
.mg-mega__group { display: flex; align-items: center; gap: 11px; padding: 9px 10px; border-radius: 11px; color: var(--st-ink); font-size: .85rem; font-weight: 700; text-decoration: none; }
.mg-mega__group > span:nth-child(2) { flex: 1; }
.mg-mega__group.is-active, .mg-mega__group:hover { background: var(--st-blue-50); color: var(--st-blue); }
.mg-mega__icon { display: grid; flex: 0 0 34px; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: #eef3f8; color: var(--st-blue); }
.mg-mega__icon .mg-icon { width: 18px; height: 18px; }
.mg-mega__panels { padding: 4px 26px; }
.mg-mega__panel header { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.mg-mega__panel h2 { margin: 0; color: var(--st-ink); font-size: 1.1rem; }
.mg-mega__panel header a { display: inline-flex; align-items: center; gap: 6px; color: var(--st-blue); font-size: .82rem; font-weight: 800; text-decoration: none; }
.mg-mega__panel header .mg-icon { width: 15px; height: 15px; }
.mg-mega__panel ul { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 2px 14px; margin: 0; padding: 0; list-style: none; }
.mg-mega__vehicles { padding-left: 22px; border-left: 1px solid var(--st-line); }
.mg-mega__inner.is-vehicles-only .mg-mega__vehicles { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 18px; padding: 0; border: 0; }
.mg-mega__inner.is-vehicles-only .mg-mega__vehicles h2 { grid-column: 1/-1; }
.mg-mega__vehicles h2 { margin: 2px 0 12px; color: var(--st-muted); font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.mg-mega__make { margin-bottom: 14px; }
.mg-mega__make-name { color: var(--st-ink); font-size: .92rem; font-weight: 850; text-decoration: none; }
.mg-mega__make-name:hover { color: var(--st-blue); }
.mg-mega__make p { display: flex; flex-wrap: wrap; gap: 4px 10px; margin: 6px 0 0; }
.mg-mega__make p a { color: var(--st-muted); font-size: .8rem; font-weight: 600; text-decoration: none; }
.mg-mega__make p a:hover { color: var(--st-blue); text-decoration: underline; }

/* -------------------------------------------------------- mobil menü */
.mg-mobile-menu { position: fixed; z-index: 120; inset: 0; background: rgba(8,21,37,.55); }
.mg-mobile-menu[hidden] { display: none; }
.mg-mobile-menu__panel { display: flex; flex-direction: column; width: min(380px, 88vw); height: 100%; padding: 0 18px max(18px, env(safe-area-inset-bottom)); background: #fff; overflow-y: auto; animation: mg-slide-in .22s ease; }
@keyframes mg-slide-in { from { transform: translateX(-24px); opacity: .4; } to { transform: none; opacity: 1; } }
.mg-mobile-menu__head { position: sticky; z-index: 2; top: 0; display: flex; align-items: center; justify-content: space-between; min-height: 60px; background: #fff; }
.mg-mobile-menu__head strong { font-size: 1.05rem; }
.mg-mobile-menu__close { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--st-line); border-radius: 10px; background: #fff; cursor: pointer; }
.mg-mobile-menu__search { display: flex; height: 46px; margin-bottom: 8px; border: 1.5px solid #d6dee8; border-radius: 12px; overflow: hidden; }
.mg-mobile-menu__search input { display: block !important; flex: 1; min-width: 0; padding: 0 12px; border: 0; outline: 0; font-size: .92rem; }
.mg-mobile-menu__search button { display: grid !important; width: 48px; border: 0; background: var(--st-blue); color: #fff; }
.mg-mobile-menu__search .mg-icon { margin: auto; }
.mg-mobile-menu__label { margin: 16px 0 6px; color: var(--st-muted); font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.mg-mobile-menu details { border-bottom: 1px solid #eef2f6; }
.mg-mobile-menu summary { display: flex; align-items: center; gap: 10px; min-height: 50px; color: var(--st-ink); font-size: .92rem; font-weight: 750; list-style: none; cursor: pointer; }
.mg-mobile-menu summary::-webkit-details-marker { display: none; }
.mg-mobile-menu summary .mg-caret { width: 17px; height: 17px; margin-left: auto; color: var(--st-muted); transition: transform .2s ease; }
.mg-mobile-menu details[open] summary .mg-caret { transform: rotate(180deg); }
.mg-mobile-menu details ul, .mg-mobile-menu__links { margin: 0 0 10px; padding: 0; list-style: none; }
.mg-mobile-menu details ul a, .mg-mobile-menu__links a { display: flex; justify-content: space-between; padding: 9px 4px 9px 12px; color: #33455c; font-size: .88rem; font-weight: 600; text-decoration: none; }
.mg-mobile-menu details ul small { color: #94a1b2; }
.mg-mobile-menu__links a { padding-left: 0; border-bottom: 1px solid #f1f4f7; }
.mg-mobile-menu__call { display: flex; align-items: center; gap: 12px; margin-top: auto; padding: 14px; border-radius: 14px; background: var(--st-navy); color: #fff; text-decoration: none; }
.mg-mobile-menu__call span { display: flex; flex-direction: column; }
.mg-mobile-menu__call small { color: #9fb3cb; font-size: .72rem; }

.mg-bottom-nav { display: none; }

/* ---------------------------------------------------------- bölümler */
.mg-section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.mg-section-head h2 { margin: 4px 0 0; color: #101e31; font-size: clamp(1.55rem, 2.3vw, 2.2rem); font-weight: 850; letter-spacing: -.035em; line-height: 1.1; }
.mg-section-head > a { display: inline-flex; flex: none; align-items: center; gap: 6px; color: var(--st-blue); font-size: .86rem; font-weight: 800; text-decoration: none; }
.mg-section-head > a .mg-icon { width: 16px; height: 16px; }

.mg-cat-section { margin-block: 8px 64px; }
.mg-cat-grid { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: 14px; }
.mg-cat-card { display: flex; flex-direction: column; padding: 16px; border: 1px solid var(--st-line); border-radius: var(--st-radius); background: #fff; box-shadow: var(--st-shadow-sm); transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.mg-cat-card:hover { border-color: #c9d9ea; box-shadow: var(--st-shadow); transform: translateY(-3px); }
.mg-cat-card__main { display: flex; flex-direction: column; gap: 4px; color: var(--st-ink); text-decoration: none; }
.mg-cat-card__icon { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 8px; border-radius: 14px; background: linear-gradient(145deg, #eaf3fc, #dcebf9); color: var(--st-blue); }
.mg-cat-card__icon .mg-icon { width: 24px; height: 24px; }
.mg-cat-card strong { font-size: .95rem; font-weight: 800; line-height: 1.25; }
.mg-cat-card small { color: var(--st-muted); font-size: .76rem; font-weight: 650; }
.mg-cat-card ul { display: grid; gap: 2px; margin: 12px 0 0; padding: 10px 0 0; border-top: 1px dashed var(--st-line); list-style: none; }
.mg-cat-card ul a { display: block; overflow: hidden; color: #4d5d72; font-size: .78rem; text-decoration: none; text-overflow: ellipsis; white-space: nowrap; }
.mg-cat-card ul a:hover { color: var(--st-blue); text-decoration: underline; }

.mg-origin-section { margin-block: 0 72px; }
.mg-origin-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; }
.mg-origin-card { position: relative; display: flex; flex-direction: column; gap: 8px; min-height: 210px; padding: 26px; border-radius: 20px; color: #fff; text-decoration: none; overflow: hidden; box-shadow: var(--st-shadow); transition: transform .18s ease; }
.mg-origin-card:hover { transform: translateY(-3px); }
.mg-origin-card::after { position: absolute; right: -60px; bottom: -80px; width: 220px; height: 220px; border: 1px solid rgba(255,255,255,.14); border-radius: 50%; content: ""; }
.mg-origin-card--orijinal { background: linear-gradient(140deg, #081525, #13345c); }
.mg-origin-card--oem { background: linear-gradient(140deg, #0b4a82, #1a74c4); }
.mg-origin-card--ithal { background: linear-gradient(140deg, #0f5f55, #178a79); }
.mg-origin-card__icon { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 6px; border-radius: 13px; background: rgba(255,255,255,.14); }
.mg-origin-card strong { font-family: "Manrope Variable", var(--font-sans); font-size: 1.35rem; font-weight: 850; letter-spacing: -.02em; }
.mg-origin-card p { margin: 0; color: rgba(255,255,255,.82); font-size: .88rem; line-height: 1.55; }
.mg-origin-card__foot { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; font-size: .82rem; font-weight: 800; }
.mg-origin-card__foot .mg-icon { width: 16px; height: 16px; }

/* Marka slaytları: kontroller CTA'nın üstüne binmesin, arama paneli slaytı örtmesin. */
.mg-home-slider:has(.mg-brand-slide) .mg-slider-tools { top: 18px; right: 24px; bottom: auto; left: auto; transform: none; }
.mg-home-slider:has(.mg-brand-slide) ~ .mg-search-panel { margin-top: 22px; }
.mg-home-slider:has(.mg-brand-slide) .mg-slider-pause span { display: none; }
.mg-hero-disclaimer { max-width: 1320px; margin: 10px auto 0; padding: 0 20px; color: #8391a3; font-size: .7rem; line-height: 1.5; text-align: center; }

/* ------------------------------------------------------- ürün kartı */
.woocommerce ul.products li.product { position: relative; }
.mg-card-badges { position: absolute; z-index: 3; top: 18px; left: 18px; display: flex; flex-direction: column; align-items: flex-start; gap: 5px; pointer-events: none; }
.mg-badge { display: inline-flex; align-items: center; padding: 3px 8px; border-radius: 7px; background: #eef2f6; color: var(--st-ink); font-size: .66rem; font-weight: 800; letter-spacing: .01em; line-height: 1.4; white-space: nowrap; }
.mg-badge--original { background: var(--st-navy); color: #fff; }
.mg-badge--oem { background: #1466b2; color: #fff; }
.mg-badge--imported { background: #117a6c; color: #fff; }
.mg-badge--sale { background: var(--st-red); color: #fff; }
.mg-badge--new { background: #e9f7f1; color: var(--st-green); }
.mg-stock { display: inline-flex; align-items: center; gap: 6px; margin: 6px 0 0 !important; font-size: .72rem; font-weight: 750; }
.mg-stock::before { width: 7px; height: 7px; border-radius: 50%; background: currentColor; content: ""; }
.mg-stock--in { color: var(--st-green); }
.mg-stock--low { color: var(--st-amber); }
.mg-stock--out { color: var(--st-muted); }
body.mg-store ul.products li.product .mg-quick-view { position: absolute; z-index: 4; top: 16px; right: 16px; display: grid; place-items: center; width: 36px; min-height: 0; height: 36px; margin: 0; padding: 0; border: 1px solid var(--st-line); border-radius: 50%; background: rgba(255,255,255,.95); color: var(--st-ink); box-shadow: var(--st-shadow-sm); opacity: 0; transform: translateY(-4px); transition: opacity .18s ease, transform .18s ease, background .18s ease; }
body.mg-store ul.products li.product .mg-quick-view span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
body.mg-store ul.products li.product .mg-quick-view .mg-icon { width: 17px; height: 17px; }
body.mg-store ul.products li.product:hover .mg-quick-view, body.mg-store ul.products li.product .mg-quick-view:focus-visible { opacity: 1; transform: none; }
body.mg-store ul.products li.product .mg-quick-view:hover { background: var(--st-blue); border-color: var(--st-blue); color: #fff; }
@media (hover: none) { body.mg-store ul.products li.product .mg-quick-view { opacity: 1; transform: none; } }
body.mg-store ul.products li.product .price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; color: var(--st-ink) !important; font-size: 1.08rem !important; }
body.mg-store ul.products li.product .price ins { order: -1; color: var(--st-red); text-decoration: none; }
body.mg-store ul.products li.product .button { border-radius: 11px !important; background: var(--st-blue) !important; }
body.mg-store ul.products li.product .button:hover { background: var(--st-navy) !important; }
body.mg-store ul.products li.product .added_to_cart { display: block; margin-top: 6px; color: var(--st-blue); font-size: .74rem; font-weight: 800; text-align: center; }

/* ---------------------------------------------------- katalog sayfası */
.mg-subcats { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.mg-subcats a { display: inline-flex; align-items: center; gap: 8px; padding: 8px 13px; border: 1px solid rgba(255,255,255,.2); border-radius: 99px; background: rgba(255,255,255,.08); color: #fff; font-size: .8rem; font-weight: 700; text-decoration: none; transition: background .15s ease; }
.mg-subcats a:hover { background: rgba(255,255,255,.18); }
.mg-subcats small { color: #9fc6ea; font-weight: 700; }
body.mg-store .mg-shop-results > .woocommerce-notices-wrapper + .woocommerce-result-count, body.mg-store .mg-shop-results .woocommerce-result-count { display: flex; align-items: center; min-height: 46px; margin: 0 0 18px; }
body.mg-store .mg-shop-results .woocommerce-ordering { margin: 0 0 18px; }
body.mg-store .mg-shop-results .woocommerce-ordering select { min-height: 46px; padding-inline: 14px 36px; border: 1px solid var(--st-line); border-radius: 12px; font-weight: 650; }

/* -------------------------------------------------------- ürün sayfası */
.single-product div.product > * { min-width: 0; }
.single-product .summary p.stock { display: none; }
.single-product .woocommerce-tabs ul.tabs { display: flex !important; flex-wrap: nowrap !important; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.single-product .woocommerce-tabs ul.tabs::-webkit-scrollbar { display: none; }
.single-product .woocommerce-tabs ul.tabs li { flex: none; white-space: nowrap; }
.mg-single-badges { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 12px; }
.mg-single-badges .mg-badge { padding: 5px 10px; font-size: .72rem; }
.mg-single-badges .mg-stock { margin: 0 0 0 4px !important; }
.mg-facts { display: grid; margin: 18px 0; border: 1px solid var(--st-line); border-radius: 14px; background: #fff; overflow: hidden; }
.mg-facts > div { display: grid; grid-template-columns: 150px minmax(0,1fr); gap: 12px; padding: 11px 16px; border-bottom: 1px solid #eef2f6; }
.mg-facts > div:last-child { border-bottom: 0; }
.mg-facts > div:nth-child(odd) { background: #fafbfd; }
.mg-facts dt { color: var(--st-muted); font-size: .8rem; font-weight: 700; }
.mg-facts dd { margin: 0; color: var(--st-ink); font-size: .86rem; font-weight: 700; }
.mg-facts dd a { color: var(--st-blue); }
.mg-code { display: inline-flex; align-items: center; gap: 8px; font-family: ui-monospace, "SFMono-Regular", Menlo, monospace; letter-spacing: .02em; }
.mg-copy { display: grid; place-items: center; width: 28px; height: 28px; padding: 0; border: 1px solid var(--st-line); border-radius: 8px; background: #fff; color: var(--st-muted); cursor: pointer; }
.mg-copy:hover { border-color: var(--st-blue); color: var(--st-blue); }
.mg-copy .mg-icon { width: 14px; height: 14px; }
.mg-copy.is-copied { border-color: var(--st-green); background: #e9f7f1; color: var(--st-green); }
.mg-delivery { display: flex; align-items: center; gap: 14px; margin: 0 0 16px; padding: 14px 16px; border: 1px solid #cfe9dd; border-radius: 14px; background: #f1faf6; }
.mg-delivery__icon { display: grid; flex: 0 0 42px; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: #fff; color: var(--st-green); }
.mg-delivery p { display: flex; flex-direction: column; gap: 2px; margin: 0; }
.mg-delivery strong { color: #0c5e43; font-size: .95rem; }
.mg-delivery span { color: #3f6b5a; font-size: .82rem; }
.mg-help-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.mg-help-link { display: flex; flex: 1 1 200px; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--st-line); border-radius: 14px; background: #fff; color: var(--st-ink); text-decoration: none; transition: border-color .15s ease, box-shadow .15s ease; }
.mg-help-link:hover { border-color: #bcd2e8; box-shadow: var(--st-shadow-sm); }
.mg-help-link > .mg-icon { width: 24px; height: 24px; color: var(--st-blue); }
.mg-help-link span { display: flex; flex-direction: column; }
.mg-help-link strong { font-size: .88rem; }
.mg-help-link small { color: var(--st-muted); font-size: .76rem; }
.mg-help-link--whatsapp > .mg-icon { color: #128c4b; }
.single-product .mg-fitment { margin: 0 0 16px; padding: 14px 16px; border-left: 3px solid var(--st-blue); border-radius: 0 12px 12px 0; background: var(--st-blue-50); }
.single-product .mg-fitment h2 { margin: 0 0 4px; font-size: .92rem; }
.single-product .mg-fitment p { margin: 0; color: #4a5b70; font-size: .84rem; line-height: 1.55; }
body.mg-store.single-product form.cart { position: static; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 14px; border: 1px solid var(--st-line); border-radius: 14px; background: #fff; box-shadow: var(--st-shadow-sm); backdrop-filter: none; }
body.mg-store.single-product form.cart .quantity input { height: 52px; border: 1px solid var(--st-line); border-radius: 11px; }
body.mg-store.single-product form.cart .single_add_to_cart_button { flex: 1; }
.mg-tab-lead { margin: 0 0 16px; color: var(--st-muted); }
.mg-chip-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.mg-chip-list li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border: 1px solid var(--st-line); border-radius: 10px; background: #fafbfd; font-size: .86rem; font-weight: 700; }
.mg-chip-list .mg-icon { width: 16px; height: 16px; color: var(--st-blue); }
.mg-chip-list--codes li { font-family: ui-monospace, "SFMono-Regular", Menlo, monospace; }
.mg-chip-list--codes strong { color: var(--st-muted); font-family: var(--font-sans); font-size: .7rem; text-transform: uppercase; }
.mg-tab-points { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.mg-tab-points li { display: flex; gap: 12px; }
.mg-tab-points .mg-icon { flex: none; width: 22px; height: 22px; color: var(--st-blue); }
.mg-tab-points span { display: flex; flex-direction: column; gap: 3px; color: var(--st-muted); font-size: .88rem; line-height: 1.55; }
.mg-tab-points strong { color: var(--st-ink); }
.mg-sticky-buy { display: none; }

/* --------------------------------------------------- güvence + footer */
.mg-assurance-band { margin-top: 24px; padding-block: 26px; border-top: 1px solid var(--st-line); background: #fff; }
.mg-assurance-band__grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 18px; }
.mg-assurance-band article { display: flex; align-items: center; gap: 13px; }
.mg-assurance-band article > span { display: grid; flex: 0 0 46px; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--st-blue-50); color: var(--st-blue); }
.mg-assurance-band .mg-icon { width: 22px; height: 22px; }
.mg-assurance-band strong { display: block; color: var(--st-ink); font-size: .9rem; }
.mg-assurance-band p { margin: 2px 0 0; color: var(--st-muted); font-size: .78rem; line-height: 1.4; }
.mg-store-footer { background: var(--st-navy); }
.mg-store-footer .mg-footer-grid { display: grid; grid-template-columns: 1.4fr repeat(4, minmax(0,1fr)); gap: 34px; }
.mg-store-footer .mg-footer-grid:not(:has(> nav:nth-of-type(3))) { grid-template-columns: 1.4fr repeat(3, minmax(0,1fr)); }
.mg-footer-cta { display: inline-flex; align-items: center; gap: 10px; margin-top: 14px; padding: 10px 14px; border: 1px solid rgba(255,255,255,.14); border-radius: 12px; color: #fff !important; font-weight: 850; text-decoration: none !important; }
.mg-footer-cta span { display: flex; flex-direction: column; line-height: 1.2; }
.mg-footer-cta small { color: #8fa6c1; font-size: .7rem; font-weight: 650; }
.mg-footer-cta .mg-icon { color: #7cc0ff; }
.mg-footer-address { display: flex; gap: 8px; }
.mg-footer-address .mg-icon { flex: none; width: 17px; height: 17px; margin-top: 2px; color: #7cc0ff; }
.mg-footer-legal { padding-top: 30px; }
.mg-footer-legal p { margin: 0; color: #6f8299; font-size: .72rem; line-height: 1.55; }
.mg-store-footer .mg-footer-bottom { margin-top: 20px; }
.mg-footer-secure { display: inline-flex; align-items: center; gap: 6px; }
.mg-footer-secure .mg-icon { width: 14px; height: 14px; }

/* ---------------------------------------------------------- duyarlılık */
@media (max-width: 1180px) {
  .mg-header-support { display: none; }
  .mg-store-nav > ul > li > a { padding: 0 10px; font-size: .8rem; }
  .mg-mega__inner { grid-template-columns: 280px minmax(0,1fr); }
  .mg-mega__vehicles { display: none; }
  .mg-mega__inner.is-vehicles-only .mg-mega__vehicles { display: grid; }
  .mg-cat-grid { grid-template-columns: repeat(4, minmax(0,1fr)); }
}
@media (max-width: 980px) {
  :root { --st-header-h: 116px; }
  .mg-topbar__promises li.mg-topbar__extra, .mg-topbar__links a:not(.mg-topbar__phone) { display: none; }
  .mg-menu-button { display: grid; }
  .mg-store-header .mg-header-main { flex-wrap: wrap; gap: 10px 12px; min-height: 0; padding-block: 10px; }
  .mg-store-header .mg-brand { margin-right: auto; }
  .mg-store-header .mg-brand-emblem { display: block; flex-basis: 38px; width: 38px; height: 38px; background-position: -44px -18px; background-size: 128px 97px; }
  .mg-store-header .mg-brand-copy strong { font-size: 22px; }
  .mg-store-header .mg-brand-copy small { display: none; }
  .mg-store-header .mg-header-search { order: 5; flex: 1 0 100%; max-width: none; height: 46px; }
  .mg-store-header .mg-header-search button[type=submit] { min-width: 44px; height: 36px; padding: 0 12px; }
  .mg-store-header .mg-header-search button[type=submit] span { display: none !important; }
  .mg-store-header .mg-header-search button[type=submit] .mg-icon { display: block; }
  .mg-header-action { padding: 6px 8px; }
  .mg-header-action span:last-child { display: none; }
  .mg-store-header .mg-header-nav-band { display: none; }
  .mg-bottom-nav { position: fixed; z-index: 90; right: 0; bottom: 0; left: 0; display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); padding: 6px 6px max(6px, env(safe-area-inset-bottom)); border-top: 1px solid var(--st-line); background: rgba(255,255,255,.97); box-shadow: 0 -8px 24px -16px rgba(8,21,37,.3); backdrop-filter: blur(12px); }
  .mg-bottom-nav > a, .mg-bottom-nav > button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-height: 50px; padding: 0; border: 0; border-radius: 10px; background: transparent; color: #56667b; font: inherit; font-size: .66rem; font-weight: 750; text-decoration: none; cursor: pointer; }
  .mg-bottom-nav [aria-current=page] { color: var(--st-blue); }
  .mg-bottom-nav .mg-icon { width: 22px; height: 22px; }
  .mg-bottom-nav__icon { position: relative; }
  body.mg-store { padding-bottom: calc(66px + env(safe-area-inset-bottom)); }
  .mg-cat-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .mg-origin-grid { grid-template-columns: 1fr; }
  .mg-origin-card { min-height: 0; }
  .mg-assurance-band__grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .mg-store-footer .mg-footer-grid, .mg-store-footer .mg-footer-grid:not(:has(> nav:nth-of-type(3))) { grid-template-columns: 1fr 1fr; }
  .mg-store-footer .mg-footer-brand { grid-column: 1/-1; }
  body.mg-store.single-product .mg-sticky-buy { position: fixed; z-index: 85; right: 0; bottom: calc(62px + env(safe-area-inset-bottom)); left: 0; display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-top: 1px solid var(--st-line); background: #fff; box-shadow: 0 -10px 24px -18px rgba(8,21,37,.35); opacity: 0; visibility: hidden; transform: translateY(16px); transition: transform .22s ease, opacity .22s ease, visibility .22s; }
  body.mg-store.single-product .mg-sticky-buy[hidden] { display: none; }
  body.mg-store.single-product .mg-sticky-buy.is-visible { opacity: 1; visibility: visible; transform: none; }
  .mg-sticky-buy > div { display: flex; flex: 1; min-width: 0; flex-direction: column; }
  .mg-sticky-buy strong { overflow: hidden; font-size: .78rem; text-overflow: ellipsis; white-space: nowrap; }
  .mg-sticky-buy .price, .mg-sticky-buy > div > span { color: var(--st-ink); font-size: .95rem; font-weight: 850; }
  .mg-sticky-buy__button { display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 18px; border: 0; border-radius: 12px; background: var(--st-blue); color: #fff; font: inherit; font-weight: 850; }
  .mg-sticky-buy__button .mg-icon { width: 18px; height: 18px; }
  .mg-tab-points { grid-template-columns: 1fr; }
  /* Masaüstündeki yapışkan galerinin top:100px değeri mobilde position:relative ile
     birleşip galeriyi 100px aşağı itiyor ve başlığın üstüne bindiriyordu. */
  .single-product div.product .woocommerce-product-gallery { top: auto !important; }
  .mg-home-slider:has(.mg-brand-slide) .mg-brand-foot { margin-bottom: 46px; }
  .mg-home-slider:has(.mg-brand-slide) .mg-slider-tools { top: auto; right: 50%; bottom: 12px; transform: translateX(50%); }
}
@media (max-width: 640px) {
  body.mg-store .mg-container { width: calc(100% - 28px); }
  .mg-topbar__inner { justify-content: center; }
  .mg-topbar .mg-topbar__links { display: none; }
  .mg-topbar__promises li { font-size: .7rem; }
  .mg-cat-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; }
  .mg-cat-card { padding: 14px; }
  .mg-cat-card ul { display: none; }
  .mg-section-head { align-items: flex-start; flex-direction: column; gap: 8px; }
  .mg-assurance-band__grid { grid-template-columns: 1fr; gap: 14px; }
  .mg-store-footer .mg-footer-grid, .mg-store-footer .mg-footer-grid:not(:has(> nav:nth-of-type(3))) { grid-template-columns: 1fr; }
  .mg-facts > div { grid-template-columns: 1fr; gap: 2px; }
  .mg-store-footer .mg-footer-bottom .mg-container { flex-direction: column; align-items: flex-start; padding-block: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .mg-mobile-menu__panel { animation: none; }
  .mg-cat-card, .mg-origin-card, body.mg-store ul.products li.product .mg-quick-view { transition: none; }
}

/* =========================================================== sepet & ödeme */
.mg-header-secure { display: none; }
.mg-flow-head { padding: 26px 0 22px; border-bottom: 1px solid var(--st-line); background: #fff; }
.mg-flow-head .mg-container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; }
.mg-flow-head h1 { margin: 0; color: var(--st-ink); font-size: clamp(1.5rem, 2.4vw, 2rem); font-weight: 850; letter-spacing: -.035em; }
.mg-steps { display: flex; align-items: center; gap: 0; margin: 0; padding: 0; list-style: none; counter-reset: none; }
.mg-steps li { display: flex; align-items: center; color: #8391a3; font-size: .84rem; font-weight: 750; }
.mg-steps li + li::before { width: clamp(24px, 5vw, 64px); height: 2px; margin: 0 12px; border-radius: 2px; background: var(--st-line); content: ""; }
.mg-steps li.is-done + li::before, .mg-steps li.is-current::before { background: var(--st-blue); }
.mg-steps a { display: flex; align-items: center; color: inherit; text-decoration: none; }
.mg-steps a:hover .mg-steps__label { text-decoration: underline; }
.mg-steps__dot { display: grid; flex: 0 0 30px; place-items: center; width: 30px; height: 30px; margin-right: 9px; border: 2px solid var(--st-line); border-radius: 50%; background: #fff; font-size: .8rem; }
.mg-steps__dot .mg-icon { width: 15px; height: 15px; }
.mg-steps li.is-current { color: var(--st-ink); }
.mg-steps li.is-current .mg-steps__dot { border-color: var(--st-blue); background: var(--st-blue); color: #fff; box-shadow: 0 0 0 4px rgba(15,91,158,.14); }
.mg-steps li.is-done { color: var(--st-green); }
.mg-steps li.is-done .mg-steps__dot { border-color: var(--st-green); background: var(--st-green); color: #fff; }

/* Akış sayfalarında içerik kartı çerçevesiz; blokların kendi kartları var. */
body.mg-flow .mg-page-content-wrap { max-width: 1240px; padding-block: 28px 72px; }
body.mg-flow .mg-page-article { padding: 0; border: 0; background: transparent; box-shadow: none; }
body.mg-flow .mg-assurance-band { display: none; }
body.mg-flow .mg-bottom-nav { display: none !important; }
body.mg-flow.mg-store { padding-bottom: 0; }

/* İki sütun: sol içerik, sağda yapışkan özet. WooCommerce'in kapsayıcı sorgusuna
   bırakılınca 1024px'te özet sayfanın en altına düşüyordu. */
@media (min-width: 900px) {
  body.mg-flow .wc-block-components-sidebar-layout { display: grid !important; grid-template-columns: minmax(0, 1fr) 380px; align-items: start; gap: 28px !important; margin: 0 !important; }
  body.mg-flow .wc-block-components-sidebar-layout > .wc-block-components-main,
  body.mg-flow .wc-block-components-sidebar-layout > .wc-block-components-sidebar { width: auto !important; margin: 0 !important; padding: 0 !important; }
  body.mg-flow .wc-block-components-sidebar-layout > .wc-block-components-sidebar { position: sticky; top: calc(var(--st-header-h) + 16px); }
  body.mg-flow .wc-block-components-sidebar-layout > .wc-block-components-notices { grid-column: 1 / -1; }
}
body.mg-flow .wc-block-components-sidebar-layout .wc-block-components-main,
body.mg-flow .wc-block-components-sidebar > .wp-block-woocommerce-cart-order-summary-block,
body.mg-flow .wc-block-components-sidebar > .wp-block-woocommerce-checkout-order-summary-block { padding: 22px !important; border: 1px solid var(--st-line) !important; border-radius: 18px !important; background: #fff; box-shadow: var(--st-shadow-sm); }
body.mg-flow .wc-block-cart__sidebar, body.mg-flow .wc-block-checkout__sidebar { border: 0 !important; background: transparent !important; box-shadow: none !important; }

/* Sepet satırları */
body.mg-flow .wc-block-cart-items { width: 100%; margin: 0 !important; border: 0 !important; box-shadow: none !important; }
body.mg-flow .wc-block-cart-items__header th { padding: 0 0 12px !important; border-bottom: 1px solid var(--st-line) !important; color: var(--st-muted); font-size: .72rem !important; font-weight: 800; letter-spacing: .06em; }
body.mg-flow .wc-block-cart-items__row td { padding: 18px 0 !important; border-bottom: 1px solid #eef2f6 !important; vertical-align: top; }
body.mg-flow .wc-block-cart-items__row:last-child td { border-bottom: 0 !important; }
body.mg-flow .wc-block-cart-item__image { width: 96px !important; padding-right: 16px !important; }
body.mg-flow .wc-block-cart-item__image img { width: 80px !important; height: 80px; border: 1px solid var(--st-line); border-radius: 12px; background: #fff; object-fit: contain; }
body.mg-flow .wc-block-components-product-name { color: var(--st-ink) !important; font-size: .92rem !important; font-weight: 750 !important; line-height: 1.4; text-decoration: none !important; }
body.mg-flow .wc-block-components-product-name:hover { color: var(--st-blue) !important; }
body.mg-flow .wc-block-cart-item__prices { margin-top: 4px; color: var(--st-muted); font-size: .82rem; }
body.mg-flow .wc-block-components-product-metadata { margin-top: 4px; color: var(--st-muted); font-size: .76rem; }
body.mg-flow .wc-block-components-product-metadata p { margin: 0; }
body.mg-flow .wc-block-cart-item__total { font-size: 1rem; font-weight: 850; }
body.mg-flow .wc-block-components-sale-badge { border: 0 !important; border-radius: 6px !important; background: #fdecee !important; color: var(--st-red) !important; font-size: .68rem !important; font-weight: 800 !important; text-transform: none !important; }
body.mg-flow .wc-block-components-product-badge { border-radius: 6px !important; font-size: .68rem !important; text-transform: none !important; }
body.mg-flow .wc-block-components-quantity-selector { width: 118px !important; height: 38px; margin-top: 10px !important; border: 1px solid var(--st-line) !important; border-radius: 10px !important; background: #fff; overflow: hidden; }
body.mg-flow .wc-block-components-quantity-selector::after { display: none !important; }
body.mg-flow .wc-block-components-quantity-selector input { font-weight: 800 !important; }
body.mg-flow .wc-block-components-quantity-selector button { color: var(--st-blue) !important; font-size: 1.1rem !important; }
body.mg-flow .wc-block-cart-item__remove-link { margin-top: 10px !important; color: var(--st-muted) !important; font-size: .78rem !important; text-decoration: none !important; }
body.mg-flow .wc-block-cart-item__remove-link:hover { color: var(--st-red) !important; }

/* Özet ve toplamlar */
body.mg-flow .wc-block-cart__totals-title, body.mg-flow .wc-block-components-checkout-order-summary__title-text { margin: 0 0 6px !important; padding: 0 !important; color: var(--st-ink) !important; font-family: "Manrope Variable", var(--font-sans); font-size: 1.1rem !important; font-weight: 850 !important; text-align: left !important; text-transform: none !important; }
body.mg-flow .wc-block-components-totals-wrapper { padding: 14px 0 !important; border-top: 1px solid #eef2f6 !important; }
body.mg-flow .wc-block-components-totals-item { color: #3a4a5f; font-size: .9rem; }
body.mg-flow .wc-block-components-totals-footer-item { margin-top: 2px; }
body.mg-flow .wc-block-components-totals-footer-item .wc-block-components-totals-item__label { color: var(--st-ink); font-size: 1rem !important; font-weight: 850 !important; }
body.mg-flow .wc-block-components-totals-footer-item .wc-block-components-totals-item__value { color: var(--st-ink); font-size: 1.35rem !important; font-weight: 900 !important; letter-spacing: -.02em; }
body.mg-flow .wc-block-components-totals-coupon .wc-block-components-panel__button { color: var(--st-blue) !important; font-size: .86rem !important; font-weight: 750 !important; }
body.mg-flow .wc-block-components-panel__button-icon { fill: currentColor; }
body.mg-flow .wc-block-cart__submit-container { padding: 4px 0 0 !important; }
body.mg-flow .wc-block-cart__submit-button, body.mg-flow .wc-block-components-checkout-place-order-button { width: 100%; min-height: 56px !important; border: 0 !important; border-radius: 14px !important; background: linear-gradient(135deg, #1671bd, #0b477e) !important; color: #fff !important; font-size: 1rem !important; font-weight: 850 !important; box-shadow: 0 16px 30px -18px rgba(15,91,158,.9) !important; }
body.mg-flow .wc-block-cart__submit-button:hover, body.mg-flow .wc-block-components-checkout-place-order-button:hover { filter: brightness(1.08); }

/* Sepet yardım kutusu */
.mg-cart-assist { margin-top: 16px; padding: 16px; border: 1px solid var(--st-line); border-radius: 16px; background: #fff; }
.mg-cart-assist ul { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.mg-cart-assist li { display: flex; gap: 11px; color: var(--st-muted); font-size: .78rem; line-height: 1.45; }
.mg-cart-assist li .mg-icon { flex: none; width: 20px; height: 20px; color: var(--st-blue); }
.mg-cart-assist li strong { display: block; color: var(--st-ink); font-size: .84rem; }
.mg-cart-assist__call { display: flex; align-items: center; gap: 10px; margin-top: 14px; padding: 11px 13px; border-radius: 12px; background: var(--st-blue-50); color: var(--st-ink); font-weight: 850; text-decoration: none; }
.mg-cart-assist__call .mg-icon { width: 22px; height: 22px; color: var(--st-blue); }
.mg-cart-assist__call span { display: flex; flex-direction: column; line-height: 1.2; }
.mg-cart-assist__call small { color: var(--st-muted); font-size: .7rem; font-weight: 650; }

/* Boş sepet */
body.mg-flow .wp-block-woocommerce-empty-cart-block { padding: 34px 22px; border: 1px solid var(--st-line); border-radius: 18px; background: #fff; text-align: center; }
body.mg-flow .wc-block-cart__empty-cart__title { margin: 0 0 8px; font-size: 1.5rem !important; }
body.mg-flow .wc-block-cart__empty-cart__title::before { opacity: .5; }
body.mg-flow .wp-block-woocommerce-empty-cart-block .wp-block-separator { max-width: 120px; margin: 26px auto; border-color: var(--st-line); }
body.mg-flow .wp-block-woocommerce-empty-cart-block h2:not(.wc-block-cart__empty-cart__title) { font-size: 1.15rem; }

/* Ödeme formu */
body.mg-flow .wc-block-checkout__form > fieldset, body.mg-flow .wc-block-checkout__form > .wc-block-components-checkout-step { margin: 0 0 22px !important; padding: 0 0 22px !important; border-bottom: 1px solid #eef2f6; }
body.mg-flow .wc-block-components-checkout-step__heading { margin: 0 0 14px !important; }
body.mg-flow .wc-block-components-checkout-step__title { color: var(--st-ink) !important; font-family: "Manrope Variable", var(--font-sans); font-size: 1.05rem !important; font-weight: 850 !important; }
/* Adım numaraları WooCommerce sürümüne göre farklı sayaçla basılıyor (canlıda hep 0 çıktı); üstteki adım çubuğu yeterli. */
body.mg-flow .wc-block-components-checkout-step__title::before { display: none !important; content: none !important; }
body.mg-flow .wc-block-components-checkout-step__description { color: var(--st-muted); font-size: .84rem; }
body.mg-flow .wc-block-components-checkout-step__container::after, body.mg-flow .wc-block-components-checkout-step::after { display: none !important; }
body.mg-flow .wc-block-components-checkout-step { padding-left: 0 !important; }
body.mg-flow .wc-block-components-text-input input, body.mg-flow .wc-block-components-combobox .wc-block-components-combobox-control input, body.mg-flow .wc-blocks-components-select__select, body.mg-flow .wc-block-components-textarea, body.mg-flow .wc-block-components-address-form select { min-height: 54px; border: 1.5px solid #d6dee8 !important; border-radius: 12px !important; background: #fff !important; color: var(--st-ink) !important; box-shadow: none !important; }
body.mg-flow .wc-block-components-text-input input:focus, body.mg-flow .wc-blocks-components-select__select:focus, body.mg-flow .wc-block-components-textarea:focus, body.mg-flow .wc-block-components-combobox input:focus { border-color: var(--st-blue) !important; box-shadow: 0 0 0 4px rgba(15,91,158,.12) !important; outline: 0 !important; }
body.mg-flow .wc-block-components-text-input label, body.mg-flow .wc-blocks-components-select__label { color: var(--st-muted) !important; }
body.mg-flow .wc-block-components-text-input.has-error input, body.mg-flow .wc-block-components-validation-error { border-color: var(--st-red) !important; color: var(--st-red); }
body.mg-flow .wc-block-components-radio-control__option, body.mg-flow .wc-block-components-radio-control-accordion-option { margin-bottom: 8px; padding-block: 14px !important; border: 1.5px solid var(--st-line) !important; border-radius: 14px !important; background: #fff; box-shadow: none !important; }
body.mg-flow .wc-block-components-radio-control::after, body.mg-flow .wc-block-components-radio-control__option::after, body.mg-flow .wc-block-components-radio-control-accordion-option::after { display: none !important; }
body.mg-flow .wc-block-components-radio-control-accordion-option .wc-block-components-radio-control__option { margin: 0 !important; padding-block: 0 !important; border: 0 !important; background: transparent !important; }
body.mg-flow .wc-block-components-radio-control-accordion-content { padding-top: 10px; color: var(--st-muted); font-size: .84rem; }
body.mg-flow .wc-block-checkout__sidebar .wc-block-components-product-metadata { display: none; }
body.mg-flow .wc-block-components-order-summary-item__image { width: 56px !important; }
body.mg-flow .wc-block-components-order-summary-item__image img { width: 56px !important; height: 56px; }
body.mg-flow .wc-block-components-radio-control__option-checked, body.mg-flow .wc-block-components-radio-control-accordion-option--checked-option-highlighted { border-color: var(--st-blue) !important; background: var(--st-blue-50) !important; }
body.mg-flow .wc-block-components-radio-control__input:checked { border-color: var(--st-blue) !important; }
body.mg-flow .wc-block-components-radio-control__input:checked::before { background: var(--st-blue) !important; }
body.mg-flow .wc-block-components-checkbox__input:checked { border-color: var(--st-blue) !important; background: var(--st-blue) !important; }
body.mg-flow .wc-block-checkout__no-payment-methods-notice { border-radius: 14px !important; }
body.mg-flow .wc-block-checkout__terms { color: var(--st-muted); font-size: .8rem; }
body.mg-flow .wc-block-checkout__terms a { color: var(--st-blue); }
body.mg-flow .wc-block-checkout__actions_row { flex-wrap: wrap; gap: 12px; }
body.mg-flow .wc-block-components-checkout-return-to-cart-button { color: var(--st-muted) !important; font-weight: 700; text-decoration: none !important; }
body.mg-flow .mg-checkout-trust { background: #fff; }
.mg-note-hint { display: flex; gap: 10px; margin: 0 0 10px; padding: 11px 13px; border-radius: 12px; background: var(--st-blue-50); color: #3a4a5f; font-size: .82rem; line-height: 1.45; }
.mg-note-hint .mg-icon { flex: none; width: 18px; height: 18px; margin-top: 1px; color: var(--st-blue); }

/* Ödeme özetindeki ürün listesi uzarsa kendi içinde kayar. */
body.mg-flow .wc-block-components-order-summary .wc-block-components-order-summary__content { max-height: 340px; padding-right: 6px; overflow-y: auto; }
body.mg-flow .wc-block-components-order-summary-item { padding: 10px 0 !important; }
body.mg-flow .wc-block-components-order-summary-item__image img { border: 1px solid var(--st-line); border-radius: 10px; background: #fff; object-fit: contain; }
body.mg-flow .wc-block-components-order-summary-item__quantity { border: 0 !important; background: var(--st-navy) !important; color: #fff !important; box-shadow: none !important; }
body.mg-flow .wc-block-components-product-name { font-size: .84rem; }

/* Dikkat dağıtmayan ödeme: yalnız logo, güvenli ödeme rozeti ve telefon. */
body.mg-flow--step-2 .mg-header-search,
body.mg-flow--step-2 .mg-header-actions,
body.mg-flow--step-2 .mg-header-nav-band,
body.mg-flow--step-2 .mg-menu-button,
body.mg-flow--step-2 .mg-topbar__promises li.mg-topbar__extra,
body.mg-flow--step-2 .mg-store-footer .mg-footer-grid { display: none !important; }
body.mg-flow--step-2 .mg-header-secure { display: flex; align-items: center; gap: 10px; margin: 0 0 0 auto; color: var(--st-green); }
body.mg-flow--step-2 .mg-header-secure .mg-icon { width: 24px; height: 24px; }
body.mg-flow--step-2 .mg-header-secure span { display: flex; flex-direction: column; line-height: 1.2; }
body.mg-flow--step-2 .mg-header-secure strong { color: var(--st-ink); font-size: .9rem; }
body.mg-flow--step-2 .mg-header-secure small { color: var(--st-muted); font-size: .72rem; }
body.mg-flow--step-2 .mg-store-header .mg-header-main { min-height: 72px; }
body.mg-flow--step-2 .mg-store-footer .mg-footer-legal { padding-top: 22px; }

/* Sipariş onayı (klasik şablon) */
body.mg-flow--step-3 .woocommerce-order { display: grid; gap: 22px; }
body.mg-flow--step-3 .woocommerce-notice--success { display: flex; align-items: center; gap: 12px; margin: 0; padding: 20px 22px; border: 1px solid #cfe9dd; border-radius: 18px; background: #f1faf6; color: #0c5e43; font-size: 1.05rem; font-weight: 800; }
body.mg-flow--step-3 ul.woocommerce-order-overview { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
body.mg-flow--step-3 ul.woocommerce-order-overview li { margin: 0 !important; padding: 16px !important; border: 1px solid var(--st-line) !important; border-radius: 14px; background: #fff; color: var(--st-muted); font-size: .72rem !important; text-transform: uppercase; letter-spacing: .05em; }
body.mg-flow--step-3 ul.woocommerce-order-overview li strong { display: block; margin-top: 6px; color: var(--st-ink); font-size: .98rem; letter-spacing: 0; text-transform: none; }
body.mg-flow--step-3 .woocommerce-order-details, body.mg-flow--step-3 .woocommerce-customer-details, body.mg-flow--step-3 .woocommerce-bacs-bank-details { padding: 22px; border: 1px solid var(--st-line); border-radius: 18px; background: #fff; }
body.mg-flow--step-3 .woocommerce-order h2 { margin-top: 0; font-size: 1.15rem; }

@media (max-width: 899px) {
  .mg-flow-head { padding: 18px 0 16px; }
  .mg-flow-head .mg-container { flex-direction: column; align-items: flex-start; }
  .mg-steps__label { font-size: .74rem; }
  body.mg-flow .wc-block-components-sidebar { margin-top: 18px !important; }
  body.mg-flow .wc-block-components-main { padding: 16px !important; }
}
@media (max-width: 640px) {
  .mg-steps li + li::before { width: 16px; margin: 0 6px; }
  .mg-steps__dot { flex-basis: 26px; width: 26px; height: 26px; margin-right: 6px; }
  body.mg-flow--step-2 .mg-header-secure small { display: none; }
  body.mg-flow .wc-block-cart-item__image { width: 76px !important; }
  .mg-steps li:not(.is-current) .mg-steps__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  body.mg-flow .wc-block-checkout__sidebar, body.mg-flow .wc-block-cart__sidebar { padding: 0 !important; }
  body.mg-flow .wc-block-cart__submit-container--sticky { padding: 10px 14px max(10px, env(safe-area-inset-bottom)) !important; background: #fff !important; box-shadow: 0 -10px 24px -16px rgba(8,21,37,.35); }
  body.mg-flow .wc-block-cart-item__image img { width: 64px !important; height: 64px; }
  body.mg-flow .wc-block-cart-items__header { display: none !important; }
  body.mg-flow .wc-block-cart-items__row:first-of-type td { padding-top: 0 !important; }
  body.mg-flow .wc-block-cart-items__row { display: grid !important; grid-template-columns: 76px minmax(0,1fr) !important; }
  body.mg-flow .wc-block-cart-items__row td { padding-bottom: 0 !important; border-bottom: 0 !important; }
  body.mg-flow .wc-block-cart-items__row .wc-block-cart-item__product { grid-column: 2 !important; grid-row: 1 !important; }
  body.mg-flow .wc-block-cart-items__row .wc-block-cart-item__total { grid-column: 2 !important; grid-row: 2 !important; padding: 0 0 16px !important; border-bottom: 1px solid #eef2f6 !important; text-align: left !important; }
  body.mg-flow .wc-block-cart-items__row .wc-block-cart-item__total-price-and-sale-badge-wrapper { align-items: flex-start !important; }
  body.mg-flow .wc-block-cart-items__row .wc-block-cart-item__image { grid-column: 1 !important; grid-row: 1 / span 2 !important; border-bottom: 1px solid #eef2f6 !important; }
}
body.mg-flow--step-3 ul.woocommerce-order-overview { width: 100%; max-width: none !important; justify-self: stretch; }
.mg-thankyou-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; }
.mg-thankyou-actions a { display: inline-flex; align-items: center; min-height: 50px; padding: 0 22px; border-radius: 12px; font-weight: 850; text-decoration: none; }
.mg-thankyou-actions__primary { background: var(--st-blue); color: #fff !important; }
.mg-thankyou-actions__secondary { border: 1px solid var(--st-line); background: #fff; color: var(--st-ink) !important; }

/* PayTR */
.mg-paytr-label { display: flex; flex-direction: column; line-height: 1.25; }
.mg-paytr-label__brand { color: var(--st-muted); font-size: .72rem; font-weight: 600; }
.mg-paytr-content p { margin: 0 0 6px; color: var(--st-muted); font-size: .84rem; }
.mg-paytr-test { display: inline-block; padding: 3px 9px; border-radius: 7px; background: #fff4e5; color: var(--st-amber) !important; font-weight: 800; }
.mg-paytr { padding: 18px; border: 1px solid var(--st-line); border-radius: 18px; background: #fff; box-shadow: var(--st-shadow-sm); }
.mg-order-tracking { margin-top: 22px; padding: 18px 20px; border: 1px solid #cfe9dd; border-radius: 14px; background: #f1faf6; }
.mg-order-tracking h2 { margin: 0 0 6px; font-size: 1.05rem; }
.mg-order-tracking a { color: var(--st-blue); font-weight: 800; }

/* Marka rozeti (resmi logo dosyası yoksa nötr harf rozeti) */
.mg-brand-mark { display: inline-grid; flex: none; place-items: center; width: 22px; height: 22px; margin-right: 7px; border-radius: 6px; background: var(--mark, #0f5b9e); color: #fff; font-size: .6rem; font-weight: 850; letter-spacing: .02em; line-height: 1; vertical-align: middle; }
.mg-brand-logo { display: inline-block; flex: none; max-width: 90px; margin-right: 8px; object-fit: contain; vertical-align: middle; }
.mg-store-nav__make > a { gap: 0; }
.mg-mega__make-name { display: inline-flex; align-items: center; }
.mg-model-card .mg-model-name { display: flex; align-items: center; justify-content: center; gap: 0; }
.mg-model-card .mg-model-name .mg-brand-mark { width: 20px; height: 20px; margin-right: 6px; font-size: .56rem; }
.mg-model-card .mg-model-name .mg-brand-logo { margin-right: 6px; }
.mg-brand-car--wordmark { display: grid !important; place-items: center; border: 0 !important; background: none !important; color: rgba(255,255,255,.07) !important; font-family: "Manrope Variable", var(--font-sans); font-size: clamp(3.5rem, 11vw, 9rem) !important; font-weight: 900; letter-spacing: -.04em !important; text-transform: none !important; }

/* Çok satan etiketi ile menşe rozetleri çakışmasın */
.mg-recommendations--best-sellers .mg-card-badges { top: 50px; }

/* Menü: logolar sığsın, bağlantılar tek satırda kalsın */
.mg-store-nav > ul > li > a, .mg-mega-toggle { white-space: nowrap; }
.mg-store-nav .mg-brand-logo { width: auto !important; height: 15px !important; margin-right: 7px; }
.mg-store-nav .mg-brand-logo--porsche { height: 8px !important; }
@media (max-width: 1440px) {
  .mg-header-support { display: none; }
  .mg-store-nav > ul > li > a { padding: 0 10px; }
}

/* ---------------------------------------------------------- yardım asistanı */
.mg-assist { position: fixed; z-index: 95; right: 20px; bottom: 20px; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; font-size: .88rem; }
.mg-assist__launcher { display: inline-flex; align-items: center; gap: 9px; height: 52px; padding: 0 20px 0 16px; border: 0; border-radius: 999px; background: var(--st-navy); color: #fff; font-weight: 800; box-shadow: 0 14px 30px -12px rgba(8,21,37,.55); cursor: pointer; transition: transform .18s ease, background .18s ease; }
.mg-assist__launcher:hover { background: var(--st-blue); transform: translateY(-2px); }
.mg-assist__launcher:focus-visible { outline: 3px solid #7fb3e6; outline-offset: 3px; }
.mg-assist__launcher .mg-icon { width: 22px; height: 22px; }
.mg-assist.is-open .mg-assist__launcher { background: var(--st-blue); }
.mg-assist__panel { display: flex; flex-direction: column; width: min(380px, calc(100vw - 32px)); height: min(600px, calc(100vh - 110px)); overflow: hidden; border: 1px solid var(--st-line); border-radius: 20px; background: #fff; box-shadow: 0 30px 60px -24px rgba(8,21,37,.45); }
.mg-assist__panel[hidden] { display: none; }
.mg-assist__head { display: flex; align-items: center; gap: 12px; padding: 16px 16px 14px; background: linear-gradient(135deg, var(--st-navy), var(--st-navy-2)); color: #fff; }
.mg-assist__head h2 { margin: 0; color: #fff; font-size: 1rem; font-weight: 850; }
.mg-assist__head p { margin: 2px 0 0; color: #a9bdd6; font-size: .76rem; }
.mg-assist__head > div { flex: 1; min-width: 0; }
.mg-assist__avatar { display: grid; flex: none; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: rgba(255,255,255,.12); }
.mg-assist__avatar .mg-icon { width: 22px; height: 22px; }
.mg-assist__close { display: grid; place-items: center; width: 34px; height: 34px; border: 0; border-radius: 10px; background: transparent; color: #cfdcec; cursor: pointer; }
.mg-assist__close:hover { background: rgba(255,255,255,.12); color: #fff; }
.mg-assist__close .mg-icon { width: 18px; height: 18px; }
.mg-assist__log { display: flex; flex: 1; flex-direction: column; gap: 10px; min-height: 0; padding: 16px; overflow-y: auto; background: var(--st-bg); overscroll-behavior: contain; }
.mg-assist__msg { max-width: 92%; padding: 10px 13px; border-radius: 14px; line-height: 1.45; overflow-wrap: anywhere; }
.mg-assist__msg p { margin: 0 0 8px; }
.mg-assist__msg p:last-child { margin-bottom: 0; }
.mg-assist__msg--bot { align-self: flex-start; border: 1px solid var(--st-line); border-bottom-left-radius: 4px; background: #fff; color: var(--st-ink); }
.mg-assist__msg--me { align-self: flex-end; border-bottom-right-radius: 4px; background: var(--st-blue); color: #fff; font-weight: 650; }
.mg-assist__msg--bot:has(.mg-assist__order), .mg-assist__msg--bot:has(.mg-assist__form) { width: 92%; }
.mg-assist__chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 10px 12px; border-top: 1px solid var(--st-line); background: #fff; }
.mg-assist__chips button { display: inline-flex; align-items: center; gap: 6px; padding: 7px 11px; border: 1px solid var(--st-line); border-radius: 999px; background: #fff; color: var(--st-ink); font-size: .78rem; font-weight: 700; cursor: pointer; }
.mg-assist__chips button:hover, .mg-assist__chips button:focus-visible { border-color: var(--st-blue); background: var(--st-blue-50); color: var(--st-blue); }
.mg-assist__chips .mg-icon { width: 15px; height: 15px; color: var(--st-blue); }
.mg-assist__foot { display: grid; grid-template-columns: 1fr auto; gap: 8px; padding: 10px 12px 12px; background: #fff; }
.mg-assist__wa, .mg-assist__call { white-space: nowrap; display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 42px; padding: 0 14px; border-radius: 12px; font-size: .82rem; font-weight: 800; text-decoration: none; }
.mg-assist__wa { background: #128c4a; color: #fff; }
.mg-assist__wa:hover { background: #0e7a3f; color: #fff; }
.mg-assist__call { border: 1px solid var(--st-line); color: var(--st-ink); }
.mg-assist__call:hover { border-color: var(--st-blue); color: var(--st-blue); }
.mg-assist__wa .mg-icon, .mg-assist__call .mg-icon { width: 17px; height: 17px; }
.mg-assist__call-short { display: none; }
@media (max-width: 480px) { .mg-assist__call-num { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } .mg-assist__call-short { display: inline; } }
.mg-assist__form { display: grid; gap: 8px; }
.mg-assist__form input { width: 100%; min-height: 42px; padding: 0 12px; border: 1px solid #cfd8e3; border-radius: 10px; background: #fff; color: var(--st-ink); font-size: 16px; }
.mg-assist__form input:focus { border-color: var(--st-blue); outline: 3px solid rgba(15,91,158,.15); }
.mg-assist__row { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.mg-assist__btn { display: inline-flex; align-items: center; justify-content: center; min-height: 38px; margin-top: 4px; padding: 0 13px; border: 1px solid var(--st-line); border-radius: 10px; background: #fff; color: var(--st-blue); font-size: .8rem; font-weight: 800; text-decoration: none; cursor: pointer; }
.mg-assist__btn:hover { border-color: var(--st-blue); }
.mg-assist__btn--primary { border-color: var(--st-blue); background: var(--st-blue); color: #fff; }
.mg-assist__btn--primary:hover { background: var(--st-blue-600); color: #fff; }
.mg-assist__btn--primary[disabled] { opacity: .6; cursor: progress; }
.mg-assist__btn--wa { border-color: #128c4a; background: #128c4a; color: #fff; }
.mg-assist__btn--wa:hover { background: #0e7a3f; color: #fff; }
.mg-assist__actions { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.mg-assist__order-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 8px; }
.mg-assist__status { padding: 3px 9px; border-radius: 999px; background: var(--st-blue-50); color: var(--st-blue); font-size: .72rem; font-weight: 800; white-space: nowrap; }
.mg-assist__status--s0 { background: #fdecee; color: var(--st-red); }
.mg-assist__status--s1 { background: #fff4e5; color: var(--st-amber); }
.mg-assist__status--s3, .mg-assist__status--s4 { background: #e7f6ef; color: var(--st-green); }
.mg-assist__steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; margin: 0 0 8px; padding: 0; list-style: none; }
.mg-assist__steps li { padding-top: 7px; border-top: 4px solid var(--st-line); color: var(--st-muted); font-size: .7rem; font-weight: 700; }
.mg-assist__steps li.is-done { border-color: var(--st-green); color: var(--st-ink); }
.mg-assist__order-text { color: var(--st-muted); font-size: .8rem; }
.mg-assist__order-meta { display: grid; grid-template-columns: auto 1fr; gap: 3px 12px; margin: 8px 0 0; font-size: .8rem; }
.mg-assist__order-meta dt { color: var(--st-muted); }
.mg-assist__order-meta dd { margin: 0; font-weight: 700; }
.mg-assist__results { display: grid; gap: 6px; margin: 6px 0 4px; padding: 0; list-style: none; }
.mg-assist__result { display: flex; align-items: center; gap: 10px; padding: 7px; border: 1px solid var(--st-line); border-radius: 10px; color: var(--st-ink); text-decoration: none; }
.mg-assist__result:hover { border-color: var(--st-blue); }
.mg-assist__result img { flex: none; width: 44px; height: 44px; border-radius: 8px; object-fit: contain; background: var(--st-bg); }
.mg-assist__result span { display: flex; min-width: 0; flex-direction: column; }
.mg-assist__result strong { overflow: hidden; font-size: .8rem; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.mg-assist__result small { color: var(--st-muted); font-size: .72rem; }
@media (max-width: 980px) {
  .mg-assist { right: 14px; bottom: calc(76px + env(safe-area-inset-bottom)); }
  body.single-product .mg-assist { bottom: calc(142px + env(safe-area-inset-bottom)); }
  .mg-assist__launcher { width: 52px; padding: 0; justify-content: center; }
  .mg-assist__launcher-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .mg-assist__panel { height: min(560px, calc(100vh - 180px)); }
  .mg-assist__chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .mg-assist__chips::-webkit-scrollbar { display: none; }
  .mg-assist__chips button { flex: none; }
}
@media print { .mg-assist { display: none; } }
.mg-cart-assist__wa { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; margin-top: 10px; border-radius: 12px; background: #128c4a; color: #fff; font-size: .86rem; font-weight: 800; text-decoration: none; }
.mg-cart-assist__wa:hover { background: #0e7a3f; color: #fff; }
.mg-cart-assist__wa .mg-icon { width: 18px; height: 18px; }

/* ---------------------------------------------------------- yasal ve kurumsal sayfalar */
.mg-legal { max-width: 820px; color: var(--st-ink); font-size: .96rem; line-height: 1.7; }
.mg-legal h2 { margin: 2em 0 .6em; font-size: 1.15rem; font-weight: 850; letter-spacing: -.01em; }
.mg-legal p, .mg-legal ul, .mg-legal ol { margin: 0 0 1em; }
.mg-legal ul, .mg-legal ol { padding-left: 1.2em; }
.mg-legal li { margin-bottom: .45em; }
.mg-legal a { color: var(--st-blue); text-decoration: underline; text-underline-offset: 2px; }
.mg-legal__lead { font-size: 1.08rem; }
.mg-legal__updated { color: var(--st-muted); font-size: .82rem; }
.mg-legal__card { display: grid; grid-template-columns: max-content 1fr; gap: 6px 18px; margin: 0 0 1.2em; padding: 16px 18px; border: 1px solid var(--st-line); border-radius: 14px; background: #fff; font-size: .9rem; }
.mg-legal__card dt { color: var(--st-muted); font-weight: 700; }
.mg-legal__card dd { margin: 0; overflow-wrap: anywhere; }
.mg-legal__steps { margin: 0 0 1.5em; padding: 18px 22px; border-radius: 16px; background: var(--st-blue-50); }
.mg-legal__steps h2 { margin-top: 0; }
.mg-legal__steps ol { margin-bottom: 0; }
.mg-cinfo__cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 1.5em; }
.mg-cinfo__card { display: flex; flex-direction: column; gap: 2px; padding: 18px; border: 1px solid var(--st-line); border-radius: 16px; background: #fff; color: var(--st-ink) !important; text-decoration: none !important; transition: border-color .15s ease, transform .15s ease; }
.mg-cinfo__card:hover { border-color: var(--st-blue); transform: translateY(-2px); }
.mg-cinfo__card strong { color: var(--st-muted); font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; }
.mg-cinfo__card span { font-size: 1.05rem; font-weight: 850; overflow-wrap: anywhere; }
.mg-cinfo__card small { color: var(--st-muted); font-size: .8rem; }
.mg-cinfo__card--wa { border-color: #b7e4c9; background: #f1fbf5; }
.mg-cinfo__store { padding: 18px; border: 1px solid var(--st-line); border-radius: 16px; background: #fff; }
.mg-cinfo__store h2 { margin-top: 0; }
.mg-cinfo__map { display: inline-flex; align-items: center; min-height: 42px; padding: 0 16px; border-radius: 10px; background: var(--st-navy); color: #fff !important; font-weight: 800; text-decoration: none !important; }
@media (max-width: 720px) {
  .mg-cinfo__cards { grid-template-columns: 1fr; }
  .mg-legal__card { grid-template-columns: 1fr; gap: 0; }
  .mg-legal__card dd { margin-bottom: 8px; }
}

/* ---------------------------------------------------------- aracımı seç (garaj) */
.mg-garage-btn { display: inline-flex; flex: none; align-items: center; gap: 9px; margin-left: auto; padding: 6px 12px 6px 10px; border: 1px solid var(--st-line); border-radius: 12px; background: #fff; color: var(--st-ink); text-align: left; cursor: pointer; transition: border-color .15s ease, background .15s ease; }
.mg-garage-btn:hover { border-color: var(--st-blue); }
.mg-garage-btn > .mg-icon:first-child { width: 22px; height: 22px; color: var(--st-blue); }
.mg-garage-btn span { display: flex; flex-direction: column; line-height: 1.15; }
.mg-garage-btn small { color: var(--st-muted); font-size: .68rem; font-weight: 650; }
.mg-garage-btn strong { font-size: .84rem; font-weight: 850; white-space: nowrap; }
.mg-garage-btn .mg-garage-caret { width: 15px; height: 15px; color: var(--st-muted); }
.mg-garage-btn.is-set { border-color: #b7e4c9; background: #f1fbf5; }
.mg-garage-btn.is-set > .mg-icon:first-child { color: var(--st-green); }
.mg-garage-btn--mobile { display: none; }
.mg-header-nav-inner .mg-garage-btn--desk + .mg-header-support { margin-left: 18px; }
@media (max-width: 980px) {
  .mg-garage-btn--mobile { display: flex; order: 6; flex: 1 0 100%; margin: 0; padding: 7px 12px; border-radius: 10px; }
  .mg-garage-btn--mobile span { flex-direction: row; align-items: baseline; gap: 8px; }
  .mg-garage-btn--mobile .mg-garage-caret { margin-left: auto; }
}
.mg-garage-dialog { width: min(560px, calc(100vw - 24px)); max-height: calc(100vh - 24px); padding: 0; border: 0; border-radius: 20px; background: #fff; color: var(--st-ink); box-shadow: 0 40px 80px -30px rgba(8,21,37,.5); }
.mg-garage-dialog::backdrop { background: rgba(8,21,37,.55); backdrop-filter: blur(3px); }
.mg-garage-form { display: grid; gap: 18px; padding: 22px; }
.mg-garage-form header { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.mg-garage-form h2 { margin: 2px 0 0; font-size: 1.25rem; font-weight: 850; }
.mg-garage-close { display: grid; place-items: center; width: 36px; height: 36px; border: 0; border-radius: 10px; background: var(--st-bg); cursor: pointer; }
.mg-garage-close .mg-icon { width: 18px; height: 18px; }
.mg-garage-brands { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 8px; margin: 0; padding: 0; border: 0; }
.mg-garage-brands legend, .mg-garage-row span { margin-bottom: 6px; color: var(--st-muted); font-size: .78rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.mg-garage-brands label { position: relative; cursor: pointer; }
.mg-garage-brands input { position: absolute; opacity: 0; }
.mg-garage-brands label > span { display: flex; align-items: center; min-height: 48px; padding: 0 12px; border: 1px solid var(--st-line); border-radius: 12px; font-weight: 800; }
.mg-garage-brands input:checked + span { border-color: var(--st-blue); background: var(--st-blue-50); box-shadow: inset 0 0 0 1px var(--st-blue); }
.mg-garage-brands input:focus-visible + span { outline: 3px solid rgba(15,91,158,.3); }
.mg-garage-row { display: grid; grid-template-columns: 1.4fr 1fr; gap: 12px; }
.mg-garage-row label { display: flex; flex-direction: column; }
.mg-garage-row small { text-transform: none; letter-spacing: 0; font-weight: 600; }
.mg-garage-row select { min-height: 46px; padding: 0 12px; border: 1px solid #cfd8e3; border-radius: 10px; background: #fff; color: var(--st-ink); font-size: 16px; }
.mg-garage-note { margin: 0; color: var(--st-muted); font-size: .8rem; }
.mg-garage-form footer { display: flex; justify-content: flex-end; gap: 8px; }
.mg-garage-save, .mg-garage-clear { min-height: 46px; padding: 0 18px; border-radius: 12px; font-weight: 850; cursor: pointer; }
.mg-garage-save { border: 0; background: var(--st-blue); color: #fff; }
.mg-garage-save:hover { background: var(--st-blue-600); }
.mg-garage-clear { border: 1px solid var(--st-line); background: #fff; color: var(--st-red); }
@media (max-width: 560px) { .mg-garage-row { grid-template-columns: 1fr; } .mg-garage-form footer { flex-direction: column-reverse; } }
.mg-fit-badge { display: inline-flex; align-items: center; gap: 4px; margin: 2px 0 6px; padding: 3px 9px; border-radius: 999px; background: #e7f6ef; color: var(--st-green); font-size: .72rem; font-weight: 800; }
.mg-fit-badge .mg-icon { width: 13px; height: 13px; }
.mg-fit { display: flex; align-items: center; gap: 12px; margin: 0 0 16px; padding: 12px 14px; border: 1px solid var(--st-line); border-radius: 14px; background: #fff; }
.mg-fit > .mg-icon { flex: none; width: 24px; height: 24px; }
.mg-fit p { display: flex; flex: 1; flex-direction: column; margin: 0; line-height: 1.35; }
.mg-fit strong { font-size: .9rem; }
.mg-fit span { color: var(--st-muted); font-size: .8rem; }
.mg-fit button, .mg-fit__wa { flex: none; min-height: 36px; padding: 0 12px; border: 1px solid var(--st-line); border-radius: 10px; background: #fff; color: var(--st-blue); font-size: .8rem; font-weight: 800; text-decoration: none; cursor: pointer; display: inline-flex; align-items: center; }
.mg-fit--ok { border-color: #b7e4c9; background: #f1fbf5; }
.mg-fit--ok > .mg-icon { color: var(--st-green); }
.mg-fit--warn { border-color: #f5d8a8; background: #fff8ec; }
.mg-fit--warn > .mg-icon { color: var(--st-amber); }
.mg-fit--none > .mg-icon { color: var(--st-blue); }
.mg-garage-strip { display: flex; align-items: center; gap: 10px; margin: 0 0 16px; padding: 10px 14px; border: 1px solid var(--st-line); border-radius: 12px; background: #fff; font-size: .88rem; }
.mg-garage-strip > .mg-icon { flex: none; width: 20px; height: 20px; color: var(--st-blue); }
.mg-garage-strip.is-active { border-color: #b7e4c9; background: #f1fbf5; }
.mg-garage-strip.is-active > .mg-icon { color: var(--st-green); }
.mg-garage-strip span { flex: 1; }
.mg-garage-strip a, .mg-garage-strip button { flex: none; border: 0; background: none; color: var(--st-blue); font-weight: 800; text-decoration: underline; cursor: pointer; }
.mg-garage-page .mg-garage-brand { margin-top: 28px; }
.mg-garage-page .mg-garage-brand h2 { display: flex; align-items: center; margin: 0 0 10px; }
.mg-garage-page ul { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 6px; padding: 0 !important; list-style: none; }
.mg-garage-page li a { display: block; padding: 10px 12px; border: 1px solid var(--st-line); border-radius: 10px; background: #fff; color: var(--st-ink); font-weight: 700; text-decoration: none; }
.mg-garage-page li a:hover { border-color: var(--st-blue); color: var(--st-blue); }
.mg-garage-brand__all { font-weight: 800; }

/* ---------------------------------------------------------- OEM sayfaları */
.mg-oem .mg-page-hero h1 span { display: block; margin-top: 6px; color: #b9cbe2; font-size: .5em; font-weight: 700; letter-spacing: 0; }
.mg-oem__sub { margin: 10px 0 0; color: #cfdcec; font-weight: 700; }
.mg-oem__body { padding-block: 36px 60px; }
.mg-oem__body h2 { margin: 36px 0 14px; font-size: 1.25rem; font-weight: 850; }
.mg-oem__table-wrap { overflow-x: auto; border: 1px solid var(--st-line); border-radius: 16px; background: #fff; }
.mg-oem__table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.mg-oem__table th, .mg-oem__table td { padding: 14px 16px; border-bottom: 1px solid var(--st-line); text-align: left; vertical-align: middle; }
.mg-oem__table thead th { background: var(--st-bg); color: var(--st-muted); font-size: .74rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.mg-oem__table tbody tr:last-child > * { border-bottom: 0; }
.mg-oem__table tbody th a { color: var(--st-ink); font-weight: 750; text-decoration: none; }
.mg-oem__table tbody th a:hover { color: var(--st-blue); }
.mg-oem__cond { display: inline-block; padding: 3px 9px; border-radius: 999px; background: var(--st-bg); font-size: .74rem; font-weight: 800; white-space: nowrap; }
.mg-oem__cond--original { background: var(--st-navy); color: #fff; }
.mg-oem__cond--oem { background: var(--st-blue-50); color: var(--st-blue); }
.mg-oem__cond--imported { background: #fff4e5; color: var(--st-amber); }
.mg-oem__stock { color: var(--st-muted); font-weight: 700; }
.mg-oem__stock.is-in { color: var(--st-green); }
.mg-oem__price { font-weight: 850; white-space: nowrap; }
.mg-oem__price del { color: var(--st-muted); font-weight: 600; }
.mg-oem__add { display: inline-flex; align-items: center; min-height: 38px; padding: 0 14px; border-radius: 10px; background: var(--st-blue); color: #fff; font-size: .82rem; font-weight: 800; text-decoration: none; white-space: nowrap; }
.mg-oem__add:hover { background: var(--st-blue-600); color: #fff; }
.mg-oem__add.is-ghost { border: 1px solid var(--st-line); background: #fff; color: var(--st-blue); }
.mg-oem__vehicles .mg-chip-list a { color: inherit; text-decoration: none; }
.mg-oem__note { max-width: 820px; margin-top: 28px; color: var(--st-muted); font-size: .88rem; line-height: 1.6; }
.mg-oem__empty { max-width: 640px; padding: 28px; border: 1px solid var(--st-line); border-radius: 18px; background: #fff; }
.mg-oem__empty h2 { margin-top: 0 !important; }
.mg-oem__wa { display: inline-flex; align-items: center; min-height: 46px; padding: 0 18px; border-radius: 12px; background: #128c4a; color: #fff; font-weight: 800; text-decoration: none; }
.mg-oem-link { margin-left: 8px; color: var(--st-blue); font-size: .8rem; font-weight: 800; }
.mg-chip-list--codes a { color: var(--st-blue); }
@media (max-width: 720px) {
  .mg-oem__table thead { display: none; }
  .mg-oem__table, .mg-oem__table tbody, .mg-oem__table tr, .mg-oem__table th, .mg-oem__table td { display: block; }
  .mg-oem__table tr { padding: 12px 14px; border-bottom: 1px solid var(--st-line); }
  .mg-oem__table th, .mg-oem__table td { padding: 4px 0; border: 0; }
  .mg-oem__table td[data-label]::before { content: attr(data-label) ": "; color: var(--st-muted); font-weight: 700; }
  .mg-oem__table td:last-child { margin-top: 8px; }
}

/* ---------------------------------------------------------- hesabım: giriş / üyelik / misafir */
.woocommerce-account:not(.logged-in) .mg-page-article { max-width: none; padding: 0; border: 0; background: none; box-shadow: none; }
.mg-auth { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; align-items: start; }
.mg-auth.has-register { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.mg-auth__card { display: flex; flex-direction: column; gap: 16px; padding: 26px; border: 1px solid var(--st-line); border-radius: 20px; background: #fff; box-shadow: var(--st-shadow-sm); }
.mg-auth__card header { display: flex; align-items: flex-start; gap: 12px; }
.mg-auth__card h2 { margin: 0; font-size: 1.2rem; font-weight: 850; }
.mg-auth__card header p { margin: 2px 0 0; color: var(--st-muted); font-size: .86rem; }
.mg-auth__icon { display: grid; flex: none; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--st-blue-50); color: var(--st-blue); }
.mg-auth__icon .mg-icon { width: 21px; height: 21px; }
.mg-auth__card--guest { background: linear-gradient(160deg, #f6f9fd, #fff); }
.mg-auth__card--guest .mg-auth__icon { background: #e7f6ef; color: var(--st-green); }
.woocommerce .mg-auth form.woocommerce-form, .mg-auth form { max-width: none; display: grid; gap: 12px; margin: 0 !important; padding: 0 !important; border: 0 !important; background: none !important; box-shadow: none !important; }
.mg-auth .form-row { margin: 0 !important; padding: 0 !important; }
.mg-auth label { display: block; margin-bottom: 6px; color: var(--st-ink); font-size: .82rem; font-weight: 750; }
.mg-auth .required { color: var(--st-red); text-decoration: none; }
.mg-auth input.input-text { width: 100%; min-height: 48px; padding: 0 14px; border: 1px solid #cfd8e3; border-radius: 12px; background: #fff; font-size: 16px; }
.mg-auth input.input-text:focus { border-color: var(--st-blue); outline: 3px solid rgba(15,91,158,.15); }
.mg-auth .mg-auth__row { width: 100% !important; float: none !important; display: flex !important; align-items: center; justify-content: space-between; gap: 12px; }
.mg-auth__row label { display: inline-flex; align-items: center; gap: 6px; margin: 0; font-weight: 650; }
.mg-auth__lost { color: var(--st-blue); font-size: .84rem; font-weight: 750; }
.mg-auth__submit { width: 100%; min-height: 50px; border: 0 !important; border-radius: 12px !important; background: var(--st-blue) !important; color: #fff !important; font-size: .95rem !important; font-weight: 850 !important; }
.mg-auth__submit:hover { background: var(--st-blue-600) !important; }
.mg-auth__card--register .mg-auth__submit { background: var(--st-navy) !important; }
.mg-auth__hint { margin: 0; color: var(--st-muted); font-size: .84rem; }
.mg-auth .woocommerce-privacy-policy-text p { margin: 0; color: var(--st-muted); font-size: .78rem; line-height: 1.5; }
.mg-google-btn { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; border: 1px solid #cfd8e3; border-radius: 12px; background: #fff; color: #1f1f1f; font-size: .95rem; font-weight: 750; text-decoration: none; transition: background .15s ease, border-color .15s ease; }
.mg-google-btn:hover { border-color: #9fb0c4; background: #f8fafc; color: #1f1f1f; }
.mg-auth__or { display: flex; align-items: center; gap: 12px; margin: 0; color: var(--st-muted); font-size: .78rem; font-weight: 700; }
.mg-auth__or::before, .mg-auth__or::after { flex: 1; height: 1px; background: var(--st-line); content: ""; }
.mg-auth__list { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; font-size: .9rem; }
.mg-auth__list li { display: flex; gap: 9px; line-height: 1.45; }
.mg-auth__list .mg-icon { flex: none; width: 18px; height: 18px; margin-top: 1px; color: var(--st-green); }
.mg-auth__guest-cta { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; border-radius: 12px; background: var(--st-green); color: #fff; font-weight: 850; text-decoration: none; }
.mg-auth__guest-cta:hover { background: #0e6b4c; color: #fff; }
.mg-auth__guest-cta .mg-icon { width: 18px; height: 18px; }
.mg-auth__track { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; border: 1px solid var(--st-line); border-radius: 12px; background: #fff; color: var(--st-blue); font-weight: 800; cursor: pointer; }
.mg-auth__track .mg-icon { width: 18px; height: 18px; }
@media (max-width: 1100px) { .mg-auth.has-register { grid-template-columns: repeat(2, minmax(0, 1fr)); } .mg-auth__card--guest { grid-column: 1 / -1; } }
@media (max-width: 720px) { .mg-auth, .mg-auth.has-register { grid-template-columns: 1fr; } .mg-auth__card { padding: 20px; } }
.mg-guest-bar { display: flex; align-items: center; gap: 12px; margin: 0 0 18px; padding: 12px 16px; border: 1px solid var(--st-line); border-radius: 14px; background: #fff; font-size: .88rem; }
.mg-guest-bar > .mg-icon { flex: none; width: 20px; height: 20px; color: var(--st-blue); }
.mg-guest-bar p { flex: 1; margin: 0; color: var(--st-muted); }
.mg-guest-bar strong { color: var(--st-ink); }
.mg-guest-bar__actions { display: flex; flex: none; gap: 8px; }
.mg-guest-bar__actions a { display: inline-flex; align-items: center; gap: 7px; min-height: 38px; padding: 0 12px; border: 1px solid var(--st-line); border-radius: 10px; color: var(--st-blue); font-weight: 800; text-decoration: none; white-space: nowrap; }
@media (max-width: 720px) { .mg-guest-bar { flex-wrap: wrap; } .mg-guest-bar__actions { width: 100%; } .mg-guest-bar__actions a { flex: 1; justify-content: center; } }
.mg-auth .mg-auth__row::before, .mg-auth .mg-auth__row::after { display: none !important; }

/* Ürün kartları: fiyat, stok ve "Sepete ekle" her kartta aynı hizada */
.woocommerce ul.products li.product { display: flex !important; flex-direction: column; }
.woocommerce ul.products li.product > a.woocommerce-LoopProduct-link { display: flex; flex: 1 1 auto; flex-direction: column; }
.woocommerce ul.products li.product > a.woocommerce-LoopProduct-link .price { margin-top: auto !important; }
.woocommerce ul.products li.product > a.button, .woocommerce ul.products li.product > .added_to_cart { flex: none; }

/* Asistan konu düğmeleri: her konu kendi renginde */
.mg-assist__chips button { --chip: var(--st-blue); --chip-bg: var(--st-blue-50); border-color: transparent; background: var(--chip-bg); color: var(--chip); transition: background .15s ease, color .15s ease, transform .15s ease; }
.mg-assist__chips button .mg-icon { color: currentColor; }
.mg-assist__chips button:hover, .mg-assist__chips button:focus-visible { border-color: var(--chip); background: var(--chip); color: #fff; transform: translateY(-1px); }
.mg-assist__chips [data-mg-topic="cargo"] { --chip: #0f5b9e; --chip-bg: #e8f1fb; }
.mg-assist__chips [data-mg-topic="order"] { --chip: #5b3fc4; --chip-bg: #f0ecfd; }
.mg-assist__chips [data-mg-topic="oem"] { --chip: #0e7c86; --chip-bg: #e4f5f6; }
.mg-assist__chips [data-mg-topic="fit"] { --chip: #b45309; --chip-bg: #fff3e3; }
.mg-assist__chips [data-mg-topic="shipping"] { --chip: #12805c; --chip-bg: #e6f6ef; }
.mg-assist__chips [data-mg-topic="returns"] { --chip: #c2334a; --chip-bg: #fdebee; }

/* ---------------------------------------------------------------------------
 * Mobil uyumluluk düzeltmeleri (canlı 360/390 px denetimi)
 * ------------------------------------------------------------------------- */
/* Ana sayfa model şeridi: tailwind.css "overflow: visible" yaptığı için telefonda
   ilk 2,5 kartın ötesi kesiliyordu; yatay kaydırma geri açılır. */
@media (max-width: 640px) {
  .mg-model-grid { overflow-x: auto !important; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; scroll-padding-inline: 10px; }
  .mg-model-card { scroll-snap-align: start; }
}
/* Sayfa başlığındaki açıklama metni koyu zeminde okunmuyordu (arama sayfası) */
.mg-page-hero .mg-container > p:not(.mg-eyebrow) { color: #c7d6ea; }
/* Yapışkan satın alma çubuğunda indirimli fiyat altı çizili görünmesin */
.mg-sticky-buy ins, .woocommerce ul.products li.product .price ins { text-decoration: none; }
/* Karışık arama sonuçlarında ürünler ve yazılar ayrı bloklarda */
.mg-search-results .mg-search-block + .mg-search-block { margin-top: 36px; }
.mg-search-results .mg-search-block > h2 { margin: 0 0 14px; font-size: 1.15rem; }
/* Parmakla dokunma alanları: telefonda en az ~40 px yükseklik */
@media (max-width: 767px) {
  .mg-footer-grid nav, .mg-footer-grid section { gap: 0; }
  .mg-footer-grid a { display: inline-flex; align-items: center; min-height: 40px; }
  .woocommerce-breadcrumb a { display: inline-block; padding-block: 8px; }
  .mg-garage-brand__all { display: inline-flex; align-items: center; min-height: 40px; }
  .mg-auth__lost, .woocommerce-privacy-policy-link, .mg-cinfo a[href^="mailto:"] { display: inline-block; padding-block: 9px; }
  .woocommerce-form-login__rememberme input[type="checkbox"] { width: 20px; height: 20px; }
  .woocommerce-form-login__rememberme { min-height: 40px; display: inline-flex; align-items: center; gap: 8px; }
  .show-password-input { min-width: 40px; min-height: 40px; }
  .mg-blog-read, .mg-journal-read { display: inline-flex; align-items: center; min-height: 40px; }
}

/* ---------------------------------------------------------------------------
 * Marka afişi slaytları (mağazanın 1920×1080 hazır görselleri)
 * Afiş ekran genişliğini tam kaplar, 16:9 oranı korunur; kırpma ve boşluk yok.
 * ------------------------------------------------------------------------- */
.mg-home-slider.mg-hero:has(.mg-banner-slide) { min-height: 0; background: #0b1220; }
.mg-home-slider:has(.mg-banner-slide) .mg-home-slide.mg-banner-slide.is-active { height: auto; min-height: 0; }
.mg-home-slide.mg-banner-slide { display: block; background: #0b1220; }
.mg-home-slide.mg-banner-slide::before, .mg-home-slide.mg-banner-slide::after { display: none; }
.mg-banner-link { display: block; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; }
.mg-banner-link:focus-visible { outline: 3px solid #fff; outline-offset: -6px; }
.mg-banner-img { display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; }
.mg-banner-bg, .mg-banner-foot { display: none; }
.mg-home-slider:has(.mg-banner-slide) .mg-slider-tools { top: 18px; right: 24px; bottom: auto; left: auto; transform: none; }
.mg-home-slider:has(.mg-banner-slide) ~ .mg-search-panel { margin-top: 22px; }
.mg-home-slider:has(.mg-banner-slide) .mg-slider-pause span { display: none; }
@media (max-width: 980px) {
  /* Telefonda/tablette kontroller afişin üstüne değil altına, ince bir şeride */
  .mg-home-slider.mg-hero:has(.mg-banner-slide) { padding-bottom: 54px; }
  .mg-home-slider:has(.mg-banner-slide) .mg-slider-tools { top: auto; right: 50%; bottom: 6px; transform: translateX(50%); }
}
@media (max-width: 640px) {
  .mg-home-slider:has(.mg-banner-slide) .mg-slider-arrow { display: none; }
}

/* ---------------------------------------------------------------------------
 * Ana sayfa ürün vitrini: yana kayan şerit yerine 2–3 sıralı ızgara + sayfalama
 * ------------------------------------------------------------------------- */
.mg-product-grid ul.products { display: grid !important; grid-template-columns: repeat(6, minmax(0, 1fr)) !important; gap: 14px !important; margin: 0 !important; padding: 0 !important; overflow: visible !important; }
.mg-product-grid ul.products::before, .mg-product-grid ul.products::after { display: none !important; }
.mg-product-grid ul.products li.product { width: auto !important; min-width: 0 !important; max-width: none !important; margin: 0 !important; float: none !important; }
.mg-product-grid ul.products li.product[hidden] { display: none !important; }
@media (max-width: 1199px) { .mg-product-grid ul.products { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; } }
@media (max-width: 900px) { .mg-product-grid ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; } }
@media (max-width: 640px) { .mg-product-grid ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 10px !important; } }
.mg-pager { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px; margin-top: 22px; }
.mg-pager[hidden] { display: none; }
.mg-pager button { display: inline-grid; place-items: center; min-width: 42px; height: 42px; padding: 0 12px; border: 1px solid var(--st-line); border-radius: 12px; background: #fff; color: var(--st-ink); font: inherit; font-size: .9rem; font-weight: 800; cursor: pointer; transition: background .15s ease, border-color .15s ease, color .15s ease; }
.mg-pager button:hover:not(:disabled) { border-color: var(--st-blue); color: var(--st-blue); }
.mg-pager button[aria-current="page"] { border-color: var(--st-blue); background: var(--st-blue); color: #fff; }
.mg-pager button:disabled { opacity: .4; cursor: default; }
.mg-pager button .mg-icon { width: 18px; height: 18px; }
.mg-pager__status { flex-basis: 100%; margin: 4px 0 0; color: var(--st-muted); font-size: .78rem; text-align: center; }
@media (max-width: 640px) {
  .mg-pager { gap: 4px; }
  .mg-pager button { min-width: 36px; height: 40px; padding: 0 8px; border-radius: 10px; }
}

/* ---------------------------------------------------------------------------
 * Ürün kartı: indirim kutusu + eski/yeni fiyat; "Sepete ekle" yanında kalp
 * ------------------------------------------------------------------------- */
body.mg-store ul.products li.product { display: grid !important; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: 1fr auto; column-gap: 8px; align-content: stretch; }
body.mg-store ul.products li.product > a.woocommerce-LoopProduct-link { grid-column: 1 / -1; }
body.mg-store ul.products li.product > a.button { grid-column: 1; min-width: 0; margin-top: 0 !important; }
body.mg-store ul.products li.product > .added_to_cart { grid-column: 1 / -1; }
body.mg-store ul.products li.product > .mg-fav { grid-column: 2; grid-row: 2; }
.mg-price-row { display: flex; align-items: center; gap: 10px; margin-top: auto; }
body.mg-store ul.products li.product .mg-price-row { margin: auto 0 6px; }
.mg-discount-box { display: inline-grid; flex: none; place-items: center; min-width: 46px; height: 46px; padding: 0 6px; border-radius: 10px; background: var(--st-red, #d7263d); color: #fff; font-size: 1rem; font-weight: 900; letter-spacing: -.02em; }
body.mg-store ul.products li.product .mg-price-row .price { display: flex !important; flex-direction: column; align-items: flex-start; gap: 0; margin: 0 !important; line-height: 1.15; }
body.mg-store ul.products li.product .mg-price-row .price del { order: 0; color: #98a3b3; font-size: .78rem; font-weight: 600; }
body.mg-store ul.products li.product .mg-price-row .price ins { order: 1; color: var(--st-ink); font-size: 1.12rem; font-weight: 900; text-decoration: none; }
.mg-fav { display: inline-grid; place-items: center; width: 46px; height: 46px; padding: 0; border: 1px solid var(--st-line); border-radius: 12px; background: #fff; color: var(--st-blue); cursor: pointer; transition: border-color .15s ease, background .15s ease, color .15s ease, transform .15s ease; }
.mg-fav .mg-icon { width: 21px; height: 21px; }
.mg-fav:hover { border-color: var(--st-blue); transform: translateY(-1px); }
.mg-fav[aria-pressed="true"] { border-color: #f3c3ca; background: #fdecee; color: #d7263d; }
.mg-fav[aria-pressed="true"] .mg-icon { fill: currentColor; }
.mg-fav:not(.mg-fav--text) .mg-fav__text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.mg-fav-count[data-count="0"] { display: none; }
.mg-fav-link .mg-fav-count { background: #d7263d; }
.mg-fav-page__lead { margin: 0 0 18px; color: var(--st-muted); }

/* ---------------------------------------------------------------------------
 * Ürün detay sayfası: solda dikey küçük görseller + büyük görsel kutusu,
 * sağda bilgi kartı; altta geniş sekme düğmeleri
 * ------------------------------------------------------------------------- */
.single-product div.product { grid-template-columns: minmax(0, 1.15fr) minmax(340px, .85fr); gap: 28px; align-items: start; }
.single-product div.product .woocommerce-product-gallery { position: relative; top: auto; }
.single-product div.product .woocommerce-product-gallery:has(.flex-control-thumbs) { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 16px; align-items: start; }
.single-product div.product .woocommerce-product-gallery:has(.flex-control-thumbs) > .flex-viewport, .single-product div.product .woocommerce-product-gallery:has(.flex-control-thumbs) > .woocommerce-product-gallery__wrapper { grid-column: 2; grid-row: 1; }
.single-product div.product .woocommerce-product-gallery .flex-viewport, .single-product div.product .woocommerce-product-gallery__wrapper { border-radius: 16px; }
.single-product div.product .woocommerce-product-gallery .flex-viewport { border: 1px solid var(--st-line); background: #fff; }
.single-product div.product .flex-viewport .woocommerce-product-gallery__wrapper { border: 0; border-radius: 0; background: #fff; }
.single-product div.product .woocommerce-product-gallery__image img { aspect-ratio: 1 / 1; width: 100%; padding: 28px; object-fit: contain; background: #fff; }
.single-product div.product .woocommerce-product-gallery:has(.flex-control-thumbs) .flex-control-thumbs { grid-column: 1; grid-row: 1; display: flex !important; flex-direction: column; gap: 10px; max-height: 620px; margin: 0 !important; overflow-y: auto; scrollbar-width: thin; }
.single-product div.product .flex-control-thumbs li { flex: none; width: 92px !important; }
.single-product div.product .flex-control-thumbs img { width: 92px; height: 92px; padding: 6px; border: 1px solid var(--st-line); border-radius: 12px; background: #fff; object-fit: contain; opacity: 1; cursor: pointer; }
.single-product div.product .flex-control-thumbs img.flex-active, .single-product div.product .flex-control-thumbs img:hover { border-color: var(--st-blue); box-shadow: 0 0 0 1px var(--st-blue); }
.single-product div.product .woocommerce-product-gallery__trigger { z-index: 5; top: 14px !important; right: 14px !important; }

.single-product div.product .summary { padding: 28px 28px 24px !important; border: 1px solid var(--st-line); border-radius: 18px; background: #fff; box-shadow: var(--st-shadow-sm); }
.single-product div.product .summary .product_title { margin: 0 0 12px; font-size: clamp(1.45rem, 2.1vw, 1.95rem); line-height: 1.2; letter-spacing: -.02em; }
.mg-single-stock { display: flex; align-items: center; gap: 8px; margin: 0 0 14px; color: var(--st-ink); font-size: .92rem; font-weight: 650; }
.mg-single-stock span { width: 9px; height: 9px; border-radius: 50%; background: #16a34a; box-shadow: 0 0 0 4px #dcfce7; }
.mg-single-stock.is-out span { background: #dc2626; box-shadow: 0 0 0 4px #fee2e2; }
.mg-single-meta { display: grid; gap: 9px; margin: 0 0 12px; padding: 0; list-style: none; color: var(--st-ink); font-size: .9rem; }
.mg-single-meta li { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.mg-single-meta li > span:first-child { color: var(--st-muted); }
.mg-single-meta a { color: var(--st-ink); font-weight: 650; }
.mg-single-meta .mg-oem-link { color: var(--st-blue); font-size: .8rem; font-weight: 800; }
.mg-single-installment { display: flex; align-items: center; gap: 7px; margin: 0 0 16px; color: #d7263d; font-size: .9rem; font-weight: 650; }
.mg-single-installment .mg-icon { width: 17px; height: 17px; }
.single-product div.product .summary .mg-fit { margin: 0 0 18px; }
.mg-single-price { margin: 0 0 18px; padding-top: 18px; border-top: 1px solid var(--st-line); }
.mg-price-row--single .mg-discount-box { min-width: 58px; height: 58px; font-size: 1.15rem; border-radius: 12px; }
.mg-price-row--single .price { display: flex; flex-direction: column; margin: 0 !important; line-height: 1.15; color: var(--st-ink) !important; font-size: 1.9rem !important; font-weight: 900; }
.mg-price-row--single .price del { color: #98a3b3; font-size: .95rem; font-weight: 600; opacity: 1; }
.mg-price-row--single .price ins { color: var(--st-ink); text-decoration: none; font-weight: 900; }
.single-product div.product form.cart { display: flex !important; flex-wrap: wrap; align-items: stretch; gap: 12px; margin: 0 0 16px !important; }
.single-product div.product form.cart .quantity { display: flex; align-items: stretch; height: 52px; margin: 0 !important; border: 1px solid var(--st-line); border-radius: 12px; background: #f6f8fa; overflow: hidden; }
.single-product div.product form.cart .quantity input.qty { width: 54px; height: 100%; margin: 0; border: 0; border-inline: 1px solid var(--st-line); border-radius: 0; background: #fff; font-size: 1rem; font-weight: 800; text-align: center; -moz-appearance: textfield; }
.single-product div.product form.cart .quantity input.qty::-webkit-inner-spin-button, .single-product div.product form.cart .quantity input.qty::-webkit-outer-spin-button { margin: 0; -webkit-appearance: none; }
.mg-qty-btn { display: grid; place-items: center; width: 46px; padding: 0; border: 0; background: transparent; color: var(--st-ink); cursor: pointer; }
.mg-qty-btn:hover { background: #e9eef4; }
.mg-qty-btn .mg-icon { width: 18px; height: 18px; }
.single-product div.product form.cart .single_add_to_cart_button { flex: 1 1 200px; height: 52px; margin: 0 !important; border-radius: 12px !important; font-size: 1rem !important; }
.mg-single-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; margin: 0 0 18px; }
.mg-share, .mg-fav--text { display: inline-flex; align-items: center; gap: 8px; width: auto; height: 40px; padding: 0 4px; border: 0; background: transparent; color: var(--st-ink); font: inherit; font-size: .9rem; font-weight: 650; cursor: pointer; }
.mg-share .mg-icon, .mg-fav--text .mg-icon { width: 19px; height: 19px; }
.mg-share:hover, .mg-fav--text:hover { color: var(--st-blue); transform: none; }
.mg-fav--text[aria-pressed="true"] { border: 0; background: transparent; color: #d7263d; }
.single-product div.product .summary .mg-delivery, .single-product div.product .summary .mg-help-row { margin-bottom: 12px; }

/* Sekmeler: geniş, eşit düğmeler */
.single-product .woocommerce-tabs { grid-column: 1 / -1; margin-top: 30px; }
.single-product .woocommerce-tabs ul.tabs { display: grid !important; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; margin: 0 0 22px !important; padding: 0 !important; border: 0 !important; overflow: visible; }
.single-product .woocommerce-tabs ul.tabs::before, .single-product .woocommerce-tabs ul.tabs::after, .single-product .woocommerce-tabs ul.tabs li::before, .single-product .woocommerce-tabs ul.tabs li::after { display: none !important; }
.single-product .woocommerce-tabs ul.tabs li { margin: 0 !important; padding: 0 !important; border: 0 !important; border-radius: 12px !important; background: transparent !important; }
.single-product .woocommerce-tabs ul.tabs li a { display: flex !important; align-items: center; justify-content: center; min-height: 56px; padding: 10px 16px !important; border-radius: 12px; background: #eef2f6; color: #4a5a70 !important; font-size: .95rem; font-weight: 800; text-align: center; text-decoration: none; transition: background .15s ease, color .15s ease; }
.single-product .woocommerce-tabs ul.tabs li a:hover { background: #e2e9f1; color: var(--st-ink) !important; }
.single-product .woocommerce-tabs ul.tabs li.active a { background: var(--st-blue); color: #fff !important; box-shadow: 0 10px 22px -12px var(--st-blue); }
.single-product .woocommerce-tabs .panel { padding: 26px 28px !important; border: 1px solid var(--st-line); border-radius: 16px; background: #fff; }
.mg-tab-lead--short p { margin: 0 0 14px; }
.mg-tab-note { display: flex; gap: 10px; margin: 18px 0 0; padding: 14px 16px; border-radius: 12px; background: #eef5fd; color: #33455c; font-size: .9rem; }
.mg-tab-note .mg-icon { flex: none; width: 20px; height: 20px; color: var(--st-blue); }
.woocommerce-tabs .mg-facts { margin-top: 18px; }

@media (max-width: 980px) {
  .single-product div.product { grid-template-columns: 1fr; gap: 20px; }
  .single-product div.product .woocommerce-product-gallery:has(.flex-control-thumbs) { grid-template-columns: 1fr; }
  .single-product div.product .woocommerce-product-gallery:has(.flex-control-thumbs) > .flex-viewport { grid-column: 1; }
  .single-product div.product .woocommerce-product-gallery:has(.flex-control-thumbs) .flex-control-thumbs { grid-column: 1; grid-row: 2; flex-direction: row; max-height: none; overflow-x: auto; overflow-y: hidden; }
  .single-product div.product .flex-control-thumbs li, .single-product div.product .flex-control-thumbs img { width: 72px !important; height: 72px; }
  .single-product div.product .summary { padding: 20px 18px !important; }
  .single-product .woocommerce-tabs ul.tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .single-product .woocommerce-tabs ul.tabs li a { min-height: 48px; font-size: .85rem; }
  .single-product .woocommerce-tabs .panel { padding: 18px !important; }
}
@media (max-width: 640px) {
  .single-product div.product .woocommerce-product-gallery__image img { padding: 14px; }
  .mg-price-row--single .price { font-size: 1.6rem !important; }
  body.mg-store ul.products li.product .mg-price-row .price ins { font-size: 1rem; }
  .mg-discount-box { min-width: 40px; height: 40px; font-size: .88rem; }
  .mg-fav { width: 42px; height: 42px; }
}
body.mg-store.single-product div.product form.cart { padding: 0; border: 0; background: transparent; box-shadow: none; }
body.mg-store.single-product div.product form.cart .quantity input.qty { height: 100%; border: 0; border-inline: 1px solid var(--st-line); border-radius: 0; min-height: 0; }
.mg-header-action .mg-fav-count { position: absolute; top: -7px; right: -9px; display: grid; place-items: center; min-width: 19px; height: 19px; padding: 0 5px; border: 2px solid #fff; border-radius: 99px; background: #d7263d; color: #fff; font-size: .62rem; font-weight: 800; line-height: 1; }
.mg-header-action .mg-fav-count[data-count="0"] { display: none; }
/* Telefonda başlıktaki yazılar gizlenirken ikon üstündeki sayaçlar görünür kalsın */
.mg-header-action .mg-header-action__icon > .mg-fav-count:not([data-count="0"]), .mg-header-action .mg-header-action__icon > .mg-cart-count:not([data-count="0"]) { display: grid; }

/* ---------------------------------------------------------------------------
 * Değerlendirmeler sekmesi: solda özet/yorumlar, sağda form kartı
 * ------------------------------------------------------------------------- */
.single-product #reviews { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 28px; align-items: start; }
.single-product #reviews > .clear { display: none; }
.single-product #reviews #comments { margin: 0; }
.single-product #reviews .woocommerce-Reviews-title { margin: 0 0 14px; font-size: 1.25rem; font-weight: 850; letter-spacing: -.02em; }
.single-product #reviews .woocommerce-noreviews { position: relative; margin: 0; padding: 22px 22px 22px 74px; border: 1px dashed #cfd9e5; border-radius: 14px; background: #f8fafc; color: #4a5a70; font-size: .92rem; line-height: 1.55; }
.single-product #reviews .woocommerce-noreviews::before { content: "★"; position: absolute; top: 50%; left: 20px; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: #fff4db; color: #f59e0b; font-size: 1.35rem; transform: translateY(-50%); }
.single-product #reviews ol.commentlist { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.single-product #reviews ol.commentlist li .comment_container { padding: 16px 18px; border: 1px solid var(--st-line); border-radius: 14px; background: #fff; }
.single-product #reviews ol.commentlist li img.avatar { display: none; }
.single-product #reviews ol.commentlist li .comment-text { margin: 0 !important; padding: 0 !important; border: 0 !important; }
.single-product #reviews .star-rating { color: #f59e0b; }

.single-product #review_form_wrapper { padding: 24px; border: 1px solid var(--st-line); border-radius: 16px; background: #f8fafc; }
.single-product #review_form .comment-reply-title { display: block; margin: 0 0 6px; color: var(--st-ink); font-size: 1.15rem; font-weight: 850; }
.single-product #review_form .comment-reply-title small { display: none; }
.single-product #review_form .comment-notes { margin: 0 0 18px; color: var(--st-muted); font-size: .84rem; }
.single-product #review_form form.comment-form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 14px; }
.single-product #review_form form.comment-form > * { grid-column: 1 / -1; margin: 0; }
.single-product #review_form form.comment-form > .comment-form-author { grid-column: 1; }
.single-product #review_form form.comment-form > .comment-form-email { grid-column: 2; }
.single-product #review_form label { display: block; margin: 0 0 6px; color: var(--st-ink); font-size: .85rem; font-weight: 750; }
.single-product #review_form .required { color: #d7263d; }
.single-product #review_form input[type="text"], .single-product #review_form input[type="email"], .single-product #review_form textarea { display: block; width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid #d6dee8; border-radius: 12px; background: #fff; color: var(--st-ink); font: inherit; font-size: .95rem; transition: border-color .15s ease, box-shadow .15s ease; }
.single-product #review_form textarea { min-height: 130px; resize: vertical; }
.single-product #review_form input:focus, .single-product #review_form textarea:focus { border-color: var(--st-blue); outline: 0; box-shadow: 0 0 0 3px rgba(14,78,143,.14); }
.single-product #review_form .comment-form-rating { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; padding: 12px 14px; border: 1px solid #d6dee8; border-radius: 12px; background: #fff; }
.single-product #review_form .comment-form-rating label { margin: 0; }
.single-product #review_form p.stars { margin: 0; }
.single-product #review_form p.stars a { width: 1.6em; height: 1.6em; color: #f59e0b; font-size: 1.15rem; }
.single-product #review_form p.stars a::before { width: 1.6em; height: 1.6em; line-height: 1.6; }
.single-product #review_form .comment-form-cookies-consent { display: flex; align-items: flex-start; gap: 10px; color: var(--st-muted); font-size: .82rem; }
.single-product #review_form .comment-form-cookies-consent input { flex: none; width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--st-blue); }
.single-product #review_form .comment-form-cookies-consent label { margin: 0; color: var(--st-muted); font-weight: 500; }
.single-product #review_form .form-submit input[type="submit"] { width: 100%; min-height: 52px; padding: 0 22px; border: 0; border-radius: 12px; background: var(--st-blue); color: #fff; font: inherit; font-size: 1rem; font-weight: 850; cursor: pointer; box-shadow: 0 10px 22px -12px var(--st-blue); transition: background .15s ease, transform .15s ease; }
.single-product #review_form .form-submit input[type="submit"]:hover { background: #0b3f75; transform: translateY(-1px); }
@media (max-width: 980px) {
  .single-product #reviews { grid-template-columns: 1fr; gap: 18px; }
  .single-product #review_form_wrapper { padding: 18px; }
}
@media (max-width: 640px) {
  .single-product #review_form form.comment-form > .comment-form-author, .single-product #review_form form.comment-form > .comment-form-email { grid-column: 1 / -1; }
}
.woocommerce.single-product #review_form #respond .form-submit input#submit, .single-product #review_form .form-submit input.mg-review-submit { width: 100%; min-height: 52px; border: 0; border-radius: 12px; background: var(--st-blue) !important; color: #fff !important; font-size: 1rem; font-weight: 850; }
.woocommerce.single-product #review_form #respond .form-submit input#submit:hover { background: #0b3f75 !important; }

/* Marka logoları: her biri aynı ölçüde kutuda, dikeyde ortalı (menü, mega menü, kartlar) */
.mg-brand-logo, .mg-store-nav .mg-brand-logo { display: inline-flex !important; flex: none; align-items: center; justify-content: center; width: 34px !important; height: 20px !important; max-width: none; margin-right: 8px; vertical-align: middle; }
.mg-brand-logo img { display: block; width: 100%; height: 100%; object-fit: contain; }
.mg-brand-logo--porsche, .mg-store-nav .mg-brand-logo--porsche { width: 62px !important; height: 20px !important; }
.mg-store-nav__make > a { display: inline-flex; align-items: center; }
/* Audi halkaları yatay: aynı görsel ağırlık için kutu biraz geniş, amblemler 20×20 */
.mg-brand-logo--audi, .mg-store-nav .mg-brand-logo--audi { width: 44px !important; }
.mg-brand-logo--volkswagen, .mg-brand-logo--seat, .mg-brand-logo--skoda, .mg-store-nav .mg-brand-logo--volkswagen, .mg-store-nav .mg-brand-logo--seat, .mg-store-nav .mg-brand-logo--skoda { width: 22px !important; height: 22px !important; }

/* ---------------------------------------------------------------------------
 * Ana sayfa marka rafları: logo, "Marka Yedek Parça" başlığı, kayan şerit, noktalar
 * ------------------------------------------------------------------------- */
.mg-brand-shelf { margin-block: 12px 56px; }
.mg-brand-shelf__head { display: flex; flex-direction: column; align-items: center; gap: 8px; margin-bottom: 22px; text-align: center; }
.mg-brand-shelf__logo { display: grid; place-items: center; height: 52px; }
.mg-brand-shelf__logo img { display: block; width: auto; max-width: 150px; height: 100%; max-height: 52px; object-fit: contain; }
.mg-brand-shelf__head h2 { margin: 0; color: var(--st-ink); font-size: clamp(1.25rem, 2vw, 1.6rem); font-weight: 850; letter-spacing: -.02em; }
.mg-brand-shelf__head h2 a { color: inherit; text-decoration: none; }
.mg-brand-shelf__head h2 span { color: var(--shelf-accent, var(--st-blue)); }
.mg-brand-shelf__rule { width: 56px; height: 3px; border-radius: 3px; background: var(--shelf-accent, var(--st-blue)); }
.mg-brand-shelf__body { position: relative; }
.mg-brand-shelf__arrow { position: absolute; z-index: 5; top: 42%; display: grid; place-items: center; width: 42px; height: 42px; padding: 0; border: 1px solid var(--st-line); border-radius: 50%; background: #fff; color: var(--st-ink); box-shadow: var(--st-shadow-sm); cursor: pointer; transform: translateY(-50%); transition: opacity .15s ease, border-color .15s ease; }
.mg-brand-shelf__arrow--prev { left: -18px; }
.mg-brand-shelf__arrow--next { right: -18px; }
.mg-brand-shelf__arrow:hover:not(:disabled) { border-color: var(--shelf-accent, var(--st-blue)); color: var(--shelf-accent, var(--st-blue)); }
.mg-brand-shelf__arrow:disabled { opacity: 0; pointer-events: none; }
.mg-brand-shelf__arrow .mg-icon { width: 20px; height: 20px; }
.mg-brand-shelf__all { margin: 6px 0 0; text-align: center; }
.mg-brand-shelf__all a { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; color: var(--st-blue); font-size: .88rem; font-weight: 800; text-decoration: none; }
.mg-brand-shelf__all .mg-icon { width: 16px; height: 16px; }
.mg-rail-dots { display: flex; justify-content: center; gap: 7px; margin-top: 4px; }
.mg-rail-dots[hidden] { display: none; }
.mg-rail-dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 99px; background: #cfd8e3; cursor: pointer; transition: width .2s ease, background .2s ease; }
.mg-rail-dots button.is-active { width: 22px; background: var(--shelf-accent, var(--st-blue)); }
@media (max-width: 1360px) {
  .mg-brand-shelf__arrow--prev { left: 4px; }
  .mg-brand-shelf__arrow--next { right: 4px; }
}
@media (max-width: 640px) {
  .mg-brand-shelf { margin-block: 4px 40px; }
  .mg-brand-shelf__logo { height: 42px; }
  .mg-brand-shelf__arrow { display: none; }
  /* Telefonda şeritte yan yana iki kart görünsün */
  .mg-product-rail ul.products li.product { flex-basis: calc((100vw - 38px) / 2) !important; width: calc((100vw - 38px) / 2) !important; }
}
.mg-brand-shelf__logo { height: 46px; }
.mg-brand-shelf__logo img { max-width: 120px; max-height: 46px; }

/* Yeni MarkaGlobal logosu: amblem (şeffaf PNG) + iki renkli yazı */
.mg-brand-emblem, .mg-store-header .mg-brand-emblem { background: url('../images/markaglobal-emblem.webp') center / contain no-repeat !important; border-radius: 50%; box-shadow: 0 4px 12px rgba(8, 21, 37, .18); }
.mg-brand-copy strong { letter-spacing: -.02em; }
.mg-brand-copy__a { color: #0b1224; }
.mg-brand-copy__b { color: #5b6470; }
@media (max-width: 640px) {
  .mg-store-header .mg-header-secure { display: none; }
  .mg-store-header .mg-brand { gap: 8px; }
}
@media (max-width: 380px) {
  .mg-store-header .mg-brand-copy strong { font-size: 19px; }
}
@media (max-width: 640px) {
  .mg-store-header .mg-brand-copy strong { font-size: 20px; }
  .mg-store-header .mg-brand-emblem { flex-basis: 36px; width: 36px; height: 36px; }
}
@media (max-width: 380px) {
  .mg-store-header .mg-header-main { column-gap: 8px; }
  .mg-store-header .mg-brand-copy strong { font-size: 18px; }
  .mg-store-header .mg-header-actions .mg-header-action { min-width: 34px; padding-inline: 4px; }
}
/* Görsel kaynakları sayfası */
.mg-credits { max-width: 980px; }
.mg-credits p { color: #475569; line-height: 1.6; }
.mg-credits__table { width: 100%; border-collapse: collapse; font-size: .86rem; margin-top: 14px; }
.mg-credits__table th, .mg-credits__table td { text-align: left; padding: 8px 10px; border-bottom: 1px solid #e6ebf1; vertical-align: top; }
.mg-credits__table th { background: #f4f7fb; color: #0b192c; font-weight: 800; }
.mg-credits__table a { color: #0e4e8f; }
@media (max-width: 640px) { .mg-credits__table { font-size: .76rem; } .mg-credits__table th, .mg-credits__table td { padding: 6px 5px; } }
.mg-footer-legal a { color: inherit; text-decoration: underline; }

/* Blog yazısı tabloları */
.mg-article-content table { width: 100%; margin: 18px 0 26px; border-collapse: collapse; border: 1px solid #dfe6ee; border-radius: 12px; overflow: hidden; background: #fff; font-size: .95rem; line-height: 1.45; }
.mg-article-content th, .mg-article-content td { padding: 11px 14px; border-bottom: 1px solid #e6ebf1; text-align: left; vertical-align: top; }
.mg-article-content thead th { background: #0b1224; color: #fff; font-weight: 800; }
.mg-article-content tbody tr:nth-child(even) { background: #f7f9fc; }
.mg-article-content tbody td:first-child { color: #0b1224; white-space: nowrap; }
@media (max-width: 640px) {
  .mg-article-content table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; font-size: .86rem; }
  .mg-article-content th, .mg-article-content td { min-width: 128px; padding: 9px 10px; }
  .mg-article-content tbody td:first-child, .mg-article-content thead th:first-child { min-width: 92px; }
}

/* Kurumsal (Hakkımızda) sayfası logosu */
.mg-corporate-hero .mg-container { display: flex; flex-direction: column; align-items: flex-start; }
.mg-corporate-hero__logo { width: 132px; height: auto; margin-bottom: 14px; padding: 12px; border-radius: 22px; background: #fff; box-shadow: 0 14px 34px rgba(0,0,0,.18); }
@media (max-width: 640px) { .mg-corporate-hero__logo { width: 96px; padding: 8px; border-radius: 16px; } }

/* Diğer ilan sitelerimiz (footer üstü) */
.mg-listings { padding: 46px 0 50px; background: linear-gradient(180deg, #f4f7fb 0%, #eef3f9 100%); border-top: 1px solid #e3e9f1; }
.mg-listings__head { max-width: 640px; margin: 0 auto 24px; text-align: center; }
.mg-listings__head h2 { margin: 4px 0 6px; color: #0b1224; font-size: clamp(1.35rem, 2.4vw, 1.8rem); }
.mg-listings__head p { margin: 0; color: #5b6470; font-size: .92rem; }
.mg-listings__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.mg-listing { position: relative; display: flex; align-items: center; gap: 14px; min-height: 84px; padding: 16px 18px; border-radius: 20px; text-decoration: none !important; overflow: hidden; box-shadow: 0 10px 26px rgba(11,18,36,.10); transition: transform .2s ease, box-shadow .2s ease; }
.mg-listing::after { content: ""; position: absolute; right: -30px; top: -30px; width: 110px; height: 110px; border-radius: 50%; background: rgba(255,255,255,.14); pointer-events: none; }
.mg-listing:hover, .mg-listing:focus-visible { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(11,18,36,.16); }
.mg-listing__mark { display: grid; flex: none; place-items: center; width: 50px; height: 50px; border-radius: 15px; font: 900 1.6rem/1 system-ui, sans-serif; text-transform: lowercase; }
.mg-listing__text { display: flex; flex-direction: column; min-width: 0; }
.mg-listing__text strong { font-size: 1.12rem; font-weight: 900; letter-spacing: -.01em; line-height: 1.15; }
.mg-listing__text strong em { font-style: normal; font-weight: 700; opacity: .7; }
.mg-listing__text small { margin-top: 3px; font-size: .78rem; font-weight: 700; opacity: .8; }
.mg-listing__go { display: grid; place-items: center; width: 34px; height: 34px; margin-left: auto; flex: none; border-radius: 50%; background: rgba(255,255,255,.22); transition: transform .2s ease; }
.mg-listing:hover .mg-listing__go { transform: translateX(3px); }
.mg-listing__go .mg-icon { width: 18px; height: 18px; }
.mg-listing--sahibinden { background: #ffe800; color: #1e1e1e !important; }
.mg-listing--sahibinden .mg-listing__mark { background: #1e1e1e; color: #ffe800; }
.mg-listing--sahibinden .mg-listing__go { background: rgba(0,0,0,.08); }
.mg-listing--arabam { background: linear-gradient(135deg, #e3262e 0%, #b8141c 100%); color: #fff !important; }
.mg-listing--arabam .mg-listing__mark { background: #fff; color: #d81f27; }
.mg-listing--otocikma { background: linear-gradient(135deg, #003399 0%, #0a2466 100%); color: #fff !important; }
.mg-listing--otocikma .mg-listing__mark { background: #e02f27; color: #fff; }
@media (max-width: 900px) { .mg-listings__grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; } }
@media (max-width: 640px) { .mg-listings { padding: 34px 0 38px; } .mg-listing { min-height: 74px; padding: 13px 15px; } }


/* ---------------------------------------------------------------- kurumsal */
.mg-corp-hero { position: relative; height: clamp(190px, 21vw, 300px); overflow: hidden; background: var(--st-navy); color: #fff; }
.mg-corp-hero picture, .mg-corp-hero img { position: absolute; inset: 0; width: 100%; height: 100%; }
.mg-corp-hero img { object-fit: cover; object-position: 60% 55%; }
.mg-corp-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6,16,34,.82) 0%, rgba(6,16,34,.45) 45%, rgba(6,16,34,0) 75%); }
.mg-corp-hero__inner { position: relative; z-index: 1; display: flex; height: 100%; flex-direction: column; justify-content: center; }
.mg-corp-hero__title { margin: 0; font-size: clamp(2rem, 4.2vw, 3.3rem); font-weight: 900; line-height: 1; letter-spacing: .03em; text-transform: uppercase; }
.mg-corp-hero__sub { margin: 10px 0 0; color: #d3e2f4; font-size: clamp(.95rem, 1.4vw, 1.12rem); }
.mg-corp { display: grid; grid-template-columns: 230px 210px minmax(0, 1fr); gap: 40px; align-items: start; padding-top: 44px; padding-bottom: 64px; }
.mg-corp__nav-title { margin: 0; padding-bottom: 12px; border-bottom: 2px solid var(--st-blue); color: var(--st-blue); font-size: 1.35rem; font-weight: 900; letter-spacing: .01em; text-transform: uppercase; }
.mg-corp__nav ul { margin: 16px 0 0; padding: 0 0 16px; border-bottom: 2px solid var(--st-blue); list-style: none; }
.mg-corp__nav a { display: block; padding: 11px 16px; color: var(--st-ink); font-size: .86rem; font-weight: 600; letter-spacing: .02em; text-decoration: none; text-transform: uppercase; transition: background .15s, color .15s; }
.mg-corp__nav a:hover { background: var(--st-blue-50); color: var(--st-blue); }
.mg-corp__nav a[aria-current="page"] { background: var(--st-navy-2); color: #fff; }
.mg-corp__logo { position: sticky; top: 110px; margin: 0; padding: 16px; border-radius: 18px; background: #fff; box-shadow: 0 16px 36px rgba(8,21,37,.12); }
.mg-corp__logo img { display: block; width: 100%; height: auto; }
.mg-corp__crumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 14px; color: var(--st-muted); font-size: .84rem; }
.mg-corp__crumbs a { color: var(--st-muted); text-decoration: none; }
.mg-corp__crumbs a:hover { color: var(--st-blue); }
.mg-corp__crumbs strong { color: var(--st-ink); }
.mg-corp__body h1 { margin: 0 0 18px; color: var(--st-blue); font-size: 1.4rem; font-weight: 900; text-transform: uppercase; }
.mg-corp__body .mg-legal { max-width: none; }
.mg-corp__body .mg-legal > h2:first-child { margin-top: 0; }
.mg-values { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 0 0 1.4em; }
.mg-values__card { padding: 18px 20px; border: 1px solid var(--st-line); border-top: 3px solid var(--st-blue); border-radius: 14px; background: #fff; }
.mg-values__card--wide { grid-column: 1 / -1; }
.mg-legal .mg-values__card h3 { margin: 0 0 6px; color: var(--st-blue); font-size: 1rem; font-weight: 850; }
.mg-legal .mg-values__card p { margin: 0; }
.mg-legal .mg-values__chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 0; padding: 0; list-style: none; }
.mg-legal .mg-values__chips li { margin: 0; padding: 6px 13px; border-radius: 999px; background: var(--st-blue-50); color: var(--st-blue-600); font-size: .86rem; font-weight: 700; }
@media (max-width: 1080px) {
  .mg-corp { grid-template-columns: 220px minmax(0, 1fr); }
  .mg-corp__logo { display: none; }
}
@media (max-width: 760px) {
  .mg-corp { grid-template-columns: minmax(0, 1fr); gap: 22px; padding-top: 24px; }
  .mg-corp__nav-title { display: none; }
  .mg-corp__nav ul { display: flex; gap: 8px; margin: 0; padding: 0 0 4px; border: 0; overflow-x: auto; scrollbar-width: none; }
  .mg-corp__nav a { padding: 9px 14px; border: 1px solid var(--st-line); border-radius: 999px; white-space: nowrap; font-size: .78rem; }
  .mg-corp-hero::after { background: linear-gradient(90deg, rgba(6,16,34,.85), rgba(6,16,34,.35)); }
  .mg-values { grid-template-columns: minmax(0, 1fr); }
}
