/* ===== Temel zemin + kaydırma/taşma kontrolü =====
   - body zemini main.css'te (Tailwind CDN JIT gecikmesinde beyaz parlama olmasın)
   - overflow-y: scroll + scrollbar-gutter: stable → dikey kaydırma çubuğu HER SAYFADA sabit yer kaplar;
     kısa↔uzun sayfa geçişinde çubuk gelip-gitmesi yüzünden oluşan yatay "zıplama"yı engeller.
   - overflow-x: clip → yatay taşmayı kırpar; 'hidden'in aksine sticky header'ı bozmaz. */
html { overflow-x: clip; overflow-y: scroll; scrollbar-gutter: stable; }
body { background: #F4F6FA; }


/* ===================== LOCAL FONTS ===================== */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('../fonts/pxiByp8kv8JHgFVrLDz8Z1JlFd2JQEl8qw.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('../fonts/pxiByp8kv8JHgFVrLDz8Z1xlFd2JQEk.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/pxiEyp8kv8JHgFVrJJnecnFHGPezSQ.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/pxiEyp8kv8JHgFVrJJfecnFHGPc.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/pxiByp8kv8JHgFVrLGT9Z1JlFd2JQEl8qw.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/pxiByp8kv8JHgFVrLGT9Z1xlFd2JQEk.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/pxiByp8kv8JHgFVrLEj6Z1JlFd2JQEl8qw.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/pxiByp8kv8JHgFVrLEj6Z1xlFd2JQEk.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/pxiByp8kv8JHgFVrLCz7Z1JlFd2JQEl8qw.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/pxiByp8kv8JHgFVrLCz7Z1xlFd2JQEk.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

* { font-family: 'Poppins', sans-serif; }

/* ===================== TOP NOTIFICATION ===================== */
.top-notification {
  background-color: #0638a7;
  background-image: url('../img/top-notification-pattern.png');
  background-size: cover;
  background-position: center;
}
/* block image drag/save inside slider */
#hero-slider img {
  -webkit-user-drag: none;
  pointer-events: none;
  -webkit-touch-callout: none;
}

/* price strikethrough — Tailwind preflight doesn't reset this but browser may vary */
.price-old {
  text-decoration: line-through !important;
  text-decoration-thickness: 1.5px !important;
  color: #9ca3af;
  font-size: 12px;
  display: block;
}

.promo-code {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.18);
  border: 1px dashed rgba(255, 255, 255, 0.6);
  color: #fff;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 4px;
  letter-spacing: 1px;
  font-size: 13px;
  margin-left: 6px;
}

