/* SORFPANEL V46 — desktop product detail canonical fix.
   Desktop uses the complete modern-detail surface (gallery + seller + price + buy actions).
   Mobile mp-v27 surface remains mobile-only and is untouched below 901px. */
@media (min-width:901px){
  body.page-product .mobile-product-toolbar,
  body.page-product .mobile-share-backdrop,
  body.page-product .mobile-share-sheet,
  body.page-product .mp-v27-page,
  body.page-product .mp-v1-page,
  body.page-product .mp-v1-bottom-campaign,
  body.page-product .mobile-product-buybar,
  body.page-product .mobile-gallery-dots{
    display:none!important;
  }

  body.page-product .product-detail-page{
    display:block!important;
    width:min(calc(100% - 40px),1280px)!important;
    max-width:1280px!important;
    margin:22px auto 0!important;
    padding:0!important;
  }
  body.page-product .product-detail-page>.breadcrumb{
    display:flex!important;
    align-items:center!important;
    gap:8px!important;
    margin:0 0 14px!important;
    color:#7b8491!important;
    font-size:12px!important;
  }
  body.page-product .product-detail-page>.detail.modern-detail{
    display:grid!important;
    grid-template-columns:minmax(0,1.05fr) minmax(410px,.95fr)!important;
    gap:24px!important;
    align-items:start!important;
    padding:20px!important;
    border:1px solid #e5e7eb!important;
    border-radius:16px!important;
    background:#fff!important;
    box-shadow:0 8px 30px rgba(15,23,42,.06)!important;
    overflow:visible!important;
  }
  body.page-product .product-media,
  body.page-product .product-summary{
    display:block!important;
    min-width:0!important;
  }
  body.page-product .gallery-shell{
    display:grid!important;
    grid-template-columns:78px minmax(0,1fr)!important;
    gap:12px!important;
    align-items:start!important;
  }
  body.page-product .gallery-thumbs{
    display:flex!important;
    flex-direction:column!important;
    gap:8px!important;
    max-height:560px!important;
    overflow:auto!important;
  }
  body.page-product .gallery-thumb{
    display:block!important;
    width:72px!important;
    height:72px!important;
    padding:4px!important;
    border:1px solid #e5e7eb!important;
    border-radius:9px!important;
    background:#fff!important;
  }
  body.page-product .gallery-thumb.active{border-color:#ff6000!important}
  body.page-product .gallery-thumb img{width:100%!important;height:100%!important;object-fit:contain!important}
  body.page-product .gallery-main{
    display:grid!important;
    place-items:center!important;
    position:relative!important;
    min-height:540px!important;
    height:540px!important;
    padding:18px!important;
    border:1px solid #eef0f3!important;
    border-radius:12px!important;
    background:#fff!important;
    overflow:hidden!important;
  }
  body.page-product .gallery-main>img{
    display:block!important;
    width:100%!important;
    height:100%!important;
    max-width:100%!important;
    max-height:100%!important;
    object-fit:contain!important;
  }
  body.page-product .trendyol-desktop-summary{
    display:block!important;
    padding:2px 0 0!important;
  }
  body.page-product .trendyol-desktop-summary h1{
    display:block!important;
    margin:10px 0 8px!important;
    color:#1f2937!important;
    font-size:24px!important;
    line-height:1.32!important;
    font-weight:800!important;
  }
  body.page-product .rating-line,
  body.page-product .detail-price,
  body.page-product .product-payment-note,
  body.page-product .modern-seller,
  body.page-product .delivery-estimate,
  body.page-product .trendyol-desktop-buy,
  body.page-product .shipping-box{
    display:flex!important;
  }
  body.page-product .detail-price{align-items:center!important;gap:10px!important;flex-wrap:wrap!important;margin:10px 0!important;padding:16px 0!important;border-top:1px solid #eef0f3!important;border-bottom:1px solid #eef0f3!important}
  body.page-product .detail-price strong{font-size:30px!important;color:#ff6000!important}
  body.page-product .modern-seller,
  body.page-product .delivery-estimate,
  body.page-product .product-payment-note,
  body.page-product .shipping-box{
    box-sizing:border-box!important;
    width:100%!important;
    margin-top:12px!important;
    padding:13px 14px!important;
    border:1px solid #e5e7eb!important;
    border-radius:10px!important;
    background:#fff!important;
  }
  body.page-product .modern-seller{align-items:center!important;gap:12px!important;flex-wrap:wrap!important}
  body.page-product .delivery-estimate{flex-direction:column!important;align-items:flex-start!important;gap:4px!important}
  body.page-product .product-payment-note{align-items:center!important;gap:10px!important}
  body.page-product .shipping-box{justify-content:space-between!important;gap:10px!important;flex-wrap:wrap!important}
  body.page-product .trendyol-desktop-buy{
    display:grid!important;
    grid-template-columns:84px minmax(0,.85fr) minmax(0,1.2fr)!important;
    gap:10px!important;
    align-items:end!important;
    margin-top:14px!important;
  }
  body.page-product .trendyol-desktop-buy label{display:grid!important;gap:5px!important;font-size:12px!important;color:#687282!important}
  body.page-product .trendyol-desktop-buy input{width:100%!important;height:48px!important;border:1px solid #dfe3e8!important;border-radius:9px!important;padding:0 10px!important}
  body.page-product .trendyol-desktop-buy .btn{
    display:flex!important;
    min-height:48px!important;
    align-items:center!important;
    justify-content:center!important;
    gap:7px!important;
    border-radius:9px!important;
    font-weight:800!important;
  }
  body.page-product .desktop-add-cart{background:#ff6000!important;border-color:#ff6000!important;color:#fff!important}
  body.page-product .desktop-buy-now{background:#fff7f2!important;border-color:#ff6000!important;color:#e95400!important}
  body.page-product .compare-form,
  body.page-product .alert-actions{display:block!important;margin-top:10px!important}
  body.page-product .compare-form .btn{width:100%!important;min-height:44px!important}
  body.page-product .product-content-tabs{display:flex!important;margin-top:18px!important}
  body.page-product .content-card{display:block!important}
  body.page-product .container.section{display:block!important}
}
@media (max-width:900px){
  body.page-product .desktop-upper-buy-actions{display:none!important}
}
