/* Noor Naksha v1.11.10 — focused live-UAT corrections. */

/* --------------------------------------------------------------------------
 * UAT-67 — shared breadcrumb visibility/readability.
 * Desktop follows the saved main-menu font size; mobile remains compact but
 * clearly readable. Single Product stays on the already-approved relationship.
 * -------------------------------------------------------------------------- */
@media (min-width:721px){
  body.woocommerce .woocommerce-breadcrumb,
  .nn-shop-breadcrumb-v18,
  .nn-shop-breadcrumb-v18 .woocommerce-breadcrumb,
  .nn-v19-order-breadcrumb,
  .nn-v19-order-breadcrumb .woocommerce-breadcrumb,
  .nn-lost-breadcrumb-v1112{
    font-size:var(--nn-v11110-breadcrumb-size,14px)!important;
    line-height:1.55!important;
    font-weight:500!important;
    color:#665f54!important;
    opacity:1!important;
  }
  .nn-shop-breadcrumb-v18 a,
  .nn-v19-order-breadcrumb a,
  .nn-lost-breadcrumb-v1112 a,
  body.woocommerce .woocommerce-breadcrumb a{
    color:#5e675f!important;
    opacity:1!important;
    text-decoration:none!important;
  }
  .nn-shop-breadcrumb-v18 span,
  .nn-v19-order-breadcrumb span,
  .nn-lost-breadcrumb-v1112 span{
    color:#a47b3b!important;
  }
}
@media (max-width:720px){
  body.woocommerce .woocommerce-breadcrumb,
  .nn-shop-breadcrumb-v18,
  .nn-shop-breadcrumb-v18 .woocommerce-breadcrumb,
  .nn-v19-order-breadcrumb,
  .nn-v19-order-breadcrumb .woocommerce-breadcrumb,
  .nn-lost-breadcrumb-v1112{
    font-size:12px!important;
    line-height:1.5!important;
    color:#665f54!important;
    opacity:1!important;
  }
}

/* --------------------------------------------------------------------------
 * UAT-68 / UAT-70 — Shop category rail geometry + visibility + hover.
 * Exactly full cards fit the viewport (5 on wide desktop, 4 on smaller
 * desktop/tablet landscape); overflow becomes a carousel with no half card at
 * the resting edge. Hover remains animated without changing outer geometry.
 * -------------------------------------------------------------------------- */
@media (min-width:901px){
  .nn-shop-categories-v18{
    position:relative!important;
    padding-inline:44px!important;
    margin-bottom:20px!important;
    box-sizing:border-box!important;
  }
  .nn-shop-category-viewport-v18{
    overflow:hidden!important;
    padding:5px 0 8px!important;
    box-sizing:border-box!important;
  }
  .nn-shop-category-track-v18,
  .nn-shop-category-track-v18.is-static-v182{
    display:flex!important;
    justify-content:flex-start!important;
    align-items:stretch!important;
    max-width:none!important;
    width:100%!important;
    margin:0!important;
    padding:0!important;
    gap:12px!important;
    overflow-x:auto!important;
    overflow-y:visible!important;
    scroll-snap-type:x mandatory!important;
    scroll-padding-inline:0!important;
    scrollbar-width:none!important;
  }
  .nn-shop-category-track-v18::-webkit-scrollbar{display:none!important}
  .nn-shop-category-card-v18,
  .nn-shop-category-style-chips .nn-shop-category-card-v18{
    flex:0 0 calc((100% - 48px)/5)!important;
    width:auto!important;
    min-width:0!important;
    max-width:none!important;
    height:74px!important;
    min-height:74px!important;
    margin:0!important;
    padding:8px 11px 8px 8px!important;
    border:1px solid #e7dac8!important;
    border-radius:11px!important;
    background:#fffdf8!important;
    box-sizing:border-box!important;
    display:grid!important;
    grid-template-columns:54px minmax(0,1fr)!important;
    grid-template-rows:minmax(0,1fr) auto!important;
    column-gap:10px!important;
    row-gap:2px!important;
    align-items:center!important;
    align-content:center!important;
    text-align:left!important;
    overflow:hidden!important;
    scroll-snap-align:start!important;
    transform:translate3d(0,0,0)!important;
    box-shadow:0 4px 14px rgba(21,55,45,.025)!important;
    transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease,background-color .18s ease!important;
  }
  .nn-shop-category-card-v18:hover{
    border-color:#c58a2c!important;
    background:#fffaf1!important;
    transform:translate3d(0,-2px,0)!important;
    box-shadow:0 9px 20px rgba(21,55,45,.075)!important;
  }
  .nn-shop-category-card-v18.is-active{
    border-color:#c58a2c!important;
    background:#fff7e9!important;
    transform:translate3d(0,0,0)!important;
    box-shadow:0 5px 16px rgba(21,55,45,.045)!important;
  }
  .nn-shop-category-card-v18.is-active:hover{
    transform:translate3d(0,-2px,0)!important;
    box-shadow:0 9px 20px rgba(21,55,45,.075)!important;
  }
  .nn-shop-category-card-v18 .nn-shop-category-art-v18,
  .nn-shop-category-style-chips .nn-shop-category-art-v18{
    grid-column:1!important;
    grid-row:1/3!important;
    width:54px!important;
    height:54px!important;
    min-width:54px!important;
    margin:0!important;
    border-radius:8px!important;
    align-self:center!important;
  }
  .nn-shop-category-card-v18 strong{
    grid-column:2!important;
    display:-webkit-box!important;
    -webkit-box-orient:vertical!important;
    -webkit-line-clamp:2!important;
    overflow:hidden!important;
    margin:0!important;
    font-size:13px!important;
    line-height:1.22!important;
    font-weight:750!important;
    color:#173c32!important;
    align-self:end!important;
    overflow-wrap:anywhere!important;
  }
  .nn-shop-category-card-v18 small{
    grid-column:2!important;
    display:block!important;
    margin:0!important;
    font-size:10.5px!important;
    line-height:1.25!important;
    color:#766f65!important;
    align-self:start!important;
  }
  .nn-shop-category-card-v18.is-all strong{
    grid-row:1/3!important;
    align-self:center!important;
  }
  .nn-shop-cat-arrow-v18{
    top:50%!important;
    width:36px!important;
    height:36px!important;
    margin:0!important;
    border:1px solid #decfb9!important;
    background:#fffdf8!important;
    color:#174237!important;
    box-shadow:0 6px 16px rgba(21,55,45,.09)!important;
    transform:translateY(-50%) scale(1)!important;
    translate:none!important;
    transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease!important;
  }
  .nn-shop-cat-arrow-v18:hover{
    border-color:#c58a2c!important;
    transform:translateY(-50%) scale(1.05)!important;
    box-shadow:0 8px 18px rgba(21,55,45,.12)!important;
  }
  .nn-shop-cat-prev-v18{left:4px!important}
  .nn-shop-cat-next-v18{right:4px!important}
}
@media (min-width:901px) and (max-width:1180px){
  .nn-shop-category-card-v18,
  .nn-shop-category-style-chips .nn-shop-category-card-v18{
    flex-basis:calc((100% - 36px)/4)!important;
  }
}

