/* Noor Naksha v1.10.0 - turnkey pages, account registration, Custom Order UAT fixes, footer/mobile/shop refinements. */

/* ---------------- Custom Order final UAT ---------------- */
.nn-v19-order-steps-section{display:none!important}
.nn-v19-order-hero>.nn-shell,.nn-v19-order-hero-inner{width:min(var(--nn-container,1280px),calc(100% - 48px))!important;margin-inline:auto!important}
.nn-v19-order-hero-copy{width:min(660px,48%)!important;max-width:660px!important}
.nn-v19-order-hero h1{max-width:650px!important}
.nn-v19-order-form-section{padding-top:26px!important}
.nn-v19-order-upload{grid-template-columns:48px minmax(0,1fr)!important;justify-items:start!important}
.nn-v19-order-file-button{grid-column:1/-1!important;justify-self:center!important;min-width:180px!important;margin-top:2px!important}
.nn-v19-order-file-name{grid-column:1/-1!important;justify-self:center!important;text-align:center!important;max-width:80%!important}

/* ---------------- Navigation dropdown full fill ---------------- */
.nn-nav-list .sub-menu{padding:0!important;background:var(--nn-v19-dropdown-bg)!important;overflow:hidden!important}
.nn-nav-list .sub-menu>li,.nn-nav-list .sub-menu>li>a{background:transparent!important}
.nn-nav-list .sub-menu>li>a{margin:0!important;border-radius:0!important}

