/* ============================================================
   Narayan – User Site CSS
   Supplements Bootstrap 5
   ============================================================ */

/* ------------------------------------------------------------------
   1. CSS Custom Properties
   ------------------------------------------------------------------ */
:root {
  --primary:    #e85d04;
  --primary-d:  #c44d00;
  --primary-l:  #ff7f33;
  --dark:       #1a1a2e;
  --dark2:      #16213e;
  --accent:     #ffd60a;
  --text:       #2d2d2d;
  --muted:      #6b7280;
  --border:     #e5e7eb;
  --bg:         #f8f8f8;
  --white:      #fff;
  --radius:     8px;
  --radius-lg:  14px;
  --shadow:     0 2px 12px rgba(0,0,0,.10);
  --shadow-lg:  0 8px 32px rgba(0,0,0,.15);
  --transition: .2s ease;
  --header-h:   64px;
}

/* ------------------------------------------------------------------
   2. Base Reset & Body
   ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  margin: 0;
  padding: 0;
  padding-bottom: 0;
}

a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--primary-d); }

img { max-width: 100%; height: auto; display: block; }

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

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  color: var(--dark);
  line-height: 1.3;
}

/* Scrollbar */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #ccc; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary); }

/* ------------------------------------------------------------------
   3. Top Bar
   ------------------------------------------------------------------ */
.top-bar, .nh-topbar {
  background: var(--dark2);
  color: rgba(255,255,255,.78);
  font-size: 12.5px;
  padding: 6px 0;
  line-height: 1.4;
}
.top-bar a, .nh-topbar a {
  color: rgba(255,255,255,.78);
  text-decoration: none;
}
.top-bar a:hover, .nh-topbar a:hover { color: var(--accent); }
.top-bar .top-bar-inner, .nh-topbar .top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 4px;
}
.top-bar .tb-left, .nh-topbar .tb-left,
.top-bar .tb-right, .nh-topbar .tb-right,
.nh-topbar .nh-topbar-left,
.nh-topbar .nh-topbar-right {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.top-bar .tb-item, .nh-topbar .tb-item,
.nh-topbar .nh-topbar-item {
  display: flex;
  align-items: center;
  gap: 5px;
}
.top-bar .tb-item i, .nh-topbar .tb-item i,
.nh-topbar .nh-topbar-item i {
  color: var(--accent);
  font-size: 12px;
}
.top-bar .tb-delivery, .nh-topbar .tb-delivery {
  color: var(--accent);
  font-weight: 600;
}

/* ------------------------------------------------------------------
   4. Site Header
   ------------------------------------------------------------------ */
.nh-header {
  background: var(--dark);
  position: sticky;
  top: 0;
  z-index: 1030;
  box-shadow: 0 2px 16px rgba(0,0,0,.35);
}
.nh-header .header-inner, .nh-header-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  min-height: var(--header-h);
}

/* Logo */
.nh-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.nh-logo .logo-icon, .nh-logo-icon {
  width: 40px;
  height: 40px;
  background: var(--primary);
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #fff;
  box-shadow: 0 2px 8px rgba(232,93,4,.4);
}
.nh-logo .logo-text, .nh-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.nh-logo .logo-text .brand, .nh-logo-text strong {
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.5px;
}
.nh-logo .logo-text .tagline, .nh-logo-text span {
  font-size: 15px;
  font-weight: 500;
  color: rgba(255,255,255,.55);
  letter-spacing: .5px;
  text-transform: uppercase;
  margin-top: 1px;
}
.nh-logo:hover .logo-text .brand, .nh-logo:hover .nh-logo-text strong { color: var(--accent); }

/* Hamburger */
.hamburger-btn, .nh-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px 6px;
  border-radius: var(--radius);
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  transition: background var(--transition);
}
.hamburger-btn:hover, .nh-hamburger:hover { background: rgba(255,255,255,.1); }
.nh-hamburger span, .hamburger-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

/* ------------------------------------------------------------------
   5. Search Bar
   ------------------------------------------------------------------ */
