/* B117 - Görünüm/responsive + sade header + homepage ürün görünürlüğü */
:root{--ub-b117-radius:22px;--ub-b117-border:rgba(15,23,42,.10);--ub-b117-soft:#f8fafc;--ub-b117-shadow:0 18px 50px rgba(2,8,23,.08)}
.ub-header--b117{position:sticky;top:0;z-index:1030;background:rgba(255,255,255,.92);backdrop-filter:saturate(145%) blur(14px);border-bottom:1px solid rgba(15,23,42,.08)}
.ub-header--b117 .ub-topbar{padding:9px 0 8px}
.ub-header--b117 .ub-topbar__in{display:grid;grid-template-columns:auto minmax(280px,1fr) auto;align-items:center;gap:12px;min-width:0}
.ub-header--b117 .ub-left{display:flex;align-items:center;gap:10px;min-width:0}
.ub-header--b117 .ub-brand{display:flex;align-items:center;min-width:0;max-width:220px}
.ub-header--b117 .ub-brand__logo{display:block;height:38px;max-width:min(220px,24vw);object-fit:contain}
.ub-header--b117 .ub-search{min-width:0;width:100%;display:flex;align-items:center;gap:8px;background:#fff;border:1px solid rgba(15,23,42,.10);border-radius:999px;padding:4px;box-shadow:0 10px 28px rgba(15,23,42,.05)}
.ub-header--b117 .ub-search:focus-within{border-color:rgba(30,119,211,.42);box-shadow:0 0 0 4px rgba(30,119,211,.10),0 12px 28px rgba(15,23,42,.06)}
.ub-header--b117 .ub-search__box{min-width:0;flex:1;background:transparent;border:0;box-shadow:none}
.ub-header--b117 .ub-search input{height:44px;border:0;background:transparent;font-size:15px;font-weight:800;min-width:0;width:100%}
.ub-header--b117 .ub-search__go{height:44px;min-width:74px;border-radius:999px;font-weight:1000}
.ub-header--b117 .ub-actions--sade{display:flex;align-items:center;justify-content:flex-end;gap:8px;min-width:0;white-space:nowrap}
.ub-header--b117 .ub-action{height:44px;border-radius:999px;padding:0 13px;border:1px solid rgba(15,23,42,.10);background:#fff;box-shadow:0 8px 24px rgba(2,8,23,.045)}
.ub-header--b117 .ub-action:hover{transform:translateY(-1px);box-shadow:0 14px 32px rgba(2,8,23,.08)}
.ub-header--b117 .ub-subnav{background:transparent;border-top:1px solid rgba(15,23,42,.06)}
.ub-header--b117 .ub-subnav__in{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;min-height:54px;position:relative}
.ub-header--b117 .ub-subnav__rail{display:flex;align-items:center;gap:8px;overflow:auto;scrollbar-width:none;min-width:0;padding:7px 0}
.ub-header--b117 .ub-subnav__rail::-webkit-scrollbar{display:none}
.ub-header--b117 .ub-chip{min-height:38px;align-items:center;border-radius:999px;border:1px solid rgba(15,23,42,.10);background:#fff;color:#0f172a;font-weight:950;white-space:nowrap;box-shadow:0 8px 22px rgba(2,8,23,.045)}
.ub-header--b117 .ub-moremenu{position:relative;justify-self:end}
.ub-header--b117 .ub-moremenu__trigger{background:#0f2d4c;color:#fff;border-color:#0f2d4c;padding:0 14px}
.ub-header--b117 .ub-moremenu__panel{right:0;left:auto;width:min(920px,calc(100vw - 32px));max-height:min(72vh,680px);overflow:auto;border-radius:24px;border:1px solid rgba(15,23,42,.12);box-shadow:0 30px 90px rgba(2,8,23,.18);padding:14px;background:rgba(255,255,255,.98);backdrop-filter:saturate(150%) blur(16px)}
.ub-header--b117 .ub-moremenu__grid--full{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.ub-header--b117 .ub-moremenu__link{border-radius:18px;border:1px solid rgba(15,23,42,.08);background:linear-gradient(180deg,#fff,#f8fafc);padding:12px;min-height:68px}
.ub-header--b117 .ub-moremenu__link span{font-weight:1000}.ub-header--b117 .ub-moremenu__link small{color:#64748b;font-weight:750}
.ub-chip--merchant{display:none!important}.ub-pref-switchers,.ub-lang-switch,.ub-currency-switch{display:none!important}.ub-smart-banner{display:none!important;visibility:hidden!important;pointer-events:none!important}
@media (max-width:1180px){.ub-header--b117 .ub-topbar__in{grid-template-columns:auto 1fr auto}.ub-header--b117 .ub-brand__logo{max-width:180px}.ub-header--b117 .ub-moremenu__grid--full{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (max-width:920px){.ub-header--b117 .ub-topbar__in{grid-template-columns:auto 1fr auto;gap:9px}.ub-header--b117 .ub-search{grid-column:1/-1;order:5}.ub-header--b117 .ub-actions--sade{justify-self:end}.ub-header--b117 .ub-action{padding:0 11px}.ub-header--b117 .ub-action__t{display:none}.ub-header--b117 .ub-subnav__in{grid-template-columns:minmax(0,1fr) auto}.ub-header--b117 .ub-subnav__rail .ub-chip:nth-child(n+4){display:none}}
@media (max-width:640px){.ub-header--b117 .ub-topbar{padding:7px 0}.ub-header--b117 .ub-topbar__in{gap:8px}.ub-header--b117 .ub-brand__logo{height:32px;max-width:156px}.ub-header--b117 .ub-iconbtn,.ub-header--b117 .ub-action{width:42px;height:42px;min-width:42px;padding:0;justify-content:center}.ub-header--b117 .ub-search{border-radius:18px;padding:5px}.ub-header--b117 .ub-search input{height:42px;font-size:16px}.ub-header--b117 .ub-search__go{height:42px;min-width:68px}.ub-header--b117 .ub-subnav__in{min-height:48px}.ub-header--b117 .ub-chip{min-height:36px;font-size:12px;padding-left:11px;padding-right:11px}.ub-header--b117 .ub-moremenu__panel{position:fixed;left:10px;right:10px;top:calc(var(--ub-header-h,84px) + 8px);width:auto;max-height:70vh}.ub-header--b117 .ub-moremenu__grid--full{grid-template-columns:1fr}.ub-header--b117 .ub-moremenu__head span{display:none}}
@media (max-width:380px){.ub-header--b117 .ub-brand__logo{max-width:132px}.ub-header--b117 .ub-search-tools{display:none}}
/* Homepage density/readability */
.ub-home2 .ub-home-block{border-radius:26px;border:1px solid rgba(15,23,42,.09);box-shadow:var(--ub-b117-shadow);background:rgba(255,255,255,.82)}
.ub-home2 .ub-home-head{align-items:center}.ub-home2 .ub-home-head h2{font-size:clamp(18px,2vw,24px)}
.ub-home2 .ub-prod-grid{grid-template-columns:repeat(auto-fill,minmax(168px,1fr));gap:12px}.ub-home2 .ub-prod-card{border-radius:20px;min-width:0}.ub-home2 .ub-prod-img{height:154px}.ub-home2 .ub-prod-title{min-height:40px}.ub-home2 .ub-prod-cta{margin-top:auto}
@media(min-width:1280px){.ub-home2 .ub-prod-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:13px}.ub-home2 .ub-prod-img{height:166px}}
@media(max-width:980px){.ub-home2 .ub-prod-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:11px}.ub-home2 .ub-prod-img{height:150px}.ub-home2 .ub-home-block{padding:12px;border-radius:22px}.ub-home2 .ub-store-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:640px){.ub-home2-hero{padding-top:10px}.ub-home2 .ub-prod-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.ub-home2 .ub-prod-card{padding:10px;border-radius:17px}.ub-home2 .ub-prod-img{height:132px}.ub-home2 .ub-prod-title{font-size:13px;line-height:1.25;min-height:34px}.ub-home2 .badge{font-size:11px;padding:6px 8px}.ub-home2 .ub-home-head .ub-link{padding:8px 10px}.ub-home2 .ub-store-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ub-home2 .ub-spotlight-grid{grid-template-columns:1fr}}
@media(max-width:360px){.ub-home2 .ub-prod-grid{gap:8px}.ub-home2 .ub-prod-img{height:118px}.ub-home2 .ub-prod-card{padding:8px}.ub-home2 .ub-prod-title{font-size:12px}}
/* Redirect interstitial v117 responsive polish */
.ub-redirect .card{background:linear-gradient(180deg,#fff,#f8fafc)}.ub-redirect .btn{min-height:46px}.ub-redirect .safehost{display:inline-flex;margin-top:8px;padding:7px 10px;border-radius:999px;background:#eef2ff;color:#1e3a8a;font-size:12px;font-weight:900}

/* B118: B117 canlı düzeltmeleri — logo, PDP yapışkan özet, AI asistan ve grid görünürlüğü */
.ub-header--b117 .ub-brand,
.ub-drawer .ub-brand{min-width:160px!important;max-width:232px!important;overflow:visible!important}
.ub-header--b117 .ub-brand__logo,
.ub-drawer .ub-brand__logo,
.ub-footer__brand img{height:38px!important;width:auto!important;max-width:232px!important;object-fit:contain!important;background:transparent!important}
.ub-footer__brand img{height:32px!important;max-width:210px!important}
@media (max-width:760px){.ub-header--b117 .ub-brand{min-width:0!important;max-width:170px!important}.ub-header--b117 .ub-brand__logo,.ub-drawer .ub-brand__logo{height:32px!important;max-width:164px!important}}
@media (max-width:390px){.ub-header--b117 .ub-brand__logo{max-width:142px!important}}

/* B114 mobil hotfixi PDP özet bloğunu relative'e çekiyordu; tekrar gerçek sticky davranışına alındı. */
.ub-pdp-topdock{position:sticky!important;top:calc(var(--ub-header-h,72px) + 8px)!important;z-index:95!important;margin-top:12px!important;background:rgba(255,255,255,.96)!important;backdrop-filter:blur(14px)!important;-webkit-backdrop-filter:blur(14px)!important;box-shadow:0 16px 44px rgba(15,23,42,.13)!important;contain:layout paint}
.ub-pdp-topdock__tabs{scrollbar-width:thin;overscroll-behavior-x:contain}
@media(max-width:760px){.ub-pdp-topdock{top:calc(var(--ub-header-h,84px) + 4px)!important;border-radius:18px!important;padding:10px!important;z-index:96!important}.ub-pdp-topdock__tabs{padding-bottom:6px!important}}

/* AI alışveriş asistanı: daha okunaklı logo, mağaza/ürün görselleri taşmasın. */
.ub-ai{z-index:150!important}
.ub-ai__fab{background:linear-gradient(135deg,#082f49,#1d4ed8 58%,#16a34a)!important;border:1px solid rgba(255,255,255,.22)!important;box-shadow:0 18px 46px rgba(15,23,42,.30)!important}
.ub-ai__fabIcon{position:relative;width:38px!important;height:38px!important;border-radius:14px!important;background:#fff!important;color:#0f172a!important;font-size:0!important;box-shadow:inset 0 0 0 1px rgba(15,23,42,.08)}
.ub-ai__fabIcon:before{content:"✓";width:24px;height:24px;border-radius:999px;background:#16a34a;color:#fff;display:flex;align-items:center;justify-content:center;font-size:15px;font-weight:1000;line-height:1;position:absolute;left:7px;top:4px}
.ub-ai__fabIcon:after{content:"AI";position:absolute;left:0;right:0;bottom:3px;text-align:center;font-size:10px;font-weight:1000;letter-spacing:.04em;color:#0f172a}
.ub-ai__resultMedia img{object-fit:contain!important;background:#fff}
.ub-ai__prodImg img{object-fit:contain!important;background:#fff}
.ub-ai__introBadge{background:#ecfeff!important;border-color:rgba(14,165,233,.22)!important}
.ub-ai__panel{border-radius:26px!important}
@media(max-width:720px){.ub-ai{right:12px!important;bottom:max(12px,env(safe-area-inset-bottom,0px) + 72px)!important}.ub-ai__fab{padding:10px 11px!important}.ub-ai__fabIcon{width:36px!important;height:36px!important}}

/* Homepage kart ızgarası kırılmasın; canlıda yalnızca iki ürün varmış gibi boşluk oluşmasını engeller. */
.ub-prod-grid{align-items:stretch}.ub-prod-card{min-height:100%;overflow:hidden}.ub-loadmore-wrap{grid-column:1/-1}
