/*
 nPuan Market — Koşullar okunabilirlik katmanı RC1
 04.10.2026
 Yalnız sunum/UI. DB, sipariş, stok, nPuan ve koşul verisi değişmez.
*/

/* Koşul sekmesindeki uzun kısa-özet başlığını rahatlat. */
.np-kcm-product-page [data-tab-panel="kosullar"] > h2{
  max-width:1080px;
  margin-bottom:0!important;
  padding-bottom:18px;
  border-bottom:1px solid #edf0f4;
  color:#202838;
  line-height:1.45!important;
}

.np-kcm-terms-rich-host{
  min-width:0;
}

.np-kcm-profile-text.np-kcm-terms-rich-host{
  max-width:none!important;
}

.np-kcm-terms-rich{
  margin-top:18px;
  color:#566274;
}

.np-kcm-terms-group{
  position:relative;
  margin:0;
  padding:0 0 20px 38px;
}

.np-kcm-terms-group + .np-kcm-terms-group{
  padding-top:20px;
  border-top:1px solid #edf0f4;
}

.np-kcm-terms-group:last-child{
  padding-bottom:0;
}

.np-kcm-terms-group-head{
  display:flex;
  align-items:center;
  gap:10px;
  min-height:28px;
  margin:0 0 11px -38px;
}

.np-kcm-terms-group-icon{
  flex:0 0 28px;
  width:28px;
  height:28px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:50%;
  font-size:13px;
  line-height:1;
  font-weight:900;
}

.np-kcm-terms-group-head h3{
  margin:0!important;
  color:#273142!important;
  font-size:14px!important;
  line-height:1.3!important;
  font-weight:900!important;
  letter-spacing:-.01em!important;
}

.np-kcm-terms-list{
  display:grid;
  grid-template-columns:1fr;
  gap:8px;
  margin:0;
  padding:0;
  list-style:none;
}

.np-kcm-terms-list li{
  position:relative;
  margin:0!important;
  padding:0 0 0 17px!important;
  color:#5b6677;
  font-size:13.5px;
  line-height:1.68;
}

.np-kcm-terms-list li::before{
  content:"";
  position:absolute;
  left:1px;
  top:.67em;
  width:5px;
  height:5px;
  border-radius:50%;
  background:#f05a3c;
  box-shadow:0 0 0 3px rgba(240,90,60,.09);
}

.np-kcm-terms-list li strong{
  color:#333d4d;
  font-weight:850;
}

.np-kcm-terms-group.is-rules .np-kcm-terms-group-icon{
  color:#e9573b;
  background:#fff2ee;
  box-shadow:inset 0 0 0 1px #ffd8cf;
}

.np-kcm-terms-group.is-specs .np-kcm-terms-group-icon{
  color:#4267d5;
  background:#f0f4ff;
  box-shadow:inset 0 0 0 1px #dce5ff;
}

.np-kcm-terms-group.is-specs .np-kcm-terms-list{
  grid-template-columns:repeat(2,minmax(0,1fr));
  column-gap:30px;
  row-gap:8px;
}

.np-kcm-terms-group.is-specs .np-kcm-terms-list li::before{
  background:#5576dc;
  box-shadow:0 0 0 3px rgba(85,118,220,.09);
}

.np-kcm-terms-group.is-info{
  padding-left:38px;
}

.np-kcm-terms-group.is-info .np-kcm-terms-group-icon{
  color:#9b6a22;
  background:#fff8e9;
  box-shadow:inset 0 0 0 1px #f6e4b8;
  font-family:Georgia,serif;
  font-style:italic;
}

.np-kcm-terms-group.is-info .np-kcm-terms-list li::before{
  background:#d39a42;
  box-shadow:0 0 0 3px rgba(211,154,66,.10);
}

/* Sipariş adımında aynı yapı daha kompakt çalışsın. */
.np-kcm-order-step .np-kcm-terms-rich{
  margin-top:14px;
}

.np-kcm-order-step .np-kcm-terms-group{
  padding-bottom:17px;
}

.np-kcm-order-step .np-kcm-terms-group + .np-kcm-terms-group{
  padding-top:17px;
}

.np-kcm-order-step .np-kcm-terms-list li{
  font-size:13px;
  line-height:1.64;
}


.np-kcm-product-page [data-tab-panel="kosullar"] .np-kcm-profile-terms-note{
  display:flex!important;
  align-items:flex-start;
  gap:7px;
  margin-top:18px!important;
  padding:10px 12px!important;
  border:1px solid #ffe1da!important;
  border-radius:10px!important;
  background:#fff8f6!important;
  color:#8f6257!important;
  font-size:12px!important;
  line-height:1.5!important;
}
.np-kcm-product-page [data-tab-panel="kosullar"] .np-kcm-profile-terms-note::before{
  content:"i";
  flex:0 0 18px;
  width:18px;
  height:18px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  margin-top:1px;
  border-radius:50%;
  background:#ffe9e2;
  color:#e86549;
  font-family:Georgia,serif;
  font-size:11px;
  font-style:italic;
  font-weight:700;
}

/* Desktop: uzun metin satırı fazla yayılmasın. */
@media (min-width:768px){
  .np-kcm-product-page [data-tab-panel="kosullar"] .np-kcm-terms-rich{
    max-width:1080px;
  }
}

/* Mobil: kart içinde kart yok; tek akış, rahat dokunma/okuma. */
@media (max-width:767.98px){
  .np-kcm-product-page [data-tab-panel="kosullar"] > h2{
    padding-bottom:14px;
    font-size:15px!important;
    line-height:1.42!important;
  }

  .np-kcm-terms-rich{
    margin-top:14px;
  }

  .np-kcm-terms-group{
    padding:0 0 17px 32px;
  }

  .np-kcm-terms-group + .np-kcm-terms-group{
    padding-top:17px;
  }

  .np-kcm-terms-group-head{
    gap:8px;
    min-height:24px;
    margin:0 0 9px -32px;
  }

  .np-kcm-terms-group-icon{
    flex-basis:24px;
    width:24px;
    height:24px;
    font-size:11.5px;
  }

  .np-kcm-terms-group-head h3{
    font-size:13.5px!important;
  }

  .np-kcm-terms-list{
    gap:8px;
  }

  .np-kcm-terms-list li,
  .np-kcm-order-step .np-kcm-terms-list li{
    padding-left:15px!important;
    font-size:13px!important;
    line-height:1.64!important;
  }

  .np-kcm-terms-list li::before{
    left:0;
    width:4px;
    height:4px;
  }

  .np-kcm-terms-group.is-specs .np-kcm-terms-list{
    grid-template-columns:1fr;
    gap:8px;
  }

  .np-kcm-terms-group.is-info{
    padding-left:32px;
  }
}
