/* =========================================================
   NEXA — Magazam Store Theme
   Ultra-modern e-commerce · 2025/2026
   ========================================================= */

:root {
  --nx-radius: 5px;
  --nx-bg: #F7F8FA;
  --nx-surface: #FFFFFF;
  --nx-ink: #0B1220;
  --nx-muted: #64748B;
  --nx-accent: #E11D48;
  --nx-accent-soft: #FFF1F2;
  --nx-border: #E2E8F0;
  --nx-shadow: 0 8px 24px rgba(11, 18, 32, 0.06);
  --nx-shadow-hover: 0 14px 32px rgba(11, 18, 32, 0.10);
  --nx-font: 'Outfit', system-ui, sans-serif;
  --nx-display: 'Fraunces', Georgia, serif;
  --nx-header-h: 72px;
  --main-theme-color: var(--nx-accent);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--nx-font);
  font-size: 15px;
  line-height: 1.6;
  color: var(--nx-ink);
  background: var(--nx-bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

@media (max-width: 991px) {
  body {
    padding-bottom: 70px;
  }
}

a {
  color: var(--nx-ink);
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

a:hover {
  color: var(--nx-accent);
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  border-radius: var(--nx-radius);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--nx-display);
  font-weight: 600;
  color: var(--nx-ink);
  letter-spacing: -0.02em;
  margin: 0 0 0.5rem;
}

p { margin: 0 0 0.75rem; color: var(--nx-muted); }

ul { list-style: none; margin: 0; padding: 0; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 16px;
  padding-right: 16px;
}

/* ---------- Buttons ---------- */
.btn,
.btn-inline,
.btn-outline,
.btn-light,
button.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: var(--nx-radius) !important;
  border: 1px solid transparent;
  font-family: var(--nx-font);
  font-weight: 600;
  font-size: 14px;
  padding: 10px 18px;
  transition: all 0.2s ease;
  cursor: pointer;
  line-height: 1.2;
}

.btn-inline,
.btn-primary,
.submit_btn {
  background: var(--nx-accent) !important;
  color: #fff !important;
  border-color: var(--nx-accent) !important;
}

.btn-inline:hover,
.btn-primary:hover,
.submit_btn:hover {
  background: #be123c !important;
  border-color: #be123c !important;
  color: #fff !important;
  box-shadow: var(--nx-shadow);
}

.btn-outline {
  background: transparent !important;
  color: var(--nx-ink) !important;
  border: 1px solid var(--nx-border) !important;
}

.btn-outline:hover {
  border-color: var(--nx-accent) !important;
  color: var(--nx-accent) !important;
  background: var(--nx-accent-soft) !important;
}

.btn-light {
  background: var(--nx-surface) !important;
  color: var(--nx-ink) !important;
  border: 1px solid var(--nx-border) !important;
}

.btn-light:hover {
  border-color: var(--nx-accent) !important;
  color: var(--nx-accent) !important;
}

