/* Noor Naksha v1.11.9 — live-UAT hardening and locked presentation refinements. */

/* --------------------------------------------------------------------------
 * Single Product typography — actual saved nav size + 2px title relationship.
 * -------------------------------------------------------------------------- */
@media (min-width:901px){
  body.single-product .woocommerce-breadcrumb,
  body.single-product .nn-shop-breadcrumb-v18,
  body.single-product .nn-shop-breadcrumb-v18 .woocommerce-breadcrumb{
    font-size:var(--nn-v1119-breadcrumb-size,14px)!important;
    line-height:1.5!important;
  }
  body.single-product.woocommerce div.product .summary h1.product_title,
  body.single-product.woocommerce div.product .summary .product_title,
  body.single-product .summary h1{
    font-size:var(--nn-v1119-title-size,16px)!important;
    line-height:1.26!important;
    font-weight:700!important;
    margin:0 0 10px!important;
  }
}

/* --------------------------------------------------------------------------
 * Cart: preserve useful variation attributes while removing description/noise.
 * -------------------------------------------------------------------------- */
body.woocommerce-cart:not(.nn-cart-empty-v111) .wc-block-components-product-metadata{
  display:block!important;
  margin:4px 0 9px!important;
  font-size:12px!important;
  line-height:1.45!important;
  color:#5e6d67!important;
}
body.woocommerce-cart:not(.nn-cart-empty-v111) .wc-block-components-product-metadata__description{
  display:none!important;
}
body.woocommerce-cart:not(.nn-cart-empty-v111) .wc-block-components-product-details{
  display:flex!important;
  flex-wrap:wrap!important;
  gap:4px 12px!important;
  margin:0!important;
  padding:0!important;
  list-style:none!important;
}
body.woocommerce-cart:not(.nn-cart-empty-v111) .wc-block-components-product-details li{
  margin:0!important;
  padding:0!important;
  color:#52655d!important;
  font-size:12px!important;
}
body.woocommerce-cart:not(.nn-cart-empty-v111) .wc-block-components-product-details__name{
  font-weight:700!important;
  color:var(--nn-green)!important;
}

/* --------------------------------------------------------------------------
 * Shop category rail — never squeeze/clip real categories on desktop.
 * -------------------------------------------------------------------------- */
@media (min-width:901px){
  .nn-shop-categories-v18{padding-inline:2px!important}
  .nn-shop-category-viewport-v18{overflow:hidden!important;padding:2px!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;
    margin:0!important;
    padding:0 2px 6px!important;
    gap:12px!important;
    overflow-x:auto!important;
    scroll-snap-type:x proximity!important;
  }
  .nn-shop-category-card-v18,
  .nn-shop-category-style-chips .nn-shop-category-card-v18{
    flex:0 0 220px!important;
    width:220px!important;
    min-width:220px!important;
    max-width:220px!important;
    min-height:72px!important;
    grid-template-columns:56px minmax(0,1fr)!important;
    grid-template-rows:auto auto!important;
    gap:3px 10px!important;
    padding:7px 12px 7px 7px!important;
    box-sizing:border-box!important;
    text-align:left!important;
    align-items:center!important;
    overflow:hidden!important;
  }
  .nn-shop-category-card-v18 .nn-shop-category-art-v18,
  .nn-shop-category-style-chips .nn-shop-category-art-v18{
    grid-row:1/3!important;
    width:56px!important;
    height:56px!important;
    min-width:56px!important;
    border-radius:8px!important;
  }
  .nn-shop-category-card-v18 strong{
    display:-webkit-box!important;
    -webkit-box-orient:vertical!important;
    -webkit-line-clamp:2!important;
    overflow:hidden!important;
    font-size:13px!important;
    line-height:1.25!important;
    font-weight:750!important;
    align-self:end!important;
    overflow-wrap:anywhere!important;
  }
  .nn-shop-category-card-v18 small{
    display:block!important;
    font-size:10px!important;
    line-height:1.2!important;
    align-self:start!important;
  }
}

