/*
Theme Name: NSD Mart Commerce
Theme URI: https://nsdmart.in/
Author: NSD Mart
Description: Custom WooCommerce theme for NSD Mart with modern marketplace homepage and shop layout.
Version: 100.42
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: nsdmart
*/

:root{
  --nsd-blue:#071a46;
  --nsd-blue-2:#0c2e72;
  --nsd-orange:#ffad0a;
  --nsd-bg:#f7f8fb;
  --nsd-text:#172033;
  --nsd-border:#e6e9ef;
}
*{box-sizing:border-box}
body{margin:0;font-family:Arial,Helvetica,sans-serif;background:#fff;color:var(--nsd-text)}
a{text-decoration:none;color:inherit}
img{max-width:100%;height:auto}
.nsd-container{width:min(1420px,94%);margin:auto}
.nsd-topbar{background:var(--nsd-blue);color:#fff;font-size:12px}
.nsd-topbar .nsd-container{display:flex;justify-content:space-between;gap:20px;padding:8px 0;flex-wrap:wrap}
.nsd-header-main{background:#fff;border-bottom:1px solid var(--nsd-border)}
.nsd-header-row{display:grid;grid-template-columns:240px 1fr 340px;gap:24px;align-items:center;padding:18px 0}
.nsd-logo{display:flex;align-items:center;gap:10px;font-size:31px;font-weight:800;color:var(--nsd-blue)}
.nsd-logo-bag{width:42px;height:42px;border:3px solid var(--nsd-orange);border-radius:8px;display:grid;place-items:center;color:var(--nsd-orange)}
.nsd-logo span{color:var(--nsd-orange);font-weight:600}
.nsd-search{display:flex;border:1px solid var(--nsd-border);border-radius:7px;overflow:hidden;background:#fff}
.nsd-search select,.nsd-search input{border:0;padding:14px;outline:0}
.nsd-search select{background:#f7f7f8;min-width:150px}
.nsd-search input{flex:1}
.nsd-search button{border:0;background:var(--nsd-orange);padding:0 26px;font-weight:700;cursor:pointer}
.nsd-header-actions{display:flex;justify-content:flex-end;gap:22px;font-size:13px}
.nsd-header-actions div{display:flex;gap:8px;align-items:center}
.nsd-nav{background:var(--nsd-blue);color:#fff}
.nsd-nav .nsd-container{display:flex;align-items:center}
.nsd-allcats{background:var(--nsd-orange);color:#fff;font-weight:700;padding:15px 24px;min-width:220px}
.nsd-menu{display:flex;gap:28px;padding:0 24px;align-items:center;flex:1}
.nsd-menu a{font-size:14px;font-weight:600}
.nsd-whatsapp{background:#0d8f47;padding:15px 20px;font-weight:700}
.nsd-main-wrap{background:var(--nsd-bg);padding:14px 0 0}
.nsd-hero-grid{display:grid;grid-template-columns:220px 1fr;gap:14px}
.nsd-sidebar{background:#fff;border:1px solid var(--nsd-border);border-radius:8px;padding:12px 0}
.nsd-sidebar a{display:block;padding:11px 18px;font-size:14px;border-bottom:1px solid #f3f3f3}
.nsd-hero{min-height:360px;border-radius:10px;padding:50px 60px;background:linear-gradient(90deg,#fffaf3 0%,#fff 46%,#fff1d2 100%);position:relative;overflow:hidden;display:flex;align-items:center}
.nsd-hero-content{position:relative;z-index:2;max-width:520px}
.nsd-kicker{font-size:14px;font-weight:800;color:var(--nsd-blue);letter-spacing:.5px}
.nsd-hero h1{font-size:56px;line-height:1.03;margin:14px 0;color:var(--nsd-blue)}
.nsd-hero h1 span{display:block;color:var(--nsd-orange)}
.nsd-hero p{font-size:17px;line-height:1.7;color:#5c6373}
.nsd-btn{display:inline-block;background:var(--nsd-blue);color:#fff;padding:14px 28px;border-radius:5px;font-weight:700;margin-right:12px}
.nsd-btn.alt{background:transparent;color:var(--nsd-blue)}
.nsd-hero-art{position:absolute;right:4%;bottom:0;width:45%;height:92%;display:flex;align-items:flex-end;justify-content:center}
.nsd-hero-circle{position:absolute;width:330px;height:330px;border-radius:50%;background:var(--nsd-orange);right:8%;top:7%}
.nsd-device{position:relative;z-index:2;width:70%;height:75%;background:linear-gradient(145deg,#dbe5f0,#87a5c2);border-radius:30px 30px 10px 10px;box-shadow:0 18px 35px rgba(0,0,0,.15)}
.nsd-badges{display:grid;grid-template-columns:repeat(5,1fr);gap:12px;padding:20px 0}
.nsd-badge{background:#fff;border:1px solid var(--nsd-border);border-radius:8px;padding:18px;display:flex;gap:12px;align-items:center}
.nsd-badge strong{display:block;font-size:14px}.nsd-badge span{font-size:12px;color:#697184}
.nsd-strip{background:var(--nsd-blue);color:#fff;border-radius:8px;display:grid;grid-template-columns:repeat(4,1fr);padding:20px 25px;gap:20px}
.nsd-section{padding:30px 0}
.nsd-section-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:18px}
.nsd-section h2{font-size:30px;margin:0}
.nsd-products{display:grid;grid-template-columns:repeat(5,1fr);gap:16px}
.nsd-product-card{background:#fff;border:1px solid var(--nsd-border);border-radius:9px;padding:14px;position:relative}
.nsd-sale{position:absolute;left:10px;top:10px;background:#e53935;color:#fff;font-size:11px;padding:5px 7px;border-radius:20px}
.nsd-prod-img{height:185px;background:linear-gradient(180deg,#fafafa,#eceff4);border-radius:7px;margin-bottom:14px;display:grid;place-items:center;color:#9ba3b2;font-weight:700}
.nsd-product-card h3{font-size:15px;line-height:1.4;margin:8px 0;min-height:42px}
.nsd-stars{color:#ffad0a;font-size:12px}.nsd-price{font-weight:800;margin-top:8px}.nsd-old{text-decoration:line-through;color:#999;font-size:12px;margin-left:6px}
.nsd-cat-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:14px}
.nsd-cat{border-radius:10px;padding:18px;text-align:center;min-height:130px;display:flex;flex-direction:column;justify-content:center;font-weight:700}
.nsd-cat:nth-child(1){background:#e7f6ff}.nsd-cat:nth-child(2){background:#ffe9eb}.nsd-cat:nth-child(3){background:#fff3d7}.nsd-cat:nth-child(4){background:#e8f7e8}.nsd-cat:nth-child(5){background:#f4eaff}.nsd-cat:nth-child(6){background:#e4f5f9}
.nsd-footer{background:var(--nsd-blue);color:#fff;margin-top:30px}
.nsd-footer-grid{display:grid;grid-template-columns:2fr repeat(4,1fr);gap:28px;padding:45px 0}
.nsd-footer h4{margin:0 0 14px}.nsd-footer a{display:block;color:#d6def0;margin:9px 0;font-size:14px}
.nsd-copy{border-top:1px solid rgba(255,255,255,.15);padding:14px 0;font-size:13px}

/* Shop */
.nsd-shop-shell{display:grid;grid-template-columns:240px 1fr;gap:24px;padding:25px 0}
.nsd-shop-sidebar{background:#fff;border:1px solid var(--nsd-border);border-radius:8px;padding:18px}
.nsd-shop-sidebar h3{margin-top:0}.nsd-filter{padding:16px 0;border-bottom:1px solid var(--nsd-border)}
.nsd-shop-title{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}
.woocommerce ul.products{display:grid!important;grid-template-columns:repeat(4,1fr)!important;gap:18px!important}
.woocommerce ul.products li.product{width:auto!important;margin:0!important;background:#fff;border:1px solid var(--nsd-border);border-radius:8px;padding:14px!important}
.woocommerce ul.products li.product .button{background:var(--nsd-blue)!important;color:#fff!important}
.woocommerce div.product{padding:30px 0}

@media(max-width:1024px){
.nsd-header-row{grid-template-columns:1fr}.nsd-header-actions{justify-content:flex-start}.nsd-menu{overflow:auto}.nsd-hero-grid{grid-template-columns:1fr}.nsd-sidebar{display:none}.nsd-products{grid-template-columns:repeat(3,1fr)}.nsd-cat-grid{grid-template-columns:repeat(3,1fr)}.nsd-footer-grid{grid-template-columns:repeat(2,1fr)}.nsd-shop-shell{grid-template-columns:1fr}.nsd-shop-sidebar{display:none}.woocommerce ul.products{grid-template-columns:repeat(3,1fr)!important}
}
@media(max-width:640px){
.nsd-topbar .nsd-container{justify-content:center}.nsd-header-actions{display:none}.nsd-search select{display:none}.nsd-nav .nsd-container{overflow:auto}.nsd-menu{gap:18px}.nsd-allcats{display:none}.nsd-whatsapp{display:none}.nsd-hero{padding:32px 24px;min-height:420px;align-items:flex-start}.nsd-hero h1{font-size:39px}.nsd-hero-art{width:65%;opacity:.35}.nsd-badges,.nsd-strip{grid-template-columns:1fr}.nsd-products{grid-template-columns:repeat(2,1fr)}.nsd-cat-grid{grid-template-columns:repeat(2,1fr)}.nsd-footer-grid{grid-template-columns:1fr}.woocommerce ul.products{grid-template-columns:repeat(2,1fr)!important}
}

/* V2 customizer enhancements */
.nsd-logo .custom-logo{max-height:62px;width:auto}.nsd-logo small{display:block;font-size:10px;font-weight:400;color:#555}.nsd-header-actions a{display:flex;gap:8px;align-items:center}.nsd-hero-grid.no-sidebar{grid-template-columns:1fr}.nsd-hero-product-image{position:relative;z-index:2;max-width:90%;max-height:100%;object-fit:contain;filter:drop-shadow(0 20px 24px rgba(0,0,0,.18))}.nsd-search,.dgwt-wcas-search-wrapp{width:100%}.nsd-btn,.nsd-search,.nsd-product-card,.woocommerce ul.products li.product,.nsd-cat,.nsd-badge,.nsd-sidebar,.nsd-strip{border-radius:var(--nsd-radius)}

/* V2.1 Premium account, wishlist and cart actions */
.nsd-header-actions{gap:10px;align-items:center}
.nsd-action-card{position:relative;display:flex!important;align-items:center;gap:10px;min-height:58px;padding:9px 12px;border:1px solid #e5e9f2;border-radius:12px;background:#fff;box-shadow:0 3px 12px rgba(7,26,70,.06);transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease;color:var(--nsd-blue)}
.nsd-action-card:hover{transform:translateY(-2px);border-color:rgba(255,173,10,.65);box-shadow:0 8px 22px rgba(7,26,70,.12)}
.nsd-action-icon{position:relative;display:grid;place-items:center;flex:0 0 38px;width:38px;height:38px;border-radius:10px;background:#f1f5ff;color:var(--nsd-blue)}
.nsd-action-icon svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.nsd-account-action .nsd-action-icon svg{fill:currentColor;stroke:none}
.nsd-wishlist-action .nsd-action-icon{background:#fff1f3;color:#e11d48}
.nsd-cart-action .nsd-action-icon{background:#fff7e6;color:#d97706}
.nsd-action-copy{display:flex;flex-direction:column;line-height:1.1;white-space:nowrap}
.nsd-action-copy small{font-size:10px;color:#6b7280;margin-bottom:4px;font-weight:500}
.nsd-action-copy strong{font-size:13px;color:#111827;font-weight:800;max-width:110px;overflow:hidden;text-overflow:ellipsis}
.nsd-action-count{position:absolute;right:-5px;top:-6px;display:grid;place-items:center;min-width:20px;height:20px;padding:0 5px;border-radius:999px;background:var(--nsd-orange);color:#071a46;border:2px solid #fff;font-size:10px;font-weight:900;box-shadow:0 2px 7px rgba(0,0,0,.18)}
.nsd-cart-action{min-width:128px}
.nsd-wishlist-action{min-width:118px}
.nsd-account-action{min-width:145px}
@media(max-width:1200px){.nsd-header-row{grid-template-columns:220px 1fr 300px}.nsd-action-copy small{display:none}.nsd-action-card{min-width:auto;padding:8px}.nsd-action-copy strong{font-size:12px}.nsd-account-action,.nsd-wishlist-action,.nsd-cart-action{min-width:auto}}

/* V2.1.1 Header overlap fix */
.nsd-header-row{
  grid-template-columns:220px minmax(360px,1fr) max-content;
  gap:16px;
}
.nsd-header-row > *{min-width:0}
.nsd-header-actions{width:max-content;flex-wrap:nowrap}
.nsd-search,.dgwt-wcas-search-wrapp{min-width:0;max-width:100%}
.nsd-account-action{min-width:132px}
.nsd-wishlist-action{min-width:108px}
.nsd-cart-action{min-width:116px}
.nsd-action-card{padding:8px 10px;gap:8px}
.nsd-action-icon{flex-basis:36px;width:36px;height:36px}
.nsd-action-copy strong{max-width:92px}

@media(max-width:1320px){
  .nsd-header-row{grid-template-columns:205px minmax(300px,1fr) max-content;gap:12px}
  .nsd-action-copy small{display:none}
  .nsd-action-card{min-width:auto;padding:7px 8px}
  .nsd-action-copy strong{font-size:12px;max-width:78px}
  .nsd-action-icon{flex-basis:34px;width:34px;height:34px}
}


/* V3 Homepage sections */
.nsd-home-notice{background:#fff7db;border:1px solid #ffd36a;border-radius:10px;padding:14px 18px;margin:0 0 18px;font-size:14px}
.nsd-software-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.nsd-software-card{background:#fff;border:1px solid var(--nsd-border);border-radius:12px;padding:22px;box-shadow:0 8px 25px rgba(7,26,70,.06);transition:.2s}
.nsd-software-card:hover{transform:translateY(-4px);box-shadow:0 14px 32px rgba(7,26,70,.12)}
.nsd-software-icon{width:48px;height:48px;border-radius:12px;background:linear-gradient(135deg,var(--nsd-blue),#1654b8);color:#fff;display:grid;place-items:center;font-size:24px;margin-bottom:14px}
.nsd-software-card h3{margin:0 0 8px;color:var(--nsd-blue);font-size:18px}
.nsd-software-card p{margin:0 0 14px;color:#667085;font-size:14px;line-height:1.6}
.nsd-link-btn{display:inline-flex;align-items:center;gap:7px;color:var(--nsd-blue);font-weight:700;font-size:14px}
.nsd-empty-products{background:#fff;border:1px dashed var(--nsd-border);border-radius:10px;padding:26px;text-align:center;color:#667085}
@media(max-width:1000px){.nsd-software-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:600px){.nsd-software-grid{grid-template-columns:1fr}}

/* =========================================================
   V3.1 Professional Single Product Page
   ========================================================= */
.nsd-single-product-page{background:#f5f7fb;padding:22px 0 40px}
.nsd-product-main{width:100%;min-width:0}
.nsd-single-product-page .woocommerce-breadcrumb{margin:0 0 16px;padding:0;color:#667085;font-size:13px}
.nsd-single-product-page .woocommerce-breadcrumb a{color:#475467}
.nsd-breadcrumb-sep{display:inline-block;margin:0 8px;color:#98a2b3}

.nsd-single-product-page div.product{display:grid;grid-template-columns:minmax(420px,1.05fr) minmax(420px,.95fr);column-gap:38px;row-gap:24px;background:#fff;border:1px solid #e5e9f2;border-radius:16px;padding:28px!important;box-shadow:0 10px 32px rgba(7,26,70,.07)}
.nsd-single-product-page div.product .woocommerce-product-gallery{width:100%!important;float:none!important;margin:0!important;min-width:0}
.nsd-single-product-page div.product .summary{width:100%!important;float:none!important;margin:0!important;min-width:0;padding:4px 0}
.nsd-single-product-page div.product .woocommerce-tabs,
.nsd-single-product-page div.product .related,
.nsd-single-product-page div.product .upsells{grid-column:1/-1;width:100%;clear:both}

.nsd-single-product-page .woocommerce-product-gallery__wrapper{border:1px solid #edf0f5;border-radius:14px;overflow:hidden;background:#fff}
.nsd-single-product-page .woocommerce-product-gallery__image a{display:flex;align-items:center;justify-content:center;min-height:520px;background:#fff}
.nsd-single-product-page .woocommerce-product-gallery__image img{width:100%!important;max-height:560px;object-fit:contain;padding:14px}
.nsd-single-product-page .flex-control-thumbs{display:grid!important;grid-template-columns:repeat(5,1fr);gap:10px;margin:12px 0 0!important;padding:0!important}
.nsd-single-product-page .flex-control-thumbs li{width:auto!important;float:none!important;margin:0!important}
.nsd-single-product-page .flex-control-thumbs img{border:2px solid #e8ecf3;border-radius:10px;padding:4px;background:#fff;opacity:1!important}
.nsd-single-product-page .flex-control-thumbs img.flex-active{border-color:var(--nsd-orange)}
.nsd-single-product-page .woocommerce-product-gallery__trigger{top:14px!important;right:14px!important;background:#fff!important;box-shadow:0 5px 18px rgba(0,0,0,.12)}

.nsd-single-product-page .product_title{font-size:32px;line-height:1.22;color:#0b1f48;margin:0 0 12px!important;font-weight:800}
.nsd-single-product-page .woocommerce-product-rating{display:flex;align-items:center;gap:10px;margin:0 0 14px!important}
.nsd-single-product-page .star-rating{color:#ffad0a}
.nsd-single-product-page .woocommerce-review-link{font-size:13px;color:#475467}
.nsd-single-product-page p.price{display:flex;align-items:center;flex-wrap:wrap;gap:9px;margin:10px 0 4px!important;color:#071a46!important;font-size:28px!important;font-weight:900}
.nsd-single-product-page p.price del{color:#98a2b3!important;font-size:17px;opacity:1!important;font-weight:500}
.nsd-single-product-page p.price ins{text-decoration:none;color:#071a46}
.nsd-discount-badge{display:inline-flex;align-items:center;background:#eaf8ef;color:#087a3e;border:1px solid #bce7cb;border-radius:999px;padding:5px 10px;margin:5px 0 15px;font-size:12px;font-weight:900}
.nsd-single-product-page .woocommerce-product-details__short-description{color:#475467;line-height:1.7;border-top:1px solid #edf0f5;padding-top:15px;margin-top:5px}
.nsd-single-product-page .stock{display:inline-flex;align-items:center;background:#eaf8ef;color:#087a3e;border-radius:999px;padding:6px 11px;font-weight:800;font-size:13px}

.nsd-single-product-page form.cart{display:flex!important;align-items:stretch;flex-wrap:wrap;gap:10px;margin:20px 0 16px!important;padding:18px;background:#f8faff;border:1px solid #e7ecf5;border-radius:13px}
.nsd-single-product-page form.cart .quantity{margin:0!important}
.nsd-single-product-page form.cart .qty{height:50px;width:74px;border:1px solid #cfd6e3;border-radius:8px;font-size:16px;font-weight:700;text-align:center}
.nsd-single-product-page form.cart .single_add_to_cart_button,
.nsd-single-product-page form.cart .nsd-buy-now{height:50px!important;border-radius:8px!important;padding:0 24px!important;font-size:15px!important;font-weight:900!important;line-height:50px!important;transition:.2s}
.nsd-single-product-page form.cart .single_add_to_cart_button{background:var(--nsd-blue)!important;color:#fff!important;flex:1 1 170px}
.nsd-single-product-page form.cart .single_add_to_cart_button:hover{transform:translateY(-1px);filter:brightness(1.08)}
.nsd-single-product-page form.cart .nsd-buy-now{background:var(--nsd-orange)!important;color:#071a46!important;flex:1 1 150px;border:0!important}
.nsd-single-product-page form.cart .nsd-buy-now:hover{transform:translateY(-1px);filter:brightness(.96)}
.nsd-single-product-page .tinvwl_add_to_wishlist_button,
.nsd-single-product-page .woosw-btn,
.nsd-single-product-page .add_to_wishlist{display:inline-flex!important;align-items:center;justify-content:center;min-height:42px;padding:9px 14px!important;border:1px solid #d8deea!important;border-radius:8px!important;background:#fff!important;color:#071a46!important;font-weight:700!important;text-decoration:none!important}

.nsd-product-benefits{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:18px 0}
.nsd-benefit-item{display:flex;align-items:center;gap:11px;border:1px solid #e6eaf1;background:#fff;border-radius:11px;padding:12px}
.nsd-benefit-icon{display:grid;place-items:center;width:38px;height:38px;flex:0 0 38px;border-radius:10px;background:#fff5df;color:#a85f00;font-size:18px;font-weight:900}
.nsd-benefit-item span:last-child{display:flex;flex-direction:column;min-width:0}
.nsd-benefit-item strong{font-size:13px;color:#172033}
.nsd-benefit-item small{font-size:11px;color:#667085;margin-top:3px;line-height:1.35}

.nsd-single-product-page .product_meta{border-top:1px solid #edf0f5;padding-top:15px;margin-top:12px;color:#667085;font-size:13px}
.nsd-single-product-page .product_meta > span{display:block;margin:6px 0}
.nsd-single-product-page .product_meta a{color:#071a46;font-weight:700}

.nsd-single-product-page .woocommerce-tabs{margin-top:8px;background:#fff;border:1px solid #e5e9f2;border-radius:14px;padding:22px}
.nsd-single-product-page .woocommerce-tabs ul.tabs{display:flex;gap:8px;flex-wrap:wrap;padding:0!important;margin:0 0 22px!important;border-bottom:1px solid #e8ecf3}
.nsd-single-product-page .woocommerce-tabs ul.tabs::before{display:none!important}
.nsd-single-product-page .woocommerce-tabs ul.tabs li{border:0!important;background:transparent!important;margin:0!important;padding:0!important;border-radius:0!important}
.nsd-single-product-page .woocommerce-tabs ul.tabs li::before,
.nsd-single-product-page .woocommerce-tabs ul.tabs li::after{display:none!important}
.nsd-single-product-page .woocommerce-tabs ul.tabs li a{padding:12px 16px!important;color:#667085!important;font-weight:800!important;border-bottom:3px solid transparent}
.nsd-single-product-page .woocommerce-tabs ul.tabs li.active a{color:#071a46!important;border-bottom-color:var(--nsd-orange)}
.nsd-single-product-page .woocommerce-Tabs-panel{color:#475467;line-height:1.75}
.nsd-single-product-page .woocommerce-Tabs-panel h2{font-size:24px;color:#071a46}

.nsd-single-product-page .related.products,
.nsd-single-product-page .upsells.products{margin-top:10px;background:#fff;border:1px solid #e5e9f2;border-radius:14px;padding:22px}
.nsd-single-product-page .related.products > h2,
.nsd-single-product-page .upsells.products > h2{font-size:26px;color:#071a46;margin:0 0 18px}

@media(max-width:980px){
  .nsd-single-product-page div.product{grid-template-columns:1fr;padding:20px!important}
  .nsd-single-product-page .woocommerce-product-gallery__image a{min-height:420px}
  .nsd-single-product-page .woocommerce-tabs,.nsd-single-product-page .related,.nsd-single-product-page .upsells{grid-column:1}
}
@media(max-width:640px){
  .nsd-single-product-page{padding-top:12px}
  .nsd-single-product-page div.product{padding:14px!important;border-radius:12px}
  .nsd-single-product-page .product_title{font-size:24px}
  .nsd-single-product-page p.price{font-size:24px!important}
  .nsd-single-product-page .woocommerce-product-gallery__image a{min-height:320px}
  .nsd-single-product-page form.cart{padding:12px}
  .nsd-single-product-page form.cart .quantity{width:100%}
  .nsd-single-product-page form.cart .qty{width:100%}
  .nsd-single-product-page form.cart .single_add_to_cart_button,
  .nsd-single-product-page form.cart .nsd-buy-now{flex:1 1 100%}
  .nsd-product-benefits{grid-template-columns:1fr}
  .nsd-single-product-page .woocommerce-tabs{padding:15px}
}


/* V3.2 automatic percentage sale badge */
.woocommerce span.onsale.nsd-percentage-sale-badge,
.woocommerce-page span.onsale.nsd-percentage-sale-badge{
  min-width:auto;
  min-height:auto;
  line-height:1;
  padding:9px 11px;
  border-radius:8px;
  background:linear-gradient(135deg,#ff6a00,#e53935);
  color:#fff;
  font-size:12px;
  font-weight:900;
  letter-spacing:.2px;
  box-shadow:0 6px 16px rgba(229,57,53,.25);
  top:14px;
  left:14px;
  margin:0;
  z-index:5;
}
@media(max-width:600px){
  .woocommerce span.onsale.nsd-percentage-sale-badge,
  .woocommerce-page span.onsale.nsd-percentage-sale-badge{
    padding:8px 9px;
    font-size:11px;
    top:10px;
    left:10px;
  }
}


/* =========================================================
   V3.4 — Premium product cards and HD gallery zoom
   ========================================================= */

/* Product gallery: clear zoom affordance and smooth image behaviour. */
.nsd-single-product-page .woocommerce-product-gallery{position:relative}
.nsd-single-product-page .woocommerce-product-gallery__image{overflow:hidden;border-radius:14px}
.nsd-single-product-page .woocommerce-product-gallery__image a{cursor:zoom-in}
.nsd-single-product-page .woocommerce-product-gallery__image img{transition:transform .24s ease,opacity .2s ease;backface-visibility:hidden}
.nsd-single-product-page .woocommerce-product-gallery__image:hover img:not(.zoomImg){transform:scale(1.015)}
.nsd-single-product-page .woocommerce-product-gallery .zoomImg{cursor:crosshair}
.nsd-gallery-zoom-hint{display:flex;align-items:center;justify-content:center;gap:8px;margin:11px 0 3px;color:#667085;font-size:12px;font-weight:700}
.nsd-gallery-zoom-hint span:first-child{display:grid;place-items:center;width:25px;height:25px;border-radius:50%;background:#eef3fb;color:#071a46;font-size:17px}
.pswp__bg{background:rgba(3,12,31,.96)!important}
.pswp__button{opacity:1!important}

/* Product cards: modern marketplace layout without fake ratings. */
.woocommerce ul.products li.product{display:flex;flex-direction:column;overflow:hidden;box-shadow:0 5px 18px rgba(7,26,70,.055);transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease}
.woocommerce ul.products li.product:hover{transform:translateY(-4px);box-shadow:0 14px 34px rgba(7,26,70,.13);border-color:#d5ddea}
.woocommerce ul.products li.product a.woocommerce-LoopProduct-link{display:block;color:inherit;text-decoration:none}
.woocommerce ul.products li.product a img{aspect-ratio:1/1;object-fit:contain;margin:0 0 12px!important;border-radius:8px;background:#fff;transition:transform .28s ease}
.woocommerce ul.products li.product:hover a img{transform:scale(1.025)}
.woocommerce ul.products li.product .woocommerce-loop-product__title{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;min-height:42px;margin:3px 0 8px!important;font-size:15px!important;line-height:1.38!important;color:#172033;font-weight:800!important}
.woocommerce ul.products li.product .star-rating{margin:0 0 7px!important;color:#ffad0a;font-size:13px}
.woocommerce ul.products li.product .price{display:flex;align-items:center;flex-wrap:wrap;gap:6px;margin:0 0 7px!important;color:#071a46!important;font-size:17px!important;font-weight:900!important}
.woocommerce ul.products li.product .price del{color:#98a2b3!important;font-size:12px;opacity:1!important;font-weight:500}
.woocommerce ul.products li.product .price ins{text-decoration:none;color:#071a46}
.nsd-loop-extras{display:flex;flex-wrap:wrap;align-items:center;gap:6px 9px;margin:2px 0 12px;min-height:38px;font-size:11px;font-weight:800}
.nsd-loop-save{color:#087a3e;background:#eaf8ef;border:1px solid #c7ead3;border-radius:999px;padding:4px 7px}
.nsd-loop-stock{display:inline-flex;align-items:center;gap:5px;color:#087a3e}
.nsd-loop-stock i{width:7px;height:7px;border-radius:50%;background:#16a34a;box-shadow:0 0 0 3px rgba(22,163,74,.12)}
.nsd-loop-delivery{color:#475467}
.woocommerce ul.products li.product .button{margin-top:auto!important;width:100%;min-height:42px;display:flex!important;align-items:center;justify-content:center;border-radius:8px!important;font-size:13px!important;font-weight:900!important;transition:transform .18s ease,filter .18s ease}
.woocommerce ul.products li.product .button:hover{transform:translateY(-1px);filter:brightness(1.08)}
.woocommerce ul.products li.product .tinvwl_add_to_wishlist_button,
.woocommerce ul.products li.product .woosw-btn,
.woocommerce ul.products li.product .add_to_wishlist{width:100%;margin:7px 0 0!important;min-height:38px;display:flex!important;align-items:center;justify-content:center;border:1px solid #dbe1eb!important;border-radius:8px!important;background:#fff!important;color:#071a46!important;font-size:12px!important;font-weight:800!important;text-decoration:none!important}

/* Single-product extra polish. */
.nsd-single-product-page .summary .price + .nsd-discount-badge{vertical-align:middle}
.nsd-single-product-page .woocommerce-product-gallery__trigger{display:grid!important;place-items:center;width:44px!important;height:44px!important;border-radius:50%!important}
.nsd-single-product-page .woocommerce-product-gallery__trigger::before{top:12px!important;left:12px!important}
.nsd-single-product-page .woocommerce-product-gallery__trigger::after{top:25px!important;left:27px!important}

@media(max-width:640px){
  .nsd-gallery-zoom-hint{font-size:11px;text-align:center;padding:0 8px}
  .nsd-single-product-page .woocommerce-product-gallery__image a{cursor:pointer}
  .woocommerce ul.products li.product{padding:10px!important}
  .woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:13px!important;min-height:36px}
  .woocommerce ul.products li.product .price{font-size:15px!important}
  .nsd-loop-extras{font-size:10px;gap:5px;min-height:34px}
}

/* =========================================================
   V3.6 — Amazon-style white full-screen product gallery
   ========================================================= */
html.nsd-lightbox-open,html.nsd-lightbox-open body{overflow:hidden!important}
.nsd-hd-lightbox{position:fixed;inset:0;z-index:999999;display:none;background:rgba(0,0,0,.55);padding:26px;color:#172033;touch-action:none}
.nsd-hd-lightbox.is-open{display:flex;align-items:center;justify-content:center;animation:nsdLbFade .16s ease-out}
@keyframes nsdLbFade{from{opacity:0}to{opacity:1}}
.nsd-hd-lightbox__dialog{position:relative;width:min(1560px,calc(100vw - 52px));height:min(850px,calc(100vh - 52px));display:grid;grid-template-columns:minmax(0,1fr) 300px;background:#fff;border-radius:10px;box-shadow:0 24px 80px rgba(0,0,0,.32);overflow:hidden}
.nsd-hd-lightbox__close{position:absolute;z-index:10;right:10px;top:8px;width:42px;height:42px;border:0;background:transparent;color:#111;font-size:34px;line-height:1;cursor:pointer;border-radius:50%}
.nsd-hd-lightbox__close:hover{background:#f1f3f5}
.nsd-hd-lightbox__main{position:relative;min-width:0;display:flex;align-items:center;justify-content:center;padding:26px 34px 64px;background:#fff;border-right:1px solid #e5e7eb}
.nsd-hd-lightbox__stage{position:relative;width:100%;height:100%;display:flex;align-items:center;justify-content:center;overflow:hidden}
.nsd-hd-lightbox__image{display:block;max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain;transform-origin:center center;user-select:none;-webkit-user-drag:none;will-change:transform;transition:transform .08s linear}
.nsd-hd-lightbox__prev,.nsd-hd-lightbox__next{position:absolute;z-index:5;top:50%;transform:translateY(-50%);width:46px;height:62px;border:1px solid #d5d9d9;background:rgba(255,255,255,.94);color:#333;box-shadow:0 2px 8px rgba(0,0,0,.12);cursor:pointer;display:grid;place-items:center;font-size:42px;line-height:1;border-radius:8px}
.nsd-hd-lightbox__prev{left:10px}.nsd-hd-lightbox__next{right:10px}
.nsd-hd-lightbox__prev:hover,.nsd-hd-lightbox__next:hover{background:#fff;border-color:#8d9096}
.nsd-hd-lightbox--single .nsd-hd-lightbox__prev,.nsd-hd-lightbox--single .nsd-hd-lightbox__next{display:none}
.nsd-hd-lightbox__zoomtools{position:absolute;z-index:6;left:50%;bottom:14px;transform:translateX(-50%);display:flex;align-items:center;gap:8px;background:#fff;border:1px solid #d9dde3;border-radius:999px;padding:6px;box-shadow:0 4px 16px rgba(0,0,0,.12)}
.nsd-hd-lightbox__zoomtools button{height:36px;min-width:38px;border:0;background:#f3f4f6;color:#111;border-radius:999px;font-weight:800;cursor:pointer}
.nsd-hd-lightbox__zoomtools .nsd-hd-lightbox__reset{min-width:64px;background:#fff;border:1px solid #d9dde3}
.nsd-hd-lightbox__side{padding:42px 24px 24px;overflow:auto;background:#fff}
.nsd-hd-lightbox__title{font-size:18px;line-height:1.28;font-weight:500;color:#111;margin:0 30px 10px 0}
.nsd-hd-lightbox__counter{font-size:12px;color:#6b7280;margin-bottom:14px}
.nsd-hd-lightbox__thumbs{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}
.nsd-hd-lightbox__thumb{aspect-ratio:1;border:1px solid #d5d9d9;background:#fff;border-radius:2px;padding:3px;cursor:pointer;overflow:hidden}
.nsd-hd-lightbox__thumb img{width:100%;height:100%;object-fit:contain;display:block}
.nsd-hd-lightbox__thumb:hover{border-color:#888}
.nsd-hd-lightbox__thumb.is-active{border:2px solid #007185;box-shadow:0 0 0 1px #fff inset}
.nsd-hd-lightbox__caption{margin-top:18px;font-size:12px;line-height:1.45;color:#666}
.nsd-single-product-page .woocommerce-product-gallery__image a,.nsd-single-product-page .woocommerce-product-gallery__trigger{cursor:zoom-in!important}
@media(max-width:900px){
  .nsd-hd-lightbox{padding:0}
  .nsd-hd-lightbox__dialog{width:100vw;height:100vh;border-radius:0;grid-template-columns:1fr;grid-template-rows:minmax(0,1fr) auto}
  .nsd-hd-lightbox__main{border-right:0;border-bottom:1px solid #e5e7eb;padding:58px 14px 60px}
  .nsd-hd-lightbox__side{padding:14px 16px 18px;max-height:32vh}
  .nsd-hd-lightbox__title{font-size:15px;margin-right:34px}
  .nsd-hd-lightbox__thumbs{grid-template-columns:repeat(6,58px);overflow-x:auto;display:flex;gap:8px}
  .nsd-hd-lightbox__thumb{flex:0 0 58px;width:58px;height:58px}
  .nsd-hd-lightbox__prev,.nsd-hd-lightbox__next{width:40px;height:54px;font-size:36px}
}

/* V3.8 — Shop sidebar toggle layout fix */
.nsd-shop-shell.nsd-shop-no-sidebar{
  display:grid;
  grid-template-columns:minmax(0,1fr);
  width:100%;
}
.nsd-shop-shell.nsd-shop-no-sidebar .nsd-shop-main{
  grid-column:1 / -1;
  width:100%;
  min-width:0;
}
.nsd-shop-shell .nsd-shop-main{
  min-width:0;
}
.nsd-shop-main > .nsd-container,
.nsd-shop-main .woocommerce,
.nsd-shop-main .woocommerce-notices-wrapper,
.nsd-shop-main ul.products{
  width:100%;
  max-width:none;
  min-width:0;
}
.nsd-shop-no-sidebar .woocommerce ul.products{
  width:100%;
}
@media (max-width:1024px){
  .nsd-shop-shell,
  .nsd-shop-shell.nsd-shop-no-sidebar{grid-template-columns:minmax(0,1fr)}
  .nsd-shop-main{grid-column:1 / -1}
}

/* V98.41: clear premium account icon in both mobile navigation areas. */
@media (max-width:1024px){
  .nsd-mobile-header-tools .nsd-mobile-account{
    color:#07285f!important;
    background:linear-gradient(145deg,#f7faff,#eaf1ff)!important;
    border-color:#cbd8ee!important;
    box-shadow:0 3px 10px rgba(7,40,95,.12)!important;
  }
  .nsd-mobile-header-tools .nsd-mobile-account svg{
    display:block!important;
    width:23px!important;
    height:23px!important;
    fill:none!important;
    stroke:currentColor!important;
    stroke-width:2!important;
    stroke-linecap:round!important;
    stroke-linejoin:round!important;
  }
  body.nsd-header-compact .nsd-mobile-header-tools .nsd-mobile-account svg{
    width:20px!important;
    height:20px!important;
  }
  .nsd-mobile-bottom-nav .nsd-bottom-account span{
    display:grid!important;
    place-items:center!important;
  }
  .nsd-mobile-bottom-nav .nsd-bottom-account svg{
    display:block!important;
    width:23px!important;
    height:23px!important;
    fill:none!important;
    stroke:currentColor!important;
    stroke-width:2!important;
    stroke-linecap:round!important;
    stroke-linejoin:round!important;
  }
}

/* =========================================================
   V3.9 — Sticky header overlap fix + premium mobile layout
   ========================================================= */
.nsd-sticky-shell{background:#fff;box-shadow:0 2px 12px rgba(7,26,70,.08)}
.nsd-sticky-shell .nsd-header-main,.nsd-sticky-shell .nsd-nav{position:relative!important;top:auto!important}
.nsd-main-wrap{position:relative;z-index:1}
.nsd-hero-grid{align-items:start}
.nsd-sidebar{position:sticky;top:calc(var(--nsd-sticky-height, 145px) + 14px);z-index:10;max-height:calc(100vh - var(--nsd-sticky-height, 145px) - 28px);overflow:auto;scrollbar-width:thin}
.nsd-mobile-header-tools,.nsd-mobile-menu-toggle,.nsd-mobile-bottom-nav,.nsd-mobile-overlay{display:none}

@media(max-width:782px){.admin-bar .nsd-sticky-shell{top:46px!important}}

@media(max-width:1024px){
  body{padding-bottom:68px}
  .nsd-topbar{display:none}
  .nsd-sticky-shell{box-shadow:0 3px 16px rgba(7,26,70,.12)}
  .nsd-header-main{border:0}
  .nsd-header-row{grid-template-columns:minmax(120px,1fr) auto;gap:10px;padding:9px 0}
  .nsd-logo{font-size:22px;min-width:0}
  .nsd-logo .custom-logo{max-height:46px!important;max-width:170px;width:auto}
  .nsd-logo-bag{width:34px;height:34px;border-width:2px}
  .nsd-logo small{display:none}
  .nsd-search,.dgwt-wcas-search-wrapp{grid-column:1/-1;order:3;display:none;width:100%!important;margin-top:3px}
  body.nsd-mobile-search-open .nsd-search,body.nsd-mobile-search-open .dgwt-wcas-search-wrapp{display:flex}
  .nsd-header-actions{display:none!important}
  .nsd-mobile-header-tools{display:flex;align-items:center;justify-content:flex-end;gap:7px}
  .nsd-mobile-header-tools>a,.nsd-mobile-header-tools>button{position:relative;width:38px;height:38px;border:1px solid #e1e6ef;border-radius:10px;background:#fff;color:var(--nsd-blue);display:grid;place-items:center;font-size:20px;padding:0;box-shadow:0 2px 8px rgba(7,26,70,.06)}
  .nsd-mobile-cart-count{position:absolute;right:-5px;top:-5px;min-width:18px;height:18px;padding:0 4px;border-radius:999px;background:var(--nsd-orange);color:var(--nsd-blue);display:grid;place-items:center;font-size:10px;font-style:normal;font-weight:900;border:2px solid #fff}
  .nsd-nav .nsd-container{width:100%;overflow:visible;padding:0 3%;position:relative}
  .nsd-mobile-menu-toggle{display:flex;align-items:center;gap:5px;width:100%;height:44px;border:0;background:var(--nsd-blue);color:#fff;padding:0;font-weight:800}
  .nsd-mobile-menu-toggle span{display:block;width:18px;height:2px;background:#fff;border-radius:3px;position:absolute;left:3%}
  .nsd-mobile-menu-toggle span:nth-child(1){transform:translateY(-6px)}
  .nsd-mobile-menu-toggle span:nth-child(3){transform:translateY(6px)}
  .nsd-mobile-menu-toggle b{margin-left:30px;font-size:14px}
  .nsd-allcats,.nsd-whatsapp{display:none!important}
  .nsd-menu{position:fixed;left:0;top:0;bottom:0;width:min(330px,86vw);z-index:10002;background:#fff;color:var(--nsd-blue);display:flex!important;flex-direction:column;align-items:stretch;gap:0;padding:82px 18px 28px;overflow-y:auto;transform:translateX(-105%);transition:transform .25s ease;box-shadow:12px 0 35px rgba(0,0,0,.22)}
  .nsd-menu::before{content:'NSD MART MENU';position:absolute;left:18px;top:24px;font-size:18px;font-weight:900;color:var(--nsd-blue)}
  .nsd-menu a{display:block;padding:14px 10px;border-bottom:1px solid #edf0f5;font-size:15px;font-weight:800}
  body.nsd-mobile-menu-open .nsd-menu{transform:translateX(0)}
  .nsd-mobile-overlay{position:fixed;inset:0;z-index:10001;background:rgba(3,12,31,.55);backdrop-filter:blur(2px)}
  body.nsd-mobile-menu-open .nsd-mobile-overlay{display:block}
  body.nsd-mobile-menu-open{overflow:hidden}
  .nsd-sidebar{display:none!important;position:static;max-height:none}
  body.nsd-mobile-categories-open .nsd-sidebar{display:block!important;position:fixed;z-index:10003;left:4%;right:4%;top:86px;max-height:calc(100vh - 170px);overflow:auto;border-radius:14px;box-shadow:0 18px 50px rgba(0,0,0,.3)}
  body.nsd-mobile-categories-open .nsd-mobile-overlay{display:block}
  body.nsd-mobile-categories-open{overflow:hidden}
  .nsd-hero-grid{grid-template-columns:1fr;gap:0}
  .nsd-hero{min-height:390px;padding:34px 28px;border-radius:0 0 14px 14px}
  .nsd-hero h1{font-size:42px}
  .nsd-badges{grid-template-columns:repeat(2,1fr);gap:9px;padding:12px 0}
  .nsd-badge{padding:12px;min-height:70px}
  .nsd-strip{grid-template-columns:repeat(2,1fr);font-size:13px;padding:15px}
  .nsd-mobile-bottom-nav{position:fixed;left:0;right:0;bottom:0;z-index:10000;height:64px;background:#fff;border-top:1px solid #dfe4ed;box-shadow:0 -5px 18px rgba(7,26,70,.1);display:grid;grid-template-columns:repeat(5,1fr);padding-bottom:env(safe-area-inset-bottom)}
  .nsd-mobile-bottom-nav a,.nsd-mobile-bottom-nav button{position:relative;border:0;background:transparent;color:#44506a;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;font:inherit;padding:4px 2px}
  .nsd-mobile-bottom-nav span{font-size:20px;line-height:1}
  .nsd-mobile-bottom-nav small{font-size:10px;font-weight:800}
  .nsd-mobile-bottom-nav a:first-child{color:var(--nsd-blue)}
  .nsd-mobile-bottom-nav em{right:18%;top:5px}
}

@media(max-width:640px){
  .nsd-container{width:94%}
  .nsd-header-row{padding:7px 0}
  .nsd-logo .custom-logo{max-width:145px;max-height:42px!important}
  .nsd-mobile-header-tools>a,.nsd-mobile-header-tools>button{width:35px;height:35px;font-size:18px}
  .nsd-nav .nsd-container{padding:0 4%}
  .nsd-mobile-menu-toggle span{left:4%}
  .nsd-hero{min-height:350px;padding:28px 20px;align-items:flex-start}
  .nsd-hero h1{font-size:35px;margin:10px 0}
  .nsd-hero p{font-size:14px;line-height:1.55;max-width:68%}
  .nsd-hero-art{right:-8%;width:62%;height:78%;opacity:.42}
  .nsd-hero-circle{width:230px;height:230px}
  .nsd-btn{padding:12px 20px;font-size:13px}
  .nsd-badges{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;padding:12px 0 8px}
  .nsd-badge{flex:0 0 78%;scroll-snap-align:start}
  .nsd-strip{display:flex;overflow-x:auto;border-radius:9px;gap:24px;white-space:nowrap}
  .nsd-section{padding:22px 0}
  .nsd-section h2{font-size:23px}
}

/* =========================================================
   V4.0 — Balanced homepage products + mobile swipe rows
   ========================================================= */
/* Keep all five homepage products in one balanced desktop row. */
.home .nsd-section > ul.products,
.home .nsd-section .woocommerce > ul.products{
  grid-template-columns:repeat(5,minmax(0,1fr))!important;
  align-items:stretch;
}
.home .nsd-section ul.products li.product{
  min-width:0;
}

@media(max-width:1200px) and (min-width:641px){
  .home .nsd-section > ul.products,
  .home .nsd-section .woocommerce > ul.products{
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
  }
}

@media(max-width:640px){
  /* Shopping-app style left-to-right swipe, without stacking a long page. */
  .home .nsd-section > ul.products,
  .home .nsd-section .woocommerce > ul.products{
    display:flex!important;
    flex-wrap:nowrap!important;
    gap:12px!important;
    overflow-x:auto!important;
    overflow-y:hidden!important;
    width:100%!important;
    margin:0!important;
    padding:2px 16px 14px 2px!important;
    scroll-snap-type:x mandatory;
    scroll-padding-left:2px;
    -webkit-overflow-scrolling:touch;
    scrollbar-width:none;
  }
  .home .nsd-section > ul.products::-webkit-scrollbar,
  .home .nsd-section .woocommerce > ul.products::-webkit-scrollbar{
    display:none;
  }
  .home .nsd-section ul.products li.product{
    flex:0 0 78vw!important;
    width:78vw!important;
    max-width:285px!important;
    margin:0!important;
    scroll-snap-align:start;
  }
  .home .nsd-section ul.products li.product:first-child{
    margin-left:0!important;
  }
  .home .nsd-section-head{
    margin-bottom:12px;
  }
  .home .nsd-section-head h2{
    font-size:24px;
  }
}


/* =========================================================
   V4.1 — Force complete 5-card desktop row
   Fixes WooCommerce float/width rules that wrapped card #5.
   ========================================================= */
@media(min-width:901px){
  body.home .nsd-section ul.products,
  body.home .nsd-section .woocommerce ul.products{
    display:grid!important;
    grid-template-columns:repeat(5,minmax(0,1fr))!important;
    gap:16px!important;
    width:100%!important;
    margin-left:0!important;
    margin-right:0!important;
  }
  body.home .nsd-section ul.products::before,
  body.home .nsd-section ul.products::after{
    display:none!important;
    content:none!important;
  }
  body.home .nsd-section ul.products li.product,
  body.home .nsd-section ul.products[class*=columns-] li.product{
    float:none!important;
    clear:none!important;
    width:100%!important;
    max-width:none!important;
    min-width:0!important;
    margin:0!important;
  }
}

@media(min-width:641px) and (max-width:900px){
  body.home .nsd-section ul.products,
  body.home .nsd-section .woocommerce ul.products{
    display:grid!important;
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:14px!important;
  }
  body.home .nsd-section ul.products li.product{
    float:none!important;
    width:100%!important;
    margin:0!important;
  }
}

/* =========================================================
   V4.2 — Shop page left alignment + full-width 4-column grid
   Removes the empty corner below the Shop heading.
   ========================================================= */
@media (min-width:1025px){
  body.woocommerce-shop .nsd-shop-main .woocommerce,
  body.post-type-archive-product .nsd-shop-main .woocommerce,
  body.tax-product_cat .nsd-shop-main .woocommerce,
  body.tax-product_tag .nsd-shop-main .woocommerce{
    display:block!important;
    width:100%!important;
    max-width:none!important;
  }

  body.woocommerce-shop .nsd-shop-main ul.products,
  body.post-type-archive-product .nsd-shop-main ul.products,
  body.tax-product_cat .nsd-shop-main ul.products,
  body.tax-product_tag .nsd-shop-main ul.products{
    display:grid!important;
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    gap:18px!important;
    width:100%!important;
    max-width:none!important;
    margin:18px 0 0!important;
    padding:0!important;
    clear:both!important;
    float:none!important;
    justify-content:stretch!important;
    align-items:stretch!important;
  }

  body.woocommerce-shop .nsd-shop-main ul.products::before,
  body.woocommerce-shop .nsd-shop-main ul.products::after,
  body.post-type-archive-product .nsd-shop-main ul.products::before,
  body.post-type-archive-product .nsd-shop-main ul.products::after,
  body.tax-product_cat .nsd-shop-main ul.products::before,
  body.tax-product_cat .nsd-shop-main ul.products::after,
  body.tax-product_tag .nsd-shop-main ul.products::before,
  body.tax-product_tag .nsd-shop-main ul.products::after{
    display:none!important;
    content:none!important;
  }

  body.woocommerce-shop .nsd-shop-main ul.products li.product,
  body.post-type-archive-product .nsd-shop-main ul.products li.product,
  body.tax-product_cat .nsd-shop-main ul.products li.product,
  body.tax-product_tag .nsd-shop-main ul.products li.product{
    float:none!important;
    clear:none!important;
    width:100%!important;
    max-width:none!important;
    min-width:0!important;
    margin:0!important;
  }

  body.woocommerce-shop .woocommerce-result-count,
  body.post-type-archive-product .woocommerce-result-count,
  body.tax-product_cat .woocommerce-result-count,
  body.tax-product_tag .woocommerce-result-count{
    margin:8px 0 0!important;
  }

  body.woocommerce-shop .woocommerce-ordering,
  body.post-type-archive-product .woocommerce-ordering,
  body.tax-product_cat .woocommerce-ordering,
  body.tax-product_tag .woocommerce-ordering{
    margin:0 0 10px!important;
  }
}

@media (min-width:641px) and (max-width:1024px){
  body.woocommerce-shop .nsd-shop-main ul.products,
  body.post-type-archive-product .nsd-shop-main ul.products,
  body.tax-product_cat .nsd-shop-main ul.products,
  body.tax-product_tag .nsd-shop-main ul.products{
    display:grid!important;
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:14px!important;
    width:100%!important;
    margin:16px 0 0!important;
    padding:0!important;
  }
  body.woocommerce-shop .nsd-shop-main ul.products li.product,
  body.post-type-archive-product .nsd-shop-main ul.products li.product,
  body.tax-product_cat .nsd-shop-main ul.products li.product,
  body.tax-product_tag .nsd-shop-main ul.products li.product{
    float:none!important;
    width:100%!important;
    margin:0!important;
  }
}


/* =========================================================
   V5.0 — Global Meesho-style horizontal category bar
   Final approved design: visible on every page.
   Shop smart-filter sidebar remains unchanged.
   ========================================================= */
.nsd-category-bar{
  position:relative;
  z-index:45;
  background:#fff;
  border-bottom:1px solid #e6e9ef;
  box-shadow:0 4px 14px rgba(7,26,70,.07);
}
.nsd-category-scroll{
  display:grid;
  grid-template-columns:repeat(10,minmax(0,1fr));
  align-items:stretch;
  overflow:visible;
}
.nsd-category-item{
  position:relative;
  min-width:0;
  border-right:1px solid #e8ebf1;
}
.nsd-category-item:first-child{border-left:1px solid #e8ebf1}
.nsd-category-item>a{
  min-height:82px;
  padding:10px 7px 9px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:6px;
  text-align:center;
  color:var(--nsd-blue);
  transition:background .2s ease,color .2s ease,transform .2s ease;
}
.nsd-category-icon{
  width:39px;
  height:39px;
  display:grid;
  place-items:center;
  border:1px solid #dfe4ec;
  border-radius:10px;
  background:#fff;
  color:var(--nsd-orange);
  font-size:24px;
  line-height:1;
  font-weight:900;
  box-shadow:0 2px 8px rgba(7,26,70,.05);
}
.nsd-category-name{
  max-width:100%;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  font-size:12px;
  line-height:1.2;
  font-weight:800;
}
.nsd-category-item:hover>a,
.nsd-category-item:focus-within>a{
  background:#fff8e8;
  color:#071a46;
}
.nsd-category-item:hover .nsd-category-icon,
.nsd-category-item:focus-within .nsd-category-icon{
  background:var(--nsd-orange);
  border-color:var(--nsd-orange);
  color:var(--nsd-blue);
  transform:translateY(-2px);
}
.nsd-category-dropdown{
  position:absolute;
  top:calc(100% - 1px);
  left:0;
  width:230px;
  padding:9px;
  background:#fff;
  border:1px solid #e3e7ee;
  border-radius:0 0 11px 11px;
  box-shadow:0 18px 35px rgba(7,26,70,.18);
  opacity:0;
  visibility:hidden;
  transform:translateY(8px);
  transition:opacity .18s ease,transform .18s ease,visibility .18s ease;
}
.nsd-category-dropdown-right{left:auto;right:0}
.nsd-category-item:hover>.nsd-category-dropdown,
.nsd-category-item:focus-within>.nsd-category-dropdown{
  opacity:1;
  visibility:visible;
  transform:translateY(0);
}
.nsd-category-dropdown>a{
  display:block;
  padding:10px 11px;
  border-radius:7px;
  color:#172033;
  font-size:13px;
  font-weight:700;
}
.nsd-category-dropdown>a:hover,
.nsd-category-dropdown>a:focus{
  background:#f2f6ff;
  color:var(--nsd-blue-2);
}
.nsd-category-more .nsd-category-icon{font-size:19px;letter-spacing:2px}

@media(max-width:1024px){
  .nsd-category-bar{box-shadow:0 3px 12px rgba(7,26,70,.08)}
  .nsd-category-scroll{
    display:flex;
    width:100%;
    overflow-x:auto;
    overflow-y:visible;
    padding:0;
    scroll-snap-type:x proximity;
    -webkit-overflow-scrolling:touch;
    scrollbar-width:none;
  }
  .nsd-category-scroll::-webkit-scrollbar{display:none}
  .nsd-category-item{
    flex:0 0 112px;
    scroll-snap-align:start;
  }
  .nsd-category-item>a{min-height:70px;padding:8px 6px}
  .nsd-category-icon{width:34px;height:34px;font-size:20px;border-radius:9px}
  .nsd-category-name{font-size:11px}
  .nsd-category-dropdown{display:none!important}
}

@media(max-width:640px){
  .nsd-category-item{flex-basis:96px}
  .nsd-category-item>a{min-height:64px;gap:4px}
  .nsd-category-icon{width:31px;height:31px;font-size:18px}
  .nsd-category-name{font-size:10px}
}

/* =========================================================
   V5.1 FINAL LIVE — Large premium category bar + grid/list view
   ========================================================= */
.nsd-category-bar{
  padding:10px 0 12px;
  background:#fff;
}
.nsd-category-scroll{
  gap:0;
  border:1px solid #e7eaf0;
  border-radius:14px;
  overflow:visible;
  background:#fff;
  box-shadow:0 8px 24px rgba(7,26,70,.08);
}
.nsd-category-item{border-right:1px solid #e5e9f0}
.nsd-category-item:first-child{border-left:0}
.nsd-category-item:last-child{border-right:0}
.nsd-category-item>a{
  min-height:132px;
  padding:13px 8px 11px;
  gap:5px;
  border-radius:13px;
}
.nsd-category-icon{
  width:74px;
  height:74px;
  border:0;
  border-radius:50%;
  overflow:hidden;
  font-size:38px;
  background:linear-gradient(145deg,#fff3e1,#edf4ff);
  box-shadow:inset 0 0 0 1px rgba(7,26,70,.05),0 5px 14px rgba(7,26,70,.08);
}
.nsd-category-icon img{
  width:100%;height:100%;object-fit:cover;display:block;
}
.nsd-category-fallback{display:grid;place-items:center;width:100%;height:100%;filter:saturate(1.15)}
.nsd-category-name{
  font-size:13px;
  line-height:1.25;
  font-weight:800;
  color:#071a46;
}
.nsd-category-count{
  display:block;
  font-size:11px;
  line-height:1.15;
  color:#65708a;
  white-space:nowrap;
}
.nsd-category-item:hover>a,.nsd-category-item:focus-within>a{
  background:#fffaf0;
  transform:translateY(-2px);
}
.nsd-category-item:hover .nsd-category-icon,.nsd-category-item:focus-within .nsd-category-icon{
  background:linear-gradient(145deg,#fff2d2,#eef4ff);
  border-color:transparent;
  color:inherit;
  transform:scale(1.05);
}
.nsd-more-icon{background:#fff!important;border:2px solid #d9dfeb!important;color:#071a46!important}
.nsd-more-icon span{font-size:24px;letter-spacing:4px;transform:translateX(2px)}

/* Shop grid/list buttons */
.nsd-product-view-toggle{
  float:right;
  display:flex;
  gap:7px;
  margin:0 0 10px 10px;
}
.nsd-view-btn{
  width:38px;height:38px;padding:0;border:1px solid #d9dfeb;border-radius:7px;
  display:grid;place-items:center;background:#fff;color:#071a46;cursor:pointer;
  font-size:18px;font-weight:800;line-height:1;
}
.nsd-view-btn:hover,.nsd-view-btn.is-active{background:#071a46;color:#fff;border-color:#071a46}
body.nsd-list-view .nsd-shop-main ul.products{
  grid-template-columns:1fr!important;
}
body.nsd-list-view .nsd-shop-main ul.products li.product{
  display:grid!important;
  grid-template-columns:230px minmax(0,1fr)!important;
  grid-template-rows:auto!important;
  column-gap:22px!important;
  align-items:center!important;
  padding:14px!important;
}
body.nsd-list-view .nsd-shop-main ul.products li.product>a.woocommerce-LoopProduct-link{
  display:contents!important;
}
body.nsd-list-view .nsd-shop-main ul.products li.product img{
  grid-column:1!important;grid-row:1 / span 12!important;margin:0!important;width:100%!important;
}
body.nsd-list-view .nsd-shop-main ul.products li.product .onsale{grid-column:1!important}
body.nsd-list-view .nsd-shop-main ul.products li.product h2,
body.nsd-list-view .nsd-shop-main ul.products li.product .price,
body.nsd-list-view .nsd-shop-main ul.products li.product .nsd-loop-extras,
body.nsd-list-view .nsd-shop-main ul.products li.product .button,
body.nsd-list-view .nsd-shop-main ul.products li.product .yith-wcwl-add-to-wishlist{
  grid-column:2!important;
}

@media(max-width:1024px){
  .nsd-category-bar{padding:8px 0}
  .nsd-category-scroll{border-radius:11px}
  .nsd-category-item{flex:0 0 126px}
  .nsd-category-item>a{min-height:112px;padding:10px 7px}
  .nsd-category-icon{width:62px;height:62px;font-size:32px}
  .nsd-category-name{font-size:12px}
  .nsd-category-count{font-size:10px}
}
@media(max-width:640px){
  .nsd-category-item{flex-basis:108px}
  .nsd-category-item>a{min-height:100px}
  .nsd-category-icon{width:54px;height:54px;font-size:28px}
  .nsd-product-view-toggle{display:none}
  body.nsd-list-view .nsd-shop-main ul.products li.product{display:block!important}
}

/* =========================================================
   V5.2 PROFESSIONAL MEGA MENU
   ========================================================= */
.nsd-category-item{position:relative}
.nsd-category-caret{display:inline-block;margin-top:-2px;font-size:13px;color:#6c7892;line-height:1}
.nsd-mega-toggle{display:none}
.nsd-mega-menu{
  position:absolute;left:0;top:calc(100% - 1px);z-index:10020;
  width:min(780px,calc(100vw - 40px));padding:18px;
  background:#fff;border:1px solid #e1e6ef;border-radius:0 0 14px 14px;
  box-shadow:0 18px 48px rgba(7,26,70,.18);
  opacity:0;visibility:hidden;transform:translateY(10px);pointer-events:none;
  transition:opacity .18s ease,transform .18s ease,visibility .18s ease;
}
.nsd-mega-menu-right{left:auto;right:0}
.nsd-category-item:hover>.nsd-mega-menu,.nsd-category-item:focus-within>.nsd-mega-menu,.nsd-category-item.is-mega-open>.nsd-mega-menu{
  opacity:1;visibility:visible;transform:translateY(0);pointer-events:auto;
}
.nsd-mega-head{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:0 2px 13px;border-bottom:1px solid #edf0f5;margin-bottom:14px}
.nsd-mega-head strong{display:block;font-size:18px;color:#071a46}
.nsd-mega-head span{display:block;margin-top:3px;font-size:12px;color:#6c7892}
.nsd-mega-head>a{font-size:13px;font-weight:800;color:#071a46;white-space:nowrap}
.nsd-mega-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px 22px;max-height:390px;overflow:auto;padding-right:4px}
.nsd-mega-grid-compact{grid-template-columns:repeat(3,minmax(0,1fr))}
.nsd-mega-column{min-width:0}
.nsd-mega-title{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:8px 9px;border-radius:8px;background:#f6f8fc;color:#071a46;font-size:13px;font-weight:800}
.nsd-mega-title:hover{background:#fff3d7;color:#071a46}
.nsd-mega-title span{color:#ff9f00}
.nsd-mega-links{display:grid;gap:2px;padding:7px 8px 0}
.nsd-mega-links a{padding:5px 0;color:#4c5871;font-size:12px;line-height:1.25}
.nsd-mega-links a:hover{color:#ff9500;transform:translateX(2px)}

@media(max-width:1180px){
  .nsd-mega-menu{width:min(650px,calc(100vw - 28px))}
  .nsd-mega-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:767px){
  .nsd-category-scroll{overflow-x:auto!important;overflow-y:visible!important}
  .nsd-category-item{position:relative}
  .nsd-category-caret{display:none}
  .nsd-category-item.has-children>a{padding-right:25px}
  .nsd-mega-toggle{display:grid;place-items:center;position:absolute;right:5px;top:7px;z-index:3;width:25px;height:25px;padding:0;border:1px solid #dce2ec;border-radius:50%;background:#fff;color:#071a46;font-size:17px;line-height:1;box-shadow:0 2px 7px rgba(7,26,70,.08)}
  .nsd-category-item.is-mega-open .nsd-mega-toggle{background:#071a46;color:#fff;transform:rotate(45deg)}
  .nsd-mega-menu,.nsd-mega-menu-right{position:fixed;left:12px;right:12px;top:auto;bottom:78px;width:auto;max-height:68vh;overflow:auto;border-radius:14px;padding:14px;transform:translateY(16px)}
  .nsd-category-item.is-mega-open>.nsd-mega-menu{transform:translateY(0)}
  .nsd-mega-grid,.nsd-mega-grid-compact{grid-template-columns:1fr 1fr;max-height:none;gap:10px}
  .nsd-mega-head{position:sticky;top:-14px;z-index:2;background:#fff;padding-top:12px}
  body.nsd-mega-menu-open{overflow:hidden}
}
@media(max-width:420px){.nsd-mega-grid,.nsd-mega-grid-compact{grid-template-columns:1fr}}


/* =========================================================
   V5.3 COMPACT MEGA MENU FIX
   ========================================================= */
@media(min-width:768px){
  .nsd-mega-menu{
    width:min(680px,calc(100vw - 40px));
    padding:13px 14px 14px;
    border-radius:0 0 12px 12px;
  }
  .nsd-mega-menu.nsd-mega-single{width:360px;max-width:calc(100vw - 40px)}
  .nsd-mega-menu.nsd-mega-count-2{width:470px;max-width:calc(100vw - 40px)}
  .nsd-mega-menu.nsd-mega-count-3{width:590px;max-width:calc(100vw - 40px)}
  .nsd-mega-head{gap:12px;padding:0 1px 9px;margin-bottom:10px}
  .nsd-mega-head strong{font-size:16px}
  .nsd-mega-head span{margin-top:2px;font-size:11px}
  .nsd-mega-head>a{font-size:12px}
  .nsd-mega-grid{
    grid-template-columns:repeat(4,minmax(120px,1fr));
    gap:8px 12px;
    max-height:300px;
    overflow:auto;
    padding-right:2px;
  }
  .nsd-mega-count-1 .nsd-mega-grid{grid-template-columns:1fr}
  .nsd-mega-count-2 .nsd-mega-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .nsd-mega-count-3 .nsd-mega-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .nsd-mega-title{padding:7px 9px;border-radius:7px;font-size:12px}
  .nsd-mega-links{gap:0;padding:5px 8px 0}
  .nsd-mega-links a{padding:4px 0;font-size:11px}
  .nsd-mega-single .nsd-mega-links{padding-top:3px}
  .nsd-mega-single .nsd-mega-links a{padding:3px 0}
}


/* =========================================================
   V5.4 LEAF SUBCATEGORY ORDER FIX
   Leaf subcategories such as Mens / Women are shown vertically.
   ========================================================= */
@media(min-width:768px){
  .nsd-mega-menu.nsd-mega-leaf-only{
    width:360px !important;
    max-width:calc(100vw - 40px);
  }
  .nsd-mega-leaf-only .nsd-mega-grid{
    grid-template-columns:1fr !important;
    gap:7px !important;
  }
  .nsd-mega-leaf-only .nsd-mega-column{
    width:100%;
  }
  .nsd-mega-leaf-only .nsd-mega-title{
    min-height:38px;
    padding:9px 11px;
    font-size:13px;
  }
}


/* V5.6: Homepage category duplication cleanup */
.home .nsd-home-hero-full,
.front-page .nsd-home-hero-full{
  display:grid;
  grid-template-columns:minmax(0,1fr)!important;
  gap:0!important;
  width:100%;
}
.home .nsd-home-hero-full .nsd-hero,
.front-page .nsd-home-hero-full .nsd-hero{
  width:100%;
}

html{scroll-behavior:smooth}
.nsd-scroll-target{scroll-margin-top:190px}
@media(max-width:782px){.nsd-scroll-target{scroll-margin-top:145px}}


/* =========================================================
   V6.0 Smart Slider + Elementor compatibility
   ========================================================= */
/* V98.59 Smart Slider width fix: use the full homepage content width without
   the viewport-breakout calculation that pushed the slider to the right. */
.nsd-smart-slider-full,
.nsd-smart-slider-contained{
  display:block;
  width:100%;
  max-width:100%;
  min-width:0;
  position:relative;
  left:auto;
  right:auto;
  margin:0;
  overflow:hidden;
}
.nsd-smart-slider-full{border-radius:0}
.nsd-smart-slider-contained{border-radius:var(--nsd-radius,8px)}
#nsd-home-smart-slider .n2-section-smartslider,
#nsd-home-smart-slider .n2-ss-align,
#nsd-home-smart-slider .n2-ss-slider,
#nsd-home-smart-slider .n2-ss-slider-wrapper-inside{
  width:100%!important;
  max-width:100%!important;
  margin-left:0!important;
  margin-right:0!important;
}
@media (max-width:782px){
  .nsd-smart-slider-full,.nsd-smart-slider-contained{border-radius:0}
}
.nsd-elementor-home,.nsd-elementor-full-width{width:100%;margin:0;padding:0}
.nsd-elementor-home .elementor,.nsd-elementor-full-width .elementor{width:100%}
body.nsd-elementor-canvas{margin:0;background:#fff}
@media(max-width:782px){.admin-bar .nsd-sticky-shell{top:46px}}

/* =========================================================
   V6.1 — Flipkart-style compact header & category navigation
   ========================================================= */
@media (min-width:1025px){
  .nsd-header-row{
    grid-template-columns:190px minmax(380px,1fr) max-content;
    gap:12px;
    padding:10px 0;
  }
  .nsd-logo{font-size:27px;gap:8px;white-space:nowrap;line-height:1}
  .nsd-logo-bag{width:38px;height:38px;border-width:2px;flex:0 0 38px}
  .nsd-logo > div:not(.nsd-logo-bag){display:flex;align-items:baseline;gap:6px;flex-wrap:wrap;white-space:nowrap}
  .nsd-logo small{flex-basis:100%;margin-top:4px;font-size:9px;line-height:1.1;white-space:nowrap}
  .nsd-logo .custom-logo{max-height:48px!important;max-width:185px;width:auto}
  .nsd-search select,.nsd-search input{padding:11px 12px}
  .nsd-search button{padding:0 22px}
  .dgwt-wcas-search-wrapp .dgwt-wcas-sf-wrapp input[type=search].dgwt-wcas-search-input{height:42px!important;min-height:42px!important}
  .nsd-action-card{min-height:48px;padding:6px 8px}
  .nsd-action-icon{width:32px;height:32px;flex-basis:32px}
  .nsd-action-copy small{margin-bottom:2px}
  .nsd-allcats,.nsd-whatsapp{padding-top:12px;padding-bottom:12px}
  .nsd-category-bar{padding:6px 0 8px}
  .nsd-category-scroll{border-radius:10px;box-shadow:0 4px 14px rgba(7,26,70,.07)}
  .nsd-category-item{flex:1 1 0;min-width:0}
  .nsd-category-item>a{min-height:82px;padding:7px 5px 6px;gap:3px}
  .nsd-category-icon{width:43px;height:43px;font-size:23px}
  .nsd-category-name{font-size:11px;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .nsd-category-count{font-size:9px}

  /* Compact sticky state after scrolling. */
  body.nsd-header-compact .nsd-sticky-shell{box-shadow:0 5px 18px rgba(7,26,70,.15)}
  body.nsd-header-compact .nsd-header-row{grid-template-columns:165px minmax(380px,1fr) max-content;padding:5px 0}
  body.nsd-header-compact .nsd-logo{font-size:23px}
  body.nsd-header-compact .nsd-logo-bag{width:32px;height:32px;flex-basis:32px}
  body.nsd-header-compact .nsd-logo small{display:none}
  body.nsd-header-compact .nsd-logo .custom-logo{max-height:36px!important;max-width:160px}
  body.nsd-header-compact .nsd-action-card{min-height:40px;padding:4px 7px;border-radius:9px;box-shadow:none}
  body.nsd-header-compact .nsd-action-icon{width:29px;height:29px;flex-basis:29px}
  body.nsd-header-compact .nsd-action-copy small{display:none}
  body.nsd-header-compact .nsd-nav .nsd-container{min-height:38px}
  body.nsd-header-compact .nsd-allcats,body.nsd-header-compact .nsd-whatsapp{padding-top:10px;padding-bottom:10px}
  body.nsd-header-compact .nsd-menu a{font-size:13px}
  body.nsd-header-compact .nsd-category-bar{padding:0;background:#fff;border-top:1px solid #edf0f5;border-bottom:1px solid #e5e9f0}
  body.nsd-header-compact .nsd-category-scroll{width:min(1420px,94%);border:0;border-radius:0;box-shadow:none;display:flex;justify-content:center;overflow-x:auto;overflow-y:visible}
  body.nsd-header-compact .nsd-category-item{flex:0 0 auto;border:0}
  body.nsd-header-compact .nsd-category-item>a{min-height:38px;padding:0 14px;display:flex;flex-direction:row;align-items:center;gap:4px;border-radius:0}
  body.nsd-header-compact .nsd-category-icon,
  body.nsd-header-compact .nsd-category-count{display:none}
  body.nsd-header-compact .nsd-category-name{font-size:12px;font-weight:700;max-width:none}
  body.nsd-header-compact .nsd-category-caret{margin:0;font-size:11px}
  body.nsd-header-compact .nsd-category-item:hover>a{transform:none;background:#f5f8ff;color:var(--nsd-blue)}
  body.nsd-header-compact .nsd-mega-menu{top:100%}
}

@media (prefers-reduced-motion:no-preference){
  .nsd-header-row,.nsd-logo,.nsd-logo-bag,.nsd-action-card,.nsd-action-icon,.nsd-category-item>a,.nsd-category-icon{transition:all .18s ease}
}

/* =========================================================
   V6.2 — Clearer category names, smaller icons, cleaner cards
   ========================================================= */
@media (min-width: 901px){
  body:not(.nsd-header-compact) .nsd-category-item>a{
    min-height:76px;
    padding:6px 6px 7px;
    gap:4px;
  }
  body:not(.nsd-header-compact) .nsd-category-icon{
    width:38px;
    height:38px;
    font-size:21px;
    border-radius:10px;
  }
  body:not(.nsd-header-compact) .nsd-category-name{
    font-size:14px;
    font-weight:700;
    line-height:1.18;
    max-width:112px;
    min-height:33px;
    white-space:normal;
    overflow:visible;
    text-overflow:clip;
    display:flex;
    align-items:center;
    justify-content:center;
    text-align:center;
  }
  body:not(.nsd-header-compact) .nsd-category-count{
    display:none;
  }

  body.nsd-header-compact .nsd-category-name{
    font-size:13px;
    font-weight:700;
  }
}


/* =========================================================
   V6.3 — Smaller category cards with the same clear text/icons
   ========================================================= */
@media (min-width: 901px){
  body:not(.nsd-header-compact) .nsd-category-bar{
    padding:4px 0 6px;
  }
  body:not(.nsd-header-compact) .nsd-category-scroll{
    width:fit-content;
    max-width:94%;
    margin:0 auto;
    justify-content:center;
    border-radius:10px;
  }
  body:not(.nsd-header-compact) .nsd-category-item{
    flex:0 0 112px;
    min-width:112px;
  }
  body:not(.nsd-header-compact) .nsd-category-item>a{
    min-height:66px;
    padding:4px 5px 5px;
    gap:2px;
    border-radius:9px;
  }
  body:not(.nsd-header-compact) .nsd-category-icon{
    width:36px;
    height:36px;
  }
  body:not(.nsd-header-compact) .nsd-category-name{
    min-height:28px;
    max-width:102px;
    line-height:1.12;
  }
}

/* ================================================================
   V6.4 — Professional button hover and keyboard-focus interactions
   ================================================================ */
@media (hover:hover) and (pointer:fine){
  /* Product-grid Add to cart / Select options */
  .woocommerce ul.products li.product .button:not(.disabled):not(:disabled):hover{
    background:var(--nsd-orange)!important;
    color:var(--nsd-blue)!important;
    border-color:var(--nsd-orange)!important;
    transform:translateY(-2px);
    filter:none;
    box-shadow:0 8px 18px rgba(255,173,10,.28);
  }

  /* Product-grid wishlist buttons */
  .woocommerce ul.products li.product .tinvwl_add_to_wishlist_button:hover,
  .woocommerce ul.products li.product .woosw-btn:hover,
  .woocommerce ul.products li.product .add_to_wishlist:hover{
    background:#fff5df!important;
    color:#9a5700!important;
    border-color:var(--nsd-orange)!important;
    transform:translateY(-2px);
    box-shadow:0 7px 16px rgba(255,173,10,.18);
  }

  /* Single-product Add to cart */
  .nsd-single-product-page form.cart .single_add_to_cart_button:not(.disabled):not(:disabled):hover{
    background:var(--nsd-orange)!important;
    color:var(--nsd-blue)!important;
    transform:translateY(-2px);
    filter:none;
    box-shadow:0 9px 20px rgba(255,173,10,.30);
  }

  /* Single-product Buy Now */
  .nsd-single-product-page form.cart .nsd-buy-now:not(:disabled):hover{
    background:var(--nsd-blue)!important;
    color:#fff!important;
    transform:translateY(-2px);
    filter:none;
    box-shadow:0 9px 20px rgba(7,26,70,.24);
  }

  /* Single-product wishlist */
  .nsd-single-product-page .tinvwl_add_to_wishlist_button:hover,
  .nsd-single-product-page .woosw-btn:hover,
  .nsd-single-product-page .add_to_wishlist:hover{
    background:#fff5df!important;
    color:#9a5700!important;
    border-color:var(--nsd-orange)!important;
    transform:translateY(-2px);
    box-shadow:0 7px 16px rgba(255,173,10,.18);
  }
}

/* Smooth motion and accessible keyboard focus. */
.woocommerce ul.products li.product .button,
.woocommerce ul.products li.product .tinvwl_add_to_wishlist_button,
.woocommerce ul.products li.product .woosw-btn,
.woocommerce ul.products li.product .add_to_wishlist,
.nsd-single-product-page form.cart .single_add_to_cart_button,
.nsd-single-product-page form.cart .nsd-buy-now,
.nsd-single-product-page .tinvwl_add_to_wishlist_button,
.nsd-single-product-page .woosw-btn,
.nsd-single-product-page .add_to_wishlist{
  transition:background-color .24s ease,color .24s ease,border-color .24s ease,transform .24s ease,box-shadow .24s ease!important;
}

.woocommerce ul.products li.product .button:focus-visible,
.woocommerce ul.products li.product .tinvwl_add_to_wishlist_button:focus-visible,
.woocommerce ul.products li.product .woosw-btn:focus-visible,
.woocommerce ul.products li.product .add_to_wishlist:focus-visible,
.nsd-single-product-page form.cart .single_add_to_cart_button:focus-visible,
.nsd-single-product-page form.cart .nsd-buy-now:focus-visible,
.nsd-single-product-page .tinvwl_add_to_wishlist_button:focus-visible,
.nsd-single-product-page .woosw-btn:focus-visible,
.nsd-single-product-page .add_to_wishlist:focus-visible{
  outline:3px solid rgba(255,173,10,.42)!important;
  outline-offset:3px!important;
}

@media (prefers-reduced-motion:reduce){
  .woocommerce ul.products li.product .button,
  .woocommerce ul.products li.product .tinvwl_add_to_wishlist_button,
  .woocommerce ul.products li.product .woosw-btn,
  .woocommerce ul.products li.product .add_to_wishlist,
  .nsd-single-product-page form.cart .single_add_to_cart_button,
  .nsd-single-product-page form.cart .nsd-buy-now,
  .nsd-single-product-page .tinvwl_add_to_wishlist_button,
  .nsd-single-product-page .woosw-btn,
  .nsd-single-product-page .add_to_wishlist{
    transition:none!important;
  }
}

/* =========================================================
   V6.5 — Navigation & footer interactive states
   ========================================================= */
.nsd-menu a,
.nsd-whatsapp,
.nsd-allcats{
  transition:background-color .22s ease,color .22s ease,transform .22s ease,box-shadow .22s ease;
}
.nsd-menu a{
  position:relative;
  display:flex;
  align-items:center;
  min-height:46px;
  padding:0 5px;
}
.nsd-menu a::after{
  content:"";
  position:absolute;
  left:5px;
  right:5px;
  bottom:6px;
  height:3px;
  border-radius:3px;
  background:var(--nsd-orange);
  transform:scaleX(0);
  transform-origin:center;
  transition:transform .22s ease;
}
.nsd-menu a:hover,
.nsd-menu a:focus-visible,
.nsd-menu .current-menu-item > a,
.nsd-menu .current_page_item > a{
  color:var(--nsd-orange);
}
.nsd-menu a:hover::after,
.nsd-menu a:focus-visible::after,
.nsd-menu .current-menu-item > a::after,
.nsd-menu .current_page_item > a::after{
  transform:scaleX(1);
}
.nsd-allcats:hover,
.nsd-allcats:focus-visible{
  background:#f39b00;
  color:#fff;
}
.nsd-whatsapp:hover,
.nsd-whatsapp:focus-visible{
  background:#087a3b;
  color:#fff;
  box-shadow:0 7px 16px rgba(0,0,0,.18);
}

.nsd-footer-links{list-style:none;margin:0;padding:0}
.nsd-footer-links li{margin:0;padding:0}
.nsd-footer-links a{
  display:flex!important;
  align-items:center;
  gap:9px;
  width:max-content;
  max-width:100%;
  padding:3px 0;
  margin:4px 0!important;
  transition:color .22s ease,transform .22s ease;
}
.nsd-footer-link-icon{
  display:inline-grid;
  place-items:center;
  flex:0 0 19px;
  width:19px;
  height:19px;
  color:var(--nsd-orange);
  font-size:14px;
  line-height:1;
  transition:transform .22s ease,color .22s ease;
}
.nsd-footer-links a:hover,
.nsd-footer-links a:focus-visible{
  color:var(--nsd-orange)!important;
  transform:translateX(5px);
}
.nsd-footer-links a:hover .nsd-footer-link-icon,
.nsd-footer-links a:focus-visible .nsd-footer-link-icon{
  color:#fff;
  transform:scale(1.15);
}
.nsd-footer .nsd-subscribe-form{display:flex;max-width:330px}
.nsd-footer .nsd-subscribe-form input{
  min-width:0;
  flex:1;
  border:0;
  border-radius:7px 0 0 7px;
  padding:12px 13px;
}
.nsd-footer .nsd-subscribe-form button{
  border:0;
  border-radius:0 7px 7px 0;
  background:var(--nsd-orange);
  color:#111;
  font-weight:800;
  padding:0 18px;
  cursor:pointer;
  transition:background-color .22s ease,color .22s ease,transform .22s ease;
}
.nsd-footer .nsd-subscribe-form button:hover,
.nsd-footer .nsd-subscribe-form button:focus-visible{
  background:#fff;
  color:var(--nsd-blue);
}
@media(max-width:767px){
  .nsd-menu a::after{display:none}
  .nsd-menu a:hover,.nsd-menu a:focus-visible{background:#fff7e5;color:var(--nsd-blue)}
  .nsd-footer-links a{width:100%}
}



/* V6.6 one-line brand logo and software hub actions */
.nsd-logo{min-width:190px;gap:10px;white-space:nowrap}
.nsd-brand-mark{width:40px;height:40px;flex:0 0 40px;display:inline-grid;place-items:center}
.nsd-brand-mark svg{width:40px;height:40px;overflow:visible}
.nsd-brand-mark rect{fill:#fff8e6;stroke:var(--nsd-orange);stroke-width:2.5}
.nsd-brand-mark path{fill:none;stroke:var(--nsd-blue);stroke-width:2.8;stroke-linecap:round;stroke-linejoin:round}
.nsd-brand-copy{display:flex;flex-direction:column;min-width:0}
.nsd-brand-name{display:flex;align-items:baseline;gap:7px;line-height:1;white-space:nowrap;font-size:27px;letter-spacing:-.5px}
.nsd-brand-name b{color:var(--nsd-blue);font-weight:900}
.nsd-brand-name strong{color:var(--nsd-orange);font-weight:900}
.nsd-brand-copy small{display:block;margin-top:5px;font-size:9px;line-height:1;color:#667085;letter-spacing:.05px}

.nsd-software-card{display:flex;flex-direction:column;min-height:270px;position:relative;overflow:hidden}
.nsd-software-card:before{content:"";position:absolute;inset:0 0 auto;height:3px;background:linear-gradient(90deg,var(--nsd-orange),var(--nsd-blue));opacity:0;transition:.2s}
.nsd-software-card:hover:before{opacity:1}
.nsd-software-top{display:flex;align-items:center;justify-content:space-between;gap:12px}
.nsd-software-status{display:inline-flex;align-items:center;justify-content:center;padding:5px 9px;border-radius:999px;background:#e8f8ee;color:#087a3d;border:1px solid #bfe7ce;font-size:10px;font-weight:900;letter-spacing:.4px}
.nsd-software-card h3 a{color:inherit}
.nsd-software-card p{flex:1}
.nsd-software-actions{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:auto}
.nsd-software-btn{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:10px 12px;border-radius:8px;font-size:12px;font-weight:900;transition:transform .2s ease,box-shadow .2s ease,background .2s ease,color .2s ease,border-color .2s ease}
.nsd-demo-btn{background:var(--nsd-orange);color:#071a46;border:1px solid var(--nsd-orange)}
.nsd-demo-btn:hover{background:var(--nsd-blue);color:#fff;border-color:var(--nsd-blue);transform:translateY(-2px);box-shadow:0 8px 18px rgba(7,26,70,.16)}
.nsd-download-btn{background:var(--nsd-blue);color:#fff;border:1px solid var(--nsd-blue)}
.nsd-download-btn:hover{background:#fff;color:var(--nsd-blue);border-color:var(--nsd-blue);transform:translateY(-2px);box-shadow:0 8px 18px rgba(7,26,70,.12)}
.nsd-software-card:focus-within{outline:3px solid rgba(255,173,10,.28);outline-offset:2px}

@media(max-width:1100px){
  .nsd-brand-name{font-size:24px}
  .nsd-logo{min-width:170px}
}
@media(max-width:600px){
  .nsd-brand-mark,.nsd-brand-mark svg{width:34px;height:34px}
  .nsd-brand-mark{flex-basis:34px}
  .nsd-brand-name{font-size:21px;gap:5px}
  .nsd-brand-copy small{display:none}
  .nsd-software-actions{grid-template-columns:1fr}
}


/* V6.7 compact category selector and refined NSD MART logo */
@media(min-width:768px){
  .nsd-search select{
    width:170px!important;
    min-width:170px!important;
    max-width:170px!important;
    flex:0 0 170px!important;
  }
}
.nsd-brand-mark{filter:drop-shadow(0 3px 7px rgba(7,26,70,.12))}
.nsd-brand-mark .nsd-logo-tile{fill:var(--nsd-blue);stroke:var(--nsd-orange);stroke-width:2.2}
.nsd-brand-mark .nsd-logo-bag-shape{fill:var(--nsd-orange);stroke:none}
.nsd-brand-mark .nsd-logo-handle{fill:none;stroke:#fff;stroke-width:2.6;stroke-linecap:round}
.nsd-brand-mark .nsd-logo-n{fill:none;stroke:#fff;stroke-width:2.8;stroke-linecap:round;stroke-linejoin:round}
.nsd-logo:hover .nsd-brand-mark{transform:translateY(-1px) scale(1.03);filter:drop-shadow(0 6px 12px rgba(7,26,70,.18))}
.nsd-brand-mark{transition:transform .2s ease,filter .2s ease}
.nsd-footer .nsd-brand-mark .nsd-logo-tile{fill:#fff;stroke:var(--nsd-orange)}
.nsd-footer .nsd-brand-mark .nsd-logo-bag-shape{fill:var(--nsd-orange)}
.nsd-footer .nsd-brand-mark .nsd-logo-handle,.nsd-footer .nsd-brand-mark .nsd-logo-n{stroke:var(--nsd-blue)}


/* =========================================================
   V6.8 — Compact desktop search width so the one-line logo stays fully visible
   ========================================================= */
@media (min-width:1025px){
  .nsd-header-row{
    grid-template-columns:220px minmax(0,450px) max-content!important;
    justify-content:center;
    column-gap:12px;
  }
  .nsd-search{
    width:450px!important;
    max-width:450px!important;
    min-width:0!important;
    justify-self:start;
  }
  .nsd-search input[type="search"]{
    min-width:0!important;
  }
  .nsd-logo{
    min-width:220px;
    overflow:visible;
  }
  body.nsd-header-compact .nsd-header-row{
    grid-template-columns:205px minmax(0,430px) max-content!important;
  }
  body.nsd-header-compact .nsd-search{
    width:430px!important;
    max-width:430px!important;
  }
}
@media (min-width:1025px) and (max-width:1350px){
  .nsd-header-row{
    grid-template-columns:205px minmax(0,380px) max-content!important;
  }
  .nsd-search{
    width:380px!important;
    max-width:380px!important;
  }
  body.nsd-header-compact .nsd-header-row{
    grid-template-columns:195px minmax(0,360px) max-content!important;
  }
  body.nsd-header-compact .nsd-search{
    width:360px!important;
    max-width:360px!important;
  }
}

/* =========================================================
   V6.9 — Final balanced desktop header
   Restore a useful search width while keeping the one-line logo visible.
   ========================================================= */
@media (min-width:1351px){
  .nsd-header-row{
    grid-template-columns:230px minmax(560px,1fr) max-content!important;
    justify-content:stretch!important;
    column-gap:14px!important;
  }
  .nsd-search,
  .dgwt-wcas-search-wrapp{
    width:100%!important;
    max-width:none!important;
    min-width:560px!important;
    justify-self:stretch!important;
  }
  .nsd-logo{
    min-width:230px!important;
    overflow:visible!important;
  }
  body.nsd-header-compact .nsd-header-row{
    grid-template-columns:215px minmax(540px,1fr) max-content!important;
  }
  body.nsd-header-compact .nsd-search,
  body.nsd-header-compact .dgwt-wcas-search-wrapp{
    width:100%!important;
    max-width:none!important;
    min-width:540px!important;
  }
}
@media (min-width:1025px) and (max-width:1350px){
  .nsd-header-row{
    grid-template-columns:205px minmax(430px,1fr) max-content!important;
    justify-content:stretch!important;
    column-gap:10px!important;
  }
  .nsd-search,
  .dgwt-wcas-search-wrapp{
    width:100%!important;
    max-width:none!important;
    min-width:430px!important;
    justify-self:stretch!important;
  }
  .nsd-logo{
    min-width:205px!important;
    overflow:visible!important;
  }
  body.nsd-header-compact .nsd-header-row{
    grid-template-columns:195px minmax(410px,1fr) max-content!important;
  }
  body.nsd-header-compact .nsd-search,
  body.nsd-header-compact .dgwt-wcas-search-wrapp{
    width:100%!important;
    max-width:none!important;
    min-width:410px!important;
  }
}

/* NSD MART V7 Control Panel extras */
.nsd-announcement{background:var(--nsd-orange,#ffad0a);text-align:center;padding:8px 15px;font-weight:800}
.nsd-announcement a{color:var(--nsd-blue,#071a46);text-decoration:none}
.nsd-offer-banner{display:block;margin:14px 0;border-radius:var(--nsd-radius,8px);overflow:hidden}
.nsd-offer-banner img{display:block;width:100%;height:auto}
.nsd-footer-contact{color:#d6def0;margin:6px 0;font-size:13px}


/* V8.1 Homepage Builder */
.nsd-home-builder-banner{display:block;margin:20px 0;border-radius:var(--nsd-radius,10px);overflow:hidden;background:#fff}
.nsd-home-builder-banner img{display:block;width:100%;height:auto}
.nsd-builder-cat{gap:8px;min-height:170px;overflow:hidden}
.nsd-builder-cat img{width:82px;height:82px;object-fit:contain;margin:0 auto}
.nsd-builder-cat strong{display:block}.nsd-cat-placeholder{font-size:48px;line-height:1}
.nsd-brand-grid{display:grid;grid-template-columns:repeat(8,1fr);gap:12px}
.nsd-brand-grid a,.nsd-brand-grid>span{display:flex;align-items:center;justify-content:center;min-height:82px;padding:14px;background:#fff;border:1px solid var(--nsd-border);border-radius:var(--nsd-radius,8px);font-weight:700;text-align:center}
.nsd-testimonial-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.nsd-testimonial-grid article{background:#fff;border:1px solid var(--nsd-border);border-radius:var(--nsd-radius,8px);padding:22px;box-shadow:0 5px 18px rgba(7,26,70,.05)}
.nsd-testimonial-grid p{line-height:1.7;color:#596273}.nsd-testimonial-stars{color:#ffad0a;letter-spacing:2px}
@media(max-width:900px){.nsd-brand-grid{grid-template-columns:repeat(4,1fr)}.nsd-testimonial-grid{grid-template-columns:1fr}.nsd-cat-grid{grid-template-columns:repeat(3,1fr)}}
@media(max-width:560px){.nsd-brand-grid{grid-template-columns:repeat(2,1fr)}.nsd-cat-grid{grid-template-columns:repeat(2,1fr)}}

/* NSD MART V9.0 e-commerce features */
.nsd-shipping-progress{padding:14px 16px;margin:0 0 18px;background:#fff;border:1px solid #e5e9f0;border-radius:10px}.nsd-shipping-message{font-weight:700;margin-bottom:8px}.nsd-progress-track{height:9px;background:#e9edf3;border-radius:99px;overflow:hidden}.nsd-progress-track span{display:block;height:100%;background:#0d8f47;border-radius:99px;transition:width .3s}
.nsd-card-actions{display:flex;gap:7px;margin-top:8px}.nsd-card-actions button{flex:1;border:1px solid #dce2eb;background:#fff;border-radius:7px;padding:7px 6px;font-size:12px;font-weight:700;cursor:pointer}.nsd-card-actions button:hover{border-color:#071a46;color:#071a46}
.nsd-modal{display:none;position:fixed;inset:0;background:rgba(3,12,32,.68);z-index:999999;align-items:center;justify-content:center;padding:20px}.nsd-modal.is-open{display:flex}.nsd-modal-box{position:relative;background:#fff;width:min(860px,96vw);max-height:90vh;overflow:auto;border-radius:14px;padding:26px}.nsd-modal-close{position:absolute;right:12px;top:8px;border:0;background:transparent;font-size:32px;cursor:pointer}.nsd-qv-grid{display:grid;grid-template-columns:1fr 1fr;gap:28px;align-items:center}.nsd-qv-grid img{width:100%;height:auto}.nsd-qv-grid .price{font-size:22px;font-weight:800;margin:12px 0}.nsd-qv-desc{margin-bottom:18px}
.nsd-compare-drawer{position:fixed;right:-560px;top:0;width:min(540px,96vw);height:100vh;background:#fff;z-index:999999;box-shadow:-8px 0 30px rgba(0,0,0,.18);padding:24px;overflow:auto;transition:right .25s}.nsd-compare-drawer.is-open{right:0}.nsd-compare-close{float:right;border:0;background:transparent;font-size:30px}.nsd-compare-table{width:100%;border-collapse:collapse}.nsd-compare-table th,.nsd-compare-table td{border-bottom:1px solid #e7ebf1;padding:10px;text-align:left;vertical-align:middle}.nsd-compare-table img{width:46px;height:46px;object-fit:cover;margin-right:8px;vertical-align:middle}.nsd-compare-remove{border:0;background:#f2f4f7;border-radius:50%;width:28px;height:28px}
.nsd-recently-viewed,.nsd-product-video,.nsd-product-faq{clear:both;margin:32px auto;max-width:1420px;padding:0 18px}.nsd-product-video iframe,.nsd-product-video video{width:100%;max-width:850px;aspect-ratio:16/9;height:auto;border:0;border-radius:12px}.nsd-product-faq details{border:1px solid #e3e8ef;border-radius:9px;margin:9px 0;background:#fff}.nsd-product-faq summary{cursor:pointer;font-weight:750;padding:14px 16px}.nsd-product-faq details div{padding:0 16px 14px;color:#475467}
.nsd-pincode-checker{margin:16px 0;padding:14px;background:#f7f9fc;border:1px solid #e2e7ef;border-radius:9px}.nsd-pincode-checker>div{display:flex;margin-top:8px}.nsd-pincode-checker input{flex:1;min-width:0;padding:10px;border:1px solid #cfd6e1;border-radius:7px 0 0 7px}.nsd-pincode-checker button{border:0;background:#071a46;color:#fff;padding:0 16px;border-radius:0 7px 7px 0;font-weight:700}.nsd-pincode-result{margin:8px 0 0}.nsd-pincode-result.ok{color:#0d8f47}.nsd-pincode-result.bad{color:#b42318}
.nsd-v9-trust-badges{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:16px 0}.nsd-v9-trust-badges span{display:block;padding:10px;background:#f8fafc;border:1px solid #e4e9f0;border-radius:8px;font-size:13px;font-weight:700}
.nsd-sticky-cart{position:fixed;left:0;right:0;bottom:0;z-index:99990;background:#fff;border-top:1px solid #dfe5ed;box-shadow:0 -5px 20px rgba(0,0,0,.1);display:flex;align-items:center;justify-content:space-between;gap:20px;padding:10px max(18px,calc((100vw - 1420px)/2));transform:translateY(110%);animation:nsdStickyIn .35s forwards .7s}.nsd-sticky-product{display:flex;align-items:center;gap:10px}.nsd-sticky-product img{width:48px;height:48px;object-fit:cover;border-radius:7px}.nsd-sticky-product span{display:grid}.nsd-sticky-add{min-width:150px}@keyframes nsdStickyIn{to{transform:translateY(0)}}
@media(max-width:700px){.nsd-qv-grid{grid-template-columns:1fr}.nsd-v9-trust-badges{grid-template-columns:1fr}.nsd-sticky-product strong{max-width:150px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.nsd-sticky-product img{display:none}.nsd-sticky-cart{padding:8px 12px}.nsd-sticky-add{min-width:120px}}

/* V9.2: title line count is generated dynamically in wp_head with stronger selectors. */

/* NSD MART V28.4 — Stability fix
   Reverted the global scrollbar/drawer overrides that caused white flashing
   and header jumps during navigation. Native drawer styles remain active. */
html{scroll-behavior:auto;}
body{overflow-x:hidden;}


/* =========================================================
 * NSD MART V28.4 — Targeted right off-canvas stability fix
 * Keeps the normal browser scrollbar and header untouched.
 * ========================================================= */
html, body {
  max-width: 100%;
  overflow-x: clip;
}

/* Compare drawer: fully outside paint/hit testing until opened. */
#nsd-compare-drawer.nsd-compare-drawer {
  right: 0 !important;
  transform: translate3d(110%,0,0) !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
  will-change: transform;
  transition: transform .25s ease, opacity .15s ease, visibility 0s linear .25s !important;
  contain: layout paint style;
}
#nsd-compare-drawer.nsd-compare-drawer.is-open {
  transform: translate3d(0,0,0) !important;
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: auto !important;
  transition: transform .25s ease, opacity .15s ease, visibility 0s !important;
}

/* Wishlist drawer: prevent any white strip or slide flash on navigation. */
#nsd-v25-wishlist-drawer.nsd-v25-drawer {
  right: 0 !important;
  transform: translate3d(110%,0,0) !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
  will-change: transform;
  transition: transform .25s ease, opacity .15s ease, visibility 0s linear .25s !important;
  contain: layout paint style;
}
#nsd-v25-wishlist-drawer.nsd-v25-drawer.is-open {
  transform: translate3d(0,0,0) !important;
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: auto !important;
  transition: transform .25s ease, opacity .15s ease, visibility 0s !important;
}

/* Overlay is also non-interactive until explicitly opened. */
#nsd-v25-overlay.nsd-v25-overlay {
  pointer-events: none !important;
}
#nsd-v25-overlay.nsd-v25-overlay.is-open {
  pointer-events: auto !important;
}

/* Mobile filter drawer only; desktop filter layout remains unchanged. */
@media (max-width:680px) {
  .nsd-v26-filter-form {
    right: 0 !important;
    transform: translate3d(110%,0,0) !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    transition: transform .25s ease, opacity .15s ease, visibility 0s linear .25s !important;
    contain: layout paint style;
  }
  .nsd-v26-filter-form.is-open {
    transform: translate3d(0,0,0) !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    transition: transform .25s ease, opacity .15s ease, visibility 0s !important;
  }
}
\n\n/* =========================================================
 * NSD MART V28.6 — Stable sticky header + names-only category strip
 * Desktop only. Header/menu remain fixed; category icons disappear
 * after scrolling without repeated compact/expand shaking.
 * ========================================================= */
@media (min-width:1025px){
  .nsd-sticky-shell{
    position:sticky;
    top:0;
    z-index:9999;
    isolation:isolate;
  }
  .admin-bar .nsd-sticky-shell{top:32px!important}

  /* Keep the main header and navigation dimensions unchanged. */
  body.nsd-header-compact .nsd-header-row{
    grid-template-columns:205px minmax(430px,1fr) max-content!important;
    padding:10px 0!important;
  }
  body.nsd-header-compact .nsd-logo{font-size:27px!important}
  body.nsd-header-compact .nsd-logo small{display:block!important}
  body.nsd-header-compact .nsd-logo .custom-logo{max-height:48px!important;max-width:185px!important}
  body.nsd-header-compact .nsd-action-card{min-height:48px!important;padding:6px 8px!important}
  body.nsd-header-compact .nsd-action-icon{width:32px!important;height:32px!important;flex-basis:32px!important}
  body.nsd-header-compact .nsd-action-copy small{display:block!important}
  body.nsd-header-compact .nsd-nav .nsd-container{min-height:44px!important}
  body.nsd-header-compact .nsd-allcats,
  body.nsd-header-compact .nsd-whatsapp{padding-top:12px!important;padding-bottom:12px!important}
  body.nsd-header-compact .nsd-menu a{font-size:13px!important}

  /* Only the category strip becomes compact and text-only. */
  body.nsd-header-compact .nsd-category-bar{
    padding:0!important;
    background:#fff!important;
    border-top:1px solid #edf0f5!important;
    border-bottom:1px solid #e5e9f0!important;
    box-shadow:0 4px 12px rgba(7,26,70,.08)!important;
  }
  body.nsd-header-compact .nsd-category-scroll{
    width:min(1420px,94%)!important;
    border:0!important;
    border-radius:0!important;
    box-shadow:none!important;
    display:flex!important;
    justify-content:center!important;
    overflow-x:auto!important;
    overflow-y:visible!important;
    scrollbar-width:none;
  }
  body.nsd-header-compact .nsd-category-scroll::-webkit-scrollbar{display:none}
  body.nsd-header-compact .nsd-category-item{
    flex:0 0 auto!important;
    min-width:0!important;
    border:0!important;
  }
  body.nsd-header-compact .nsd-category-item>a{
    min-height:38px!important;
    padding:0 14px!important;
    display:flex!important;
    flex-direction:row!important;
    align-items:center!important;
    justify-content:center!important;
    gap:4px!important;
    border-radius:0!important;
    transform:none!important;
    transition:background-color .15s ease,color .15s ease!important;
  }
  body.nsd-header-compact .nsd-category-icon,
  body.nsd-header-compact .nsd-category-count{
    display:none!important;
  }
  body.nsd-header-compact .nsd-category-name{
    display:block!important;
    min-height:0!important;
    max-width:none!important;
    font-size:13px!important;
    font-weight:700!important;
    line-height:38px!important;
    white-space:nowrap!important;
    overflow:visible!important;
  }
  body.nsd-header-compact .nsd-category-caret{margin:0!important;font-size:11px!important}
  body.nsd-header-compact .nsd-category-item:hover>a,
  body.nsd-header-compact .nsd-category-item:focus-within>a{
    background:#f5f8ff!important;
    color:var(--nsd-blue)!important;
  }
  body.nsd-header-compact .nsd-mega-menu{top:100%!important}

  /* Prevent old all-property transitions from animating layout height. */
  .nsd-header-row,.nsd-logo,.nsd-action-card,.nsd-action-icon,
  .nsd-category-item>a,.nsd-category-icon{
    transition:none!important;
  }
}

/* V28.7 — Active category highlight + reliable desktop hover submenus */
@media (min-width:768px){
  .nsd-category-item.is-current-category > a,
  body.nsd-header-compact .nsd-category-item.is-current-category > a{
    background:#fff1cf!important;
    color:#071a46!important;
    box-shadow:inset 0 -3px 0 #ff9f00!important;
    font-weight:800!important;
  }
  .nsd-category-item.is-current-category .nsd-category-caret{color:#ff8a00!important}

  /* Menu is positioned by JS as fixed, so horizontal category scrolling cannot clip it. */
  .nsd-category-item > .nsd-mega-menu.nsd-desktop-hover-menu{
    position:fixed!important;
    top:var(--nsd-mega-top, 0px)!important;
    left:var(--nsd-mega-left, 0px)!important;
    right:auto!important;
    width:var(--nsd-mega-width, min(780px, calc(100vw - 32px)))!important;
    max-width:calc(100vw - 24px)!important;
    z-index:100000!important;
  }
  .nsd-category-item:hover > a,
  .nsd-category-item.is-mega-open > a{
    background:#fff7e5!important;
    color:#071a46!important;
  }
}


/* =========================================================
 * NSD MART V28.9 — Clear active menu + smaller hover submenu
 * ========================================================= */
@media (min-width:768px){
  /* The currently opened main page is clearly visible. */
  .nsd-menu .current-menu-item > a,
  .nsd-menu .current_page_item > a,
  .nsd-menu .current-menu-ancestor > a,
  .nsd-menu a.is-current-nav{
    background:#ffad0a!important;
    color:#071a46!important;
    border-radius:5px!important;
    font-weight:900!important;
    box-shadow:inset 0 -3px 0 #e78600!important;
    padding-left:12px!important;
    padding-right:12px!important;
  }
  .nsd-menu .current-menu-item > a::after,
  .nsd-menu .current_page_item > a::after,
  .nsd-menu .current-menu-ancestor > a::after,
  .nsd-menu a.is-current-nav::after{display:none!important}

  /* Compact category dropdown, especially simple Mens/Women lists. */
  .nsd-category-item > .nsd-mega-menu.nsd-desktop-hover-menu{
    padding:10px 11px 11px!important;
    border-radius:0 0 10px 10px!important;
  }
  .nsd-category-item > .nsd-mega-menu.nsd-desktop-hover-menu.nsd-mega-leaf-only{
    width:var(--nsd-mega-width, 330px)!important;
    max-width:360px!important;
  }
  .nsd-mega-menu.nsd-mega-leaf-only .nsd-mega-head{
    padding-bottom:7px!important;
    margin-bottom:7px!important;
  }
  .nsd-mega-menu.nsd-mega-leaf-only .nsd-mega-head strong{font-size:15px!important}
  .nsd-mega-menu.nsd-mega-leaf-only .nsd-mega-head span{font-size:10px!important}
  .nsd-mega-menu.nsd-mega-leaf-only .nsd-mega-grid{gap:5px!important}
  .nsd-mega-menu.nsd-mega-leaf-only .nsd-mega-title{
    min-height:32px!important;
    padding:6px 9px!important;
    font-size:12px!important;
  }
}

/* =========================================================
 * NSD MART V28.9 — Text-only active navigation + working All Categories
 * ========================================================= */
@media (min-width:768px){
  /* Active page: only text colour and a slim underline, no large box. */
  .nsd-menu .current-menu-item > a,
  .nsd-menu .current_page_item > a,
  .nsd-menu .current-menu-ancestor > a,
  .nsd-menu a.is-current-nav{
    background:transparent!important;
    color:#ffad0a!important;
    border-radius:0!important;
    box-shadow:none!important;
    padding-left:0!important;
    padding-right:0!important;
    font-weight:900!important;
    position:relative!important;
  }
  .nsd-menu .current-menu-item > a::after,
  .nsd-menu .current_page_item > a::after,
  .nsd-menu .current-menu-ancestor > a::after,
  .nsd-menu a.is-current-nav::after{
    content:""!important;
    display:block!important;
    position:absolute!important;
    left:0!important;
    right:0!important;
    bottom:5px!important;
    height:2px!important;
    border-radius:2px!important;
    background:#ffad0a!important;
  }

  .nsd-allcats-wrap{position:relative;align-self:stretch;display:flex;min-width:220px}
  .nsd-allcats{
    width:100%;border:0;cursor:pointer;text-align:left;
    display:flex;align-items:center;justify-content:flex-start;gap:5px;
    font:inherit;
  }
  .nsd-allcats-caret{margin-left:auto;font-size:13px;transition:transform .18s ease}
  .nsd-allcats-wrap.is-open .nsd-allcats-caret{transform:rotate(180deg)}
  .nsd-allcats-panel{
    display:none;position:absolute;top:100%;left:0;z-index:100001;
    width:330px;max-height:520px;overflow:auto;background:#fff;
    border:1px solid #e6eaf2;border-top:0;border-radius:0 0 12px 12px;
    box-shadow:0 16px 34px rgba(7,26,70,.18);padding:10px;
  }
  .nsd-allcats-wrap.is-open .nsd-allcats-panel{display:block}
  .nsd-allcats-panel-title{font-size:15px;font-weight:900;color:#071a46;padding:5px 8px 10px;border-bottom:1px solid #edf0f5;margin-bottom:5px}
  .nsd-allcats-panel-list{display:grid;gap:3px}
  .nsd-allcats-panel-list a{
    display:flex;align-items:center;justify-content:space-between;
    min-height:36px;padding:7px 9px;border-radius:7px;color:#071a46;
    font-size:13px;font-weight:750;text-decoration:none;
  }
  .nsd-allcats-panel-list a::after{content:"→";color:#ff9f00;font-weight:900}
  .nsd-allcats-panel-list a:hover,.nsd-allcats-panel-list a:focus{background:#fff7e5;color:#071a46}
}


/* =========================================================
   V29.1 Header controls
   ========================================================= */
.nsd-nav .nsd-container.nsd-no-allcats .nsd-menu{padding-left:0}
.nsd-nav .nsd-container.nsd-no-allcats .nsd-menu{justify-content:flex-start}
.nsd-header-row:not(:has(.nsd-logo)){grid-template-columns:minmax(360px,1fr) max-content}
.nsd-header-row:not(:has(.nsd-search)):not(:has(.dgwt-wcas-search-wrapp)){grid-template-columns:220px max-content;justify-content:space-between}
.nsd-header-row:not(:has(.nsd-logo)):not(:has(.nsd-search)):not(:has(.dgwt-wcas-search-wrapp)){grid-template-columns:1fr;justify-items:end}
@media(max-width:767px){.nsd-nav .nsd-container.nsd-no-allcats .nsd-menu{padding-left:18px}}

/* V29.4 catalogue image box: complete product visible, minimal outside gap. */
.woocommerce ul.products li.product a img.nsd-auto-trimmed{
  width:100%!important;
  height:270px!important;
  padding:4px 0 0!important;
  object-fit:contain!important;
  object-position:center top!important;
}
.woocommerce ul.products li.product:hover a img.nsd-auto-trimmed{transform:scale(1.055)!important}
@media(max-width:767px){.woocommerce ul.products li.product a img.nsd-auto-trimmed{height:235px!important;padding-top:3px!important}}


/* =========================================================
 * NSD MART V29.5 — Uniform catalogue cards + stable single image
 * ========================================================= */
.woocommerce ul.products li.product{
  display:flex!important;
  flex-direction:column!important;
  height:100%!important;
  min-width:0!important;
}
.woocommerce ul.products li.product > a.woocommerce-LoopProduct-link{
  display:flex!important;
  flex-direction:column!important;
  width:100%!important;
  min-width:0!important;
}
/* Every product gets exactly the same image stage, regardless of source dimensions. */
.woocommerce ul.products li.product a img,
.woocommerce ul.products li.product a img.nsd-auto-trimmed{
  display:block!important;
  width:100%!important;
  height:292px!important;
  min-height:292px!important;
  max-height:292px!important;
  margin:0 0 10px!important;
  padding:2px 0 0!important;
  object-fit:contain!important;
  object-position:center top!important;
  transform-origin:center center!important;
  transition:transform .22s ease!important;
}
/* Gentle hover only; the fixed stage never changes size. */
.woocommerce ul.products li.product:hover a img,
.woocommerce ul.products li.product:hover a img.nsd-auto-trimmed{
  transform:scale(1.045)!important;
}
/* Reserve the title position for the selected number of lines. */
.woocommerce ul.products li.product .nsd-v94-product-title{
  flex:0 0 auto!important;
  margin-top:0!important;
}
.woocommerce ul.products li.product .nsd-v94-product-title[data-lines="1"]{
  min-height:calc(var(--nsd-title-size) * 1.38)!important;
  max-height:calc(var(--nsd-title-size) * 1.38)!important;
}
.woocommerce ul.products li.product .nsd-v94-product-title[data-lines="2"]{
  min-height:calc(var(--nsd-title-size) * 2.76)!important;
  max-height:calc(var(--nsd-title-size) * 2.76)!important;
}
.woocommerce ul.products li.product .nsd-v94-product-title[data-lines="3"]{
  min-height:calc(var(--nsd-title-size) * 4.14)!important;
  max-height:calc(var(--nsd-title-size) * 4.14)!important;
}
/* Keep the bottom action area aligned across a row. */
.woocommerce ul.products li.product > .button:first-of-type,
.woocommerce ul.products li.product > a.button:first-of-type{
  margin-top:auto!important;
}

/* The unstable WooCommerce magnifier is disabled; lightbox/slider remain available. */
.single-product .woocommerce-product-gallery .zoomImg{display:none!important}
.single-product .woocommerce-product-gallery__image img{
  transform:none!important;
  transition:none!important;
}

@media(max-width:767px){
  .woocommerce ul.products li.product a img,
  .woocommerce ul.products li.product a img.nsd-auto-trimmed{
    height:242px!important;
    min-height:242px!important;
    max-height:242px!important;
    padding-top:2px!important;
  }
}

/* =========================================================
 * NSD MART V30 — Premium customer pages
 * My Account, Track Order, Cart, Checkout and order screens
 * ========================================================= */
.woocommerce-account .site-main,
.woocommerce-account main,
.woocommerce-order-tracking .site-main,
.woocommerce-order-tracking main{
  background:linear-gradient(180deg,#f6f9ff 0%,#ffffff 100%);
}
.woocommerce-account .woocommerce,
.woocommerce-order-tracking .woocommerce{
  max-width:1280px;
  margin:0 auto;
  padding:48px 20px 64px;
}

/* My Account shell */
.woocommerce-account .woocommerce::after{content:"";display:block;clear:both}
.woocommerce-account .woocommerce-MyAccount-navigation{
  width:270px!important;
  float:left!important;
  background:#fff;
  border:1px solid #e4eaf4;
  border-radius:20px;
  padding:12px;
  box-shadow:0 14px 40px rgba(7,35,83,.09);
  overflow:hidden;
}
.woocommerce-account .woocommerce-MyAccount-navigation ul{margin:0!important;padding:0!important;list-style:none!important}
.woocommerce-account .woocommerce-MyAccount-navigation li{margin:3px 0!important;padding:0!important;list-style:none!important}
.woocommerce-account .woocommerce-MyAccount-navigation li a{
  display:flex!important;align-items:center!important;gap:12px!important;
  min-height:48px;padding:12px 14px!important;border-radius:12px!important;
  color:#102650!important;font-weight:750!important;text-decoration:none!important;
  transition:.2s ease;
}
.woocommerce-account .woocommerce-MyAccount-navigation li a::before{
  width:28px;height:28px;display:grid;place-items:center;flex:0 0 28px;
  border-radius:9px;background:#f2f6ff;font-size:15px;
}
.woocommerce-account .woocommerce-MyAccount-navigation-link--dashboard a::before{content:"⌂"}
.woocommerce-account .woocommerce-MyAccount-navigation-link--orders a::before{content:"▣"}
.woocommerce-account .woocommerce-MyAccount-navigation-link--downloads a::before{content:"↓"}
.woocommerce-account .woocommerce-MyAccount-navigation-link--edit-address a::before{content:"⌖"}
.woocommerce-account .woocommerce-MyAccount-navigation-link--edit-account a::before{content:"♙"}
.woocommerce-account .woocommerce-MyAccount-navigation-link--wishlist a::before{content:"♡"}
.woocommerce-account .woocommerce-MyAccount-navigation-link--customer-logout a::before{content:"↗"}
.woocommerce-account .woocommerce-MyAccount-navigation li:hover a,
.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a{
  color:#071f4f!important;background:linear-gradient(90deg,#fff1c6,#fff8e8)!important;
  box-shadow:inset 4px 0 0 #ffad00;
}
.woocommerce-account .woocommerce-MyAccount-content{
  width:calc(100% - 300px)!important;float:right!important;
  background:#fff;border:1px solid #e4eaf4;border-radius:22px;
  padding:30px!important;min-height:420px;
  box-shadow:0 14px 40px rgba(7,35,83,.08);
}
.woocommerce-account .woocommerce-MyAccount-content > p{
  background:#f7f9fd;border:1px solid #e7edf6;border-radius:14px;
  padding:16px 18px;margin:0 0 14px!important;color:#43516c;line-height:1.65;
}
.woocommerce-account .woocommerce-MyAccount-content a{color:#072b6f;font-weight:700}

.nsd-account-hero{
  display:flex;align-items:center;justify-content:space-between;gap:22px;
  padding:25px 26px;margin:0 0 24px;border-radius:18px;
  color:#fff;background:linear-gradient(135deg,#061d4c 0%,#0b357d 70%,#104599 100%);
  box-shadow:0 14px 32px rgba(5,31,82,.22);overflow:hidden;position:relative;
}
.nsd-account-hero::after{content:"";position:absolute;width:180px;height:180px;right:-55px;top:-75px;border-radius:50%;background:rgba(255,179,0,.18)}
.nsd-account-hero h2{margin:0 0 6px!important;color:#fff!important;font-size:27px!important}
.nsd-account-hero p{margin:0!important;color:#dce8ff!important}
.nsd-account-avatar{width:62px;height:62px;border-radius:18px;background:#ffb000;color:#061d4c;display:grid;place-items:center;font-size:28px;font-weight:900;flex:0 0 62px;box-shadow:0 8px 20px rgba(0,0,0,.18)}
.nsd-account-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:0 0 24px}
.nsd-account-card{
  display:block!important;min-height:145px;padding:20px!important;border:1px solid #e3eaf5;border-radius:17px;
  background:linear-gradient(180deg,#fff,#f8faff);text-decoration:none!important;color:#102650!important;
  box-shadow:0 8px 22px rgba(9,36,80,.06);transition:.2s ease;
}
.nsd-account-card:hover{transform:translateY(-4px);border-color:#ffbf32;box-shadow:0 13px 28px rgba(9,36,80,.12)}
.nsd-account-card .nsd-card-icon{width:44px;height:44px;display:grid;place-items:center;border-radius:13px;background:#fff0c9;font-size:22px;margin-bottom:14px}
.nsd-account-card strong{display:block;font-size:17px;margin-bottom:5px}
.nsd-account-card span{display:block;color:#66738c;font-size:13px;line-height:1.45;font-weight:500}

/* Premium Track Order */
.nsd-track-shell{max-width:1040px;margin:0 auto}
.nsd-track-hero{text-align:center;margin:0 0 24px}
.nsd-track-icon{width:74px;height:74px;margin:0 auto 15px;display:grid;place-items:center;border-radius:22px;background:linear-gradient(135deg,#ffbd22,#ff9c00);box-shadow:0 12px 28px rgba(255,165,0,.28);font-size:34px}
.nsd-track-hero h1{margin:0 0 8px!important;color:#071f4f!important;font-size:38px!important}
.nsd-track-hero p{max-width:680px;margin:0 auto!important;color:#61708b!important;font-size:16px;line-height:1.65}
.nsd-track-card{background:#fff;border:1px solid #e1e8f3;border-radius:24px;padding:30px;box-shadow:0 18px 50px rgba(7,35,83,.11)}
.nsd-track-card .nsd-track-fields{display:grid;grid-template-columns:1fr 1fr;gap:18px}
.nsd-track-card .form-row{width:100%!important;float:none!important;margin:0!important}
.nsd-track-card label{display:block;margin:0 0 8px;color:#102650;font-weight:800;font-size:14px}
.nsd-track-card input.input-text{width:100%!important;height:54px!important;padding:0 16px!important;border:1px solid #ced8e8!important;border-radius:13px!important;background:#f9fbff!important;color:#102650!important;font-size:15px!important;box-shadow:none!important;transition:.2s}
.nsd-track-card input.input-text:focus{border-color:#ffae00!important;background:#fff!important;box-shadow:0 0 0 4px rgba(255,174,0,.14)!important;outline:none!important}
.nsd-track-card .nsd-track-submit{margin:20px 0 0!important}
.nsd-track-card button.button,
.nsd-track-card input.button{
  width:100%!important;height:56px!important;border:0!important;border-radius:14px!important;
  color:#071f4f!important;background:linear-gradient(90deg,#ffc126,#ffa300)!important;
  font-size:17px!important;font-weight:900!important;letter-spacing:.2px!important;
  box-shadow:0 12px 25px rgba(255,166,0,.28)!important;cursor:pointer;transition:.2s ease;
}
.nsd-track-card button.button:hover,.nsd-track-card input.button:hover{transform:translateY(-2px);filter:brightness(.98);box-shadow:0 15px 30px rgba(255,166,0,.36)!important}
.nsd-track-help{display:flex;justify-content:center;gap:26px;flex-wrap:wrap;margin:22px 0 0;padding-top:20px;border-top:1px dashed #d9e2ef;color:#62718b;font-size:13px}
.nsd-track-help span::before{content:"✓";margin-right:7px;color:#079447;font-weight:900}

/* General premium WooCommerce forms/tables used by account, cart and checkout */
.woocommerce table.shop_table{border:1px solid #e1e8f3!important;border-radius:16px!important;overflow:hidden;background:#fff;box-shadow:0 8px 24px rgba(7,35,83,.06)}
.woocommerce table.shop_table th{background:#f3f7fd;color:#102650;font-weight:850}
.woocommerce .woocommerce-Button.button,
.woocommerce-account .button:not(.nsd-no-style){border-radius:11px!important;background:#09275d!important;color:#fff!important;font-weight:800!important;border:0!important;padding:12px 18px!important}
.woocommerce .woocommerce-Button.button:hover,.woocommerce-account .button:hover{background:#ffad00!important;color:#071f4f!important}

@media(max-width:900px){
 .woocommerce-account .woocommerce-MyAccount-navigation,.woocommerce-account .woocommerce-MyAccount-content{width:100%!important;float:none!important}
 .woocommerce-account .woocommerce-MyAccount-navigation{margin-bottom:18px}
 .woocommerce-account .woocommerce-MyAccount-navigation ul{display:flex;overflow-x:auto;gap:6px;padding-bottom:3px!important}
 .woocommerce-account .woocommerce-MyAccount-navigation li{flex:0 0 auto}
 .woocommerce-account .woocommerce-MyAccount-navigation li a{white-space:nowrap}
 .nsd-account-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:640px){
 .woocommerce-account .woocommerce,.woocommerce-order-tracking .woocommerce{padding:28px 12px 45px}
 .woocommerce-account .woocommerce-MyAccount-content{padding:18px!important;border-radius:17px}
 .nsd-account-hero{padding:20px;align-items:flex-start}
 .nsd-account-hero h2{font-size:22px!important}
 .nsd-account-avatar{width:50px;height:50px;flex-basis:50px;border-radius:14px}
 .nsd-account-grid{grid-template-columns:1fr}
 .nsd-track-hero h1{font-size:30px!important}
 .nsd-track-card{padding:20px 16px;border-radius:18px}
 .nsd-track-card .nsd-track-fields{grid-template-columns:1fr}
}

/* =========================================================
 * NSD MART V31 — Premium Cart & Checkout
 * Supports WooCommerce classic and Checkout/Cart blocks
 * ========================================================= */
body.woocommerce-cart .site-main,
body.woocommerce-checkout .site-main,
body.woocommerce-cart main,
body.woocommerce-checkout main{
  background:linear-gradient(180deg,#f4f8ff 0%,#ffffff 72%);
}
body.woocommerce-cart .woocommerce,
body.woocommerce-checkout .woocommerce,
body.woocommerce-cart .wp-block-woocommerce-cart,
body.woocommerce-checkout .wp-block-woocommerce-checkout{
  max-width:1440px;margin:0 auto;padding:44px 20px 68px;
}
body.woocommerce-cart h1,
body.woocommerce-checkout h1,
body.woocommerce-cart .entry-title,
body.woocommerce-checkout .entry-title{
  color:#071f4f!important;font-size:36px!important;line-height:1.15!important;
  font-weight:900!important;margin:0 0 30px!important;letter-spacing:-.5px;
}

/* Block Cart layout */
body.woocommerce-cart .wc-block-cart{
  gap:28px!important;align-items:start!important;
}
body.woocommerce-cart .wc-block-cart-items{
  background:#fff;border:1px solid #e1e8f3;border-radius:22px;
  padding:10px 22px;box-shadow:0 16px 40px rgba(7,31,79,.08);
  overflow:hidden;
}
body.woocommerce-cart .wc-block-cart-items__header{
  color:#071f4f;font-weight:900;text-transform:uppercase;letter-spacing:.3px;
  border-bottom:1px solid #e6ebf3!important;
}
body.woocommerce-cart .wc-block-cart-items__row{
  padding:22px 0!important;border-bottom:1px solid #edf1f7!important;
}
body.woocommerce-cart .wc-block-cart-item__image img{
  width:110px!important;height:110px!important;object-fit:contain!important;
  background:#f7f9fd;border:1px solid #e7ecf4;border-radius:14px;padding:6px;
}
body.woocommerce-cart .wc-block-components-product-name{
  color:#071f4f!important;font-size:16px!important;font-weight:850!important;line-height:1.35!important;
}
body.woocommerce-cart .wc-block-components-product-price,
body.woocommerce-cart .wc-block-components-product-badge{
  font-weight:800!important;
}
body.woocommerce-cart .wc-block-components-quantity-selector{
  border:1px solid #d6dfec!important;border-radius:10px!important;overflow:hidden;background:#fff;
}
body.woocommerce-cart .wc-block-components-quantity-selector input{
  min-width:42px!important;font-weight:800!important;color:#071f4f!important;
}
body.woocommerce-cart .wc-block-cart-item__remove-link{
  color:#cf2637!important;font-weight:750!important;text-decoration:none!important;
}
body.woocommerce-cart .wc-block-cart__sidebar{
  background:#fff;border:1px solid #e1e8f3;border-radius:22px;
  padding:24px!important;box-shadow:0 16px 40px rgba(7,31,79,.10);
  position:sticky;top:100px;
}
body.woocommerce-cart .wc-block-cart__totals-title{
  color:#071f4f!important;font-size:22px!important;font-weight:900!important;
  text-transform:none!important;letter-spacing:0!important;padding:0 0 16px!important;
}
body.woocommerce-cart .wc-block-components-totals-wrapper{
  border-top:1px solid #e8edf5!important;padding:16px 0!important;
}
body.woocommerce-cart .wc-block-components-totals-item__label,
body.woocommerce-cart .wc-block-components-totals-item__value{font-weight:750!important;color:#233554!important}
body.woocommerce-cart .wc-block-components-totals-footer-item{
  background:#f4f8ff;border-radius:14px;padding:17px 15px!important;margin-top:8px;
}
body.woocommerce-cart .wc-block-components-totals-footer-item .wc-block-components-totals-item__label,
body.woocommerce-cart .wc-block-components-totals-footer-item .wc-block-components-totals-item__value{
  color:#071f4f!important;font-size:22px!important;font-weight:950!important;
}
body.woocommerce-cart .wc-block-cart__submit-button,
body.woocommerce-cart .wc-block-components-button{
  min-height:54px!important;border:0!important;border-radius:12px!important;
  background:linear-gradient(135deg,#ffb000,#ff9300)!important;color:#071f4f!important;
  font-size:16px!important;font-weight:900!important;box-shadow:0 10px 24px rgba(255,159,0,.28)!important;
  transition:.2s ease!important;
}
body.woocommerce-cart .wc-block-cart__submit-button:hover,
body.woocommerce-cart .wc-block-components-button:hover{transform:translateY(-2px);filter:brightness(1.03)}

/* Classic cart fallback */
body.woocommerce-cart table.shop_table{
  background:#fff;border:1px solid #e1e8f3!important;border-radius:20px!important;
  overflow:hidden;box-shadow:0 16px 40px rgba(7,31,79,.08);
}
body.woocommerce-cart .cart-collaterals .cart_totals{
  background:#fff;border:1px solid #e1e8f3;border-radius:20px;padding:24px;
  box-shadow:0 16px 40px rgba(7,31,79,.10);
}
body.woocommerce-cart .checkout-button{
  background:linear-gradient(135deg,#ffb000,#ff9300)!important;color:#071f4f!important;
  border-radius:12px!important;font-weight:900!important;padding:16px 22px!important;
}

/* Checkout shell */
body.woocommerce-checkout .wc-block-checkout{
  gap:30px!important;align-items:start!important;
}
body.woocommerce-checkout .wc-block-checkout__main{
  background:#fff;border:1px solid #e1e8f3;border-radius:22px;
  padding:30px!important;box-shadow:0 16px 40px rgba(7,31,79,.08);
}
body.woocommerce-checkout .wc-block-checkout__sidebar{
  background:#fff;border:1px solid #e1e8f3;border-radius:22px;
  padding:24px!important;box-shadow:0 16px 40px rgba(7,31,79,.10);
  position:sticky;top:100px;
}
body.woocommerce-checkout .wc-block-components-checkout-step{
  margin:0 0 22px!important;padding:0 0 22px!important;border-bottom:1px solid #e9eef5;
}
body.woocommerce-checkout .wc-block-components-checkout-step__heading{
  margin-bottom:16px!important;
}
body.woocommerce-checkout .wc-block-components-checkout-step__title,
body.woocommerce-checkout .wc-block-components-title{
  color:#071f4f!important;font-size:21px!important;font-weight:900!important;
}
body.woocommerce-checkout .wc-block-components-text-input input,
body.woocommerce-checkout .wc-block-components-combobox .wc-block-components-combobox-control input,
body.woocommerce-checkout .wc-block-components-address-form input,
body.woocommerce-checkout textarea,
body.woocommerce-checkout select{
  min-height:52px!important;border:1px solid #cfd9e8!important;border-radius:11px!important;
  background:#fbfcff!important;color:#13284e!important;box-shadow:none!important;
}
body.woocommerce-checkout .wc-block-components-text-input input:focus,
body.woocommerce-checkout .wc-block-components-combobox .wc-block-components-combobox-control input:focus,
body.woocommerce-checkout textarea:focus,
body.woocommerce-checkout select:focus{
  border-color:#ffae00!important;box-shadow:0 0 0 3px rgba(255,174,0,.16)!important;background:#fff!important;
}
body.woocommerce-checkout .wc-block-components-radio-control-accordion-option{
  border:1px solid #dce4ef!important;border-radius:13px!important;margin:0 0 10px!important;
  background:#fbfcff!important;overflow:hidden;
}
body.woocommerce-checkout .wc-block-components-radio-control-accordion-option--checked-option-highlighted{
  border-color:#ffad00!important;background:#fff9e9!important;box-shadow:0 0 0 2px rgba(255,173,0,.12)!important;
}
body.woocommerce-checkout .wc-block-components-checkout-place-order-button,
body.woocommerce-checkout button.wc-block-components-checkout-place-order-button,
body.woocommerce-checkout #place_order{
  width:100%!important;min-height:58px!important;border:0!important;border-radius:13px!important;
  background:linear-gradient(135deg,#ffb000,#ff9300)!important;color:#071f4f!important;
  font-size:17px!important;font-weight:950!important;box-shadow:0 12px 28px rgba(255,159,0,.30)!important;
  transition:.2s ease!important;
}
body.woocommerce-checkout .wc-block-components-checkout-place-order-button:hover,
body.woocommerce-checkout #place_order:hover{transform:translateY(-2px);filter:brightness(1.03)}
body.woocommerce-checkout .wc-block-components-order-summary{
  border:0!important;
}
body.woocommerce-checkout .wc-block-components-order-summary-item{
  padding:15px 0!important;border-bottom:1px solid #edf1f7!important;
}
body.woocommerce-checkout .wc-block-components-order-summary-item__image img{
  border-radius:12px!important;background:#f7f9fd!important;object-fit:contain!important;
}
body.woocommerce-checkout .wc-block-components-totals-wrapper{
  border-top:1px solid #e8edf5!important;padding:16px 0!important;
}
body.woocommerce-checkout .wc-block-components-totals-footer-item{
  background:#f4f8ff;border-radius:14px;padding:17px 15px!important;margin-top:8px;
}
body.woocommerce-checkout .wc-block-components-totals-footer-item .wc-block-components-totals-item__label,
body.woocommerce-checkout .wc-block-components-totals-footer-item .wc-block-components-totals-item__value{
  color:#071f4f!important;font-size:22px!important;font-weight:950!important;
}

/* Classic checkout fallback */
body.woocommerce-checkout form.checkout .col2-set,
body.woocommerce-checkout #order_review{
  background:#fff;border:1px solid #e1e8f3;border-radius:20px;padding:25px;
  box-shadow:0 16px 40px rgba(7,31,79,.08);
}
body.woocommerce-checkout #payment{
  background:#f7f9fd!important;border:1px solid #e1e8f3!important;border-radius:15px!important;
}

/* Helpful premium trust strip */
body.woocommerce-cart .entry-content::before,
body.woocommerce-checkout .entry-content::before{
  content:"✓ Secure Checkout   •   ✓ Easy Returns   •   ✓ Trusted NSD MART Service";
  display:block;max-width:1440px;margin:0 auto 22px;padding:13px 18px;
  border:1px solid #dce6f4;border-radius:12px;background:#fff;color:#1d4a78;
  font-size:14px;font-weight:800;box-shadow:0 8px 22px rgba(7,31,79,.05);
}

@media(max-width:991px){
  body.woocommerce-cart .wc-block-cart__sidebar,
  body.woocommerce-checkout .wc-block-checkout__sidebar{position:static!important}
  body.woocommerce-checkout .wc-block-checkout__main{padding:22px!important}
}
@media(max-width:767px){
  body.woocommerce-cart .woocommerce,
  body.woocommerce-checkout .woocommerce,
  body.woocommerce-cart .wp-block-woocommerce-cart,
  body.woocommerce-checkout .wp-block-woocommerce-checkout{padding:28px 12px 48px}
  body.woocommerce-cart h1,
  body.woocommerce-checkout h1,
  body.woocommerce-cart .entry-title,
  body.woocommerce-checkout .entry-title{font-size:29px!important;margin-bottom:22px!important}
  body.woocommerce-cart .wc-block-cart-items{padding:4px 12px}
  body.woocommerce-cart .wc-block-cart-item__image img{width:78px!important;height:78px!important}
  body.woocommerce-checkout .wc-block-checkout__main,
  body.woocommerce-checkout .wc-block-checkout__sidebar,
  body.woocommerce-cart .wc-block-cart__sidebar{padding:18px!important;border-radius:16px}
  body.woocommerce-cart .entry-content::before,
  body.woocommerce-checkout .entry-content::before{font-size:12px;line-height:1.6;padding:11px 13px}
}

/* =========================================================
 * NSD MART V32 — Checkout desktop two-column layout repair
 * Prevent WooCommerce Blocks columns wrapping because padding
 * is added to percentage-width columns.
 * ========================================================= */
body.woocommerce-checkout .wp-block-woocommerce-checkout,
body.woocommerce-checkout .wc-block-checkout,
body.woocommerce-checkout .wc-block-checkout__main,
body.woocommerce-checkout .wc-block-checkout__sidebar{
  box-sizing:border-box!important;
}

@media (min-width: 992px){
  body.woocommerce-checkout .wp-block-woocommerce-checkout{
    width:100%!important;
    max-width:1440px!important;
  }
  body.woocommerce-checkout .wc-block-checkout{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) minmax(360px,430px)!important;
    column-gap:30px!important;
    row-gap:0!important;
    align-items:start!important;
    width:100%!important;
    max-width:none!important;
    flex-wrap:nowrap!important;
  }
  body.woocommerce-checkout .wc-block-checkout__main{
    grid-column:1!important;
    grid-row:1!important;
    width:100%!important;
    max-width:none!important;
    min-width:0!important;
    margin:0!important;
    float:none!important;
  }
  body.woocommerce-checkout .wc-block-checkout__sidebar{
    grid-column:2!important;
    grid-row:1!important;
    width:100%!important;
    max-width:none!important;
    min-width:0!important;
    margin:0!important;
    float:none!important;
    align-self:start!important;
    position:sticky!important;
    top:105px!important;
  }
  body.woocommerce-checkout .wc-block-checkout__main > :first-child,
  body.woocommerce-checkout .wc-block-checkout__sidebar > :first-child{
    margin-top:0!important;
  }
}

@media (max-width: 991px){
  body.woocommerce-checkout .wc-block-checkout{
    display:block!important;
    width:100%!important;
  }
  body.woocommerce-checkout .wc-block-checkout__main,
  body.woocommerce-checkout .wc-block-checkout__sidebar{
    width:100%!important;
    max-width:none!important;
    margin:0 0 22px!important;
    position:static!important;
  }
}


/* =========================================================
 * NSD MART V98.12 — Compact customer login + Affiliate home
 * ========================================================= */
body.woocommerce-account:not(.logged-in) .site-main,
body.woocommerce-account:not(.logged-in) main{
  min-height:0!important;
  padding-bottom:28px!important;
}
body.woocommerce-account:not(.logged-in) .site-main article,
body.woocommerce-account:not(.logged-in) main article{
  margin-bottom:0!important;
}
body.woocommerce-account:not(.logged-in) .entry-header,
body.woocommerce-account:not(.logged-in) .entry-title{
  max-width:820px!important;
  margin-left:auto!important;
  margin-right:auto!important;
}
body.woocommerce-account:not(.logged-in) .woocommerce{
  width:100%!important;
  max-width:820px!important;
  padding:22px 18px 34px!important;
  margin:0 auto!important;
}
body.woocommerce-account:not(.logged-in) .woocommerce h2{
  margin:0 0 16px!important;
  font-size:25px!important;
}
body.woocommerce-account:not(.logged-in) .woocommerce-form-login,
body.woocommerce-account:not(.logged-in) form.login{
  width:100%!important;
  max-width:720px!important;
  margin:0 auto!important;
  padding:24px!important;
  border:1px solid #dfe7f2!important;
  border-radius:18px!important;
  background:#fff!important;
  box-shadow:0 14px 36px rgba(7,35,83,.09)!important;
}
body.woocommerce-account:not(.logged-in) form.login .form-row{
  margin-bottom:14px!important;
}
body.woocommerce-account:not(.logged-in) form.login input.input-text{
  min-height:46px!important;
  border-radius:10px!important;
  padding:8px 13px!important;
}
body.woocommerce-account:not(.logged-in) form.login .woocommerce-form-login__submit{
  min-width:100px!important;
}
@media(max-width:640px){
  body.woocommerce-account:not(.logged-in) .woocommerce{padding:15px 12px 26px!important}
  body.woocommerce-account:not(.logged-in) .woocommerce-form-login,
  body.woocommerce-account:not(.logged-in) form.login{padding:18px 14px!important;border-radius:14px!important}
}

.nsd-affiliate-home{
  display:grid;
  grid-template-columns:minmax(0,1.45fr) minmax(280px,.75fr);
  gap:28px;
  align-items:center;
  margin:28px 0 34px;
  padding:36px 40px;
  border:1px solid #f2d48c;
  border-radius:24px;
  background:linear-gradient(120deg,#fff9e9 0%,#fff 56%,#edf4ff 100%);
  box-shadow:0 16px 42px rgba(7,35,83,.10);
  overflow:hidden;
  position:relative;
}
.nsd-affiliate-home:before{
  content:"";position:absolute;width:230px;height:230px;border-radius:50%;right:-75px;top:-100px;background:rgba(255,174,0,.16)
}
.nsd-affiliate-copy,.nsd-affiliate-visual{position:relative;z-index:1}
.nsd-affiliate-kicker{display:inline-block;margin-bottom:9px;color:#986300;font-size:12px;font-weight:900;letter-spacing:1.2px}
.nsd-affiliate-home h2{margin:0 0 12px!important;color:#071f4f!important;font-size:34px!important;line-height:1.16!important}
.nsd-affiliate-home p{max-width:720px;margin:0 0 17px!important;color:#52617a!important;font-size:15px;line-height:1.7}
.nsd-affiliate-points{display:flex;flex-wrap:wrap;gap:9px 18px;margin:0 0 22px;color:#15305f;font-size:13px;font-weight:800}
.nsd-affiliate-points span{white-space:nowrap}
.nsd-affiliate-actions{display:flex;gap:12px;flex-wrap:wrap}
.nsd-affiliate-primary,.nsd-affiliate-secondary{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:0 20px;border-radius:11px;font-weight:900;text-decoration:none!important}
.nsd-affiliate-primary{background:#ffad00;color:#071f4f!important;box-shadow:0 9px 20px rgba(255,173,0,.25)}
.nsd-affiliate-secondary{background:#09275d;color:#fff!important}
.nsd-affiliate-visual{min-height:215px;padding:25px;border-radius:20px;background:linear-gradient(145deg,#08265d,#0d438f);color:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;box-shadow:0 14px 30px rgba(7,35,83,.22)}
.nsd-affiliate-icon{width:66px;height:66px;border-radius:19px;display:grid;place-items:center;margin-bottom:12px;background:#ffb000;color:#071f4f;font-size:34px;font-weight:950}
.nsd-affiliate-visual strong{font-size:22px;margin-bottom:6px}.nsd-affiliate-visual>span{font-size:13px;color:#dce8ff}
.nsd-affiliate-mini{margin-top:18px;padding:10px 12px;border-radius:12px;background:rgba(255,255,255,.1);font-size:12px}.nsd-affiliate-mini b{color:#ffc33d}.nsd-affiliate-mini i{font-style:normal;margin:0 5px;color:#bcd1f7}
@media(max-width:850px){.nsd-affiliate-home{grid-template-columns:1fr;padding:28px 24px}.nsd-affiliate-home h2{font-size:29px!important}.nsd-affiliate-visual{min-height:180px}}
@media(max-width:520px){.nsd-affiliate-home{padding:23px 17px;border-radius:18px}.nsd-affiliate-home h2{font-size:25px!important}.nsd-affiliate-points{display:grid;grid-template-columns:1fr 1fr}.nsd-affiliate-primary,.nsd-affiliate-secondary{width:100%}}

/* =========================================================
   V98.12 — Homepage product sliders + compact affiliate/login
   ========================================================= */
body.home .nsd-product-slider{overflow:hidden}
body.home .nsd-product-slider .nsd-section-head{margin-bottom:14px}
.nsd-slider-nav{display:flex;align-items:center;gap:8px}
.nsd-slider-nav button{width:38px;height:38px;border:1px solid #d7dfeb;border-radius:10px;background:#fff;color:#071f4f;font-size:28px;line-height:1;display:grid;place-items:center;cursor:pointer;box-shadow:0 5px 14px rgba(7,31,79,.08);transition:.18s ease}
.nsd-slider-nav button:hover:not(:disabled){background:#071f4f;color:#fff;transform:translateY(-1px)}
.nsd-slider-nav button:disabled{opacity:.32;cursor:default;box-shadow:none}
.nsd-slider-static .nsd-slider-nav{display:none}
body.home .nsd-product-slider .nsd-slider-viewport{width:100%;overflow:hidden}
body.home .nsd-product-slider ul.products,
body.home .nsd-product-slider .woocommerce ul.products{
  display:flex!important;
  grid-template-columns:none!important;
  flex-wrap:nowrap!important;
  gap:16px!important;
  width:100%!important;
  margin:0!important;
  padding:1px 1px 12px!important;
  overflow-x:auto!important;
  overflow-y:hidden!important;
  scroll-behavior:smooth;
  scroll-snap-type:x mandatory;
  scrollbar-width:none;
  -webkit-overflow-scrolling:touch;
}
body.home .nsd-product-slider ul.products::-webkit-scrollbar{display:none}
body.home .nsd-product-slider ul.products::before,
body.home .nsd-product-slider ul.products::after{display:none!important;content:none!important}
body.home .nsd-product-slider ul.products li.product,
body.home .nsd-product-slider ul.products[class*=columns-] li.product{
  float:none!important;
  clear:none!important;
  flex:0 0 calc((100% - 64px)/5)!important;
  width:calc((100% - 64px)/5)!important;
  max-width:none!important;
  min-width:0!important;
  margin:0!important;
  scroll-snap-align:start;
}
@media(max-width:1099px){
  body.home .nsd-product-slider ul.products li.product,
  body.home .nsd-product-slider ul.products[class*=columns-] li.product{flex-basis:calc((100% - 28px)/3)!important;width:calc((100% - 28px)/3)!important}
}
@media(max-width:699px){
  .nsd-slider-nav button{width:34px;height:34px;font-size:25px}
  body.home .nsd-product-slider ul.products,
  body.home .nsd-product-slider .woocommerce ul.products{gap:12px!important}
  body.home .nsd-product-slider ul.products li.product,
  body.home .nsd-product-slider ul.products[class*=columns-] li.product{flex:0 0 min(78vw,285px)!important;width:min(78vw,285px)!important}
}

/* Compact affiliate strip: premium but does not push products downward. */
.nsd-affiliate-home{
  grid-template-columns:minmax(250px,1.15fr) minmax(0,2fr) auto!important;
  gap:18px!important;
  min-height:104px;
  margin:18px 0 24px!important;
  padding:16px 20px!important;
  border-radius:16px!important;
  box-shadow:0 9px 24px rgba(7,35,83,.08)!important;
}
.nsd-affiliate-home:before{width:120px!important;height:120px!important;right:-38px!important;top:-48px!important}
.nsd-affiliate-kicker{margin-bottom:3px!important;font-size:10px!important}
.nsd-affiliate-home h2{margin:0 0 5px!important;font-size:22px!important;line-height:1.15!important}
.nsd-affiliate-home p{margin:0!important;font-size:12px!important;line-height:1.45!important;max-width:430px!important}
.nsd-affiliate-points{margin:0!important;display:grid!important;grid-template-columns:repeat(2,minmax(120px,1fr));gap:8px 14px!important;font-size:12px!important;align-self:center}
.nsd-affiliate-actions{display:flex!important;flex-direction:column;gap:7px!important;min-width:180px}
.nsd-affiliate-primary,.nsd-affiliate-secondary{min-height:36px!important;padding:0 14px!important;border-radius:9px!important;font-size:12px!important}
.nsd-affiliate-visual{display:none!important}
.nsd-affiliate-copy{display:contents}
@media(max-width:850px){
 .nsd-affiliate-home{grid-template-columns:1fr auto!important;padding:15px 16px!important}
 .nsd-affiliate-points{grid-column:1/-1;grid-template-columns:repeat(4,auto)!important;overflow-x:auto}
 .nsd-affiliate-actions{grid-column:2;grid-row:1;min-width:150px}
}
@media(max-width:620px){
 .nsd-affiliate-home{grid-template-columns:1fr!important;gap:12px!important}
 .nsd-affiliate-points{grid-column:auto!important;grid-template-columns:1fr 1fr!important}
 .nsd-affiliate-actions{grid-column:auto!important;grid-row:auto!important;flex-direction:row;min-width:0}
 .nsd-affiliate-primary,.nsd-affiliate-secondary{width:auto!important;flex:1}
}

/* Smaller customer login card. */
body.woocommerce-account:not(.logged-in) .woocommerce{max-width:620px!important;padding-top:10px!important;padding-bottom:24px!important}
body.woocommerce-account:not(.logged-in) .woocommerce h2{font-size:22px!important;margin:0 0 10px!important}
body.woocommerce-account:not(.logged-in) .woocommerce-form-login,
body.woocommerce-account:not(.logged-in) form.login{max-width:560px!important;padding:22px 24px!important;border-radius:16px!important}
body.woocommerce-account:not(.logged-in) form.login input.input-text{min-height:42px!important}

/* V98.13 — One-line compact affiliate strip */
@media (min-width: 851px){
  .nsd-affiliate-home{
    display:block!important;
    min-height:0!important;
    margin:14px 0 20px!important;
    padding:12px 18px!important;
  }
  .nsd-affiliate-copy{
    display:grid!important;
    grid-template-columns:minmax(245px,.9fr) minmax(470px,1.8fr) auto;
    align-items:center;
    gap:18px;
  }
  .nsd-affiliate-intro,.nsd-affiliate-details{min-width:0}
  .nsd-affiliate-kicker{display:block!important;margin:0 0 2px!important;font-size:9px!important;line-height:1.15!important}
  .nsd-affiliate-home h2{margin:0!important;font-size:19px!important;line-height:1.15!important;white-space:nowrap}
  .nsd-affiliate-home p{margin:0 0 5px!important;max-width:none!important;font-size:11px!important;line-height:1.35!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .nsd-affiliate-points{display:flex!important;grid-template-columns:none!important;align-items:center;gap:6px 14px!important;margin:0!important;font-size:10.5px!important;white-space:nowrap}
  .nsd-affiliate-actions{display:flex!important;flex-direction:row!important;align-items:center;gap:7px!important;min-width:0!important}
  .nsd-affiliate-primary,.nsd-affiliate-secondary{
    min-height:30px!important;
    width:auto!important;
    padding:0 12px!important;
    border-radius:8px!important;
    font-size:10.5px!important;
    white-space:nowrap;
  }
}
@media (max-width: 850px){
  .nsd-affiliate-copy{display:grid!important;gap:10px}
  .nsd-affiliate-intro,.nsd-affiliate-details{min-width:0}
}

/* =========================================================
 * NSD MART V98.14 — Refined My Account forms
 * Account Details, Addresses and related customer forms
 * ========================================================= */
.woocommerce-account .woocommerce-MyAccount-content form.woocommerce-EditAccountForm,
.woocommerce-account .woocommerce-MyAccount-content form.edit-account,
.woocommerce-account .woocommerce-MyAccount-content form.woocommerce-address-fields{
  max-width:900px;
  margin:0 auto;
}
.woocommerce-account .woocommerce-MyAccount-content form .form-row{
  margin:0 0 15px!important;
  padding:0!important;
}
.woocommerce-account .woocommerce-MyAccount-content form .form-row-first,
.woocommerce-account .woocommerce-MyAccount-content form .form-row-last{
  width:calc(50% - 9px)!important;
}
.woocommerce-account .woocommerce-MyAccount-content form .form-row-first{float:left!important}
.woocommerce-account .woocommerce-MyAccount-content form .form-row-last{float:right!important}
.woocommerce-account .woocommerce-MyAccount-content form label{
  display:block;
  margin:0 0 6px!important;
  color:#102650;
  font-size:14px;
  line-height:1.3;
  font-weight:750;
}
.woocommerce-account .woocommerce-MyAccount-content form input.input-text,
.woocommerce-account .woocommerce-MyAccount-content form input[type="text"],
.woocommerce-account .woocommerce-MyAccount-content form input[type="email"],
.woocommerce-account .woocommerce-MyAccount-content form input[type="password"],
.woocommerce-account .woocommerce-MyAccount-content form input[type="tel"],
.woocommerce-account .woocommerce-MyAccount-content form select,
.woocommerce-account .woocommerce-MyAccount-content form textarea{
  width:100%!important;
  min-height:42px!important;
  height:42px!important;
  margin:0!important;
  padding:8px 12px!important;
  border:1px solid #ccd7e8!important;
  border-radius:9px!important;
  background:#fff!important;
  color:#102650!important;
  font-size:14px!important;
  line-height:1.35!important;
  box-shadow:none!important;
  outline:none!important;
  transition:border-color .18s ease,box-shadow .18s ease,background .18s ease;
}
.woocommerce-account .woocommerce-MyAccount-content form textarea{
  height:auto!important;
  min-height:86px!important;
  resize:vertical;
}
.woocommerce-account .woocommerce-MyAccount-content form input:focus,
.woocommerce-account .woocommerce-MyAccount-content form select:focus,
.woocommerce-account .woocommerce-MyAccount-content form textarea:focus{
  border-color:#ffad00!important;
  background:#fffdf7!important;
  box-shadow:0 0 0 3px rgba(255,173,0,.13)!important;
}
.woocommerce-account .woocommerce-MyAccount-content form em{
  display:block;
  margin-top:5px;
  color:#69758a;
  font-size:12px;
  line-height:1.4;
}
.woocommerce-account .woocommerce-MyAccount-content form fieldset{
  clear:both;
  margin:18px 0 16px!important;
  padding:18px!important;
  border:1px solid #dfe7f2!important;
  border-radius:14px!important;
  background:linear-gradient(180deg,#fbfdff,#f6f9fe)!important;
}
.woocommerce-account .woocommerce-MyAccount-content form fieldset legend{
  width:auto!important;
  margin:0 0 0 2px!important;
  padding:0 8px!important;
  color:#102650!important;
  background:#fff!important;
  font-size:15px!important;
  line-height:1.2!important;
  font-weight:850!important;
}
.woocommerce-account .woocommerce-MyAccount-content form .password-input{
  width:100%!important;
  display:block!important;
}
.woocommerce-account .woocommerce-MyAccount-content form .show-password-input{
  top:50%!important;
  right:13px!important;
  transform:translateY(-50%)!important;
}
.woocommerce-account .woocommerce-MyAccount-content form button[type="submit"],
.woocommerce-account .woocommerce-MyAccount-content form .woocommerce-Button.button{
  min-height:42px!important;
  padding:0 20px!important;
  border:0!important;
  border-radius:10px!important;
  background:#082b67!important;
  color:#fff!important;
  font-size:14px!important;
  font-weight:850!important;
  box-shadow:0 7px 16px rgba(8,43,103,.16)!important;
}
.woocommerce-account .woocommerce-MyAccount-content form button[type="submit"]:hover,
.woocommerce-account .woocommerce-MyAccount-content form .woocommerce-Button.button:hover{
  background:#ffad00!important;
  color:#071f4f!important;
  transform:translateY(-1px);
}
.woocommerce-account .woocommerce-MyAccount-content > h2,
.woocommerce-account .woocommerce-MyAccount-content > h3{
  margin-top:0!important;
  color:#071f4f!important;
}
@media(max-width:700px){
  .woocommerce-account .woocommerce-MyAccount-content form .form-row-first,
  .woocommerce-account .woocommerce-MyAccount-content form .form-row-last{
    width:100%!important;
    float:none!important;
  }
  .woocommerce-account .woocommerce-MyAccount-content form fieldset{padding:15px!important}
}


/* =========================================================
   V98.16 — Live mobile shop + original product-image fix
   ========================================================= */
@media (max-width:1024px){
  /* Keep the off-canvas menu crisp. The overlay must sit behind it. */
  .nsd-mobile-overlay{
    background:rgba(3,12,31,.38)!important;
    backdrop-filter:none!important;
    -webkit-backdrop-filter:none!important;
  }
  .nsd-menu{
    background:#fff!important;
    opacity:1!important;
    filter:none!important;
    backdrop-filter:none!important;
    -webkit-backdrop-filter:none!important;
    isolation:isolate;
    pointer-events:auto!important;
  }
  .nsd-menu a,.nsd-menu button{pointer-events:auto!important}

  /* Remove desktop/sidebar widths from the mobile shop page. */
  body.woocommerce-shop .nsd-main-wrap,
  body.post-type-archive-product .nsd-main-wrap,
  body.tax-product_cat .nsd-main-wrap,
  body.tax-product_tag .nsd-main-wrap,
  body.woocommerce-shop .nsd-main-wrap>.nsd-container,
  body.post-type-archive-product .nsd-main-wrap>.nsd-container,
  body.tax-product_cat .nsd-main-wrap>.nsd-container,
  body.tax-product_tag .nsd-main-wrap>.nsd-container,
  body.woocommerce-shop .nsd-shop-shell,
  body.post-type-archive-product .nsd-shop-shell,
  body.tax-product_cat .nsd-shop-shell,
  body.tax-product_tag .nsd-shop-shell,
  body.woocommerce-shop .nsd-shop-main,
  body.post-type-archive-product .nsd-shop-main,
  body.tax-product_cat .nsd-shop-main,
  body.tax-product_tag .nsd-shop-main,
  body.woocommerce-shop .nsd-shop-main>.woocommerce,
  body.post-type-archive-product .nsd-shop-main>.woocommerce,
  body.tax-product_cat .nsd-shop-main>.woocommerce,
  body.tax-product_tag .nsd-shop-main>.woocommerce{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    margin-left:0!important;
    margin-right:0!important;
    float:none!important;
  }
  body.woocommerce-shop .nsd-shop-sidebar,
  body.post-type-archive-product .nsd-shop-sidebar,
  body.tax-product_cat .nsd-shop-sidebar,
  body.tax-product_tag .nsd-shop-sidebar{display:none!important}
}

@media (max-width:640px){
  body.woocommerce-shop .nsd-main-wrap>.nsd-container,
  body.post-type-archive-product .nsd-main-wrap>.nsd-container,
  body.tax-product_cat .nsd-main-wrap>.nsd-container,
  body.tax-product_tag .nsd-main-wrap>.nsd-container{width:94%!important}

  body.woocommerce-shop .woocommerce-result-count,
  body.post-type-archive-product .woocommerce-result-count,
  body.tax-product_cat .woocommerce-result-count,
  body.tax-product_tag .woocommerce-result-count,
  body.woocommerce-shop .woocommerce-ordering,
  body.post-type-archive-product .woocommerce-ordering,
  body.tax-product_cat .woocommerce-ordering,
  body.tax-product_tag .woocommerce-ordering{
    float:none!important;
    clear:none!important;
    width:100%!important;
    margin:0 0 10px!important;
  }
  body.woocommerce-shop .woocommerce-ordering select,
  body.post-type-archive-product .woocommerce-ordering select,
  body.tax-product_cat .woocommerce-ordering select,
  body.tax-product_tag .woocommerce-ordering select{width:100%!important;max-width:none!important}

  body.woocommerce-shop ul.products,
  body.post-type-archive-product ul.products,
  body.tax-product_cat ul.products,
  body.tax-product_tag ul.products{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:10px!important;
    width:100%!important;
    max-width:100%!important;
    margin:12px 0 0!important;
    padding:0!important;
    float:none!important;
    clear:both!important;
    transform:none!important;
  }
  body.woocommerce-shop ul.products::before,
  body.woocommerce-shop ul.products::after,
  body.post-type-archive-product ul.products::before,
  body.post-type-archive-product ul.products::after,
  body.tax-product_cat ul.products::before,
  body.tax-product_cat ul.products::after,
  body.tax-product_tag ul.products::before,
  body.tax-product_tag ul.products::after{display:none!important;content:none!important}

  body.woocommerce-shop ul.products li.product,
  body.post-type-archive-product ul.products li.product,
  body.tax-product_cat ul.products li.product,
  body.tax-product_tag ul.products li.product{
    float:none!important;
    clear:none!important;
    width:100%!important;
    max-width:none!important;
    min-width:0!important;
    margin:0!important;
    transform:none!important;
  }
}

/* Always display the original card image without browser-side trimming/cropping. */
.woocommerce ul.products li.product a img{
  width:100%!important;
  height:auto!important;
  aspect-ratio:1/1!important;
  object-fit:contain!important;
  object-position:center center!important;
  padding:8px!important;
  box-sizing:border-box!important;
  transform:none!important;
}
.woocommerce ul.products li.product:hover a img{transform:none!important}


/* =========================================================
   V98.17 — Compact mobile shop header + uncropped card images
   ========================================================= */
.woocommerce ul.products li.product > a.woocommerce-LoopProduct-link{
  overflow:visible!important;
}
.woocommerce ul.products li.product a img,
.woocommerce ul.products li.product a img.nsd-auto-trimmed{
  display:block!important;
  width:100%!important;
  height:300px!important;
  min-height:300px!important;
  max-height:300px!important;
  aspect-ratio:auto!important;
  object-fit:contain!important;
  object-position:center center!important;
  margin:0 0 10px!important;
  padding:6px 6px 16px!important;
  box-sizing:border-box!important;
  transform:none!important;
}
.woocommerce ul.products li.product:hover a img,
.woocommerce ul.products li.product:hover a img.nsd-auto-trimmed{transform:none!important}
.nsd-shop-title-filter{display:none!important}

@media(max-width:680px){
  body.woocommerce-shop .nsd-main-wrap,
  body.post-type-archive-product .nsd-main-wrap,
  body.tax-product_cat .nsd-main-wrap,
  body.tax-product_tag .nsd-main-wrap{padding-top:0!important}

  body.woocommerce-shop .nsd-shop-shell,
  body.post-type-archive-product .nsd-shop-shell,
  body.tax-product_cat .nsd-shop-shell,
  body.tax-product_tag .nsd-shop-shell{padding:12px 0 78px!important;gap:0!important}

  body.woocommerce-shop .nsd-shop-title,
  body.post-type-archive-product .nsd-shop-title,
  body.tax-product_cat .nsd-shop-title,
  body.tax-product_tag .nsd-shop-title{
    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;
    gap:10px!important;
    margin:0 0 10px!important;
  }
  .nsd-shop-title-copy{min-width:0}
  .nsd-shop-title h1{margin:0!important;font-size:32px!important;line-height:1.05!important}
  .nsd-shop-title small{display:block;margin-top:5px!important}
  .nsd-shop-title-filter{
    display:inline-flex!important;
    flex:0 0 auto!important;
    align-items:center!important;
    gap:6px!important;
    min-height:40px!important;
    margin:0!important;
    padding:8px 12px!important;
    border:1px solid #d9deea!important;
    border-radius:9px!important;
    background:#fff!important;
    color:#071a46!important;
    font-size:13px!important;
    font-weight:850!important;
    box-shadow:0 3px 10px rgba(7,26,70,.06)!important;
  }
  .nsd-v26-filter-wrap > .nsd-v26-filter-toggle{display:none!important}
  .nsd-v26-filter-wrap{margin:0!important;height:0!important;min-height:0!important}

  body.woocommerce-shop .woocommerce-result-count,
  body.post-type-archive-product .woocommerce-result-count,
  body.tax-product_cat .woocommerce-result-count,
  body.tax-product_tag .woocommerce-result-count{margin:0 0 7px!important}
  body.woocommerce-shop .woocommerce-ordering,
  body.post-type-archive-product .woocommerce-ordering,
  body.tax-product_cat .woocommerce-ordering,
  body.tax-product_tag .woocommerce-ordering{margin:0 0 10px!important}

  .woocommerce ul.products li.product a img,
  .woocommerce ul.products li.product a img.nsd-auto-trimmed{
    height:205px!important;
    min-height:205px!important;
    max-height:205px!important;
    padding:5px 5px 12px!important;
    object-position:center center!important;
  }
}

/* =========================================================
 * NSD MART V98.18 — Stable header, Track Order and mobile footer
 * ========================================================= */

/* Desktop: menu + category bar stay visible while scrolling. */
@media (min-width:1025px){
  body.nsd-desktop-fixed-header{padding-top:var(--nsd-fixed-header-height,0px)!important}
  body.nsd-desktop-fixed-header .nsd-sticky-shell{
    position:fixed!important;
    left:0!important;
    right:0!important;
    top:0!important;
    width:100%!important;
    z-index:99999!important;
    background:#fff!important;
  }
  body.admin-bar.nsd-desktop-fixed-header .nsd-sticky-shell{top:32px!important}
  body.admin-bar.nsd-desktop-fixed-header{padding-top:var(--nsd-fixed-header-height,0px)!important}
}

/* Mobile/tablet: header scrolls naturally with the page. */
@media (max-width:1024px){
  .nsd-sticky-shell{
    position:relative!important;
    top:auto!important;
    left:auto!important;
    right:auto!important;
    width:auto!important;
  }
  body.admin-bar .nsd-sticky-shell{top:auto!important}
  body{padding-top:0!important}
}

/* Track Order page — consistent desktop and mobile layout. */
body.nsd-track-order-page main,
body.nsd-track-order-page .site-main,
body.nsd-track-order-page .entry-content{
  width:100%!important;
  max-width:none!important;
}
body.nsd-track-order-page .entry-content{
  padding:42px 20px 70px!important;
  background:linear-gradient(180deg,#f6f9ff 0%,#fff 72%)!important;
}
body.nsd-track-order-page .entry-content>h1,
body.nsd-track-order-page .entry-title{
  width:min(1040px,100%)!important;
  margin:0 auto 24px!important;
  color:#071f4f!important;
  font-size:38px!important;
  line-height:1.15!important;
}
body.nsd-track-order-page .nsd-track-shell,
body.nsd-track-order-page .woocommerce-order-tracking,
body.nsd-track-order-page form.track_order,
body.nsd-track-order-page form.woocommerce-form-track-order{
  width:min(900px,100%)!important;
  max-width:900px!important;
  margin:0 auto!important;
}
body.nsd-track-order-page form.track_order,
body.nsd-track-order-page form.woocommerce-form-track-order,
body.nsd-track-order-page .nsd-track-card{
  background:#fff!important;
  border:1px solid #dce5f2!important;
  border-radius:22px!important;
  padding:30px!important;
  box-shadow:0 18px 48px rgba(7,35,83,.10)!important;
}
body.nsd-track-order-page form.track_order .form-row,
body.nsd-track-order-page form.woocommerce-form-track-order .form-row{
  float:none!important;
  width:100%!important;
  margin:0 0 16px!important;
}
body.nsd-track-order-page form.track_order input,
body.nsd-track-order-page form.woocommerce-form-track-order input{
  width:100%!important;
  min-height:50px!important;
  border:1px solid #cfd9e8!important;
  border-radius:11px!important;
  padding:0 14px!important;
  box-sizing:border-box!important;
}
body.nsd-track-order-page form.track_order button,
body.nsd-track-order-page form.woocommerce-form-track-order button,
body.nsd-track-order-page form.track_order .button,
body.nsd-track-order-page form.woocommerce-form-track-order .button{
  min-height:50px!important;
  border:0!important;
  border-radius:11px!important;
  padding:0 24px!important;
  background:#08265c!important;
  color:#fff!important;
  font-weight:900!important;
}

/* Better mobile footer cards and spacing above fixed bottom nav. */
@media (max-width:767px){
  body.nsd-track-order-page .entry-content{padding:28px 12px 96px!important}
  body.nsd-track-order-page .entry-content>h1,
  body.nsd-track-order-page .entry-title{font-size:31px!important;margin-bottom:18px!important}
  body.nsd-track-order-page form.track_order,
  body.nsd-track-order-page form.woocommerce-form-track-order,
  body.nsd-track-order-page .nsd-track-card{padding:20px 16px!important;border-radius:18px!important}

  .nsd-footer{margin-top:24px!important;padding-bottom:76px!important}
  .nsd-footer-grid{
    grid-template-columns:1fr!important;
    gap:12px!important;
    padding:24px 14px 18px!important;
  }
  .nsd-footer-grid>div{
    padding:17px!important;
    border:1px solid rgba(255,255,255,.13)!important;
    border-radius:15px!important;
    background:rgba(255,255,255,.055)!important;
  }
  .nsd-footer-grid>div:first-child{text-align:center!important}
  .nsd-footer-grid>div:first-child .nsd-logo{justify-content:center!important}
  .nsd-footer h4{
    margin:0 0 12px!important;
    padding-bottom:9px!important;
    border-bottom:1px solid rgba(255,255,255,.14)!important;
    font-size:17px!important;
  }
  .nsd-footer-links{display:grid!important;grid-template-columns:1fr 1fr!important;gap:7px 10px!important;margin:0!important;padding:0!important}
  .nsd-footer-links li{margin:0!important}
  .nsd-footer-links a{
    min-height:40px!important;
    margin:0!important;
    padding:8px 9px!important;
    border-radius:9px!important;
    background:rgba(255,255,255,.055)!important;
    display:flex!important;
    align-items:center!important;
    gap:7px!important;
    font-size:12px!important;
  }
  .nsd-subscribe-form{display:grid!important;grid-template-columns:1fr!important;gap:9px!important}
  .nsd-subscribe-form input,.nsd-subscribe-form button{width:100%!important;min-height:44px!important;border-radius:10px!important}
  .nsd-copy{text-align:center!important;padding:16px 14px 22px!important;font-size:12px!important}
}


/* =========================================================
 * NSD MART V98.19 — Mobile sticky compact header
 * Search + menu + category names remain visible on scroll.
 * ========================================================= */
@media (max-width:1024px){
  body.nsd-desktop-fixed-header{
    padding-top:var(--nsd-fixed-header-height,0px)!important;
  }
  body.nsd-desktop-fixed-header .nsd-sticky-shell{
    position:fixed!important;
    left:0!important;
    right:0!important;
    top:0!important;
    width:100%!important;
    z-index:99999!important;
    background:#fff!important;
    box-shadow:0 5px 18px rgba(7,26,70,.14)!important;
  }
  body.admin-bar.nsd-desktop-fixed-header .nsd-sticky-shell{top:46px!important}

  /* On scroll keep a compact logo/tools row and always show search. */
  body.nsd-header-compact .nsd-topbar,
  body.nsd-header-compact .nsd-announcement{display:none!important}
  body.nsd-header-compact .nsd-header-main{padding:0!important}
  body.nsd-header-compact .nsd-header-row{
    grid-template-columns:minmax(120px,1fr) auto!important;
    gap:7px!important;
    padding:5px 0 6px!important;
  }
  body.nsd-header-compact .nsd-logo small,
  body.nsd-header-compact .nsd-brand-copy small{display:none!important}
  body.nsd-header-compact .nsd-logo .custom-logo{max-height:34px!important}
  body.nsd-header-compact .nsd-brand-name{font-size:20px!important}
  body.nsd-header-compact .nsd-mobile-header-tools>a,
  body.nsd-header-compact .nsd-mobile-header-tools>button{
    width:32px!important;height:32px!important;font-size:16px!important;border-radius:8px!important;
  }
  body.nsd-header-compact .nsd-mobile-search-toggle{display:none!important}
  body.nsd-header-compact .nsd-search,
  body.nsd-header-compact .dgwt-wcas-search-wrapp{
    display:flex!important;
    grid-column:1/-1!important;
    order:3!important;
    width:100%!important;
    margin:0!important;
    min-height:38px!important;
  }
  body.nsd-header-compact .nsd-search select{display:none!important}
  body.nsd-header-compact .nsd-search input{padding:8px 10px!important;font-size:13px!important}
  body.nsd-header-compact .nsd-search button{padding:0 15px!important;font-size:12px!important}

  /* Keep Menu bar visible but compact. */
  body.nsd-header-compact .nsd-nav .nsd-container{min-height:34px!important}
  body.nsd-header-compact .nsd-mobile-menu-toggle{
    min-height:34px!important;padding:6px 12px!important;font-size:13px!important;
  }

  /* Category strip becomes names-only, like desktop compact mode. */
  body.nsd-header-compact .nsd-category-bar{
    padding:0!important;background:#fff!important;
    border-top:1px solid #edf0f5!important;border-bottom:1px solid #e5e9f0!important;
  }
  body.nsd-header-compact .nsd-category-scroll{
    width:100%!important;border:0!important;border-radius:0!important;box-shadow:none!important;
    display:flex!important;overflow-x:auto!important;overflow-y:hidden!important;
    scrollbar-width:none!important;
  }
  body.nsd-header-compact .nsd-category-scroll::-webkit-scrollbar{display:none!important}
  body.nsd-header-compact .nsd-category-item{flex:0 0 auto!important;border-right:1px solid #edf0f5!important}
  body.nsd-header-compact .nsd-category-item>a{
    min-height:34px!important;padding:0 12px!important;display:flex!important;
    flex-direction:row!important;align-items:center!important;gap:3px!important;border-radius:0!important;
  }
  body.nsd-header-compact .nsd-category-icon,
  body.nsd-header-compact .nsd-category-count,
  body.nsd-header-compact .nsd-mega-toggle{display:none!important}
  body.nsd-header-compact .nsd-category-name{
    display:block!important;font-size:11px!important;font-weight:750!important;
    max-width:none!important;white-space:nowrap!important;overflow:visible!important;
  }
  body.nsd-header-compact .nsd-category-caret{display:none!important}
}

/* =========================================================
 * NSD MART V98.20 — Mobile category swipe + remove sticky ATC
 * ========================================================= */
@media (max-width:1024px){
  /* Category names: one row, natural width, finger swipe left/right. */
  body.nsd-header-compact .nsd-category-bar{
    overflow:hidden!important;
  }
  body.nsd-header-compact .nsd-category-scroll{
    display:flex!important;
    flex-wrap:nowrap!important;
    justify-content:flex-start!important;
    align-items:stretch!important;
    width:100%!important;
    max-width:100%!important;
    overflow-x:auto!important;
    overflow-y:hidden!important;
    white-space:nowrap!important;
    -webkit-overflow-scrolling:touch!important;
    touch-action:pan-x!important;
    overscroll-behavior-x:contain!important;
    scroll-snap-type:x proximity!important;
    scrollbar-width:none!important;
  }
  body.nsd-header-compact .nsd-category-scroll::-webkit-scrollbar{
    display:none!important;
    width:0!important;
    height:0!important;
  }
  body.nsd-header-compact .nsd-category-item{
    flex:0 0 auto!important;
    width:auto!important;
    min-width:max-content!important;
    scroll-snap-align:start!important;
  }
  body.nsd-header-compact .nsd-category-item>a{
    width:auto!important;
    min-width:max-content!important;
    white-space:nowrap!important;
  }

  /* Mobile bottom sticky Add to Cart bar removed. */
  .nsd-sticky-cart{
    display:none!important;
    visibility:hidden!important;
    pointer-events:none!important;
  }
}



/* =========================================================
 * NSD MART V98.21 — Remove bottom sticky Add to Cart globally
 * ========================================================= */
.nsd-sticky-cart,
body.single-product .nsd-sticky-cart{
  display:none!important;
  visibility:hidden!important;
  opacity:0!important;
  pointer-events:none!important;
  height:0!important;
  min-height:0!important;
  padding:0!important;
  margin:0!important;
  border:0!important;
}

/* =========================================================
 * NSD MART V98.23 — Real Android fixed mobile header
 * Uses an actual fixed shell plus a measured spacer. This avoids
 * mobile-browser sticky/overflow/transform inconsistencies.
 * ========================================================= */
@media (max-width:1024px){
  html{scroll-padding-top:var(--nsd-mobile-fixed-height,0px)!important}
  body.nsd-real-mobile-fixed{
    padding-top:0!important;
  }
  body.nsd-real-mobile-fixed .nsd-sticky-shell{
    position:fixed!important;
    top:0!important;
    left:0!important;
    right:0!important;
    width:100%!important;
    max-width:none!important;
    margin:0!important;
    z-index:2147482000!important;
    background:#fff!important;
    transform:translate3d(0,0,0)!important;
    -webkit-transform:translate3d(0,0,0)!important;
    backface-visibility:hidden!important;
    -webkit-backface-visibility:hidden!important;
    will-change:transform!important;
    overflow:visible!important;
    filter:none!important;
  }
  body.admin-bar.nsd-real-mobile-fixed .nsd-sticky-shell{
    top:46px!important;
  }
  body.nsd-real-mobile-fixed .nsd-mobile-fixed-spacer{
    display:block!important;
    width:100%!important;
    height:var(--nsd-mobile-fixed-height,0px)!important;
    min-height:var(--nsd-mobile-fixed-height,0px)!important;
    pointer-events:none!important;
    visibility:hidden!important;
  }
  body.nsd-real-mobile-fixed .nsd-sticky-shell,
  body.nsd-real-mobile-fixed .nsd-sticky-shell *{
    box-sizing:border-box!important;
  }
  /* Keep category names genuinely swipeable on real touch screens. */
  body.nsd-real-mobile-fixed .nsd-category-bar{overflow:hidden!important}
  body.nsd-real-mobile-fixed .nsd-category-scroll{
    display:flex!important;
    flex-wrap:nowrap!important;
    justify-content:flex-start!important;
    overflow-x:scroll!important;
    overflow-y:hidden!important;
    -webkit-overflow-scrolling:touch!important;
    touch-action:pan-x!important;
    scrollbar-width:none!important;
  }
  body.nsd-real-mobile-fixed .nsd-category-scroll::-webkit-scrollbar{display:none!important}
  body.nsd-real-mobile-fixed .nsd-category-item{
    flex:0 0 auto!important;
    width:auto!important;
  }
}
@media (min-width:1025px){
  .nsd-mobile-fixed-spacer{display:none!important}
}

/* =========================================================
 * NSD MART V98.25 — Single mobile drawer above fixed header
 * The drawer and overlay are portaled to body by JS so the fixed
 * header cannot remain visible above/behind the open menu.
 * ========================================================= */
@media (max-width:1024px){
  body > .nsd-mobile-overlay{
    position:fixed!important;
    inset:0!important;
    z-index:2147483000!important;
    background:rgba(3,12,31,.42)!important;
    backdrop-filter:none!important;
    -webkit-backdrop-filter:none!important;
  }
  body > .nsd-menu{
    position:fixed!important;
    left:0!important;
    top:0!important;
    bottom:0!important;
    width:min(330px,86vw)!important;
    max-width:86vw!important;
    height:100dvh!important;
    z-index:2147483001!important;
    background:#fff!important;
    color:var(--nsd-blue)!important;
    padding:82px 18px 28px!important;
    overflow-y:auto!important;
    overflow-x:hidden!important;
    transform:translateX(-105%)!important;
    transition:transform .25s ease!important;
    box-shadow:12px 0 35px rgba(0,0,0,.22)!important;
    opacity:1!important;
    filter:none!important;
    visibility:visible!important;
    pointer-events:auto!important;
  }
  body.nsd-mobile-menu-open > .nsd-menu{
    transform:translateX(0)!important;
  }
  body.nsd-mobile-menu-open > .nsd-mobile-overlay{
    display:block!important;
  }
  body.nsd-mobile-menu-open .nsd-sticky-shell{
    pointer-events:none!important;
  }
  body.nsd-mobile-menu-open > .nsd-menu,
  body.nsd-mobile-menu-open > .nsd-mobile-overlay{
    pointer-events:auto!important;
  }
}


/* =========================================================
 * NSD MART V98.26 — Compact mobile drawer + smooth real-phone header
 * ========================================================= */
@media (max-width:1024px){
  /* A stable, non-morphing fixed header prevents the jump/flicker seen on real phones. */
  body.nsd-real-mobile-fixed .nsd-sticky-shell{
    transform:none!important;
    -webkit-transform:none!important;
    will-change:auto!important;
    transition:none!important;
    contain:layout paint!important;
  }

  /* Compact floating menu card instead of a full-height white sheet. */
  body > .nsd-menu{
    left:14px!important;
    top:max(14px,env(safe-area-inset-top))!important;
    bottom:auto!important;
    width:min(330px,calc(100vw - 28px))!important;
    max-width:calc(100vw - 28px)!important;
    height:auto!important;
    min-height:0!important;
    max-height:calc(100dvh - 28px - env(safe-area-inset-top))!important;
    padding:58px 16px 16px!important;
    border:1px solid #e5eaf2!important;
    border-radius:18px!important;
    box-shadow:0 22px 60px rgba(3,12,31,.28)!important;
    overscroll-behavior:contain!important;
  }
  body > .nsd-menu::before{
    left:18px!important;
    top:19px!important;
    font-size:17px!important;
    line-height:1.2!important;
  }
  body > .nsd-menu a{
    padding:11px 8px!important;
    font-size:15px!important;
    line-height:1.25!important;
  }
  body > .nsd-menu .nsd-drawer-close{
    position:absolute!important;
    top:12px!important;
    right:12px!important;
    width:34px!important;
    height:34px!important;
    padding:0!important;
    margin:0!important;
    border:1px solid #dfe5ee!important;
    border-radius:10px!important;
    background:#f7f9fc!important;
    color:var(--nsd-blue)!important;
    display:grid!important;
    place-items:center!important;
    font-size:24px!important;
    line-height:1!important;
    font-weight:500!important;
    cursor:pointer!important;
  }
  body > .nsd-mobile-overlay{
    background:rgba(3,12,31,.48)!important;
  }
}

/* =========================================================
 * NSD MART V98.27 — Mobile category, product and checkout polish
 * ========================================================= */
@media (max-width:1024px){
  /* Pull the category cards closer to the blue menu bar. */
  .nsd-category-bar{
    padding-top:0!important;
    margin-top:0!important;
  }
  .nsd-category-scroll{
    margin-top:0!important;
    align-items:stretch!important;
  }
  .nsd-category-item > a{
    justify-content:flex-start!important;
    padding-top:5px!important;
  }
  .nsd-category-icon{
    margin-top:0!important;
    flex:0 0 auto!important;
  }

  /* Keep native checkboxes compact on WooCommerce block checkout. */
  body.woocommerce-checkout input[type="checkbox"],
  body.woocommerce-checkout .wc-block-components-checkbox__input{
    width:22px!important;
    height:22px!important;
    min-width:22px!important;
    min-height:22px!important;
    max-width:22px!important;
    max-height:22px!important;
    padding:0!important;
    border-radius:5px!important;
    flex:0 0 22px!important;
  }
  body.woocommerce-checkout .wc-block-components-checkbox{
    align-items:center!important;
    gap:10px!important;
  }
}

@media (max-width:640px){
  /* Compact single-product summary so buying controls appear sooner. */
  .nsd-single-product-page div.product .summary{
    padding-top:0!important;
  }
  .nsd-single-product-page .product_title{
    margin-bottom:7px!important;
    line-height:1.18!important;
  }
  .nsd-single-product-page p.price{
    margin:5px 0 2px!important;
  }
  .nsd-single-product-page .woocommerce-product-details__short-description{
    margin-top:8px!important;
    padding-top:10px!important;
    line-height:1.45!important;
  }
  .nsd-single-product-page .woocommerce-product-details__short-description p{
    margin:0 0 8px!important;
  }
  .nsd-single-product-page .stock{
    margin:4px 0 8px!important;
  }
  .nsd-single-product-page form.cart{
    margin:8px 0 12px!important;
    padding:10px!important;
    gap:8px!important;
  }
  .nsd-single-product-page form.cart .qty,
  .nsd-single-product-page form.cart .single_add_to_cart_button,
  .nsd-single-product-page form.cart .nsd-buy-now{
    height:46px!important;
    min-height:46px!important;
    line-height:46px!important;
  }
}

/* =========================================================
 * NSD MART V98.28 — Mobile scroll: keep search/header + category names
 * Icons/counts slide away; category names remain in a compact swipe row.
 * ========================================================= */
@media (max-width:1024px){
  body.nsd-header-compact .nsd-sticky-shell{
    box-shadow:0 4px 16px rgba(7,26,70,.14)!important;
  }

  /* Header/logo/search-action row and blue Menu bar always remain visible. */
  body.nsd-header-compact .nsd-header-main,
  body.nsd-header-compact .nsd-header-row,
  body.nsd-header-compact .nsd-mobile-header-tools,
  body.nsd-header-compact .nsd-mobile-menu-toggle{
    display:grid!important;
    visibility:visible!important;
    opacity:1!important;
  }
  body.nsd-header-compact .nsd-mobile-menu-toggle{display:flex!important}

  /* Only the category cards become a slim names-only strip. */
  body.nsd-header-compact .nsd-category-bar{
    display:block!important;
    padding:0!important;
    margin:0!important;
    border-top:1px solid #edf0f5!important;
    border-bottom:1px solid #e3e8f0!important;
    background:#fff!important;
    overflow:hidden!important;
  }
  body.nsd-header-compact .nsd-category-scroll{
    width:100%!important;
    padding:0 8px!important;
    margin:0!important;
    border:0!important;
    border-radius:0!important;
    box-shadow:none!important;
    display:flex!important;
    flex-wrap:nowrap!important;
    justify-content:flex-start!important;
    overflow-x:auto!important;
    overflow-y:hidden!important;
    -webkit-overflow-scrolling:touch!important;
    scrollbar-width:none!important;
  }
  body.nsd-header-compact .nsd-category-scroll::-webkit-scrollbar{display:none!important}
  body.nsd-header-compact .nsd-category-item{
    flex:0 0 auto!important;
    width:auto!important;
    min-width:max-content!important;
    border:0!important;
  }
  body.nsd-header-compact .nsd-category-item>a{
    min-height:38px!important;
    height:38px!important;
    width:auto!important;
    min-width:max-content!important;
    padding:0 12px!important;
    display:flex!important;
    flex-direction:row!important;
    align-items:center!important;
    justify-content:center!important;
    gap:3px!important;
    white-space:nowrap!important;
    border-radius:0!important;
  }
  body.nsd-header-compact .nsd-category-icon,
  body.nsd-header-compact .nsd-category-count{
    display:none!important;
  }
  body.nsd-header-compact .nsd-category-name{
    display:block!important;
    max-width:none!important;
    overflow:visible!important;
    text-overflow:clip!important;
    white-space:nowrap!important;
    font-size:12px!important;
    line-height:1!important;
    font-weight:800!important;
  }
  body.nsd-header-compact .nsd-category-caret{margin:0!important;font-size:10px!important}

  /* Re-measured fixed-shell height changes smoothly without page overlap. */
  body.nsd-real-mobile-fixed .nsd-mobile-fixed-spacer{
    transition:height .16s ease!important,min-height .16s ease!important;
  }
}

/* =========================================================
 * NSD MART V98.29 — Premium smooth mobile category collapse
 * Category icons/counts glide upward instead of disappearing abruptly.
 * ========================================================= */
@media (max-width:1024px){
  .nsd-category-bar,
  .nsd-category-scroll,
  .nsd-category-item,
  .nsd-category-item>a,
  .nsd-category-icon,
  .nsd-category-count,
  .nsd-category-name{
    transition:
      height .34s cubic-bezier(.22,.61,.36,1),
      min-height .34s cubic-bezier(.22,.61,.36,1),
      max-height .34s cubic-bezier(.22,.61,.36,1),
      padding .34s cubic-bezier(.22,.61,.36,1),
      margin .34s cubic-bezier(.22,.61,.36,1),
      opacity .24s ease,
      transform .34s cubic-bezier(.22,.61,.36,1),
      border-radius .34s ease,
      box-shadow .34s ease!important;
  }

  .nsd-category-bar,
  .nsd-category-scroll{
    will-change:height,padding,transform;
  }
  .nsd-category-icon,
  .nsd-category-count{
    display:flex!important;
    overflow:hidden!important;
    will-change:opacity,transform,max-height;
    transform-origin:center top!important;
  }

  body.nsd-header-compact .nsd-category-icon{
    max-height:0!important;
    min-height:0!important;
    height:0!important;
    margin-top:-8px!important;
    margin-bottom:0!important;
    padding:0!important;
    opacity:0!important;
    transform:translateY(-18px) scale(.78)!important;
    pointer-events:none!important;
  }
  body.nsd-header-compact .nsd-category-count{
    max-height:0!important;
    min-height:0!important;
    height:0!important;
    margin:0!important;
    padding:0!important;
    opacity:0!important;
    transform:translateY(-12px)!important;
    pointer-events:none!important;
  }
  body.nsd-header-compact .nsd-category-name{
    transform:translateY(0)!important;
    opacity:1!important;
  }

  body:not(.nsd-header-compact) .nsd-category-icon,
  body:not(.nsd-header-compact) .nsd-category-count{
    opacity:1!important;
    transform:translateY(0) scale(1)!important;
  }

  body.nsd-real-mobile-fixed .nsd-mobile-fixed-spacer{
    transition:height .34s cubic-bezier(.22,.61,.36,1),min-height .34s cubic-bezier(.22,.61,.36,1)!important;
  }

  /* GPU compositing reduces Android browser flicker during the collapse. */
  .nsd-sticky-shell,
  .nsd-category-bar{
    transform:translateZ(0);
    backface-visibility:hidden;
    -webkit-backface-visibility:hidden;
  }
}

/* =========================================================
 * NSD MART V98.30 — True continuous premium mobile collapse
 * The icon area follows scroll position frame-by-frame; no threshold jump.
 * ========================================================= */
@media (max-width:1024px){
  .nsd-category-bar{
    padding-top:var(--nsd-mobile-bar-pad,8px)!important;
    padding-bottom:var(--nsd-mobile-bar-pad,8px)!important;
    transition:none!important;
    overflow:hidden!important;
  }
  .nsd-category-scroll,
  .nsd-category-item,
  .nsd-category-item>a,
  .nsd-category-icon,
  .nsd-category-count,
  .nsd-category-name{
    transition:none!important;
  }
  .nsd-category-item>a,
  body.nsd-header-compact .nsd-category-item>a{
    height:var(--nsd-mobile-card-height,96px)!important;
    min-height:var(--nsd-mobile-card-height,96px)!important;
    max-height:var(--nsd-mobile-card-height,96px)!important;
    padding-top:calc(4px * (1 - var(--nsd-mobile-collapse,0)))!important;
    padding-bottom:calc(4px * (1 - var(--nsd-mobile-collapse,0)))!important;
    gap:var(--nsd-mobile-card-gap,4px)!important;
    flex-direction:column!important;
    justify-content:center!important;
    overflow:hidden!important;
  }
  .nsd-category-icon,
  body.nsd-header-compact .nsd-category-icon{
    display:flex!important;
    width:var(--nsd-mobile-icon-size,46px)!important;
    height:var(--nsd-mobile-icon-size,46px)!important;
    min-width:0!important;
    min-height:0!important;
    max-width:var(--nsd-mobile-icon-size,46px)!important;
    max-height:var(--nsd-mobile-icon-size,46px)!important;
    margin:0!important;
    padding:0!important;
    opacity:calc(1 - var(--nsd-mobile-collapse,0))!important;
    transform:translateY(calc(-18px * var(--nsd-mobile-collapse,0))) scale(calc(1 - (.18 * var(--nsd-mobile-collapse,0))))!important;
    overflow:hidden!important;
    pointer-events:none!important;
  }
  .nsd-category-count,
  body.nsd-header-compact .nsd-category-count{
    display:block!important;
    height:var(--nsd-mobile-count-height,17px)!important;
    min-height:0!important;
    max-height:var(--nsd-mobile-count-height,17px)!important;
    line-height:var(--nsd-mobile-count-height,17px)!important;
    margin:0!important;
    padding:0!important;
    opacity:calc(1 - var(--nsd-mobile-collapse,0))!important;
    transform:translateY(calc(-10px * var(--nsd-mobile-collapse,0)))!important;
    overflow:hidden!important;
    pointer-events:none!important;
  }
  .nsd-category-name,
  body.nsd-header-compact .nsd-category-name{
    display:block!important;
    opacity:1!important;
    transform:translateY(calc(-2px * var(--nsd-mobile-collapse,0)))!important;
    white-space:nowrap!important;
    overflow:visible!important;
    max-width:none!important;
  }
  body.nsd-header-compact .nsd-category-scroll{
    padding-left:8px!important;
    padding-right:8px!important;
  }
  body.nsd-real-mobile-fixed .nsd-mobile-fixed-spacer{
    transition:none!important;
  }
}

/* === NSD MART Premium Order Success Page V98.28 === */
.nsd-success-wrap{width:min(1480px,94%);margin:22px auto 38px;color:#102553;font-family:Arial,Helvetica,sans-serif}.nsd-success-wrap *{box-sizing:border-box}.nsd-success-hero{display:grid;grid-template-columns:.85fr 1.15fr;gap:26px;padding:28px;border:1px solid #dfe8e3;border-radius:12px;background:linear-gradient(100deg,#f4fff8 0%,#fff 52%,#f8fbff 100%);box-shadow:0 6px 22px rgba(9,34,76,.05)}.nsd-success-message{text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center;position:relative;min-height:210px}.nsd-success-check{width:82px;height:82px;border-radius:50%;background:#079c45;color:#fff;font-size:52px;font-weight:800;display:grid;place-items:center;box-shadow:0 10px 25px rgba(7,156,69,.22)}.nsd-success-message h1{font-size:31px;margin:16px 0 8px;color:#102553}.nsd-success-message h2{font-size:17px;color:#078a36;margin:0 0 12px}.nsd-success-message p{font-size:16px;line-height:1.5;margin:0;max-width:460px}.nsd-confetti i{position:absolute;width:6px;height:6px;background:#ffab00;transform:rotate(45deg)}.nsd-confetti i:nth-child(1){left:28%;top:22%;background:#14a76c}.nsd-confetti i:nth-child(2){left:34%;top:11%;background:#ff7a00}.nsd-confetti i:nth-child(3){right:29%;top:17%;background:#21aeca}.nsd-confetti i:nth-child(4){right:34%;top:8%;background:#ffad0a}.nsd-confetti i:nth-child(5){left:25%;top:36%;background:#ef5c7a}.nsd-confetti i:nth-child(6){right:25%;top:36%;background:#6cc06c}.nsd-order-summary{background:#fff;border:1px solid #dfe5ed;border-radius:11px;padding:22px 24px;box-shadow:0 5px 18px rgba(16,37,83,.06)}.nsd-order-summary h3,.nsd-detail-card h3{font-size:19px;margin:0 0 20px;color:#102553}.nsd-summary-grid{display:grid;grid-template-columns:repeat(4,1fr);border-bottom:1px solid #e5e9ef;padding-bottom:20px}.nsd-summary-grid>div{padding:0 18px;border-right:1px solid #e5e9ef}.nsd-summary-grid>div:first-child{padding-left:0}.nsd-summary-grid>div:last-child{border:0}.nsd-order-summary small,.nsd-detail-card small{display:block;font-size:13px;color:#385073;margin-bottom:7px}.nsd-order-summary strong{display:block;font-size:16px;color:#0e2048}.nsd-order-summary em{display:block;font-size:12px;font-style:normal;margin-top:3px}.nsd-paid-badge{display:inline-block!important;width:auto;padding:5px 15px;border:1px solid #23a44e;border-radius:5px;color:#158139!important;background:#effcf3}.nsd-summary-bottom{display:grid;grid-template-columns:.75fr 1.3fr .8fr;gap:25px;padding-top:18px}.nsd-summary-bottom>div{position:relative}.nsd-total-green{color:#078a36!important;font-size:19px!important}.nsd-order-summary .nsd-copy{border:0;background:transparent;color:#146be3;font-size:18px;cursor:pointer;position:absolute;right:5px;bottom:0}.nsd-status-card{margin-top:18px;border:1px solid #dde5ee;border-radius:12px;background:#fff;box-shadow:0 5px 18px rgba(16,37,83,.05);overflow:hidden}.nsd-section-title{display:flex;justify-content:space-between;align-items:center;padding:18px 24px 8px}.nsd-section-title h3{margin:0;font-size:19px}.nsd-section-title>strong{font-size:15px;color:#078a36}.nsd-status-line{display:grid;grid-template-columns:repeat(6,1fr);position:relative;padding:20px 35px 18px}.nsd-status-line:before{content:"";position:absolute;left:8.5%;right:8.5%;top:43px;height:3px;background:#dce2e9}.nsd-status-line:after{content:"";position:absolute;left:8.5%;top:43px;height:3px;width:calc(var(--nsd-progress) * .83);background:#0aa34a}.nsd-step{text-align:center;position:relative;z-index:2;padding:0 10px}.nsd-step-icon{margin:auto;width:48px;height:48px;border-radius:50%;display:grid;place-items:center;background:#f0f2f5;border:1px solid #d5dce5;color:#102553;font-weight:800;font-size:17px}.nsd-step.is-done .nsd-step-icon{background:#08a148;color:#fff;border-color:#08a148}.nsd-step.is-active .nsd-step-icon{background:#286bd9;color:#fff;border-color:#286bd9;box-shadow:0 0 0 7px rgba(40,107,217,.08)}.nsd-step h4{margin:11px 0 6px;font-size:14px}.nsd-step p{font-size:12px;line-height:1.35;min-height:34px;margin:0 0 8px;color:#385073}.nsd-step span{display:inline-block;padding:4px 11px;border-radius:5px;background:#f0f2f5;color:#58667b;font-size:12px}.nsd-step.is-done span{background:#e9f8ee;color:#078a36}.nsd-step.is-active span{background:#eaf1ff;color:#1e5fc7}.nsd-status-note{padding:11px 24px;background:#f1f7ff;border-top:1px solid #dce9fa;color:#284d80;font-size:13px}.nsd-detail-grid{display:grid;grid-template-columns:.9fr 1.05fr 1.15fr;gap:18px;margin-top:18px}.nsd-detail-card{border:1px solid #dde5ee;border-radius:12px;background:#fff;padding:18px 20px;box-shadow:0 5px 18px rgba(16,37,83,.04);min-height:210px}.nsd-address-text{line-height:1.45;font-size:14px}.nsd-address-card>p{font-size:14px}.nsd-delivery-note{margin-top:14px;padding:10px;border:1px solid #cfe9d8;background:#f2fcf5;border-radius:7px;color:#078a36;font-size:13px}.nsd-delivery-note small{margin:4px 0 0 21px;color:#385073}.nsd-order-product{display:grid;grid-template-columns:92px 1fr auto;gap:16px;align-items:center}.nsd-order-product img{width:92px;height:92px;object-fit:contain;border:1px solid #e2e6eb;border-radius:7px}.nsd-order-product strong{display:block;font-size:14px;line-height:1.3}.nsd-order-product small{margin-top:8px}.nsd-price-card>div{display:flex;justify-content:space-between;gap:20px;margin:0 0 11px;font-size:14px}.nsd-discount{color:#078a36}.nsd-price-card .nsd-grand-total{border-top:1px solid #dce2e9;margin-top:17px;padding-top:16px;font-size:16px}.nsd-grand-total small{margin:3px 0 0}.nsd-grand-total>b{color:#078a36;font-size:19px}.nsd-action-row{display:grid;grid-template-columns:repeat(5,1fr);gap:18px;margin-top:18px}.nsd-action{border:0;border-radius:7px;padding:12px 18px;color:#fff!important;display:flex;align-items:center;justify-content:center;gap:13px;cursor:pointer;min-height:66px;font:inherit;text-align:left;box-shadow:0 5px 14px rgba(16,37,83,.09)}.nsd-action>span{font-size:28px}.nsd-action strong{font-size:14px}.nsd-action small{display:block;font-size:12px;font-weight:400;margin-top:3px}.nsd-action-green{background:#07a546}.nsd-action-blue{background:#09285f}.nsd-action-purple{background:#6d238d}.nsd-action-orange{background:#ff7200}.nsd-trust-row{display:grid;grid-template-columns:repeat(5,1fr);gap:10px;margin-top:15px;padding:14px 22px;border:1px solid #d9eee0;background:#f5fff8;border-radius:10px}.nsd-trust-row>div{display:grid;grid-template-columns:28px 1fr;color:#07913d;font-size:20px}.nsd-trust-row strong,.nsd-trust-row small{grid-column:2;font-size:12px;color:#102553}.nsd-trust-row small{font-size:11px;font-weight:400;color:#51627a}.nsd-failed-card{text-align:center;background:#fff;border:1px solid #eee;padding:50px;border-radius:12px}.nsd-failed-icon{width:70px;height:70px;margin:auto;border-radius:50%;display:grid;place-items:center;background:#e74c3c;color:#fff;font-size:42px;font-weight:700}
@media(max-width:1100px){.nsd-success-hero{grid-template-columns:1fr}.nsd-summary-grid{grid-template-columns:repeat(2,1fr);gap:18px}.nsd-summary-grid>div{border:0;padding:0}.nsd-detail-grid{grid-template-columns:1fr 1fr}.nsd-price-card{grid-column:1/-1}.nsd-action-row{grid-template-columns:repeat(3,1fr)}}
@media(max-width:767px){.nsd-success-wrap{width:94%;margin-top:12px}.nsd-success-hero{padding:16px;gap:16px}.nsd-success-message{min-height:190px}.nsd-success-check{width:68px;height:68px;font-size:42px}.nsd-success-message h1{font-size:24px}.nsd-success-message h2{font-size:15px}.nsd-order-summary{padding:17px}.nsd-summary-grid,.nsd-summary-bottom{grid-template-columns:1fr 1fr;gap:16px}.nsd-summary-bottom>div:nth-child(2){grid-column:1/-1;grid-row:2}.nsd-section-title{align-items:flex-start;gap:10px;flex-direction:column}.nsd-status-line{display:block;padding:15px 18px 15px 58px}.nsd-status-line:before{left:39px;top:36px;bottom:45px;width:3px;height:auto;right:auto}.nsd-status-line:after{display:none}.nsd-step{text-align:left;min-height:88px;padding:0 0 12px}.nsd-step-icon{position:absolute;left:-44px;top:0;width:38px;height:38px}.nsd-step h4{margin:0 0 4px}.nsd-step p{min-height:0}.nsd-detail-grid{grid-template-columns:1fr}.nsd-price-card{grid-column:auto}.nsd-order-product{grid-template-columns:70px 1fr}.nsd-order-product img{width:70px;height:70px}.nsd-order-product>b{grid-column:2}.nsd-action-row{grid-template-columns:1fr 1fr;gap:10px}.nsd-action{padding:10px;min-height:60px}.nsd-action>span{font-size:22px}.nsd-trust-row{grid-template-columns:1fr 1fr;padding:13px}.nsd-trust-row>div:last-child{grid-column:1/-1}}
@media print{.nsd-header-main,.nsd-nav,.nsd-category-bar,.nsd-footer,.nsd-action-row,.nsd-trust-row,.nsd-status-card{display:none!important}.nsd-success-wrap{width:100%;margin:0}.nsd-success-hero,.nsd-detail-card{box-shadow:none}.nsd-success-message{display:none}.nsd-success-hero{display:block}.nsd-detail-grid{grid-template-columns:1fr 1fr}.nsd-price-card{grid-column:1/-1}}

/* V98.29 payment badges and footer collision fix */
.nsd-paid-badge.is-pending{border-color:#e0a100!important;color:#8a5b00!important;background:#fff8df!important}.nsd-paid-badge.is-paid{border-color:#23a44e!important;color:#158139!important;background:#effcf3!important}.nsd-footer>.nsd-copy{position:static!important;right:auto!important;bottom:auto!important;background:transparent!important;color:#d6def0!important;font-size:13px!important;cursor:default!important}.nsd-status-card{position:relative;z-index:1}.nsd-footer{position:relative;z-index:0;clear:both}

/* V98.30 permanent order page/invoice controls */
.woocommerce-account .nsd-success-wrap{clear:both;position:relative;z-index:2;margin-bottom:48px}
.woocommerce-account .woocommerce-MyAccount-content:has(.nsd-success-wrap){float:none!important;width:100%!important}
.woocommerce-account .woocommerce-MyAccount-navigation:has(+ .woocommerce-MyAccount-content .nsd-success-wrap){display:none!important}
.woocommerce-account footer,.woocommerce-account .site-footer{clear:both;position:relative!important;z-index:1!important}
.woocommerce-orders-table__cell-order-actions .button{margin:3px!important}
.woocommerce-orders-table__cell-order-actions .nsd-invoice{background:#071d49!important;color:#fff!important}
.woocommerce-orders-table__cell-order-actions .nsd-track{background:#08a545!important;color:#fff!important}
.nsd-action.is-disabled{opacity:.58;cursor:not-allowed;filter:grayscale(.25);pointer-events:none}

/* V98.38: compact three-column Featured Categories on real mobile screens. */
@media (max-width:560px){
  body.home .nsd-section .nsd-cat-grid{
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:8px!important;
  }
  body.home .nsd-cat-grid .nsd-builder-cat{
    min-height:118px!important;
    height:118px!important;
    padding:8px 5px!important;
    gap:4px!important;
    border-radius:9px!important;
    justify-content:center!important;
  }
  body.home .nsd-cat-grid .nsd-builder-cat img{
    width:58px!important;
    height:58px!important;
    margin:0 auto!important;
    object-fit:contain!important;
  }
  body.home .nsd-cat-grid .nsd-builder-cat strong{
    display:-webkit-box!important;
    -webkit-box-orient:vertical!important;
    -webkit-line-clamp:2!important;
    overflow:hidden!important;
    font-size:12px!important;
    line-height:1.2!important;
    min-height:29px!important;
  }
  body.home .nsd-cat-grid .nsd-builder-cat small{
    font-size:10px!important;
    line-height:1.1!important;
    white-space:nowrap!important;
  }
}

/* V98.39: Android-safe sticky category bar.
 * Keep one rendered row and switch between two fixed sizes. Continuous
 * fixed-element resizing caused duplicate/ghost rows in physical browsers. */
@media (max-width:1024px){
  body.nsd-real-mobile-fixed .nsd-sticky-shell,
  body.nsd-real-mobile-fixed .nsd-category-bar,
  body.nsd-real-mobile-fixed .nsd-category-scroll,
  body.nsd-real-mobile-fixed .nsd-category-item,
  body.nsd-real-mobile-fixed .nsd-category-item>a,
  body.nsd-real-mobile-fixed .nsd-category-icon,
  body.nsd-real-mobile-fixed .nsd-category-count,
  body.nsd-real-mobile-fixed .nsd-category-name{
    transition:none!important;
    animation:none!important;
    will-change:auto!important;
  }
  body.nsd-real-mobile-fixed .nsd-category-bar{
    transform:none!important;
    backface-visibility:visible!important;
    contain:layout paint!important;
  }
  body.nsd-real-mobile-fixed:not(.nsd-header-compact) .nsd-category-bar{
    padding:8px 0!important;
  }
  body.nsd-real-mobile-fixed:not(.nsd-header-compact) .nsd-category-item>a{
    height:96px!important;
    min-height:96px!important;
    max-height:96px!important;
    padding:4px!important;
    gap:4px!important;
  }
  body.nsd-real-mobile-fixed:not(.nsd-header-compact) .nsd-category-icon{
    display:flex!important;
    width:46px!important;
    height:46px!important;
    min-height:46px!important;
    max-height:46px!important;
    opacity:1!important;
    transform:none!important;
  }
  body.nsd-real-mobile-fixed:not(.nsd-header-compact) .nsd-category-count{
    display:block!important;
    height:17px!important;
    min-height:17px!important;
    max-height:17px!important;
    line-height:17px!important;
    opacity:1!important;
    transform:none!important;
  }
  body.nsd-real-mobile-fixed.nsd-header-compact .nsd-category-bar{
    padding:0!important;
  }
  body.nsd-real-mobile-fixed.nsd-header-compact .nsd-category-item>a{
    height:38px!important;
    min-height:38px!important;
    max-height:38px!important;
    padding:0 12px!important;
    gap:3px!important;
    flex-direction:row!important;
  }
  body.nsd-real-mobile-fixed.nsd-header-compact .nsd-category-icon,
  body.nsd-real-mobile-fixed.nsd-header-compact .nsd-category-count{
    display:none!important;
    width:0!important;
    height:0!important;
    min-height:0!important;
    max-height:0!important;
    margin:0!important;
    padding:0!important;
    opacity:0!important;
    transform:none!important;
  }
  body.nsd-real-mobile-fixed.nsd-header-compact .nsd-category-name{
    transform:none!important;
    opacity:1!important;
  }
  body.nsd-real-mobile-fixed .nsd-mobile-fixed-spacer{
    transition:none!important;
  }
}

/* =========================================================
   NSD MART v98.44.2 — Single product permanent layout fixes
   - balanced product title and main image
   - editor image alignment preserved in short/long descriptions
   - clean responsive wrapping on mobile
   ========================================================= */

/* Give the product information a little more room than the gallery. */
.nsd-single-product-page div.product{
  grid-template-columns:minmax(360px,.88fr) minmax(430px,1.12fr);
  column-gap:34px;
}

/* Main single-product image: always fully visible, centred and uncropped. */
.nsd-single-product-page div.product .woocommerce-product-gallery{
  align-self:start;
  max-width:100%;
}
.nsd-single-product-page .woocommerce-product-gallery__wrapper{
  background:#fff;
}
.nsd-single-product-page .woocommerce-product-gallery__image a{
  min-height:440px;
  max-height:500px;
  padding:10px;
  overflow:hidden;
}
.nsd-single-product-page .woocommerce-product-gallery__image img{
  display:block!important;
  width:auto!important;
  height:auto!important;
  max-width:100%!important;
  max-height:470px!important;
  margin:auto!important;
  padding:0!important;
  object-fit:contain!important;
  object-position:center!important;
}
.nsd-single-product-page .woocommerce-product-gallery .zoomImg{
  max-width:none!important;
  max-height:none!important;
  padding:0!important;
}

/* Premium, compact product heading. */
.nsd-single-product-page div.product .summary h1.product_title,
.nsd-single-product-page h1.product_title,
.single-product .nsd-single-product-page .product_title{
  font-size:26px!important;
  line-height:1.28!important;
  letter-spacing:-.2px!important;
  font-weight:800!important;
  margin:0 0 12px!important;
  overflow-wrap:anywhere;
}

/* Preserve WordPress editor align-left / align-right output on the storefront. */
.nsd-single-product-page .woocommerce-product-details__short-description,
.nsd-single-product-page .woocommerce-Tabs-panel{
  display:flow-root;
}
.nsd-single-product-page .woocommerce-product-details__short-description::after,
.nsd-single-product-page .woocommerce-Tabs-panel::after{
  content:"";
  display:table;
  clear:both;
}
.nsd-single-product-page .woocommerce-product-details__short-description img,
.nsd-single-product-page .woocommerce-Tabs-panel img{
  height:auto!important;
}
.nsd-single-product-page .woocommerce-product-details__short-description img.alignleft,
.nsd-single-product-page .woocommerce-Tabs-panel img.alignleft,
.nsd-single-product-page .woocommerce-product-details__short-description figure.alignleft,
.nsd-single-product-page .woocommerce-Tabs-panel figure.alignleft{
  float:left!important;
  display:block!important;
  width:auto!important;
  max-width:145px!important;
  margin:3px 18px 10px 0!important;
}
.nsd-single-product-page .woocommerce-product-details__short-description img.alignright,
.nsd-single-product-page .woocommerce-Tabs-panel img.alignright,
.nsd-single-product-page .woocommerce-product-details__short-description figure.alignright,
.nsd-single-product-page .woocommerce-Tabs-panel figure.alignright{
  float:right!important;
  display:block!important;
  width:auto!important;
  max-width:145px!important;
  margin:3px 0 10px 18px!important;
}
.nsd-single-product-page .woocommerce-product-details__short-description img.aligncenter,
.nsd-single-product-page .woocommerce-Tabs-panel img.aligncenter,
.nsd-single-product-page .woocommerce-product-details__short-description figure.aligncenter,
.nsd-single-product-page .woocommerce-Tabs-panel figure.aligncenter{
  float:none!important;
  display:block!important;
  margin:12px auto!important;
}
.nsd-single-product-page .woocommerce-product-details__short-description p,
.nsd-single-product-page .woocommerce-Tabs-panel p{
  margin-top:0;
  line-height:1.7;
}
.nsd-single-product-page .woocommerce-product-details__short-description h2,
.nsd-single-product-page .woocommerce-product-details__short-description h3,
.nsd-single-product-page .woocommerce-Tabs-panel h2,
.nsd-single-product-page .woocommerce-Tabs-panel h3{
  clear:both;
  color:#071a46;
  line-height:1.35;
}
.nsd-single-product-page .woocommerce-product-details__short-description h2,
.nsd-single-product-page .woocommerce-Tabs-panel h2{font-size:21px!important}
.nsd-single-product-page .woocommerce-product-details__short-description h3,
.nsd-single-product-page .woocommerce-Tabs-panel h3{font-size:18px!important}

@media (max-width:1100px){
  .nsd-single-product-page div.product{
    grid-template-columns:1fr;
  }
  .nsd-single-product-page .woocommerce-product-gallery__image a{
    min-height:400px;
    max-height:460px;
  }
  .nsd-single-product-page .woocommerce-product-gallery__image img{
    max-height:430px!important;
  }
}

@media (max-width:767px){
  .nsd-single-product-page div.product .summary h1.product_title,
  .nsd-single-product-page h1.product_title,
  .single-product .nsd-single-product-page .product_title{
    font-size:22px!important;
    line-height:1.3!important;
  }
  .nsd-single-product-page .woocommerce-product-gallery__image a{
    min-height:300px;
    max-height:360px;
    padding:6px;
  }
  .nsd-single-product-page .woocommerce-product-gallery__image img{
    max-height:340px!important;
  }
  .nsd-single-product-page .woocommerce-product-details__short-description img.alignleft,
  .nsd-single-product-page .woocommerce-product-details__short-description img.alignright,
  .nsd-single-product-page .woocommerce-Tabs-panel img.alignleft,
  .nsd-single-product-page .woocommerce-Tabs-panel img.alignright,
  .nsd-single-product-page .woocommerce-product-details__short-description figure.alignleft,
  .nsd-single-product-page .woocommerce-product-details__short-description figure.alignright,
  .nsd-single-product-page .woocommerce-Tabs-panel figure.alignleft,
  .nsd-single-product-page .woocommerce-Tabs-panel figure.alignright{
    float:none!important;
    display:block!important;
    max-width:170px!important;
    margin:8px auto 14px!important;
  }
}


/* =========================================================
   NSD MART v98.44.3 — Premium Single Product Gallery
   - compact product title
   - polished gallery card and thumbnails
   - balanced branded full-screen viewer
   ========================================================= */

/* Give product photos a clean NSD MART showroom-style frame. */
.nsd-single-product-page div.product{
  grid-template-columns:minmax(340px,.82fr) minmax(470px,1.18fr)!important;
  column-gap:32px!important;
}
.nsd-single-product-page div.product .woocommerce-product-gallery{
  width:min(100%,540px)!important;
  margin:0 auto!important;
}
.nsd-single-product-page .woocommerce-product-gallery__wrapper{
  border:1px solid #dfe6f2!important;
  border-radius:18px!important;
  padding:12px!important;
  background:linear-gradient(145deg,#ffffff 0%,#f7f9fd 100%)!important;
  box-shadow:0 12px 30px rgba(7,26,70,.09)!important;
}
.nsd-single-product-page .woocommerce-product-gallery__image a{
  min-height:390px!important;
  max-height:440px!important;
  border-radius:13px!important;
  padding:14px!important;
  background:#fff!important;
}
.nsd-single-product-page .woocommerce-product-gallery__image img{
  max-width:100%!important;
  max-height:410px!important;
  filter:drop-shadow(0 8px 14px rgba(7,26,70,.10));
}
.nsd-single-product-page .flex-control-thumbs{
  gap:9px!important;
  margin-top:14px!important;
}
.nsd-single-product-page .flex-control-thumbs li{
  border-radius:11px!important;
}
.nsd-single-product-page .flex-control-thumbs img{
  aspect-ratio:1!important;
  object-fit:contain!important;
  border:1px solid #dfe6f2!important;
  border-radius:11px!important;
  padding:5px!important;
  background:#fff!important;
  box-shadow:0 4px 12px rgba(7,26,70,.07)!important;
  transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease!important;
}
.nsd-single-product-page .flex-control-thumbs img:hover,
.nsd-single-product-page .flex-control-thumbs img.flex-active{
  transform:translateY(-2px)!important;
  border-color:var(--nsd-orange)!important;
  box-shadow:0 7px 16px rgba(255,173,10,.20)!important;
}

/* Compact marketplace product title. */
body.single-product .nsd-single-product-page div.product .summary h1.product_title,
body.single-product .nsd-single-product-page h1.product_title,
body.single-product .woocommerce div.product .summary h1.product_title{
  font-size:22px!important;
  line-height:1.30!important;
  letter-spacing:0!important;
  font-weight:800!important;
  max-width:760px!important;
  margin:0 0 11px!important;
}

/* Branded full-screen gallery: large enough to inspect, never overpowering. */
.nsd-hd-lightbox{
  padding:34px!important;
  background:rgba(4,13,34,.72)!important;
  backdrop-filter:blur(5px);
}
.nsd-hd-lightbox__dialog{
  width:min(1180px,calc(100vw - 68px))!important;
  height:min(720px,calc(100vh - 68px))!important;
  grid-template-columns:minmax(0,1fr) 270px!important;
  border-radius:18px!important;
  border:1px solid rgba(255,255,255,.55)!important;
  box-shadow:0 30px 90px rgba(0,0,0,.42)!important;
}
.nsd-hd-lightbox__main{
  padding:32px 46px 70px!important;
  background:linear-gradient(145deg,#f7f9fd 0%,#eef3fb 100%)!important;
  border-right:1px solid #dfe6f2!important;
}
.nsd-hd-lightbox__stage{
  max-width:820px!important;
  max-height:590px!important;
  margin:auto!important;
  padding:22px!important;
  border:1px solid #dfe6f2!important;
  border-radius:16px!important;
  background:#fff!important;
  box-shadow:inset 0 0 0 1px rgba(7,26,70,.02),0 12px 32px rgba(7,26,70,.08)!important;
}
.nsd-hd-lightbox__image{
  width:auto!important;
  height:auto!important;
  max-width:min(720px,92%)!important;
  max-height:520px!important;
  object-fit:contain!important;
  filter:drop-shadow(0 10px 18px rgba(7,26,70,.12));
}
.nsd-hd-lightbox__side{
  padding:48px 20px 22px!important;
  background:linear-gradient(180deg,#fff 0%,#f8faff 100%)!important;
}
.nsd-hd-lightbox__title{
  color:var(--nsd-blue)!important;
  font-size:16px!important;
  line-height:1.35!important;
  font-weight:800!important;
}
.nsd-hd-lightbox__thumbs{gap:9px!important}
.nsd-hd-lightbox__thumb{
  border-radius:9px!important;
  border:1px solid #dfe6f2!important;
  padding:4px!important;
  box-shadow:0 3px 9px rgba(7,26,70,.06)!important;
}
.nsd-hd-lightbox__thumb.is-active{
  border:2px solid var(--nsd-orange)!important;
  box-shadow:0 0 0 3px rgba(255,173,10,.16)!important;
}
.nsd-hd-lightbox__close{
  top:10px!important;
  right:11px!important;
  background:#fff!important;
  color:var(--nsd-blue)!important;
  box-shadow:0 5px 16px rgba(7,26,70,.12)!important;
}
.nsd-hd-lightbox__prev,.nsd-hd-lightbox__next{
  width:42px!important;
  height:56px!important;
  border-radius:12px!important;
  color:var(--nsd-blue)!important;
}

@media (max-width:1100px){
  .nsd-single-product-page div.product{
    grid-template-columns:1fr!important;
  }
  .nsd-single-product-page div.product .woocommerce-product-gallery{
    width:min(100%,520px)!important;
  }
}

@media (max-width:767px){
  body.single-product .nsd-single-product-page div.product .summary h1.product_title,
  body.single-product .nsd-single-product-page h1.product_title,
  body.single-product .woocommerce div.product .summary h1.product_title{
    font-size:20px!important;
    line-height:1.32!important;
  }
  .nsd-single-product-page .woocommerce-product-gallery__image a{
    min-height:280px!important;
    max-height:340px!important;
    padding:8px!important;
  }
  .nsd-single-product-page .woocommerce-product-gallery__image img{
    max-height:320px!important;
  }
  .nsd-hd-lightbox{padding:0!important;backdrop-filter:none}
  .nsd-hd-lightbox__dialog{
    width:100vw!important;
    height:100vh!important;
    border-radius:0!important;
    grid-template-columns:1fr!important;
  }
  .nsd-hd-lightbox__main{padding:58px 12px 64px!important}
  .nsd-hd-lightbox__stage{
    width:100%!important;
    max-width:100%!important;
    height:100%!important;
    max-height:none!important;
    padding:10px!important;
    border-radius:12px!important;
  }
  .nsd-hd-lightbox__image{
    max-width:96%!important;
    max-height:74vh!important;
  }
}

/* =========================================================
   NSD MART v98.44.4 — Amazon-size gallery viewer
   Keeps the premium v98.44.3 design, enlarges only the viewer.
   ========================================================= */
@media (min-width:768px){
  .nsd-hd-lightbox{
    padding:22px!important;
  }
  .nsd-hd-lightbox__dialog{
    width:min(1560px,calc(100vw - 44px))!important;
    height:min(820px,calc(100vh - 44px))!important;
    grid-template-columns:minmax(0,1fr) 300px!important;
  }
  .nsd-hd-lightbox__main{
    padding:24px 48px 68px!important;
  }
  .nsd-hd-lightbox__stage{
    width:100%!important;
    height:100%!important;
    max-width:1160px!important;
    max-height:700px!important;
    padding:18px!important;
  }
  .nsd-hd-lightbox__image{
    max-width:96%!important;
    max-height:660px!important;
  }
  .nsd-hd-lightbox__side{
    padding:48px 22px 24px!important;
  }
  .nsd-hd-lightbox__thumb{
    width:54px!important;
    height:54px!important;
  }
}

@media (min-width:1400px){
  .nsd-hd-lightbox__dialog{
    width:95vw!important;
    height:90vh!important;
    max-width:1580px!important;
    max-height:850px!important;
  }
  .nsd-hd-lightbox__stage{
    max-width:1220px!important;
    max-height:720px!important;
  }
  .nsd-hd-lightbox__image{
    max-height:690px!important;
  }
}


/* =========================================================
   NSD MART v98.44.5 — Smooth gallery slides + premium empty cart
   ========================================================= */

/* Product lightbox: images should glide from the side instead of changing abruptly. */
.nsd-hd-lightbox__image{
  will-change:transform,opacity;
  backface-visibility:hidden;
}
.nsd-hd-lightbox__stage{
  overflow:hidden!important;
}

/* Empty cart: compact, premium NSD MART marketplace presentation. */
body.woocommerce-cart .wp-block-woocommerce-empty-cart-block,
body.woocommerce-cart .wc-block-cart__empty-cart,
body.woocommerce-cart .woocommerce-info.cart-empty,
body.woocommerce-cart .cart-empty{
  max-width:920px!important;
  margin:8px auto 24px!important;
  padding:34px 28px 28px!important;
  border:1px solid #dfe7f3!important;
  border-radius:24px!important;
  background:
    radial-gradient(circle at 50% -20%,rgba(255,173,10,.17),transparent 42%),
    linear-gradient(145deg,#ffffff 0%,#f6f9ff 100%)!important;
  box-shadow:0 18px 48px rgba(7,31,79,.09)!important;
  text-align:center!important;
  color:#071f4f!important;
}
body.woocommerce-cart .wc-block-cart__empty-cart__title,
body.woocommerce-cart .wp-block-woocommerce-empty-cart-block h2,
body.woocommerce-cart .cart-empty{
  font-size:25px!important;
  line-height:1.25!important;
  font-weight:900!important;
  color:#071f4f!important;
  margin:0 0 10px!important;
}
body.woocommerce-cart .wp-block-woocommerce-empty-cart-block::before,
body.woocommerce-cart .wc-block-cart__empty-cart::before{
  content:"🛒";
  display:grid;
  place-items:center;
  width:72px;
  height:72px;
  margin:0 auto 15px;
  border-radius:22px;
  background:linear-gradient(145deg,#071f4f,#0d3c88);
  box-shadow:0 12px 26px rgba(7,31,79,.22);
  font-size:34px;
}
body.woocommerce-cart .wp-block-woocommerce-empty-cart-block p,
body.woocommerce-cart .wc-block-cart__empty-cart p{
  max-width:580px;
  margin:0 auto 16px!important;
  color:#596a85!important;
  font-size:15px!important;
  line-height:1.65!important;
}
body.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wp-block-button__link,
body.woocommerce-cart .wc-block-cart__empty-cart .wc-block-components-button,
body.woocommerce-cart .return-to-shop .button{
  min-width:190px!important;
  min-height:48px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  border:0!important;
  border-radius:12px!important;
  background:linear-gradient(135deg,#ffb20b,#ff9200)!important;
  color:#071f4f!important;
  font-size:15px!important;
  font-weight:900!important;
  box-shadow:0 10px 24px rgba(255,153,0,.25)!important;
}
body.woocommerce-cart .wp-block-woocommerce-empty-cart-block + .wp-block-heading,
body.woocommerce-cart .wp-block-woocommerce-empty-cart-block h2 + .wc-block-grid,
body.woocommerce-cart .wc-block-cart__empty-cart + .wc-block-grid,
body.woocommerce-cart .wc-block-grid__products + *{
  margin-top:26px!important;
}
body.woocommerce-cart .wp-block-woocommerce-empty-cart-block ~ h2,
body.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wp-block-heading,
body.woocommerce-cart .wc-block-cart__empty-cart ~ h2{
  color:#071f4f!important;
  font-size:25px!important;
  font-weight:900!important;
  text-align:center!important;
  margin:28px 0 18px!important;
}
body.woocommerce-cart .wc-block-grid__products{
  gap:18px!important;
}
body.woocommerce-cart .wc-block-grid__product{
  border:1px solid #e1e8f3!important;
  border-radius:18px!important;
  background:#fff!important;
  padding:12px!important;
  box-shadow:0 10px 28px rgba(7,31,79,.07)!important;
  overflow:hidden!important;
  transition:transform .2s ease,box-shadow .2s ease!important;
}
body.woocommerce-cart .wc-block-grid__product:hover{
  transform:translateY(-4px)!important;
  box-shadow:0 16px 34px rgba(7,31,79,.12)!important;
}
body.woocommerce-cart .wc-block-grid__product-image img{
  width:100%!important;
  aspect-ratio:1/1!important;
  object-fit:contain!important;
  border-radius:13px!important;
  background:#f8faff!important;
}
body.woocommerce-cart .wc-block-grid__product-title{
  color:#071f4f!important;
  font-size:15px!important;
  line-height:1.35!important;
  font-weight:800!important;
}

@media(max-width:767px){
  body.woocommerce-cart .wp-block-woocommerce-empty-cart-block,
  body.woocommerce-cart .wc-block-cart__empty-cart,
  body.woocommerce-cart .woocommerce-info.cart-empty,
  body.woocommerce-cart .cart-empty{
    padding:26px 16px 22px!important;
    border-radius:18px!important;
  }
  body.woocommerce-cart .wc-block-cart__empty-cart__title,
  body.woocommerce-cart .wp-block-woocommerce-empty-cart-block h2,
  body.woocommerce-cart .cart-empty{font-size:22px!important}
}


/* =========================================================
   NSD MART v98.44.6 — Empty cart product images fully visible
   ========================================================= */
body.woocommerce-cart .wc-block-grid__products{
  align-items:stretch!important;
}
body.woocommerce-cart .wc-block-grid__product{
  display:flex!important;
  flex-direction:column!important;
  min-height:520px!important;
}
body.woocommerce-cart .wc-block-grid__product-image,
body.woocommerce-cart .wc-block-grid__product-image a,
body.woocommerce-cart .wc-block-grid__product-image .wc-block-grid__product-image{
  width:100%!important;
  height:300px!important;
  min-height:300px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  overflow:hidden!important;
  background:#fff!important;
  border-radius:14px!important;
  padding:12px!important;
}
body.woocommerce-cart .wc-block-grid__product-image img,
body.woocommerce-cart .wc-block-grid__product img,
body.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-grid__product img{
  width:100%!important;
  height:100%!important;
  max-width:100%!important;
  max-height:100%!important;
  aspect-ratio:auto!important;
  object-fit:contain!important;
  object-position:center!important;
  display:block!important;
  margin:0!important;
  padding:0!important;
  transform:none!important;
  border-radius:10px!important;
  background:#fff!important;
}
body.woocommerce-cart .wc-block-grid__product-title{
  min-height:44px!important;
  margin-top:14px!important;
}
body.woocommerce-cart .wc-block-grid__product-price{
  margin-top:auto!important;
}
@media(max-width:767px){
  body.woocommerce-cart .wc-block-grid__product{min-height:auto!important}
  body.woocommerce-cart .wc-block-grid__product-image,
  body.woocommerce-cart .wc-block-grid__product-image a{
    height:230px!important;
    min-height:230px!important;
  }
}

/* =========================================================
   NSD MART v98.44.7 — Empty-cart recommendation images: true full view
   Keep every product safely inside the card with generous white breathing room.
   ========================================================= */
body.woocommerce-cart .wc-block-grid__product{
  min-height:560px!important;
}
body.woocommerce-cart .wc-block-grid__product-image,
body.woocommerce-cart .wc-block-grid__product-image a{
  height:320px!important;
  min-height:320px!important;
  padding:22px!important;
  overflow:visible!important;
  background:#fff!important;
}
body.woocommerce-cart .wc-block-grid__product-image img,
body.woocommerce-cart .wc-block-grid__product img,
body.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-grid__product img{
  width:auto!important;
  height:auto!important;
  max-width:88%!important;
  max-height:88%!important;
  object-fit:scale-down!important;
  object-position:center center!important;
  display:block!important;
  margin:auto!important;
  transform:none!important;
  clip-path:none!important;
}
@media(max-width:767px){
  body.woocommerce-cart .wc-block-grid__product{min-height:auto!important}
  body.woocommerce-cart .wc-block-grid__product-image,
  body.woocommerce-cart .wc-block-grid__product-image a{
    height:250px!important;
    min-height:250px!important;
    padding:18px!important;
  }
  body.woocommerce-cart .wc-block-grid__product-image img,
  body.woocommerce-cart .wc-block-grid__product img{
    max-width:86%!important;
    max-height:86%!important;
  }
}

/* =========================================================
   NSD MART v98.44.9 — Empty-cart recommendations: stable no-jump images
   ========================================================= */
body.woocommerce-cart .wc-block-grid__products{
  grid-template-columns:repeat(3,minmax(250px,1fr))!important;
  gap:20px!important;
}
body.woocommerce-cart .wc-block-grid__product{
  min-height:590px!important;
  padding:14px!important;
}
body.woocommerce-cart .wc-block-grid__product-image,
body.woocommerce-cart .wc-block-grid__product-image > a{
  width:100%!important;
  height:350px!important;
  min-height:350px!important;
  padding:4px!important;
  margin:0!important;
  overflow:hidden!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  background:#fff!important;
}
body.woocommerce-cart .wc-block-grid__product-image img,
body.woocommerce-cart .wc-block-grid__product img,
body.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-grid__product img{
  width:100%!important;
  height:100%!important;
  max-width:100%!important;
  max-height:100%!important;
  object-fit:contain!important;
  object-position:center center!important;
  padding:0!important;
  margin:0!important;
  transform:none!important;
  clip-path:none!important;
}
@media(max-width:900px){
  body.woocommerce-cart .wc-block-grid__products{grid-template-columns:repeat(2,minmax(220px,1fr))!important}
}
@media(max-width:600px){
  body.woocommerce-cart .wc-block-grid__products{grid-template-columns:1fr!important}
  body.woocommerce-cart .wc-block-grid__product{min-height:auto!important}
  body.woocommerce-cart .wc-block-grid__product-image,
  body.woocommerce-cart .wc-block-grid__product-image > a{
    height:320px!important;
    min-height:320px!important;
  }
}

/* =========================================================
   NSD MART v98.44.9 — Stable empty-cart recommendations
   Prevent refresh jumping/double-looking image swaps.
   ========================================================= */
body.woocommerce-cart .wc-block-grid__products{
  min-height:590px!important;
  opacity:0!important;
  visibility:hidden!important;
  transform:translateY(4px)!important;
  transition:opacity .18s ease,transform .18s ease!important;
}
html.nsd-empty-cart-images-ready body.woocommerce-cart .wc-block-grid__products{
  opacity:1!important;
  visibility:visible!important;
  transform:none!important;
}
body.woocommerce-cart .wc-block-grid__product-image,
body.woocommerce-cart .wc-block-grid__product-image > a{
  contain:layout paint!important;
}
body.woocommerce-cart .wc-block-grid__product-image img{
  transition:none!important;
  animation:none!important;
}
@media(max-width:600px){
  body.woocommerce-cart .wc-block-grid__products{min-height:360px!important}
}

/* =========================================================
   NSD MART v98.45 — Mobile full-screen gallery + no-refresh blink
   ========================================================= */

/* The real-mobile fixed header uses an extremely high z-index. Keep the
   product viewer above it and hide the page chrome while the viewer is open. */
.nsd-hd-lightbox{
  z-index:2147483647!important;
}
html.nsd-lightbox-open body .nsd-sticky-shell,
html.nsd-lightbox-open body .nsd-mobile-bottom-nav,
html.nsd-lightbox-open body .nsd-whatsapp,
html.nsd-lightbox-open body .nsd-support-widget{
  visibility:hidden!important;
  pointer-events:none!important;
}

@media(max-width:767px){
  html.nsd-lightbox-open,
  html.nsd-lightbox-open body{
    width:100%!important;
    height:100%!important;
    overflow:hidden!important;
    overscroll-behavior:none!important;
  }
  body > .nsd-hd-lightbox{
    position:fixed!important;
    inset:0!important;
    width:100vw!important;
    height:100dvh!important;
    min-height:100dvh!important;
    margin:0!important;
    padding:0!important;
    background:#fff!important;
  }
  .nsd-hd-lightbox__dialog{
    position:absolute!important;
    inset:0!important;
    width:100%!important;
    height:100%!important;
    min-height:100%!important;
    display:grid!important;
    grid-template-columns:1fr!important;
    grid-template-rows:minmax(0,1fr) auto!important;
    overflow:hidden!important;
    border:0!important;
    border-radius:0!important;
  }
  .nsd-hd-lightbox__main{
    min-height:0!important;
    padding:54px 10px 62px!important;
    border:0!important;
    background:linear-gradient(145deg,#f7f9fd 0%,#eef3fb 100%)!important;
  }
  .nsd-hd-lightbox__stage{
    width:100%!important;
    height:100%!important;
    min-height:0!important;
    max-width:none!important;
    max-height:none!important;
    margin:0!important;
    padding:8px!important;
    overflow:hidden!important;
  }
  .nsd-hd-lightbox__image{
    width:auto!important;
    height:auto!important;
    max-width:100%!important;
    max-height:100%!important;
    object-fit:contain!important;
    object-position:center!important;
  }
  .nsd-hd-lightbox__side{
    flex:0 0 auto!important;
    max-height:190px!important;
    padding:10px 12px calc(12px + env(safe-area-inset-bottom))!important;
    overflow:hidden!important;
    border-top:1px solid #e2e7ef!important;
  }
  .nsd-hd-lightbox__title{
    font-size:15px!important;
    line-height:1.25!important;
    margin:0 36px 5px 0!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
  }
  .nsd-hd-lightbox__counter{margin-bottom:7px!important}
  .nsd-hd-lightbox__thumbs{
    display:flex!important;
    gap:8px!important;
    overflow-x:auto!important;
    overflow-y:hidden!important;
    padding:2px 2px 5px!important;
    -webkit-overflow-scrolling:touch!important;
    scrollbar-width:none!important;
  }
  .nsd-hd-lightbox__thumbs::-webkit-scrollbar{display:none!important}
  .nsd-hd-lightbox__thumb{
    flex:0 0 56px!important;
    width:56px!important;
    height:56px!important;
  }
  .nsd-hd-lightbox__caption{display:none!important}
  .nsd-hd-lightbox__close{
    position:fixed!important;
    top:max(8px,env(safe-area-inset-top))!important;
    right:8px!important;
    z-index:2147483647!important;
  }
  .nsd-hd-lightbox__prev,.nsd-hd-lightbox__next{
    top:50%!important;
    width:42px!important;
    height:58px!important;
  }
}

/* Never hide or fade the recommendation grid during refresh. The previous
   REST image replacement caused the visible whole-page blink. */
body.woocommerce-cart .wc-block-grid__products,
html.nsd-empty-cart-images-ready body.woocommerce-cart .wc-block-grid__products{
  opacity:1!important;
  visibility:visible!important;
  transform:none!important;
  transition:none!important;
}

/* =========================================================
   NSD MART v98.46 — Stable empty-cart cards + side cart
   ========================================================= */
body.woocommerce-cart,
body.woocommerce-cart main,
body.woocommerce-cart .site-main,
body.woocommerce-cart .entry-content,
body.woocommerce-cart .wc-block-grid,
body.woocommerce-cart .wc-block-grid__products,
body.woocommerce-cart .wc-block-grid__product,
body.woocommerce-cart .wc-block-grid__product *{
  animation:none!important;
}
body.woocommerce-cart .wc-block-grid__products{
  opacity:1!important;
  visibility:visible!important;
  transform:none!important;
  transition:none!important;
  align-items:stretch!important;
}
body.woocommerce-cart .wc-block-grid__product{
  min-height:0!important;
  height:auto!important;
  padding:14px!important;
  display:flex!important;
  flex-direction:column!important;
}
body.woocommerce-cart .wc-block-grid__product-image,
body.woocommerce-cart .wc-block-grid__product-image a{
  width:100%!important;
  height:230px!important;
  min-height:230px!important;
  padding:8px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  overflow:hidden!important;
  background:#fff!important;
}
body.woocommerce-cart .wc-block-grid__product-image img,
body.woocommerce-cart .wc-block-grid__product img{
  width:100%!important;
  height:100%!important;
  max-width:100%!important;
  max-height:100%!important;
  object-fit:contain!important;
  object-position:center!important;
  transform:none!important;
  transition:none!important;
}
body.woocommerce-cart .wc-block-grid__product-title{
  min-height:42px!important;
  margin:12px 0 6px!important;
}
body.woocommerce-cart .wc-block-grid__product-price{margin-top:auto!important}
body.woocommerce-cart .wc-block-grid__product-add-to-cart{margin-top:10px!important}
@media(max-width:767px){
  body.woocommerce-cart .wc-block-grid__products{gap:10px!important}
  body.woocommerce-cart .wc-block-grid__product{padding:9px!important}
  body.woocommerce-cart .wc-block-grid__product-image,
  body.woocommerce-cart .wc-block-grid__product-image a{height:165px!important;min-height:165px!important;padding:5px!important}
  body.woocommerce-cart .wc-block-grid__product-title{font-size:13px!important;min-height:36px!important}
}

html.nsd-sidecart-open,html.nsd-sidecart-open body{overflow:hidden!important}
.nsd-sidecart-overlay{
  position:fixed;inset:0;background:rgba(0,0,0,.48);z-index:2147483000;
  opacity:0;visibility:hidden;transition:opacity .22s ease,visibility .22s ease;
}
.nsd-sidecart-overlay.is-open{opacity:1;visibility:visible}
.nsd-sidecart{
  position:fixed;z-index:2147483001;top:0;right:0;width:min(410px,94vw);height:100dvh;
  background:#fff;box-shadow:-18px 0 46px rgba(0,0,0,.24);transform:translate3d(105%,0,0);
  transition:transform .28s ease;display:flex;flex-direction:column;color:#172033;
}
.nsd-sidecart.is-open{transform:translate3d(0,0,0)}
.nsd-sidecart-head{height:72px;flex:0 0 72px;display:flex;align-items:center;justify-content:space-between;padding:0 20px;border-bottom:1px solid #e6e9ef}
.nsd-sidecart-title{display:flex;align-items:center;gap:9px;text-transform:uppercase;font-size:14px;color:#273043}
.nsd-sidecart-head-count{display:grid;place-items:center;min-width:20px;height:20px;padding:0 5px;border-radius:50%;background:#ff4747;color:#fff;font-size:11px;font-weight:800}
.nsd-sidecart-close{border:0;background:transparent;width:40px;height:40px;font-size:30px;line-height:1;cursor:pointer;color:#333}
.nsd-sidecart-body{flex:1;min-height:0;overflow:auto;padding:18px 20px 24px}
.nsd-sidecart .woocommerce-mini-cart{list-style:none;margin:0;padding:0}
.nsd-sidecart .woocommerce-mini-cart-item{position:relative;display:grid;grid-template-columns:78px 1fr;gap:12px;min-height:96px;padding:0 28px 16px 0;margin:0 0 16px;border-bottom:1px solid #edf0f4}
.nsd-sidecart .woocommerce-mini-cart-item a:not(.remove){font-weight:750;color:#14203b;line-height:1.35}
.nsd-sidecart .woocommerce-mini-cart-item img{float:none!important;width:78px!important;height:78px!important;margin:0!important;object-fit:contain!important;background:#f8f9fc;border-radius:9px}
.nsd-sidecart .woocommerce-mini-cart-item .remove{position:absolute;right:0;top:0;width:24px;height:24px;display:grid;place-items:center;border-radius:50%;font-size:20px;color:#c62828!important;background:#fff2f2!important}
.nsd-sidecart .quantity{display:block;margin-top:7px;font-size:13px;color:#68758b}
.nsd-sidecart .woocommerce-mini-cart__total{display:flex;justify-content:space-between;gap:16px;margin:18px 0 14px;padding:16px 0;border-top:1px solid #e6e9ef;border-bottom:1px solid #e6e9ef;font-weight:800;color:#071a46}
.nsd-sidecart .woocommerce-mini-cart__buttons{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:0}
.nsd-sidecart .woocommerce-mini-cart__buttons .button{display:flex!important;align-items:center;justify-content:center;min-height:46px!important;padding:10px!important;border-radius:24px!important;background:#1354c5!important;color:#fff!important;font-weight:800!important;text-align:center}
.nsd-sidecart .woocommerce-mini-cart__buttons .checkout{background:#ffad0a!important;color:#071a46!important}
.nsd-sidecart .woocommerce-mini-cart__empty-message{text-align:center;padding:145px 10px 20px;color:#3e4655;font-size:14px}
.nsd-sidecart .woocommerce-mini-cart__empty-message:before{content:'🛒';display:grid;place-items:center;width:72px;height:72px;margin:0 auto 22px;border-radius:50%;background:#f7f8fb;font-size:31px}
.nsd-sidecart .woocommerce-mini-cart__empty-message:after{content:none!important;display:none!important}
.nsd-sidecart .nsd-sidecart-continue{display:flex;align-items:center;justify-content:center;width:175px;height:42px;margin:28px auto 0;border-radius:22px;background:#1354c5;color:#fff!important;font-weight:800;text-decoration:none!important;cursor:pointer}
@media(max-width:600px){
  .nsd-sidecart{width:min(370px,96vw)}
  .nsd-sidecart-head{height:64px;flex-basis:64px;padding:0 15px}
  .nsd-sidecart-body{padding:14px 15px 20px}
  .nsd-sidecart .woocommerce-mini-cart__empty-message{padding-top:105px}
}

/* =========================================================
   NSD MART v98.47 — Empty-cart cards exactly like Home cards
   ========================================================= */
body.woocommerce-cart .wc-block-grid__products{
  min-height:0!important;
  opacity:1!important;
  visibility:visible!important;
  transform:none!important;
  transition:none!important;
  align-items:stretch!important;
}
body.woocommerce-cart .wc-block-grid__product{
  display:flex!important;
  flex-direction:column!important;
  min-height:520px!important;
  padding:12px!important;
  border:1px solid #e1e8f3!important;
  border-radius:18px!important;
  background:#fff!important;
  overflow:hidden!important;
}
body.woocommerce-cart .wc-block-grid__product-image,
body.woocommerce-cart .wc-block-grid__product-image > a,
body.woocommerce-cart .wc-block-grid__product-image a{
  width:100%!important;
  height:300px!important;
  min-height:300px!important;
  max-height:300px!important;
  margin:0!important;
  padding:0!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  overflow:hidden!important;
  background:#fff!important;
  border-radius:8px!important;
  contain:none!important;
}
body.woocommerce-cart .wc-block-grid__product-image img,
body.woocommerce-cart .wc-block-grid__product img,
body.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-grid__product img{
  display:block!important;
  width:100%!important;
  height:300px!important;
  min-height:300px!important;
  max-height:300px!important;
  max-width:100%!important;
  aspect-ratio:auto!important;
  object-fit:contain!important;
  object-position:center center!important;
  margin:0!important;
  padding:6px 6px 16px!important;
  box-sizing:border-box!important;
  background:#fff!important;
  border-radius:8px!important;
  transform:none!important;
  clip-path:none!important;
  transition:none!important;
  animation:none!important;
}
body.woocommerce-cart .wc-block-grid__product-title{
  display:-webkit-box!important;
  -webkit-box-orient:vertical!important;
  -webkit-line-clamp:2!important;
  overflow:hidden!important;
  min-height:42px!important;
  margin:3px 0 8px!important;
  color:#172033!important;
  font-size:15px!important;
  line-height:1.38!important;
  font-weight:800!important;
}
body.woocommerce-cart .wc-block-grid__product-price{
  margin:0 0 7px!important;
  color:#071a46!important;
  font-size:17px!important;
  font-weight:900!important;
}
body.woocommerce-cart .wc-block-grid__product-add-to-cart{
  margin-top:auto!important;
}
body.woocommerce-cart .wc-block-grid__product-add-to-cart .wp-block-button__link,
body.woocommerce-cart .wc-block-grid__product-add-to-cart a{
  width:100%!important;
  min-height:42px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  border-radius:8px!important;
  background:linear-gradient(135deg,#ffb20b,#ff9200)!important;
  color:#071a46!important;
  font-size:13px!important;
  font-weight:900!important;
}
@media(max-width:767px){
  body.woocommerce-cart .wc-block-grid__product{min-height:auto!important;padding:10px!important}
  body.woocommerce-cart .wc-block-grid__product-image,
  body.woocommerce-cart .wc-block-grid__product-image > a,
  body.woocommerce-cart .wc-block-grid__product-image a,
  body.woocommerce-cart .wc-block-grid__product-image img,
  body.woocommerce-cart .wc-block-grid__product img{
    height:235px!important;
    min-height:235px!important;
    max-height:235px!important;
  }
  body.woocommerce-cart .wc-block-grid__product-title{font-size:13px!important;min-height:36px!important}
  body.woocommerce-cart .wc-block-grid__product-price{font-size:15px!important}
}


/* =========================================================
   NSD MART v98.48 — Home-size empty-cart images + reliable mini cart
   ========================================================= */
body.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-grid__product,
body.woocommerce-cart .wc-block-cart__empty-cart .wc-block-grid__product{
  min-height:0!important;
  height:auto!important;
  padding:14px!important;
}
body.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-grid__product-image,
body.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-grid__product-image>a,
body.woocommerce-cart .wc-block-cart__empty-cart .wc-block-grid__product-image,
body.woocommerce-cart .wc-block-cart__empty-cart .wc-block-grid__product-image>a{
  width:100%!important;
  height:auto!important;
  min-height:0!important;
  max-height:none!important;
  aspect-ratio:1/1!important;
  padding:0!important;
  overflow:hidden!important;
  background:#fff!important;
}
body.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-grid__product-image img,
body.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-grid__product img,
body.woocommerce-cart .wc-block-cart__empty-cart .wc-block-grid__product-image img,
body.woocommerce-cart .wc-block-cart__empty-cart .wc-block-grid__product img{
  width:100%!important;
  height:100%!important;
  min-height:0!important;
  max-height:100%!important;
  padding:0!important;
  aspect-ratio:1/1!important;
  object-fit:contain!important;
  object-position:center!important;
}
body.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-grid__product-title,
body.woocommerce-cart .wc-block-cart__empty-cart .wc-block-grid__product-title{
  margin:10px 0 6px!important;
  min-height:42px!important;
}
body.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-grid__product-price,
body.woocommerce-cart .wc-block-cart__empty-cart .wc-block-grid__product-price{margin-top:auto!important}
.nsd-cart-action,.nsd-mobile-cart,.nsd-bottom-cart,[data-nsd-open-cart]{cursor:pointer}

/* =========================================================
   NSD MART v98.49 — Preserve full original image inside Home-style box
   ========================================================= */
body.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-grid__product-image,
body.woocommerce-cart .wc-block-cart__empty-cart .wc-block-grid__product-image{
  padding:10px!important;
  background:#f7f8fb!important;
  border-radius:10px!important;
}
body.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-grid__product-image>a,
body.woocommerce-cart .wc-block-cart__empty-cart .wc-block-grid__product-image>a{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:100%!important;
  height:100%!important;
}
body.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-grid__product-image img,
body.woocommerce-cart .wc-block-cart__empty-cart .wc-block-grid__product-image img{
  display:block!important;
  width:100%!important;
  height:100%!important;
  object-fit:contain!important;
  object-position:center!important;
  background:#fff!important;
  border-radius:7px!important;
}

/* =========================================================
   NSD MART v98.50 — Never show a cropped frame while Blocks rebuilds cart
   ========================================================= */
body.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-grid__product-image,
body.woocommerce-cart .wc-block-cart__empty-cart .wc-block-grid__product-image{
  aspect-ratio:1/1!important;
  overflow:hidden!important;
}
body.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-grid__product-image img,
body.woocommerce-cart .wc-block-cart__empty-cart .wc-block-grid__product-image img{
  width:100%!important;
  height:100%!important;
  max-width:100%!important;
  max-height:100%!important;
  object-fit:contain!important;
  object-position:center center!important;
  transform:none!important;
}

/* =========================================================
   NSD MART v98.51 — Mini-cart title layout repair
   WooCommerce wraps product image + title inside one link.
   Make that link a two-column row so long titles do not become vertical.
   ========================================================= */
.nsd-sidecart .woocommerce-mini-cart-item{
  display:block!important;
  min-height:96px!important;
  padding:0 30px 16px 0!important;
}
.nsd-sidecart .woocommerce-mini-cart-item>a:not(.remove){
  display:grid!important;
  grid-template-columns:78px minmax(0,1fr)!important;
  align-items:start!important;
  column-gap:12px!important;
  width:100%!important;
  min-width:0!important;
  font-weight:750!important;
  line-height:1.32!important;
  color:#14203b!important;
  text-decoration:none!important;
  white-space:normal!important;
  overflow-wrap:break-word!important;
  word-break:normal!important;
}
.nsd-sidecart .woocommerce-mini-cart-item>a:not(.remove) img{
  grid-column:1!important;
  grid-row:1 / span 2!important;
}
.nsd-sidecart .woocommerce-mini-cart-item .quantity{
  display:block!important;
  margin:7px 0 0 90px!important;
  width:calc(100% - 90px)!important;
  min-width:0!important;
}
@media(max-width:600px){
  .nsd-sidecart .woocommerce-mini-cart-item>a:not(.remove){
    grid-template-columns:68px minmax(0,1fr)!important;
    column-gap:10px!important;
    font-size:13px!important;
  }
  .nsd-sidecart .woocommerce-mini-cart-item img{
    width:68px!important;
    height:68px!important;
  }
  .nsd-sidecart .woocommerce-mini-cart-item .quantity{
    margin-left:78px!important;
    width:calc(100% - 78px)!important;
  }
}

/* NSD MART V98.52 — Business Information */
.nsd-business-info{margin:28px 0 0;padding:22px 24px;border:1px solid #e4e8f0;border-radius:14px;background:#fff;box-shadow:0 8px 24px rgba(7,26,70,.06)}
.nsd-business-info h2{margin:0 0 16px;font-size:22px;color:var(--nsd-blue)}
.nsd-business-info-rows{display:grid;gap:10px}
.nsd-business-info-rows>div{display:grid;grid-template-columns:minmax(160px,220px) 1fr;gap:18px;padding:9px 0;border-bottom:1px dashed #e5e8ee}
.nsd-business-info-rows>div:last-child{border-bottom:0}
.nsd-business-info-rows span{color:#596275;font-weight:600}
.nsd-business-info-rows strong{color:#172033;overflow-wrap:anywhere}
.nsd-business-info-rows a{color:#0c4fb8;text-decoration:underline;text-underline-offset:2px}
.nsd-business-info--footer{width:min(1420px,94%);margin:0 auto 18px;background:rgba(255,255,255,.06);border-color:rgba(255,255,255,.16);box-shadow:none;color:#fff}
.nsd-business-info--footer h2,.nsd-business-info--footer strong,.nsd-business-info--footer a{color:#fff}
.nsd-business-info--footer span{color:#d6def0}
.nsd-business-info--footer .nsd-business-info-rows>div{border-color:rgba(255,255,255,.14)}
@media(max-width:640px){.nsd-business-info{padding:18px}.nsd-business-info-rows>div{grid-template-columns:1fr;gap:4px}}

/* V98.58 Smart Slider hard render */
#nsd-home-smart-slider{display:block!important;visibility:visible!important;opacity:1!important;min-height:1px;margin:0 0 28px}
.nsd-slider-diagnostic{padding:12px 16px;margin:0 0 12px;background:#fff3cd;border:1px solid #ffda6a;color:#664d03;font-weight:700}

/* V98.60 — editable NSD Slider shortcode on homepage */
#nsd-home-custom-slider{display:block!important;visibility:visible!important;opacity:1!important;min-height:1px;margin:0 0 28px;width:100%}
#nsd-home-custom-slider.nsd-smart-slider-full{max-width:none}
#nsd-home-custom-slider.nsd-smart-slider-contained{overflow:hidden}
#nsd-home-custom-slider img{max-width:100%;height:auto}


/* =========================================================
   NSD MART v98.62 — Elementor homepage and NSD slider true full width
   Full width is handled by the theme; no manual Additional CSS required.
   ========================================================= */
body.home .nsd-elementor-home,
body.home .nsd-elementor-home > .elementor,
body.home .nsd-elementor-home .elementor-page,
body.home .nsd-elementor-home .elementor-section-wrap{
  width:100%!important;
  max-width:none!important;
  margin-left:0!important;
  margin-right:0!important;
  padding-left:0!important;
  padding-right:0!important;
}
body.home .nsd-elementor-home .e-con.e-parent,
body.home .nsd-elementor-home .elementor-top-section,
body.home .nsd-elementor-home .elementor-section.elementor-section-boxed > .elementor-container,
body.home .nsd-elementor-home .elementor-container{
  width:100%!important;
  max-width:none!important;
  margin-left:0!important;
  margin-right:0!important;
  padding-left:0!important;
  padding-right:0!important;
}
body.home .nsd-elementor-home .elementor-widget-shortcode,
body.home .nsd-elementor-home .elementor-widget-shortcode > .elementor-widget-container,
body.home .nsd-elementor-home .elementor-shortcode,
body.home .nsd-elementor-home .nsd-slider,
body.home .nsd-elementor-home [class*="nsd-slider"],
body.home .nsd-elementor-home [id*="nsd-slider"]{
  width:100%!important;
  max-width:none!important;
  margin-left:0!important;
  margin-right:0!important;
}
body.home .nsd-elementor-home .elementor-widget-shortcode img,
body.home .nsd-elementor-home .elementor-widget-shortcode picture,
body.home .nsd-elementor-home .elementor-widget-shortcode picture img{
  width:100%!important;
  max-width:100%!important;
  height:auto!important;
  display:block!important;
}


/* =========================================================
   NSD MART v98.63 — real viewport-width NSD homepage slider
   The slider breaks out of Elementor/theme boxed containers automatically.
   ========================================================= */
body.home{
  overflow-x:clip;
}
body.home .nsd-elementor-home .elementor-widget-shortcode{
  position:relative!important;
  left:50%!important;
  width:100vw!important;
  max-width:100vw!important;
  margin-left:-50vw!important;
  margin-right:-50vw!important;
  padding-left:0!important;
  padding-right:0!important;
}
body.home .nsd-elementor-home .elementor-widget-shortcode > .elementor-widget-container,
body.home .nsd-elementor-home .elementor-widget-shortcode .elementor-shortcode,
body.home .nsd-elementor-home .elementor-widget-shortcode .elementor-shortcode > *,
body.home .nsd-elementor-home .elementor-widget-shortcode #nsd-home-custom-slider,
body.home .nsd-elementor-home .elementor-widget-shortcode [class*="nsd-slider"]{
  width:100%!important;
  max-width:none!important;
  margin-left:0!important;
  margin-right:0!important;
  padding-left:0!important;
  padding-right:0!important;
}
body.home .nsd-elementor-home .elementor-widget-shortcode img,
body.home .nsd-elementor-home .elementor-widget-shortcode picture,
body.home .nsd-elementor-home .elementor-widget-shortcode picture img{
  width:100%!important;
  max-width:none!important;
  height:auto!important;
  display:block!important;
}
@supports not (overflow:clip){
  body.home{overflow-x:hidden;}
}

/* =========================================================
 * NSD MART V98.64 — consistent single-product buying controls
 * and mobile Quick View full-image layout.
 * ========================================================= */
@media (min-width: 901px){
  .nsd-single-product-page div.product .summary{
    display:flex;
    flex-direction:column;
  }
  .nsd-single-product-page .product_title{
    min-height:78px;
    display:-webkit-box;
    -webkit-box-orient:vertical;
    -webkit-line-clamp:2;
    overflow:hidden;
  }
  .nsd-single-product-page .woocommerce-product-details__short-description{
    min-height:154px;
    max-height:154px;
    overflow:hidden;
    position:relative;
  }
  .nsd-single-product-page .woocommerce-product-details__short-description::after{
    content:"";
    position:absolute;
    left:0;right:0;bottom:0;
    height:34px;
    pointer-events:none;
    background:linear-gradient(to bottom,rgba(255,255,255,0),#fff 88%);
  }
  .nsd-single-product-page .woocommerce-product-details__short-description.nsd-description-expanded{
    max-height:none;
  }
  .nsd-single-product-page .woocommerce-product-details__short-description.nsd-description-expanded::after{
    display:none;
  }
  .nsd-single-product-page .nsd-description-toggle{
    align-self:flex-start;
    margin:-2px 0 6px;
    padding:0;
    border:0;
    background:transparent;
    color:#0c2e72;
    font-weight:800;
    cursor:pointer;
  }
  .nsd-single-product-page form.cart{
    margin-top:12px!important;
  }
}

body.nsd-qv-open{overflow:hidden!important;touch-action:none}
#nsd-qv-modal .nsd-modal-box{overscroll-behavior:contain}
#nsd-qv-modal .nsd-v25-qv-image{
  display:flex;
  align-items:center;
  justify-content:center;
  min-width:0;
  background:#fff;
  border-radius:12px;
}
#nsd-qv-modal .nsd-v25-qv-image img{
  display:block;
  width:100%!important;
  height:auto!important;
  max-height:520px;
  object-fit:contain!important;
  object-position:center!important;
}

@media (max-width:680px){
  #nsd-qv-modal{
    align-items:stretch!important;
    justify-content:center!important;
    padding:8px!important;
  }
  #nsd-qv-modal .nsd-modal-box{
    width:100%!important;
    max-width:100%!important;
    height:calc(100dvh - 16px)!important;
    max-height:calc(100dvh - 16px)!important;
    margin:0!important;
    padding:52px 14px 20px!important;
    border-radius:16px!important;
    overflow-y:auto!important;
    overflow-x:hidden!important;
    -webkit-overflow-scrolling:touch;
  }
  #nsd-qv-modal .nsd-modal-close{
    position:fixed!important;
    top:18px!important;
    right:20px!important;
    z-index:1000002!important;
    width:40px!important;
    height:40px!important;
    display:grid!important;
    place-items:center!important;
    border-radius:50%!important;
    background:#fff!important;
    box-shadow:0 4px 16px rgba(0,0,0,.2)!important;
    line-height:1!important;
  }
  #nsd-qv-modal .nsd-v25-qv-grid{
    display:flex!important;
    flex-direction:column!important;
    gap:16px!important;
    width:100%!important;
  }
  #nsd-qv-modal .nsd-v25-qv-image{
    width:100%!important;
    min-height:280px!important;
    max-height:48vh!important;
    padding:8px!important;
    border:1px solid #e6e9ef;
  }
  #nsd-qv-modal .nsd-v25-qv-image img{
    width:100%!important;
    height:100%!important;
    max-height:46vh!important;
    object-fit:contain!important;
    object-position:center!important;
    border-radius:10px!important;
  }
  #nsd-qv-modal .nsd-v25-qv-info{
    width:100%!important;
    min-width:0!important;
  }
  #nsd-qv-modal .nsd-v25-qv-info h2{
    margin:0 0 8px!important;
    font-size:24px!important;
    line-height:1.25!important;
    display:-webkit-box;
    -webkit-box-orient:vertical;
    -webkit-line-clamp:3;
    overflow:hidden;
  }
  #nsd-qv-modal .nsd-v25-qv-info .price{
    margin:8px 0 12px!important;
    font-size:23px!important;
  }
  #nsd-qv-modal .nsd-v25-qv-desc{
    max-height:108px;
    overflow:auto;
    margin-bottom:14px!important;
    padding-right:4px;
    line-height:1.5;
  }
  #nsd-qv-modal .nsd-v25-qv-info .button{
    width:100%!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    min-height:48px!important;
    margin:0 0 10px!important;
  }
}

/* =========================================================
 * NSD MART V98.65 — checkout checkbox ratio + compact mobile Quick View
 * ========================================================= */
/* WooCommerce Checkout Block: prevent the create-account checkbox becoming tall. */
body.woocommerce-checkout .wc-block-components-checkbox,
body.woocommerce-checkout .wc-block-checkout__create-account{
  align-items:center!important;
}
body.woocommerce-checkout input[type="checkbox"],
body.woocommerce-checkout .wc-block-components-checkbox__input,
body.woocommerce-checkout .wc-block-checkout__create-account input[type="checkbox"]{
  box-sizing:border-box!important;
  inline-size:22px!important;
  block-size:22px!important;
  width:22px!important;
  height:22px!important;
  min-inline-size:22px!important;
  min-block-size:22px!important;
  min-width:22px!important;
  min-height:22px!important;
  max-width:22px!important;
  max-height:22px!important;
  aspect-ratio:1 / 1!important;
  padding:0!important;
  margin:0 10px 0 0!important;
  border-radius:5px!important;
  line-height:1!important;
  flex:0 0 22px!important;
  vertical-align:middle!important;
  transform:none!important;
}
body.woocommerce-checkout .wc-block-components-checkbox__mark{
  width:14px!important;
  height:14px!important;
  inset:4px auto auto 4px!important;
}

/* The site's mobile layout remains active up to tablet width, so Quick View must too. */
@media (max-width:900px){
  body.nsd-qv-open{
    overflow:hidden!important;
    position:fixed!important;
    width:100%!important;
  }
  #nsd-qv-modal{
    align-items:center!important;
    justify-content:center!important;
    padding:8px!important;
  }
  #nsd-qv-modal .nsd-modal-box{
    width:min(96vw,680px)!important;
    max-width:min(96vw,680px)!important;
    height:auto!important;
    max-height:calc(100dvh - 16px)!important;
    margin:0!important;
    padding:48px 14px 16px!important;
    border-radius:16px!important;
    overflow-y:auto!important;
    overflow-x:hidden!important;
    -webkit-overflow-scrolling:touch!important;
  }
  #nsd-qv-modal .nsd-modal-close{
    position:absolute!important;
    top:8px!important;
    right:10px!important;
    z-index:20!important;
    width:36px!important;
    height:36px!important;
    padding:0!important;
    display:grid!important;
    place-items:center!important;
    border-radius:50%!important;
    background:#fff!important;
    box-shadow:0 3px 12px rgba(0,0,0,.18)!important;
    font-size:28px!important;
    line-height:1!important;
  }
  #nsd-qv-modal .nsd-v25-qv-grid,
  #nsd-qv-modal .nsd-qv-grid{
    display:flex!important;
    flex-direction:column!important;
    gap:12px!important;
    width:100%!important;
    align-items:stretch!important;
  }
  #nsd-qv-modal .nsd-v25-qv-image,
  #nsd-qv-modal .nsd-qv-grid > div:first-child{
    width:100%!important;
    height:clamp(220px,36dvh,330px)!important;
    min-height:0!important;
    max-height:330px!important;
    padding:6px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    overflow:hidden!important;
    border:1px solid #e6e9ef!important;
    border-radius:12px!important;
    background:#fff!important;
  }
  #nsd-qv-modal .nsd-v25-qv-image img,
  #nsd-qv-modal .nsd-qv-grid > div:first-child img{
    width:100%!important;
    height:100%!important;
    max-width:100%!important;
    max-height:100%!important;
    object-fit:contain!important;
    object-position:center!important;
    border-radius:8px!important;
  }
  #nsd-qv-modal .nsd-v25-qv-info,
  #nsd-qv-modal .nsd-qv-grid > div:last-child{
    width:100%!important;
    min-width:0!important;
  }
  #nsd-qv-modal .nsd-v25-qv-info h2,
  #nsd-qv-modal .nsd-qv-grid h2{
    margin:0 0 6px!important;
    font-size:clamp(21px,5vw,27px)!important;
    line-height:1.22!important;
    display:-webkit-box!important;
    -webkit-box-orient:vertical!important;
    -webkit-line-clamp:2!important;
    overflow:hidden!important;
  }
  #nsd-qv-modal .price{
    margin:4px 0 8px!important;
    font-size:22px!important;
    line-height:1.25!important;
  }
  #nsd-qv-modal .nsd-v25-qv-desc,
  #nsd-qv-modal .nsd-qv-desc{
    display:-webkit-box!important;
    -webkit-box-orient:vertical!important;
    -webkit-line-clamp:4!important;
    max-height:6em!important;
    overflow:hidden!important;
    margin:0 0 12px!important;
    padding:0!important;
    font-size:15px!important;
    line-height:1.5!important;
  }
  #nsd-qv-modal .nsd-v25-qv-desc p,
  #nsd-qv-modal .nsd-qv-desc p{
    margin:0!important;
  }
  #nsd-qv-modal .button{
    width:100%!important;
    min-height:46px!important;
    margin:0 0 8px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
  }
}
\n\n/* =========================================================\n   NSD MART V98.66 — One-click Performance Modes\n   ========================================================= */\nbody.nsd-performance-ultra *,\nbody.nsd-performance-ultra *::before,\nbody.nsd-performance-ultra *::after{\n  animation-duration:.01ms!important;\n  animation-iteration-count:1!important;\n  scroll-behavior:auto!important;\n}\nbody.nsd-performance-ultra .product-card,\nbody.nsd-performance-ultra .nsd-product-card,\nbody.nsd-performance-ultra .button,\nbody.nsd-performance-ultra button,\nbody.nsd-performance-ultra a{\n  transition-duration:.08s!important;\n}\nbody.nsd-performance-balanced .product-card,\nbody.nsd-performance-balanced .nsd-product-card,\nbody.nsd-performance-balanced .button,\nbody.nsd-performance-balanced button{\n  transition-timing-function:cubic-bezier(.22,1,.36,1);\n}\nbody.nsd-performance-premium .product-card,\nbody.nsd-performance-premium .nsd-product-card,\nbody.nsd-performance-premium li.product{\n  transition:transform .38s cubic-bezier(.22,1,.36,1),box-shadow .38s ease!important;\n}\n@media (hover:hover){\n  body.nsd-performance-premium .product-card:hover,\n  body.nsd-performance-premium .nsd-product-card:hover,\n  body.nsd-performance-premium li.product:hover{\n    transform:translateY(-5px);\n  }\n  body.nsd-performance-premium .button:hover,\n  body.nsd-performance-premium button:hover{\n    transform:translateY(-1px);\n  }\n}\n@media (prefers-reduced-motion:reduce){\n  body.nsd-performance-premium *,body.nsd-performance-balanced *{animation-duration:.01ms!important;animation-iteration-count:1!important;scroll-behavior:auto!important}\n}\n


/* =========================================================
   NSD MART V98.71 — Premium Stable Shop Sidebar
   ========================================================= */
.nsd-shop-shell{grid-template-columns:320px minmax(0,1fr)!important;gap:26px!important;align-items:start}
.nsd-v9870-sidebar{padding:0!important;background:transparent!important;border:0!important;position:sticky;top:145px;max-height:calc(100vh - 165px);overflow:auto;scrollbar-width:thin}
.nsd71-filter-card,.nsd71-products-card{background:#fff;border:1px solid #dfe6f1;border-radius:18px;box-shadow:0 10px 30px rgba(5,26,70,.07);overflow:hidden;margin-bottom:18px}
.nsd71-filter-head{display:flex;align-items:center;justify-content:space-between;gap:12px;background:linear-gradient(135deg,#09245e,#194da9);color:#fff;padding:18px}
.nsd71-filter-head strong{display:block;font-size:21px;line-height:1.05}.nsd71-filter-head small{display:block;font-size:10px;letter-spacing:1.5px;text-transform:uppercase;opacity:.82;margin-bottom:4px}.nsd71-head-actions{display:flex;align-items:center;gap:8px}.nsd71-head-actions a{color:#fff!important;font-size:12px;font-weight:800;padding:7px 9px;border:1px solid rgba(255,255,255,.45);border-radius:8px}.nsd71-close{display:none;width:34px;height:34px;border:0;border-radius:50%;background:#fff;color:#08245f;font-size:24px;line-height:1}
.nsd71-filter-form{padding:14px}.nsd71-search{display:grid;grid-template-columns:1fr 44px;margin-bottom:12px}.nsd71-search input{height:44px;border:1px solid #d6deeb;border-right:0;border-radius:11px 0 0 11px;padding:0 12px;font-size:14px;min-width:0}.nsd71-search button{border:0;border-radius:0 11px 11px 0;background:#09245e;color:#fff;font-size:25px;cursor:pointer}
.nsd71-section{border-top:1px solid #e8edf4}.nsd71-section-title{width:100%;border:0;background:#fff;display:flex;align-items:center;justify-content:space-between;padding:14px 2px 12px;font-weight:900;color:#071a46;cursor:pointer;text-align:left}.nsd71-section-title b{transition:.2s}.nsd71-section:not(.is-open) .nsd71-section-title b{transform:rotate(180deg)}.nsd71-section-body{padding:0 2px 13px}.nsd71-section:not(.is-open) .nsd71-section-body{display:none}
.nsd71-option,.nsd71-radio{display:grid;grid-template-columns:19px minmax(0,1fr) auto;align-items:center;gap:9px;min-height:31px;font-size:13px;color:#15213b;cursor:pointer}.nsd71-radio{grid-template-columns:19px auto 1fr}.nsd71-child{padding-left:17px}.nsd71-option input,.nsd71-radio input{width:17px;height:17px;margin:0;accent-color:#ffad0a}.nsd71-option em{font-style:normal;font-size:11px;color:#8a95a8}.nsd71-stars{color:#ffad0a;letter-spacing:1px}.nsd71-price-values{display:flex;justify-content:space-between;color:#071a46;margin-bottom:9px}.nsd71-range-wrap{height:32px;position:relative}.nsd71-range-track{--from:0%;--to:100%;position:absolute;left:4px;right:4px;top:14px;height:5px;border-radius:10px;background:linear-gradient(to right,#dbe2ed 0 var(--from),#ffad0a var(--from) var(--to),#dbe2ed var(--to) 100%)}.nsd71-range{position:absolute;left:0;top:4px;width:100%;height:24px;background:transparent;pointer-events:none;appearance:none}.nsd71-range::-webkit-slider-thumb{appearance:none;width:18px;height:18px;border-radius:50%;background:#ffad0a;border:3px solid #fff;box-shadow:0 1px 7px rgba(0,0,0,.25);pointer-events:auto;cursor:pointer}.nsd71-range::-moz-range-thumb{width:14px;height:14px;border-radius:50%;background:#ffad0a;border:3px solid #fff;box-shadow:0 1px 7px rgba(0,0,0,.25);pointer-events:auto;cursor:pointer}.nsd71-price-inputs{display:grid;grid-template-columns:1fr 1fr;gap:9px}.nsd71-price-inputs label{font-size:11px;color:#68758b}.nsd71-price-inputs input{width:100%;height:36px;border:1px solid #d7deea;border-radius:8px;margin-top:4px;padding:0 8px}
.nsd71-actions{position:sticky;bottom:0;background:#fff;display:grid;grid-template-columns:1fr auto;gap:9px;padding-top:14px;border-top:1px solid #e8edf4}.nsd71-apply,.nsd71-clear{height:44px;border-radius:10px;display:flex;align-items:center;justify-content:center;font-weight:900;font-size:13px}.nsd71-apply{border:0;background:#ffad0a;color:#071a46;cursor:pointer}.nsd71-clear{border:1px solid #09245e;color:#09245e!important;padding:0 16px}
.nsd71-products-card h3{margin:0;padding:15px 16px;border-bottom:1px solid #e6ebf3;font-size:17px;color:#071a46}.nsd71-mini-product{display:grid;grid-template-columns:68px 1fr;gap:10px;padding:11px 14px;border-bottom:1px solid #edf1f6;align-items:center}.nsd71-mini-product:last-child{border-bottom:0}.nsd71-mini-product img{width:68px;height:68px;object-fit:contain;border:1px solid #e4e8ef;border-radius:9px;background:#fff}.nsd71-mini-product strong{font-size:12px;line-height:1.35;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;margin-bottom:5px}.nsd71-mini-price{font-size:13px;font-weight:900;color:#071a46}
.nsd71-active-chips{display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin:0 0 14px;padding:10px 12px;background:#fff;border:1px solid #e1e7f0;border-radius:12px;font-size:12px}.nsd71-active-chips strong{color:#071a46}.nsd71-active-chips span{padding:5px 8px;background:#eef4ff;color:#123b83;border-radius:999px;font-weight:700}.nsd71-active-chips a{margin-left:auto;color:#b42318!important;font-weight:800}
@media(max-width:1100px){.nsd-shop-shell{grid-template-columns:280px minmax(0,1fr)!important;gap:18px!important}.nsd-v9870-sidebar{top:130px}}
@media(max-width:780px){
 .nsd-shop-shell{grid-template-columns:1fr!important}.nsd-v9870-sidebar{display:none!important;position:fixed;inset:0 0 0 auto;width:min(370px,94vw);max-height:100dvh;top:0;z-index:100050;background:#f5f7fb!important;padding:14px!important;overflow:auto;box-shadow:-20px 0 60px rgba(0,0,0,.25)}
 body.nsd71-filter-open .nsd-v9870-sidebar{display:block!important}.nsd71-close{display:inline-grid;place-items:center}.nsd-shop-title-filter{display:inline-flex!important}body.nsd71-filter-open{overflow:hidden}body.nsd71-filter-open:before{content:"";position:fixed;inset:0;background:rgba(3,12,31,.58);z-index:100040}.nsd71-filter-card{border-radius:14px}.nsd71-products-card{display:none}.nsd71-active-chips{margin-top:8px}.nsd71-active-chips a{margin-left:0}
}

/* V98.72 Branding and menu manager */
.nsd-custom-brand-logo{display:block;object-fit:contain}.nsd-logo .custom-logo-link{display:block}.nsd-logo .custom-logo{max-height:70px;width:auto}.nsd-footer .nsd-custom-brand-logo{max-height:90px}.nsd-footer-wp-menu.menu{display:block}.nsd-footer-wp-menu li{margin:0 0 10px}.nsd-footer-wp-menu a{color:#d6def0;text-decoration:none}.nsd-footer-wp-menu a:hover{color:#fff}
@media(max-width:767px){.nsd-custom-brand-logo-header{display:none}.nsd-custom-brand-logo-mobile{display:block;max-height:64px}.nsd-logo{max-width:70%}}

/* V98.74 — Dynamic footer menu SVG icon library */
.nsd-footer-wp-menu a{
  display:flex!important;
  align-items:center!important;
  gap:10px!important;
  width:fit-content;
  min-height:24px;
  transition:color .2s ease,transform .2s ease!important;
}
.nsd-auto-menu-icon{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  flex:0 0 18px;
  width:18px;
  height:18px;
  color:var(--nsd-orange,#ffad0a);
  transition:transform .2s ease,color .2s ease;
}
.nsd-auto-menu-icon svg{
  display:block;
  width:17px;
  height:17px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.8;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.nsd-auto-menu-label{display:inline-block;line-height:1.35}
.nsd-footer-wp-menu a:hover .nsd-auto-menu-icon,
.nsd-footer-wp-menu a:focus-visible .nsd-auto-menu-icon{
  transform:translateX(2px) scale(1.08);
  color:#fff;
}
.nsd-footer-wp-menu .sub-menu{
  list-style:none;
  margin:7px 0 0 27px;
  padding:0;
}
.nsd-footer-wp-menu .sub-menu a{font-size:13px;opacity:.92}
@media(max-width:700px){
  .nsd-auto-menu-icon{flex-basis:16px;width:16px;height:16px}
  .nsd-auto-menu-icon svg{width:15px;height:15px}
}

/* V98.76 — Icons for all dynamic footer columns */
.nsd-footer .nsd-footer-wp-menu li > a{display:flex!important;align-items:center!important;gap:10px!important}
.nsd-footer .nsd-footer-wp-menu .nsd-auto-menu-icon{visibility:visible!important;opacity:1!important}


/* =========================================================
   NSD MART V98.77 — Clean WP header menu + premium pages
   ========================================================= */
/* WordPress menu reset: remove browser bullets and keep the row clean. */
.nsd-menu > ul,
.nsd-menu .menu,
.nsd-menu ul.menu{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:20px!important;
  flex-wrap:nowrap!important;
  list-style:none!important;
  margin:0!important;
  padding:0!important;
  width:100%!important;
}
.nsd-menu > ul > li,
.nsd-menu .menu > li,
.nsd-menu ul.menu > li{
  list-style:none!important;
  margin:0!important;
  padding:0!important;
  position:relative!important;
  flex:0 0 auto!important;
}
.nsd-menu li::marker{content:""!important;font-size:0!important}
.nsd-menu > ul > li::before,
.nsd-menu .menu > li::before{content:none!important;display:none!important}
.nsd-menu > ul > li > a,
.nsd-menu .menu > li > a{
  color:#fff!important;
  white-space:nowrap!important;
  text-align:center!important;
  line-height:1.15!important;
  min-height:46px!important;
  padding:0 8px!important;
  border-radius:7px!important;
}
.nsd-menu > ul > li > a:hover,
.nsd-menu > ul > li > a:focus-visible,
.nsd-menu .menu > li > a:hover,
.nsd-menu .menu > li > a:focus-visible{
  color:var(--nsd-orange)!important;
  background:#06183f!important;
}
/* Current/opened page: dark premium pill with gold text and underline. */
.nsd-menu .current-menu-item > a,
.nsd-menu .current_page_item > a,
.nsd-menu .current-menu-ancestor > a,
.nsd-menu a.is-current-nav{
  background:#031235!important;
  color:var(--nsd-orange)!important;
  box-shadow:inset 0 -3px 0 var(--nsd-orange)!important;
  border-radius:7px!important;
  font-weight:900!important;
  padding-left:12px!important;
  padding-right:12px!important;
}
.nsd-menu .current-menu-item > a::after,
.nsd-menu .current_page_item > a::after,
.nsd-menu .current-menu-ancestor > a::after,
.nsd-menu a.is-current-nav::after{display:none!important}

/* Premium standard pages: readable light canvas with a dark title band. */
.nsd-standard-page-wrap{
  background:#f5f7fb;
  padding:30px 0 54px;
  min-height:420px;
}
.nsd-page-breadcrumb{
  font-size:13px;
  color:#63708a;
  margin:0 0 14px;
}
.nsd-page-breadcrumb a{color:#163d82;font-weight:700}
.nsd-page-title-band{
  background:linear-gradient(135deg,#06183f,#0b2f76);
  color:#fff;
  border-radius:16px 16px 0 0;
  padding:24px 30px;
  box-shadow:0 12px 34px rgba(5,26,70,.12);
}
.nsd-page-title-band h1{margin:0!important;color:#fff!important;font-size:clamp(28px,3vw,40px);line-height:1.15}
.nsd-page-content-card{
  background:#fff;
  border:1px solid #e0e6f0;
  border-top:0;
  border-radius:0 0 16px 16px;
  box-shadow:0 12px 34px rgba(5,26,70,.08);
  padding:32px;
  font-size:16px;
  line-height:1.75;
}
.nsd-page-content-card > :first-child{margin-top:0}
.nsd-page-content-card h2,.nsd-page-content-card h3,.nsd-page-content-card h4{color:#071a46;line-height:1.25}
.nsd-page-content-card h2{font-size:28px;border-bottom:1px solid #e2e7ef;padding-bottom:10px;margin-top:32px}
.nsd-page-content-card a{color:#0b55b7;text-decoration:underline;text-underline-offset:2px}
.nsd-page-content-card ul,.nsd-page-content-card ol{padding-left:24px}
.nsd-page-content-card hr{border:0;border-top:1px solid #dfe5ee;margin:30px 0}
@media(max-width:1180px) and (min-width:768px){
  .nsd-menu > ul,.nsd-menu .menu{gap:9px!important}
  .nsd-menu > ul > li > a,.nsd-menu .menu > li > a{font-size:12px!important;padding-left:5px!important;padding-right:5px!important}
}
@media(max-width:767px){
  .nsd-menu > ul,.nsd-menu .menu,.nsd-menu ul.menu{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:0!important;width:100%!important}
  .nsd-menu > ul > li,.nsd-menu .menu > li{width:100%!important}
  .nsd-menu > ul > li > a,.nsd-menu .menu > li > a{color:#071a46!important;justify-content:flex-start!important;text-align:left!important;white-space:normal!important;border-radius:8px!important}
  .nsd-menu .current-menu-item > a,.nsd-menu .current_page_item > a,.nsd-menu .current-menu-ancestor > a,.nsd-menu a.is-current-nav{background:#071a46!important;color:#ffad0a!important;box-shadow:none!important}
  .nsd-standard-page-wrap{padding:18px 0 34px}
  .nsd-page-title-band{padding:20px;border-radius:12px 12px 0 0}
  .nsd-page-content-card{padding:22px 18px;border-radius:0 0 12px 12px;font-size:15px}
}


/* =========================================================
   NSD MART V98.78 — Exactly one active header menu item
   ========================================================= */
/* First neutralise every legacy/manual/current state. JS adds
   .nsd-single-current only to the one best matching item. */
@media (min-width:768px){
  .nsd-menu .menu > li > a,
  .nsd-menu > ul > li > a,
  .nsd-menu li.current-menu-item > a,
  .nsd-menu li.current_page_item > a,
  .nsd-menu li.current-menu-ancestor > a,
  .nsd-menu li.current_page_parent > a,
  .nsd-menu a.is-current-nav{
    background:transparent!important;
    color:#fff!important;
    box-shadow:none!important;
    border-bottom:3px solid transparent!important;
    border-radius:7px!important;
    font-weight:800!important;
  }
  .nsd-menu li.nsd-single-current > a{
    background:#031235!important;
    color:var(--nsd-orange,#ffad0a)!important;
    box-shadow:inset 0 -3px 0 var(--nsd-orange,#ffad0a)!important;
    border-bottom-color:var(--nsd-orange,#ffad0a)!important;
    font-weight:900!important;
  }
  .nsd-menu .menu > li > a:hover,
  .nsd-menu > ul > li > a:hover,
  .nsd-menu .menu > li > a:focus-visible,
  .nsd-menu > ul > li > a:focus-visible{
    background:#06183f!important;
    color:var(--nsd-orange,#ffad0a)!important;
  }
}
@media (max-width:767px){
  .nsd-menu li.current-menu-item > a,
  .nsd-menu li.current_page_item > a,
  .nsd-menu li.current-menu-ancestor > a,
  .nsd-menu li.current_page_parent > a,
  .nsd-menu a.is-current-nav{
    background:transparent!important;
    color:#071a46!important;
    box-shadow:none!important;
  }
  .nsd-menu li.nsd-single-current > a{
    background:#071a46!important;
    color:#ffad0a!important;
  }
}


/* =========================================================
   NSD MART V98.79 — anchor sections + seller colour correction
   ========================================================= */
@media (min-width:768px){
  /* Legacy seller emphasis must not look active on every page. */
  .nsd-menu a[href*="/seller-registration/"],
  .nsd-menu a[href*="/become-a-seller/"]{
    background:transparent!important;
    color:#fff!important;
    box-shadow:none!important;
    border-bottom-color:transparent!important;
  }
  .nsd-menu li.nsd-single-current > a[href*="/seller-registration/"],
  .nsd-menu li.nsd-single-current > a[href*="/become-a-seller/"]{
    background:#031235!important;
    color:var(--nsd-orange,#ffad0a)!important;
    box-shadow:inset 0 -3px 0 var(--nsd-orange,#ffad0a)!important;
    border-bottom-color:var(--nsd-orange,#ffad0a)!important;
  }
}

/* =========================================================
   NSD MART V98.80 — Product description image size preservation
   - respects image width chosen in the WordPress editor
   - prevents theme-wide width:100% rules from enlarging small images
   - keeps images responsive on small screens
   ========================================================= */
.nsd-single-product-page .woocommerce-product-details__short-description img,
.nsd-single-product-page .woocommerce-Tabs-panel img,
.single-product .woocommerce-product-details__short-description img,
.single-product .woocommerce-Tabs-panel img{
  max-width:100%!important;
  height:auto!important;
  object-fit:contain;
}

/* Do not force editor-sized images to the old 145px/170px limits. */
.nsd-single-product-page .woocommerce-product-details__short-description img.alignleft,
.nsd-single-product-page .woocommerce-product-details__short-description img.alignright,
.nsd-single-product-page .woocommerce-Tabs-panel img.alignleft,
.nsd-single-product-page .woocommerce-Tabs-panel img.alignright,
.single-product .woocommerce-product-details__short-description img.alignleft,
.single-product .woocommerce-product-details__short-description img.alignright,
.single-product .woocommerce-Tabs-panel img.alignleft,
.single-product .woocommerce-Tabs-panel img.alignright{
  max-width:100%!important;
}

/* Figures follow the size of the image saved by the editor. */
.nsd-single-product-page .woocommerce-product-details__short-description figure,
.nsd-single-product-page .woocommerce-Tabs-panel figure,
.single-product .woocommerce-product-details__short-description figure,
.single-product .woocommerce-Tabs-panel figure{
  max-width:100%!important;
}

/* =========================================================
 * NSD MART V98.81 — Compact related / upsell / cross-sell cards
 * Keeps single-product recommendations consistent with home sliders.
 * ========================================================= */
.single-product .related.products,
.single-product .upsells.products,
.woocommerce-cart .cross-sells{
  position:relative;
}

.single-product .related.products > h2,
.single-product .upsells.products > h2,
.woocommerce-cart .cross-sells > h2{
  margin:0 0 14px!important;
  font-size:26px!important;
  line-height:1.2!important;
}

.single-product .related.products ul.products,
.single-product .upsells.products ul.products,
.woocommerce-cart .cross-sells ul.products{
  display:grid!important;
  grid-template-columns:repeat(5,minmax(0,1fr))!important;
  gap:12px!important;
  width:100%!important;
  margin:0!important;
  padding:0!important;
}

.single-product .related.products ul.products::before,
.single-product .related.products ul.products::after,
.single-product .upsells.products ul.products::before,
.single-product .upsells.products ul.products::after,
.woocommerce-cart .cross-sells ul.products::before,
.woocommerce-cart .cross-sells ul.products::after{
  display:none!important;
  content:none!important;
}

.single-product .related.products ul.products li.product,
.single-product .upsells.products ul.products li.product,
.woocommerce-cart .cross-sells ul.products li.product{
  float:none!important;
  clear:none!important;
  width:100%!important;
  min-width:0!important;
  max-width:none!important;
  margin:0!important;
  padding:10px!important;
  border-radius:12px!important;
}

.single-product .related.products ul.products li.product a img,
.single-product .related.products ul.products li.product a img.nsd-auto-trimmed,
.single-product .upsells.products ul.products li.product a img,
.single-product .upsells.products ul.products li.product a img.nsd-auto-trimmed,
.woocommerce-cart .cross-sells ul.products li.product a img,
.woocommerce-cart .cross-sells ul.products li.product a img.nsd-auto-trimmed{
  height:205px!important;
  min-height:205px!important;
  max-height:205px!important;
  padding:4px 4px 8px!important;
  margin:0 0 7px!important;
  object-fit:contain!important;
  object-position:center center!important;
}

.single-product .related.products .nsd-v94-product-title,
.single-product .upsells.products .nsd-v94-product-title,
.woocommerce-cart .cross-sells .nsd-v94-product-title,
.single-product .related.products ul.products li.product .woocommerce-loop-product__title,
.single-product .upsells.products ul.products li.product .woocommerce-loop-product__title,
.woocommerce-cart .cross-sells ul.products li.product .woocommerce-loop-product__title{
  font-size:14px!important;
  line-height:1.35!important;
  min-height:2.7em!important;
  max-height:2.7em!important;
  display:-webkit-box!important;
  -webkit-line-clamp:2!important;
  -webkit-box-orient:vertical!important;
  overflow:hidden!important;
  margin:0 0 6px!important;
}

.single-product .related.products ul.products li.product .price,
.single-product .upsells.products ul.products li.product .price,
.woocommerce-cart .cross-sells ul.products li.product .price{
  font-size:14px!important;
  margin-bottom:6px!important;
}

.single-product .related.products ul.products li.product .button,
.single-product .related.products ul.products li.product .tinvwl_add_to_wishlist_button,
.single-product .related.products ul.products li.product .woosw-btn,
.single-product .upsells.products ul.products li.product .button,
.single-product .upsells.products ul.products li.product .tinvwl_add_to_wishlist_button,
.single-product .upsells.products ul.products li.product .woosw-btn,
.woocommerce-cart .cross-sells ul.products li.product .button,
.woocommerce-cart .cross-sells ul.products li.product .tinvwl_add_to_wishlist_button,
.woocommerce-cart .cross-sells ul.products li.product .woosw-btn{
  min-height:38px!important;
  padding:8px 7px!important;
  font-size:12px!important;
  line-height:1.2!important;
  border-radius:8px!important;
}

.single-product .related.products ul.products li.product .nsd-card-actions,
.single-product .upsells.products ul.products li.product .nsd-card-actions,
.woocommerce-cart .cross-sells ul.products li.product .nsd-card-actions{
  gap:6px!important;
}

@media (max-width:1280px){
  .single-product .related.products ul.products,
  .single-product .upsells.products ul.products,
  .woocommerce-cart .cross-sells ul.products{
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
  }
}

@media (max-width:900px){
  .single-product .related.products ul.products,
  .single-product .upsells.products ul.products,
  .woocommerce-cart .cross-sells ul.products{
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
  }
}

@media (max-width:680px){
  .single-product .related.products,
  .single-product .upsells.products,
  .woocommerce-cart .cross-sells{
    overflow:hidden!important;
  }
  .single-product .related.products ul.products,
  .single-product .upsells.products ul.products,
  .woocommerce-cart .cross-sells ul.products{
    display:flex!important;
    overflow-x:auto!important;
    scroll-snap-type:x mandatory!important;
    gap:10px!important;
    padding:0 2px 8px!important;
    scrollbar-width:none!important;
  }
  .single-product .related.products ul.products::-webkit-scrollbar,
  .single-product .upsells.products ul.products::-webkit-scrollbar,
  .woocommerce-cart .cross-sells ul.products::-webkit-scrollbar{display:none!important}
  .single-product .related.products ul.products li.product,
  .single-product .upsells.products ul.products li.product,
  .woocommerce-cart .cross-sells ul.products li.product{
    flex:0 0 calc((100% - 10px)/2)!important;
    width:calc((100% - 10px)/2)!important;
    scroll-snap-align:start!important;
    padding:8px!important;
  }
  .single-product .related.products ul.products li.product a img,
  .single-product .related.products ul.products li.product a img.nsd-auto-trimmed,
  .single-product .upsells.products ul.products li.product a img,
  .single-product .upsells.products ul.products li.product a img.nsd-auto-trimmed,
  .woocommerce-cart .cross-sells ul.products li.product a img,
  .woocommerce-cart .cross-sells ul.products li.product a img.nsd-auto-trimmed{
    height:165px!important;
    min-height:165px!important;
    max-height:165px!important;
  }
  .single-product .related.products > h2,
  .single-product .upsells.products > h2,
  .woocommerce-cart .cross-sells > h2{font-size:22px!important}
}


/* =========================================================
 * NSD MART V98.82 — Recently Viewed cards isolated/fixed
 * Prevents compact related-product rules or WooCommerce floats
 * from making recently viewed cards extremely narrow/tall.
 * ========================================================= */
.single-product .nsd-recently-viewed{
  clear:both!important;
  width:min(1420px,94%)!important;
  max-width:1420px!important;
  margin:34px auto!important;
  padding:0!important;
  overflow:hidden!important;
}
.single-product .nsd-recently-viewed > h2{
  margin:0 0 14px!important;
  font-size:26px!important;
  line-height:1.2!important;
}
.single-product .nsd-recently-viewed .woocommerce{
  width:100%!important;
}
.single-product .nsd-recently-viewed ul.products{
  display:grid!important;
  grid-template-columns:repeat(5,minmax(0,1fr))!important;
  gap:12px!important;
  width:100%!important;
  margin:0!important;
  padding:0!important;
}
.single-product .nsd-recently-viewed ul.products::before,
.single-product .nsd-recently-viewed ul.products::after{
  content:none!important;
  display:none!important;
}
.single-product .nsd-recently-viewed ul.products li.product{
  float:none!important;
  clear:none!important;
  width:100%!important;
  min-width:0!important;
  max-width:none!important;
  margin:0!important;
  padding:10px!important;
  border-radius:12px!important;
  display:flex!important;
  flex-direction:column!important;
  height:100%!important;
}
.single-product .nsd-recently-viewed ul.products li.product a img,
.single-product .nsd-recently-viewed ul.products li.product a img.nsd-auto-trimmed{
  width:100%!important;
  height:205px!important;
  min-height:205px!important;
  max-height:205px!important;
  object-fit:contain!important;
  object-position:center!important;
  margin:0 0 7px!important;
  padding:4px 4px 8px!important;
}
.single-product .nsd-recently-viewed .nsd-v94-product-title,
.single-product .nsd-recently-viewed ul.products li.product .woocommerce-loop-product__title{
  font-size:14px!important;
  line-height:1.35!important;
  min-height:2.7em!important;
  max-height:2.7em!important;
  display:-webkit-box!important;
  -webkit-line-clamp:2!important;
  -webkit-box-orient:vertical!important;
  overflow:hidden!important;
  margin:0 0 6px!important;
}
.single-product .nsd-recently-viewed ul.products li.product .price{
  font-size:14px!important;
  margin:0 0 6px!important;
}
.single-product .nsd-recently-viewed ul.products li.product .button,
.single-product .nsd-recently-viewed ul.products li.product .tinvwl_add_to_wishlist_button,
.single-product .nsd-recently-viewed ul.products li.product .woosw-btn{
  min-height:38px!important;
  padding:8px 7px!important;
  font-size:12px!important;
  line-height:1.2!important;
  border-radius:8px!important;
}
.single-product .nsd-recently-viewed ul.products li.product .nsd-card-actions{
  gap:6px!important;
}
@media (max-width:1280px){
  .single-product .nsd-recently-viewed ul.products{grid-template-columns:repeat(4,minmax(0,1fr))!important}
}
@media (max-width:900px){
  .single-product .nsd-recently-viewed ul.products{grid-template-columns:repeat(3,minmax(0,1fr))!important}
}
@media (max-width:680px){
  .single-product .nsd-recently-viewed{width:94%!important;overflow:hidden!important}
  .single-product .nsd-recently-viewed ul.products{
    display:flex!important;
    overflow-x:auto!important;
    scroll-snap-type:x mandatory!important;
    gap:10px!important;
    padding:0 2px 8px!important;
    scrollbar-width:none!important;
  }
  .single-product .nsd-recently-viewed ul.products::-webkit-scrollbar{display:none!important}
  .single-product .nsd-recently-viewed ul.products li.product{
    flex:0 0 calc((100% - 10px)/2)!important;
    width:calc((100% - 10px)/2)!important;
    scroll-snap-align:start!important;
    padding:8px!important;
  }
  .single-product .nsd-recently-viewed ul.products li.product a img,
  .single-product .nsd-recently-viewed ul.products li.product a img.nsd-auto-trimmed{
    height:165px!important;
    min-height:165px!important;
    max-height:165px!important;
  }
  .single-product .nsd-recently-viewed > h2{font-size:22px!important}
}


/* =========================================================
 * NSD MART V98.83 — Recently Viewed fixed-width card layout
 * Uses a dedicated flex row so WooCommerce column classes or
 * inherited grid rules cannot squeeze cards into thin columns.
 * ========================================================= */
.nsd-recently-viewed{
  clear:both!important;
  width:min(1420px,94%)!important;
  max-width:1420px!important;
  margin:34px auto!important;
  padding:0!important;
  overflow:visible!important;
}
.nsd-recently-viewed .woocommerce,
.nsd-recently-viewed .woocommerce.columns-4{
  width:100%!important;
  max-width:100%!important;
  display:block!important;
}
.nsd-recently-viewed ul.products,
.nsd-recently-viewed ul.products[class*=columns-]{
  display:flex!important;
  flex-flow:row wrap!important;
  align-items:stretch!important;
  justify-content:flex-start!important;
  gap:14px!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  margin:0!important;
  padding:0!important;
  overflow:visible!important;
  list-style:none!important;
}
.nsd-recently-viewed ul.products::before,
.nsd-recently-viewed ul.products::after{
  content:none!important;
  display:none!important;
}
.nsd-recently-viewed ul.products li.product,
.nsd-recently-viewed ul.products[class*=columns-] li.product{
  float:none!important;
  clear:none!important;
  flex:0 0 230px!important;
  width:230px!important;
  min-width:230px!important;
  max-width:230px!important;
  margin:0!important;
  padding:10px!important;
  align-self:stretch!important;
  height:auto!important;
  min-height:0!important;
  border-radius:12px!important;
  display:flex!important;
  flex-direction:column!important;
}
.nsd-recently-viewed ul.products li.product a.woocommerce-LoopProduct-link{
  display:block!important;
  width:100%!important;
}
.nsd-recently-viewed ul.products li.product a img,
.nsd-recently-viewed ul.products li.product a img.nsd-auto-trimmed{
  display:block!important;
  width:100%!important;
  height:190px!important;
  min-height:190px!important;
  max-height:190px!important;
  object-fit:contain!important;
  object-position:center!important;
  margin:0 0 8px!important;
  padding:4px!important;
}
.nsd-recently-viewed .nsd-v94-product-title,
.nsd-recently-viewed ul.products li.product .woocommerce-loop-product__title{
  font-size:14px!important;
  line-height:1.35!important;
  min-height:2.7em!important;
  max-height:2.7em!important;
  display:-webkit-box!important;
  -webkit-line-clamp:2!important;
  -webkit-box-orient:vertical!important;
  overflow:hidden!important;
  margin:0 0 6px!important;
}
.nsd-recently-viewed ul.products li.product .price{
  font-size:14px!important;
  margin:0 0 6px!important;
}
.nsd-recently-viewed ul.products li.product .button,
.nsd-recently-viewed ul.products li.product .tinvwl_add_to_wishlist_button,
.nsd-recently-viewed ul.products li.product .woosw-btn{
  width:100%!important;
  min-height:38px!important;
  padding:8px 7px!important;
  font-size:12px!important;
  line-height:1.2!important;
  border-radius:8px!important;
  white-space:normal!important;
}
.nsd-recently-viewed ul.products li.product .nsd-card-actions{
  display:grid!important;
  grid-template-columns:1fr 1fr!important;
  gap:6px!important;
  width:100%!important;
}
@media (max-width:1280px){
  .nsd-recently-viewed ul.products li.product,
  .nsd-recently-viewed ul.products[class*=columns-] li.product{
    flex-basis:215px!important;
    width:215px!important;
    min-width:215px!important;
    max-width:215px!important;
  }
}
@media (max-width:680px){
  .nsd-recently-viewed{
    width:94%!important;
    overflow:hidden!important;
  }
  .nsd-recently-viewed ul.products,
  .nsd-recently-viewed ul.products[class*=columns-]{
    flex-wrap:nowrap!important;
    overflow-x:auto!important;
    scroll-snap-type:x mandatory!important;
    scrollbar-width:none!important;
    padding:0 2px 8px!important;
  }
  .nsd-recently-viewed ul.products::-webkit-scrollbar{display:none!important}
  .nsd-recently-viewed ul.products li.product,
  .nsd-recently-viewed ul.products[class*=columns-] li.product{
    flex:0 0 calc((100% - 10px)/2)!important;
    width:calc((100% - 10px)/2)!important;
    min-width:calc((100% - 10px)/2)!important;
    max-width:calc((100% - 10px)/2)!important;
    scroll-snap-align:start!important;
    padding:8px!important;
  }
  .nsd-recently-viewed ul.products li.product a img,
  .nsd-recently-viewed ul.products li.product a img.nsd-auto-trimmed{
    height:155px!important;
    min-height:155px!important;
    max-height:155px!important;
  }
}


/* =========================================================
 * NSD MART V98.84 — Recently Viewed five-column desktop grid
 * Keeps the corrected compact card size while preventing the
 * section from wrapping at two cards per row on desktop.
 * ========================================================= */
@media (min-width: 1101px){
  .single-product .nsd-recently-viewed{
    width:min(1420px,94%)!important;
    max-width:1420px!important;
  }
  .single-product .nsd-recently-viewed ul.products,
  .single-product .nsd-recently-viewed ul.products[class*="columns-"]{
    display:grid!important;
    grid-template-columns:repeat(5,minmax(0,1fr))!important;
    gap:14px!important;
    align-items:stretch!important;
    overflow:visible!important;
  }
  .single-product .nsd-recently-viewed ul.products li.product,
  .single-product .nsd-recently-viewed ul.products[class*="columns-"] li.product{
    float:none!important;
    clear:none!important;
    width:100%!important;
    min-width:0!important;
    max-width:none!important;
    flex:none!important;
    margin:0!important;
  }
}
@media (min-width: 821px) and (max-width:1100px){
  .single-product .nsd-recently-viewed ul.products,
  .single-product .nsd-recently-viewed ul.products[class*="columns-"]{
    display:grid!important;
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    gap:12px!important;
  }
  .single-product .nsd-recently-viewed ul.products li.product,
  .single-product .nsd-recently-viewed ul.products[class*="columns-"] li.product{
    width:100%!important;
    min-width:0!important;
    max-width:none!important;
    flex:none!important;
  }
}
@media (min-width:681px) and (max-width:820px){
  .single-product .nsd-recently-viewed ul.products,
  .single-product .nsd-recently-viewed ul.products[class*="columns-"]{
    display:grid!important;
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:12px!important;
  }
  .single-product .nsd-recently-viewed ul.products li.product,
  .single-product .nsd-recently-viewed ul.products[class*="columns-"] li.product{
    width:100%!important;
    min-width:0!important;
    max-width:none!important;
    flex:none!important;
  }
}


/* =========================================================
 * NSD MART V98.85 — Recently Viewed responsive auto-fit grid
 * Keeps every card readable; cards never squeeze into thin
 * columns. The number per row adapts to the available width.
 * ========================================================= */
@media (min-width:681px){
  .single-product .nsd-recently-viewed{
    clear:both!important;
    width:min(1420px,94%)!important;
    max-width:1420px!important;
    margin:34px auto!important;
    overflow:visible!important;
  }
  .single-product .nsd-recently-viewed .woocommerce,
  .single-product .nsd-recently-viewed .woocommerce[class*="columns-"]{
    width:100%!important;
    max-width:100%!important;
  }
  .single-product .nsd-recently-viewed ul.products,
  .single-product .nsd-recently-viewed ul.products[class*="columns-"]{
    display:grid!important;
    grid-template-columns:repeat(auto-fit,minmax(220px,230px))!important;
    justify-content:start!important;
    align-items:stretch!important;
    gap:14px!important;
    width:100%!important;
    max-width:100%!important;
    margin:0!important;
    padding:0!important;
    overflow:visible!important;
  }
  .single-product .nsd-recently-viewed ul.products li.product,
  .single-product .nsd-recently-viewed ul.products[class*="columns-"] li.product{
    float:none!important;
    clear:none!important;
    display:flex!important;
    flex-direction:column!important;
    width:100%!important;
    min-width:220px!important;
    max-width:230px!important;
    min-height:0!important;
    height:auto!important;
    margin:0!important;
    padding:10px!important;
  }
  .single-product .nsd-recently-viewed ul.products li.product a img,
  .single-product .nsd-recently-viewed ul.products li.product a img.nsd-auto-trimmed{
    width:100%!important;
    height:185px!important;
    min-height:185px!important;
    max-height:185px!important;
    object-fit:contain!important;
  }
}
@media (min-width:681px) and (max-width:820px){
  .single-product .nsd-recently-viewed ul.products,
  .single-product .nsd-recently-viewed ul.products[class*="columns-"]{
    grid-template-columns:repeat(auto-fit,minmax(205px,1fr))!important;
  }
  .single-product .nsd-recently-viewed ul.products li.product,
  .single-product .nsd-recently-viewed ul.products[class*="columns-"] li.product{
    min-width:205px!important;
    max-width:none!important;
  }
}


/* =========================================================
 * NSD MART V98.86 — Recently Viewed full-width grid item fix
 * The single-product wrapper is a two-column CSS grid. Make
 * Recently Viewed span both columns so it can use all space.
 * ========================================================= */
.single-product .nsd-single-product-page div.product > .nsd-recently-viewed,
.single-product .nsd-single-product-page div.product .nsd-recently-viewed{
  grid-column:1 / -1!important;
  grid-row:auto!important;
  justify-self:stretch!important;
  align-self:stretch!important;
  display:block!important;
  float:none!important;
  clear:both!important;
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  margin:34px 0 0!important;
  padding:0!important;
}
.single-product .nsd-single-product-page div.product > .nsd-recently-viewed .woocommerce,
.single-product .nsd-single-product-page div.product > .nsd-recently-viewed .woocommerce[class*="columns-"]{
  display:block!important;
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  margin:0!important;
}
@media (min-width:821px){
  .single-product .nsd-single-product-page div.product > .nsd-recently-viewed ul.products,
  .single-product .nsd-single-product-page div.product > .nsd-recently-viewed ul.products[class*="columns-"]{
    display:grid!important;
    grid-template-columns:repeat(auto-fit,minmax(220px,230px))!important;
    justify-content:start!important;
    width:100%!important;
    max-width:none!important;
    min-width:0!important;
    gap:14px!important;
  }
}

/* =========================================================
 * NSD MART V98.88 — Compact WooCommerce Block Checkout on mobile
 * Keeps the order summary compact so Total and Place Order appear sooner.
 * Desktop checkout is unchanged.
 * ========================================================= */
@media (max-width: 767px){
  body.woocommerce-checkout .wc-block-checkout__sidebar{
    padding:12px!important;
    margin-bottom:12px!important;
    height:auto!important;
    min-height:0!important;
  }

  body.woocommerce-checkout .wc-block-components-order-summary,
  body.woocommerce-checkout .wc-block-components-order-summary__content,
  body.woocommerce-checkout .wc-block-components-order-summary__scrollable-container{
    height:auto!important;
    min-height:0!important;
    max-height:none!important;
    overflow:visible!important;
  }

  body.woocommerce-checkout .wc-block-components-order-summary-item{
    display:grid!important;
    grid-template-columns:54px minmax(0,1fr) auto!important;
    grid-template-rows:auto!important;
    column-gap:10px!important;
    row-gap:3px!important;
    align-items:start!important;
    min-height:0!important;
    height:auto!important;
    padding:10px 0!important;
    margin:0!important;
  }

  body.woocommerce-checkout .wc-block-components-order-summary-item__image{
    grid-column:1!important;
    grid-row:1 / span 3!important;
    width:54px!important;
    min-width:54px!important;
    margin:0!important;
    align-self:start!important;
  }
  body.woocommerce-checkout .wc-block-components-order-summary-item__image img{
    width:54px!important;
    height:54px!important;
    min-width:54px!important;
    min-height:54px!important;
    object-fit:contain!important;
    display:block!important;
  }

  body.woocommerce-checkout .wc-block-components-order-summary-item__description{
    grid-column:2!important;
    grid-row:1 / span 3!important;
    min-width:0!important;
    width:auto!important;
    margin:0!important;
    padding:0!important;
    font-size:12px!important;
    line-height:1.28!important;
  }
  body.woocommerce-checkout .wc-block-components-order-summary-item__description .wc-block-components-product-name,
  body.woocommerce-checkout .wc-block-components-order-summary-item__description a{
    display:-webkit-box!important;
    -webkit-box-orient:vertical!important;
    -webkit-line-clamp:3!important;
    overflow:hidden!important;
    overflow-wrap:anywhere!important;
    word-break:normal!important;
    font-size:12px!important;
    line-height:1.28!important;
    margin:0 0 3px!important;
  }
  body.woocommerce-checkout .wc-block-components-order-summary-item__description > *{
    margin-top:2px!important;
    margin-bottom:2px!important;
  }

  body.woocommerce-checkout .wc-block-components-order-summary-item__total-price{
    grid-column:3!important;
    grid-row:1!important;
    white-space:nowrap!important;
    margin:0!important;
    padding:0!important;
    font-size:12px!important;
    line-height:1.3!important;
    text-align:right!important;
  }

  body.woocommerce-checkout .wc-block-components-product-badge{
    padding:2px 5px!important;
    font-size:10px!important;
    line-height:1.2!important;
  }

  body.woocommerce-checkout .wc-block-components-totals-wrapper{
    padding:10px 0!important;
    min-height:0!important;
  }
  body.woocommerce-checkout .wc-block-components-totals-footer-item{
    margin-top:4px!important;
    padding:13px 12px!important;
  }
  body.woocommerce-checkout .wc-block-components-totals-footer-item .wc-block-components-totals-item__label,
  body.woocommerce-checkout .wc-block-components-totals-footer-item .wc-block-components-totals-item__value{
    font-size:19px!important;
  }

  body.woocommerce-checkout .wc-block-components-checkout-place-order-button,
  body.woocommerce-checkout button.wc-block-components-checkout-place-order-button,
  body.woocommerce-checkout #place_order{
    margin-top:10px!important;
    min-height:54px!important;
  }
}

/* =========================================================
   V99 — Amazon/Flipkart inspired mobile commerce layout
   ========================================================= */
.nsd-v99-mobile-action{display:none}
@media (max-width:767px){
  body.single-product,
  body.woocommerce-cart,
  body.woocommerce-checkout{padding-bottom:calc(72px + env(safe-area-inset-bottom))!important}

  body.single-product .nsd-mobile-bottom-nav,
  body.woocommerce-cart .nsd-mobile-bottom-nav,
  body.woocommerce-checkout .nsd-mobile-bottom-nav{display:none!important}

  .nsd-v99-mobile-action{
    position:fixed;left:0;right:0;bottom:0;z-index:100500;
    display:flex;align-items:center;gap:10px;
    min-height:68px;padding:9px 12px calc(9px + env(safe-area-inset-bottom));
    background:#fff;border-top:1px solid #dde3ec;
    box-shadow:0 -8px 24px rgba(7,26,70,.13)
  }
  .nsd-v99-action-btn{
    min-height:50px;border-radius:10px;border:0;text-decoration:none!important;
    display:flex;align-items:center;justify-content:center;text-align:center;
    padding:10px 12px;font-size:15px;font-weight:900;line-height:1.1;cursor:pointer
  }
  .nsd-v99-product-action .nsd-v99-action-btn{flex:1}
  .nsd-v99-add-cart{background:#fff!important;color:#071a46!important;border:1.5px solid #aeb9ca!important}
  .nsd-v99-buy-now,.nsd-v99-checkout-btn,.nsd-v99-place-order{background:#ffb000!important;color:#071a46!important}
  .nsd-v99-btn-price{margin-left:5px;font-size:13px}
  .nsd-v99-btn-price del{display:none}.nsd-v99-btn-price ins{text-decoration:none}
  .nsd-v99-action-total{min-width:105px;display:flex;flex-direction:column;line-height:1.12}
  .nsd-v99-action-total small{font-size:11px;color:#667085;font-weight:700}
  .nsd-v99-action-total strong{font-size:20px;color:#071a46;font-weight:900;white-space:nowrap}
  .nsd-v99-cart-action .nsd-v99-action-btn,.nsd-v99-checkout-action .nsd-v99-action-btn{flex:1}

  /* Product page: clear white marketplace sections */
  body.single-product .nsd-single-product-page{width:100%!important;padding:0!important;background:#f2f4f7!important}
  body.single-product .nsd-single-product-page div.product{display:block!important;width:100%!important;margin:0!important}
  body.single-product div.product .woocommerce-product-gallery,
  body.single-product div.product .summary{
    width:100%!important;float:none!important;margin:0 0 8px!important;padding:14px!important;background:#fff!important
  }
  body.single-product div.product .woocommerce-product-gallery{padding-top:8px!important}
  body.single-product div.product .summary.entry-summary{border:0!important;border-radius:0!important;box-shadow:none!important}
  body.single-product div.product .product_title{font-size:20px!important;line-height:1.3!important;margin:2px 0 8px!important}
  body.single-product div.product p.price{font-size:24px!important;margin:8px 0!important}
  body.single-product form.cart{margin:12px 0 0!important}
  body.single-product form.cart .single_add_to_cart_button{display:none!important}
  body.single-product .nsd-pincode-checker,
  body.single-product .nsd-v9-trust-badges,
  body.single-product .woocommerce-tabs,
  body.single-product .related.products,
  body.single-product .upsells.products,
  body.single-product .nsd-recently-viewed{
    background:#fff!important;margin:8px 0!important;padding:16px 14px!important;border-radius:0!important;box-shadow:none!important
  }
  body.single-product .nsd-v9-trust-badges{display:grid!important;grid-template-columns:repeat(3,1fr)!important;gap:8px!important}
  body.single-product .nsd-v9-trust-badges span{min-height:76px!important;display:flex!important;align-items:center!important;justify-content:center!important;text-align:center!important;padding:8px!important;border:1px solid #e5e8ee!important;border-radius:10px!important;background:#fafbfc!important;font-size:12px!important}

  /* Cart: product cards and compact totals */
  body.woocommerce-cart .woocommerce{padding:0!important;background:#f2f4f7!important}
  body.woocommerce-cart .woocommerce-cart-form,
  body.woocommerce-cart .cart-collaterals{background:#fff!important;margin:0 0 8px!important;padding:12px!important}
  body.woocommerce-cart table.shop_table{border:0!important;border-radius:0!important;margin:0!important}
  body.woocommerce-cart table.shop_table_responsive tr{display:grid!important;grid-template-columns:82px 1fr!important;gap:8px 12px!important;padding:14px 0!important;border-bottom:1px solid #e5e8ee!important}
  body.woocommerce-cart table.shop_table_responsive td{border:0!important;padding:2px 0!important;text-align:left!important}
  body.woocommerce-cart table.shop_table_responsive td.product-thumbnail{grid-row:1 / span 4!important;display:block!important}
  body.woocommerce-cart table.shop_table_responsive td.product-thumbnail img{width:78px!important;height:78px!important;object-fit:contain!important;border-radius:8px!important}
  body.woocommerce-cart table.shop_table_responsive td.product-name{font-size:14px!important;font-weight:800!important;line-height:1.35!important}
  body.woocommerce-cart table.shop_table_responsive td::before{display:none!important}
  body.woocommerce-cart .cart_totals h2{font-size:20px!important}
  body.woocommerce-cart .wc-proceed-to-checkout{display:none!important}

  /* Checkout: step-like compact clean layout */
  body.woocommerce-checkout .woocommerce{background:#f2f4f7!important;padding:0!important}
  body.woocommerce-checkout form.checkout{display:block!important;margin:0!important}
  body.woocommerce-checkout #customer_details,
  body.woocommerce-checkout #order_review_heading,
  body.woocommerce-checkout #order_review{
    width:100%!important;float:none!important;background:#fff!important;margin:0 0 8px!important;padding:14px!important;border:0!important;border-radius:0!important;box-shadow:none!important
  }
  body.woocommerce-checkout #order_review_heading{font-size:20px!important;padding-bottom:4px!important;margin-bottom:0!important}
  body.woocommerce-checkout .woocommerce-billing-fields h3,
  body.woocommerce-checkout .woocommerce-shipping-fields h3{font-size:20px!important;margin:0 0 12px!important}
  body.woocommerce-checkout .form-row{margin-bottom:10px!important}
  body.woocommerce-checkout .form-row input.input-text,
  body.woocommerce-checkout .form-row textarea,
  body.woocommerce-checkout .select2-selection{min-height:48px!important;border-radius:9px!important;border:1px solid #ccd4e0!important;background:#fff!important}
  body.woocommerce-checkout .woocommerce-checkout-review-order-table{table-layout:fixed!important;width:100%!important;margin:0!important}
  body.woocommerce-checkout .woocommerce-checkout-review-order-table th,
  body.woocommerce-checkout .woocommerce-checkout-review-order-table td{padding:11px 4px!important;font-size:13px!important}
  body.woocommerce-checkout .woocommerce-checkout-review-order-table .product-name{width:68%!important;white-space:normal!important;overflow-wrap:anywhere!important}
  body.woocommerce-checkout .woocommerce-checkout-review-order-table .product-total{width:32%!important;text-align:right!important;white-space:nowrap!important}
  body.woocommerce-checkout #payment{background:#fff!important;border-radius:0!important;margin:8px -14px -14px!important;padding:14px!important}
  body.woocommerce-checkout #payment .wc_payment_method{border:1px solid #dfe4eb!important;border-radius:9px!important;margin:0 0 9px!important;padding:12px!important;background:#fff!important}
  body.woocommerce-checkout #payment .payment_box{margin:10px 0 0!important;border-radius:8px!important}
  body.woocommerce-checkout #payment .place-order{margin:0!important;padding:0!important}
  body.woocommerce-checkout #place_order{position:absolute!important;left:-99999px!important;width:1px!important;height:1px!important;opacity:0!important;pointer-events:none!important}
  body.woocommerce-checkout .woocommerce-privacy-policy-text{font-size:12px!important;line-height:1.45!important;margin-bottom:8px!important}

  /* Avoid floating widgets covering the action bar */
  body.single-product .nsd-v23-wishlist-panel,
  body.woocommerce-cart .nsd-v23-wishlist-panel,
  body.woocommerce-checkout .nsd-v23-wishlist-panel{bottom:80px!important}
  body.single-product .nsd-whatsapp,
  body.woocommerce-cart .nsd-whatsapp,
  body.woocommerce-checkout .nsd-whatsapp{bottom:82px!important}
}

/* =========================================================
   V99.01 — Saved address + Flipkart-style mobile checkout
   ========================================================= */
.nsd-register-address-fields{margin:18px 0;padding:16px;border:1px solid #dfe4eb;border-radius:12px;background:#fafcff}
.nsd-register-address-fields h3{margin:0 0 14px;color:#071a46}
.nsd-register-address-fields small{display:block;clear:both;color:#667085;line-height:1.45}

@media (max-width:767px){
  /* Logged-in customer already has email/profile details. Do not repeat a
     separate contact-information card on every checkout. */
  body.logged-in.woocommerce-checkout .nsd-v9901-contact-hidden{display:none!important}

  /* Keep one address card only. It remains editable, but does not consume a
     second checkout step or duplicate contact details. */
  body.woocommerce-checkout .nsd-v9901-address-section{order:10!important}
  body.woocommerce-checkout .nsd-v9901-summary-section,
  body.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-block{order:20!important}
  body.woocommerce-checkout .nsd-v9901-payment-section,
  body.woocommerce-checkout .wc-block-checkout__payment-method{order:30!important}
  body.woocommerce-checkout .wp-block-woocommerce-checkout,
  body.woocommerce-checkout .wc-block-checkout,
  body.woocommerce-checkout .wc-block-checkout__main{display:flex!important;flex-direction:column!important}

  /* Exactly one Place Order control: sticky bottom action only. */
  body.woocommerce-checkout .nsd-v9901-real-place-order,
  body.woocommerce-checkout #place_order,
  body.woocommerce-checkout .wc-block-components-checkout-place-order-button,
  body.woocommerce-checkout .wp-block-woocommerce-checkout-actions-block{display:none!important;visibility:hidden!important;height:0!important;min-height:0!important;margin:0!important;padding:0!important;overflow:hidden!important}
  body.woocommerce-checkout .nsd-v99-place-order{display:flex!important;visibility:visible!important;height:auto!important;min-height:50px!important}

  /* Product line in landscape: image left, title/price right. The title is
     preserved but clamped to two lines instead of running vertically. */
  body.woocommerce-checkout .wc-block-components-order-summary-item,
  body.woocommerce-checkout .nsd-v9901-landscape-item{
    display:grid!important;grid-template-columns:92px minmax(0,1fr) auto!important;
    grid-template-rows:auto auto!important;column-gap:12px!important;row-gap:4px!important;
    align-items:start!important;padding:13px 0!important;min-height:112px!important
  }
  body.woocommerce-checkout .wc-block-components-order-summary-item__image{
    grid-column:1!important;grid-row:1 / span 2!important;width:92px!important;min-width:92px!important;margin:0!important
  }
  body.woocommerce-checkout .wc-block-components-order-summary-item__image img{
    width:88px!important;height:88px!important;object-fit:contain!important;border-radius:8px!important
  }
  body.woocommerce-checkout .wc-block-components-order-summary-item__description{
    grid-column:2!important;grid-row:1 / span 2!important;min-width:0!important;width:auto!important;margin:0!important
  }
  body.woocommerce-checkout .wc-block-components-product-name,
  body.woocommerce-checkout .wc-block-components-order-summary-item__description .wc-block-components-product-name{
    display:-webkit-box!important;-webkit-box-orient:vertical!important;-webkit-line-clamp:2!important;
    overflow:hidden!important;white-space:normal!important;word-break:normal!important;overflow-wrap:break-word!important;
    font-size:14px!important;line-height:1.35!important;font-weight:800!important;max-height:2.7em!important;margin:0 0 5px!important
  }
  body.woocommerce-checkout .wc-block-components-order-summary-item__description p,
  body.woocommerce-checkout .wc-block-components-order-summary-item__description .wc-block-components-product-metadata{
    display:-webkit-box!important;-webkit-box-orient:vertical!important;-webkit-line-clamp:2!important;overflow:hidden!important;
    font-size:12px!important;line-height:1.35!important;margin:3px 0!important
  }
  body.woocommerce-checkout .wc-block-components-order-summary-item__total-price{
    grid-column:3!important;grid-row:1!important;align-self:start!important;white-space:nowrap!important;font-size:13px!important;font-weight:800!important
  }

  /* Payment follows the summary, like the marketplace examples. */
  body.woocommerce-checkout .nsd-v9901-payment-section{margin-top:8px!important}
  body.woocommerce-checkout .wc-block-checkout__payment-method{margin-top:8px!important}

  /* More compact address registration on mobile. */
  .nsd-register-address-fields .form-row-first,
  .nsd-register-address-fields .form-row-last{width:100%!important;float:none!important}
}

/* V99.09: mobile drawer close button must never appear in desktop header. */
@media (min-width:1025px){.nsd-menu .nsd-drawer-close{display:none!important}}


/* =========================================================
   V99.10 — Premium mobile header: Account + Cart top row,
   full-width search permanently visible underneath.
   ========================================================= */
@media (max-width:1024px){
  .nsd-header-row{
    grid-template-columns:minmax(118px,1fr) auto!important;
    grid-template-areas:
      "logo tools"
      "search search";
    align-items:center!important;
    gap:7px 10px!important;
    padding:7px 0 8px!important;
  }
  .nsd-logo{grid-area:logo!important}
  .nsd-mobile-header-tools{
    grid-area:tools!important;
    display:flex!important;
    align-items:center!important;
    justify-content:flex-end!important;
    gap:7px!important;
    white-space:nowrap!important;
  }
  .nsd-mobile-search-toggle{display:none!important}
  .nsd-search,
  .dgwt-wcas-search-wrapp{
    grid-area:search!important;
    grid-column:1/-1!important;
    order:3!important;
    display:flex!important;
    width:100%!important;
    max-width:none!important;
    margin:0!important;
  }
  .nsd-mobile-header-tools>a{
    width:auto!important;
    min-width:52px!important;
    height:38px!important;
    padding:0 9px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    gap:5px!important;
    border-radius:10px!important;
    font-size:17px!important;
  }
  .nsd-mobile-header-tools .nsd-mobile-account svg{
    width:19px!important;
    height:19px!important;
    flex:0 0 19px!important;
  }
  .nsd-mobile-cart-icon{font-size:17px;line-height:1}
  .nsd-mobile-tool-label{
    display:block!important;
    color:#071a46!important;
    font-size:10px!important;
    line-height:1.05!important;
    font-weight:800!important;
  }
  .nsd-mobile-cart-count{right:-5px!important;top:-6px!important}
  body.nsd-mobile-search-open .nsd-search,
  body.nsd-mobile-search-open .dgwt-wcas-search-wrapp{display:flex!important}
}
@media (max-width:420px){
  .nsd-header-row{grid-template-columns:minmax(105px,1fr) auto!important;gap:6px!important}
  .nsd-logo .custom-logo{max-width:132px!important;max-height:39px!important}
  .nsd-mobile-header-tools{gap:5px!important}
  .nsd-mobile-header-tools>a{
    min-width:45px!important;
    height:35px!important;
    padding:0 7px!important;
    gap:4px!important;
  }
  .nsd-mobile-tool-label{font-size:9px!important}
  .nsd-mobile-header-tools .nsd-mobile-account svg{width:17px!important;height:17px!important}
  .nsd-mobile-cart-icon{font-size:16px!important}
}

/* =========================================================
   V99.11 — Consistent desktop main-menu hover on every page
   ========================================================= */
@media (min-width:1025px) and (hover:hover) and (pointer:fine){
  .nsd-nav .nsd-menu,
  .nsd-nav .nsd-menu ul,
  .nsd-nav .nsd-menu li{
    position:relative!important;
  }
  .nsd-nav .nsd-menu li > a{
    position:relative!important;
    z-index:1!important;
    pointer-events:auto!important;
    transition:background-color .18s ease,color .18s ease,box-shadow .18s ease!important;
  }
  /* Hover must win over Home/Shop/current-page styles. */
  .nsd-nav .nsd-menu li:hover > a,
  .nsd-nav .nsd-menu li > a:hover,
  .nsd-nav .nsd-menu li > a:focus-visible{
    background:#06183f!important;
    color:var(--nsd-orange,#ffad0a)!important;
    box-shadow:inset 0 -3px 0 var(--nsd-orange,#ffad0a)!important;
    border-bottom-color:var(--nsd-orange,#ffad0a)!important;
  }
  .nsd-nav .nsd-menu li:hover > a::after,
  .nsd-nav .nsd-menu li > a:hover::after,
  .nsd-nav .nsd-menu li > a:focus-visible::after{
    transform:scaleX(1)!important;
  }
}


/* =========================================================
   V99.12 — Extra-compact mobile header
   Logo + My Account + Cart pinned to the top row; search sits
   immediately below with minimal empty space.
   ========================================================= */
@media (max-width:1024px){
  .nsd-header-main .nsd-container{
    width:100%!important;
    max-width:none!important;
    padding-left:10px!important;
    padding-right:10px!important;
  }
  .nsd-header-row{
    grid-template-columns:minmax(112px,1fr) auto!important;
    grid-template-areas:
      "logo tools"
      "search search"!important;
    column-gap:6px!important;
    row-gap:4px!important;
    padding-top:4px!important;
    padding-bottom:5px!important;
    align-items:start!important;
  }
  .nsd-logo{
    grid-area:logo!important;
    align-self:start!important;
    min-height:34px!important;
    margin:0!important;
  }
  .nsd-logo .custom-logo{
    max-width:150px!important;
    max-height:38px!important;
  }
  .nsd-mobile-header-tools{
    grid-area:tools!important;
    align-self:start!important;
    margin:0!important;
    gap:4px!important;
  }
  .nsd-mobile-header-tools>a{
    min-width:0!important;
    width:auto!important;
    height:34px!important;
    padding:0 7px!important;
    border-radius:9px!important;
    gap:4px!important;
    box-shadow:0 1px 5px rgba(7,26,70,.08)!important;
  }
  .nsd-mobile-header-tools .nsd-mobile-account svg{
    width:16px!important;
    height:16px!important;
    flex:0 0 16px!important;
  }
  .nsd-mobile-cart-icon{font-size:15px!important}
  .nsd-mobile-tool-label{
    font-size:9px!important;
    line-height:1!important;
  }
  .nsd-mobile-cart-count{
    min-width:16px!important;
    height:16px!important;
    right:-4px!important;
    top:-5px!important;
    font-size:9px!important;
  }
  .nsd-search,
  .dgwt-wcas-search-wrapp{
    grid-area:search!important;
    grid-column:1/-1!important;
    width:100%!important;
    margin:0!important;
  }
  .nsd-search input[type="search"]{min-height:39px!important}
  .nsd-search button{min-height:39px!important}
}
@media (max-width:420px){
  .nsd-header-main .nsd-container{
    padding-left:8px!important;
    padding-right:8px!important;
  }
  .nsd-header-row{
    grid-template-columns:minmax(102px,1fr) auto!important;
    column-gap:4px!important;
    row-gap:3px!important;
    padding-top:3px!important;
    padding-bottom:4px!important;
  }
  .nsd-logo .custom-logo{
    max-width:138px!important;
    max-height:35px!important;
  }
  .nsd-mobile-header-tools{gap:3px!important}
  .nsd-mobile-header-tools>a{
    height:32px!important;
    padding:0 6px!important;
    gap:3px!important;
  }
  .nsd-mobile-tool-label{font-size:8.5px!important}
}

/* =========================================================
   V99.13 — Exact mobile header layout from approved screenshot
   Row 1: Logo | My Account | Cart
   Row 2: Full-width search
   Row 3: Menu bar
   ========================================================= */
@media (max-width:1024px){
  .nsd-header-main .nsd-container.nsd-header-row{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) auto!important;
    grid-template-rows:auto auto!important;
    grid-template-areas:
      "logo tools"
      "search search"!important;
    align-items:center!important;
    width:100%!important;
    max-width:none!important;
    padding:5px 10px 6px!important;
    margin:0!important;
    gap:5px 6px!important;
  }
  .nsd-header-main .nsd-logo{
    grid-area:logo!important;
    display:flex!important;
    align-items:center!important;
    justify-self:start!important;
    align-self:center!important;
    margin:0!important;
    padding:0!important;
    min-width:0!important;
  }
  .nsd-header-main .nsd-logo .custom-logo{
    width:auto!important;
    max-width:158px!important;
    max-height:40px!important;
    object-fit:contain!important;
  }
  .nsd-header-main .nsd-mobile-header-tools{
    grid-area:tools!important;
    display:flex!important;
    align-items:center!important;
    justify-content:flex-end!important;
    justify-self:end!important;
    align-self:center!important;
    width:auto!important;
    margin:0!important;
    padding:0!important;
    gap:5px!important;
  }
  .nsd-header-main .nsd-mobile-search-toggle{
    display:none!important;
  }
  .nsd-header-main .nsd-mobile-header-tools>a{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    width:auto!important;
    min-width:0!important;
    height:36px!important;
    padding:0 8px!important;
    gap:4px!important;
    white-space:nowrap!important;
    border:1px solid #dbe3ef!important;
    border-radius:10px!important;
    background:#fff!important;
  }
  .nsd-header-main .nsd-mobile-tool-label{
    display:block!important;
    font-size:9px!important;
    line-height:1!important;
    font-weight:800!important;
    white-space:nowrap!important;
  }
  .nsd-header-main .nsd-search,
  .nsd-header-main .dgwt-wcas-search-wrapp{
    grid-area:search!important;
    display:flex!important;
    width:100%!important;
    max-width:none!important;
    margin:0!important;
    align-self:stretch!important;
  }
  .nsd-header-main .nsd-search input[type="search"]{
    min-width:0!important;
    height:43px!important;
  }
  .nsd-header-main .nsd-search button{
    height:43px!important;
    min-width:96px!important;
  }
  .nsd-nav{
    margin-top:0!important;
  }
}
@media (max-width:420px){
  .nsd-header-main .nsd-container.nsd-header-row{
    padding:4px 7px 5px!important;
    gap:4px!important;
  }
  .nsd-header-main .nsd-logo .custom-logo{
    max-width:145px!important;
    max-height:37px!important;
  }
  .nsd-header-main .nsd-mobile-header-tools>a{
    height:34px!important;
    padding:0 6px!important;
    gap:3px!important;
  }
  .nsd-header-main .nsd-mobile-tool-label{
    font-size:8px!important;
  }
  .nsd-header-main .nsd-search input[type="search"],
  .nsd-header-main .nsd-search button{
    height:41px!important;
  }
  .nsd-header-main .nsd-search button{
    min-width:88px!important;
  }
}

/* =========================================================
   V99.14 — Keep the approved mobile header unchanged on scroll
   Sticky/compact state uses the exact same three-row layout:
   Row 1: Logo | My Account | Cart
   Row 2: Full-width search
   Row 3: Menu bar
   ========================================================= */
@media (max-width:1024px){
  body.nsd-header-compact .nsd-header-main{
    padding:0!important;
  }
  body.nsd-header-compact .nsd-header-main .nsd-container.nsd-header-row{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) auto!important;
    grid-template-rows:auto auto!important;
    grid-template-areas:
      "logo tools"
      "search search"!important;
    align-items:center!important;
    width:100%!important;
    max-width:none!important;
    padding:5px 10px 6px!important;
    margin:0!important;
    gap:5px 6px!important;
  }
  body.nsd-header-compact .nsd-header-main .nsd-logo{
    grid-area:logo!important;
    display:flex!important;
    align-items:center!important;
    justify-self:start!important;
    align-self:center!important;
    margin:0!important;
    padding:0!important;
    min-width:0!important;
  }
  body.nsd-header-compact .nsd-header-main .nsd-logo .custom-logo{
    width:auto!important;
    max-width:158px!important;
    max-height:40px!important;
    object-fit:contain!important;
  }
  body.nsd-header-compact .nsd-header-main .nsd-mobile-header-tools{
    grid-area:tools!important;
    display:flex!important;
    flex-direction:row!important;
    flex-wrap:nowrap!important;
    align-items:center!important;
    justify-content:flex-end!important;
    justify-self:end!important;
    align-self:center!important;
    width:auto!important;
    min-width:max-content!important;
    margin:0!important;
    padding:0!important;
    gap:5px!important;
  }
  body.nsd-header-compact .nsd-header-main .nsd-mobile-search-toggle{
    display:none!important;
  }
  body.nsd-header-compact .nsd-header-main .nsd-mobile-header-tools>a,
  body.nsd-header-compact .nsd-header-main .nsd-mobile-header-tools>button{
    display:flex!important;
    flex-direction:row!important;
    align-items:center!important;
    justify-content:center!important;
    width:auto!important;
    min-width:0!important;
    height:36px!important;
    padding:0 8px!important;
    gap:4px!important;
    white-space:nowrap!important;
    border:1px solid #dbe3ef!important;
    border-radius:10px!important;
    background:#fff!important;
  }
  body.nsd-header-compact .nsd-header-main .nsd-mobile-tool-label{
    display:block!important;
    font-size:9px!important;
    line-height:1!important;
    font-weight:800!important;
    white-space:nowrap!important;
  }
  body.nsd-header-compact .nsd-header-main .nsd-search,
  body.nsd-header-compact .nsd-header-main .dgwt-wcas-search-wrapp{
    grid-area:search!important;
    grid-column:1/-1!important;
    order:initial!important;
    display:flex!important;
    width:100%!important;
    max-width:none!important;
    min-height:0!important;
    margin:0!important;
    align-self:stretch!important;
  }
  body.nsd-header-compact .nsd-header-main .nsd-search input[type="search"]{
    min-width:0!important;
    height:43px!important;
    padding:10px 14px!important;
    font-size:13px!important;
  }
  body.nsd-header-compact .nsd-header-main .nsd-search button{
    height:43px!important;
    min-width:96px!important;
    padding:0 15px!important;
    font-size:13px!important;
  }
  body.nsd-header-compact .nsd-nav .nsd-container{
    min-height:43px!important;
  }
  body.nsd-header-compact .nsd-mobile-menu-toggle{
    min-height:43px!important;
    padding:9px 15px!important;
    font-size:15px!important;
  }
}
@media (max-width:420px){
  body.nsd-header-compact .nsd-header-main .nsd-container.nsd-header-row{
    padding:4px 7px 5px!important;
    gap:4px!important;
  }
  body.nsd-header-compact .nsd-header-main .nsd-logo .custom-logo{
    max-width:145px!important;
    max-height:37px!important;
  }
  body.nsd-header-compact .nsd-header-main .nsd-mobile-header-tools{
    gap:3px!important;
  }
  body.nsd-header-compact .nsd-header-main .nsd-mobile-header-tools>a,
  body.nsd-header-compact .nsd-header-main .nsd-mobile-header-tools>button{
    height:34px!important;
    padding:0 6px!important;
    gap:3px!important;
  }
  body.nsd-header-compact .nsd-header-main .nsd-mobile-tool-label{
    font-size:8px!important;
  }
  body.nsd-header-compact .nsd-header-main .nsd-search input[type="search"],
  body.nsd-header-compact .nsd-header-main .nsd-search button{
    height:41px!important;
  }
  body.nsd-header-compact .nsd-header-main .nsd-search button{
    min-width:88px!important;
  }
}

/* =========================================================
 * V99.16 Premium single-product Share/Delivery area
 * ========================================================= */
body.single-product .nsd-pincode-checker{
  margin:20px 0;padding:20px;background:linear-gradient(135deg,#fbfdff,#f2f7ff);
  border:1px solid #d9e3f1;border-radius:16px;box-shadow:0 10px 28px rgba(7,31,82,.06)
}
body.single-product .nsd-pin-title{display:flex;align-items:center;gap:11px;margin-bottom:13px}
body.single-product .nsd-pin-title>span{width:38px;height:38px;border-radius:11px;background:#fff;border:1px solid #dbe5f3;display:flex;align-items:center;justify-content:center;color:#071f52;font-size:24px;font-weight:900}
body.single-product .nsd-pin-title strong{display:block;color:#071f52;font-size:18px;line-height:1.2}
body.single-product .nsd-pin-title small{display:block;color:#65748b;font-size:12px;margin-top:4px}
body.single-product .nsd-pincode-checker .nsd-pin-form{display:flex;margin:0}
body.single-product .nsd-pincode-checker input{height:46px;background:#fff;border:1px solid #cfd9e7;border-radius:10px 0 0 10px;padding:0 13px;font-size:14px}
body.single-product .nsd-pincode-checker button{min-width:76px;border-radius:0 10px 10px 0;background:#071f52;color:#fff;font-weight:900;cursor:pointer}
body.single-product .nsd-pincode-result{font-size:13px;font-weight:700;margin:10px 0 0}
body.single-product .nsd-v9-trust-badges{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:12px 0 18px}
body.single-product .nsd-v9-trust-badges span{position:relative;min-height:66px;padding:13px 12px 13px 54px;border:1px solid #e0e6ef;border-radius:13px;background:#fff;color:#071f52;font-weight:800;display:flex;align-items:center;box-shadow:0 6px 18px rgba(7,31,82,.035)}
body.single-product .nsd-v9-trust-badges span:before{position:absolute;left:12px;width:32px;height:32px;border-radius:10px;background:#fff3cf;display:flex;align-items:center;justify-content:center;font-size:17px}
body.single-product .nsd-v9-trust-badges span:nth-child(1):before{content:'🚚'}
body.single-product .nsd-v9-trust-badges span:nth-child(2):before{content:'₹'}
body.single-product .nsd-v9-trust-badges span:nth-child(3):before{content:'↩'}
body.single-product .nsd-v9-trust-badges span:nth-child(4):before{content:'🔒'}
@media(min-width:992px){
 body.single-product div.product .summary.entry-summary{padding-left:26px}
 body.single-product .nsd-product-share-earn,body.single-product .nsd-pincode-checker{max-width:none}
}
@media(max-width:767px){
 body.single-product .nsd-pincode-checker{margin:8px 0!important;padding:16px 14px!important;border-radius:0!important}
 body.single-product .nsd-v9-trust-badges{grid-template-columns:repeat(2,minmax(0,1fr))!important;padding:14px!important}
 body.single-product .nsd-v9-trust-badges span{min-height:76px!important;padding:44px 7px 8px!important;justify-content:center!important;font-size:11px!important}
 body.single-product .nsd-v9-trust-badges span:before{left:50%;top:8px;transform:translateX(-50%)}
}

/* V99.17 Premium single-product layout: final visual match */
body.single-product .site-main{overflow:visible}
body.single-product div.product{position:relative}
body.single-product div.product .summary{display:grid;grid-template-columns:minmax(0,1fr) minmax(300px,.78fr);column-gap:22px;align-content:start}
body.single-product div.product .summary>*{grid-column:1}
body.single-product div.product .summary .nsd-product-share-earn,
body.single-product div.product .summary .nsd-pincode-checker,
body.single-product div.product .summary .nsd-product-benefits,
body.single-product div.product .summary .nsd-v9-trust-badges{grid-column:2}
body.single-product div.product .summary .nsd-product-share-earn{grid-row:1 / span 7;margin-top:0}
body.single-product div.product .summary .nsd-pincode-checker{grid-row:8;margin-top:18px}
body.single-product div.product .summary .nsd-product-benefits{grid-row:9;margin-top:14px}
body.single-product div.product .summary .nsd-v9-trust-badges{grid-row:10}
body.single-product div.product .summary .product_title{font-size:29px;line-height:1.18;margin-bottom:10px}
body.single-product div.product .summary .price{font-size:28px;margin:8px 0 12px}
body.single-product div.product .summary form.cart{border-radius:14px;padding:14px;background:#f8fafc;border:1px solid #e0e7f1}
body.single-product .nsd-pincode-checker{padding:19px;border:1px solid #dce5f0;border-radius:15px;background:linear-gradient(135deg,#f8fbff,#eef5ff);box-shadow:0 8px 22px rgba(7,31,82,.05)}
body.single-product .nsd-pin-title{display:flex;gap:11px;align-items:flex-start;margin-bottom:13px}.nsd-pin-title>span{width:35px;height:35px;display:grid;place-items:center;border-radius:10px;background:#fff;color:#071f52;font-size:22px;border:1px solid #dce5f0}.nsd-pin-title strong{display:block;color:#071f52;font-size:18px}.nsd-pin-title small{display:block;color:#64748b;margin-top:3px}.nsd-pin-form{display:flex}.nsd-pin-form input{flex:1;min-width:0;height:46px;border:1px solid #cfd9e8;border-radius:9px 0 0 9px;padding:0 13px;background:#fff}.nsd-pin-form button{height:46px;border:0;border-radius:0 9px 9px 0;background:#071f52;color:#fff;font-weight:800;padding:0 20px;cursor:pointer}
body.single-product .nsd-product-benefits{display:grid!important;grid-template-columns:1fr 1fr!important;gap:10px!important;background:transparent!important;border:0!important;padding:0!important;box-shadow:none!important}
body.single-product .nsd-benefit-item{display:flex!important;align-items:center;gap:10px;padding:14px!important;border:1px solid #dce5f0!important;border-radius:13px!important;background:#fff!important;min-height:78px}.nsd-benefit-icon{width:42px!important;height:42px!important;display:grid!important;place-items:center!important;border-radius:50%!important;background:#fff3d4!important;font-size:21px!important}.nsd-benefit-item strong{display:block;color:#071f52;font-size:14px}.nsd-benefit-item small{display:block;color:#64748b;font-size:11px;margin-top:3px}
body.single-product .nsd-v9-trust-badges:empty{display:none!important}
@media(max-width:1180px){body.single-product div.product .summary{display:block}body.single-product div.product .summary .nsd-product-share-earn,body.single-product div.product .summary .nsd-pincode-checker,body.single-product div.product .summary .nsd-product-benefits{margin-top:16px}}
@media(max-width:700px){body.single-product .nsd-product-benefits{grid-template-columns:1fr 1fr!important}.nsd-benefit-item{padding:10px!important;min-height:70px}.nsd-benefit-icon{width:36px!important;height:36px!important}.nsd-benefit-item strong{font-size:12px}.nsd-benefit-item small{font-size:9px}}

/* =========================================================
   V99.18 — Product visibility, compact wishlist and clean meta
   - Keep the real product content first on mobile
   - Remove the oversized wishlist row caused by the V99.17 grid
   - Hide product tags while keeping SKU and category
   ========================================================= */
body.single-product div.product .summary.entry-summary{
  display:block!important;
  padding-left:26px;
}
body.single-product div.product .summary.entry-summary>*{
  grid-column:auto!important;
  grid-row:auto!important;
}
body.single-product .summary .tinv-wraper,
body.single-product .summary .tinv-wishlist,
body.single-product .summary .yith-wcwl-add-to-wishlist,
body.single-product .summary .woosw-btn,
body.single-product .summary .wishlist-fragment{
  width:100%!important;
  min-height:0!important;
  height:auto!important;
  margin:12px 0!important;
  padding:0!important;
}
body.single-product .summary .tinvwl_add_to_wishlist_button,
body.single-product .summary .single_add_to_wishlist,
body.single-product .summary .add_to_wishlist,
body.single-product .summary .woosw-btn{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:100%!important;
  min-height:44px!important;
  height:44px!important;
  margin:0!important;
  padding:0 16px!important;
  border:1px solid #d7dfeb!important;
  border-radius:10px!important;
  background:#fff!important;
  color:#071f52!important;
  font-size:13px!important;
  font-weight:800!important;
  line-height:1.2!important;
  box-shadow:none!important;
}
body.single-product .product_meta .tagged_as{display:none!important}

@media (min-width:1181px){
  body.single-product .summary .nsd-product-share-earn,
  body.single-product .summary .nsd-pincode-checker,
  body.single-product .summary .nsd-product-benefits,
  body.single-product .summary .nsd-v9-trust-badges{
    width:100%!important;
    max-width:none!important;
  }
}

@media (max-width:700px){
  /* The large referral hero was covering the product above the fold. */
  body.single-product .nsd-product-referral-hero{display:none!important}
  body.single-product div.product .summary.entry-summary{
    display:block!important;
    padding-left:0!important;
  }
  body.single-product div.product .woocommerce-product-gallery,
  body.single-product div.product .summary.entry-summary{
    visibility:visible!important;
    opacity:1!important;
    height:auto!important;
  }
  body.single-product .summary .tinv-wraper,
  body.single-product .summary .tinv-wishlist,
  body.single-product .summary .yith-wcwl-add-to-wishlist,
  body.single-product .summary .wishlist-fragment{
    margin:9px 0!important;
  }
  body.single-product .summary .tinvwl_add_to_wishlist_button,
  body.single-product .summary .single_add_to_wishlist,
  body.single-product .summary .add_to_wishlist,
  body.single-product .summary .woosw-btn{
    min-height:42px!important;
    height:42px!important;
    font-size:12px!important;
  }
  body.single-product .nsd-product-share-earn{
    min-height:0!important;
    margin:12px 0!important;
    padding:15px!important;
  }
  body.single-product .nsd-product-share-earn:after{font-size:38px!important}
  body.single-product .nsd-pincode-checker{border-radius:14px!important}
}


/* =========================================================
   V100.0 — Final premium My Account dashboard
   ========================================================= */
body.woocommerce-account .woocommerce-MyAccount-content > p:first-child,
body.woocommerce-account .woocommerce-MyAccount-content > p:nth-child(2){display:none!important}
body.woocommerce-account .woocommerce-MyAccount-content{background:#fff;border:1px solid #dfe7f2;border-radius:20px;padding:28px!important;box-shadow:0 12px 34px rgba(7,31,82,.055)}
body.woocommerce-account .nsd-ref-dashboard-card{margin:0 0 22px!important}
body.woocommerce-account .nsd-account-hero{margin:0 0 22px;background:linear-gradient(120deg,#071f52,#0752bd);border-radius:16px;padding:24px 26px;color:#fff;display:flex;align-items:center;justify-content:space-between;gap:18px;box-shadow:0 12px 26px rgba(7,31,82,.16)}
body.woocommerce-account .nsd-account-hero h2{margin:0 0 7px;color:#fff;font-size:25px;line-height:1.2}
body.woocommerce-account .nsd-account-hero p{margin:0;color:#e8f1ff}
body.woocommerce-account .nsd-account-avatar{width:58px;height:58px;border-radius:18px;background:#ffb000;color:#071f52;display:grid;place-items:center;font-size:27px;font-weight:900;flex:0 0 auto}
body.woocommerce-account .nsd-account-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-bottom:22px}
body.woocommerce-account .nsd-account-card{position:relative;display:grid;grid-template-columns:52px 1fr;grid-template-rows:auto auto;column-gap:14px;align-items:center;min-height:126px;padding:20px;border:1px solid #dfe7f2;border-radius:16px;background:#fff;box-shadow:0 7px 20px rgba(7,31,82,.04);transition:.2s ease}
body.woocommerce-account .nsd-account-card:hover{transform:translateY(-2px);border-color:#ffbd35;box-shadow:0 12px 28px rgba(7,31,82,.09)}
body.woocommerce-account .nsd-account-card:after{content:'›';position:absolute;right:18px;top:50%;transform:translateY(-50%);font-size:27px;color:#071f52}
body.woocommerce-account .nsd-card-icon{grid-row:1/3;width:48px;height:48px;border-radius:50%;background:#fff3d7;display:grid;place-items:center;color:#071f52;font-size:22px}
body.woocommerce-account .nsd-account-card strong{color:#071f52;font-size:17px;padding-right:22px}
body.woocommerce-account .nsd-account-card>span:last-child{color:#60708a;font-size:12px;line-height:1.45;padding-right:20px}
body.woocommerce-account .nsd-account-service-grid{display:grid;grid-template-columns:1.12fr 1fr;gap:18px;margin-top:6px}
body.woocommerce-account .nsd-account-delivery{padding:20px;border:1px solid #dce7f5;border-radius:16px;background:linear-gradient(135deg,#f8fbff,#edf5ff)}
body.woocommerce-account .nsd-account-delivery h3{margin:0 0 5px;color:#071f52;font-size:18px}
body.woocommerce-account .nsd-account-delivery p{margin:0 0 14px;color:#64748b;font-size:12px}
body.woocommerce-account .nsd-account-pin-form{display:flex}
body.woocommerce-account .nsd-account-pin-form input{flex:1;min-width:0;height:46px;border:1px solid #cfdae9;border-radius:10px 0 0 10px;padding:0 13px;background:#fff}
body.woocommerce-account .nsd-account-pin-form button{height:46px;border:0;border-radius:0 10px 10px 0;background:#071f52;color:#fff;padding:0 25px;font-weight:900;cursor:pointer}
body.woocommerce-account .nsd-account-trust{display:grid;grid-template-columns:1fr 1fr;border:1px solid #dfe7f2;border-radius:16px;background:#fff;padding:12px}
body.woocommerce-account .nsd-account-trust>div{display:grid;grid-template-columns:42px 1fr;gap:10px;align-items:center;padding:13px}
body.woocommerce-account .nsd-account-trust>div:nth-child(odd){border-right:1px solid #e8edf4}
body.woocommerce-account .nsd-account-trust>div:nth-child(-n+2){border-bottom:1px solid #e8edf4}
body.woocommerce-account .nsd-account-trust i{width:38px;height:38px;border-radius:11px;background:#fff3d7;display:grid;place-items:center;font-style:normal;font-size:18px}
body.woocommerce-account .nsd-account-trust strong{display:block;color:#071f52;font-size:13px}
body.woocommerce-account .nsd-account-trust small{display:block;color:#64748b;font-size:10px;margin-top:3px}
@media(max-width:900px){body.woocommerce-account .nsd-account-grid{grid-template-columns:repeat(2,minmax(0,1fr))}body.woocommerce-account .nsd-account-service-grid{grid-template-columns:1fr}}
@media(max-width:600px){body.woocommerce-account .woocommerce-MyAccount-content{padding:14px!important;border-radius:14px}body.woocommerce-account .nsd-account-grid{grid-template-columns:1fr;gap:11px}body.woocommerce-account .nsd-account-card{min-height:96px;padding:14px}body.woocommerce-account .nsd-account-hero{padding:18px;border-radius:14px}body.woocommerce-account .nsd-account-hero h2{font-size:21px}body.woocommerce-account .nsd-account-avatar{width:48px;height:48px;border-radius:14px;font-size:22px}body.woocommerce-account .nsd-account-trust{grid-template-columns:1fr}body.woocommerce-account .nsd-account-trust>div{border:0!important;border-bottom:1px solid #e8edf4!important}body.woocommerce-account .nsd-account-trust>div:last-child{border-bottom:0!important}}

/* =========================================================
 * V100.03 — Checkout summary lower sticky stop
 * Keep Reward Points + Order Summary from climbing too high.
 * It now stops below the header/category area and scrolls internally.
 * ========================================================= */
@media (min-width: 992px){
  body.woocommerce-checkout .wc-block-checkout__sidebar{
    position:-webkit-sticky!important;
    position:sticky!important;
    top:215px!important;
    align-self:start!important;
    height:max-content!important;
    max-height:calc(100vh - 235px)!important;
    overflow-y:auto!important;
    overflow-x:hidden!important;
    z-index:20!important;
  }
}

/* =========================================================
 * V100.04 — Checkout summary BOTTOM sticky restore
 * Keep the complete Reward Points + Order Summary block from
 * climbing toward the header. The whole block stays anchored
 * from the bottom, without its own internal scrollbar.
 * ========================================================= */
@media (min-width: 992px){
  body.woocommerce-checkout .wc-block-checkout__sidebar{
    position:-webkit-sticky!important;
    position:sticky!important;
    top:auto!important;
    bottom:24px!important;
    align-self:end!important;
    height:auto!important;
    max-height:none!important;
    overflow:visible!important;
    overflow-y:visible!important;
    overflow-x:visible!important;
    z-index:20!important;
  }
  body.woocommerce-checkout .wc-block-checkout__sidebar > *,
  body.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-block,
  body.woocommerce-checkout .wc-block-components-order-summary{
    max-height:none!important;
    overflow:visible!important;
  }
}


/* =========================================================
 * V100.05 — Checkout heading visibility + footer spacing
 * 1) Make the Checkout title readable on the dark blue strip.
 * 2) Keep comfortable space between checkout content and footer.
 * No COD / Reward Points calculation changes in this patch.
 * ========================================================= */
body.woocommerce-checkout h1,
body.woocommerce-checkout h1.entry-title,
body.woocommerce-checkout .entry-title{
  color:#ffffff!important;
  text-shadow:0 1px 1px rgba(0,0,0,.08);
}

body.woocommerce-checkout .site-main,
body.woocommerce-checkout main{
  min-height:calc(100vh - 230px);
}

body.woocommerce-checkout .woocommerce,
body.woocommerce-checkout .wp-block-woocommerce-checkout{
  padding-bottom:110px!important;
}

@media (max-width: 991px){
  body.woocommerce-checkout .site-main,
  body.woocommerce-checkout main{
    min-height:auto;
  }
  body.woocommerce-checkout .woocommerce,
  body.woocommerce-checkout .wp-block-woocommerce-checkout{
    padding-bottom:60px!important;
  }
}

/* =========================================================
 * V100.17 — VARIABLE PRODUCT BUTTON ROW ONLY
 * Match variable-product Qty / Add to cart / Buy Now sizing
 * to the normal simple-product button row. No other layout.
 * ========================================================= */
body.single-product .nsd-single-product-page form.variations_form .woocommerce-variation-add-to-cart{
  display:flex!important;
  align-items:stretch!important;
  gap:10px!important;
  width:100%!important;
  flex:0 0 100%!important;
}
body.single-product .nsd-single-product-page form.variations_form .woocommerce-variation-add-to-cart .quantity{
  flex:0 0 74px!important;
  width:74px!important;
  margin:0!important;
}
body.single-product .nsd-single-product-page form.variations_form .woocommerce-variation-add-to-cart .qty{
  width:74px!important;
  height:50px!important;
}
body.single-product .nsd-single-product-page form.variations_form .woocommerce-variation-add-to-cart .single_add_to_cart_button{
  flex:1 1 0!important;
  width:auto!important;
  min-width:0!important;
  margin:0!important;
}
body.single-product .nsd-single-product-page form.variations_form .woocommerce-variation-add-to-cart .nsd-buy-now{
  flex:1 1 0!important;
  width:auto!important;
  min-width:0!important;
  margin:0!important;
}
@media (max-width:600px){
  body.single-product .nsd-single-product-page form.variations_form .woocommerce-variation-add-to-cart{
    flex-wrap:wrap!important;
  }
  body.single-product .nsd-single-product-page form.variations_form .woocommerce-variation-add-to-cart .single_add_to_cart_button,
  body.single-product .nsd-single-product-page form.variations_form .woocommerce-variation-add-to-cart .nsd-buy-now{
    flex:1 1 calc(50% - 42px)!important;
  }
}


/* =========================================================
 * V100.18 — VARIABLE PRODUCT OPTIONS + ACTION ROWS ONLY
 * Keep variation attributes (e.g. Size + Colour) together on
 * their own row, and keep Qty / Add to cart / Buy Now on a
 * completely separate full-width row. Simple products untouched.
 * ========================================================= */
body.single-product .nsd-single-product-page form.variations_form{
  display:flex!important;
  flex-wrap:wrap!important;
  align-items:stretch!important;
  gap:0!important;
}

/* Variation choices always get their own full-width row. */
body.single-product .nsd-single-product-page form.variations_form table.variations{
  display:block!important;
  flex:0 0 100%!important;
  width:100%!important;
  margin:0 0 14px!important;
}
body.single-product .nsd-single-product-page form.variations_form table.variations tbody{
  display:flex!important;
  align-items:flex-start!important;
  gap:18px!important;
  width:100%!important;
}
body.single-product .nsd-single-product-page form.variations_form table.variations tbody > tr{
  display:flex!important;
  flex:1 1 0!important;
  min-width:0!important;
  flex-direction:column!important;
  align-items:flex-start!important;
  gap:8px!important;
  margin:0!important;
}
body.single-product .nsd-single-product-page form.variations_form table.variations th.label,
body.single-product .nsd-single-product-page form.variations_form table.variations td.value{
  display:block!important;
  width:100%!important;
  padding:0!important;
  margin:0!important;
  text-align:left!important;
}
body.single-product .nsd-single-product-page form.variations_form table.variations th.label label{
  display:block!important;
  margin:0!important;
  font-weight:800!important;
}
body.single-product .nsd-single-product-page form.variations_form table.variations td.value select{
  width:100%!important;
  max-width:100%!important;
}

/* Woo variation result stays between choices and buttons. */
body.single-product .nsd-single-product-page form.variations_form .single_variation_wrap{
  flex:0 0 100%!important;
  width:100%!important;
}

/* Qty + both actions = completely separate row, same proportions as simple product. */
body.single-product .nsd-single-product-page form.variations_form .woocommerce-variation-add-to-cart{
  display:flex!important;
  align-items:stretch!important;
  flex-wrap:nowrap!important;
  gap:10px!important;
  width:100%!important;
  margin-top:12px!important;
  padding-top:0!important;
}
body.single-product .nsd-single-product-page form.variations_form .woocommerce-variation-add-to-cart .quantity{
  flex:0 0 74px!important;
  width:74px!important;
  margin:0!important;
}
body.single-product .nsd-single-product-page form.variations_form .woocommerce-variation-add-to-cart .qty{
  width:74px!important;
  height:50px!important;
}
body.single-product .nsd-single-product-page form.variations_form .woocommerce-variation-add-to-cart .single_add_to_cart_button,
body.single-product .nsd-single-product-page form.variations_form .woocommerce-variation-add-to-cart .nsd-buy-now{
  flex:1 1 0!important;
  width:0!important;
  min-width:0!important;
  max-width:none!important;
  margin:0!important;
  white-space:nowrap!important;
  overflow:visible!important;
}

@media (max-width:600px){
  body.single-product .nsd-single-product-page form.variations_form table.variations tbody{
    gap:10px!important;
  }
  body.single-product .nsd-single-product-page form.variations_form table.variations tbody > tr{
    min-width:0!important;
  }
  body.single-product .nsd-single-product-page form.variations_form .woocommerce-variation-add-to-cart{
    flex-wrap:nowrap!important;
    gap:8px!important;
  }
  body.single-product .nsd-single-product-page form.variations_form .woocommerce-variation-add-to-cart .quantity,
  body.single-product .nsd-single-product-page form.variations_form .woocommerce-variation-add-to-cart .qty{
    flex-basis:62px!important;
    width:62px!important;
  }
  body.single-product .nsd-single-product-page form.variations_form .woocommerce-variation-add-to-cart .single_add_to_cart_button,
  body.single-product .nsd-single-product-page form.variations_form .woocommerce-variation-add-to-cart .nsd-buy-now{
    padding-left:10px!important;
    padding-right:10px!important;
    font-size:13px!important;
  }
}


/* =========================================================
 * V100.19 — VARIABLE PRODUCT: OPTIONS ROW + ACTION ROW
 * ONLY variable product layout is affected.
 *
 * ROW 1: Size / Colour / other variation attributes
 * ROW 2: Qty | Add to cart | Buy Now
 *
 * Simple products and all other theme areas are untouched.
 * ========================================================= */

/* Stop old flex rules from squeezing the action buttons. */
body.single-product .nsd-single-product-page form.cart.variations_form{
  display:block!important;
  width:100%!important;
}

/* ---------- VARIATION OPTIONS: THEIR OWN FULL ROW ---------- */
body.single-product .nsd-single-product-page form.variations_form table.variations{
  display:block!important;
  width:100%!important;
  margin:0 0 18px!important;
  clear:both!important;
}

body.single-product .nsd-single-product-page form.variations_form table.variations tbody{
  display:flex!important;
  width:100%!important;
  gap:18px!important;
  align-items:flex-start!important;
}

body.single-product .nsd-single-product-page form.variations_form table.variations tbody > tr{
  display:block!important;
  flex:1 1 0!important;
  min-width:0!important;
  margin:0!important;
}

body.single-product .nsd-single-product-page form.variations_form table.variations th.label,
body.single-product .nsd-single-product-page form.variations_form table.variations td.value{
  display:block!important;
  width:100%!important;
  padding:0!important;
  margin:0!important;
  text-align:left!important;
}

body.single-product .nsd-single-product-page form.variations_form table.variations th.label{
  margin-bottom:9px!important;
}

body.single-product .nsd-single-product-page form.variations_form table.variations th.label label{
  margin:0!important;
  font-weight:800!important;
}

/* Keep WooCommerce's variation result between options and buttons. */
body.single-product .nsd-single-product-page form.variations_form .single_variation_wrap{
  display:block!important;
  width:100%!important;
  clear:both!important;
}

body.single-product .nsd-single-product-page form.variations_form .single_variation{
  width:100%!important;
  clear:both!important;
}

/* ---------- BUTTONS: COMPLETELY SEPARATE FULL-WIDTH ROW ---------- */
body.single-product .nsd-single-product-page form.variations_form .woocommerce-variation-add-to-cart,
body.single-product .nsd-single-product-page form.variations_form .woocommerce-variation-add-to-cart.variations_button{
  display:grid!important;
  grid-template-columns:74px minmax(0,1fr) minmax(0,1fr)!important;
  gap:10px!important;
  align-items:stretch!important;
  width:100%!important;
  max-width:none!important;
  clear:both!important;
  margin:16px 0 0!important;
  padding:0!important;
}

body.single-product .nsd-single-product-page form.variations_form .woocommerce-variation-add-to-cart .quantity{
  width:74px!important;
  min-width:74px!important;
  max-width:74px!important;
  margin:0!important;
}

body.single-product .nsd-single-product-page form.variations_form .woocommerce-variation-add-to-cart .qty{
  display:block!important;
  width:74px!important;
  min-width:74px!important;
  max-width:74px!important;
  height:50px!important;
  margin:0!important;
}

body.single-product .nsd-single-product-page form.variations_form .woocommerce-variation-add-to-cart .single_add_to_cart_button,
body.single-product .nsd-single-product-page form.variations_form .woocommerce-variation-add-to-cart .nsd-buy-now{
  display:block!important;
  width:100%!important;
  min-width:0!important;
  max-width:none!important;
  height:50px!important;
  margin:0!important;
  padding:0 20px!important;
  line-height:50px!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}

/* Do not let disabled variable Add to cart visually collapse. */
body.single-product .nsd-single-product-page form.variations_form .woocommerce-variation-add-to-cart .single_add_to_cart_button.disabled,
body.single-product .nsd-single-product-page form.variations_form .woocommerce-variation-add-to-cart .single_add_to_cart_button:disabled{
  width:100%!important;
  min-width:0!important;
}

/* Mobile: variation attributes can wrap, but action buttons remain a clean row. */
@media (max-width:600px){
  body.single-product .nsd-single-product-page form.variations_form table.variations tbody{
    flex-wrap:wrap!important;
    gap:12px!important;
  }

  body.single-product .nsd-single-product-page form.variations_form table.variations tbody > tr{
    flex:1 1 calc(50% - 6px)!important;
  }

  body.single-product .nsd-single-product-page form.variations_form .woocommerce-variation-add-to-cart,
  body.single-product .nsd-single-product-page form.variations_form .woocommerce-variation-add-to-cart.variations_button{
    grid-template-columns:62px minmax(0,1fr) minmax(0,1fr)!important;
    gap:8px!important;
  }

  body.single-product .nsd-single-product-page form.variations_form .woocommerce-variation-add-to-cart .quantity,
  body.single-product .nsd-single-product-page form.variations_form .woocommerce-variation-add-to-cart .qty{
    width:62px!important;
    min-width:62px!important;
    max-width:62px!important;
  }

  body.single-product .nsd-single-product-page form.variations_form .woocommerce-variation-add-to-cart .single_add_to_cart_button,
  body.single-product .nsd-single-product-page form.variations_form .woocommerce-variation-add-to-cart .nsd-buy-now{
    padding-left:8px!important;
    padding-right:8px!important;
    font-size:13px!important;
  }
}


/* =========================================================
 * V100.20 — Compact & polished variable product box
 * ONLY variable product variation/action area is affected.
 * ========================================================= */

body.single-product .nsd-single-product-page form.variations_form{
  background:#f7f9fc!important;
  border:1px solid #dbe4f0!important;
  border-radius:16px!important;
  padding:16px!important;
  box-shadow:0 6px 18px rgba(9,39,86,.05)!important;
}

body.single-product .nsd-single-product-page form.variations_form table.variations{
  margin:0 0 10px!important;
}

body.single-product .nsd-single-product-page form.variations_form table.variations th.label{
  margin-bottom:6px!important;
}

body.single-product .nsd-single-product-page form.variations_form table.variations th.label label{
  font-size:15px!important;
  line-height:1.2!important;
}

body.single-product .nsd-single-product-page form.variations_form table.variations td.value{
  line-height:1!important;
}

body.single-product .nsd-single-product-page form.variations_form table.variations td.value select{
  height:38px!important;
  min-height:38px!important;
}

body.single-product .nsd-single-product-page form.variations_form .reset_variations{
  display:inline-block!important;
  margin-top:6px!important;
  font-size:12px!important;
  line-height:1.2!important;
}

/* Compact the variation price / stock area. */
body.single-product .nsd-single-product-page form.variations_form .single_variation{
  margin:4px 0 8px!important;
  min-height:0!important;
  line-height:1.25!important;
}

body.single-product .nsd-single-product-page form.variations_form .woocommerce-variation-price,
body.single-product .nsd-single-product-page form.variations_form .woocommerce-variation-availability{
  margin:0 0 6px!important;
}

body.single-product .nsd-single-product-page form.variations_form .stock{
  display:inline-block!important;
  margin:0!important;
  padding:6px 10px!important;
  border-radius:999px!important;
  font-size:13px!important;
  line-height:1!important;
}

/* Keep the action row tight and balanced. */
body.single-product .nsd-single-product-page form.variations_form .woocommerce-variation-add-to-cart,
body.single-product .nsd-single-product-page form.variations_form .woocommerce-variation-add-to-cart.variations_button{
  margin:8px 0 0!important;
  gap:10px!important;
}

body.single-product .nsd-single-product-page form.variations_form .woocommerce-variation-add-to-cart .qty,
body.single-product .nsd-single-product-page form.variations_form .woocommerce-variation-add-to-cart .single_add_to_cart_button,
body.single-product .nsd-single-product-page form.variations_form .woocommerce-variation-add-to-cart .nsd-buy-now{
  height:46px!important;
  line-height:46px!important;
  border-radius:10px!important;
}

@media (max-width:600px){
  body.single-product .nsd-single-product-page form.variations_form{
    padding:12px!important;
    border-radius:14px!important;
  }
}

/* =========================================================
 * V100.21 — Compact one-line variation option rows
 * Size/Colour each stay on their own single line:
 * Label + selected value | choices | Clear
 * Action row remains unchanged.
 * ========================================================= */
body.single-product .nsd-single-product-page form.variations_form table.variations{
  margin:0 0 8px!important;
}
body.single-product .nsd-single-product-page form.variations_form table.variations tbody{
  display:block!important;
  width:100%!important;
}
body.single-product .nsd-single-product-page form.variations_form table.variations tbody > tr{
  display:grid!important;
  grid-template-columns:max-content minmax(0,1fr)!important;
  column-gap:16px!important;
  align-items:center!important;
  width:100%!important;
  min-height:42px!important;
  padding:4px 0!important;
  margin:0!important;
}
body.single-product .nsd-single-product-page form.variations_form table.variations tbody > tr + tr{
  border-top:1px solid #e7edf5!important;
}
body.single-product .nsd-single-product-page form.variations_form table.variations th.label{
  display:flex!important;
  align-items:center!important;
  gap:4px!important;
  width:auto!important;
  min-width:0!important;
  margin:0!important;
  padding:0!important;
  white-space:nowrap!important;
}
body.single-product .nsd-single-product-page form.variations_form table.variations th.label label{
  display:inline!important;
  margin:0!important;
  font-size:15px!important;
  line-height:1!important;
  font-weight:800!important;
  white-space:nowrap!important;
}
body.single-product .nsd-single-product-page form.variations_form table.variations th.label .woo-selected-variation-item-name,
body.single-product .nsd-single-product-page form.variations_form table.variations th.label span{
  display:inline!important;
  margin:0!important;
  line-height:1!important;
  white-space:nowrap!important;
}
body.single-product .nsd-single-product-page form.variations_form table.variations td.value{
  display:flex!important;
  align-items:center!important;
  flex-wrap:wrap!important;
  gap:7px!important;
  width:100%!important;
  margin:0!important;
  padding:0!important;
  min-width:0!important;
}
/* The old global Clear is replaced by one Clear for each attribute row. */
body.single-product .nsd-single-product-page form.variations_form table.variations .reset_variations{
  display:none!important;
}
body.single-product .nsd-single-product-page .nsd-variation-row-clear{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  height:32px!important;
  min-width:58px!important;
  margin:0 0 0 5px!important;
  padding:0 12px!important;
  border:1px solid #cbd6e5!important;
  border-radius:8px!important;
  background:#fff!important;
  color:#071f52!important;
  font-size:12px!important;
  font-weight:800!important;
  line-height:1!important;
  text-decoration:none!important;
  cursor:pointer!important;
  box-shadow:none!important;
}
body.single-product .nsd-single-product-page .nsd-variation-row-clear:hover{
  border-color:#ffb000!important;
  background:#fff7e5!important;
}
body.single-product .nsd-single-product-page form.variations_form .single_variation{
  margin:2px 0 5px!important;
}
body.single-product .nsd-single-product-page form.variations_form .woocommerce-variation-add-to-cart,
body.single-product .nsd-single-product-page form.variations_form .woocommerce-variation-add-to-cart.variations_button{
  margin-top:6px!important;
}
@media (max-width:600px){
  body.single-product .nsd-single-product-page form.variations_form table.variations tbody > tr{
    grid-template-columns:1fr!important;
    row-gap:7px!important;
    padding:7px 0!important;
  }
  body.single-product .nsd-single-product-page form.variations_form table.variations td.value{
    gap:6px!important;
  }
}


/* =========================================================
 * V100.22 — Clear selected variation styling
 * ONLY variation option buttons/swatches are affected.
 * Selected = NSD navy + white bold text.
 * Unselected = white + navy border/text.
 * ========================================================= */

body.single-product .nsd-single-product-page form.variations_form
.variation-radios label,
body.single-product .nsd-single-product-page form.variations_form
.variable-item,
body.single-product .nsd-single-product-page form.variations_form
.woo-variation-raw-select + .button-variable-item,
body.single-product .nsd-single-product-page form.variations_form
.variation-option{
  background:#ffffff!important;
  color:#0b2a63!important;
  border:1.5px solid #b9c7da!important;
  border-radius:7px!important;
  font-weight:700!important;
  transition:all .15s ease!important;
}

/* Common selected/active classes used by variation plugins/themes */
body.single-product .nsd-single-product-page form.variations_form
.variable-item.selected,
body.single-product .nsd-single-product-page form.variations_form
.variable-item[aria-checked="true"],
body.single-product .nsd-single-product-page form.variations_form
.variation-radios input[type="radio"]:checked + label,
body.single-product .nsd-single-product-page form.variations_form
.variation-option.selected,
body.single-product .nsd-single-product-page form.variations_form
.variation-option.active,
body.single-product .nsd-single-product-page form.variations_form
.button-variable-item.selected{
  background:#0b2a63!important;
  color:#ffffff!important;
  border-color:#0b2a63!important;
  box-shadow:0 0 0 2px rgba(11,42,99,.12)!important;
  font-weight:800!important;
}

/* Keep selected swatch text/icon readable */
body.single-product .nsd-single-product-page form.variations_form
.variable-item.selected *,
body.single-product .nsd-single-product-page form.variations_form
.variable-item[aria-checked="true"] *,
body.single-product .nsd-single-product-page form.variations_form
.variation-radios input[type="radio"]:checked + label *{
  color:#ffffff!important;
}

/* Hover only for unselected options */
body.single-product .nsd-single-product-page form.variations_form
.variable-item:not(.selected):hover,
body.single-product .nsd-single-product-page form.variations_form
.variation-radios label:hover,
body.single-product .nsd-single-product-page form.variations_form
.variation-option:not(.selected):hover{
  border-color:#0b2a63!important;
  background:#f2f6fb!important;
}


/* =========================================================
   V100.36 — Shop sorting label + centered discount badge
   ========================================================= */
/* Keep the percentage badge exactly centered on product cards. */
body:not(.nsd-list-view) .woocommerce ul.products li.product span.onsale.nsd-percentage-sale-badge,
body:not(.nsd-list-view) .woocommerce-page ul.products li.product span.onsale.nsd-percentage-sale-badge{
  left:50%!important;
  right:auto!important;
  transform:translateX(-50%)!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  text-align:center!important;
  white-space:nowrap!important;
}

/* NSD MART V100.37 - polished shop pagination + filter header icon */
.woocommerce nav.woocommerce-pagination ul,
.woocommerce-pagination ul.page-numbers{
  display:flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;
  border:0!important;margin:28px auto 10px!important;padding:0!important;overflow:visible!important;
}
.woocommerce nav.woocommerce-pagination ul li,
.woocommerce-pagination ul.page-numbers li{border:0!important;margin:0!important;float:none!important;overflow:visible!important}
.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span,
.woocommerce-pagination .page-numbers li a,
.woocommerce-pagination .page-numbers li span{
  min-width:42px!important;height:42px!important;padding:0 13px!important;display:flex!important;align-items:center!important;justify-content:center!important;
  border:1px solid #d8e0ee!important;border-radius:10px!important;background:#fff!important;color:#12356f!important;
  font-weight:800!important;font-size:15px!important;line-height:42px!important;box-shadow:0 4px 12px rgba(15,47,105,.08)!important;
  transition:all .18s ease!important;text-decoration:none!important;
}
.woocommerce nav.woocommerce-pagination ul li a:hover,
.woocommerce-pagination .page-numbers li a:hover{background:#eef4ff!important;border-color:#1d55b3!important;color:#0b347c!important;transform:translateY(-1px)}
.woocommerce nav.woocommerce-pagination ul li span.current,
.woocommerce-pagination .page-numbers li span.current{
  background:linear-gradient(135deg,#0b2f72,#1d59bb)!important;border-color:#164c9f!important;color:#fff!important;
  box-shadow:0 7px 16px rgba(16,67,151,.24)!important;
}
.nsd71-filter-head strong{display:flex!important;align-items:center!important;gap:9px!important}
.nsd71-filter-head strong:before{
  content:"";width:20px;height:20px;display:inline-block;flex:0 0 20px;
  background:no-repeat center/20px 20px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 5h16M7 12h10M10 19h4'/%3E%3C/svg%3E");
}

/* =========================================================
   V100.38 — Shop controls visual correction
   Recommended dropdown, Reset icon, discount badge centering
   ========================================================= */
/* Premium Recommended sorting control */
body.woocommerce-shop .woocommerce-ordering,
body.post-type-archive-product .woocommerce-ordering,
body.tax-product_cat .woocommerce-ordering,
body.tax-product_tag .woocommerce-ordering{
  position:relative!important;
  display:inline-flex!important;
  align-items:center!important;
  min-width:220px!important;
  margin:0 0 12px!important;
}
body.woocommerce-shop .woocommerce-ordering:before,
body.post-type-archive-product .woocommerce-ordering:before,
body.tax-product_cat .woocommerce-ordering:before,
body.tax-product_tag .woocommerce-ordering:before{
  content:"★"!important;
  position:absolute!important;
  left:13px!important;
  top:50%!important;
  transform:translateY(-50%)!important;
  z-index:2!important;
  color:#fff!important;
  font-size:13px!important;
  pointer-events:none!important;
}
body.woocommerce-shop .woocommerce-ordering select,
body.post-type-archive-product .woocommerce-ordering select,
body.tax-product_cat .woocommerce-ordering select,
body.tax-product_tag .woocommerce-ordering select{
  appearance:none!important;-webkit-appearance:none!important;
  width:220px!important;max-width:220px!important;height:42px!important;
  padding:0 42px 0 36px!important;
  border:1px solid #164b9b!important;border-radius:10px!important;
  background:linear-gradient(135deg,#0b2f72,#1d59bb)!important;
  color:#fff!important;font-size:14px!important;font-weight:800!important;
  box-shadow:0 5px 14px rgba(11,47,114,.18)!important;
  cursor:pointer!important;outline:none!important;
}
body.woocommerce-shop .woocommerce-ordering:after,
body.post-type-archive-product .woocommerce-ordering:after,
body.tax-product_cat .woocommerce-ordering:after,
body.tax-product_tag .woocommerce-ordering:after{
  content:"⌄"!important;position:absolute!important;right:14px!important;top:47%!important;
  transform:translateY(-50%)!important;color:#fff!important;font-size:18px!important;font-weight:900!important;pointer-events:none!important;
}
body.woocommerce-shop .woocommerce-ordering select option,
body.post-type-archive-product .woocommerce-ordering select option,
body.tax-product_cat .woocommerce-ordering select option,
body.tax-product_tag .woocommerce-ordering select option{background:#fff!important;color:#102c5c!important;font-weight:700!important}

/* Reset all: clear/reset icon inside the button */
.nsd71-head-actions a{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:6px!important;min-height:40px!important}
.nsd71-head-actions a:before{
  content:"↻"!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;
  width:19px!important;height:19px!important;border-radius:50%!important;background:rgba(255,255,255,.16)!important;
  color:#fff!important;font-size:16px!important;font-weight:900!important;line-height:1!important;
}

/* Force every automatic % OFF badge to the exact horizontal centre of its product card. */
body:not(.nsd-list-view) ul.products li.product{position:relative!important}
body:not(.nsd-list-view) ul.products li.product > span.onsale.nsd-percentage-sale-badge,
body:not(.nsd-list-view) ul.products li.product span.onsale.nsd-percentage-sale-badge{
  position:absolute!important;
  top:8px!important;
  left:50%!important;
  right:auto!important;
  margin:0!important;
  transform:translateX(-50%)!important;
  min-width:78px!important;
  height:28px!important;
  padding:0 10px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  text-align:center!important;
  line-height:28px!important;
  border-radius:8px!important;
  white-space:nowrap!important;
  box-sizing:border-box!important;
  z-index:20!important;
}
@media(max-width:640px){
  body.woocommerce-shop .woocommerce-ordering,
  body.post-type-archive-product .woocommerce-ordering,
  body.tax-product_cat .woocommerce-ordering,
  body.tax-product_tag .woocommerce-ordering{min-width:100%!important;width:100%!important}
  body.woocommerce-shop .woocommerce-ordering select,
  body.post-type-archive-product .woocommerce-ordering select,
  body.tax-product_cat .woocommerce-ordering select,
  body.tax-product_tag .woocommerce-ordering select{width:100%!important;max-width:none!important}
}

/* =========================================================
   NSD MART V100.41 — Safe uniform gap above Quick View / Compare
   Based on V100.39. No card sizing/flex/grid overrides.
   ========================================================= */
.woocommerce ul.products li.product .nsd-card-actions,
.single-product .related.products ul.products li.product .nsd-card-actions,
.single-product .upsells.products ul.products li.product .nsd-card-actions,
.woocommerce-cart .cross-sells ul.products li.product .nsd-card-actions,
.single-product .nsd-recently-viewed ul.products li.product .nsd-card-actions,
.nsd-recently-viewed ul.products li.product .nsd-card-actions{
  margin-top:10px!important;
}


/* =========================================================
   NSD MART V100.44 — Homepage equal card height + clean action spacing
   Keeps simple and variable product cards aligned without changing card width.
   ========================================================= */
@media (min-width:641px){
  body.home .nsd-section ul.products,
  body.home .nsd-section .woocommerce ul.products{
    align-items:stretch!important;
  }

  body.home .nsd-section ul.products li.product,
  body.home .nsd-section ul.products[class*=columns-] li.product{
    align-self:stretch!important;
    height:100%!important;
    box-sizing:border-box!important;
    display:flex!important;
    flex-direction:column!important;
  }

  /* Let the product info area absorb natural content differences (rating/no rating,
     short/long title), so every action block starts at the same height. */
  body.home .nsd-section ul.products li.product > a.woocommerce-LoopProduct-link{
    flex:1 1 auto!important;
    display:flex!important;
    flex-direction:column!important;
    min-height:0!important;
  }

  body.home .nsd-section ul.products li.product .woocommerce-loop-product__title{
    min-height:42px!important;
  }

  body.home .nsd-section ul.products li.product .price{
    min-height:23px!important;
  }

  body.home .nsd-section ul.products li.product .nsd-loop-extras{
    min-height:40px!important;
    margin-bottom:10px!important;
  }

  /* The main CTA should no longer create a different auto-gap per card. */
  body.home .nsd-section ul.products li.product > .button,
  body.home .nsd-section ul.products li.product > a.button{
    margin-top:0!important;
  }

  /* Wishlist has one consistent gap below the main CTA. */
  body.home .nsd-section ul.products li.product .tinvwl_add_to_wishlist_button,
  body.home .nsd-section ul.products li.product .woosw-btn,
  body.home .nsd-section ul.products li.product .add_to_wishlist{
    margin-top:8px!important;
    margin-bottom:0!important;
  }

  /* Quick View / Compare gets the same visible gap on every card.
     This intentionally overrides the Customizer's old margin-top:auto rule. */
  body.home .nsd-section ul.products li.product .nsd-card-actions{
    margin-top:8px!important;
    margin-bottom:0!important;
    flex:0 0 auto!important;
  }
}

@media (max-width:640px){
  /* Keep mobile spacing consistent too, without forcing desktop equal heights. */
  body.home .nsd-section ul.products li.product .tinvwl_add_to_wishlist_button,
  body.home .nsd-section ul.products li.product .woosw-btn,
  body.home .nsd-section ul.products li.product .add_to_wishlist{
    margin-top:8px!important;
    margin-bottom:0!important;
  }
  body.home .nsd-section ul.products li.product .nsd-card-actions{
    margin-top:8px!important;
    margin-bottom:0!important;
  }
}

/* =========================================================
   NSD MART V100.44 — Homepage cards stay equal even when ratings appear
   Rating/no-rating content may differ, but the card and action block stay aligned.
   ========================================================= */
@media (min-width:641px){
  /* In the horizontal homepage slider, let flexbox stretch every card to the
     tallest card in that row. Do not force height:100%, because that prevents
     normal cross-axis stretching in this slider. */
  body.home .nsd-product-slider ul.products,
  body.home .nsd-product-slider .woocommerce ul.products{
    align-items:stretch!important;
  }
  body.home .nsd-product-slider ul.products li.product,
  body.home .nsd-product-slider ul.products[class*=columns-] li.product{
    height:auto!important;
    align-self:stretch!important;
    display:flex!important;
    flex-direction:column!important;
  }

  /* Push Add to cart / Select options to the common bottom action area.
     This absorbs differences caused by stars, sale rows, etc. */
  body.home .nsd-product-slider ul.products li.product > .button,
  body.home .nsd-product-slider ul.products li.product > a.button{
    margin-top:auto!important;
  }

  /* Keep the already-approved spacing between the three action levels. */
  body.home .nsd-product-slider ul.products li.product .tinvwl_add_to_wishlist_button,
  body.home .nsd-product-slider ul.products li.product .woosw-btn,
  body.home .nsd-product-slider ul.products li.product .add_to_wishlist{
    margin-top:8px!important;
    margin-bottom:0!important;
  }
  body.home .nsd-product-slider ul.products li.product .nsd-card-actions{
    margin-top:8px!important;
    margin-bottom:0!important;
    flex:0 0 auto!important;
  }
}

/* =========================================================
   NSD MART V100.44 — Shop page equal action spacing
   Shop-only override with higher specificity than Customizer auto margins.
   Keeps product card sizing unchanged.
   ========================================================= */
body.woocommerce-shop .nsd-shop-main ul.products li.product .tinvwl_add_to_wishlist_button,
body.woocommerce-shop .nsd-shop-main ul.products li.product .woosw-btn,
body.woocommerce-shop .nsd-shop-main ul.products li.product .add_to_wishlist,
body.post-type-archive-product .nsd-shop-main ul.products li.product .tinvwl_add_to_wishlist_button,
body.post-type-archive-product .nsd-shop-main ul.products li.product .woosw-btn,
body.post-type-archive-product .nsd-shop-main ul.products li.product .add_to_wishlist,
body.tax-product_cat .nsd-shop-main ul.products li.product .tinvwl_add_to_wishlist_button,
body.tax-product_cat .nsd-shop-main ul.products li.product .woosw-btn,
body.tax-product_cat .nsd-shop-main ul.products li.product .add_to_wishlist,
body.tax-product_tag .nsd-shop-main ul.products li.product .tinvwl_add_to_wishlist_button,
body.tax-product_tag .nsd-shop-main ul.products li.product .woosw-btn,
body.tax-product_tag .nsd-shop-main ul.products li.product .add_to_wishlist{
  margin-top:8px!important;
  margin-bottom:0!important;
}

body.woocommerce-shop .nsd-shop-main ul.products li.product .nsd-card-actions,
body.post-type-archive-product .nsd-shop-main ul.products li.product .nsd-card-actions,
body.tax-product_cat .nsd-shop-main ul.products li.product .nsd-card-actions,
body.tax-product_tag .nsd-shop-main ul.products li.product .nsd-card-actions{
  margin-top:8px!important;
  margin-bottom:0!important;
}

/* =========================================================
   NSD MART V100.45 — Shop view buttons / Recommended spacing
   Adds a clean equal gap between Grid/List controls and sorting control only.
   ========================================================= */
body.woocommerce-shop .nsd-product-view-toggle,
body.post-type-archive-product .nsd-product-view-toggle,
body.tax-product_cat .nsd-product-view-toggle,
body.tax-product_tag .nsd-product-view-toggle{
  gap:8px!important;
  margin-right:8px!important;
}

/* =========================================================
   V100.46 — Sale badge right aligned; HOT/NEW remain left
   Only badge positioning changed.
   ========================================================= */
body:not(.nsd-list-view) .woocommerce ul.products li.product > span.onsale.nsd-percentage-sale-badge,
body:not(.nsd-list-view) .woocommerce ul.products li.product span.onsale.nsd-percentage-sale-badge,
body:not(.nsd-list-view) .woocommerce-page ul.products li.product > span.onsale.nsd-percentage-sale-badge,
body:not(.nsd-list-view) .woocommerce-page ul.products li.product span.onsale.nsd-percentage-sale-badge{
  left:auto!important;
  right:10px!important;
  transform:none!important;
  text-align:center!important;
  justify-content:center!important;
}

/* =========================================================
   NSD MART V100.47 — Shop page % OFF badge right side
   Explicit shop/archive selectors; HOT/NEW untouched.
   ========================================================= */
body.woocommerce-shop:not(.nsd-list-view) ul.products li.product span.onsale.nsd-percentage-sale-badge,
body.post-type-archive-product:not(.nsd-list-view) ul.products li.product span.onsale.nsd-percentage-sale-badge,
body.tax-product_cat:not(.nsd-list-view) ul.products li.product span.onsale.nsd-percentage-sale-badge,
body.tax-product_tag:not(.nsd-list-view) ul.products li.product span.onsale.nsd-percentage-sale-badge{
  left:auto!important;
  right:10px!important;
  margin-left:0!important;
  margin-right:0!important;
  transform:none!important;
  text-align:center!important;
  justify-content:center!important;
}