.search-wrap, .nh-search-wrap {
  flex: 1;
  max-width: 560px;
  margin: 0 8px;
}
.search-form, .nh-search-wrap {
  display: flex;
  align-items: stretch;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,.2);
  height: 42px;
}
.search-form .search-select, .nh-search-wrap .nh-search-select {
  border: none;
  border-right: 1px solid var(--border);
  background: #f3f4f6;
  color: var(--text);
  font-size: 13px;
  font-family: inherit;
  padding: 0 10px;
  outline: none;
  cursor: pointer;
  min-width: 90px;
  max-width: 120px;
}
.search-form .search-select:focus, .nh-search-wrap .nh-search-select:focus { background: #eee; }
.search-form .search-input, .nh-search-wrap .nh-search-input {
  flex: 1;
  border: none;
  outline: none;
  padding: 0 12px;
  font-size: 14px;
  font-family: inherit;
  color: var(--text);
  background: #fff;
  min-width: 0;
}
.search-form .search-input::placeholder, .nh-search-wrap .nh-search-input::placeholder { color: #aaa; }
.search-form .search-btn, .nh-search-wrap .nh-search-btn {
  border: none;
  background: var(--primary);
  color: #fff;
  padding: 0 18px;
  font-size: 16px;
  cursor: pointer;
  transition: background var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}
.search-form .search-btn:hover, .nh-search-wrap .nh-search-btn:hover { background: var(--primary-d); }

/* ------------------------------------------------------------------
   6. Header Action Buttons
   ------------------------------------------------------------------ */
.header-actions, .nh-header-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  margin-left: auto;
}
.hdr-btn, .nh-hdr-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  background: none;
  border: none;
  color: rgba(255,255,255,.82);
  font-size: 10px;
  font-family: inherit;
  cursor: pointer;
 padding: 6px 8px;
  border-radius: var(--radius);
  text-decoration: none;
  transition: background var(--transition), color var(--transition);
  position: relative;
  min-width: 52px;
  line-height: 1.2;
}
.hdr-btn i, .nh-hdr-btn i { font-size: 19px; display: block; }
.hdr-btn:hover, .nh-hdr-btn:hover {
  background: rgba(255,255,255,.1);
  color: #fff;
}
.hdr-btn.active, .nh-hdr-btn.active { color: var(--accent); }
.hdr-btn.cart-btn, .nh-hdr-btn.cart-btn { color: #fff; }

/* Cart Badge */
.cart-badge, .nh-cart-badge {
  position: absolute;
  top: 3px;
  right: 4px;
  background: var(--primary);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 3px;
  line-height: 1;
  box-shadow: 0 1px 4px rgba(0,0,0,.3);
}
.cart-badge.zero, .nh-cart-badge.zero { display: none; }

/* ------------------------------------------------------------------
   7. Main Navigation Bar
   ------------------------------------------------------------------ */
.nh-nav {
  background: var(--dark2);
  border-top: 1px solid rgba(255,255,255,.07);
}
.nh-nav .nav-inner, .nh-nav .nh-nav-list {
  display: flex;
  align-items: stretch;
  gap: 0;
  height: 46px;
}
.nh-nav .nav-item, .nh-nav .nh-nav-list > li {
  position: relative;
}
.nh-nav .nav-link, .nh-nav .nh-nav-list > li > a {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 100%;
  padding: 0 15px;
  color: rgba(255,255,255,.85);
  font-size: 13.5px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  transition: color var(--transition), background var(--transition);
  border-bottom: 3px solid transparent;
}
.nh-nav .nav-link:hover,
.nh-nav .nav-link.active,
.nh-nav .nh-nav-list > li > a:hover,
.nh-nav .nh-nav-list > li > a.active {
  color: #fff;
  background: rgba(255,255,255,.06);
  border-bottom-color: var(--primary);
}
.nh-nav .nav-link i, .nh-nav .nh-nav-list > li > a i { font-size: 14px; }
.nh-nav .nav-link .caret, .nh-nav .nh-nav-list > li > a .caret {
  font-size: 10px;
  margin-left: 2px;
  opacity: .7;
}

/* Dropdown */
.nh-nav .nav-dropdown, .nh-nav .nh-drop {
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  min-width: 220px;
  border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: var(--shadow-lg);
  border-top: 3px solid var(--primary);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all var(--transition);
  z-index: 200;
  padding: 6px 0;
}
.nh-nav .nav-item:hover .nav-dropdown,
.nh-nav .nh-nav-list > li:hover .nh-drop {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nh-nav .nav-dropdown a, .nh-nav .nh-drop a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  color: var(--text);
  font-size: 13.5px;
  text-decoration: none;
  transition: background var(--transition), color var(--transition);
}
.nh-nav .nav-dropdown a:hover, .nh-nav .nh-drop a:hover {
  background: #fff3ec;
  color: var(--primary);
}
.nh-nav .nav-dropdown a i, .nh-nav .nh-drop a i { font-size: 13px; color: var(--primary); }

/* All Categories big button */
.nav-all-cats {
  background: var(--primary);
  color: #fff !important;
  border-bottom: none !important;
  font-weight: 600 !important;
  padding: 0 18px !important;
}
.nav-all-cats:hover { background: var(--primary-d) !important; }

/* ------------------------------------------------------------------
   8. Mobile Nav Drawer
   ------------------------------------------------------------------ */
.drawer-overlay, .nh-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.55);
  z-index: 1040;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
}
.drawer-overlay.open, .nh-drawer-overlay.open {
  opacity: 1;
  pointer-events: all;
}
.nav-drawer, .nh-drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: 290px;
  height: 100%;
  background: var(--dark);
  z-index: 1050;
  transform: translateX(-100%);
  transition: transform .3s cubic-bezier(.4,0,.2,1);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}
.nav-drawer.open, .nh-drawer.open { transform: translateX(0); }

.drawer-header, .nh-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  border-bottom: 1px solid rgba(255,255,255,.1);
  flex-shrink: 0;
}
.drawer-close, .nh-drawer-close {
  background: none;
  border: none;
  color: rgba(255,255,255,.7);
  font-size: 22px;
  cursor: pointer;
  padding: 4px;
  border-radius: 6px;
  line-height: 1;
}
.drawer-close:hover { background: rgba(255,255,255,.1); color: #fff; }

.nh-drawer-user {
  padding: 14px 22px 6px;
  color: rgba(255,255,255,.82);
  font-size: 14px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.nh-drawer-links {
  padding: 14px 12px 20px 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.nh-drawer-links li {
  margin: 0;
}

.nh-drawer-links a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  color: rgba(255,255,255,.84);
  font-size: 14.5px;
  text-decoration: none;
  transition: background var(--transition), color var(--transition), transform var(--transition);
}

.nh-drawer-links a:hover,
.nh-drawer-links a:focus-visible {
  background: rgba(255,255,255,.06);
  color: #fff;
  transform: translateX(2px);
}

.nh-drawer-links a i {
  width: 18px;
  text-align: center;
  color: rgba(255,255,255,.58);
  flex-shrink: 0;
}

.nh-drawer-links a:hover i,
.nh-drawer-links a:focus-visible i {
  color: var(--primary);
}

.nh-drawer-subitem a {
  padding-left: 24px;
  font-size: 13.5px;
}

.drawer-body, .nh-drawer-body { padding: 12px 0; flex: 1; }
.drawer-body .d-link, .nh-drawer-body .d-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  color: rgba(255,255,255,.82);
  font-size: 14.5px;
  text-decoration: none;
  transition: background var(--transition), color var(--transition);
  border-left: 3px solid transparent;
}
.drawer-body .d-link i, .nh-drawer-body .d-link i {
  font-size: 17px;
  width: 22px;
  text-align: center;
  color: rgba(255,255,255,.5);
}
.drawer-body .d-link:hover,
.drawer-body .d-link.active,
.nh-drawer-body .d-link:hover,
.nh-drawer-body .d-link.active {
  background: rgba(255,255,255,.06);
  color: #fff;
  border-left-color: var(--primary);
}
.drawer-body .d-link:hover i,
.drawer-body .d-link.active i,
.nh-drawer-body .d-link:hover i,
.nh-drawer-body .d-link.active i { color: var(--primary); }

.drawer-divider {
  border: none;
  border-top: 1px solid rgba(255,255,255,.08);
  margin: 8px 0;
}
.drawer-section-title {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255,255,255,.35);
  padding: 10px 20px 4px;
}
.drawer-cats { padding: 0; }
.drawer-cats .cat-link {
  padding: 10px 20px 10px 32px;
  font-size: 13.5px;
}

