/* ATB homepage v2 — 2026-11-02. Only active with the homepage marker. */
body:has(#atb-home-v2) .main_row,body:has(#atb-home-v2) #stories,body:has(#atb-home-v2) #blog-modul,body:has(#atb-home-v2) #customer-reviews{display:none!important}
body:has(#atb-home-v2) #PM_orta,body:has(#atb-home-v2) #PM_anasayfa,body:has(#atb-home-v2) #anasayfa_yazisi{width:100%;max-width:none;margin:0;padding:0;float:none}
#atb-home-v2{--atb-red:#e51b2b;--atb-ink:#17202b;--atb-muted:#59616c;max-width:1240px;padding:30px 24px 48px;margin:0 auto;color:var(--atb-ink);font-family:Arial,Helvetica,sans-serif;line-height:1.5;text-align:left}
#atb-home-v2 *{box-sizing:border-box}
#atb-home-v2 a{color:inherit;text-decoration:none}
#atb-home-v2 a:focus-visible,#atb-home-v2 input:focus-visible,#atb-home-v2 button:focus-visible{outline:3px solid #a3121e;outline-offset:4px}
#atb-home-v2 .atb-home-hero{display:grid;grid-template-columns:1.2fr 1fr;gap:50px;align-items:center;background:#f5f6f7;border:1px solid #e8eaed;border-radius:16px;padding:36px 40px}
#atb-home-v2 .atb-home-eyebrow{font-size:11px;font-weight:700;letter-spacing:1.5px;color:#6b717a;margin:0 0 12px}
#atb-home-v2 h1{font-size:46px;letter-spacing:-1.8px;line-height:1.05;font-weight:750;color:var(--atb-ink);margin:0 0 16px}
#atb-home-v2 h2{font-size:24px;line-height:1.25;font-weight:700;letter-spacing:-.5px;margin:0;color:var(--atb-ink)}
#atb-home-v2 .atb-home-intro{font-size:16px;line-height:1.6;color:var(--atb-muted);margin:0 0 24px}
#atb-home-v2 .atb-home-actions{display:flex;gap:15px;align-items:center;flex-wrap:wrap}
#atb-home-v2 .atb-home-primary{display:inline-flex;justify-content:center;align-items:center;gap:15px;background:var(--atb-red);color:#fff;border-radius:7px;font-size:14px;font-weight:700;min-height:46px;padding:12px 18px}
#atb-home-v2 .atb-home-primary:hover{background:#bf1523}
#atb-home-v2 .atb-home-secondary{font-size:13px;border-bottom:1px solid #aeb3ba;padding:6px 0}
#atb-home-v2 .atb-home-hero-aside{background:#fff;border:1px solid #e3e6e9;border-radius:12px;padding:28px}
#atb-home-v2 .atb-home-note{font-size:10px;color:var(--atb-muted);font-weight:700;letter-spacing:1px;display:block;margin-bottom:12px}
#atb-home-v2 .atb-home-hero-aside p{font-size:13px;color:var(--atb-muted);margin:12px 0 20px}
#atb-home-v2 .atb-home-search{display:flex;border:1px solid #cdd2d8;border-radius:7px;overflow:hidden;background:white}
#atb-home-v2 .atb-home-search input{min-width:0;width:100%;border:0;padding:13px 12px;font-size:13px;color:var(--atb-ink);background:#fff}
#atb-home-v2 .atb-home-search button{border:0;background:#17202b;color:#fff;font-size:13px;font-weight:bold;min-width:68px;cursor:pointer}
#atb-home-v2 .atb-home-section{margin-top:38px;scroll-margin-top:20px}
#atb-home-v2 .atb-home-section-head{display:flex;justify-content:space-between;align-items:end;gap:16px;margin-bottom:18px}
#atb-home-v2 .atb-home-section-head>span{font-size:13px;color:var(--atb-muted)}
#atb-home-v2 .atb-home-section-head>a{font-size:14px;font-weight:700;color:var(--atb-red);white-space:nowrap}
#atb-home-v2 .atb-home-category-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}
#atb-home-v2 .atb-home-category{position:relative;display:flex;flex-direction:column;min-height:150px;padding:18px;background:#fff;border:1px solid #dfe3e7;border-radius:10px;transition:border-color .15s,background .15s}
#atb-home-v2 .atb-home-category:hover{border-color:var(--atb-red);background:#fffafa}
#atb-home-v2 .atb-home-number{font-size:11px;font-weight:bold;letter-spacing:1px;color:#a1a6ad;margin-bottom:18px}
#atb-home-v2 .atb-home-category strong{font-size:16px;line-height:1.25;display:block;padding-right:5px;margin-bottom:6px}
#atb-home-v2 .atb-home-category>span:not(.atb-home-number){font-size:12px;line-height:1.4;color:var(--atb-muted)}
#atb-home-v2 .atb-home-category>b{position:absolute;right:15px;top:13px;color:var(--atb-red);font-size:20px;font-weight:400}
#atb-home-v2 .atb-home-fans{padding-top:32px;border-top:1px solid #e4e6e9}
#atb-home-v2 .atb-home-fan-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
#atb-home-v2 .atb-home-fan{display:flex;align-items:center;gap:16px;padding:18px;border:1px solid #e0e4e8;border-radius:10px;min-width:0}
#atb-home-v2 .atb-home-fan:hover{border-color:#e51b2b}
#atb-home-v2 .atb-home-fan>img{width:96px;height:96px;object-fit:contain;flex-shrink:0;background:white;border-radius:6px}
#atb-home-v2 .atb-home-fan strong{display:block;font-size:16px;line-height:1.3}
#atb-home-v2 .atb-home-fan small{display:block;font-size:12px;color:var(--atb-muted);margin:6px 0 12px}
#atb-home-v2 .atb-home-fan b{font-size:12px;color:var(--atb-red)}
#atb-home-v2 .atb-home-help{display:flex;align-items:center;justify-content:space-between;gap:24px;background:#f5f6f7;border-radius:12px;margin-top:36px;padding:28px}
#atb-home-v2 .atb-home-help h2{font-size:22px}
#atb-home-v2 .atb-home-help p{font-size:14px;color:var(--atb-muted);margin:8px 0 0}
#atb-home-v2 .atb-home-help a{white-space:nowrap}
#atb-home-v2 .atb-home-sr{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
/* Native PlatinMarket cards retain live prices, availability and basket handlers. */
#atb-home-v2 #PM_anasayfa_urunler{margin:0;padding:0}
#atb-home-v2 #PM_anasayfa_urunler .urunler{width:100%;max-width:none;margin:0;padding:0}
#atb-home-v2 #PM_anasayfa_urunler .baslik{display:none}
#atb-home-v2 #PM_anasayfa_urunler .icerik{gap:16px;margin:0;padding:0}
#atb-home-v2 #PM_anasayfa_urunler .urun{border:1px solid #e0e4e8;border-radius:10px;padding:14px;height:100%;margin:0;background:#fff}
#atb-home-v2 #PM_anasayfa_urunler .urun_resmi img{height:190px;width:100%;object-fit:contain}
#atb-home-v2 #PM_anasayfa_urunler .urun_ismi{min-height:64px;font-size:14px;line-height:1.45;text-align:left}
#atb-home-v2 #PM_anasayfa_urunler .urun_fiyatlar{min-height:48px;text-align:left;display:flex;flex-direction:column;justify-content:center}
#atb-home-v2 #PM_anasayfa_urunler .urun_butonlar{display:flex;gap:5px}
#atb-home-v2 #PM_anasayfa_urunler .urun_butonlar a{color:#fff;flex:1;font-size:12px;padding:9px 3px;border-radius:5px}
#atb-home-v2 #PM_anasayfa_urunler .ikonlar,#atb-home-v2 #PM_anasayfa_urunler .extra-info{display:none!important}
@media(max-width:991px){#atb-home-v2 .atb-home-hero{gap:24px;padding:28px}#atb-home-v2 h1{font-size:40px}#atb-home-v2 .atb-home-category-grid{grid-template-columns:repeat(3,minmax(0,1fr))}#atb-home-v2 .atb-home-fan{flex-direction:column;text-align:center}#atb-home-v2 .atb-home-help{align-items:flex-start}#atb-home-v2 .atb-home-help a{white-space:normal}}
@media(max-width:600px){#atb-home-v2{padding:16px 14px 28px}#atb-home-v2 .atb-home-hero{display:block;padding:22px;border-radius:12px}#atb-home-v2 h1{font-size:34px;letter-spacing:-1px}#atb-home-v2 .atb-home-intro{font-size:14px;margin-bottom:16px}#atb-home-v2 .atb-home-eyebrow{font-size:9px;margin-bottom:10px}#atb-home-v2 .atb-home-hero-aside{display:none}#atb-home-v2 .atb-home-actions{gap:10px}#atb-home-v2 .atb-home-primary{font-size:13px;min-height:44px;padding:11px 14px}#atb-home-v2 .atb-home-secondary{font-size:12px}#atb-home-v2 .atb-home-section{margin-top:26px}#atb-home-v2 h2{font-size:21px}#atb-home-v2 .atb-home-section-head{align-items:start;margin-bottom:14px}#atb-home-v2 .atb-home-section-head>span{display:none}#atb-home-v2 .atb-home-category-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}#atb-home-v2 .atb-home-category{min-height:104px;padding:14px}#atb-home-v2 .atb-home-number{display:none}#atb-home-v2 .atb-home-category strong{font-size:14px;max-width:120px;padding-right:8px}#atb-home-v2 .atb-home-category>span:not(.atb-home-number){font-size:11px}#atb-home-v2 .atb-home-category:last-child{grid-column:1/-1;min-height:70px}#atb-home-v2 .atb-home-category:last-child strong{max-width:none}#atb-home-v2 .atb-home-fan-grid{grid-template-columns:1fr;gap:10px}#atb-home-v2 .atb-home-fan{flex-direction:row;text-align:left;padding:12px;gap:20px}#atb-home-v2 .atb-home-fan>img{width:76px;height:76px}#atb-home-v2 .atb-home-fan small{margin:4px 0 6px}#atb-home-v2 .atb-home-fans{padding-top:24px}#atb-home-v2 .atb-home-help{display:block;padding:22px;margin-top:26px}#atb-home-v2 .atb-home-help h2{font-size:21px}#atb-home-v2 .atb-home-help a{margin-top:18px}#atb-home-v2 #PM_anasayfa_urunler .icerik{gap:10px}#atb-home-v2 #PM_anasayfa_urunler .urun{padding:10px}#atb-home-v2 #PM_anasayfa_urunler .urun_resmi img{height:140px}#atb-home-v2 #PM_anasayfa_urunler .urun_ismi{font-size:12px;min-height:90px}#atb-home-v2 #PM_anasayfa_urunler .urun_fiyatlar{font-size:14px}#atb-home-v2 #PM_anasayfa_urunler .urun_butonlar{flex-direction:column}#atb-home-v2 #PM_anasayfa_urunler .urun_butonlar a{font-size:11px}}
/* Show only the dedicated ATB collection on this homepage. */
body:has(#atb-home-v2) #PM_anasayfa_urunler>.urunler:not([data-group-id="13"]){display:none!important}
#atb-home-v2 .atb-home-section{scroll-margin-top:96px}
#atb-home-v2 #PM_anasayfa_urunler .indirimsiz_urun_kdvdahil_fiyati{display:none!important}
#atb-home-v2 #PM_anasayfa_urunler .urun_kdvdahil_fiyati{font-size:18px;font-weight:700}
#atb-home-v2 #PM_anasayfa_urunler .urun_kdvdahil_fiyati:after{content:"KDV dahil";display:block;font-size:10px;line-height:1.5;font-weight:400;color:#59616c}
#atb-home-v2 #PM_anasayfa_urunler .urun_ismi a{font-size:14px;line-height:1.45;text-align:left;white-space:normal;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;height:61px;max-height:61px}
@media(max-width:600px){#atb-home-v2 #PM_anasayfa_urunler .urun_ismi a{font-size:13px;line-height:1.4;-webkit-line-clamp:4;height:73px;max-height:73px}}
/* Override the theme's inline title height so short model names remain fully readable. */
#atb-home-v2 #PM_anasayfa_urunler .urun_ismi a{height:auto!important;max-height:none;min-height:61px;overflow:visible;display:block!important}

/* Restore original banners; keep the new introduction compact. */
#atb-home-v2 .atb-home-welcome{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:4px 0 22px;border-bottom:1px solid #e4e6e9}
#atb-home-v2 .atb-home-welcome h1{font-size:30px;line-height:1.2;letter-spacing:-.7px;margin:0 0 8px}
#atb-home-v2 .atb-home-welcome p{font-size:14px;color:#59616c;margin:0}
#atb-home-v2 .atb-home-welcome a{white-space:nowrap}
#atb-home-v2 .atb-home-promos{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin-top:32px}
#atb-home-v2 .atb-home-promos a{display:block;border-radius:10px;overflow:hidden;border:1px solid #e4e6e9}
#atb-home-v2 .atb-home-promos img{display:block;width:100%;height:auto}
@media(max-width:600px){#atb-home-v2 .atb-home-welcome{display:block;padding-bottom:18px}#atb-home-v2 .atb-home-welcome h1{font-size:24px}#atb-home-v2 .atb-home-welcome p{font-size:13px}#atb-home-v2 .atb-home-welcome a{display:inline-block;margin-top:10px}#atb-home-v2 .atb-home-promos{grid-template-columns:1fr;gap:12px;margin-top:24px}}

/* Round category navigation: show all six choices clearly on phones. */
@media(max-width:600px){
 body:has(#atb-home-v2) .categories_story #navbar .owl-stage{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px 10px;width:100%!important;transform:none!important}
 body:has(#atb-home-v2) .categories_story #navbar .owl-item{width:auto!important;margin:0!important;float:none!important}
 body:has(#atb-home-v2) .categories_story #navbar li{width:100%;height:auto!important;padding:0;overflow:visible}
 body:has(#atb-home-v2) .categories_story #navbar li a{display:flex;flex-direction:column;align-items:center;height:auto!important}
 body:has(#atb-home-v2) .categories_story #navbar li img{width:86px!important;height:86px!important;object-fit:contain;border-radius:50%;background:#fff}
 body:has(#atb-home-v2) .categories_story #navbar .anacat_name{display:block!important;font-size:12px!important;line-height:1.35!important;white-space:normal!important;height:auto!important;max-height:none!important;min-height:33px;overflow:visible!important;margin-top:8px}
 body:has(#atb-home-v2) .categories_story .owl-nav,body:has(#atb-home-v2) .categories_story .owl-dots{display:none!important}
}