/* ---------- Forms ---------- */
input,
select,
textarea,
.form-control,
.custom-select,
.src {
  border-radius: var(--nx-radius) !important;
  border: 1px solid var(--nx-border) !important;
  background: var(--nx-surface) !important;
  color: var(--nx-ink) !important;
  font-family: var(--nx-font) !important;
  font-size: 14px !important;
  padding: 10px 14px !important;
  outline: none !important;
  box-shadow: none !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input:focus,
select:focus,
textarea:focus,
.form-control:focus,
.src:focus {
  border-color: var(--nx-accent) !important;
  box-shadow: 0 0 0 3px rgba(225, 29, 72, 0.12) !important;
}

/* ---------- Badges / labels ---------- */
.new-badge,
.badge,
span.badge {
  border-radius: var(--nx-radius) !important;
  background: var(--nx-accent) !important;
  color: #fff !important;
  font-family: var(--nx-font);
  font-size: 11px;
  font-weight: 600;
  padding: 4px 8px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

/* ---------- Cards / surfaces ---------- */
.product-card,
.product-list-bar,
.right-sidebar-cover,
.left-sidebar-cover,
.banner-cate,
.single-product-info,
.nx-panel,
.modal-content,
.dropdown-menu {
  border-radius: var(--nx-radius) !important;
}

/* =========================================================
   STICKY HEADER
   ========================================================= */
.nx-topbar {
  background: var(--nx-ink);
  color: rgba(255,255,255,0.72);
  font-size: 12px;
  padding: 6px 0;
}

.nx-topbar a { color: rgba(255,255,255,0.85); }
.nx-topbar a:hover { color: #fff; }
.nx-topbar .header-content {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.nx-topbar .header-content li {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}
.nx-topbar .header-content p { margin: 0; color: inherit; font-size: 12px; }
.nx-topbar .header-widget { justify-content: flex-end; }
.nx-topbar .dropdown-menu {
  border: 1px solid var(--nx-border);
  box-shadow: var(--nx-shadow);
  padding: 6px;
  min-width: 140px;
}
.nx-topbar .dropdown-item {
  border-radius: var(--nx-radius);
  padding: 8px 12px;
  font-size: 13px;
  color: var(--nx-ink);
}
.nx-topbar .dropdown-item:hover,
.nx-topbar .active_language {
  background: var(--nx-accent) !important;
  color: #fff !important;
}

/* Legacy header-part becomes thin top bar */
.header-part {
  background: var(--nx-ink);
  color: rgba(255,255,255,0.72);
  font-size: 12px;
  padding: 6px 0;
}
.header-part .header-content {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0;
  list-style: none;
  padding: 8px 0;
}
.header-part .header-content li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.header-part .header-content p { margin: 0; color: inherit; }
.header-part .header-widget { justify-content: flex-end; }
.header-part a { color: rgba(255,255,255,0.85); }
.header-part .text-danger { color: var(--nx-accent) !important; }
.header-part .dropdown-menu {
  background: #fff;
  border: 1px solid var(--nx-border);
  box-shadow: var(--nx-shadow);
  padding: 6px;
}
.header-part .dropdown-item { color: var(--nx-ink); border-radius: var(--nx-radius); padding: 8px 12px; }
.header-part .dropdown-item:hover,
.header-part .active_language { background: var(--nx-accent) !important; color: #fff !important; }

.navbar-part {
  position: sticky;
  top: 0;
  z-index: 1040;
  background: rgba(247, 248, 250, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  transition: box-shadow 0.25s ease, background 0.25s ease;
  padding: 12px 0;
}

.navbar-part.navbar-fixed {
  box-shadow: var(--nx-shadow);
  background: rgba(255, 255, 255, 0.92);
}

.navbar-content {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 48px;
}

.round-icon {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.round-icon li a {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--nx-radius);
  background: var(--nx-surface);
  border: 1px solid var(--nx-border);
  color: var(--nx-ink);
  position: relative;
  transition: all 0.2s ease;
}

.round-icon li a:hover {
  border-color: var(--nx-accent);
  color: var(--nx-accent);
  background: var(--nx-accent-soft);
}

.round-icon li a sup,
#cart_count,
.wishlist_count {
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: var(--nx-radius);
  background: var(--nx-accent);
  color: #fff !important;
  font-size: 10px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.navbar-logo {
  flex-shrink: 0;
}

.navbar-logo img {
  max-height: 40px;
  width: auto;
  border-radius: var(--nx-radius);
}

.navbar-form {
  flex: 1;
  max-width: 520px;
  margin: 0 auto;
}

.navbar-form form {
  display: flex;
  gap: 8px;
  align-items: stretch;
}

.navbar-form .src {
  flex: 1;
  height: 42px;
}

.navbar-form .btn-inline {
  height: 42px;
  white-space: nowrap;
}

.left-widget { display: none; }

@media (max-width: 991px) {
  .navbar-form { display: none; }
  .left-widget { display: flex; }
  .navbar-content { justify-content: space-between; }
}

/* =========================================================
   SIDEBARS
   ========================================================= */
.right-sidebar,
.left-sidebar {
  position: fixed;
  inset: 0;
  z-index: 1100;
  pointer-events: none;
  visibility: hidden;
}

.right-sidebar.active,
.left-sidebar.active {
  pointer-events: auto;
  visibility: visible;
}

.right-sidebar::before,
.left-sidebar::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(11, 18, 32, 0.45);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.right-sidebar.active::before,
.left-sidebar.active::before {
  opacity: 1;
}

.right-sidebar-cover,
.left-sidebar-cover {
  position: absolute;
  top: 0;
  bottom: 0;
  width: min(380px, 92vw);
  background: var(--nx-surface);
  box-shadow: var(--nx-shadow-hover);
  padding: 24px 20px;
  overflow-y: auto;
  transition: transform 0.3s ease;
  border-radius: 0 !important;
}

.right-sidebar-cover { right: 0; transform: translateX(105%); }
.left-sidebar-cover { left: 0; transform: translateX(-105%); }

.right-sidebar.active .right-sidebar-cover,
.left-sidebar.active .left-sidebar-cover {
  transform: translateX(0);
}

.cross-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--nx-radius);
  background: var(--nx-bg);
  border: 1px solid var(--nx-border);
  color: var(--nx-ink);
  z-index: 2;
}

.sidebar-logo { margin-bottom: 20px; padding-right: 40px; }
.sidebar-logo img { max-height: 36px; }
.sidebar-heading h4 {
  font-family: var(--nx-display);
  font-size: 1.25rem;
  margin-bottom: 16px;
}

.cart-list {
  max-height: 48vh;
  overflow: auto;
  margin-bottom: 16px;
  padding-right: 4px;
}

.cart-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--nx-border);
}

.cart-img {
  width: 64px;
  height: 64px;
  flex-shrink: 0;
  overflow: hidden;
  border-radius: var(--nx-radius);
  background: var(--nx-bg);
}

.cart-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--nx-radius);
}

.cart-info { flex: 1; min-width: 0; }
.cart-info a {
  display: block;
  font-weight: 600;
  font-size: 13px;
  color: var(--nx-ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cart-info p { margin: 4px 0 0; font-size: 13px; }
.cart-info span { color: var(--nx-accent); font-weight: 600; }

.cart-remove a {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--nx-radius);
  color: var(--nx-muted);
  background: var(--nx-bg);
}

.cart-price {
  padding: 12px 0;
  border-top: 1px solid var(--nx-border);
  margin-bottom: 12px;
}
.cart-price li {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  font-weight: 600;
  color: var(--nx-ink);
}
.cart-price #cart_total { color: var(--nx-accent); font-size: 1.1rem; }

.cart-btn {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.cart-btn .btn { width: 100%; }

.sidebar-src { margin-bottom: 20px; }
.accor-ghape .card,
.accor-ghape .card-header,
.accor-ghape .card-body {
  border-radius: var(--nx-radius) !important;
  border-color: var(--nx-border);
  background: var(--nx-surface);
}
.accor-ghape a { color: var(--nx-ink); font-weight: 500; }

/* Mobile bottom bar */
.btmbar-part {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1030;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--nx-border);
  display: none;
  box-shadow: 0 -4px 20px rgba(11,18,32,0.06);
}
.btmbar-widget {
  display: flex;
  margin: 0;
  padding: 0;
  list-style: none;
}
.btmbar-widget li { flex: 1; text-align: center; }
.btmbar-widget a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 10px 4px;
  font-size: 11px;
  font-weight: 500;
  color: var(--nx-muted);
}
.btmbar-widget a i { font-size: 18px; color: var(--nx-ink); }
.btmbar-widget a:hover,
.btmbar-widget a:hover i { color: var(--nx-accent); }

@media (max-width: 991px) {
  .btmbar-part { display: block; }
}

/* =========================================================
   HOME — HERO / BANNER
   ========================================================= */
.banner-part {
  padding: 28px 0 8px;
}

.banner-part .row {
  align-items: flex-start;
}

.banner-cate {
  background: var(--nx-surface);
  border: 1px solid var(--nx-border);
  box-shadow: var(--nx-shadow);
  height: 360px;
  max-height: 360px;
  min-height: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.cate-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 18px;
  background: var(--nx-ink);
  color: #fff;
  border-radius: var(--nx-radius) var(--nx-radius) 0 0;
}

.cate-heading i { color: var(--nx-accent); }
.cate-heading h4 {
  margin: 0;
  font-family: var(--nx-font);
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.cate-scroll {
  flex: 1 1 auto;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 8px;
  min-height: 0;
  max-height: none;
  height: auto;
}

.cate-scroll li a,
.cate-scroll li {
  display: block;
  padding: 10px 12px;
  border-radius: var(--nx-radius);
  font-size: 14px;
  font-weight: 500;
  color: var(--nx-ink);
  transition: background 0.15s ease, color 0.15s ease;
}

.cate-scroll li a:hover {
  background: var(--nx-accent-soft);
  color: var(--nx-accent);
}

.banner-slider {
  border-radius: var(--nx-radius);
  overflow: hidden;
  box-shadow: var(--nx-shadow);
  background: var(--nx-surface);
  min-height: 360px;
}

.banner-slider a,
.banner-slider img {
  display: block;
  width: 100%;
  height: 360px;
  object-fit: cover;
  border-radius: var(--nx-radius);
}

.banner-slider .slick-arrow,
.offer-slider .slick-arrow,
.product-slider .slick-arrow,
.single-product-slider .slick-arrow {
  width: 40px;
  height: 40px;
  border-radius: var(--nx-radius);
  background: var(--nx-surface) !important;
  border: 1px solid var(--nx-border);
  box-shadow: var(--nx-shadow);
  z-index: 2;
  color: var(--nx-ink);
}

.banner-slider {
  position: relative;
}

.banner-slider .slick-list,
.banner-slider .slick-track {
  height: 360px;
}

.banner-slider .slick-dots {
  position: absolute !important;
  bottom: 16px !important;
  left: 0 !important;
  right: 0 !important;
  transform: none !important;
  width: 100% !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none;
  z-index: 5;
  text-align: center;
}

.banner-slider .slick-dots li {
  width: auto !important;
  height: auto !important;
  margin: 0 !important;
}

.banner-slider .slick-dots li button {
  width: 22px !important;
  height: 6px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: rgba(255,255,255,0.65) !important;
  font-size: 0 !important;
  line-height: 0 !important;
  box-shadow: 0 2px 8px rgba(11,18,32,0.15);
  transition: width 0.2s ease, background 0.2s ease;
}

.banner-slider .slick-dots li button:before {
  display: none !important;
  content: none !important;
}

.banner-slider .slick-dots li.slick-active button {
  width: 32px !important;
  background: var(--nx-accent) !important;
}

.offer-slider .slick-dots li button:before {
  color: var(--nx-accent);
}

@media (max-width: 767px) {
  .banner-cate { min-height: auto; margin-bottom: 16px; }
  .banner-slider,
  .banner-slider a,
  .banner-slider img { min-height: 200px; height: 200px; }
}

/* Offers */
.offer-part {
  padding: 24px 0 8px;
}

.offer-slider a,
.offer-slider img {
  display: block;
  border-radius: var(--nx-radius);
  overflow: hidden;
}

.offer-slider .slick-slide {
  padding: 0 8px;
}

.offer-slider img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  box-shadow: var(--nx-shadow);
}

/* Sections */
.trend-part,
.best-part,
.new-part,
.get_offerable_products {
  padding: 40px 0 16px;
}

.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.section-heading h2 {
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
  margin: 0;
  position: relative;
  padding-left: 14px;
}

.section-heading h2::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.2em;
  bottom: 0.2em;
  width: 3px;
  border-radius: var(--nx-radius);
  background: var(--nx-accent);
}