/* ------------------------------------------------------------------
   9. Mobile Bottom Bar
   ------------------------------------------------------------------ */
.nh-bottom-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1035;
  background: var(--dark);
  border-top: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 -4px 20px rgba(0,0,0,.25);
  height: 58px;
}
.nh-bottom-bar .bb-inner {
  display: flex;
  align-items: stretch;
  height: 100%;
}
.nh-bottom-bar .bb-btn {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  color: rgba(255,255,255,.6);
  font-size: 10px;
  font-weight: 500;
  text-decoration: none;
  border: none;
  background: none;
  cursor: pointer;
  position: relative;
  transition: color var(--transition), background var(--transition);
  padding: 0;
}
.nh-bottom-bar .bb-btn i { font-size: 20px; }
.nh-bottom-bar .bb-btn.active { color: var(--primary); }
.nh-bottom-bar .bb-btn:hover { color: #fff; background: rgba(255,255,255,.05); }
.nh-bottom-bar .bb-btn .bb-badge {
  position: absolute;
  top: 6px;
  right: calc(50% - 16px);
  background: var(--primary);
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  min-width: 16px;
  height: 16px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 3px;
}
.nh-bottom-bar .bb-badge.zero { display: none; }
.nh-bottom-bar .bb-btn.bb-cart { color: var(--primary); }
.nh-bottom-bar .bb-btn.bb-cart.active i { color: var(--primary); }

/* ------------------------------------------------------------------
   10. Hero Section
   ------------------------------------------------------------------ */
.nh-hero {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark2) 50%, #0f3460 100%);
  padding: 56px 0 64px;
  position: relative;
  overflow: hidden;
}
.nh-hero::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(232,93,4,.18) 0%, transparent 70%);
  border-radius: 50%;
}
.nh-hero::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -60px;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(255,214,10,.08) 0%, transparent 70%);
  border-radius: 50%;
}
.nh-hero .hero-content { position: relative; z-index: 1; }
.nh-hero .hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(232,93,4,.2);
  color: var(--accent);
  border: 1px solid rgba(255,214,10,.3);
  padding: 5px 14px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .5px;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.nh-hero h1 {
  font-size: clamp(28px, 5vw, 52px);
  font-weight: 800;
  color: #fff;
  margin-bottom: 16px;
  line-height: 1.15;
}
.nh-hero h1 span { color: var(--primary); }
.nh-hero p {
  font-size: 17px;
  color: rgba(255,255,255,.72);
  margin-bottom: 28px;
  max-width: 480px;
  line-height: 1.7;
}
.nh-hero .hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary);
  color: #fff;
  border: 2px solid var(--primary);
  padding: 12px 28px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: all var(--transition);
  box-shadow: 0 4px 16px rgba(232,93,4,.4);
}
.btn-hero-primary:hover {
  background: var(--primary-d);
  border-color: var(--primary-d);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(232,93,4,.5);
}
.btn-hero-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,.4);
  padding: 12px 28px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: all var(--transition);
}
.btn-hero-outline:hover {
  background: rgba(255,255,255,.1);
  border-color: #fff;
  color: #fff;
}
.hero-stats {
  display: flex;
  gap: 28px;
  margin-top: 32px;
  flex-wrap: wrap;
}
.hero-stat { text-align: center; }
.hero-stat .num {
  font-size: 26px;
  font-weight: 800;
  color: var(--accent);
  display: block;
  line-height: 1;
}
.hero-stat .lbl {
  font-size: 11px;
  color: rgba(255,255,255,.55);
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-top: 3px;
}
.hero-img-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}
.hero-img-wrap img {
  max-height: 340px;
  object-fit: contain;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,.4));
}

/* Feature bar below hero */
.hero-features {
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: 18px 0;
}
.hero-features .feat-item {
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero-features .feat-icon {
  width: 44px;
  height: 44px;
  background: #fff3ec;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--primary);
  flex-shrink: 0;
}
.hero-features .feat-text strong {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.2;
}
.hero-features .feat-text small {
  font-size: 11.5px;
  color: var(--muted);
}

/* ------------------------------------------------------------------
   11. Section Headers
   ------------------------------------------------------------------ */
.section-wrap { padding: 44px 0; }
.section-title {
  margin-bottom: 28px;
}
.section-title .pre-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 6px;
}
.section-title h2 {
  font-size: clamp(22px, 4vw, 32px);
  font-weight: 800;
  color: var(--dark);
  margin: 0;
  position: relative;
  display: inline-block;
}
.section-title h2::after {
  content: '';
  display: block;
  width: 48px;
  height: 4px;
  background: var(--primary);
  border-radius: 2px;
  margin-top: 10px;
}
.section-title p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 14.5px;
  max-width: 500px;
}
.section-title.centered { text-align: center; }
.section-title.centered h2::after { margin-left: auto; margin-right: auto; }
.section-view-all {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary);
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
  padding: 7px 16px;
  border: 2px solid var(--primary);
  border-radius: var(--radius);
  transition: all var(--transition);
}
.section-view-all:hover {
  background: var(--primary);
  color: #fff;
}

.nh-banner-desc {
  display: inline-block;
  /* max-width: 760px;*/
  margin-top: 8px;
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.16);
  color: rgba(255,255,255,.88);
  font-size: 14px;
  line-height: 1.65;
  backdrop-filter: blur(4px);
}

/* ------------------------------------------------------------------
   12. Category Card
   ------------------------------------------------------------------ */
.nh-list-card {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 2px 14px rgba(15, 23, 42, .05);
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}
.nh-list-card:hover {
  border-color: rgba(232,93,4,.45);
  box-shadow: 0 10px 28px rgba(15, 23, 42, .09);
  transform: translateY(-3px);
}

