/*
Theme Name: NovaShop Advanced Marketplace
Theme URI: https://example.com/novashop-advanced-marketplace
Author: OpenAI
Description: Advanced Bangla WooCommerce marketplace theme with category search, dynamic product sections, direct checkout Buy Now, responsive mobile navigation, editable logo, and Elementor Theme Builder compatibility.
Version: 3.0.0
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 8.0
Text Domain: novashop
*/

:root{
  --ns-accent:#f85606;
  --ns-accent-dark:#d94700;
  --ns-accent-soft:#fff1e9;
  --ns-bg:#f3f4f6;
  --ns-card:#fff;
  --ns-text:#20242b;
  --ns-muted:#747983;
  --ns-line:#e5e7eb;
  --ns-dark:#151821;
  --ns-green:#139b63;
  --ns-yellow:#ffb300;
  --ns-radius:14px;
  --ns-shadow:0 12px 34px rgba(29,33,44,.09);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--ns-bg);color:var(--ns-text);font-family:"Noto Sans Bengali","Hind Siliguri","Segoe UI",Arial,sans-serif;font-size:15px;line-height:1.55}
body.ns-menu-open{overflow:hidden}
a{color:inherit;text-decoration:none}
img{display:block;max-width:100%;height:auto}
button,input,select,textarea{font:inherit}
button{cursor:pointer}
.ns-container{width:min(1280px,calc(100% - 32px));margin:0 auto}
.ns-site-main{min-height:58vh}
.screen-reader-text{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.ns-empty-note{padding:20px;background:#fff;border:1px solid var(--ns-line);border-radius:12px;color:var(--ns-muted)}

/* Header */
.ns-header{position:sticky;top:0;z-index:90;background:#fff;box-shadow:0 3px 14px rgba(20,24,32,.09)}
.admin-bar .ns-header{top:32px}
.ns-topbar{background:#242833;color:#e9ecf2;font-size:12px}
.ns-topbar-inner{min-height:32px;display:flex;align-items:center;justify-content:space-between;gap:20px}
.ns-top-links{display:flex;gap:18px}
.ns-top-links a:hover{color:#fff}
.ns-header-main{background:linear-gradient(108deg,var(--ns-accent),#ff6b1c);color:#fff}
.ns-nav{min-height:82px;display:grid;grid-template-columns:minmax(170px,220px) minmax(420px,1fr) auto;gap:22px;align-items:center}
.ns-mobile-menu-toggle{display:none}
.ns-brand{min-width:0;font-size:24px;font-weight:950}
.ns-brand .custom-logo-link{display:inline-flex;align-items:center}
.ns-brand .custom-logo{width:auto;max-width:210px;max-height:54px;object-fit:contain}
.ns-brand-text{display:flex;align-items:center;gap:9px;color:#fff}
.ns-brand-mark{width:40px;height:40px;display:grid;place-items:center;border-radius:12px;background:#fff;color:var(--ns-accent);box-shadow:0 6px 18px rgba(90,25,0,.16)}
.ns-product-search{height:50px;display:grid;grid-template-columns:155px 1fr 58px;background:#fff;border-radius:10px;overflow:hidden;box-shadow:0 4px 18px rgba(110,37,0,.15)}
.ns-product-search select{min-width:0;padding:0 12px;border:0;border-right:1px solid var(--ns-line);outline:0;background:#fff;color:#555b64;font-size:12px}
.ns-product-search input[type="search"]{min-width:0;border:0;outline:0;padding:0 18px;color:#25272b;background:#fff;font-size:15px}
.ns-product-search input[type="search"]::placeholder{color:#9b9fa7}
.ns-product-search button{border:0;background:#fff0e8;color:var(--ns-accent);display:grid;place-items:center;transition:.18s}
.ns-product-search button:hover{background:#ffe0cf}
.ns-product-search svg{width:23px;height:23px;fill:currentColor}
.ns-header-actions{display:flex;align-items:center;gap:5px}
.ns-header-action{position:relative;min-height:48px;display:flex;align-items:center;gap:8px;padding:7px 9px;border-radius:9px;color:#fff;transition:.18s}
.ns-header-action:hover{background:rgba(255,255,255,.13)}
.ns-action-icon{font-size:23px;line-height:1}
.ns-action-copy{display:flex;flex-direction:column;line-height:1.12}
.ns-action-copy small{font-size:10px;opacity:.82}
.ns-action-copy strong{font-size:13px}
.ns-cart-count{position:absolute;top:1px;left:24px;min-width:20px;height:20px;padding:0 5px;display:grid;place-items:center;border-radius:999px;background:#fff;color:var(--ns-accent);font-size:11px;font-weight:900;border:1px solid rgba(248,86,6,.2)}
.ns-header-menu-row{background:#fff;border-bottom:1px solid var(--ns-line)}
.ns-header-menu-inner{min-height:46px;display:flex;align-items:center;gap:22px}
.ns-all-products{height:46px;display:flex;align-items:center;gap:8px;font-weight:850;color:var(--ns-accent);white-space:nowrap}
.ns-category-strip{display:flex;align-items:center;gap:20px;min-width:0;flex:1;overflow:auto;scrollbar-width:none}
.ns-category-strip::-webkit-scrollbar{display:none}
.ns-category-strip a{white-space:nowrap;color:#4b5058;font-size:13px;font-weight:650}
.ns-category-strip a:hover{color:var(--ns-accent)}
.ns-primary-menu{margin-left:auto}
.ns-menu{min-height:46px;display:flex;align-items:center;gap:20px;list-style:none;padding:0;margin:0;font-size:13px;font-weight:700}
.ns-menu a{white-space:nowrap}
.ns-menu a:hover{color:var(--ns-accent)}
.ns-mobile-panel{position:fixed;inset:0;z-index:200;background:rgba(15,18,25,.58);backdrop-filter:blur(4px)}
.ns-mobile-panel[hidden]{display:none}
.ns-mobile-panel-inner{width:min(86vw,360px);height:100%;padding:18px;background:#fff;box-shadow:10px 0 40px rgba(0,0,0,.2);overflow:auto}
.ns-mobile-panel-head{display:flex;align-items:center;justify-content:space-between;padding-bottom:14px;border-bottom:1px solid var(--ns-line)}
.ns-mobile-panel-close{width:38px;height:38px;border:0;border-radius:50%;background:#f3f4f6;font-size:26px;line-height:1}
.ns-mobile-panel-shop{display:block;margin:15px 0;padding:12px 14px;border-radius:10px;background:var(--ns-accent);color:#fff;font-weight:850}
.ns-mobile-category-list{display:grid;gap:2px;padding-bottom:14px;border-bottom:1px solid var(--ns-line)}
.ns-mobile-category-list a{padding:10px 4px;color:#4c5159}
.ns-mobile-menu{list-style:none;margin:14px 0 0;padding:0}
.ns-mobile-menu li a{display:block;padding:10px 4px}

/* Hero */
.ns-hero{padding:18px 0 8px}
.ns-market-hero{display:grid;grid-template-columns:210px minmax(0,1fr) 260px;gap:14px;align-items:stretch}
.ns-category-sidebar{height:100%;padding:10px;background:#fff;border-radius:14px;box-shadow:0 4px 15px rgba(28,33,44,.05)}
.ns-category-sidebar-title{display:flex;align-items:center;gap:8px;padding:9px 10px 11px;border-bottom:1px solid var(--ns-line);font-weight:900;color:#252932}
.ns-category-sidebar>a{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 10px;border-radius:8px;color:#555b64;font-size:13px;transition:.16s}
.ns-category-sidebar>a:hover{background:var(--ns-accent-soft);color:var(--ns-accent);padding-left:13px}
.ns-category-sidebar>a b{font-size:20px;font-weight:400;color:#adb1b8}
.ns-category-sidebar-empty{padding:14px;color:var(--ns-muted);font-size:12px}
.ns-hero-main{position:relative;min-height:430px;padding:52px;border-radius:16px;overflow:hidden;color:#fff;background:
  linear-gradient(105deg,rgba(22,23,31,.96),rgba(52,24,20,.77) 56%,rgba(248,86,6,.30)),
  var(--ns-hero-image,linear-gradient(135deg,#1b1d26,#6d291d 65%,#f85606));
background-size:cover;background-position:center}
.ns-hero-main:after{content:"";position:absolute;inset:auto -80px -130px auto;width:310px;height:310px;border-radius:50%;background:rgba(255,255,255,.08)}
.ns-hero-copy{position:relative;z-index:2;max-width:670px}
.ns-eyebrow{display:inline-flex;padding:7px 12px;border:1px solid rgba(255,255,255,.34);border-radius:999px;background:rgba(255,255,255,.08);font-size:12px;font-weight:850}
.ns-hero-main h1{margin:17px 0 12px;font-size:clamp(42px,5vw,68px);line-height:1.05;letter-spacing:-1.2px}
.ns-hero-main p{max-width:610px;margin:0;color:#f3e9e6;font-size:16px;line-height:1.8}
.ns-hero-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:25px}
.ns-btn{min-height:46px;padding:11px 18px;display:inline-flex;align-items:center;justify-content:center;border-radius:9px;font-weight:900;transition:.18s}
.ns-btn-primary{background:#fff;color:var(--ns-accent)}
.ns-btn-primary:hover{transform:translateY(-2px);box-shadow:0 10px 24px rgba(0,0,0,.18)}
.ns-btn-ghost{border:1px solid rgba(255,255,255,.55);color:#fff;background:rgba(255,255,255,.07)}
.ns-hero-stat{position:absolute;z-index:3;right:24px;bottom:22px;padding:13px 16px;border:1px solid rgba(255,255,255,.22);border-radius:12px;background:rgba(24,26,34,.36);backdrop-filter:blur(10px);display:flex;align-items:center;gap:9px}
.ns-hero-stat span{font-size:11px;color:#e5dcd9}
.ns-hero-stat strong{font-size:19px}
.ns-hero-promo-col{display:grid;grid-template-rows:1fr 1fr;gap:14px}
.ns-promo-card{min-height:0;padding:24px;border-radius:16px;display:flex;flex-direction:column;justify-content:flex-end;box-shadow:0 6px 20px rgba(30,35,44,.07);overflow:hidden;position:relative}
.ns-promo-card:after{content:"";position:absolute;width:110px;height:110px;border-radius:50%;right:-35px;top:-35px;background:rgba(255,255,255,.35)}
.ns-promo-primary{background:linear-gradient(145deg,#fff0e6,#ffd5bd);color:#37231c}
.ns-promo-secondary{background:linear-gradient(145deg,#e8f2ff,#dce7ff);color:#1f3153}
.ns-promo-card small{font-size:11px;font-weight:900;color:var(--ns-accent)}
.ns-promo-card strong{max-width:180px;margin:7px 0 13px;font-size:25px;line-height:1.1}
.ns-promo-card span{font-size:12px;font-weight:850}

/* Benefits */
.ns-benefits{padding:10px 0 4px}
.ns-benefit-grid{display:grid;grid-template-columns:repeat(4,1fr);background:#fff;border:1px solid var(--ns-line);border-radius:14px;overflow:hidden}
.ns-benefit-grid>div{min-height:80px;padding:14px 18px;display:grid;grid-template-columns:auto 1fr;grid-template-rows:auto auto;column-gap:12px;align-content:center;border-right:1px solid var(--ns-line)}
.ns-benefit-grid>div:last-child{border-right:0}
.ns-benefit-grid>div>span{grid-row:1/3;font-size:24px;align-self:center}
.ns-benefit-grid strong{font-size:13px}
.ns-benefit-grid small{color:var(--ns-muted);font-size:11px}

/* Sections */
.ns-section{padding:26px 0}
.ns-section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:15px}
.ns-section-kicker{display:block;margin-bottom:4px;color:var(--ns-accent);font-size:11px;font-weight:950;text-transform:uppercase;letter-spacing:.08em}
.ns-section-head h2{margin:0;font-size:28px;line-height:1.2}
.ns-section-head p{margin:5px 0 0;color:var(--ns-muted);font-size:13px}
.ns-section-head>a{color:var(--ns-accent);font-weight:850;white-space:nowrap}
.ns-page-content{padding:28px 0}
.ns-flash-shell{padding:20px 20px 6px;border-radius:18px;background:linear-gradient(180deg,#fff3ec,#fff);border:1px solid #ffd9c7}
.ns-flash-head{align-items:center}
.ns-countdown{display:flex;align-items:center;gap:11px;color:#6e4b3c;font-size:12px}
.ns-countdown strong{display:flex;align-items:center;gap:4px;color:#fff;font-size:13px}
.ns-countdown b{min-width:32px;padding:7px 5px;text-align:center;border-radius:7px;background:var(--ns-accent)}
.ns-best-section{background:linear-gradient(180deg,rgba(230,237,255,.4),rgba(255,255,255,0))}
.ns-promo-band{padding:6px 0 18px}
.ns-promo-band-inner{min-height:150px;padding:28px 34px;border-radius:18px;background:linear-gradient(100deg,#1a1d26,#333948);color:#fff;display:flex;align-items:center;justify-content:space-between;gap:30px}
.ns-promo-band-inner span{color:#ffb98f;font-size:12px;font-weight:900}
.ns-promo-band-inner h2{max-width:760px;margin:6px 0 0;font-size:clamp(24px,3vw,38px);line-height:1.2}
.ns-promo-band-inner a{padding:12px 18px;border-radius:9px;background:var(--ns-accent);color:#fff;font-weight:900;white-space:nowrap}

/* Categories */
.ns-categories{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px}
.ns-category-card{min-width:0;min-height:150px;padding:15px 10px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:10px;background:#fff;border:1px solid var(--ns-line);border-radius:13px;transition:.2s}
.ns-category-card:hover{transform:translateY(-4px);border-color:#ffc5a6;box-shadow:var(--ns-shadow)}
.ns-category-thumb{width:80px;height:80px;display:grid;place-items:center;border-radius:50%;overflow:hidden;background:var(--ns-accent-soft);color:var(--ns-accent);font-size:25px;font-weight:900}
.ns-category-thumb img{width:100%;height:100%;object-fit:cover}
.ns-category-info{min-width:0;width:100%}
.ns-category-info strong{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:13px}
.ns-category-info small{color:var(--ns-muted);font-size:10px}

/* Generic content */
.ns-content-card{margin:30px auto;background:#fff;border:1px solid var(--ns-line);border-radius:14px;padding:28px}
.ns-entry-title{margin:0 0 18px;font-size:clamp(30px,4vw,48px);line-height:1.15}
.ns-entry-content{line-height:1.8}
.ns-entry-content a{text-decoration:underline}

/* WooCommerce shared */
.ns-shop-wrap{padding:24px 0 60px}
.woocommerce .woocommerce-breadcrumb{margin:2px 0 20px;color:var(--ns-muted);font-size:12px}
.woocommerce .woocommerce-result-count{color:var(--ns-muted);font-size:13px}
.woocommerce .woocommerce-ordering select{min-height:42px;padding:8px 38px 8px 12px;background:#fff;border:1px solid var(--ns-line);border-radius:8px}
.woocommerce-message,.woocommerce-info,.woocommerce-error{background:#fff!important;border-radius:10px!important;border:1px solid var(--ns-line)!important;border-top:3px solid var(--ns-accent)!important;box-shadow:0 6px 20px rgba(31,35,48,.05)}
.woocommerce-message::before,.woocommerce-info::before{color:var(--ns-accent)!important}
.woocommerce a.button,.woocommerce button.button,.woocommerce input.button,.woocommerce #respond input#submit{border-radius:8px!important;font-weight:800!important}
.woocommerce nav.woocommerce-pagination ul{border:0!important;display:flex;gap:6px}
.woocommerce nav.woocommerce-pagination ul li{border:0!important}
.woocommerce nav.woocommerce-pagination ul li a,.woocommerce nav.woocommerce-pagination ul li span{min-width:38px;height:38px;display:grid!important;place-items:center;border:1px solid var(--ns-line);border-radius:8px;background:#fff!important}
.woocommerce nav.woocommerce-pagination ul li span.current{background:var(--ns-accent)!important;color:#fff!important;border-color:var(--ns-accent)!important}

/* Product cards */
.woocommerce ul.products{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:0!important}
.woocommerce ul.products::before,.woocommerce ul.products::after{display:none!important}
.woocommerce ul.products li.product{float:none!important;width:auto!important;margin:0!important;padding:0 0 13px!important;background:#fff;border:1px solid transparent;border-radius:12px;overflow:hidden;position:relative;transition:.2s;box-shadow:0 2px 7px rgba(30,35,45,.04)}
.woocommerce ul.products li.product:hover{transform:translateY(-4px);border-color:#ffd1b8;box-shadow:0 13px 30px rgba(31,35,48,.12)}
.woocommerce ul.products li.product a.woocommerce-LoopProduct-link{display:block;overflow:hidden}
.woocommerce ul.products li.product a img{width:100%;margin:0 0 11px!important;aspect-ratio:1/1;object-fit:cover;background:#f0f1f3;transition:.28s}
.woocommerce ul.products li.product:hover a img{transform:scale(1.035)}
.woocommerce ul.products li.product .woocommerce-loop-product__title{min-height:43px;margin:0 0 6px!important;padding:0 12px!important;color:#303238;font-size:13px!important;font-weight:680!important;line-height:1.5}
.woocommerce ul.products li.product .price{display:block;padding:0 12px;color:var(--ns-accent)!important;font-size:18px!important;font-weight:950!important}
.woocommerce ul.products li.product .price del{font-size:11px;color:#9b9da3!important;font-weight:500}
.woocommerce ul.products li.product .price ins{text-decoration:none}
.woocommerce ul.products li.product .star-rating{margin:7px 12px 0!important;color:var(--ns-yellow)!important;font-size:.75em!important}
.ns-loop-meta{min-height:22px;padding:4px 12px 0;display:flex;align-items:center;justify-content:space-between;gap:7px;color:#9398a1;font-size:10px}
.ns-loop-delivery{color:var(--ns-green);font-weight:750}
.woocommerce ul.products li.product>.button{display:inline-flex!important;align-items:center;justify-content:center;width:calc(50% - 17px)!important;min-height:38px;margin:10px 3px 0 12px!important;padding:8px 7px!important;text-align:center;background:#fff3ed!important;color:var(--ns-accent)!important;border:1px solid #ffd0b8!important;border-radius:8px!important;font-size:11px!important}
.woocommerce ul.products li.product>.button:hover{background:#ffe7da!important}
.woocommerce ul.products li.product>.ns-loop-buy-now{margin-left:2px!important;margin-right:12px!important;background:var(--ns-accent)!important;color:#fff!important;border-color:var(--ns-accent)!important}
.woocommerce ul.products li.product>.ns-loop-buy-now:hover{background:var(--ns-accent-dark)!important}
.woocommerce ul.products li.product>.added_to_cart{display:block;margin:7px 12px 0;color:var(--ns-accent);font-size:11px;font-weight:800}
.woocommerce span.onsale{top:9px!important;left:9px!important;right:auto!important;min-width:auto!important;min-height:auto!important;margin:0!important;padding:7px 8px!important;line-height:1!important;border-radius:6px!important;background:var(--ns-accent)!important;color:#fff!important;font-size:11px!important;font-weight:900!important;box-shadow:0 4px 14px rgba(248,86,6,.22)}

/* Single product */
.single-product .ns-shop-wrap{padding-top:22px}
.woocommerce div.product{padding:28px;background:#fff;border-radius:18px;box-shadow:0 5px 22px rgba(31,35,48,.07)}
.woocommerce div.product div.images .woocommerce-product-gallery__wrapper{overflow:hidden;border-radius:13px;background:#f4f4f5}
.woocommerce div.product .product_title{margin-bottom:11px;font-size:clamp(30px,4vw,46px);line-height:1.18;color:#24262b}
.woocommerce div.product p.price,.woocommerce div.product span.price{color:var(--ns-accent)!important;font-size:29px!important;font-weight:950!important}
.woocommerce div.product .woocommerce-product-rating{margin-bottom:12px}
.woocommerce div.product .woocommerce-product-details__short-description{color:#575b62;line-height:1.8}
.woocommerce div.product form.cart{margin-top:20px;padding-top:18px;border-top:1px solid var(--ns-line)}
.woocommerce div.product form.cart:not(.variations_form),
.woocommerce div.product .woocommerce-variation-add-to-cart{display:flex;align-items:stretch;gap:10px;flex-wrap:wrap}
.woocommerce div.product form.cart .variations{margin-bottom:14px}
.woocommerce div.product form.cart .variations th{padding:7px 14px 7px 0;vertical-align:middle}
.woocommerce div.product form.cart .variations td{padding:7px 0}
.woocommerce div.product form.cart .variations select{min-width:230px;min-height:46px;padding:9px 12px;border:1px solid #d9dadd;border-radius:9px;background:#fff}
.woocommerce div.product form.cart .reset_variations{color:var(--ns-accent);font-size:12px}
.woocommerce .quantity .qty{min-height:48px;border:1px solid #d9dadd;border-radius:9px;background:#fff}
.woocommerce div.product form.cart .single_add_to_cart_button{min-height:48px!important;padding:11px 22px!important;background:#fff3ed!important;color:var(--ns-accent)!important;border:1px solid #ffc8ad!important;border-radius:9px!important}
.woocommerce div.product form.cart .single_add_to_cart_button:hover{background:#ffe5d8!important}
.woocommerce div.product form.cart .single_add_to_cart_button.disabled{opacity:.5!important}
.woocommerce div.product form.cart .ns-buy-now-button{min-height:48px!important;padding:11px 28px!important;background:var(--ns-accent)!important;color:#fff!important;border:1px solid var(--ns-accent)!important;border-radius:9px!important;font-weight:900!important;box-shadow:0 7px 18px rgba(248,86,6,.18)}
.woocommerce div.product form.cart .ns-buy-now-button:hover{background:var(--ns-accent-dark)!important;border-color:var(--ns-accent-dark)!important}
.woocommerce div.product .product_meta{padding-top:16px;color:var(--ns-muted);font-size:12px}
.ns-product-trust{margin-top:16px;display:grid;grid-template-columns:repeat(3,1fr);border:1px solid var(--ns-line);border-radius:12px;overflow:hidden}
.ns-product-trust>div{min-height:78px;padding:12px;display:grid;grid-template-columns:auto 1fr;grid-template-rows:auto auto;column-gap:9px;align-content:center;border-right:1px solid var(--ns-line)}
.ns-product-trust>div:last-child{border-right:0}
.ns-product-trust>div>span{grid-row:1/3;width:30px;height:30px;display:grid;place-items:center;border-radius:50%;background:var(--ns-accent-soft);color:var(--ns-accent);font-weight:900}
.ns-product-trust strong{font-size:11px}
.ns-product-trust small{color:var(--ns-muted);font-size:9px}
.woocommerce div.product .woocommerce-tabs{padding-top:22px}
.woocommerce div.product .woocommerce-tabs ul.tabs{padding:0!important}
.woocommerce div.product .woocommerce-tabs ul.tabs li{border-radius:8px 8px 0 0!important}
.woocommerce div.product .woocommerce-tabs .panel{line-height:1.8}
.woocommerce div.product .related.products,.woocommerce div.product .upsells.products{margin-top:34px}
.woocommerce div.product .related.products>h2,.woocommerce div.product .upsells.products>h2{font-size:25px}
.ns-mobile-buybar{display:none}

/* Cart / Checkout / Account */
.woocommerce-cart-form,.cart_totals,.woocommerce-checkout-review-order,.woocommerce form.checkout .col2-set>div,.woocommerce-account .woocommerce-MyAccount-content,.woocommerce-account .woocommerce-MyAccount-navigation{background:#fff;border:1px solid var(--ns-line);border-radius:13px;padding:20px}
.woocommerce table.shop_table{border-color:var(--ns-line);border-radius:10px;background:#fff}
.woocommerce form .form-row input.input-text,.woocommerce form .form-row textarea,.woocommerce form .form-row select{min-height:45px;padding:10px 12px;border:1px solid #d9dadd;border-radius:8px;background:#fff}
.woocommerce form .form-row textarea{min-height:110px}
.woocommerce-checkout #payment{background:#fff!important;border:1px solid var(--ns-line);border-radius:12px!important}
.woocommerce-checkout #payment div.payment_box{background:#f5f5f6!important}
.woocommerce #payment #place_order{background:var(--ns-accent)!important;color:#fff!important;min-height:48px}

/* Footer */
.ns-footer{margin-top:34px;padding:46px 0 74px;background:#171a22;color:#c4c8d1}
.ns-footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:48px}
.ns-footer-grid>div{display:flex;flex-direction:column;gap:8px}
.ns-footer-grid strong,.ns-footer-brand{color:#fff;font-weight:900}
.ns-footer-about p{max-width:430px;margin:4px 0 0;color:#959ba7}
.ns-footer-logo .custom-logo{max-height:48px;width:auto;filter:brightness(0) invert(1)}
.ns-footer-grid a{font-size:12px;color:#aeb3bc}
.ns-footer-grid a:hover{color:#fff}
.ns-footer-bottom{margin-top:32px;padding-top:16px;border-top:1px solid #2b2f39;display:flex;justify-content:space-between;gap:16px;font-size:11px;color:#7f8693}
.ns-mobile-bottom-nav{display:none}

/* Elementor */
.elementor-page .ns-site-main>.elementor{width:100%}
.elementor-page .ns-site-main{overflow:hidden}

/* Tablet */
@media(max-width:1100px){
  .ns-nav{grid-template-columns:170px minmax(300px,1fr) auto;gap:14px}
  .ns-action-copy{display:none}
  .ns-header-action{padding:8px}
  .ns-market-hero{grid-template-columns:190px minmax(0,1fr)}
  .ns-hero-promo-col{display:none}
  .ns-categories{grid-template-columns:repeat(4,minmax(0,1fr))}
  .woocommerce ul.products{grid-template-columns:repeat(3,minmax(0,1fr))}
}

/* Mobile */
@media(max-width:820px){
  .admin-bar .ns-header{top:46px}
  .ns-topbar{display:none}
  .ns-nav{grid-template-columns:auto minmax(0,1fr) auto;gap:10px;padding:10px 0;min-height:auto}
  .ns-mobile-menu-toggle{display:flex;width:38px;height:38px;padding:9px;border:0;border-radius:9px;background:rgba(255,255,255,.14);flex-direction:column;justify-content:center;gap:4px}
  .ns-mobile-menu-toggle>span:not(.screen-reader-text){height:2px;background:#fff;border-radius:9px}
  .ns-brand{font-size:19px}
  .ns-brand .custom-logo{max-height:40px;max-width:160px}
  .ns-brand-mark{width:34px;height:34px}
  .ns-header-actions{grid-column:3;grid-row:1}
  .ns-header-action:first-child{display:none}
  .ns-action-icon{font-size:21px}
  .ns-product-search{grid-column:1/-1;grid-row:2;height:44px;grid-template-columns:110px 1fr 48px}
  .ns-product-search select{font-size:10px;padding:0 8px}
  .ns-product-search input[type="search"]{padding:0 12px;font-size:13px}
  .ns-header-menu-row{display:none}
  .ns-market-hero{grid-template-columns:1fr}
  .ns-hero-category-col{display:none}
  .ns-hero-main{min-height:390px;padding:40px 34px}
  .ns-benefit-grid{grid-template-columns:repeat(2,1fr)}
  .ns-benefit-grid>div:nth-child(2){border-right:0}
  .ns-benefit-grid>div:nth-child(-n+2){border-bottom:1px solid var(--ns-line)}
  .ns-categories{grid-template-columns:repeat(4,minmax(0,1fr))}
  .ns-promo-band-inner{padding:24px;align-items:flex-start}
  .woocommerce ul.products{grid-template-columns:repeat(3,minmax(0,1fr))}
  .ns-product-trust{grid-template-columns:1fr}
  .ns-product-trust>div{border-right:0;border-bottom:1px solid var(--ns-line)}
  .ns-product-trust>div:last-child{border-bottom:0}
  .ns-footer-grid{grid-template-columns:2fr 1fr 1fr}
  .ns-footer-grid>div:last-child{display:none}
}

/* Small mobile */
@media(max-width:620px){
  .ns-container{width:min(100% - 20px,1280px)}
  body{padding-bottom:62px}
  .ns-header{position:sticky}
  .ns-nav{grid-template-columns:auto minmax(0,1fr) auto}
  .ns-brand-text>span:last-child{display:none}
  .ns-product-search{grid-template-columns:92px 1fr 46px;border-radius:8px}
  .ns-product-search select{max-width:92px}
  .ns-hero{padding-top:10px}
  .ns-hero-main{min-height:350px;padding:30px 22px;border-radius:13px}
  .ns-hero-main h1{font-size:38px;letter-spacing:-.6px}
  .ns-hero-main p{font-size:14px}
  .ns-hero-stat{right:15px;bottom:15px;padding:9px 11px}
  .ns-benefit-grid>div{padding:11px;column-gap:8px}
  .ns-benefit-grid>div>span{font-size:20px}
  .ns-benefit-grid strong{font-size:11px}
  .ns-benefit-grid small{font-size:9px}
  .ns-section{padding:21px 0}
  .ns-section-head{align-items:flex-start}
  .ns-section-head h2{font-size:22px}
  .ns-section-head p{font-size:11px}
  .ns-section-head>a{font-size:11px}
  .ns-flash-shell{padding:15px 10px 2px}
  .ns-flash-head{display:block}
  .ns-countdown{margin-top:10px;justify-content:space-between}
  .ns-categories{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}
  .ns-category-card{min-height:120px;padding:10px 5px}
  .ns-category-thumb{width:62px;height:62px}
  .ns-category-info strong{font-size:11px}
  .ns-promo-band-inner{min-height:140px;display:block}
  .ns-promo-band-inner h2{font-size:24px}
  .ns-promo-band-inner a{display:inline-flex;margin-top:16px}
  .woocommerce ul.products{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  .woocommerce ul.products li.product .woocommerce-loop-product__title{padding:0 9px!important;font-size:11px!important;min-height:36px}
  .woocommerce ul.products li.product .price{padding:0 9px;font-size:15px!important}
  .ns-loop-meta{padding:3px 9px 0;font-size:8px}
  .woocommerce ul.products li.product>.button{width:calc(50% - 12px)!important;margin:8px 1px 0 8px!important;padding:7px 4px!important;font-size:9px!important}
  .woocommerce ul.products li.product>.ns-loop-buy-now{margin-left:1px!important;margin-right:8px!important}
  .woocommerce div.product{padding:13px;border-radius:12px}
  .woocommerce div.product .product_title{font-size:28px}
  .woocommerce div.product form.cart:not(.variations_form),.woocommerce div.product .woocommerce-variation-add-to-cart{align-items:stretch}
  .woocommerce div.product form.cart .single_add_to_cart_button,.woocommerce div.product form.cart .ns-buy-now-button{flex:1;min-width:132px}
  .woocommerce div.product form.cart .variations select{min-width:0;width:100%}
  .ns-mobile-buybar{position:fixed;left:0;right:0;bottom:61px;z-index:120;min-height:60px;padding:8px 10px;display:flex;align-items:center;justify-content:space-between;gap:12px;background:#fff;border-top:1px solid var(--ns-line);box-shadow:0 -8px 24px rgba(22,26,35,.1)}
  .ns-mobile-buybar-copy{display:flex;flex-direction:column;line-height:1.15}
  .ns-mobile-buybar-copy small{font-size:9px;color:var(--ns-muted)}
  .ns-mobile-buybar-copy strong{font-size:15px;color:var(--ns-accent)}
  .ns-mobile-buybar-button{min-width:150px;min-height:44px;border:0;border-radius:9px;background:var(--ns-accent);color:#fff;font-weight:900}
  .single-product{padding-bottom:60px}
  .ns-footer{padding-bottom:24px}
  .ns-footer-grid{grid-template-columns:1fr 1fr;gap:28px}
  .ns-footer-grid>div:first-child{grid-column:1/-1}
  .ns-footer-grid>div:nth-child(4){display:none}
  .ns-footer-bottom{flex-direction:column}
  .ns-mobile-bottom-nav{position:fixed;left:0;right:0;bottom:0;z-index:125;height:62px;padding:5px 8px;display:grid;grid-template-columns:repeat(4,1fr);background:#fff;border-top:1px solid var(--ns-line);box-shadow:0 -5px 20px rgba(25,29,38,.09)}
  .ns-mobile-bottom-nav a{position:relative;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:1px;color:#616670}
  .ns-mobile-bottom-nav a>span:first-child{font-size:19px}
  .ns-mobile-bottom-nav small{font-size:9px}
  .ns-mobile-cart-count{position:absolute;top:2px;right:calc(50% - 21px);min-width:17px;height:17px;padding:0 4px;display:grid;place-items:center;border-radius:999px;background:var(--ns-accent);color:#fff;font-size:8px;font-weight:900}
}

@media(max-width:380px){
  .ns-product-search{grid-template-columns:1fr 44px}
  .ns-product-search select{display:none}
  .ns-hero-main h1{font-size:33px}
  .ns-categories{grid-template-columns:repeat(2,minmax(0,1fr))}
}