.add-part {
  padding: 24px 0 48px;
}

.banner_ad img,
.banner_ad a {
  display: block;
  width: 100%;
  border-radius: var(--nx-radius);
  overflow: hidden;
}

/* =========================================================
   PRODUCT CARDS (AJAX-injected markup)
   ========================================================= */
.product-slider {
  margin: 0 -8px;
}

.product-slider .slick-slide {
  padding: 8px;
}

.product-card {
  background: var(--nx-surface);
  border: 1px solid var(--nx-border);
  box-shadow: var(--nx-shadow);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--nx-shadow-hover);
  border-color: #fecdd3;
}

.product-img {
  position: relative;
  overflow: hidden;
  background: var(--nx-bg);
  aspect-ratio: 1 / 1;
  border-radius: var(--nx-radius) var(--nx-radius) 0 0;
}

.product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--nx-radius) var(--nx-radius) 0 0;
  display: block;
  transition: transform 0.35s ease;
}

.product-card:hover .product-img img {
  transform: scale(1.04);
}

.product-img .new-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
}

.product-widget {
  position: absolute;
  right: 10px;
  bottom: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  opacity: 0;
  transform: translateY(8px);
  transition: all 0.25s ease;
  margin: 0;
  padding: 0;
  list-style: none;
  z-index: 2;
}