.nh-cat-card,
.nh-brand-card,
.nh-item-card {
  height: 100%;
}

.nh-cat-card,
.nh-brand-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.nh-cat-img,
.nh-brand-img,
.nh-item-img-wrap {
  background: linear-gradient(180deg, #fbfbfc 0%, #f3f4f6 100%);
  border-bottom: 1px solid var(--border);
}

.nh-cat-img img,
.nh-brand-img img,
.nh-item-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nh-cat-body,
.nh-brand-body,
.nh-item-body {
  padding: 14px;
}

.nh-cat-name,
.nh-brand-body h3,
.nh-item-name {
  color: var(--dark);
  transition: color var(--transition);
}

.nh-cat-card:hover .nh-cat-name,
.nh-brand-card:hover .nh-brand-body h3,
.nh-item-card:hover .nh-item-name {
  color: var(--primary);
}

.nh-cat-img,
.nh-brand-img {
  aspect-ratio: 1 / 1;
}

.nh-cat-name {
  font-size: 14px;
  font-weight: 700;
  margin: 0 0 6px;
}

.nh-cat-count {
  font-size: 12px;
  color: var(--muted);
}

.nh-brand-body h3 {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 6px;
}

.nh-item-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.nh-item-img-wrap {
  display: block;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.nh-item-img-wrap img {
  transition: transform .3s ease;
}

.nh-item-card:hover .nh-item-img-wrap img {
  transform: scale(1.04);
}

.nh-item-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.nh-item-brand {
  font-size: 11px;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: .4px;
}

.nh-item-name {
  display: block;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  text-decoration: none;
}

.nh-item-price {
  font-size: 18px;
  font-weight: 800;
  color: var(--primary);
}

.nh-item-footer {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-top: auto;
}

.nh-add-cart {
  flex: 1;
  min-width: 0;
  border: none;
  border-radius: var(--radius);
  background: var(--primary);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  padding: 10px 12px;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}

.nh-add-cart:hover {
  background: var(--primary-d);
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(232,93,4,.25);
}

.nh-share-wa {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  border: 1px solid rgba(37, 211, 102, .28);
  background: #ecfff3;
  color: #1fa855;
  transition: background var(--transition), color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.nh-share-wa:hover {
  background: #25d366;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(37, 211, 102, .25);
}

.cat-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-align: center;
  padding: 24px 16px 18px;
  border: 1.5px solid var(--border);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  transition: all var(--transition);
  box-shadow: var(--shadow);
  height: 100%;
}
.cat-card:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(232,93,4,.15);
}
.cat-card .cat-icon {
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, #fff3ec 0%, #ffeedd 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  color: var(--primary);
  transition: all var(--transition);
  border: 2px solid rgba(232,93,4,.15);
}
.cat-card:hover .cat-icon {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 4px 16px rgba(232,93,4,.4);
}
.cat-card .cat-img {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border);
  transition: border-color var(--transition);
}
.cat-card:hover .cat-img { border-color: var(--primary); }
.cat-card .cat-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--dark);
  margin: 0;
  transition: color var(--transition);
}
.cat-card:hover .cat-name { color: var(--primary); }
.cat-card .cat-count {
  font-size: 12px;
  color: var(--muted);
  margin: 0;
}

/* ------------------------------------------------------------------
   13. Item / Product Card
   ------------------------------------------------------------------ */
.item-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1.5px solid var(--border);
  display: flex;
  flex-direction: column;
  height: 100%;
  box-shadow: var(--shadow);
  transition: all var(--transition);
  position: relative;
}
.item-card:hover {
  border-color: rgba(232,93,4,.4);
  box-shadow: 0 8px 28px rgba(0,0,0,.12);
  transform: translateY(-3px);
}
.item-card .card-img-wrap {
  position: relative;
  overflow: hidden;
  background: #f5f5f5;
  aspect-ratio: 1 / 1;
}
.item-card .card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.item-card:hover .card-img-wrap img { transform: scale(1.06); }

/* Badges */
.item-card .card-badges {
  position: absolute;
  top: 10px;
  left: 10px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  z-index: 2;
}
.item-card .badge-new {
  background: #10b981;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: .3px;
}
.item-card .badge-sale {
  background: var(--primary);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  text-transform: uppercase;
}
.item-card .badge-out {
  background: #6b7280;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
}

/* Card body */
.item-card .card-body {
  padding: 14px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 6px;
}
.item-card .card-brand {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: var(--primary);
  margin: 0;
}
.item-card .card-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--dark);
  margin: 0;
  line-height: 1.4;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.item-card .card-name a {
  color: inherit;
  text-decoration: none;
}
.item-card .card-name a:hover { color: var(--primary); }

/* Price */
.item-card .card-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}
.item-card .price-current {
  font-size: 18px;
  font-weight: 800;
  color: var(--primary);
}
.item-card .price-old {
  font-size: 13px;
  color: var(--muted);
  text-decoration: line-through;
}
.item-card .price-save {
  font-size: 11px;
  color: #10b981;
  font-weight: 700;
}

/* Card footer */
.item-card .card-footer-wrap {
  padding: 0 14px 14px;
  margin-top: auto;
}
.btn-add-cart {
  width: 100%;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  padding: 10px 16px;
  font-size: 13.5px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  transition: all var(--transition);
  text-decoration: none;
}
.btn-add-cart:hover {
  background: var(--primary-d);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(232,93,4,.4);
}
.btn-add-cart.success {
  background: #10b981;
}
.btn-add-cart.out-of-stock {
  background: #9ca3af;
  cursor: not-allowed;
}
.btn-add-cart.out-of-stock:hover {
  background: #9ca3af;
  transform: none;
  box-shadow: none;
}

/* Rating */
.item-card .card-rating {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: var(--muted);
}
.item-card .card-rating .stars { color: var(--accent); }

/* ------------------------------------------------------------------
   14. Cart Page Styles
   ------------------------------------------------------------------ */