/* ---------------- Shop category navigation: compact premium rail ---------------- */
.nn-shop-categories-v18{margin:0 0 14px!important}
.nn-shop-category-viewport-v18{padding:0!important}
.nn-shop-category-track-v18{gap:10px!important;align-items:stretch!important}
.nn-shop-category-card-v18{
  flex:0 0 178px!important;min-width:178px!important;max-width:178px!important;min-height:68px!important;
  display:grid!important;grid-template-columns:56px minmax(0,1fr)!important;grid-template-rows:auto auto!important;
  align-items:center!important;text-align:left!important;gap:2px 10px!important;padding:6px 10px 6px 6px!important;
  border-radius:11px!important;background:#fffdf8!important;box-shadow:none!important
}
.nn-shop-category-art-v18{grid-row:1/3!important;width:56px!important;height:56px!important;border-radius:8px!important}
.nn-shop-category-card-v18 strong{font-size:11px!important;line-height:1.2!important;align-self:end!important}
.nn-shop-category-card-v18 small{font-size:9px!important;align-self:start!important}
.nn-shop-category-card-v18.is-all{background:#f3eadc!important}
.nn-shop-category-card-v18.is-all .nn-shop-category-art-v18{background:rgba(255,255,255,.55)!important}
.nn-shop-category-track-v18.is-static-v182{justify-content:center!important;max-width:760px!important;margin-inline:auto!important}
.nn-shop-categories-v18.is-static-v182 .nn-shop-cat-arrow-v18{display:none!important}

/* ---------------- Footer final structure ---------------- */
.nn-newsletter{display:none!important}
.nn-footer-grid{grid-template-columns:1.45fr 1fr 1fr 1.05fr!important;align-items:start!important}
.nn-footer-bottom-left{display:flex;align-items:center;gap:14px;min-width:0;flex-wrap:wrap}
.nn-footer-dev-credit-v110{font-size:var(--nn-v110-dev-size);color:var(--nn-v110-dev-color)}
.nn-footer-dev-credit-v110 a{color:var(--nn-v110-dev-link);font-weight:700;text-decoration:none}
.nn-footer-dev-credit-v110 a:hover{color:var(--nn-v110-dev-hover)}

/* ---------------- Mobile search sheet + approved dock ---------------- */
@media(max-width:720px){
  .nn-mobile-bottom-nav-v183{grid-template-columns:repeat(5,minmax(0,1fr))!important}
  .nn-mobile-bottom-search-v110{order:3!important}
  .nn-v19-mobile-search-sheet{
    left:10px!important;right:10px!important;bottom:calc(64px + env(safe-area-inset-bottom))!important;
    max-height:none!important;height:auto!important;overflow:visible!important;border-radius:16px!important;padding:14px!important;
  }
  .nn-v19-mobile-search-body{padding-top:10px!important}
  .nn-v19-mobile-search-sheet .nn-shop-live-search-v18{position:relative!important}
  .nn-v19-mobile-search-sheet .nn-shop-search-results-v18{
    position:relative!important;left:auto!important;right:auto!important;top:auto!important;margin-top:8px!important;
    max-height:280px!important;overflow-y:auto!important;border-radius:10px!important
  }
  .nn-v19-mobile-search-body>p{display:none!important}

  .nn-v19-order-hero>.nn-shell,.nn-v19-order-hero-inner{width:calc(100% - 28px)!important}
  .nn-v19-order-hero-copy{width:100%!important;max-width:none!important;padding-top:150px!important}
  .nn-v19-order-upload{grid-template-columns:1fr!important;text-align:center!important;justify-items:center!important}
  .nn-v19-order-upload-icon{justify-self:center!important}
  .nn-v19-order-upload>span:nth-child(2){text-align:center!important}
  .nn-v19-order-file-button{width:min(220px,100%)!important}
  .nn-v19-order-file-name{max-width:100%!important}

  .nn-footer-grid{display:grid!important;grid-template-columns:1fr 1fr!important;gap:26px 20px!important}
  .nn-footer-brand{grid-column:1/-1!important;align-items:flex-start!important;text-align:left!important;justify-self:stretch!important;width:100%!important;max-width:none!important}
  .nn-footer-brand .nn-footer-logo-link,.nn-footer-brand .nn-footer-tagline,.nn-footer-brand .nn-footer-brand-contact{align-self:flex-start!important;text-align:left!important;margin-left:0!important;margin-right:0!important}
  .nn-footer-connect{grid-column:1/-1!important}
  .nn-footer-bottom{display:grid!important;grid-template-columns:1fr!important;gap:8px!important;text-align:left!important}
  .nn-footer-bottom-left{display:grid!important;gap:5px!important}
  .nn-footer-motto{justify-self:start!important}

  .nn-shop-category-track-v18.is-static-v182{justify-content:flex-start!important;max-width:none!important;margin:0!important;overflow-x:auto!important}
  .nn-shop-category-card-v18{flex-basis:154px!important;min-width:154px!important;max-width:154px!important;grid-template-columns:48px minmax(0,1fr)!important;min-height:60px!important;padding:6px!important}
  .nn-shop-category-art-v18{width:48px!important;height:48px!important}
}

@media(max-width:420px){
  .nn-footer-grid{grid-template-columns:1fr 1fr!important;gap:22px 14px!important}
  .nn-footer-column h3{font-size:12px!important}
  .nn-footer-links a,.nn-footer-contact{font-size:11px!important}
}

/* ---------------- Turnkey starter pages ---------------- */
body.nn-v110-starter-page .nn-entry-header{display:none!important}
body.nn-v110-starter-page .nn-entry{margin:0!important;padding:0!important;max-width:none!important}
body.nn-v110-starter-page .nn-entry-content{margin:0!important}
body.nn-v110-starter-page .nn-content-main>.nn-shell{width:100%!important;max-width:none!important;padding:0!important}
.nn-v110-page-hero{padding:58px 0 48px;background:linear-gradient(120deg,#fff8ed,#ead9bd);color:var(--nn-v110-text)}
.nn-v110-page-eyebrow{margin:0 0 10px;text-transform:uppercase;letter-spacing:.25em;font-size:11px;font-weight:800;color:var(--nn-gold)}
.nn-v110-page-hero h1{font-family:var(--nn-serif);font-size:var(--nn-v110-heading-size);line-height:.98;color:var(--nn-v110-heading);margin:0 0 14px;max-width:850px}
.nn-v110-page-hero>div>p:last-child{max-width:760px;margin:0;font-size:16px;line-height:1.65}
.nn-v110-info-section,.nn-v110-contact-section,.nn-v110-faq,.nn-v110-policy{padding:46px 0 64px;background:var(--nn-v110-page-bg);color:var(--nn-v110-text)}
.nn-v110-info-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.nn-v110-info-grid article,.nn-v110-policy-card,.nn-v110-contact-cards>*{background:var(--nn-v110-surface);border:1px solid #eadfce;border-radius:14px;padding:24px}
.nn-v110-info-grid h2,.nn-v110-policy-card h2{font-family:var(--nn-serif);font-size:28px;color:var(--nn-v110-heading);margin:0 0 10px}
.nn-v110-info-grid p,.nn-v110-policy-card p{line-height:1.7;margin:0 0 18px}
.nn-v110-contact-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-bottom:24px}
.nn-v110-contact-cards>*{display:grid;grid-template-columns:36px 1fr;grid-template-rows:auto auto;gap:2px 10px;color:var(--nn-v110-text);text-decoration:none}
.nn-v110-contact-cards span{grid-row:1/3;width:36px;height:36px;display:grid;place-items:center;color:var(--nn-gold)}
.nn-v110-contact-cards .nn-icon{width:24px;height:24px}
.nn-v110-contact-cards strong{color:var(--nn-v110-heading)}
.nn-v110-contact-cards small{font-size:12px;line-height:1.45}
.nn-v110-map{border-radius:14px;overflow:hidden;border:1px solid #eadfce;background:#eee}
.nn-v110-map iframe{display:block;width:100%;height:430px;border:0}
.nn-v110-faq .nn-shell{display:grid;gap:10px;max-width:920px}
.nn-v110-faq details{background:var(--nn-v110-surface);border:1px solid #eadfce;border-radius:12px;padding:0 18px}
.nn-v110-faq summary{cursor:pointer;font-weight:800;color:var(--nn-v110-heading);padding:17px 0}
.nn-v110-faq details p{padding:0 0 18px;margin:0;line-height:1.65}
.nn-v110-policy-card{max-width:920px;margin:auto}
.nn-v110-policy-note{margin-top:28px!important;padding-top:18px;border-top:1px solid #eadfce;font-size:12px;color:#7b6f61}

/* ---------------- WooCommerce account Login + Register ---------------- */
.woocommerce-account #customer_login{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:26px;align-items:start}
.woocommerce-account #customer_login>div{background:#fffdf8;border:1px solid #e7dbc9;border-radius:14px;padding:24px}
.woocommerce-account #customer_login h2{font-family:var(--nn-serif);font-size:34px;color:var(--nn-green);margin-top:0}
.woocommerce-account #customer_login .input-text{min-height:46px;border-radius:8px!important;border:1px solid #ddd3c5!important;padding:10px 12px!important}
.woocommerce-account #customer_login .woocommerce-button{background:var(--nn-green)!important;color:#fff!important;border-radius:8px!important;padding:12px 18px!important}
.nn-v110-register-consent label{font-size:12px;line-height:1.5}

@media(max-width:760px){
  .nn-v110-page-hero{padding:38px 0 32px}.nn-v110-page-hero h1{font-size:var(--nn-v110-heading-mobile)}
  .nn-v110-info-grid,.nn-v110-contact-cards{grid-template-columns:1fr}
  .nn-v110-map iframe{height:330px}
  .woocommerce-account #customer_login{grid-template-columns:1fr!important;gap:16px!important}
  .woocommerce-account #customer_login>div{padding:18px!important}
}
