/* nPuan Market — Ürün Profili DESKTOP RC1.10D / 02.10.2026
   Desktop-only görsel katman. Mobil PASS tasarımına ve backend motorlarına dokunmaz. */
@media (min-width: 992px){
  /* Sayfa zemini ve gereksiz büyük hero */
  .np-kcm-product-page{
    background:#f6f7f9;
  }
  .np-kcm-product-page .page-header.account-page-header.np-kcm-desktop{
    display:none!important;
  }
  .np-kcm-product-page .breadcrumb-nav.np-kcm-desktop{
    margin:0;
    padding:0;
    background:#fff;
    border-bottom:1px solid #eceff3;
  }
  .np-kcm-product-page .breadcrumb-nav.np-kcm-desktop .container{
    max-width:1180px;
    padding-top:13px;
    padding-bottom:13px;
  }
  .np-kcm-product-page .breadcrumb{
    margin:0;
    font-size:12px;
    color:#8a93a2;
  }
  .np-kcm-product-page .breadcrumb a{color:#667085;}

  .np-kcm-product-page .np-kcm-content{
    padding:22px 0 58px;
    background:#f6f7f9;
  }
  .np-kcm-product-page .np-kcm-content>.container{
    width:100%;
    max-width:1180px;
    padding-left:18px;
    padding-right:18px;
  }

  /* Üst aksiyon satırı */
  .np-kcm-product-page .np-kcm-profile-nav{
    min-height:42px;
    margin:0 0 14px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
  }
  .np-kcm-product-page .np-kcm-profile-nav a{
    min-height:38px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:0 14px;
    border:1px solid #e6e9ee;
    border-radius:10px;
    background:#fff;
    color:#3f4a5a;
    font-size:12px;
    font-weight:800;
    text-decoration:none;
    box-shadow:0 3px 10px rgba(17,24,39,.025);
  }
  .np-kcm-product-page .np-kcm-profile-nav a:hover{
    border-color:#ffc9bd;
    color:#f05a3c;
    background:#fff9f7;
  }

  /* Ana ürün profili — gerçek desktop iki kolon */
  .np-kcm-product-page .np-kcm-profile-wrap{
    padding-bottom:0;
  }
  .np-kcm-product-page .np-kcm-profile-card{
    display:grid;
    grid-template-columns:390px minmax(0,1fr);
    align-items:stretch;
    gap:34px;
    margin:0;
    padding:22px;
    border:1px solid #e9edf2;
    border-radius:20px;
    background:#fff;
    box-shadow:0 12px 34px rgba(17,24,39,.055);
  }
  .np-kcm-product-page .np-kcm-profile-media{
    width:100%;
    min-width:0;
  }
  .np-kcm-product-page .np-kcm-profile-image-wrap,
  .np-kcm-product-page .np-kcm-profile-noimage{
    width:100%;
    height:100%;
    min-height:350px;
    max-height:390px;
    aspect-ratio:1/1;
    border:1px solid #edf0f4;
    border-radius:17px;
    background:linear-gradient(180deg,#fafbfc 0%,#f5f7f9 100%);
    overflow:hidden;
  }
  .np-kcm-product-page .np-kcm-profile-image{
    width:100%;
    height:100%;
    padding:20px;
    object-fit:contain;
    object-position:center;
  }
  .np-kcm-product-page .np-kcm-profile-copy{
    min-width:0;
    padding:7px 2px 4px;
    display:flex;
    flex-direction:column;
  }
  .np-kcm-product-page .np-kcm-profile-copy>.np-kcm-eyebrow{
    display:inline-flex;
    align-items:center;
    width:max-content;
    max-width:100%;
    min-height:25px;
    margin:0 0 8px;
    padding:0 10px;
    border:1px solid #ffd7ce;
    border-radius:999px;
    background:#fff5f2;
    color:#ef5b3d;
    font-size:10px;
    line-height:1;
    font-weight:900;
    letter-spacing:.025em;
    text-transform:none;
  }
  .np-kcm-product-page .np-kcm-profile-copy h1{
    margin:0 0 10px;
    color:#161d2b;
    font-size:31px;
    line-height:1.14;
    letter-spacing:-.035em;
    font-weight:900;
  }
  .np-kcm-product-page .np-kcm-profile-lead{
    max-width:720px;
    margin:0 0 18px;
    color:#6a7484;
    font-size:14px;
    line-height:1.62;
  }

  /* Marka / teslim / stok — tek dengeli bilgi bandı */
  .np-kcm-product-page .np-kcm-profile-meta{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:8px;
    margin:0 0 16px;
    padding:7px;
    border:1px solid #edf0f3;
    border-radius:14px;
    background:#f8f9fb;
  }
  .np-kcm-product-page .np-kcm-profile-meta>div{
    min-height:58px;
    padding:10px 12px;
    border:0;
    border-right:1px solid #e8ebef;
    border-radius:9px;
    background:transparent;
  }
  .np-kcm-product-page .np-kcm-profile-meta>div:last-child{border-right:0;}
  .np-kcm-product-page .np-kcm-profile-meta span{
    margin:0 0 4px;
    color:#929aa7;
    font-size:9px;
    line-height:1.2;
    letter-spacing:.06em;
    font-weight:800;
  }
  .np-kcm-product-page .np-kcm-profile-meta strong{
    color:#2b3443;
    font-size:12.5px;
    line-height:1.35;
    font-weight:800;
  }

  /* nPuan + sipariş aksiyonu — artık kartın dibine itilmez */
  .np-kcm-product-page .np-kcm-profile-buybox{
    margin:2px 0 0;
    padding:14px;
    display:grid;
    grid-template-columns:minmax(210px,auto) minmax(160px,210px);
    align-items:center;
    justify-content:start;
    gap:14px;
    border:1px solid #ffd8cf;
    border-radius:15px;
    background:linear-gradient(135deg,#fff8f6 0%,#fffdfc 100%);
  }
  .np-kcm-product-page .np-kcm-profile-price{
    min-width:0;
    min-height:52px;
    display:flex;
    align-items:center;
    gap:11px;
    padding:0 2px;
    border-radius:11px;
  }
  .np-kcm-product-page .np-kcm-profile-price.is-clickable{cursor:pointer;}
  .np-kcm-product-page .np-kcm-profile-price img{
    width:40px;
    height:40px;
    flex:0 0 40px;
  }
  .np-kcm-product-page .np-kcm-profile-price div{
    display:flex;
    align-items:baseline;
    gap:6px;
  }
  .np-kcm-product-page .np-kcm-profile-price strong{
    color:#1c2432;
    font-size:31px;
    line-height:1;
    letter-spacing:-.04em;
    font-weight:900;
  }
  .np-kcm-product-page .np-kcm-profile-price span{
    color:#f05b3d;
    font-size:11px;
    font-weight:900;
  }
  .np-kcm-product-page .np-kcm-profile-order-btn,
  .np-kcm-product-page .np-kcm-profile-order-disabled{
    width:100%;
    min-height:48px;
    height:48px;
    padding:0 18px;
    border-radius:11px;
    font-size:13px;
    font-weight:900;
  }
  .np-kcm-product-page .np-kcm-profile-order-btn{
    box-shadow:0 8px 18px rgba(255,94,61,.16);
  }
  .np-kcm-product-page .np-kcm-profile-note{
    grid-column:1/-1;
    margin:0;
    padding:0 2px;
    color:#8b94a2;
    font-size:10.5px;
    line-height:1.45;
  }

  /* Alt bilgi: desktopta da tek premium sekmeli kart */
  .np-kcm-product-page .np-kcm-profile-details.np-kcm-profile-tabs{
    margin:18px 0 0;
    padding:0;
    border:1px solid #e9edf2;
    border-radius:18px;
    background:#fff;
    box-shadow:0 10px 28px rgba(17,24,39,.04);
    overflow:hidden;
  }
  .np-kcm-product-page .np-kcm-profile-tabs-head{
    display:flex;
    align-items:center;
    gap:4px;
    min-height:58px;
    padding:7px 8px;
    border-bottom:1px solid #eceff3;
    background:#fafbfc;
  }
  .np-kcm-product-page .np-kcm-profile-tab{
    min-width:160px;
    min-height:42px;
    padding:0 18px;
    border-radius:11px;
    color:#727c8d;
    font-size:12px;
    font-weight:900;
    text-align:center;
  }
  .np-kcm-product-page .np-kcm-profile-tab:hover{
    color:#f05a3c;
    background:#fff7f4;
  }
  .np-kcm-product-page .np-kcm-profile-tab.is-active{
    color:#f05a3c;
    background:#fff3ef;
    box-shadow:inset 0 0 0 1px #ffd4ca;
  }
  .np-kcm-product-page .np-kcm-profile-tabs [data-tab-panel]{display:none;}
  .np-kcm-product-page .np-kcm-profile-tabs [data-tab-panel].is-active{display:block;}
  .np-kcm-product-page .np-kcm-profile-tabs-body{background:#fff;}
  .np-kcm-product-page .np-kcm-profile-details .np-kcm-profile-section{
    margin:0;
    padding:24px 26px 26px;
    border:0;
    border-radius:0;
    background:transparent;
    box-shadow:none;
  }
  .np-kcm-product-page .np-kcm-profile-details .np-kcm-profile-section+.np-kcm-profile-section{
    margin-top:0;
    border-top:0;
  }
  .np-kcm-product-page .np-kcm-profile-details .np-kcm-profile-section .np-kcm-eyebrow{
    margin:0 0 5px;
    color:#f05a3c;
    font-size:9px;
    font-weight:900;
    letter-spacing:.06em;
  }
  .np-kcm-product-page .np-kcm-profile-details .np-kcm-profile-section h2{
    margin:0 0 10px;
    color:#202838;
    font-size:18px;
    line-height:1.3;
    font-weight:900;
    letter-spacing:-.02em;
  }
  .np-kcm-product-page .np-kcm-profile-details .np-kcm-profile-text{
    max-width:1030px;
    color:#5d687a;
    font-size:13.5px;
    line-height:1.75;
  }
  .np-kcm-product-page .np-kcm-profile-terms-note{
    display:inline-block;
    margin:14px 0 0;
    padding:9px 12px;
    border:1px solid #ffe1da;
    border-radius:9px;
    background:#fff8f6;
    color:#8f6257;
    font-size:10.5px;
    line-height:1.45;
  }

  /* Footer'a giderken gereksiz boşluk oluşmasın */
  .np-kcm-product-page .np-kcm-profile-details:last-child{margin-bottom:0;}
}

@media (min-width:992px) and (max-width:1199.98px){
  .np-kcm-product-page .np-kcm-content>.container,
  .np-kcm-product-page .breadcrumb-nav.np-kcm-desktop .container{max-width:960px;}
  .np-kcm-product-page .np-kcm-profile-card{
    grid-template-columns:330px minmax(0,1fr);
    gap:25px;
    padding:19px;
  }
  .np-kcm-product-page .np-kcm-profile-image-wrap,
  .np-kcm-product-page .np-kcm-profile-noimage{
    min-height:315px;
    max-height:335px;
  }
  .np-kcm-product-page .np-kcm-profile-copy h1{font-size:27px;}
  .np-kcm-product-page .np-kcm-profile-buybox{grid-template-columns:minmax(190px,auto) 180px;}
}

/* RC1.10D.1 — desktop üst alan sadeleştirme */
.np-kcm-desktop-context{display:none;}
@media (min-width:992px){
  /* Mobil başlık desktopta asla görünmesin. Baz tema kuralları override etse de gizle. */
  .np-kcm-product-page .np-kcm-mobile-head{
    display:none!important;
  }

  /* Eski ayrı breadcrumb şeridi kaldırıldı; breadcrumb tek aksiyon satırına taşındı. */
  .np-kcm-product-page .breadcrumb-nav.np-kcm-desktop{
    display:none!important;
  }

  .np-kcm-product-page .np-kcm-content{
    padding-top:16px;
  }

  /* Market'e dön | breadcrumb | Siparişlerim — tek, sakin desktop satırı */
  .np-kcm-product-page .np-kcm-profile-nav{
    min-height:44px;
    margin:0 0 12px;
    display:grid;
    grid-template-columns:auto minmax(0,1fr) auto;
    align-items:center;
    gap:18px;
  }
  .np-kcm-product-page .np-kcm-profile-nav>a{
    min-height:36px;
    padding:0 13px;
    border-color:#e4e8ed;
    border-radius:9px;
    box-shadow:none;
    white-space:nowrap;
  }
  .np-kcm-product-page .np-kcm-profile-nav>a:hover{
    box-shadow:none;
  }
  .np-kcm-product-page .np-kcm-desktop-context{
    min-width:0;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    color:#9aa2ae;
    font-size:11px;
    line-height:1.2;
    white-space:nowrap;
    overflow:hidden;
  }
  .np-kcm-product-page .np-kcm-desktop-context a,
  .np-kcm-product-page .np-kcm-desktop-context strong{
    min-height:0;
    padding:0;
    border:0;
    border-radius:0;
    background:transparent;
    box-shadow:none;
    color:#7b8491;
    font-size:11px;
    font-weight:700;
    text-decoration:none;
    overflow:hidden;
    text-overflow:ellipsis;
  }
  .np-kcm-product-page .np-kcm-desktop-context a:hover{
    color:#ef5b3d;
    background:transparent;
  }
  .np-kcm-product-page .np-kcm-desktop-context strong{
    color:#343d4b;
    font-weight:900;
  }
  .np-kcm-product-page .np-kcm-desktop-context span{
    flex:0 0 auto;
    color:#c3c8cf;
  }

  /* Ürün kartı üst satıra daha yakın başlasın; katman hissi azalsın. */
  .np-kcm-product-page .np-kcm-profile-card{
    margin-top:0;
  }
}

/* RC1.10D.2 — desktop üst navigasyon ve Siparişlerim yerleşimi */
@media (min-width:992px){
  /* Desktop üst satırda sadece breadcrumb kalır. */
  .np-kcm-product-page .np-kcm-profile-nav{
    min-height:32px;
    margin:0 0 10px;
    display:flex;
    align-items:center;
    justify-content:flex-start;
    gap:0;
  }
  .np-kcm-product-page .np-kcm-profile-nav>.np-kcm-profile-back,
  .np-kcm-product-page .np-kcm-profile-nav>.np-kcm-profile-orders{
    display:none!important;
  }
  .np-kcm-product-page .np-kcm-desktop-context{
    width:100%;
    justify-content:flex-start;
    gap:8px;
    padding:0 2px;
  }

  /* Siparişlerim, ana ürün kartının sağ üst aksiyonu. */
  .np-kcm-product-page .np-kcm-profile-card{
    position:relative;
  }
  .np-kcm-product-page .np-kcm-profile-orders-card{
    position:absolute;
    z-index:2;
    top:18px;
    right:18px;
    min-height:36px;
    align-items:center;
    justify-content:center;
    padding:0 14px;
    border:1px solid #e4e8ed;
    border-radius:10px;
    background:#fff;
    color:#3f4a5a;
    font-size:12px;
    line-height:1;
    font-weight:900;
    text-decoration:none;
    box-shadow:0 4px 14px rgba(17,24,39,.045);
    transition:border-color .16s ease,background-color .16s ease,color .16s ease,box-shadow .16s ease;
  }
  .np-kcm-product-page .np-kcm-profile-orders-card:hover{
    border-color:#ffc9bd;
    background:#fff8f5;
    color:#ef5b3d;
    box-shadow:0 6px 18px rgba(17,24,39,.06);
  }

  /* Uzun ürün başlığı Siparişlerim aksiyonuyla çakışmasın. */
  .np-kcm-product-page .np-kcm-profile-copy{
    padding-top:7px;
  }
  .np-kcm-product-page .np-kcm-profile-copy>h1,
  .np-kcm-product-page .np-kcm-profile-copy>.np-kcm-eyebrow{
    max-width:calc(100% - 132px);
  }
}

@media (min-width:992px) and (max-width:1199.98px){
  .np-kcm-product-page .np-kcm-profile-orders-card{
    top:16px;
    right:16px;
  }
  .np-kcm-product-page .np-kcm-profile-copy>h1,
  .np-kcm-product-page .np-kcm-profile-copy>.np-kcm-eyebrow{
    max-width:calc(100% - 122px);
  }
}

/* RC1.10D.3 — desktop satın alma bandı alt hizalama */
@media (min-width:992px){
  /* Sağ kolon, sol ürün görselinin yüksekliğini dengeli kullanır. */
  .np-kcm-product-page .np-kcm-profile-copy{
    min-height:100%;
  }

  /* Marka/teslim/stok sonrasında kalan boşluk satın alma alanının üstünde toplanır;
     nPuan + Sipariş Oluştur bandı kartın altına oturur. */
  .np-kcm-product-page .np-kcm-profile-buybox{
    margin-top:auto;
    margin-bottom:0;
  }

  /* Açıklama satın alma bandının hemen altında kompakt kalır. */
  .np-kcm-product-page .np-kcm-profile-note{
    margin-top:7px;
    margin-bottom:0;
  }
}


/* RC1.10D.4 — desktop pasif sipariş aksiyonu: buton değil, durum bildirimi */
@media (min-width:992px){
  .np-kcm-product-page .np-kcm-profile-order-disabled{
    position:relative;
    width:100%;
    min-height:48px;
    height:auto;
    padding:11px 14px 11px 43px;
    display:flex;
    align-items:center;
    justify-content:flex-start;
    border:1px solid #ffd0c4;
    border-radius:12px;
    background:linear-gradient(135deg,#fff7f3 0%,#fffaf8 100%);
    color:#c9462d;
    box-shadow:none;
    font-size:12.5px;
    line-height:1.35;
    font-weight:850;
    text-align:left;
    cursor:default;
    user-select:none;
  }
  .np-kcm-product-page .np-kcm-profile-order-disabled::before{
    content:"!";
    position:absolute;
    left:13px;
    top:50%;
    transform:translateY(-50%);
    width:20px;
    height:20px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:50%;
    background:#ffe4dc;
    color:#e65336;
    font-size:12px;
    line-height:1;
    font-weight:900;
  }
}
