/* v1.5.46 — Mobile-first responsive deneyim ve kurumsal içerik sadeleştirme.
   Amaç: okunabilirlik, dokunma alanları, gereksiz tekrarların görsel olarak azaltılması.
   Veri/şablon davranışını değiştirmez. */

/* Tekrarlayan küçük bölüm etiketleri ana başlıkla aynı hiyerarşide görünmesin. */
.ypk-section-head > span,
.ypk-core-menu-head > span,
.ypk-faq-head > span{
  display:none;
}

/* Uzun başlıklarda güvenli satır kırılımı. */
.ypk-main :where(h1,h2,h3,strong,a,p,li),
.ypk-footer :where(h2,h3,strong,a,p,li){
  overflow-wrap:anywhere;
  word-break:normal;
}

/* Tablet: masaüstü boşluğunu koru, tek sütuna gereksiz erken düşme. */
@media (min-width:761px) and (max-width:1100px){
  .ypk-container{width:min(100% - 40px,960px)!important}
  .ypk-page-hero-v1112,.ypk-page-hero-v1114{padding:42px 0 38px!important}
  .ypk-page-hero h1{font-size:clamp(1.9rem,4vw,2.65rem)!important;line-height:1.12!important}
  .ypk-page-hero p{max-width:720px!important;font-size:.96rem!important;line-height:1.58!important}
  .ypk-page-hero .ypk-hero-quicklinks{display:flex!important;flex-wrap:wrap!important;justify-content:center!important;gap:8px!important}
  .ypk-page-hero .ypk-hero-quicklinks a{min-height:42px!important;padding:9px 13px!important;font-size:.82rem!important}

  .ypk-page-grid,.ypk-page-grid-2,.ypk-page-grid-3,
  .ypk-quality-grid,.ypk-trust-grid-v1117,
  .ypk-v1114-flow-grid,.ypk-v1114-selector-grid,
  .ypk-contact-cards-v1112{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:14px!important}

  .ypk-v1114-product-groups{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  .ypk-products-section-v1113 .yps-products-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  .ypk-footer-grid{grid-template-columns:1.1fr .9fr!important;gap:28px!important}
  .ypk-footer-contact-column{grid-column:1/-1!important}
}

/* Mobil: okunabilirlik, sade akış ve gerçek dokunma alanları. */
@media (max-width:760px){
  html{scroll-padding-top:74px}
  body{font-size:16px!important;padding-bottom:calc(76px + env(safe-area-inset-bottom,0px))!important}
  .ypk-container{width:min(100% - 24px,680px)!important}

  /* Header / mobil menü */
  .ypk-header-inner{min-height:64px!important;gap:8px!important}
  .ypk-brand{width:184px!important;height:54px!important;max-width:calc(100% - 56px)!important}
  .ypk-logo-mark{flex-basis:38px!important;width:38px!important;height:38px!important}
  .ypk-logo-text strong{font-size:.78rem!important;line-height:1!important}
  .ypk-logo-text small{display:none!important}
  .ypk-menu-toggle{width:44px!important;height:44px!important;border-radius:12px!important}
  .ypk-nav{top:64px!important;max-height:calc(100dvh - 72px)!important;padding:10px!important;overflow:auto!important;overscroll-behavior:contain!important}
  .ypk-nav ul,.ypk-menu,.ypk-menu-default{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
  .ypk-nav a{min-height:46px!important;padding:9px 8px!important;font-size:.82rem!important;line-height:1.25!important;white-space:normal!important;text-align:center!important}

  /* İç sayfalarda üst menünün ikinci kez tekrarlanmasını mobilde kaldır. */
  .ypk-context-nav-v130{display:none!important}

  /* Hero: kısa, net, tam okunur. */
  .ypk-page-hero-v1112,.ypk-page-hero-v1114{padding:28px 0 24px!important}
  .ypk-page-hero .ypk-kicker{margin-bottom:8px!important;font-size:.7rem!important;letter-spacing:.075em!important}
  .ypk-page-hero h1,.ypk-page-hero-v1112 h1,.ypk-page-hero-v1114 h1{font-size:clamp(1.55rem,7vw,1.9rem)!important;line-height:1.14!important;letter-spacing:-.03em!important}
  .ypk-page-hero p,.ypk-page-hero-v1112 p,.ypk-page-hero-v1114 p{display:block!important;max-width:560px!important;margin:9px auto 0!important;font-size:.9rem!important;line-height:1.58!important;-webkit-line-clamp:unset!important;overflow:visible!important}
  .ypk-page-hero .ypk-hero-quicklinks{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;width:100%!important;margin:15px auto 0!important}
  .ypk-page-hero .ypk-hero-quicklinks a{min-height:44px!important;padding:9px 8px!important;font-size:.76rem!important;line-height:1.25!important}

  /* Ana slayt: metni sıkıştırma, küçük açıklamayı kesme. */
  .ypk-hero-v1116{padding:8px 0 4px!important}
  .ypk-hero-v1116 .ypk-slide-card{width:min(100% - 24px,680px)!important;gap:10px!important}
  .ypk-hero-v1116 .ypk-hero-media{aspect-ratio:16/9!important;padding:6px!important;border-radius:17px!important}
  .ypk-hero-v1116 .ypk-slide-copy{padding:15px 14px 16px!important;border-radius:17px!important}
  .ypk-hero-v1116 .ypk-slide-copy h1{font-size:clamp(1.45rem,6.8vw,1.85rem)!important;line-height:1.14!important;margin-bottom:8px!important}
  .ypk-hero-v1116 .ypk-slide-copy p{display:block!important;max-width:520px!important;font-size:.88rem!important;line-height:1.55!important;-webkit-line-clamp:unset!important;overflow:visible!important}
  .ypk-hero-v1116 .ypk-slide-proof{display:none!important}

  /* Genel bölüm ritmi. */
  .ypk-section{padding:30px 0!important}
  .ypk-tight-section{padding:24px 0!important}
  .ypk-section-head,.ypk-core-menu-head{max-width:620px!important;margin:0 auto 16px!important;text-align:center!important}
  .ypk-section-head h2,.ypk-core-menu-head h2{font-size:1.36rem!important;line-height:1.2!important;letter-spacing:-.025em!important}
  .ypk-section-head p,.ypk-core-menu-head p{display:block!important;max-width:560px!important;margin:7px auto 0!important;font-size:.88rem!important;line-height:1.55!important;-webkit-line-clamp:unset!important;overflow:visible!important}

  /* Okuma ağırlıklı kartlar tek sütun. */
  .ypk-page-grid,.ypk-page-grid-2,.ypk-page-grid-3,
  .ypk-quality-grid,.ypk-trust-grid-v1117,
  .ypk-v1114-flow-grid,.ypk-v1114-selector-grid,
  .ypk-contact-cards-v1112{grid-template-columns:1fr!important;gap:10px!important}
  .ypk-quality-grid article,.ypk-trust-grid-v1117 article,
  .ypk-v1114-flow-grid article,.ypk-v1114-selector-grid article,
  .ypk-page-card,.ypk-contact-card{padding:15px!important;border-radius:15px!important}
  .ypk-quality-grid h3,.ypk-trust-grid-v1117 h3,
  .ypk-v1114-flow-grid h3,.ypk-v1114-selector-grid h3,
  .ypk-page-card h2,.ypk-page-card h3,.ypk-contact-card strong{font-size:.98rem!important;line-height:1.3!important}
  .ypk-quality-grid p,.ypk-trust-grid-v1117 p,
  .ypk-v1114-flow-grid p,.ypk-v1114-selector-grid p,
  .ypk-page-card p,.ypk-page-card li,.ypk-contact-card span,.ypk-contact-card a{
    display:block!important;font-size:.86rem!important;line-height:1.55!important;-webkit-line-clamp:unset!important;overflow:visible!important
  }

  /* Görsel/seçim kartları 2 sütun: kısa bilgi, büyük dokunma alanı. */
  .ypk-category-grid,.ypk-v1114-product-groups,.ypk-core-menu-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important}
  .ypk-cat-card{min-height:112px!important;padding:10px 8px!important}
  .ypk-cat-img{width:62px!important;height:58px!important}
  .ypk-cat-card strong{font-size:.84rem!important;line-height:1.22!important}
  .ypk-cat-card small{display:none!important}
  .ypk-v1114-product-groups a{grid-template-rows:108px auto!important;padding:10px!important;gap:8px!important}
  .ypk-v1114-product-groups strong{font-size:.82rem!important;line-height:1.25!important}
  .ypk-v1114-product-groups small{display:none!important}
  .ypk-core-menu-grid a{min-height:68px!important;padding:11px 9px!important}
  .ypk-core-menu-grid strong{font-size:.84rem!important}
  .ypk-core-menu-grid small{display:none!important}

  /* Kurumsal özet ve güven bölümleri. */
  .ypk-overview-main{padding:16px!important}
  .ypk-overview-main>p{display:block!important;font-size:.88rem!important;line-height:1.58!important;-webkit-line-clamp:unset!important;overflow:visible!important}
  .ypk-overview-stats{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:7px!important}
  .ypk-overview-stats span{padding:10px 6px!important}
  .ypk-overview-stats strong{font-size:.9rem!important}
  .ypk-overview-stats small{font-size:.68rem!important;line-height:1.25!important}
  .ypk-feature-mini-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:7px!important}
  .ypk-feature-mini-grid span{min-height:38px!important;padding:8px!important;font-size:.74rem!important;line-height:1.28!important}
  .ypk-trust-intro-v1117 p{display:block!important;font-size:.88rem!important;line-height:1.56!important;-webkit-line-clamp:unset!important;overflow:visible!important}

  /* Ürün vitrini: orta telefonlarda 2, dar telefonlarda 1 sütun. */
  .ypk-products-section-v1113 .yps-products-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
  .ypk-products-section-v1113 .yps-product-card{min-height:0!important}
  .ypk-products-section-v1113 .yps-product-media,.yps-product-card-v1115 .yps-product-media{height:auto!important;min-height:0!important;aspect-ratio:1/1!important;padding:7px!important}
  .ypk-products-section-v1113 .yps-product-body{padding:10px!important;gap:7px!important}
  .ypk-products-section-v1113 .yps-product-body h3{min-height:0!important;font-size:.82rem!important;line-height:1.3!important}
  .ypk-products-section-v1113 .yps-product-body p{display:none!important}
  .ypk-products-section-v1113 .yps-product-specs span{font-size:.68rem!important;min-height:24px!important;padding:4px 6px!important}
  .ypk-products-section-v1113 .yps-product-actions{grid-template-columns:1fr!important;gap:5px!important}
  .ypk-products-section-v1113 .yps-product-actions .yps-btn{min-height:38px!important;font-size:.72rem!important;padding:7px!important}

  /* Form ve süreç: form tam genişlik, süreç 2x2. */
  .ypk-quote-card-v1111{padding:14px!important;border-radius:17px!important}
  .yps-quote-form input,.yps-quote-form textarea,.yps-quote-form select{min-height:46px!important;font-size:16px!important}
  .ypk-process-row{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
  .ypk-process-row span{padding:10px 8px!important}
  .ypk-process-row strong{font-size:.8rem!important}
  .ypk-process-row small{font-size:.72rem!important;line-height:1.35!important}

  /* FAQ: küçük yazı yerine rahat okuma. */
  .ypk-faq-item summary{min-height:52px!important;padding:13px!important;font-size:.88rem!important;line-height:1.35!important}
  .ypk-faq-item p{padding:0 13px 13px!important;font-size:.84rem!important;line-height:1.58!important}
  .ypk-faq-category-links{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:7px!important}

  /* Hızlı işlemler: ana aksiyon üstte, iki yardımcı aksiyon altta. */
  .ypk-action-buttons{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
  .ypk-action-buttons .ypk-btn:first-child{grid-column:1/-1!important}
  .ypk-action-buttons .ypk-btn{min-height:44px!important;padding:9px!important;font-size:.8rem!important}

  /* Footer mobilde tek sütun ve okunur. */
  .ypk-footer{padding-top:32px!important}
  .ypk-footer-grid{grid-template-columns:1fr!important;gap:22px!important}
  .ypk-footer-brand-column,.ypk-footer-contact-column,.ypk-footer-grid>div:last-child{grid-column:auto!important}
  .ypk-footer-brand-column>p{display:block!important;font-size:.82rem!important;line-height:1.55!important;-webkit-line-clamp:unset!important;overflow:visible!important}
  .ypk-footer h3{font-size:.94rem!important}
  .ypk-footer p,.ypk-footer li,.ypk-footer a{font-size:.82rem!important;line-height:1.5!important}
  .ypk-footer-contact-links a{min-height:36px!important}

  /* Mobil alt bar: güvenli alan + 44px üzeri dokunma hedefi. */
  .ypk-mobile-contact{left:8px!important;right:8px!important;bottom:calc(8px + env(safe-area-inset-bottom,0px))!important;border-radius:16px!important}
  .ypk-mobile-contact a{min-height:58px!important;padding:7px 3px!important;font-size:.72rem!important;line-height:1.2!important}
  .ypk-mobile-contact svg{width:20px!important;height:20px!important}

  /* Her iç sayfanın sonunda tekrarlanan açıklama metnini mobilde azalt. */
  .ypk-internal-actions-v130 .ypk-internal-actions-copy span{display:none!important}
  .ypk-internal-actions-v130 .ypk-internal-actions-copy strong{font-size:.86rem!important;line-height:1.38!important}
}

@media (max-width:390px){
  .ypk-container{width:min(100% - 20px,370px)!important}
  .ypk-brand{width:174px!important}
  .ypk-nav ul,.ypk-menu,.ypk-menu-default{grid-template-columns:1fr!important}
  .ypk-page-hero .ypk-hero-quicklinks{grid-template-columns:1fr!important}
  .ypk-products-section-v1113 .yps-products-grid{grid-template-columns:1fr!important}
  .ypk-products-section-v1113 .yps-product-media,.yps-product-card-v1115 .yps-product-media{aspect-ratio:4/3!important}
  .ypk-category-grid,.ypk-v1114-product-groups,.ypk-core-menu-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .ypk-overview-stats{grid-template-columns:1fr!important}
  .ypk-overview-stats span{text-align:left!important}
}


/* v1.5.53 — Final mobil/tablet/web QA ve yayın öncesi sadeleştirme. */
html{-webkit-text-size-adjust:100%;text-size-adjust:100%}
body,.ypk-main,.ypk-footer{max-width:100%;overflow-x:clip}
.ypk-main :where(section,article,aside,div,figure),.ypk-footer :where(div,nav){min-width:0}
.ypk-main :where(img,video,iframe),.ypk-footer img{max-width:100%}
.ypk-main :where(img,video){height:auto}
.ypk-main :where(a,button,summary,input,select,textarea){touch-action:manipulation}
.ypk-main :where(a,button,summary,input,select,textarea):focus-visible,
.ypk-footer a:focus-visible{
  outline:3px solid #0b6f8e;
  outline-offset:3px;
  border-radius:8px;
}

/* Aynı içeriği yeniden söyleyen küçük etiketler görsel hiyerarşiden çıkarılır. */
.ypk-action-panel-copy>span,
.ypk-corporate-overview .ypk-card-label,
.ypk-quote-form-area>.ypk-card-label,
.ypk-faq-v1118 .ypk-faq-kicker,
.ypk-export-heading>div>span,
.ypk-brochure-library-hero .ypk-kicker{display:none}

/* Uzun bağlantı, e-posta ve teknik kodların yatay taşma üretmesini engeller. */
.ypk-main :where(.ypk-contact-card,.ypk-page-card,.ypk-v1114-lead-card,.ypk-v1114-side-card,.ypk-process,.ypk-faq-item),
.ypk-footer :where(p,a,li){overflow-wrap:anywhere}
.ypk-main :where(input,select,textarea,button){max-width:100%;box-sizing:border-box}
.ypk-main table{max-width:100%}

@media (min-width:761px) and (max-width:1100px){
  .ypk-main :where(.ypk-page-grid,.ypk-quality-grid,.ypk-v1114-flow-grid,.ypk-v1114-selector-grid,.ypk-contact-cards-v1112)>*{min-width:0}
  .ypk-v1114-split,.ypk-overview-grid,.ypk-quote-card{min-width:0}
}

@media (max-width:760px){
  .ypk-main section[id]{scroll-margin-top:76px}
  .ypk-main :where(.ypk-btn,button,[role="button"]){min-height:44px}
  .ypk-action-panel-copy strong{max-width:31rem;margin-inline:auto}
  .ypk-brochure-library-cta>.ypk-container,.ypk-blue-panel{gap:12px}
  .ypk-brochure-library-cta .ypk-btn,.ypk-blue-panel .ypk-btn{min-height:44px}
  .ypk-catalog-selection-guide .ypk-container{gap:8px}
  .ypk-catalog-selection-guide .ypk-container>div{min-width:0}
  .ypk-v1114-split{grid-template-columns:1fr!important;gap:10px!important}
  .ypk-quote-page-card{grid-template-columns:1fr!important;gap:14px!important}
}

/* 320–350 px telefonlarda iki sütunlu seçim alanları okunurluğu bozmasın. */
@media (max-width:350px){
  .ypk-container{width:min(100% - 18px,332px)!important}
  .ypk-brand{width:158px!important;max-width:calc(100% - 54px)!important}
  .ypk-category-grid,.ypk-v1114-product-groups,.ypk-core-menu-grid,
  .ypk-faq-category-links,.ypk-process-row,.ypk-action-buttons{grid-template-columns:1fr!important}
  .ypk-cat-card{min-height:88px!important;grid-template-columns:62px minmax(0,1fr) auto!important;text-align:left!important}
  .ypk-v1114-product-groups a{grid-template-columns:94px minmax(0,1fr)!important;grid-template-rows:auto!important;align-items:center!important}
  .ypk-v1114-product-groups a img{height:82px!important}
  .ypk-core-menu-grid a{min-height:58px!important}
  .ypk-action-buttons .ypk-btn:first-child{grid-column:auto!important}
}

/* Kısa yatay telefonlarda sabit alt bar içerik alanını kaplamasın. */
@media (max-height:500px) and (orientation:landscape) and (max-width:1000px){
  body{padding-bottom:0!important}
  .ypk-mobile-contact{display:none!important}
  .ypk-nav{max-height:calc(100dvh - 64px)!important}
}

@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  .ypk-main *, .ypk-footer *{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}
}
