/* HepsiPDKS V22.23 - Premium product detail polish */
.premium-product-detail{align-items:flex-start;gap:48px;padding-top:72px;padding-bottom:42px}
.premium-product-detail .product-media-box{position:sticky;top:150px;border:1px solid #e6edf4;border-radius:28px;background:linear-gradient(145deg,#fff,#f7fbff);box-shadow:0 24px 65px rgba(10,44,76,.10);padding:18px}
.premium-product-detail .hb-slider-main{border-radius:22px;overflow:hidden;background:#f8fafc}
.premium-product-detail .hb-main-image{transition:transform .35s ease}
.premium-product-detail .hb-slider-main:hover .hb-main-image{transform:scale(1.015)}
.premium-product-detail .hb-slider-thumbs{background:#fff;border:1px solid #e8eef4;border-radius:16px;padding:8px;gap:8px}
.premium-product-detail .hb-slider-thumb{border-radius:11px!important;overflow:hidden;border:1px solid #e3eaf1!important;background:#fff!important}
.premium-product-detail .hb-slider-thumb.active{border-color:#0b86d4!important;box-shadow:0 0 0 2px rgba(11,134,212,.12)!important}
.premium-product-detail .detail-content h1{letter-spacing:-.035em;line-height:1.08;margin-bottom:16px}
.premium-product-detail .product-brand-link{display:inline-flex;padding:7px 11px;border-radius:999px;background:#eef8ff;color:#0879be!important;font-size:12px;font-weight:850;text-decoration:none!important;margin:5px 0 14px}
.premium-product-detail .product-short-formatted{font-size:17px;line-height:1.65;color:#40556a}
.v2223-highlights{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin:18px 0}
.v2223-highlight{min-height:62px;padding:11px 13px;border:1px solid #e3ebf2;border-radius:13px;background:#fbfdff;display:flex;flex-direction:column;justify-content:center}
.v2223-highlight span{font-size:9px;text-transform:uppercase;letter-spacing:.08em;font-weight:900;color:#7b8ea0;margin-bottom:3px}.v2223-highlight strong{font-size:13px;color:#173b59;line-height:1.3}
.oo163-buy{border-radius:22px!important;padding:20px 22px!important;box-shadow:0 18px 45px rgba(8,62,102,.10)!important;border-color:#d6e6f2!important}
.oo163-price strong{font-size:34px!important;letter-spacing:-.035em}.oo163-order{min-height:66px!important;border-radius:15px!important}.oo163-order span{font-size:17px!important}
.oo163-trust{grid-template-columns:repeat(3,1fr)!important}.oo163-trust span{font-size:10px!important;color:#63788b!important}.oo163-trust b{color:#405a70!important}
.premium-product-detail .product-content-formatted{margin-top:26px;padding-top:24px;border-top:1px solid #e8eef4;color:#40566b;line-height:1.75}
.premium-product-detail .hero-buttons{margin-top:22px;gap:9px}.premium-product-detail .hero-buttons .btn{border-radius:12px!important;min-height:44px;display:inline-flex;align-items:center}
.premium-product-detail .detail-note{margin-top:13px;color:#6d8194;font-size:12px}
.v2223-assurance{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;margin-top:18px}.v2223-assurance>div{padding:13px;border:1px solid #e5edf3;border-radius:14px;background:#fff}.v2223-assurance b{display:block;color:#173b59;font-size:11px;margin-bottom:4px}.v2223-assurance span{display:block;color:#7a8b9b;font-size:9.5px;line-height:1.45}
.product-section{padding-top:54px!important;padding-bottom:54px!important}.product-section .section-head span{letter-spacing:.16em}.product-section .section-head h2{letter-spacing:-.025em}
.product-pro-cta{border-radius:26px!important;box-shadow:0 18px 50px rgba(8,55,92,.10)}
.v2223-mobile-buy{display:none}
@media(max-width:900px){.premium-product-detail{gap:28px;padding-top:38px}.premium-product-detail .product-media-box{position:relative;top:auto}.v2223-assurance{grid-template-columns:1fr}.v2223-highlights{grid-template-columns:1fr 1fr}}
@media(max-width:640px){body{padding-bottom:74px}.premium-product-detail{padding-top:22px;gap:20px}.premium-product-detail .product-media-box{padding:10px;border-radius:20px}.premium-product-detail .detail-content h1{font-size:32px!important}.premium-product-detail .product-short-formatted{font-size:15px}.v2223-highlights{grid-template-columns:1fr}.oo163-buy{padding:15px!important}.oo163-price strong{font-size:29px!important}.oo163-trust{grid-template-columns:1fr!important}.v2223-mobile-buy{position:fixed;z-index:999;left:10px;right:10px;bottom:10px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 11px 10px 15px;border:1px solid rgba(255,255,255,.7);border-radius:17px;background:rgba(7,31,55,.95);box-shadow:0 14px 38px rgba(3,20,36,.30);backdrop-filter:blur(12px);color:#fff}.v2223-mobile-buy div{display:grid}.v2223-mobile-buy small{font-size:8px;letter-spacing:.12em;opacity:.7;font-weight:900}.v2223-mobile-buy strong{font-size:19px}.v2223-mobile-buy button{border:0;border-radius:12px;background:#0b93e8;color:#fff;font-weight:900;padding:12px 16px;cursor:pointer}}


/* V22.23.1 - desktop balance / first-screen refinement */
@media(min-width:901px){
  .detail.premium-product-detail{
    grid-template-columns:minmax(0, .92fr) minmax(0, 1.08fr) !important;
    gap:42px !important;
    padding-top:52px !important;
  }
  .detail.premium-product-detail .detail-img.product-media-box{
    position:sticky !important;
    top:132px !important;
    padding:14px !important;
    border-radius:24px !important;
  }
  .detail.premium-product-detail .hb-slider-main{
    height:430px !important;
    min-height:430px !important;
    max-height:430px !important;
    padding:10px !important;
    background:#fff !important;
    border-radius:20px !important;
  }
  .detail.premium-product-detail .hb-main-image{
    width:100% !important;
    height:410px !important;
    min-height:410px !important;
    max-height:410px !important;
    object-fit:contain !important;
    object-position:center !important;
    background:#fff !important;
  }
  .detail.premium-product-detail .hb-slider-thumbs{
    display:flex !important;
    overflow-x:auto !important;
    grid-template-columns:none !important;
    gap:8px !important;
    margin-top:9px !important;
    padding:7px !important;
    border-radius:14px !important;
    scrollbar-width:thin;
  }
  .detail.premium-product-detail .hb-slider-thumb{
    flex:0 0 72px !important;
    width:72px !important;
    height:58px !important;
    max-height:58px !important;
    border-radius:9px !important;
  }
  .detail.premium-product-detail .hb-slider-thumb img{
    width:100% !important;
    height:58px !important;
    max-height:58px !important;
    object-fit:contain !important;
    background:#fff !important;
  }
  .premium-product-detail .product-breadcrumb{
    margin-bottom:5px !important;
    font-size:11px !important;
    line-height:1.45 !important;
  }
  .premium-product-detail .product-breadcrumb strong{
    display:none !important;
  }
  .premium-product-detail .product-brand-link{
    margin:4px 0 11px !important;
    padding:6px 10px !important;
    font-size:11px !important;
  }
  .premium-product-detail .detail-content h1{
    font-size:clamp(38px,3.05vw,50px) !important;
    line-height:1.04 !important;
    margin:0 0 12px !important;
    letter-spacing:-.042em !important;
  }
  .premium-product-detail .product-short-formatted{
    font-size:15.5px !important;
    line-height:1.55 !important;
    margin-bottom:12px !important;
  }
  .v2223-highlights{
    grid-template-columns:repeat(3,minmax(0,1fr)) !important;
    gap:7px !important;
    margin:12px 0 !important;
  }
  .v2223-highlight{
    min-height:52px !important;
    padding:9px 11px !important;
  }
  .v2223-highlight:nth-child(n+4){display:none !important}
  .oo163-buy{
    margin:13px 0 18px !important;
    padding:16px 18px !important;
  }
  .oo163-head{padding-bottom:11px !important}
  .oo163-price strong{font-size:31px !important}
  .oo163-action{padding-top:11px !important}
  .oo163-order{min-height:56px !important}
  .oo163-trust{margin-top:10px !important;padding-top:9px !important}
  .premium-product-detail .product-content-formatted{margin-top:18px !important;padding-top:18px !important}
}
@media(min-width:901px) and (max-height:850px){
  .detail.premium-product-detail{padding-top:38px !important}
  .detail.premium-product-detail .hb-slider-main{height:390px !important;min-height:390px !important;max-height:390px !important}
  .detail.premium-product-detail .hb-main-image{height:370px !important;min-height:370px !important;max-height:370px !important}
  .premium-product-detail .detail-content h1{font-size:clamp(36px,2.8vw,46px) !important}
}

/* V22.23.2 - Premium sticky satin alma alani */
@media (min-width: 901px){
  .premium-product-detail .oo163-buy{
    position:sticky !important;
    top:112px !important;
    z-index:24 !important;
    background:rgba(255,255,255,.97) !important;
    backdrop-filter:blur(14px);
    -webkit-backdrop-filter:blur(14px);
    box-shadow:0 18px 48px rgba(8,55,92,.14) !important;
  }
  .premium-product-detail .oo163-buy::before{
    content:"";
    position:absolute;
    left:18px;right:18px;top:0;
    height:3px;
    border-radius:0 0 999px 999px;
    background:linear-gradient(90deg,#0a8fe8,#16a5d8);
    opacity:.9;
  }
}
@media (max-width:900px){
  .premium-product-detail .oo163-buy{position:relative !important;top:auto !important}
}

/* V22.23.3 - Satin alma karti galeri altinda, sol kolonda sticky */
@media (min-width:901px){
  .premium-product-detail .product-left-column{
    min-width:0;
    align-self:stretch;
  }
  .premium-product-detail .product-left-column .product-media-box{
    position:relative !important;
    top:auto !important;
  }
  .premium-product-detail .product-left-column .oo163-buy{
    position:sticky !important;
    top:112px !important;
    z-index:24 !important;
    margin:16px 0 0 !important;
    background:rgba(255,255,255,.97) !important;
    backdrop-filter:blur(14px);
    -webkit-backdrop-filter:blur(14px);
    box-shadow:0 18px 48px rgba(8,55,92,.14) !important;
  }
  .premium-product-detail .product-left-column .oo163-buy::before{
    content:"";
    position:absolute;
    left:18px;right:18px;top:0;
    height:3px;
    border-radius:0 0 999px 999px;
    background:linear-gradient(90deg,#0a8fe8,#16a5d8);
    opacity:.9;
  }
  .premium-product-detail .product-left-column .oo163-head{
    align-items:flex-start;
  }
  .premium-product-detail .product-left-column .oo163-price strong{
    font-size:30px !important;
  }
  .premium-product-detail .product-left-column .oo163-action{
    grid-template-columns:118px 1fr;
  }
}
@media (max-width:900px){
  .premium-product-detail .product-left-column .oo163-buy{display:none !important;}
}


/* V22.23.4 - Komple sol kolon sticky: galeri + satin alma birlikte */
@media (min-width:901px){
  .premium-product-detail .product-left-column{
    position:sticky !important;
    top:112px !important;
    align-self:flex-start !important;
    z-index:20;
    height:max-content;
    max-height:calc(100vh - 128px);
    overflow-y:auto;
    overscroll-behavior:contain;
    scrollbar-width:thin;
    scrollbar-color:rgba(15,76,129,.18) transparent;
    padding-bottom:4px;
  }
  .premium-product-detail .product-left-column::-webkit-scrollbar{width:5px}
  .premium-product-detail .product-left-column::-webkit-scrollbar-track{background:transparent}
  .premium-product-detail .product-left-column::-webkit-scrollbar-thumb{
    background:rgba(15,76,129,.18);
    border-radius:999px;
  }
  .premium-product-detail .product-left-column .product-media-box{
    position:relative !important;
    top:auto !important;
  }
  .premium-product-detail .product-left-column .oo163-buy{
    position:relative !important;
    top:auto !important;
    z-index:1 !important;
    margin:16px 0 0 !important;
  }
}
@media (min-width:901px) and (max-height:760px){
  .premium-product-detail .product-left-column{
    top:96px !important;
    max-height:calc(100vh - 108px);
  }
}


/* V22.23.5 - Akilli kompakt sticky satin alma
   Buyuk galeri normal akar; satin alma karti daha zarif sticky kalir. */
@media (min-width:901px){
  .premium-product-detail .product-left-column{
    position:relative !important;
    top:auto !important;
    align-self:flex-start !important;
    z-index:auto !important;
    height:auto !important;
    max-height:none !important;
    overflow:visible !important;
    padding-bottom:0 !important;
  }
  .premium-product-detail .product-left-column .product-media-box{
    position:relative !important;
    top:auto !important;
  }
  .premium-product-detail .product-left-column .oo163-buy{
    position:sticky !important;
    top:112px !important;
    z-index:25 !important;
    margin:14px 0 0 !important;
    border-radius:20px !important;
  }

  /* Sepete ekle alanini bir miktar daha kompakt yap */
  .premium-product-detail .oo163-buy .oo163-add-btn,
  .premium-product-detail .oo163-buy button[type="submit"]{
    min-height:56px !important;
    font-size:20px !important;
    border-radius:15px !important;
  }
  .premium-product-detail .oo163-buy .oo163-qty{
    min-height:56px !important;
  }
}
@media (min-width:901px) and (max-height:760px){
  .premium-product-detail .product-left-column .oo163-buy{
    top:96px !important;
  }
}

/* V22.23.6 - Dikey galeri + galeri altinda gorunur satin alma */
@media (min-width:901px){
  .premium-product-detail .product-left-column{
    position:sticky !important;
    top:108px !important;
    align-self:flex-start !important;
    height:auto !important;
    max-height:none !important;
    overflow:visible !important;
  }
  .premium-product-detail .product-left-column .product-media-box{
    position:relative !important;
    top:auto !important;
    padding:12px !important;
  }
  .premium-product-detail .product-left-column .hb-product-slider{
    display:grid !important;
    grid-template-columns:76px minmax(0,1fr) !important;
    gap:10px !important;
    align-items:start !important;
  }
  .premium-product-detail .product-left-column .hb-slider-main{
    grid-column:2 !important;
    grid-row:1 !important;
    height:360px !important;
    min-height:360px !important;
    max-height:360px !important;
    padding:8px !important;
  }
  .premium-product-detail .product-left-column .hb-main-image{
    height:344px !important;
    min-height:344px !important;
    max-height:344px !important;
  }
  .premium-product-detail .product-left-column .hb-slider-thumbs{
    grid-column:1 !important;
    grid-row:1 !important;
    display:flex !important;
    flex-direction:column !important;
    gap:7px !important;
    margin:0 !important;
    padding:6px !important;
    max-height:360px !important;
    overflow-y:auto !important;
    overflow-x:hidden !important;
    border-radius:13px !important;
  }
  .premium-product-detail .product-left-column .hb-slider-thumb{
    flex:0 0 62px !important;
    width:62px !important;
    height:62px !important;
    max-height:62px !important;
    margin:0 auto !important;
  }
  .premium-product-detail .product-left-column .hb-slider-thumb img{
    width:100% !important;
    height:60px !important;
    max-height:60px !important;
    object-fit:contain !important;
  }
  .premium-product-detail .product-left-column .hb-product-slider:not(:has(.hb-slider-thumbs)){
    display:block !important;
  }
  .premium-product-detail .product-left-column .hb-product-slider:not(:has(.hb-slider-thumbs)) .hb-slider-main{
    width:100% !important;
  }
  .premium-product-detail .product-left-column .oo163-buy{
    position:relative !important;
    top:auto !important;
    z-index:2 !important;
    margin:10px 0 0 !important;
    padding:14px 17px !important;
  }
  .premium-product-detail .product-left-column .oo163-price strong{font-size:29px !important}
  .premium-product-detail .product-left-column .oo163-action{padding-top:9px !important}
  .premium-product-detail .product-left-column .oo163-order{min-height:52px !important}
  .premium-product-detail .product-left-column .oo163-order span{font-size:15px !important}
  .premium-product-detail .product-left-column .oo163-trust{margin-top:8px !important;padding-top:8px !important}
}
@media (min-width:901px) and (max-height:760px){
  .premium-product-detail .product-left-column{top:94px !important}
  .premium-product-detail .product-left-column .hb-slider-main{height:320px !important;min-height:320px !important;max-height:320px !important}
  .premium-product-detail .product-left-column .hb-main-image{height:304px !important;min-height:304px !important;max-height:304px !important}
  .premium-product-detail .product-left-column .hb-slider-thumbs{max-height:320px !important}
}

/* V22.23.7 - Galeri kartindaki gereksiz beyaz alt boslugu kaldir */
@media (min-width:901px){
  .detail.premium-product-detail .product-left-column .detail-img.product-media-box{
    height:auto !important;
    min-height:0 !important;
    max-height:none !important;
  }
  .detail.premium-product-detail .product-left-column .hb-product-slider{
    height:auto !important;
    min-height:0 !important;
    max-height:none !important;
    margin-bottom:0 !important;
  }
  .detail.premium-product-detail .product-left-column .product-media-box + .oo163-buy{
    margin-top:8px !important;
  }
}