/* ===================== TOP BAR (refined) ===================== */
.top-bar-refined {
  background: linear-gradient(90deg, #10152a 0%, #1a2139 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding: 6px 0;
}
.top-bar-separator { gap: 2px; }
.top-bar-separator li { position: relative; }
/* ayraç çizgisi yok — yumuşak pill hover */
.top-bar-separator li a {
  border-radius: 8px;
  color: #aeb6c7 !important;
  transition: background 0.18s ease, color 0.18s ease;
}
.top-bar-separator li a i {
  color: #3e97ff !important;
  transition: color 0.18s ease;
}
.top-bar-separator li a:hover {
  background: rgba(62, 151, 255, 0.12);
  color: #fff !important;
}
.top-bar-separator li a:hover i { color: #6fb4ff !important; }
/* currency segment — ince çerçeve */
#currency-widget > div { border: 1px solid rgba(255, 255, 255, 0.08); }
#currency-widget .cur-sw { transition: background 0.15s ease, color 0.15s ease; }

/* ===================== MAIN HEADER ===================== */
.m-menu-1 {
  background-color: #fff;
  z-index: 600 !important;
}
.app-header {
  border-bottom: none !important;
  height: var(--header-h, 85px);
}

/* ===================== MEGA MENU NAV LINK ===================== */
.nav-main-link {
  height: 100%;
  padding: 0 0.9rem !important;
  display: flex;
  align-items: center;
  gap: 5px;
  position: relative;
  color: #1f2433;
  font-weight: 500;
  font-size: 15.5px;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.18s ease;
}
.nav-main-link > span,
.nav-main-link > svg { position: relative; z-index: 1; }
/* yumuşak pill vurgu (tam yükseklik blok yerine) */
.nav-main-link::before {
  content: "";
  position: absolute;
  inset: 21px 4px;
  border-radius: 10px;
  background: transparent;
  transition: background 0.18s ease;
  z-index: 0;
}
.nav-main-link .arrow-icon {
  width: 13px;
  height: 13px;
  color: #9aa3b2;
  flex-shrink: 0;
  transition: transform 0.25s ease, color 0.18s ease;
}

/* ===================== MEGA MENU ITEM (parent) ===================== */
.mega-menu-item {
  position: relative;
  display: flex;
  align-items: stretch;
  padding: 0;
}
.mega-menu-item:hover > .nav-main-link,
.mega-menu-item.open > .nav-main-link { color: #0638a7; }
.mega-menu-item:hover > .nav-main-link::before,
.mega-menu-item.open > .nav-main-link::before { background: rgba(6, 56, 167, 0.07); }
.mega-menu-item:hover > .nav-main-link .arrow-icon,
.mega-menu-item.open > .nav-main-link .arrow-icon { transform: rotate(180deg); color: #0638a7; }

/* ===================== DROPDOWN PANEL ===================== */
.mega-dropdown {
  position: absolute;
  top: 100%;
  left: -40px;
  z-index: 1000;
  min-width: 400px;
  padding-top: 14px;            /* görünmez köprü: link→panel geçişinde menü kapanmaz */
  opacity: 0;
  visibility: hidden;
  pointer-events: none;          /* kapanış animasyonunda imleci yakalayıp flicker yapmasın */
  transform-origin: top center;
  transform: scale(0.97);
  transition: opacity 0.15s ease, transform 0.16s cubic-bezier(.16,1,.3,1), visibility 0.15s;
}
.mega-dropdown.narrow { min-width: 340px; }

/* Hosting/Sunucu: full-width (container genişliğinde açılır) */
.m-menu-1 > div { position: relative; }            /* full-width panel için offset parent */
.mega-menu-item.mega-full { position: static; }
.mega-dropdown.wide { left: 0; right: 0; min-width: 0; }
.dropdown-inner.mega-split .dropdown-grid-2 { grid-template-columns: repeat(3, 1fr); }
.mega-promo { width: 280px; }
/* SSL: full-width DEĞİL — öğeye bağlı, sağa hizalı 2×2 grid + promo */
.mega-dropdown.ssl-mega { left: auto; right: 0; min-width: 0; width: 880px; }
.ssl-mega .dropdown-inner.mega-split .dropdown-grid-2 { grid-template-columns: repeat(2, 1fr); }
.mega-menu-item:hover > .mega-dropdown,
.mega-menu-item.open > .mega-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: scale(1);
  transition-delay: 0s;          /* açılış anında; menüler arası geçiş takılmadan */
}

/* yuvarlak yüzen kart */
.dropdown-inner {
  background: #fff;
  border-radius: 16px;
  border: 1px solid rgba(11, 18, 46, 0.06);
  box-shadow: 0 24px 60px -18px rgba(11, 18, 46, 0.28), 0 8px 22px -10px rgba(11, 18, 46, 0.12);
  padding: 10px;
}
/* iki kolonlu (Hosting/Sunucu) + sağda promo kart */
.dropdown-inner.mega-split { display: flex; gap: 12px; }
.dropdown-inner.mega-split .dropdown-grid-2 { flex: 1; }
.dropdown-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
}

/* ===================== DROPDOWN LINK ITEMS ===================== */
.dropdown-link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px !important;
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: background 0.15s ease;
}
.dropdown-link:hover { background: rgba(6, 56, 167, 0.05); }

/* ===================== MENU ICON TILE ===================== */
.menu-icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: linear-gradient(135deg, #eef3ff 0%, #e2ecff 100%);
  transition: background 0.15s ease, transform 0.15s ease;
}
.dropdown-link:hover .menu-icon-wrap {
  background: linear-gradient(135deg, #dbe6ff 0%, #c8ddff 100%);
  transform: translateY(-1px);
}
.menu-icon-wrap img { width: 26px; height: 26px; }

/* ===================== ITEM TEXT ===================== */
.item-title {
  font-size: 0.98rem;
  font-weight: 600;
  color: #17191c;
  margin: 0 0 2px 0;
  display: flex;
  align-items: center;
  gap: 6px;
}
.item-desc {
  font-size: 12.5px;
  font-weight: 400;
  color: #6b7280;
  line-height: 1.45;
}

/* ===================== MEGA PROMO (öne çıkan yan kart) ===================== */
.mega-promo {
  width: 240px;
  flex-shrink: 0;
  border-radius: 12px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  color: #fff;
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, #0b1020 0%, #14224a 55%, #0b3aa0 150%);
}
.mega-promo .promo-badge {
  position: absolute; top: -22px; right: -22px; width: 96px; height: 96px; border-radius: 50%;
  background: linear-gradient(135deg, #12CE5D, #189EFF); opacity: 0.22;
}
.mega-promo .promo-eyebrow {
  font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: #7aa7ff;
  position: relative;
}
.mega-promo .promo-title { font-size: 1.15rem; font-weight: 800; line-height: 1.25; margin-top: 8px; position: relative; }
.mega-promo .promo-text { font-size: 12.5px; color: rgba(255, 255, 255, 0.75); line-height: 1.5; margin-top: 8px; position: relative; }
.mega-promo .promo-btn {
  margin-top: auto; padding-top: 0;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: #fff; color: #0638a7; font-weight: 700; font-size: 13px;
  padding: 10px 14px; border-radius: 9px; text-decoration: none;
  margin-top: 16px; transition: transform 0.15s ease, box-shadow 0.15s ease;
  position: relative;
}
.mega-promo .promo-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 20px -6px rgba(0, 0, 0, 0.4); }
.badge-new {
  display: inline-block;
  background: rgba(0, 154, 255, 0.12);
  color: #009AFF;
  font-size: 11px;
  font-weight: 600;
  padding: 1px 7px;
  border-radius: 4px;
}
.badge-soon {
  display: inline-block;
  background: rgba(245, 158, 11, 0.14);
  color: #d97706;
  font-size: 11px;
  font-weight: 600;
  padding: 1px 7px;
  border-radius: 4px;
}
/* Menüde tıklanamaz (yakında) öğe */
.dropdown-link.is-soon { cursor: default; }
.dropdown-link.is-soon:hover > .menu-icon-wrap { background: inherit; }

/* ===================== CART WIDGET ===================== */
.cart-widget {
  position: relative;
}
.cart-dropdown-panel {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 380px;
  background: #fff;
  border: 1px solid #f3f4f6;    /* tek kenarlık (gray-100) */
  border-radius: 0 0 8px 8px;   /* üst köşeler düz, alt köşeler yuvarlak */
  overflow: hidden;             /* içerik alt köşelere göre kırpılsın */
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
  z-index: 1000;
}
.cart-widget.cart-open .cart-dropdown-panel { display: block; }

/* ===================== MOBILE MENU ===================== */
#mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 250px;
  height: 100%;
  background: #fff;
  z-index: 920;
  overflow-y: auto;
  box-shadow: 4px 0 20px rgba(0,0,0,0.15);
  transform: translateX(-100%);
  transition: transform 0.3s ease;
}
#mobile-menu.open {
  display: block;
  transform: translateX(0);
}
#mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 910;
}
#mobile-overlay.open { display: block; }