.cart-page .cart-wrap {
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.cart-page .cart-header {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  background: #fafafa;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.cart-page .cart-header h5 { margin: 0; font-size: 16px; font-weight: 700; }
.cart-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  transition: background var(--transition);
}
.cart-item:last-child { border-bottom: none; }
.cart-item:hover { background: #fafafa; }
.cart-item .ci-img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  flex-shrink: 0;
}
.cart-item .ci-info { flex: 1; min-width: 0; }
.cart-item .ci-brand {
  font-size: 11px;
  color: var(--primary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .4px;
}
.cart-item .ci-name {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--dark);
  margin: 2px 0 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cart-item .ci-price-unit {
  font-size: 12.5px;
  color: var(--muted);
}
.ci-qty-wrap {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  flex-shrink: 0;
}
.ci-qty-btn {
  width: 34px;
  height: 34px;
  border: none;
  background: #f3f4f6;
  color: var(--text);
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
  line-height: 1;
}
.ci-qty-btn:hover { background: var(--primary); color: #fff; }
.ci-qty-input {
  width: 42px;
  height: 34px;
  border: none;
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  outline: none;
  color: var(--dark);
}
.cart-item .ci-total {
  font-size: 16px;
  font-weight: 800;
  color: var(--primary);
  min-width: 80px;
  text-align: right;
  flex-shrink: 0;
}
.cart-item .ci-remove {
  background: none;
  border: none;
  color: #ccc;
  font-size: 18px;
  cursor: pointer;
  padding: 4px;
  border-radius: 6px;
  transition: color var(--transition);
  flex-shrink: 0;
}
.cart-item .ci-remove:hover { color: #e74c3c; }

/* Cart summary */
.cart-summary {
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--border);
  padding: 22px;
  box-shadow: var(--shadow);
  position: sticky;
  top: 80px;
}
.cart-summary h5 {
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.cart-summary .sum-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  font-size: 14px;
}
.cart-summary .sum-row.total {
  border-top: 2px solid var(--border);
  margin-top: 8px;
  padding-top: 14px;
  font-size: 18px;
  font-weight: 800;
  color: var(--primary);
}
.btn-checkout {
  width: 100%;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  padding: 14px;
  font-size: 16px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  margin-top: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all var(--transition);
  text-decoration: none;
}
.btn-checkout:hover {
  background: var(--primary-d);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(232,93,4,.4);
}
.btn-continue-shop {
  width: 100%;
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
  border-radius: var(--radius);
  padding: 11px;
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  margin-top: 10px;
  text-align: center;
  display: block;
  text-decoration: none;
  transition: all var(--transition);
}
.btn-continue-shop:hover {
  background: var(--primary);
  color: #fff;
}

/* Empty cart */
.cart-empty {
  text-align: center;
  padding: 60px 20px;
}
.cart-empty i { font-size: 72px; color: #e5e7eb; margin-bottom: 16px; display: block; }
.cart-empty h4 { font-size: 22px; color: var(--muted); font-weight: 600; }
.cart-empty p { color: var(--muted); font-size: 14.5px; }

/* ------------------------------------------------------------------
   15. Form Styles
   ------------------------------------------------------------------ */
.nh-form-wrap {
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--border);
  padding: 32px;
  box-shadow: var(--shadow);
  max-width: 480px;
  margin: 0 auto;
}
.nh-form-wrap .form-title {
  font-size: 24px;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 6px;
}
.nh-form-wrap .form-subtitle {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 24px;
}
.nh-form-wrap .form-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 18px 0;
  color: var(--muted);
  font-size: 12.5px;
}
.nh-form-wrap .form-divider::before,
.nh-form-wrap .form-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}
.form-control, .form-select {
  font-family: inherit;
  font-size: 14.5px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 10px 14px;
  color: var(--text);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-control:focus, .form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(232,93,4,.12);
  outline: none;
}
.form-label {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 5px;
}
.form-text { font-size: 12px; color: var(--muted); }
.btn-primary-full {
  width: 100%;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  padding: 12px;
  font-size: 15px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: all var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.btn-primary-full:hover {
  background: var(--primary-d);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(232,93,4,.35);
}
.form-switch .form-check-input:checked {
  background-color: var(--primary);
  border-color: var(--primary);
}
.input-group .input-group-text {
  border: 1.5px solid var(--border);
  background: #f3f4f6;
  color: var(--muted);
}
.input-group .form-control {
  border: 1.5px solid var(--border);
}
.was-validated .form-control:valid { border-color: #10b981; }
.was-validated .form-control:invalid { border-color: #ef4444; }

/* ------------------------------------------------------------------
   16. Order Status Badges
   ------------------------------------------------------------------ */
.order-status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .3px;
}
.order-status.pending {
  background: #fef3c7;
  color: #d97706;
  border: 1px solid #fde68a;
}
.order-status.confirmed {
  background: #dbeafe;
  color: #1d4ed8;
  border: 1px solid #bfdbfe;
}
.order-status.processing {
  background: #ede9fe;
  color: #7c3aed;
  border: 1px solid #ddd6fe;
}
.order-status.shipped {
  background: #e0f2fe;
  color: #0369a1;
  border: 1px solid #bae6fd;
}
.order-status.delivered {
  background: #d1fae5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}
.order-status.cancelled {
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #fecaca;
}
.order-status.returned {
  background: #f3f4f6;
  color: #6b7280;
  border: 1px solid #e5e7eb;
}

/* Order timeline */
.order-timeline {
  position: relative;
  padding-left: 28px;
}
.order-timeline::before {
  content: '';
  position: absolute;
  left: 10px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border);
}
.ot-item {
  position: relative;
  padding-bottom: 20px;
}
.ot-item::before {
  content: '';
  position: absolute;
  left: -23px;
  top: 4px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ddd;
  border: 2px solid #fff;
  box-shadow: 0 0 0 2px #ddd;
}
.ot-item.done::before { background: var(--primary); box-shadow: 0 0 0 2px var(--primary); }
.ot-item .ot-title { font-size: 14px; font-weight: 700; color: var(--dark); }
.ot-item .ot-date { font-size: 12px; color: var(--muted); }
.ot-item .ot-desc { font-size: 13px; color: var(--text); margin-top: 3px; }

/* ------------------------------------------------------------------
   17. Post / Reply Styles
   ------------------------------------------------------------------ */
.post-card {
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-bottom: 16px;
}
.post-card .post-header {
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--border);
}
.post-card .post-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-d));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  flex-shrink: 0;
}
.post-card .post-meta { flex: 1; }
.post-card .post-author {
  font-size: 14px;
  font-weight: 700;
  color: var(--dark);
}
.post-card .post-date {
  font-size: 12px;
  color: var(--muted);
}
.post-card .post-badge {
  background: var(--primary);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  text-transform: uppercase;
}
.post-card .post-body {
  padding: 16px 20px;
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--text);
}
.post-card .post-footer {
  padding: 10px 20px;
  border-top: 1px solid var(--border);
  background: #fafafa;
  display: flex;
  align-items: center;
  gap: 14px;
}
.post-action-btn {
  background: none;
  border: none;
  color: var(--muted);
  font-size: 13px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 4px 0;
  transition: color var(--transition);
}
.post-action-btn:hover { color: var(--primary); }