.product-card:hover .product-widget {
  opacity: 1;
  transform: translateY(0);
}

.product-widget li a {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--nx-radius);
  background: var(--nx-surface);
  color: var(--nx-ink);
  border: 1px solid var(--nx-border);
  box-shadow: var(--nx-shadow);
}

.product-widget li a:hover {
  background: var(--nx-accent);
  color: #fff;
  border-color: var(--nx-accent);
}

.product-content {
  padding: 14px 14px 0;
}

.product-cate p {
  margin: 0;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--nx-muted);
}

.product-name {
  padding: 4px 14px 0;
}

.product-name h3,
.product-name a h3 {
  font-family: var(--nx-font);
  font-size: 14px;
  font-weight: 600;
  margin: 0;
  line-height: 1.35;
  color: var(--nx-ink);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
  text-overflow: ellipsis;
  min-height: 2.7em;
}

.product-name a:hover h3 { color: var(--nx-accent); }

.product-price {
  padding: 8px 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: auto;
}

.product-price p,
.product-price h4 {
  margin: 0;
  font-family: var(--nx-font);
  font-size: 15px;
  font-weight: 700;
  color: var(--nx-ink);
}

.product-price del {
  color: var(--nx-muted);
  font-weight: 500;
  font-size: 13px;
  margin-right: 4px;
}

