/*
Theme Name: NepalExim Store
Theme URI: https://nepalexim.com
Author: NepalExim
Description: Original, mobile-first WooCommerce theme for NepalExim (industrial supplies, construction tools and machinery). Fully editable from Appearance > Customize, WordPress Menus and WooCommerce. Works with Elementor Free (use the Elementor Full Width / Canvas page templates) and with the free Header Footer Elementor plugin.
Version: 1.1.0
Requires at least: 5.8
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: nepalexim-store
Tags: e-commerce, woocommerce, responsive-layout, custom-menu, custom-logo, elementor
*/

/* ---------- Variables ---------- */
:root {
  --nx-primary: #0f2a4a;
  --nx-accent: #f58220;
  --nx-text: #1f2937;
  --nx-muted: #6b7280;
  --nx-line: #e5e7eb;
  --nx-bg: #ffffff;
  --nx-soft: #f4f6f9;
  --nx-radius: 10px;
  --nx-shadow: 0 2px 10px rgba(15, 42, 74, .08);
  --nx-max: 1240px;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--nx-text);
  background: var(--nx-bg);
  overflow-x: hidden;
}
img, video, iframe { max-width: 100%; height: auto; }
a { color: var(--nx-primary); text-decoration: none; }
a:hover { color: var(--nx-accent); }
h1, h2, h3, h4, h5, h6 { margin: 0 0 .6em; line-height: 1.25; color: var(--nx-primary); }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.2em; }
button, input, select, textarea { font: inherit; }
.screen-reader-text {
  border: 0; clip: rect(1px,1px,1px,1px); clip-path: inset(50%); height: 1px; margin: -1px;
  overflow: hidden; padding: 0; position: absolute; width: 1px; word-wrap: normal;
}
.nx-container { width: 100%; max-width: var(--nx-max); margin: 0 auto; padding: 0 16px; }
.nx-btn, .button, button.button, input[type="submit"], .woocommerce a.button, .woocommerce button.button,
.woocommerce input.button, .woocommerce #respond input#submit {
  display: inline-block; background: var(--nx-accent); color: #fff; border: 0; border-radius: 6px;
  padding: 11px 22px; font-weight: 600; font-size: 15px; line-height: 1.2; cursor: pointer;
  transition: background .2s, transform .1s;
}
.nx-btn:hover, .button:hover, button.button:hover, input[type="submit"]:hover, .woocommerce a.button:hover,
.woocommerce button.button:hover, .woocommerce input.button:hover { background: var(--nx-primary); color: #fff; }
.nx-btn-light { background: #fff; color: var(--nx-primary); }
.nx-btn-light:hover { background: var(--nx-accent); color: #fff; }
.woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce input.button.alt,
.woocommerce #respond input#submit.alt { background: var(--nx-primary); color: #fff; }
.woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover { background: var(--nx-accent); }
input[type="text"], input[type="email"], input[type="tel"], input[type="url"], input[type="password"],
input[type="search"], input[type="number"], select, textarea {
  width: 100%; max-width: 100%; padding: 10px 12px; border: 1px solid var(--nx-line);
  border-radius: 6px; background: #fff; color: var(--nx-text);
}
input:focus, select:focus, textarea:focus { outline: 2px solid var(--nx-accent); outline-offset: 0; border-color: var(--nx-accent); }

/* ---------- Header ---------- */
.nx-header { position: relative; z-index: 50; background: #fff; }
.nx-topbar { background: var(--nx-primary); color: #fff; font-size: 13px; }
.nx-topbar .nx-container { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 7px; padding-bottom: 7px; flex-wrap: wrap; }
.nx-topbar a { color: #fff; }
.nx-topbar a:hover { color: var(--nx-accent); }
.nx-topbar-right { display: flex; gap: 18px; flex-wrap: wrap; }
.nx-main-row { display: flex; align-items: center; gap: 22px; padding-top: 14px; padding-bottom: 14px; }
.nx-logo { flex: 0 0 auto; font-size: 26px; font-weight: 800; color: var(--nx-primary); letter-spacing: -.5px; }
.nx-logo span { color: var(--nx-accent); }
.nx-logo img { max-height: 52px; width: auto; display: block; }
.nx-search { flex: 1 1 auto; display: flex; border: 2px solid var(--nx-primary); border-radius: 8px; overflow: hidden; background: #fff; }
.nx-search select { flex: 0 0 170px; width: 170px; border: 0; border-right: 1px solid var(--nx-line); border-radius: 0; background: var(--nx-soft); }
.nx-search input[type="search"] { flex: 1 1 auto; border: 0; border-radius: 0; min-width: 0; }
.nx-search input:focus, .nx-search select:focus { outline: 0; }
.nx-search button { flex: 0 0 auto; border: 0; background: var(--nx-primary); color: #fff; padding: 0 20px; cursor: pointer; font-weight: 600; }
.nx-search button:hover { background: var(--nx-accent); }
.nx-actions { display: flex; align-items: center; gap: 18px; flex: 0 0 auto; }
.nx-action { position: relative; display: flex; flex-direction: column; align-items: center; font-size: 12px; color: var(--nx-primary); line-height: 1.2; }
.nx-action svg { width: 26px; height: 26px; }
.nx-action:hover { color: var(--nx-accent); }
.nx-cart-count {
  position: absolute; top: -6px; right: -8px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 9px;
  background: var(--nx-accent); color: #fff; font-size: 11px; font-weight: 700; line-height: 18px; text-align: center;
}
.nx-burger { display: none; background: none; border: 0; padding: 6px; cursor: pointer; color: var(--nx-primary); }
.nx-burger svg { width: 28px; height: 28px; display: block; }

/* Navigation row */
.nx-nav { background: var(--nx-primary); }
.nx-nav .nx-container { display: flex; align-items: stretch; }
.nx-catmenu { position: relative; flex: 0 0 auto; }
.nx-catbtn {
  display: flex; align-items: center; gap: 10px; height: 100%; min-height: 48px; padding: 0 22px; background: var(--nx-accent);
  color: #fff; border: 0; font-weight: 700; cursor: pointer; font-size: 15px;
}
.nx-catbtn svg { width: 20px; height: 20px; }
.nx-catlist {
  display: none; position: absolute; left: 0; top: 100%; min-width: 260px; margin: 0; padding: 6px 0; list-style: none;
  background: #fff; box-shadow: 0 10px 30px rgba(0,0,0,.18); border-radius: 0 0 var(--nx-radius) var(--nx-radius); z-index: 60;
}
.nx-catmenu:hover .nx-catlist, .nx-catmenu.is-open .nx-catlist { display: block; }
.nx-catlist li a { display: flex; justify-content: space-between; padding: 10px 18px; color: var(--nx-text); font-size: 14px; }
.nx-catlist li a:hover { background: var(--nx-soft); color: var(--nx-accent); }
.nx-catlist small { color: var(--nx-muted); }
.nx-menu, .nx-menu ul { list-style: none; margin: 0; padding: 0; }
.nx-menu { display: flex; flex-wrap: wrap; }
.nx-menu > li { position: relative; }
.nx-menu > li > a { display: block; padding: 14px 18px; color: #fff; font-weight: 600; font-size: 15px; }
.nx-menu > li > a:hover, .nx-menu > li.current-menu-item > a, .nx-menu > li.current_page_item > a { color: var(--nx-accent); }
.nx-menu .sub-menu, .nx-menu .children {
  display: none; position: absolute; left: 0; top: 100%; min-width: 220px; background: #fff; box-shadow: 0 10px 30px rgba(0,0,0,.18); z-index: 60;
}
.nx-menu li:hover > .sub-menu, .nx-menu li:hover > .children { display: block; }
.nx-menu .sub-menu a, .nx-menu .children a { display: block; padding: 10px 16px; color: var(--nx-text); font-size: 14px; }
.nx-menu .sub-menu a:hover, .nx-menu .children a:hover { background: var(--nx-soft); color: var(--nx-accent); }
.nx-nav-close { display: none; }
.nx-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 90; }
.nx-header.is-stuck { box-shadow: var(--nx-shadow); }

/* ---------- Hero slider ---------- */
.nx-hero { position: relative; overflow: hidden; background: var(--nx-primary); }
.nx-slides { position: relative; min-height: 440px; }
.nx-slide {
  position: absolute; inset: 0; display: flex; align-items: center; opacity: 0; visibility: hidden;
  transition: opacity .7s ease, visibility .7s; background-size: cover; background-position: center;
}
.nx-slide.is-active { opacity: 1; visibility: visible; position: relative; z-index: 2; }
.nx-slide::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(15,42,74,.88) 0%, rgba(15,42,74,.45) 60%, rgba(15,42,74,.1) 100%); }
.nx-slide-1 { background-image: linear-gradient(120deg, #0f2a4a, #1d4f8a); }
.nx-slide-2 { background-image: linear-gradient(120deg, #1b2b3a, #b45309); }
.nx-slide-3 { background-image: linear-gradient(120deg, #0b3b3c, #0f2a4a); }
.nx-slide-inner { position: relative; z-index: 2; padding: 56px 16px 70px; color: #fff; max-width: var(--nx-max); margin: 0 auto; width: 100%; }
.nx-slide-text { max-width: 560px; }
.nx-slide h2 { color: #fff; font-size: clamp(28px, 4.6vw, 52px); font-weight: 800; margin-bottom: 14px; }
.nx-slide p { font-size: clamp(15px, 1.8vw, 19px); opacity: .95; margin-bottom: 24px; }
.nx-hero-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 5; width: 42px; height: 42px; border-radius: 50%;
  border: 0; background: rgba(255,255,255,.9); color: var(--nx-primary); cursor: pointer; font-size: 20px; line-height: 1;
}
.nx-hero-arrow:hover { background: var(--nx-accent); color: #fff; }
.nx-prev { left: 14px; } .nx-next { right: 14px; }
.nx-dots { position: absolute; left: 0; right: 0; bottom: 16px; z-index: 5; display: flex; justify-content: center; gap: 8px; }
.nx-dots button { width: 11px; height: 11px; padding: 0; border-radius: 50%; border: 0; background: rgba(255,255,255,.5); cursor: pointer; }
.nx-dots button.is-active { background: var(--nx-accent); width: 28px; border-radius: 6px; }

/* ---------- Feature strip ---------- */
.nx-features { padding: 26px 0; border-bottom: 1px solid var(--nx-line); }
.nx-feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.nx-feature { display: flex; align-items: center; gap: 14px; }
.nx-feature-icon { flex: 0 0 48px; height: 48px; border-radius: 50%; background: var(--nx-soft); color: var(--nx-accent); display: flex; align-items: center; justify-content: center; font-size: 22px; font-weight: 800; }
.nx-feature h4 { margin: 0; font-size: 15px; }
.nx-feature p { margin: 0; font-size: 13px; color: var(--nx-muted); }

/* ---------- Sections ---------- */
.nx-section { padding: 42px 0; }
.nx-section.nx-alt { background: var(--nx-soft); }
.nx-section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 22px; border-bottom: 2px solid var(--nx-line); }
.nx-section-head h2 { margin: 0; padding-bottom: 10px; font-size: 24px; position: relative; }
.nx-section-head h2::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 60px; height: 3px; background: var(--nx-accent); }
.nx-section-head a { font-weight: 600; font-size: 14px; white-space: nowrap; }

/* Category tiles */
.nx-cat-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.nx-cat-tile { display: block; text-align: center; background: #fff; border: 1px solid var(--nx-line); border-radius: var(--nx-radius); padding: 16px 10px; transition: box-shadow .2s, transform .2s; color: var(--nx-text); }
.nx-cat-tile:hover { box-shadow: var(--nx-shadow); transform: translateY(-3px); color: var(--nx-accent); }
.nx-cat-img { width: 90px; height: 90px; margin: 0 auto 10px; border-radius: 50%; background: var(--nx-soft); overflow: hidden; display: flex; align-items: center; justify-content: center; font-size: 30px; font-weight: 800; color: var(--nx-accent); }
.nx-cat-img img { width: 100%; height: 100%; object-fit: cover; }
.nx-cat-tile strong { display: block; font-size: 14px; line-height: 1.3; }
.nx-cat-tile small { color: var(--nx-muted); }

/* Promo banners */
.nx-promo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.nx-promo {
  position: relative; display: flex; align-items: flex-end; min-height: 210px; border-radius: var(--nx-radius); overflow: hidden;
  background-size: cover; background-position: center; color: #fff; padding: 22px;
}
.nx-promo::before { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(15,42,74,.85), rgba(15,42,74,.15)); }
.nx-promo:nth-child(1) { background-image: linear-gradient(135deg, #0f2a4a, #2b6cb0); }
.nx-promo:nth-child(2) { background-image: linear-gradient(135deg, #7c2d12, #f58220); }
.nx-promo:nth-child(3) { background-image: linear-gradient(135deg, #064e3b, #0f766e); }
.nx-promo > div { position: relative; z-index: 2; }
.nx-promo h3 { color: #fff; font-size: 22px; margin-bottom: 4px; }
.nx-promo p { margin: 0 0 12px; font-size: 14px; opacity: .95; }
.nx-promo:hover { color: #fff; }
.nx-promo .nx-btn { padding: 8px 16px; font-size: 13px; }

.nx-notice-box { background: #fff7ed; border: 1px dashed var(--nx-accent); border-radius: var(--nx-radius); padding: 18px; text-align: center; }

/* ---------- WooCommerce product cards ---------- */
.woocommerce ul.products, ul.products {
  display: grid !important; grid-template-columns: repeat(4, 1fr); gap: 18px; margin: 0 0 24px; padding: 0; list-style: none;
}
.woocommerce ul.products::before, .woocommerce ul.products::after, ul.products::before, ul.products::after { content: none !important; display: none !important; }
.woocommerce ul.products li.product, ul.products li.product {
  float: none !important; width: auto !important; margin: 0 !important; position: relative; display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--nx-line); border-radius: var(--nx-radius); padding: 12px; text-align: left; transition: box-shadow .2s;
}
.woocommerce ul.products li.product:hover { box-shadow: var(--nx-shadow); }
.woocommerce ul.products li.product a img { width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: contain; margin: 0 0 10px; border-radius: 6px; background: #fff; }
.woocommerce ul.products li.product .woocommerce-loop-product__title { font-size: 15px; line-height: 1.35; padding: 0; margin: 0 0 6px; color: var(--nx-text); font-weight: 600; min-height: 2.7em; }
.woocommerce ul.products li.product .price { display: block; margin-bottom: 10px; color: var(--nx-primary); font-weight: 700; font-size: 16px; }
.woocommerce ul.products li.product .price del { color: var(--nx-muted); font-weight: 400; font-size: 13px; }
.woocommerce ul.products li.product .price ins { text-decoration: none; color: var(--nx-accent); }
.woocommerce ul.products li.product .button { margin-top: auto; text-align: center; width: 100%; padding: 10px; font-size: 14px; }
.woocommerce ul.products li.product .star-rating { margin: 0 0 6px; font-size: 12px; }
.woocommerce span.onsale {
  top: 10px; left: 10px; right: auto; min-width: 0; min-height: 0; padding: 4px 10px; line-height: 1.3; border-radius: 4px;
  background: var(--nx-accent); color: #fff; font-size: 12px; font-weight: 700;
}
.woocommerce-result-count { color: var(--nx-muted); font-size: 14px; }
.woocommerce-ordering select { width: auto; }
.woocommerce nav.woocommerce-pagination ul { border: 0; display: flex; gap: 6px; justify-content: center; flex-wrap: wrap; }
.woocommerce nav.woocommerce-pagination ul li { border: 0; }
.woocommerce nav.woocommerce-pagination ul li a, .woocommerce nav.woocommerce-pagination ul li span {
  border: 1px solid var(--nx-line); border-radius: 6px; padding: 8px 14px; min-width: 40px; display: block; text-align: center;
}
.woocommerce nav.woocommerce-pagination ul li span.current, .woocommerce nav.woocommerce-pagination ul li a:hover { background: var(--nx-primary); color: #fff; border-color: var(--nx-primary); }

/* Single product */
.woocommerce div.product { display: block; }
.woocommerce div.product div.images, .woocommerce div.product div.summary { margin-bottom: 24px; }
.woocommerce div.product .product_title { font-size: 28px; }
.woocommerce div.product p.price, .woocommerce div.product span.price { color: var(--nx-accent); font-weight: 800; font-size: 26px; }
.woocommerce div.product form.cart { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 20px; }
.woocommerce .quantity .qty { width: 76px; text-align: center; }
.woocommerce div.product .woocommerce-tabs ul.tabs { padding: 0; margin: 0 0 16px; display: flex; flex-wrap: wrap; gap: 6px; border-bottom: 1px solid var(--nx-line); }
.woocommerce div.product .woocommerce-tabs ul.tabs::before, .woocommerce div.product .woocommerce-tabs ul.tabs::after { display: none; }
.woocommerce div.product .woocommerce-tabs ul.tabs li { border: 0; background: var(--nx-soft); border-radius: 6px 6px 0 0; margin: 0; }
.woocommerce div.product .woocommerce-tabs ul.tabs li::before, .woocommerce div.product .woocommerce-tabs ul.tabs li::after { display: none; }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active { background: var(--nx-primary); }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a { color: #fff; }
.woocommerce div.product .woocommerce-tabs ul.tabs li a { padding: 10px 18px; font-weight: 600; }

/* Notices, tables, breadcrumb */
.woocommerce-breadcrumb { font-size: 13px; color: var(--nx-muted); margin-bottom: 18px; }
.woocommerce-message, .woocommerce-info, .woocommerce-error {
  border-top-color: var(--nx-accent) !important; background: var(--nx-soft); padding: 14px 18px 14px 48px; border-radius: 6px; margin-bottom: 20px;
}
.woocommerce table.shop_table { border-collapse: collapse; border: 1px solid var(--nx-line); border-radius: var(--nx-radius); width: 100%; }
.woocommerce table.shop_table th, .woocommerce table.shop_table td { padding: 12px; border-color: var(--nx-line); }
.woocommerce-cart .cart-collaterals .cart_totals, .woocommerce-checkout #order_review { background: var(--nx-soft); padding: 18px; border-radius: var(--nx-radius); }
.woocommerce-cart table.cart img { width: 70px; }
.woocommerce form .form-row { margin-bottom: 14px; }
.woocommerce form .form-row label { font-weight: 600; margin-bottom: 4px; display: block; }
.woocommerce-checkout #payment { background: #fff; border: 1px solid var(--nx-line); border-radius: var(--nx-radius); }
.woocommerce-checkout #payment div.payment_box { background: var(--nx-soft); }
.woocommerce-account .woocommerce-MyAccount-navigation ul { list-style: none; margin: 0 0 20px; padding: 0; border: 1px solid var(--nx-line); border-radius: var(--nx-radius); overflow: hidden; }
.woocommerce-account .woocommerce-MyAccount-navigation li a { display: block; padding: 12px 16px; border-bottom: 1px solid var(--nx-line); color: var(--nx-text); }
.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a, .woocommerce-account .woocommerce-MyAccount-navigation li a:hover { background: var(--nx-primary); color: #fff; }
@media (min-width: 768px) {
  .woocommerce-account .woocommerce-MyAccount-navigation { float: left; width: 24%; }
  .woocommerce-account .woocommerce-MyAccount-content { float: right; width: 72%; }
}

/* ---------- Content pages ---------- */
.nx-page { padding: 34px 0 50px; }
.nx-page-title { font-size: 32px; margin-bottom: 20px; }
.nx-entry { max-width: 100%; }
.nx-entry img { border-radius: 6px; }
.nx-post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.nx-post-card { border: 1px solid var(--nx-line); border-radius: var(--nx-radius); overflow: hidden; background: #fff; }
.nx-post-card .nx-post-body { padding: 16px; }
.nx-post-card h2 { font-size: 19px; }
.nx-meta { font-size: 13px; color: var(--nx-muted); }
.nx-404 { text-align: center; padding: 70px 0; }
.nx-404 h1 { font-size: 80px; margin: 0; color: var(--nx-accent); }

/* ---------- Footer ---------- */
.nx-footer { background: var(--nx-primary); color: #cbd5e1; margin-top: 20px; }
.nx-footer h4 { color: #fff; font-size: 17px; margin-bottom: 14px; }
.nx-footer a { color: #cbd5e1; }
.nx-footer a:hover { color: var(--nx-accent); }
.nx-footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 34px; padding: 46px 0 30px; }
.nx-footer ul { list-style: none; padding: 0; margin: 0; }
.nx-footer li { margin-bottom: 8px; font-size: 15px; }
.nx-footer .nx-logo { color: #fff; display: inline-block; margin-bottom: 12px; }
.nx-footer .nx-logo img { filter: brightness(0) invert(1); }
.nx-footer-contact li { display: flex; gap: 10px; }
.nx-copy { border-top: 1px solid rgba(255,255,255,.12); padding: 16px 0; font-size: 14px; }
.nx-copy .nx-container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }

/* Mobile bottom bar */
.nx-bottombar { display: none; }

/* Elementor friendliness */
.elementor-page .nx-page { padding: 0; }
.elementor-page .nx-container.nx-entry-wrap { max-width: none; padding: 0; }
.elementor-section.elementor-section-boxed > .elementor-container { max-width: var(--nx-max); }

/* ---------- Responsive ---------- */
@media (max-width: 1199px) {
  .nx-cat-grid { grid-template-columns: repeat(4, 1fr); }
  .woocommerce ul.products, ul.products { grid-template-columns: repeat(3, 1fr); }
  .nx-search select { flex-basis: 130px; width: 130px; }
}
@media (max-width: 991px) {
  .nx-burger { display: block; order: 0; }
  .nx-main-row { flex-wrap: wrap; gap: 10px 14px; padding-top: 10px; padding-bottom: 10px; }
  .nx-logo { flex: 1 1 auto; font-size: 22px; }
  .nx-actions { gap: 14px; }
  .nx-actions .nx-action span.nx-label { display: none; }
  .nx-search { order: 5; flex: 1 0 100%; }
  .nx-search select { display: none; }
  .nx-nav {
    position: fixed; top: 0; left: 0; bottom: 0; width: 84%; max-width: 340px; z-index: 100; overflow-y: auto;
    transform: translateX(-102%); transition: transform .3s ease; background: #fff;
  }
  .nx-nav .nx-container { display: block; padding: 0; }
  body.nx-menu-open .nx-nav { transform: none; }
  body.nx-menu-open .nx-overlay { display: block; }
  body.nx-menu-open { overflow: hidden; }
  .nx-nav-close { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; background: var(--nx-primary); color: #fff; font-weight: 700; }
  .nx-nav-close button { background: none; border: 0; color: #fff; font-size: 30px; line-height: 1; cursor: pointer; }
  .nx-catbtn { width: 100%; justify-content: flex-start; }
  .nx-catlist { position: static; display: none; box-shadow: none; border-radius: 0; background: var(--nx-soft); }
  .nx-catmenu:hover .nx-catlist { display: none; }
  .nx-catmenu.is-open .nx-catlist { display: block; }
  .nx-menu { display: block; }
  .nx-menu > li > a { color: var(--nx-primary); border-bottom: 1px solid var(--nx-line); padding: 14px 16px; }
  .nx-menu .sub-menu, .nx-menu .children { position: static; display: block; box-shadow: none; background: var(--nx-soft); }
  .nx-menu .sub-menu a, .nx-menu .children a { padding-left: 30px; }
  .nx-feature-grid { grid-template-columns: repeat(2, 1fr); }
  .nx-promo-grid { grid-template-columns: 1fr; }
  .nx-footer-grid { grid-template-columns: 1fr 1fr; }
  .nx-post-grid { grid-template-columns: repeat(2, 1fr); }
  .nx-bottombar {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 80; background: #fff; border-top: 1px solid var(--nx-line);
    box-shadow: 0 -2px 10px rgba(0,0,0,.08); padding-bottom: env(safe-area-inset-bottom);
  }
  .nx-bottombar a { flex: 1; display: flex; flex-direction: column; align-items: center; padding: 8px 2px; font-size: 11px; color: var(--nx-primary); position: relative; }
  .nx-bottombar svg { width: 22px; height: 22px; }
  .nx-bottombar .nx-cart-count { top: 2px; right: calc(50% - 20px); }
  body { padding-bottom: 58px; }
}
@media (max-width: 767px) {
  .nx-topbar-right { display: none; }
  .nx-topbar .nx-container { justify-content: center; text-align: center; }
  .nx-slides { min-height: 340px; }
  .nx-slide-inner { padding: 40px 16px 56px; }
  .nx-hero-arrow { display: none; }
  .nx-cat-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .nx-cat-img { width: 70px; height: 70px; }
  .woocommerce ul.products, ul.products { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .woocommerce ul.products li.product { padding: 8px; }
  .woocommerce ul.products li.product .woocommerce-loop-product__title { font-size: 13px; }
  .nx-section { padding: 28px 0; }
  .nx-section-head h2 { font-size: 20px; }
  .nx-page-title { font-size: 26px; }
  .woocommerce div.product .product_title { font-size: 22px; }
  .woocommerce-account .woocommerce-MyAccount-navigation, .woocommerce-account .woocommerce-MyAccount-content { float: none; width: 100%; }
  .woocommerce table.shop_table_responsive tr td { padding: 10px; }
}
@media (max-width: 479px) {
  .nx-feature-grid { grid-template-columns: 1fr; }
  .nx-footer-grid { grid-template-columns: 1fr; gap: 24px; padding-top: 34px; }
  .nx-post-grid { grid-template-columns: 1fr; }
  .nx-cat-grid { grid-template-columns: repeat(2, 1fr); }
  .nx-copy .nx-container { justify-content: center; text-align: center; }
}