/* Reply thread */
.reply-thread {
  margin: 0 20px 16px;
  border-left: 3px solid var(--border);
  padding-left: 16px;
}
.reply-item {
  background: #fafafa;
  border-radius: var(--radius);
  padding: 12px 14px;
  margin-bottom: 10px;
}
.reply-item:last-child { margin-bottom: 0; }
.reply-author {
  font-size: 13px;
  font-weight: 700;
  color: var(--dark);
}
.reply-author span.staff {
  background: var(--primary);
  color: #fff;
  font-size: 9px;
  padding: 1px 6px;
  border-radius: 3px;
  margin-left: 6px;
  font-weight: 700;
  text-transform: uppercase;
}
.reply-date { font-size: 11px; color: var(--muted); margin-bottom: 6px; }
.reply-text { font-size: 13.5px; line-height: 1.6; color: var(--text); }

/* ------------------------------------------------------------------
   18. Footer
   ------------------------------------------------------------------ */
.nh-footer {
  background: var(--dark);
  color: rgba(255,255,255,.72);
  padding: 52px 0 0;
  margin-top: 48px;
}
.nh-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 36px 28px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.nh-footer-brand p {
  font-size: 13.5px;
  color: rgba(255,255,255,.55);
  line-height: 1.7;
  margin: 14px 0 0;
  max-width: 280px;
}
.nh-footer-col h4 {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  letter-spacing: .5px;
  text-transform: uppercase;
  margin: 0 0 14px;
}
.nh-footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.nh-footer-col ul li {
  margin-bottom: 9px;
}
.nh-footer-col ul li a {
  color: rgba(255,255,255,.6);
  text-decoration: none;
  font-size: 13.5px;
  transition: color var(--transition);
}
.nh-footer-col ul li a:hover { color: var(--accent); }
.nh-footer-col ul li a i { font-size: 10px; margin-right: 6px; }
.nh-footer-contact { list-style: none; padding: 0; margin: 0; }
.nh-footer-contact li {
  display: flex;
  gap: 10px;
  margin-bottom: 11px;
  font-size: 13.5px;
  color: rgba(255,255,255,.6);
  line-height: 1.5;
}
.nh-footer-contact li i {
  color: var(--accent);
  margin-top: 3px;
  flex-shrink: 0;
  width: 14px;
  text-align: center;
}
.nh-social { display: flex; gap: 10px; margin-top: 14px; }
.nh-social-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.7);
  font-size: 15px;
  text-decoration: none;
  transition: all var(--transition);
}
.nh-social-btn:hover { background: var(--primary); color: #fff; }
.nh-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  font-size: 13px;
  color: rgba(255,255,255,.4);
  flex-wrap: wrap;
  gap: 8px;
}
.nh-footer-bottom a {
  color: rgba(255,255,255,.4);
  text-decoration: none;
  margin-left: 16px;
  transition: color var(--transition);
}
.nh-footer-bottom a:hover { color: var(--accent); }
.nh-footer .footer-brand .logo-text .brand { color: #fff; }
.nh-footer .footer-desc {
  font-size: 13.5px;
  color: rgba(255,255,255,.55);
  line-height: 1.7;
  margin: 14px 0 18px;
  max-width: 280px;
}
.nh-footer .footer-social {
  display: flex;
  gap: 10px;
}
.nh-footer .social-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.7);
  font-size: 15px;
  text-decoration: none;
  transition: all var(--transition);
}
.nh-footer .social-btn:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}
.nh-footer .footer-col-title {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--primary);
  display: inline-block;
}
.nh-footer .footer-links { list-style: none; padding: 0; margin: 0; }
.nh-footer .footer-links li { margin-bottom: 9px; }
.nh-footer .footer-links a {
  color: rgba(255,255,255,.6);
  text-decoration: none;
  font-size: 13.5px;
  transition: color var(--transition), padding-left var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.nh-footer .footer-links a:hover {
  color: var(--accent);
  padding-left: 4px;
}
.nh-footer .footer-links a i {
  font-size: 11px;
  color: var(--primary);
}
.nh-footer .footer-contact { list-style: none; padding: 0; margin: 0; }
.nh-footer .footer-contact li {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 13.5px;
  color: rgba(255,255,255,.6);
  align-items: flex-start;
}
.nh-footer .footer-contact li i {
  color: var(--primary);
  font-size: 15px;
  margin-top: 2px;
  flex-shrink: 0;
}
.nh-footer .footer-contact a {
  color: rgba(255,255,255,.6);
  text-decoration: none;
}
.nh-footer .footer-contact a:hover { color: var(--accent); }

/* Footer bottom */
.nh-footer .footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  margin-top: 36px;
  padding: 18px 0;
}
.nh-footer .footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}
.nh-footer .footer-copy {
  font-size: 12.5px;
  color: rgba(255,255,255,.4);
}
.nh-footer .footer-pay {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: rgba(255,255,255,.4);
}
.nh-footer .pay-icon {
  background: rgba(255,255,255,.1);
  border-radius: 4px;
  padding: 3px 7px;
  font-size: 11px;
  font-weight: 700;
  color: rgba(255,255,255,.6);
}