.mobile-nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1rem;
  color: #000;
  font-weight: 500;
  font-size: 15px;
  border-bottom: 1px solid #f1f5f9;
  text-decoration: none;
}
.mobile-nav-link:hover { background: #f0f7ff; }

.mobile-sub-menu {
  display: none;
  background: #f9fafb;
}
.mobile-sub-menu.open { display: block; }

.mobile-sub-link {
  display: flex;
  align-items: center;
  padding: 0.75rem 1rem 0.75rem 1.5rem;
  color: #374151;
  font-size: 14px;
  font-weight: 400;
  border-bottom: 1px solid #f1f5f9;
  text-decoration: none;
  gap: 10px;
}
.mobile-sub-link img {
  width: 26px;
  height: 26px;
  object-fit: contain;
}
.mobile-sub-link:hover { background: #e0f0ff; }

@media (max-width: 1024px) {
  .mega-menu-item:hover > .mega-dropdown { display: none !important; }
}

/* ===================== DIAGONAL STRIKETHROUGH ===================== */
.line-through-diagonal {
  position: relative;
  display: inline-block;
  font-size: 18px;
  font-weight: 500;
  color: rgb(156 163 175);
}
.line-through-diagonal::before {
  content: '';
  position: absolute;
  left: -12px; right: -12px;
  top: 50%;
  height: 2px;
  background: rgba(225,29,42,.55);
  transform: rotate(7deg);
}

/* ===================== KURUMSAL (hakkımızda/yasal) METİN ===================== */
.kurumsal-prose { color:#4a5568; line-height:1.9; font-size:1rem; }
.kurumsal-prose > :first-child { margin-top:0; }
/* Başlıklar — eski card-v: kısa mavi alt-aksanlı bölüm başlıkları */
.kurumsal-prose h1, .kurumsal-prose h2 {
  font-size:1.3rem; font-weight:600; color:#141a2e; line-height:1.4;
  margin:2.25rem 0 1.1rem; padding-bottom:.7rem;
  border-bottom:1px solid #eceff4; position:relative;
}
.kurumsal-prose h1::after, .kurumsal-prose h2::after {
  content:''; position:absolute; left:0; bottom:-1px; width:52px; height:2px; background:#0638a7;
}
.kurumsal-prose h3 { font-size:1.08rem; font-weight:600; color:#1f2937; margin:1.6rem 0 .55rem; }
.kurumsal-prose h4 { font-size:1rem; font-weight:600; color:#1f2937; margin:1.3rem 0 .5rem; }
.kurumsal-prose p { margin-bottom:1.1rem; }
/* Listeler — mavi nokta işaretli */
.kurumsal-prose ul { list-style:none; padding-left:0; margin:0 0 1.2rem; }
.kurumsal-prose ul > li { position:relative; padding-left:1.6rem; margin-bottom:.7rem; }
.kurumsal-prose ul > li::before {
  content:''; position:absolute; left:.15rem; top:.62rem;
  width:7px; height:7px; border-radius:9999px; background:#0638a7;
}
.kurumsal-prose ol { padding-left:1.35rem; margin:0 0 1.2rem; }
.kurumsal-prose ol > li { margin-bottom:.7rem; padding-left:.25rem; }
.kurumsal-prose li > ul, .kurumsal-prose li > ol { margin-top:.6rem; margin-bottom:.3rem; }
.kurumsal-prose a { color:#0638a7; text-decoration:underline; text-underline-offset:2px; }
.kurumsal-prose a:hover { color:#04256e; }
.kurumsal-prose strong, .kurumsal-prose b { color:#141a2e; font-weight:600; }
/* Madde numarası öneki (4.1, 4.3.1 vb.) — logo mavisi, taze */
.kurumsal-prose .cl-no { color:#0638a7; font-weight:700; margin-right:.35rem; white-space:nowrap; }
.kurumsal-prose p:has(> .cl-no:first-child) { margin-bottom:.85rem; }
/* Tablolar */
.kurumsal-prose table { width:100%; border-collapse:separate; border-spacing:0; margin:0 0 1.4rem; font-size:.93rem; border:1px solid #e8ebf0; border-radius:12px; overflow:hidden; }
.kurumsal-prose th, .kurumsal-prose td { border-bottom:1px solid #eceff4; padding:.8rem 1rem; text-align:left; vertical-align:top; }
.kurumsal-prose tr:last-child th, .kurumsal-prose tr:last-child td { border-bottom:0; }
.kurumsal-prose th { background:#f7f9fc; font-weight:600; color:#374151; white-space:nowrap; }
.kurumsal-prose hr { border:0; border-top:1px solid #eceff4; margin:1.75rem 0; }
