/* Model sayfası */
.ms { padding: 20px 0 64px; color: #475569; }
.ms-genis { max-width: calc(var(--container-w, 1180px) + 32px); margin: 0 auto; padding: 0 16px; }
/* Dar bölümler de standart kapla aynı hizada */
.ms-dar { max-width: calc(var(--container-w, 1180px) + 32px); margin: 0 auto; padding: 0 16px; }
.ms-bolum { margin-top: 56px; }
.ms h2 { margin: 0 0 16px; font-size: clamp(22px, 2.4vw, 28px); font-weight: 600; line-height: 1.3; color: #252B33; text-wrap: balance; }
.ms p { margin: 0 0 14px; font-size: 15.5px; line-height: 1.75; }
.ms-ortala { text-align: center; }
.ms .ms-ortala { margin-bottom: 28px; }

/* Kırıntı yolu */
.ms-kirinti { margin-bottom: 14px; }
.ms-kirinti .breadcrumb { display: flex; flex-wrap: wrap; margin: 0; padding: 0; background: none; font-size: 13.5px; list-style: none; }
.ms-kirinti .breadcrumb-item + .breadcrumb-item::before { content: "›"; padding: 0 8px; color: #8A94A0; }
.ms-kirinti .breadcrumb-item a { color: #252B33; text-decoration: underline; text-underline-offset: 4px; }
.ms-kirinti .breadcrumb-item.active { color: #5A626E; }

/* Üst alan */
.ms-hero { position: relative; overflow: hidden; display: flex; align-items: center; min-height: 440px; border-radius: 22px; background: #0F1318; isolation: isolate; }
.ms-hero-gorsel { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 75% center; }
.ms-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(11,15,20,.94) 0%, rgba(11,15,20,.82) 40%, rgba(11,15,20,.1) 75%); }
.ms-hero-icerik { max-width: 540px; padding: 44px 48px; }
.ms-hero-rozet { display: inline-block; margin-bottom: 16px; padding: 6px 14px; border: 1px solid rgba(255,255,255,.55); border-radius: 999px; font-size: 13px; color: #fff; text-decoration: none; }
.ms-hero-rozet:hover, .ms-hero-rozet:focus-visible { background: rgba(255,255,255,.14); color: #fff; }
.ms .ms-hero h1 { margin: 0 0 18px; font-size: clamp(28px, 3.6vw, 40px); font-weight: 600; line-height: 1.22; letter-spacing: -0.01em; color: #fff; text-wrap: balance; }
.ms .ms-hero p { margin-bottom: 26px; color: #DCE3EA; }
.ms-hero-aksiyon { display: flex; flex-wrap: wrap; gap: 12px; }

/* Düğmeler */
.ms-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 26px; border: 1px solid var(--brand, #3478B9); border-radius: 999px; background: var(--brand, #3478B9); color: #fff; font-size: 14.5px; font-weight: 600; line-height: 1.3; text-decoration: none; }
.ms-btn:hover, .ms-btn:focus-visible { background: var(--brand-dark, #2A6397); border-color: var(--brand-dark, #2A6397); color: #fff; }
.ms-btn--cizgi { background: transparent; border-color: rgba(255,255,255,.6); }
.ms-btn--cizgi:hover, .ms-btn--cizgi:focus-visible { background: rgba(255,255,255,.14); border-color: #fff; }
.ms-btn--koyu { background: #252B33; border-color: #252B33; }
.ms-btn--koyu:hover, .ms-btn--koyu:focus-visible { background: #000; border-color: #000; }

/* Onarım sekmeleri: her biri ürün sayfasına giden bağlantı */
.hk-kartlar { display: grid; grid-template-columns: repeat(4, minmax(0, 180px)); justify-content: center; gap: 36px; margin: 0; padding: 0; list-style: none; }
.hk-kartlar li { display: flex; }
.hk-kart { position: relative; display: flex; flex: 1; flex-direction: column; align-items: center; gap: 14px; min-height: 156px; padding: 22px 12px 16px; border: 2px solid #D6E7F5; border-radius: 10px; background: #EEF5FC; box-shadow: 0 4px 12px rgba(52,120,185,.14); color: #252B33; font-size: 17px; font-weight: 500; line-height: 1.3; text-align: center; text-decoration: none; transition: border-color .2s ease; }
.hk-kart i { font-size: 52px; color: #1D3F66; }
.hk-kart:hover { border-color: #9CC2E3; color: #252B33; }
.hk-kart:focus-visible { outline: 2px solid var(--brand, #3478B9); outline-offset: 4px; }
.hk-kart--secili, .hk-kart--secili:hover { border-color: var(--brand, #3478B9); }
.hk-kart--secili::after { content: ""; position: absolute; bottom: -11px; left: 50%; width: 18px; height: 18px; margin-left: -9px; border-right: 2px solid var(--brand, #3478B9); border-bottom: 2px solid var(--brand, #3478B9); background: #EEF5FC; transform: rotate(45deg); }

/* Sekmelerin altındaki ürün kutusu */
.up { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px; margin-top: 34px; padding: 44px 40px; border: 2px solid var(--brand, #3478B9); border-radius: 12px; background: #fff; }
.ms-yukleniyor .up { opacity: .5; }
.up--yeni { animation: up-belir .22s ease-out; }
@keyframes up-belir { from { opacity: .35; } to { opacity: 1; } }
/* Uzun açıklamada fiyat ve iletişim kutusu görünür kalsın */
.up-sol { position: sticky; top: 100px; align-self: start; display: flex; flex-direction: column; align-items: center; text-align: center; }
.up-sol > i { margin-bottom: 20px; font-size: 120px; color: #1D3F66; }
.ms .up-sol h3 { margin: 0 0 8px; font-size: 24px; font-weight: 600; line-height: 1.3; color: var(--brand-dark, #2A6397); text-wrap: balance; }
.ms .up-fiyat { margin: 0 0 20px; font-size: 30px; font-weight: 700; color: #252B33; }
.ms .up-fiyat--sor { font-size: 16px; font-weight: 500; color: #475569; }
.up-tel { margin-top: 14px; font-size: 14px; color: #475569; text-decoration: none; }
.ms .up-sag h4 { margin: 0 0 6px; font-size: 18px; font-weight: 600; color: #252B33; }
.up-metin { padding-bottom: 8px; border-bottom: 1px solid #D5DEE7; font-size: 15.5px; line-height: 1.75; }
.ms .up-metin h4 { margin: 18px 0 6px; font-size: 16px; font-weight: 600; color: #252B33; }
.up-metin li { margin-bottom: 4px; }
.up-metin ul { padding-left: 20px; list-style: disc; }
.up-metin ol { padding-left: 20px; list-style: decimal; }
.up-metin img { max-width: 100%; height: auto !important; border-radius: 8px; }
.up-metin h2, .up-metin h3 { margin: 18px 0 8px; font-size: 18px; }
.up-metin iframe, .up-metin table { max-width: 100%; }
.up-bilgi { margin: 0; }
.up-bilgi > div { padding: 16px 0; border-bottom: 1px solid #D5DEE7; }
.up-bilgi > div:last-child { border-bottom: 0; }
.up-bilgi dt { display: inline; font-size: 16.5px; font-weight: 600; color: #252B33; }
.up-bilgi dd { display: inline; margin: 0 0 0 4px; font-size: 15.5px; font-weight: 500; color: var(--brand-dark, #2A6397); }
.us-fotolar { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; margin-top: 20px; }
.us-fotolar img { width: 100%; height: auto; aspect-ratio: 4 / 3; border-radius: 10px; object-fit: cover; }

/* Görsel + metin ikilileri */
.ms-ikili { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
/* contain: yüklenen dikey fotoğraf satırı uzatmasın, yüksekliği metin kutusu belirlesin */
.ms-foto { width: 100%; height: 100%; min-height: 360px; border-radius: 12px; object-fit: cover; contain: size; }
.ms-ikili--ters .ms-foto { object-position: 70% center; }
.ms-kutu { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: 32px; border-radius: 12px; background: #EEF2F6; }
.ms .ms-rozet { display: inline-flex; align-items: center; gap: 7px; margin-bottom: 18px; padding: 5px 13px; border: 1px solid #D5DEE7; border-radius: 999px; background: #fff; font-size: 13px; line-height: 1.5; color: #252B33; }
.ms-kutu ul { margin: 0 0 18px; padding-left: 20px; list-style: disc; }
.ms-kutu li { margin-bottom: 5px; font-size: 15px; line-height: 1.6; }
.ms-kutu li a, .ms-kutu p a { color: var(--brand-dark, #2A6397); text-decoration: underline; text-underline-offset: 3px; }
.ms-kutu .ms-btn { margin-top: 6px; }
.ms-metin { font-size: 15.5px; line-height: 1.75; }
.ms-metin li { margin-bottom: 5px; }

/* Hizmetler sayfası */
.hl-giris { max-width: 820px; text-align: center; }
.hl-grup { padding-top: 0; }
.hl-grup > .hl-bas, .hl-grup > .hl-liste { margin-left: 0; margin-right: 0; }
.hl-bas { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.hl-bas > i { flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; width: 60px; height: 60px; border-radius: 14px; background: #EAF2F9; color: var(--brand, #3478B9); font-size: 30px; }
.ms .hl-bas h2 { margin: 0 0 2px; }
.hl-bas h2 a { color: inherit; text-decoration: none; }
.hl-bas h2 a:hover { color: var(--brand-dark, #2A6397); text-decoration: underline; text-underline-offset: 5px; }
.ms .hl-bas p { margin: 0; font-size: 14.5px; }
.hl-liste { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.hl-liste a { display: flex; align-items: center; justify-content: space-between; gap: 10px; height: 100%; padding: 15px 16px; border: 1px solid #D6E7F5; border-radius: 12px; background: #F4F8FC; color: #252B33; font-size: 15px; font-weight: 500; line-height: 1.35; text-decoration: none; transition: border-color .2s ease, background-color .2s ease; }
.hl-liste a:hover, .hl-liste a:focus-visible { border-color: var(--brand, #3478B9); background: #EAF2F9; color: #252B33; }
.hl-liste i { flex-shrink: 0; color: var(--brand, #3478B9); }
@media (max-width: 991px) { .hl-liste { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .hl-liste { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .hl-liste a { padding: 13px 12px; font-size: 14px; }
}

/* Model ve ürün sayfalarının altındaki diğer modeller */
.ms-diger .hl-liste { margin: 0; padding: 0; }

.ms-cagri-aksiyon { display: flex; flex-wrap: wrap; gap: 12px; }

/* Kurumsal sayfası */
.km-fotolar { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.km-fotolar img { display: block; width: 100%; height: auto; aspect-ratio: 2 / 3; object-fit: cover; object-position: 50% 35%; border-radius: 12px; }
@media (max-width: 767px) { .km-fotolar { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } }
.km-adimlar { max-width: 760px; margin: 0 auto; padding: 0; list-style: none; }
.km-adimlar li { position: relative; display: flex; gap: 18px; padding-bottom: 26px; }
.km-adimlar li:last-child { padding-bottom: 0; }
.km-adimlar li:not(:last-child)::before { content: ""; position: absolute; top: 42px; bottom: 4px; left: 18px; width: 2px; background: #D6E7F5; }
.km-no { flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 50%; background: var(--brand, #3478B9); color: #fff; font-size: 15px; font-weight: 600; }
.ms .km-adimlar h3 { margin: 6px 0 4px; font-size: 17px; font-weight: 600; color: #252B33; }
.ms .km-adimlar p { margin: 0; font-size: 15px; }
.km-cihazlar { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.km-cihazlar a { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 26px 14px; border: 1px solid #D6E7F5; border-radius: 14px; background: #F4F8FC; color: #252B33; font-weight: 600; text-decoration: none; transition: border-color .2s ease, background-color .2s ease; }
.km-cihazlar a:hover, .km-cihazlar a:focus-visible { border-color: var(--brand, #3478B9); background: #EAF2F9; color: #252B33; }
.km-cihazlar i { font-size: 44px; color: var(--brand, #3478B9); }
.km-ziyaret { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; padding: 32px; border-radius: 14px; background: #EEF2F6; }
.km-ziyaret dl { margin: 0; }
.km-ziyaret dl > div { padding: 12px 0; border-bottom: 1px solid #D5DEE7; }
.km-ziyaret dl > div:first-child { padding-top: 0; }
.km-ziyaret dl > div:last-child { border-bottom: 0; padding-bottom: 0; }
.km-ziyaret dt { font-size: 13.5px; font-weight: 600; color: #252B33; }
.km-ziyaret dd { margin: 3px 0 0; font-size: 15px; line-height: 1.6; overflow-wrap: anywhere; }
.km-ziyaret dd a { color: var(--brand-dark, #2A6397); }
.ms .km-not { margin: 14px 0 0; font-size: 12.5px; color: #6B7480; }
@media (max-width: 767px) {
  .km-cihazlar { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .km-cihazlar a { flex-direction: row; padding: 16px 18px; }
  .km-cihazlar i { font-size: 30px; }
  .km-ziyaret { grid-template-columns: minmax(0, 1fr); padding: 24px 20px; gap: 22px; }
}

/* Blog listesi */
.bl-liste { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin: 0; padding: 0; list-style: none; }
.bl-liste li { display: flex; }
.bl-liste a { display: flex; flex: 1; flex-direction: column; overflow: hidden; border: 1px solid #D6E7F5; border-radius: 14px; background: #fff; color: #475569; text-decoration: none; transition: border-color .2s ease; }
.bl-liste a:hover, .bl-liste a:focus-visible { border-color: var(--brand, #3478B9); color: #475569; }
.bl-liste img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; }
.bl-ic { display: flex; flex: 1; flex-direction: column; gap: 10px; padding: 18px 20px 20px; }
.bl-ic time { font-size: 12.5px; color: #6B7480; }
.ms .bl-ic h3 { margin: 0; font-size: 18px; font-weight: 600; line-height: 1.4; color: #252B33; }
.bl-ozet { font-size: 14px; line-height: 1.65; }
.bl-devam { margin-top: auto; font-size: 14px; font-weight: 600; color: var(--brand-dark, #2A6397); text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 991px) { .bl-liste { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .bl-liste { grid-template-columns: minmax(0, 1fr); } }

/* Ana kategori (iPhone / iPad / Mac) açıklaması */
.ana-kategori-metin { margin: 8px 0 32px; font-size: 15.5px; line-height: 1.75; color: #475569; }
.ana-kategori-metin h2 { margin: 0 0 12px; font-size: 24px; font-weight: 600; color: #252B33; }
.ms .ana-kategori-metin.ms-bolum { margin: 48px auto 0; }

/* Ana cihaz sayfası: sekmeler ve model kartları */
.kp-sekmeler { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.kp-sekmeler a { padding: 9px 20px; border: 1px solid #D6E7F5; border-radius: 999px; background: #fff; color: #252B33; font-size: 14.5px; font-weight: 500; line-height: 1.4; text-decoration: none; transition: border-color .2s ease, background-color .2s ease; }
.kp-sekmeler a:hover, .kp-sekmeler a:focus-visible { border-color: var(--brand, #3478B9); color: #252B33; }
.kp-sekmeler a.kp-secili { border-color: var(--brand, #3478B9); background: var(--brand, #3478B9); color: #fff; }
.kp-modeller { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.kp-modeller a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; height: 100%; min-height: 132px; padding: 20px 12px; border: 1px solid #D6E7F5; border-radius: 14px; background: #F4F8FC; color: #252B33; font-size: 15px; font-weight: 500; line-height: 1.35; text-align: center; text-decoration: none; transition: border-color .2s ease, background-color .2s ease; }
.kp-modeller a:hover, .kp-modeller a:focus-visible { border-color: var(--brand, #3478B9); background: #EAF2F9; color: #252B33; }
.kp-modeller i { font-size: 38px; color: var(--brand, #3478B9); }
.kp-modeller img { width: auto; max-width: 100%; height: 72px; object-fit: contain; }
@media (max-width: 1100px) { .kp-modeller { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 820px) { .kp-modeller { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 560px) {
  .kp-modeller { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .kp-modeller a { min-height: 112px; padding: 16px 10px; gap: 10px; font-size: 14px; }
  .kp-modeller i { font-size: 32px; }
  .kp-sekmeler a { padding: 8px 14px; font-size: 13.5px; }
}

/* Panelden yazılan metinler */
.ms-panel-metin { align-self: stretch; }
.ms-panel-metin ul, .ms-metin ul { padding-left: 20px; list-style: disc; }
.ms-panel-metin ol, .ms-metin ol { padding-left: 20px; list-style: decimal; }
.ms-panel-metin img, .ms-metin img { max-width: 100%; height: auto !important; border-radius: 8px; }
.ms-metin iframe, .ms-metin table { max-width: 100%; }
.ms .ms-hero-metin { margin-bottom: 26px; color: #DCE3EA; }
.ms .ms-hero-metin p { margin-bottom: 10px; color: inherit; }
.ms .ms-hero-metin p:last-child { margin-bottom: 0; }
.ms-hero-metin a { color: #fff; text-decoration: underline; }

/* Öne çıkanlar */
.ms-fark-bas { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 48px; align-items: end; margin-bottom: 24px; }
.ms .ms-fark-bas h2, .ms .ms-fark-bas p { margin: 0; }
.ms .ms-fark-bas h2 { max-width: 360px; }
.ms-farklar { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.ms-farklar li { padding: 22px 20px; border-radius: 12px; background: #EEF2F6; }
.ms-farklar li:nth-child(2) { background: #DCE6F0; }
.ms-farklar li:nth-child(3) { background: #0F2A40; color: #D3E0EC; }
.ms-farklar i { display: block; margin-bottom: 28px; font-size: 28px; color: #252B33; }
.ms .ms-farklar h3 { margin: 0 0 6px; font-size: 15.5px; font-weight: 600; line-height: 1.4; color: #252B33; }
.ms .ms-farklar p { margin: 0; font-size: 14px; line-height: 1.6; }
.ms-farklar li:nth-child(3) i, .ms .ms-farklar li:nth-child(3) h3 { color: #fff; }

/* Sık sorulan sorular: düğmeyle kaydırınca sabit üst menünün altında kalmasın */
.ms #sss { scroll-margin-top: 100px; }

/* Kapanış çağrısı */
.ms-cagri { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding: 28px 32px; border-radius: 14px; background: #252B33; }
.ms .ms-cagri h2 { margin-bottom: 6px; font-size: 22px; color: #fff; }
.ms .ms-cagri p { max-width: 520px; margin: 0; color: #D3DAE2; }

@media (max-width: 991px) {
  .ms-farklar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  .ms { padding-bottom: 48px; }
  .ms-bolum { margin-top: 40px; }
  .ms-hero { align-items: flex-end; min-height: 520px; border-radius: 16px; }
  .ms-hero::before { background: linear-gradient(0deg, rgba(11,15,20,.96) 0%, rgba(11,15,20,.86) 55%, rgba(11,15,20,.25) 100%); }
  .ms-hero-icerik { padding: 28px 22px; }
  .ms-hero-aksiyon .ms-btn { flex: 1 1 100%; }
  .hk-kartlar { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 14px; }
  .up { grid-template-columns: minmax(0, 1fr); gap: 26px; padding: 28px 20px; }
  .up-sol { position: static; }
  .up-sol > i { font-size: 88px; }
  .ms-ikili, .ms-fark-bas { grid-template-columns: minmax(0, 1fr); }
  .ms-ikili--ters .ms-foto { order: -1; }
  .ms-foto { min-height: 0; height: auto; aspect-ratio: 4 / 3; contain: none; }
  .ms-kutu { padding: 24px 20px; }
  .ms-cagri { padding: 24px 20px; }
}
@media (max-width: 420px) {
  .ms-farklar { grid-template-columns: minmax(0, 1fr); }
  .ms-farklar i { margin-bottom: 14px; }
}
@media (prefers-reduced-motion: reduce) { .hk-kart { transition: none; } .up { animation: none !important; } }