.product-rating {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 12px;
  color: var(--nx-muted);
}

.product-rating i { color: #F59E0B; }

.product-list-card {
  flex-direction: row !important;
}
.product-list-card .product-img {
  width: 160px;
  flex-shrink: 0;
  aspect-ratio: auto;
  height: 160px;
  border-radius: var(--nx-radius) 0 0 var(--nx-radius);
}
.product-list-card .product-img img {
  border-radius: var(--nx-radius) 0 0 var(--nx-radius);
}

/* Placeholders */
.content-placeholder,
.product_preload,
.h-20 {
  background: linear-gradient(90deg, #eef1f5 25%, #f7f8fa 50%, #eef1f5 75%);
  background-size: 200% 100%;
  animation: nx-shimmer 1.2s ease infinite;
  border-radius: var(--nx-radius);
  min-height: 16px;
}

.product-card.content-placeholder {
  min-height: 280px;
  border: none;
}

.h-20 { display: inline-block; width: 80%; height: 14px; }

@keyframes nx-shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* =========================================================
   INNER PAGES
   ========================================================= */
.single-banner {
  background: linear-gradient(135deg, #0B1220 0%, #1e293b 60%, #881337 100%);
  padding: 48px 0 40px;
  margin-bottom: 32px;
  position: relative;
  overflow: hidden;
}

.single-banner::after {
  content: '';
  position: absolute;
  right: -10%;
  top: -40%;
  width: 420px;
  height: 420px;
  border-radius: var(--nx-radius);
  background: rgba(225, 29, 72, 0.18);
  pointer-events: none;
}

.single-content h2 {
  color: #fff;
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 8px;
  position: relative;
  z-index: 1;
}

.single-content .breadcrumb {
  background: transparent;
  padding: 0;
  margin: 0;
  position: relative;
  z-index: 1;
}

.single-content .breadcrumb-item,
.single-content .breadcrumb-item a,
.single-content .breadcrumb-item.active {
  color: rgba(255,255,255,0.75);
  font-size: 13px;
}

.single-content .breadcrumb-item + .breadcrumb-item::before {
  color: rgba(255,255,255,0.4);
}

.single-content .breadcrumb-item a:hover { color: #fff; }

/* Shop filters */
.product-list { padding-bottom: 48px; }

.product-list-bar {
  background: var(--nx-surface);
  border: 1px solid var(--nx-border);
  box-shadow: var(--nx-shadow);
  padding: 20px;
  margin-bottom: 20px;
}

.product-list-bar h4 {
  font-family: var(--nx-font);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 12px !important;
}

.product-size li,
.category_area li,
.brand_area li {
  margin-bottom: 4px;
}

.product-size a,
.category_area a,
.brand_area a {
  display: block;
  padding: 8px 10px;
  border-radius: var(--nx-radius);
  font-size: 14px;
  color: var(--nx-ink);
}

.product-size a:hover,
.category_area a:hover,
.brand_area a:hover {
  background: var(--nx-accent-soft);
  color: var(--nx-accent);
}

.product-filter {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  background: var(--nx-surface);
  border: 1px solid var(--nx-border);
  border-radius: var(--nx-radius);
  padding: 12px 16px;
  margin-bottom: 20px;
  box-shadow: var(--nx-shadow);
}

.product-page-number p {
  margin: 0;
  font-size: 13px;
  color: var(--nx-muted);
}

.product-parent {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}

.product-parent .product-card { margin: 0; }

.pagination,
.pagi-ghape {
  display: flex;
  gap: 6px;
  justify-content: center;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  flex-wrap: wrap;
}

.pagination .page-link,
.pagi-ghape a,
.pagi-ghape span {
  border-radius: var(--nx-radius) !important;
  border: 1px solid var(--nx-border);
  color: var(--nx-ink);
  padding: 8px 12px;
  background: var(--nx-surface);
  min-width: 40px;
  text-align: center;
}

.pagination .page-item.active .page-link,
.pagi-ghape .active a,
.pagi-ghape .active span {
  background: var(--nx-accent) !important;
  border-color: var(--nx-accent) !important;
  color: #fff !important;
}

/* Product details */
.single-product {
  padding-bottom: 48px;
}

.single-product-slider,
.single-thumb-slider {
  border-radius: var(--nx-radius);
  overflow: hidden;
}

.single-product-slider img {
  width: 100%;
  border-radius: var(--nx-radius);
  background: var(--nx-surface);
  border: 1px solid var(--nx-border);
}

.single-thumb-slider {
  margin-top: 12px;
}

.single-thumb-slider img {
  border-radius: var(--nx-radius);
  border: 1px solid var(--nx-border);
  cursor: pointer;
  height: 80px;
  object-fit: cover;
}

.single-product-info {
  background: var(--nx-surface);
  border: 1px solid var(--nx-border);
  box-shadow: var(--nx-shadow);
  padding: 28px;
}

.single-product-meta {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.single-product-name h3 {
  font-size: 1.5rem;
  margin-bottom: 6px;
}

.single-product-price h3 {
  font-family: var(--nx-font);
  font-size: 1.75rem;
  color: var(--nx-accent);
  font-weight: 700;
}

.single-page-slider li a {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--nx-radius);
  border: 1px solid var(--nx-border);
  background: var(--nx-bg);
}

/* Tables (cart / wishlist) */
.table,
.shop_table {
  background: var(--nx-surface);
  border-radius: var(--nx-radius);
  overflow: hidden;
  border: 1px solid var(--nx-border);
  box-shadow: var(--nx-shadow);
}

.table thead th,
.shop_table thead th {
  background: var(--nx-ink);
  color: #fff;
  border: none;
  font-family: var(--nx-font);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 600;
  padding: 14px 12px;
}

.table td,
.shop_table td {
  vertical-align: middle;
  border-color: var(--nx-border);
  padding: 14px 12px;
}

.table img,
.shop_table img {
  border-radius: var(--nx-radius);
}

.remove {
  display: inline-flex;
  width: 28px;
  height: 28px;
  align-items: center;
  justify-content: center;
  border-radius: var(--nx-radius);
  background: var(--nx-accent-soft);
  color: var(--nx-accent) !important;
  font-weight: 700;
}

/* =========================================================
   FOOTER
   ========================================================= */
.footer-part {
  background: var(--nx-ink);
  color: rgba(255,255,255,0.7);
  padding: 56px 0 0;
  margin-top: 48px;
}

.footer-about img {
  max-height: 40px;
  margin-bottom: 16px;
  border-radius: var(--nx-radius);
  background: #fff;
  padding: 6px 10px;
}

.footer-about p {
  color: rgba(255,255,255,0.6);
  font-size: 14px;
  max-width: 320px;
}

.footer-icon {
  display: flex;
  gap: 8px;
  margin-top: 16px;
}

.footer-icon li a {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--nx-radius);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  color: #fff;
}

.footer-icon li a:hover {
  background: var(--nx-accent);
  border-color: var(--nx-accent);
  color: #fff;
}

.footer-part h3,
.footer-part h4,
.footer-part .widget-title {
  font-family: var(--nx-font);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 16px;
}

.footer-part a { color: rgba(255,255,255,0.65); }
.footer-part a:hover { color: #fff; }
.footer-part ul li { margin-bottom: 8px; font-size: 14px; }

.footer-bottom {
  margin-top: 40px;
  padding: 18px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.footer-bottom p {
  margin: 0;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
}

.footer-bottom a {
  color: #fff;
  font-weight: 600;
}

/* Account nav */
.bigbag-MyAccount-navigation ul {
  background: var(--nx-surface);
  border: 1px solid var(--nx-border);
  border-radius: var(--nx-radius);
  box-shadow: var(--nx-shadow);
  overflow: hidden;
  padding: 8px;
}

.bigbag-MyAccount-navigation a {
  display: block;
  padding: 12px 14px;
  border-radius: var(--nx-radius);
  font-weight: 500;
  color: var(--nx-ink);
}

.bigbag-MyAccount-navigation a.active,
.bigbag-MyAccount-navigation a:hover {
  background: var(--nx-accent-soft);
  color: var(--nx-accent);
}

.bigbag-MyAccount-content,
.bigbag_notice {
  background: var(--nx-surface);
  border: 1px solid var(--nx-border);
  border-radius: var(--nx-radius);
  box-shadow: var(--nx-shadow);
  padding: 20px;
  margin-bottom: 16px;
}

.site-main { padding-bottom: 48px; }

/* Utility */
.text-danger { color: var(--nx-accent) !important; }
.text-white { color: #fff !important; }

@media (max-width: 575px) {
  .section-heading { align-items: flex-start; }
  .product-parent { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .product-name h3 { font-size: 13px; }
  .product-price p { font-size: 13px; }
  .product-widget { opacity: 1; transform: none; }
}

/* NEXA FORCE RADIUS */
button, .btn, input, select, textarea, .form-control, .product-card, .product-img, img.product, .banner-slider, .banner-slider img, .cate-scroll, .offer-slider, .card, .modal-content, .dropdown-menu, .search-form, .nx-search, [class*="badge"], .cart-sidebar, .menu-sidebar {
  border-radius: 5px !important;
}
.round-icon a,
.round-icon li a,
.nx-icon-link,
.rounded-circle {
  border-radius: 5px !important;
}
.nx-icon-link {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  text-decoration: none;
}
.nx-icon-label {
  font-size: 11px;
  font-weight: 500;
  line-height: 1.1;
  color: var(--nx-ink);
}


.product-slider .product-card {
  background: var(--nx-surface);
}
.product-slider .product-name,
.product-slider .product-price,
.product-slider .product-content {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}
.product-slider .product-img {
  aspect-ratio: 1 / 1;
  max-height: 240px;
}
.product-slider .product-img img {
  max-height: 240px;
}

/* =========================================================
   NEXA LAYOUT FIX v5
   ========================================================= */
html, body {
  overflow-x: hidden !important;
  max-width: 100% !important;
}

.btmbar-part {
  position: fixed !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100% !important;
  max-width: 100vw !important;
  transform: none !important;
  box-sizing: border-box !important;
  margin: 0 !important;
}

.left-sidebar,
.right-sidebar {
  position: fixed !important;
  inset: 0 !important;
  width: 100vw !important;
  max-width: 100vw !important;
  overflow: hidden !important;
  pointer-events: none;
  z-index: 1040;
}

.left-sidebar.active,
.right-sidebar.active {
  pointer-events: auto;
}

.left-sidebar-cover,
.right-sidebar-cover {
  position: absolute !important;
  top: 0 !important;
  bottom: 0 !important;
  width: min(380px, 92vw) !important;
  max-width: 92vw !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  box-sizing: border-box !important;
}

.left-sidebar:not(.active) .left-sidebar-cover,
.right-sidebar:not(.active) .right-sidebar-cover {
  pointer-events: none;
  visibility: hidden;
}

.left-sidebar.active .left-sidebar-cover,
.right-sidebar.active .right-sidebar-cover {
  visibility: visible;
  pointer-events: auto;
}

.product-img-link {
  display: block;
  cursor: pointer;
}
.product-img-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 991px) {
  .banner-part .row {
    display: flex !important;
    flex-direction: column !important;
  }
  .banner-part .banner-slider-col,
  .banner-part .col-md-8 {
    order: 1 !important;
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
  }
  .banner-part .banner-cate-col,
  .banner-part .col-md-4 {
    order: 2 !important;
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
  }
  .banner-cate {
    min-height: auto !important;
    height: auto !important;
    max-height: none !important;
    margin-top: 12px;
  }
  .banner-cate .cate-heading,
  .banner-cate .nx-cate-title {
    display: none !important;
  }
  .cate-scroll {
    height: auto !important;
    max-height: none !important;
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    gap: 8px;
    padding: 8px 4px !important;
    -webkit-overflow-scrolling: touch;
  }
  .cate-scroll li {
    flex: 0 0 auto !important;
    list-style: none;
  }
  .cate-scroll a,
  .cate-scroll li a {
    display: inline-block !important;
    white-space: nowrap !important;
    border-radius: 5px !important;
    background: #fff !important;
    border: 1px solid #E2E8F0 !important;
    padding: 8px 14px !important;
    color: var(--nx-ink) !important;
  }
}
