/*
 * AdeptDEV × NANU Market — Product key specs hard containment v763
 * Keeps the legacy filename because footer.twig already loads it.
 * Internal signature: AdeptDEV — https://t.me/adeptdevs
 */

@media (min-width:1200px){
  #product-product.adeptdev-product-premium .product-shorts .spec-block{
    display:grid!important;
    grid-template-columns:repeat(5,minmax(0,1fr))!important;
    gap:10px!important;
    min-width:0!important;
  }

  #product-product.adeptdev-product-premium .product-shorts .spec-block>p,
  #product-product.adeptdev-product-premium .product-shorts .spec-block>p:nth-of-type(5){
    width:100%!important;
    min-width:0!important;
    max-width:100%!important;
    min-height:104px!important;
    height:auto!important;
    margin:0!important;
    padding:12px 9px!important;
    box-sizing:border-box!important;
    display:grid!important;
    grid-template-columns:28px minmax(0,1fr)!important;
    grid-template-rows:auto auto!important;
    column-gap:8px!important;
    row-gap:5px!important;
    align-content:center!important;
    align-items:center!important;
    overflow:hidden!important;
    contain:paint!important;
  }

  #product-product.adeptdev-product-premium .product-shorts .spec-block>p::before{
    width:28px!important;
    height:28px!important;
    background-size:15px 15px!important;
    grid-column:1!important;
    grid-row:1 / 3!important;
    align-self:center!important;
  }

  #product-product.adeptdev-product-premium .product-shorts .spec-block>p span:first-child,
  #product-product.adeptdev-product-premium .product-shorts .spec-block>p span:last-child{
    min-width:0!important;
    max-width:100%!important;
    box-sizing:border-box!important;
    position:static!important;
    inset:auto!important;
    transform:none!important;
    text-align:left!important;
  }

  #product-product.adeptdev-product-premium .product-shorts .spec-block>p span:first-child{
    grid-column:2!important;
    grid-row:1!important;
    display:block!important;
    width:100%!important;
    margin:0!important;
    padding:0!important;
    color:#6e6660!important;
    font-size:9px!important;
    line-height:1.18!important;
    font-weight:650!important;
    letter-spacing:-.005em!important;
    white-space:normal!important;
    overflow:hidden!important;
    text-overflow:clip!important;
    overflow-wrap:anywhere!important;
    word-break:normal!important;
    -webkit-line-clamp:unset!important;
  }

  #product-product.adeptdev-product-premium .product-shorts .spec-block>p span:last-child{
    grid-column:2!important;
    grid-row:2!important;
    display:-webkit-box!important;
    width:100%!important;
    margin:0!important;
    padding:0!important;
    color:#2f2d2c!important;
    font-size:14px!important;
    line-height:1.1!important;
    font-weight:900!important;
    letter-spacing:-.016em!important;
    white-space:normal!important;
    overflow:hidden!important;
    text-overflow:clip!important;
    overflow-wrap:anywhere!important;
    word-break:break-word!important;
    -webkit-box-orient:vertical!important;
    -webkit-line-clamp:2!important;
    line-clamp:2!important;
  }
}

@media (min-width:1200px) and (max-width:1365px){
  #product-product.adeptdev-product-premium .product-shorts .spec-block{gap:8px!important}
  #product-product.adeptdev-product-premium .product-shorts .spec-block>p,
  #product-product.adeptdev-product-premium .product-shorts .spec-block>p:nth-of-type(5){
    min-height:106px!important;
    padding:11px 8px!important;
    grid-template-columns:25px minmax(0,1fr)!important;
    column-gap:6px!important;
  }
  #product-product.adeptdev-product-premium .product-shorts .spec-block>p::before{
    width:25px!important;height:25px!important;background-size:13px 13px!important;
  }
  #product-product.adeptdev-product-premium .product-shorts .spec-block>p span:first-child{
    font-size:8.25px!important;line-height:1.15!important;
  }
  #product-product.adeptdev-product-premium .product-shorts .spec-block>p span:last-child{
    font-size:13px!important;line-height:1.12!important;letter-spacing:-.02em!important;
  }
}

@media (min-width:768px) and (max-width:1199px){
  #product-product.adeptdev-product-premium .product-shorts .spec-block>p{
    min-width:0!important;max-width:100%!important;overflow:hidden!important;contain:paint!important;
  }
  #product-product.adeptdev-product-premium .product-shorts .spec-block>p span:first-child,
  #product-product.adeptdev-product-premium .product-shorts .spec-block>p span:last-child{
    min-width:0!important;max-width:100%!important;white-space:normal!important;overflow:hidden!important;overflow-wrap:anywhere!important;
  }
}

@media (max-width:767px){
  #product-product.adeptdev-product-premium .product-shorts .spec-block>p{
    min-width:0!important;max-width:100%!important;overflow:hidden!important;contain:paint!important;
  }
  #product-product.adeptdev-product-premium .product-shorts .spec-block>p span:first-child,
  #product-product.adeptdev-product-premium .product-shorts .spec-block>p span:last-child{
    min-width:0!important;max-width:100%!important;white-space:normal!important;overflow:hidden!important;overflow-wrap:anywhere!important;word-break:break-word!important;
  }
}

body.nx-dark #product-product.adeptdev-product-premium .product-shorts .spec-block>p span:first-child,
html.nx-theme-dark-root #product-product.adeptdev-product-premium .product-shorts .spec-block>p span:first-child{color:#cfc6bf!important}
body.nx-dark #product-product.adeptdev-product-premium .product-shorts .spec-block>p span:last-child,
html.nx-theme-dark-root #product-product.adeptdev-product-premium .product-shorts .spec-block>p span:last-child{color:#fff!important}