/* --------------------------------------------------------------------------
 * Search no-results modal — locked 3-column desktop category grid.
 * -------------------------------------------------------------------------- */
@media (min-width:721px){
  .nn-search-modal-card-v1113{width:min(780px,calc(100vw - 56px))!important}
  .nn-search-modal-cats-v1113{
    display:grid!important;
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:12px!important;
    align-items:stretch!important;
  }
  .nn-search-modal-cats-v1113 a{
    display:grid!important;
    grid-template-columns:56px minmax(0,1fr)!important;
    align-items:center!important;
    gap:10px!important;
    min-height:76px!important;
    padding:9px!important;
    box-sizing:border-box!important;
    overflow:hidden!important;
  }
  .nn-search-modal-cats-v1113 img{
    width:56px!important;
    height:56px!important;
    min-width:56px!important;
    object-fit:cover!important;
  }
  .nn-search-modal-cats-v1113 a{
    font-size:14px!important;
    line-height:1.3!important;
    overflow-wrap:anywhere!important;
  }
  .nn-search-modal-cats-v1113 a > span{
    display:-webkit-box!important;
    -webkit-box-orient:vertical!important;
    -webkit-line-clamp:2!important;
    overflow:hidden!important;
    font-size:14px!important;
    line-height:1.3!important;
    font-weight:750!important;
  }
}
@media (max-width:720px){
  .nn-search-modal-cats-v1113{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media (max-width:480px){
  .nn-search-modal-cats-v1113{grid-template-columns:1fr!important}
}

/* --------------------------------------------------------------------------
 * Reset Password email-sent confirmation — locked approved visual.
 * -------------------------------------------------------------------------- */

body.nn-reset-sent-v1119 .nn-content-main{padding:0!important}
body.nn-reset-sent-v1119 .nn-content-shell{max-width:none!important;width:100%!important;padding:0!important}
body.nn-reset-sent-v1119 .nn-entry{margin:0!important}
body.nn-reset-sent-v1119 .nn-entry-header{display:none!important}
body.nn-reset-sent-v1119 .nn-entry-content{max-width:none!important;margin:0!important}

body.nn-reset-sent-v1119 .woocommerce-notices-wrapper,
body.nn-reset-sent-v1119 > .woocommerce-message,
body.nn-reset-sent-v1119 .woocommerce > .woocommerce-message{
  display:none!important;
}
.nn-reset-confirm-v1119{color:#183c32;background:#fffdf8}
.nn-reset-confirm-body-v1119{
  max-width:980px;
  margin:0 auto;
  padding:28px 28px 34px;
  display:flex;
  justify-content:center;
}
.nn-reset-confirm-card-v1119{
  width:min(100%,660px);
  border:1px solid #ddc9aa;
  border-radius:12px;
  background:#fffdf8;
  padding:30px 40px 28px;
  text-align:center;
  box-sizing:border-box;
}
.nn-reset-confirm-icon-v1119{
  width:76px;height:76px;border-radius:50%;
  margin:0 auto 18px;
  display:grid;place-items:center;
  background:#e4f3e2;
  position:relative;
}
.nn-reset-confirm-icon-v1119:before,
.nn-reset-confirm-icon-v1119:after{
  content:"✦";position:absolute;color:#c58921;font-size:20px;top:10px;
}
.nn-reset-confirm-icon-v1119:before{left:-22px}.nn-reset-confirm-icon-v1119:after{right:-22px}
.nn-reset-confirm-icon-v1119 span{
  width:38px;height:38px;border-radius:50%;display:grid;place-items:center;
  background:#3aa63e;color:#fff;font-size:24px;font-weight:800;
}
.nn-reset-confirm-card-v1119 h2{
  margin:0 0 10px!important;
  font-family:var(--nn-serif)!important;
  font-size:32px!important;
  line-height:1.15!important;
  color:var(--nn-green)!important;
}
.nn-reset-confirm-card-v1119>p{
  max-width:540px;margin:0 auto 24px!important;
  color:#596963!important;font-size:15px!important;line-height:1.65!important;
}
.nn-reset-confirm-primary-v1119,
.nn-reset-confirm-secondary-v1119{
  min-height:50px;display:flex;align-items:center;justify-content:center;
  width:100%;border-radius:7px;text-decoration:none!important;font-weight:800;
  box-sizing:border-box;
}
.nn-reset-confirm-primary-v1119{background:var(--nn-green);color:#fff!important;border:1px solid var(--nn-green)}
.nn-reset-confirm-secondary-v1119{background:#fffdf8;color:#b57411!important;border:1px solid #c58a2c}
.nn-reset-confirm-or-v1119{display:flex;align-items:center;gap:14px;margin:17px 0;color:#6f746f}
.nn-reset-confirm-or-v1119:before,.nn-reset-confirm-or-v1119:after{content:"";height:1px;background:#e0d4c5;flex:1}
.nn-reset-confirm-or-v1119 span{font-size:13px;padding:0 7px;background:#fffdf8}
@media (max-width:720px){
  .nn-reset-confirm-body-v1119{padding:20px 14px 28px}
  .nn-reset-confirm-card-v1119{padding:26px 20px 24px}
  .nn-reset-confirm-card-v1119 h2{font-size:27px!important}
}

/* --------------------------------------------------------------------------
 * Add-to-Cart success notice — native Woo wrapper, Noor Naksha presentation.
 * -------------------------------------------------------------------------- */
.woocommerce-message.nn-add-cart-notice-shell-v1119{
  margin:0 0 24px!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
  color:inherit!important;
  box-shadow:none!important;
}
.woocommerce-message.nn-add-cart-notice-shell-v1119:before{display:none!important}
.nn-add-cart-success-v1119{
  min-height:64px;
  display:grid;
  grid-template-columns:42px minmax(0,1fr) auto 34px;
  gap:14px;
  align-items:center;
  padding:9px 12px 9px 14px;
  border:1px solid #d6c08d;
  border-radius:12px;
  background:linear-gradient(90deg,#f7fbf6 0%,#fffdf8 72%);
  box-sizing:border-box;
}
.nn-add-cart-success-icon-v1119{
  width:32px;height:32px;border-radius:50%;display:grid;place-items:center;
  background:#12804e;color:#fff;font-size:18px;font-weight:900;
}
.nn-add-cart-success-copy-v1119{min-width:0;display:flex;align-items:baseline;gap:12px;flex-wrap:wrap;text-align:left}
.nn-add-cart-success-copy-v1119 strong{font-size:15px;color:#173f34;white-space:nowrap}
.nn-add-cart-success-copy-v1119 em{font-style:italic;font-weight:650;color:#27463c;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:620px}
.nn-add-cart-view-v1119{
  min-height:42px;padding:0 20px;border-radius:7px;background:var(--nn-green);color:#fff!important;
  display:inline-flex;align-items:center;justify-content:center;gap:9px;text-decoration:none!important;font-weight:800;white-space:nowrap;
}
.nn-add-cart-close-v1119{
  width:32px;height:32px;border:0;background:transparent;color:#87908b;font-size:26px;line-height:1;cursor:pointer;
}
@media (max-width:720px){
  .nn-add-cart-success-v1119{grid-template-columns:36px minmax(0,1fr) 30px;gap:10px;padding:12px}
  .nn-add-cart-success-copy-v1119{display:block}
  .nn-add-cart-success-copy-v1119 strong,.nn-add-cart-success-copy-v1119 em{display:block;white-space:normal;max-width:none}
  .nn-add-cart-success-copy-v1119 em{margin-top:3px;font-size:13px}
  .nn-add-cart-view-v1119{grid-column:1/-1;width:100%;margin-top:2px}
  .nn-add-cart-close-v1119{grid-column:3;grid-row:1}
}