/* --------------------------------------------------------------------------
 * UAT-69 — Shop toolbar/filter text visibility. Layout and filtering logic are
 * unchanged; only readable type, contrast and control rhythm are strengthened.
 * -------------------------------------------------------------------------- */
@media (min-width:721px){
  .nn-shop-search-form-v18 input[type=search]{
    font-size:14.5px!important;
    line-height:1.4!important;
    color:#263f36!important;
  }
  .nn-shop-search-form-v18 input[type=search]::placeholder{
    color:#6d756f!important;
    opacity:1!important;
  }
  .nn-shop-search-submit-v18,
  .nn-shop-filter-button-v18,
  .nn-shop-sort-v18 select{
    font-size:13px!important;
    line-height:1.25!important;
  }
  .nn-shop-count-v18,
  .nn-shop-count-v18 .woocommerce-result-count{
    font-size:12.5px!important;
    line-height:1.35!important;
    color:#625f57!important;
  }
  .nn-shop-filter-form-v18{padding:17px!important}
  .nn-shop-filter-form-v18 legend{
    font-size:13px!important;
    line-height:1.35!important;
    color:#183d32!important;
    margin-bottom:10px!important;
  }
  .nn-shop-filter-form-v18 label{
    gap:9px!important;
    margin:9px 0!important;
    font-size:13px!important;
    line-height:1.4!important;
    color:#3d514a!important;
  }
  .nn-shop-filter-form-v18 input[type=checkbox],
  .nn-shop-filter-form-v18 input[type=radio]{
    width:15px!important;
    height:15px!important;
    flex:0 0 15px!important;
  }
  .nn-shop-price-fields-v18 label span{
    font-size:11.5px!important;
    line-height:1.35!important;
    color:#6f6a61!important;
  }
  .nn-shop-filter-reset-v18,
  .nn-shop-filter-actions-v18 button{
    font-size:12.5px!important;
  }
}

/* --------------------------------------------------------------------------
 * UAT-71 / UAT-72 — Reset confirmation icon cleanup.
 * Keep the approved card geometry; remove only the decorative stars and the
 * secondary Homepage icon requested by the owner.
 * -------------------------------------------------------------------------- */
.nn-reset-confirm-icon-v1119:before,
.nn-reset-confirm-icon-v1119:after{content:none!important;display:none!important}
.nn-reset-confirm-secondary-v1119 .nn-reset-home-icon-v11110{display:none!important}
