/* ==========================================================================
   Dropsan — MAYRA mağaza düzeni
   Siyah üst şerit/alt bilgi · beyaz gövde · kırmızı vurgu.
   dropsan-modern.css ve dropsan-polish.css'den SONRA yüklenir.
   ========================================================================== */

:root {
  --mk-ink: #201c1d;
  --mk-ink-2: #161212;
  --mk-line: #e7e3e4;
  --mk-muted: #6d696a;
  --mk-soft: #fdf0f1;
}

/* ── Üst şerit ────────────────────────────────────────────────────────── */
.mt { background: var(--mk-ink); color: #fff; font-size: 12.5px; }
.mt__in { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 36px; }
.mt__l { color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mt__l strong { font-weight: 700; }
.mt__r { display: flex; align-items: center; gap: 22px; }
.mt__links { display: flex; gap: 18px; }
.mt a { color: #d6d0d1; text-decoration: none; }
.mt a:hover { color: #fff; }
.mt__rates { display: flex; gap: 10px; }
.mt__rates span { padding: 3px 9px; border-radius: 5px; background: #2e2829; color: #fff; font-weight: 600; font-size: 12px; }
.mt__tel { color: #fff !important; font-weight: 700; display: inline-flex; align-items: center; gap: 7px; }
.mt__tel i { color: var(--dm-blue); }

/* ── Ana başlık ──────────────────────────────────────────────────────── */
.dmh { border-bottom: 1px solid var(--mk-line); }
.dmh__row { min-height: 76px; gap: 24px; }
.dmh__search { max-width: 640px; height: 46px; padding: 0; overflow: visible; background: #fff; border: 1px solid #d6d0d1; border-radius: 8px; }
.dmh__search:focus-within { border-color: var(--dm-blue); background: #fff; box-shadow: 0 0 0 3px rgba(226, 35, 26, .15); }
.dmh__search input { padding: 0 16px; font-size: 14.5px; }
.dmh__search svg { margin: 0; }
.dmh__search button { width: 52px; height: 100%; margin: 0; padding: 0; border-radius: 0 7px 7px 0; background: var(--dm-blue); color: #fff; display: grid; place-items: center; }
.dmh__search button:hover { background: var(--dm-blue-d); }
.dmh__actions { gap: 4px; }
.dmh__act { gap: 10px; padding: 0 10px; }
.dmh__act svg { flex: 0 0 auto; }
.dmh__act-label { display: block; font: 700 14px/1.2 var(--dm-font); color: var(--mk-ink); white-space: nowrap; }
.dmh__act-label small { display: block; margin-bottom: 1px; font-size: 11px; font-weight: 500; color: var(--mk-muted); }
.dmh__badge { top: 4px; left: 28px; background: var(--dm-blue); }
.dmh__cart-total { display: none; }
.dmh__quote { margin-left: 8px; }
@media (min-width: 1101px) and (max-width: 1280px) { .dmh__act-label { display: block; } }

/* ── Gezinme çubuğu ───────────────────────────────────────────────────── */
.dmh__nav { border-top: 0; border-bottom: 0; background: #fff; }
.dmh__navrow { gap: 2px; min-height: 52px; }
.dmh__allcat { display: inline-flex; align-items: center; gap: 10px; height: 40px; padding: 0 18px; margin-right: 12px; border: 0; border-radius: 8px; background: var(--dm-blue); color: #fff; font: 700 14px var(--dm-font); cursor: pointer; }
.dmh__allcat:hover, .dmh__allcat[aria-expanded="true"] { background: var(--dm-blue-d); }
.dmh__allcat:focus-visible { outline: 3px solid var(--mk-ink); outline-offset: 2px; }
.dmh__link { min-height: 52px; padding: 0 14px; font-size: 14px; font-weight: 600; color: var(--mk-ink); border-bottom: 2px solid transparent; }
.dmh__link:hover, .dmh__link[aria-expanded="true"] { color: var(--dm-blue); border-bottom-color: var(--dm-blue); }
.dmh__link--hot { color: var(--dm-blue); font-weight: 700; }
.dmh__link--hot i { font-size: 12px; margin-right: 4px; }
.dmh__mega { left: 0; border-radius: 0 0 12px 12px; }
@media (max-width: 1280px) { .dmh__link--cat:nth-of-type(n+5) { display: none; } }
@media (max-width: 1100px) { .dmh__link--cat:nth-of-type(n+4) { display: none; } }

/* ── Hero slider ─────────────────────────────────────────────────────── */
.mh { position: relative; background: var(--mk-ink-2); color: #fff; overflow: hidden; }
.mh::before { content: ''; position: absolute; inset: 0; background: radial-gradient(60% 90% at 78% 40%, rgba(226, 35, 26, .22), transparent 70%); pointer-events: none; }
.mh__slide { position: relative; }
.mh__slide[hidden] { display: none; }
.mh__in { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: center; gap: 48px; min-height: 400px; padding-top: 36px; padding-bottom: 72px; }
.mh__eyebrow { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 14px; color: #ff6b63; font: 700 12.5px var(--dm-font); letter-spacing: .14em; text-transform: uppercase; }
.mh__eyebrow::before { content: ''; width: 36px; height: 2px; background: var(--dm-blue); }
.mh h2 { margin: 0; color: #fff !important; font: 800 clamp(32px, 4vw, 52px)/1.08 var(--dm-font); letter-spacing: -.02em; }
.mh p { max-width: 520px; margin: 16px 0 0; color: #c3bdbe; font-size: 17px; line-height: 1.6; }
.mh__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.mh__btn2 { background: transparent; color: #fff; border-color: #4a4446; }
.mh__btn2:hover { border-color: #fff; color: #fff; }
.mh__media { margin: 0; padding: 18px; background: #fff; border-radius: 20px; box-shadow: 0 24px 60px rgba(0, 0, 0, .35); }
.mh__media img { display: block; width: 100%; height: 300px; object-fit: contain; }
.mh__ctl { position: absolute; left: 0; right: 0; bottom: 22px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; }
.mh__dots { display: flex; gap: 8px; }
.mh__dot { position: relative; width: 36px; height: 4px; padding: 0; border: 0; border-radius: 2px; background: #4a4446; cursor: pointer; }
.mh__dot::after { content: ''; position: absolute; inset: -16px -2px; }
.mh__dot.is-active { background: var(--dm-blue); }
.mh__arrows { display: flex; gap: 8px; }
.mh__arrow { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid #4a4446; border-radius: 8px; background: transparent; color: #fff; cursor: pointer; }
.mh__arrow:hover { border-color: #fff; }
.mh :focus-visible { outline: 3px solid #fff; outline-offset: 2px; }

/* ── Güven şeridi ve markalar ─────────────────────────────────────────── */
.mtrust { background: #fff; border-bottom: 1px solid var(--mk-line); }
.mtrust__in { display: grid; grid-template-columns: repeat(6, 1fr); margin: 0 auto; padding: 0 24px; list-style: none; }
.mtrust__in li { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 18px 12px; border-left: 1px solid var(--mk-line); }
.mtrust__in li:first-child { border-left: 0; }
.mtrust__ic { display: grid; place-items: center; flex: 0 0 40px; width: 40px; height: 40px; border-radius: 50%; background: var(--mk-soft); color: var(--dm-blue); font-size: 16px; }
.mtrust strong { display: block; font: 700 14px/1.25 var(--dm-font); color: var(--mk-ink); }
.mtrust small { display: block; margin-top: 2px; font-size: 12.5px; color: var(--mk-muted); }
.mbrands { background: #fff; padding: 22px 0 4px; }
.mbrands__in { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.mbrands__item { display: grid; place-items: center; min-width: 110px; height: 52px; padding: 0 20px; border: 1px solid var(--mk-line); border-radius: 8px; color: var(--mk-muted); font: 800 13.5px var(--dm-font); letter-spacing: .05em; text-transform: uppercase; text-decoration: none; background: #fff; }
.mbrands__item:hover { border-color: var(--dm-blue); color: var(--mk-ink); }

/* ── Alt bilgi: siyah ─────────────────────────────────────────────────── */
.dmf { background: var(--mk-ink); color: #c3bdbe; border-top: 0; }
.dmf a, .dmf__col span { color: #c3bdbe; }
.dmf a:hover { color: #fff; }
.dmf h3 { color: #fff; }
.dmf__brand p { color: #a39d9f; }
.dmf__brand img { background: #fff; padding: 8px 12px; border-radius: 8px; height: 52px; box-sizing: border-box; }
.dmf__social a { background: #2e2829; border-color: #3a3436; color: #fff; }
.dmf__social a:hover { border-color: var(--dm-blue); }
.dmf__bar { background: var(--mk-ink-2); border-top: 1px solid #3a3436; }
.dmf__bar-in, .dmf__legal a, .dmf__legal button { color: #a39d9f; }
.dmf__legal a:hover, .dmf__legal button:hover { color: #fff; }

/* ── Duyarlı ──────────────────────────────────────────────────────────── */
@media (max-width: 980px) {
  .mt { display: none; }
  .dmh__search { height: 48px; }
  .mh__in { grid-template-columns: 1fr; gap: 20px; min-height: 0; padding-top: 28px; padding-bottom: 76px; }
  .mh__media { order: -1; padding: 12px; }
  .mh__media img { height: 160px; }
  .mh p { font-size: 15.5px; }
  .mtrust__in { display: flex; overflow-x: auto; padding: 0 16px; scrollbar-width: none; }
  .mtrust__in li { flex: 0 0 auto; min-width: 220px; }
  .mbrands__in { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; padding-bottom: 8px; scrollbar-width: none; }
  .mbrands__item { flex: 0 0 auto; }
}
@media (max-width: 560px) {
  .mh__cta .dm-btn { flex: 1 1 100%; }
  .mh h2 { font-size: 30px; }
}
@media (prefers-reduced-motion: reduce) { .mh__slide { transition: none; } }
.dmh__search button svg { color: #fff; stroke: #fff; }
@media (max-width: 1100px) { .dmh__act-label { display: none; } }
@media (max-width: 980px) { .dmh__act--fav { display: none; } .dmh__badge { left: 22px; } }
body footer.dmf, body .dmf { background: var(--mk-ink) !important; color: #c3bdbe !important; border-top: 0 !important; }
body .dmf__bar { background: var(--mk-ink-2) !important; border-top: 1px solid #3a3436 !important; }
body .dmf h3 { color: #fff !important; }
body .dmf a, body .dmf__col span { color: #c3bdbe !important; }
body .dmf a:hover { color: #fff !important; }

/* Eski sayfa kapsayıcıları (.container) geniş ekranda tüm genişliği kaplıyordu; başlık (1280 px) ile hizalandı */
body .container, body.cat-page main .container { max-width: 1280px !important; margin-left: auto; margin-right: auto; }
body .dxs-portal-content .container { max-width: 100% !important; }

/* Sepet özeti: "Genel Toplam (KDV Dahil)" satırı düzgün hizalanır, açık zeminde okunur */
.cart-summary__total { align-items: baseline; justify-content: space-between; gap: 6px 12px; flex-wrap: wrap; }
.cart-summary__total > span:first-child { display: flex; flex-direction: column; gap: 2px; white-space: nowrap; }
.cart-summary__total small { color: var(--mk-muted) !important; }
.cart-summary__total > span:last-child { white-space: nowrap; }

/* Patchcord üretim stüdyosu koyu tasarımlı: sayfa zemini tanımsızdı (başlık beyaz üstüne beyaz kalıyordu) */
.pcv { background: var(--pcv-bg, #080b14); }

/* ==========================================================================
   Eski sayfalarda kalan mavi vurgular → site kırmızı/siyah temasına
   ========================================================================== */
:root { --mk-red: #e2231a; --mk-red-d: #bb1b14; --mk-grad: linear-gradient(145deg, #161212 0%, #2e2829 58%, #5a1418 100%); }

/* Ana düğmeler */
.lg-submit-btn, .reg-submit-btn, .sb-submit, .pf-submit, .qr-submit-btn, .fp-submit, .fw2-nav__b, .e404__btn, .sb-step__no, .fw2-prog__fill, .page-link.active {
  background: var(--mk-red) !important; background-image: none !important; border-color: var(--mk-red) !important; color: #fff !important; box-shadow: none !important;
}
.lg-submit-btn:hover, .reg-submit-btn:hover, .sb-submit:hover, .pf-submit:hover, .qr-submit-btn:hover, .fp-submit:hover, .fw2-nav__b:hover, .e404__btn:hover { background: var(--mk-red-d) !important; }
.fw2-nav__b[disabled], .fw2-nav__b.is-ghost { background: #fff !important; color: var(--mk-ink) !important; border-color: var(--mk-line) !important; }

/* Koyu tanıtım panelleri */
.login-promo, .register-promo, .pl-head { background: var(--mk-grad) !important; background-image: var(--mk-grad) !important; }

/* Mavi metin vurguları */
.lg-forgot, .lg-register-link, .fw2-badge, .fw2-prog__txt, .pl-hero-eyebrow, .qr-hero-eyebrow, .sb-multi, .sb-stat__num, .cart-continue,
.login-page a:not(.lg-submit-btn), .register-page a:not(.reg-submit-btn), .fp-page a:not(.fp-submit), .e404__joke { color: var(--mk-red-d) !important; }
.blog-card, .blog-card__body, .brand-card, .ct-card, .ct-card__text, .ct-phone-btn { color: var(--mk-ink); }
.pl-hero h1 span, .pl-hero-eyebrow span { color: var(--mk-red) !important; }

/* Seçili kart/seçenek kenarlıkları */
.reg-radio-card, .co-radio-card, .delivery-opt__box, .co-payment-option, .qr-toggle { border-color: var(--mk-line); }
.reg-radio-card:has(input:checked), .co-radio-card:has(input:checked), .delivery-opt:has(input:checked) .delivery-opt__box, .co-payment-option:has(input:checked), .qr-toggle:has(input:checked), .qr-toggle.is-active {
  border-color: var(--mk-red) !important; box-shadow: 0 0 0 3px rgba(226, 35, 26, .12);
}
.hfilter-btn { border-color: var(--mk-line); }
.hfilter-btn--accent { border-color: var(--mk-ink) !important; }
#fwStepTotal, #fwStepName, .fw2-prog__txt span, .qr-hero h1 span, .qr-hero a, .qr-form a, .qr-consent a, label a[href*="/sayfa/"],
.checkout-page [class*="secure"] strong, .checkout-page [class*="ssl"] strong { color: var(--mk-red-d) !important; }
.e404 button[type="submit"], .e404 form button { background: var(--mk-red) !important; background-image: none !important; color: #fff !important; }

/* Lacivert tanıtım alanları → siyah/kırmızı tema (Patchcord stüdyosu kendi koyu arayüzünü korur) */
.fw2-top, .wlk-hero, .wlk-contact, .sb-hero, .sb-sidebar__card, .qr-hero { background: var(--mk-grad) !important; background-image: var(--mk-grad) !important; }
.wlk-submit { background: var(--mk-red) !important; background-image: none !important; color: #fff !important; }
.wlk-submit:hover { background: var(--mk-red-d) !important; }