/* ------------------------------------------------------------------
   19. Breadcrumb
   ------------------------------------------------------------------ */
.nh-breadcrumb {
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: 10px 0;
}
.nh-breadcrumb .breadcrumb {
  margin: 0;
  font-size: 13px;
  flex-wrap: wrap;
}
.nh-breadcrumb .breadcrumb-item a {
  color: var(--primary);
  text-decoration: none;
}
.nh-breadcrumb .breadcrumb-item a:hover { text-decoration: underline; }
.nh-breadcrumb .breadcrumb-item.active { color: var(--muted); }
.nh-breadcrumb .breadcrumb-item+.breadcrumb-item::before {
  color: var(--muted);
}

/* ------------------------------------------------------------------
   20. Alert / Flash Styles
   ------------------------------------------------------------------ */
.flash-container {
  position: fixed;
  top: 80px;
  right: 20px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 340px;
  width: 100%;
}
.flash-msg {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: #fff;
  border-radius: var(--radius);
  padding: 14px 16px;
  box-shadow: var(--shadow-lg);
  border-left: 4px solid var(--muted);
  animation: flashIn .35s ease;
}
@keyframes flashIn {
  from { opacity: 0; transform: translateX(40px); }
  to   { opacity: 1; transform: translateX(0); }
}
.flash-msg.success { border-left-color: #10b981; }
.flash-msg.error   { border-left-color: #ef4444; }
.flash-msg.warning { border-left-color: #f59e0b; }
.flash-msg.info    { border-left-color: #3b82f6; }
.flash-msg .flash-icon { font-size: 18px; margin-top: 1px; flex-shrink: 0; }
.flash-msg.success .flash-icon { color: #10b981; }
.flash-msg.error   .flash-icon { color: #ef4444; }
.flash-msg.warning .flash-icon { color: #f59e0b; }
.flash-msg.info    .flash-icon { color: #3b82f6; }
.flash-msg .flash-text {
  flex: 1;
  font-size: 13.5px;
  color: var(--text);
  line-height: 1.5;
}
.flash-msg .flash-text strong {
  display: block;
  font-size: 14px;
  margin-bottom: 2px;
}
.flash-msg .flash-close {
  background: none;
  border: none;
  color: var(--muted);
  font-size: 16px;
  cursor: pointer;
  padding: 0;
  line-height: 1;
  flex-shrink: 0;
}
.flash-msg .flash-close:hover { color: var(--text); }
.flash-msg.dismissing {
  animation: flashOut .3s ease forwards;
}
@keyframes flashOut {
  to { opacity: 0; transform: translateX(40px); }
}

/* Page-level alerts */
.nh-alert {
  border-radius: var(--radius);
  padding: 14px 18px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  margin-bottom: 16px;
  border: 1px solid transparent;
}
.nh-alert.success {
  background: #f0fdf4;
  color: #166534;
  border-color: #bbf7d0;
}
.nh-alert.error {
  background: #fef2f2;
  color: #991b1b;
  border-color: #fecaca;
}
.nh-alert.warning {
  background: #fffbeb;
  color: #92400e;
  border-color: #fde68a;
}
.nh-alert.info {
  background: #eff6ff;
  color: #1e40af;
  border-color: #bfdbfe;
}

/* ------------------------------------------------------------------
   21. Page Title Banners
   ------------------------------------------------------------------ */
.page-banner {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark2) 100%);
  padding: 36px 0;
  position: relative;
  overflow: hidden;
}
.page-banner::after {
  content: '';
  position: absolute;
  right: -40px;
  top: -40px;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(232,93,4,.15) 0%, transparent 70%);
  border-radius: 50%;
}
.page-banner h1 {
  font-size: clamp(22px, 4vw, 36px);
  font-weight: 800;
  color: #fff;
  margin: 0 0 6px;
}
.page-banner p {
  font-size: 14px;
  color: rgba(255,255,255,.6);
  margin: 0;
}
.page-banner .breadcrumb { margin: 12px 0 0; }
.page-banner .breadcrumb-item { color: rgba(255,255,255,.55); }
.page-banner .breadcrumb-item a { color: rgba(255,255,255,.75); }
.page-banner .breadcrumb-item.active { color: var(--accent); }
.page-banner .breadcrumb-item+.breadcrumb-item::before { color: rgba(255,255,255,.35); }

/* ------------------------------------------------------------------
   22. Price Display
   ------------------------------------------------------------------ */
.price-block {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
}
.price-main {
  font-size: 28px;
  font-weight: 800;
  color: var(--primary);
}
.price-old-val {
  font-size: 16px;
  color: var(--muted);
  text-decoration: line-through;
}
.price-discount-pct {
  font-size: 14px;
  font-weight: 700;
  color: #10b981;
  background: #d1fae5;
  padding: 2px 8px;
  border-radius: 4px;
}

/* ------------------------------------------------------------------
   23. Scroll-to-Top Button
   ------------------------------------------------------------------ */
.scroll-top {
  position: fixed;
  bottom: 80px;
  right: 20px;
  width: 44px;
  height: 44px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(232,93,4,.4);
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s, transform .3s;
  z-index: 900;
}
.scroll-top.visible {
  opacity: 1;
  pointer-events: all;
}
.scroll-top:hover { transform: translateY(-3px); box-shadow: 0 6px 20px rgba(232,93,4,.5); }

/* ------------------------------------------------------------------
   24. Loading Spinner
   ------------------------------------------------------------------ */
.nh-spinner {
  display: inline-block;
  width: 32px;
  height: 32px;
  border: 3px solid rgba(232,93,4,.2);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin .7s linear infinite;
}
.nh-spinner.sm { width: 20px; height: 20px; border-width: 2px; }
.nh-spinner.lg { width: 48px; height: 48px; border-width: 4px; }
@keyframes spin { to { transform: rotate(360deg); } }
.loading-overlay {
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  border-radius: inherit;
}
.page-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px;
  flex-direction: column;
  gap: 14px;
  color: var(--muted);
  font-size: 14px;
}

/* ------------------------------------------------------------------
   25. Empty State Placeholder
   ------------------------------------------------------------------ */
.empty-state {
  text-align: center;
  padding: 56px 20px;
}
.empty-state .empty-icon {
  width: 96px;
  height: 96px;
  background: #f3f4f6;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 42px;
  color: #d1d5db;
}
.empty-state h4 {
  font-size: 20px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
}
.empty-state p {
  font-size: 14.5px;
  color: var(--muted);
  max-width: 340px;
  margin: 0 auto 20px;
}

/* ------------------------------------------------------------------
   26. Responsive Breakpoints
   ------------------------------------------------------------------ */
@media (max-width: 991.98px) {
  .nh-nav { display: none; }
  .hamburger-btn, .nh-hamburger { display: flex; }
  .search-wrap, .nh-search-wrap { max-width: none; }
}

@media (max-width: 768px) {
  body { padding-bottom: 58px; }
  .nh-bottom-bar { display: block; }
  .top-bar .tb-right, .nh-topbar .tb-right { display: none; }
  .nh-logo .logo-text .brand, .nh-logo-text strong { font-size: 14px; }
  .nh-logo .logo-text .tagline, .nh-logo-text span { font-size: 8px; }
  .nh-footer-grid { grid-template-columns: 1fr 1fr; gap: 24px 20px; }
  /* Header wraps to two rows on mobile */
  .nh-header-inner { flex-wrap: wrap; padding-bottom: 6px; }
  .search-wrap, .nh-search-wrap {
    order: 10;
    flex: 0 0 100%;
    max-width: 100%;
    margin: 4px 0 0;
  }
  .search-wrap .search-select, .nh-search-wrap .nh-search-select {
    max-width: 140px;
  }
  .hdr-btn.hdr-account { display: none; }
  .nh-hero { padding: 36px 0 44px; }
  .hero-img-wrap { display: none; }
  .section-wrap { padding: 30px 0; }
  .nh-footer { padding: 36px 0 0; }
  .nh-footer .footer-col { margin-bottom: 28px; }
  .cart-item .ci-img { width: 60px; height: 60px; }
  .cart-item .ci-total { min-width: 60px; font-size: 14px; }
  .cart-summary { position: static; }
  .nh-form-wrap { padding: 22px 18px; }
  .flash-container { top: auto; bottom: 70px; right: 10px; left: 10px; max-width: none; }
  .scroll-top { bottom: 70px; right: 12px; }
}

@media (max-width: 575.98px) {
  .nh-footer-grid { grid-template-columns: 1fr; }
  .nh-header .header-inner { gap: 8px; }
  .nh-logo .logo-text .tagline { display: none; }
  .top-bar { font-size: 11px; }
  .nh-form-wrap { padding: 18px 14px; border-radius: var(--radius); }
  .item-card .price-main { font-size: 22px; }
  .hero-stat .num { font-size: 22px; }
  .hero-stats { gap: 18px; }
  .cart-item { gap: 10px; padding: 12px 14px; }
  .cart-item .ci-img { width: 54px; height: 54px; }
}

/* ------------------------------------------------------------------
   27. Utility / Misc
   ------------------------------------------------------------------ */
/* Product detail page */
.product-imgs .main-img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--border);
  cursor: zoom-in;
}
.product-imgs .thumb-list {
  display: flex;
  gap: 8px;
  margin-top: 10px;
  flex-wrap: wrap;
}
.product-imgs .thumb-img {
  width: 68px;
  height: 68px;
  object-fit: cover;
  border-radius: var(--radius);
  border: 2px solid var(--border);
  cursor: pointer;
  transition: border-color var(--transition);
}
.product-imgs .thumb-img:hover,
.product-imgs .thumb-img.active { border-color: var(--primary); }

.qty-control {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  width: fit-content;
}
.qty-control button {
  width: 40px;
  height: 40px;
  border: none;
  background: #f3f4f6;
  font-size: 18px;
  cursor: pointer;
  color: var(--text);
  transition: background var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}
.qty-control button:hover { background: var(--primary); color: #fff; }
.qty-control input {
  width: 50px;
  height: 40px;
  border: none;
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
  text-align: center;
  font-size: 15px;
  font-weight: 700;
  outline: none;
  font-family: inherit;
}

/* Sidebar filter */
.filter-sidebar {
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--border);
  padding: 20px;
  box-shadow: var(--shadow);
  position: sticky;
  top: 80px;
}
.filter-sidebar .filter-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}
.filter-group { margin-bottom: 18px; }
.filter-group-title {
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: var(--muted);
  margin-bottom: 8px;
}

/* Pagination */
.nh-pagination .page-link {
  color: var(--primary);
  border-color: var(--border);
  font-size: 14px;
  padding: 7px 13px;
}
.nh-pagination .page-item.active .page-link {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}
.nh-pagination .page-link:hover { background: #fff3ec; color: var(--primary-d); }

/* Profile page */
.profile-avatar {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--primary);
}
.profile-avatar-placeholder {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-d));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  font-weight: 700;
  color: #fff;
  border: 3px solid var(--primary);
}
.profile-tabs .nav-link {
  color: var(--text);
  border-radius: 0;
  border-bottom: 3px solid transparent;
  padding: 10px 18px;
  font-weight: 600;
  font-size: 14px;
}
.profile-tabs .nav-link:hover { color: var(--primary); }
.profile-tabs .nav-link.active {
  color: var(--primary);
  background: none;
  border-bottom-color: var(--primary);
}

/* Table */
.nh-table {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1.5px solid var(--border);
}
.nh-table thead th {
  background: #f8f8f8;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: var(--muted);
  padding: 12px 16px;
  border-bottom: 2px solid var(--border);
}
.nh-table td {
  padding: 13px 16px;
  font-size: 14px;
  vertical-align: middle;
  border-bottom: 1px solid var(--border);
  color: var(--text);
}
.nh-table tbody tr:last-child td { border-bottom: none; }
.nh-table tbody tr:hover { background: #fafafa; }

