/* =============================================
   WestWeapon — Forest & Hunting Theme
   ============================================= */

/* ---------- CSS Variables ---------- */
:root {
  --primary: #3d6b31;
  --primary-dark: #2a4b21;
  --primary-light: #528a44;
  --accent: #c8902e;
  --accent-dark: #a87020;
  --accent-light: #ffffff;
  --dark: #080d07;
  --dark-2: #0f160d;
  --dark-3: #162012;
  --dark-card: #192617;
  --text: #dedad0;
  --text-muted: #8a9a82;
  --text-light: #b8c4ae;
  --border: #253520;
  --border-light: #33472c;
  --success: #4a9e3f;
  --warning: #c8902e;
  --danger: #a33a2a;
  --info: #3a7a8a;
  --radius: 6px;
  --radius-lg: 10px;
  --radius-xl: 18px;
  --shadow: 0 2px 12px rgba(0,0,0,0.5);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.6);
  --transition: 0.25s ease;
  --font-main: 'Inter', sans-serif;
  --font-heading: 'Oswald', sans-serif;

  /* Nature decorations */
  --mountain-bg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 200' preserveAspectRatio='none'%3E%3Cpath fill='%230a1208' d='M0,200 L0,120 L80,60 L160,100 L260,20 L360,80 L440,40 L520,90 L600,30 L680,70 L760,10 L840,60 L920,30 L1000,80 L1100,15 L1200,70 L1300,40 L1380,80 L1440,50 L1440,200 Z'/%3E%3Cpath fill='%230d1a0b' d='M0,200 L0,150 L100,110 L200,140 L320,90 L420,130 L500,100 L600,140 L700,95 L800,130 L900,105 L1000,145 L1100,110 L1200,145 L1320,115 L1440,140 L1440,200 Z'/%3E%3C/svg%3E");
  --forest-line: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80' preserveAspectRatio='none'%3E%3Cpath fill='%230d1a0b' d='M0,80 L0,60 L30,40 L45,55 L60,30 L75,50 L90,25 L105,45 L120,35 L140,55 L160,30 L180,50 L200,20 L220,45 L240,35 L260,55 L280,28 L300,48 L320,22 L340,42 L360,32 L380,52 L400,25 L420,45 L440,38 L460,58 L480,28 L500,48 L520,20 L540,40 L560,30 L580,50 L600,25 L620,45 L640,35 L660,55 L680,25 L700,45 L720,30 L740,50 L760,22 L780,42 L800,28 L820,48 L840,20 L860,40 L880,32 L900,52 L920,25 L940,45 L960,38 L980,58 L1000,28 L1020,48 L1040,20 L1060,40 L1080,30 L1100,50 L1120,25 L1140,45 L1160,35 L1180,55 L1200,28 L1220,48 L1240,22 L1260,42 L1280,32 L1300,52 L1320,25 L1340,45 L1360,38 L1380,58 L1400,30 L1420,50 L1440,35 L1440,80 Z'/%3E%3C/svg%3E");
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-main);
  background: var(--dark);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  background-image:
    radial-gradient(ellipse at 20% 0%, rgba(61,107,49,0.06) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 0%, rgba(20,40,15,0.15) 0%, transparent 50%);
}

a { color: inherit; text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; }
input, textarea, select { font-family: inherit; }

/* ---------- Utilities ---------- */
.container { width: 96%; max-width: 2400px; margin: 0 auto; padding: 0 20px; }
.text-center { text-align: center; }
.mt-sm { margin-top: 8px; }
.mt { margin-top: 16px; }
.mt-lg { margin-top: 32px; }
.mb-sm { margin-bottom: 8px; }
.mb { margin-bottom: 16px; }
.d-flex { display: flex; }
.align-center { align-items: center; }
.gap-sm { gap: 8px; }
.gap { gap: 16px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 600;
  font-family: var(--font-main);
  transition: all var(--transition);
  white-space: nowrap;
  cursor: pointer;
  border: 2px solid transparent;
}
.btn-primary {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}
.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(61,107,49,0.5);
}
.btn-accent {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  font-weight: 700;
}
.btn-accent:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(200,144,46,0.4);
}
.btn-outline {
  background: transparent;
  color: var(--text-light);
  border-color: var(--border-light);
}
.btn-outline:hover {
  background: var(--dark-3);
  border-color: var(--primary);
  color: var(--accent-light);
}
.btn-dark {
  background: var(--dark-3);
  color: var(--text);
  border-color: var(--border);
}
.btn-dark:hover { background: var(--dark-card); }
.btn-sm { padding: 7px 16px; font-size: 0.82rem; }
.btn-lg { padding: 14px 32px; font-size: 1rem; }
.btn-full { width: 100%; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none !important; }

/* ---------- Top Bar ---------- */
.topbar {
  background: var(--dark-2);
  border-bottom: 1px solid var(--border);
  padding: 6px 0;
  font-size: 0.82rem;
  color: var(--text-muted);
  position: relative;
}
.topbar::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  opacity: 0.4;
}
.topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.topbar-left, .topbar-right {
  display: flex;
  align-items: center;
  gap: 20px;
}
.topbar a, .topbar span {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-muted);
  transition: color var(--transition);
}
.topbar a:hover { color: var(--accent-light); }
.topbar .admin-link { color: var(--accent) !important; }

/* Language Switcher */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 2px 0;
}
.lang-switcher a {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  border-radius: 4px;
  border: 1px solid var(--border);
  color: var(--text-muted) !important;
  font-weight: 500;
  font-size: 0.8rem;
  transition: all var(--transition);
}
.lang-switcher a:hover,
.lang-switcher a.active {
  background: var(--primary);
  border-color: var(--primary-light);
  color: #fff !important;
}
.lang-switcher img { width: 16px; height: 11px; object-fit: cover; border-radius: 2px; }

/* ---------- Main Header ---------- */
.main-header {
  background: linear-gradient(180deg, #0a1208 0%, var(--dark-2) 100%);
  border-bottom: 2px solid var(--primary);
  padding: 16px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 24px rgba(0,0,0,0.7), 0 1px 0 rgba(61,107,49,0.3);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  color: var(--text);
}
.logo:hover { color: var(--text); }
.logo-icon {
  width: 96px;
  height: 56px;
  border-radius: var(--radius);
  display: block;
  flex-shrink: 0;
  object-fit: cover;
  box-shadow: 0 0 14px rgba(61,107,49,0.6);
  border: 2px solid var(--primary-light);
}
.logo-main {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 1px;
  color: #fff;
  text-shadow: 0 0 20px rgba(61,107,49,0.4);
}
.logo-main strong { color: #fff; }
.logo-sub {
  display: block;
  font-size: 0.7rem;
  color: #fff;
  letter-spacing: 2px;
  text-transform: uppercase;
  opacity: 0.75;
}

/* Search */
.header-search { flex: 1; max-width: 560px; }
.search-form { display: flex; gap: 0; }
.search-input-wrap { flex: 1; position: relative; }
.search-input-wrap input {
  width: 100%;
  background: rgba(10,18,8,0.8);
  border: 1px solid var(--border-light);
  border-right: none;
  border-radius: var(--radius) 0 0 var(--radius);
  padding: 11px 16px;
  color: var(--text);
  font-size: 0.9rem;
  transition: border-color var(--transition);
  outline: none;
}
.search-input-wrap input:focus { border-color: var(--primary-light); box-shadow: 0 0 8px rgba(61,107,49,0.2); }
.search-input-wrap input::placeholder { color: var(--text-muted); }
.btn-search {
  background: var(--primary);
  color: #fff;
  border: 1px solid var(--primary-light);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 0 20px;
  font-size: 1rem;
  transition: background var(--transition);
  cursor: pointer;
}
.btn-search:hover { background: var(--primary-dark); }

/* Search Autocomplete */
.search-autocomplete {
  position: absolute;
  top: calc(100% + 4px);
  left: 0; right: 0;
  background: var(--dark-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  z-index: 200;
  display: none;
  max-height: 380px;
  overflow-y: auto;
}
.search-autocomplete.show { display: block; }
.ac-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  transition: background var(--transition);
  cursor: pointer;
  border-bottom: 1px solid var(--border);
}
.ac-item:last-child { border-bottom: none; }
.ac-item:hover { background: var(--dark-3); }
.ac-item img { width: 44px; height: 44px; object-fit: cover; border-radius: 4px; flex-shrink: 0; }
.ac-item-name { font-size: 0.88rem; font-weight: 500; }
.ac-item-price { font-size: 0.85rem; color: var(--accent); font-weight: 600; }

/* Header Actions */
.header-actions { display: flex; align-items: center; gap: 16px; flex-shrink: 0; }
.action-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  color: var(--text-muted);
  font-size: 0.72rem;
  position: relative;
  transition: color var(--transition);
  text-align: center;
}
.action-btn i { font-size: 1.2rem; }
.action-btn:hover { color: var(--accent-light); }
.cart-badge {
  position: absolute;
  top: -6px;
  right: -8px;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  font-size: 0.7rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: badgePop 0.3s ease;
}
@keyframes badgePop {
  0% { transform: scale(0); }
  70% { transform: scale(1.2); }
  100% { transform: scale(1); }
}
.burger-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.burger-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ---------- Main Navigation ---------- */
.main-nav {
  background: linear-gradient(180deg, #111a0d 0%, #0d1609 100%);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 82px;
  z-index: 999;
  box-shadow: 0 2px 10px rgba(0,0,0,0.4);
}
.nav-list {
  display: flex;
  align-items: stretch;
}
.nav-list > li {
  position: relative;
}
.nav-link {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 14px 18px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-light);
  white-space: nowrap;
  transition: all var(--transition);
  border-bottom: 3px solid transparent;
  letter-spacing: 0.3px;
}
.nav-link:hover,
.nav-link.active {
  color: #fff;
  border-bottom-color: var(--accent);
  background: rgba(61,107,49,0.12);
}
.nav-link i.fa-chevron-down { font-size: 0.7rem; transition: transform var(--transition); }
.has-mega:hover .nav-link i.fa-chevron-down { transform: rotate(180deg); }

/* Mega Menu */
.mega-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 680px;
  background: linear-gradient(180deg, #111a0d 0%, #0d1609 100%);
  border: 1px solid var(--border-light);
  border-top: 3px solid var(--primary);
  border-radius: 0 0 var(--radius) var(--radius);
  display: flex;
  gap: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all var(--transition);
  box-shadow: 0 16px 48px rgba(0,0,0,0.7);
  z-index: 100;
}
.has-mega:hover .mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.mega-column {
  flex: 1;
  padding: 20px;
  border-right: 1px solid var(--border);
  min-width: 160px;
}
.mega-column:last-child { border-right: none; }
.mega-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--accent-light);
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.mega-item {
  display: block;
  padding: 5px 0;
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: color var(--transition);
}
.mega-item:hover { color: var(--accent-light); padding-left: 6px; }

/* ---------- Flash Messages ---------- */
.flash-message {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  font-size: 0.9rem;
  position: relative;
  animation: slideDown 0.3s ease;
}
@keyframes slideDown {
  from { transform: translateY(-100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.flash-success { background: rgba(74,158,63,0.15); border-bottom: 1px solid rgba(74,158,63,0.3); color: #6dc464; }
.flash-error { background: rgba(163,58,42,0.15); border-bottom: 1px solid rgba(163,58,42,0.3); color: #d96a5a; }
.flash-close { margin-left: auto; color: inherit; opacity: 0.7; font-size: 1.2rem; }
.flash-close:hover { opacity: 1; }

/* ---------- Toast ---------- */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.toast {
  background: var(--dark-card);
  border: 1px solid var(--border);
  border-left: 4px solid var(--success);
  border-radius: var(--radius);
  padding: 14px 18px;
  min-width: 280px;
  max-width: 360px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-lg);
  animation: toastIn 0.3s ease;
  font-size: 0.9rem;
}
.toast.error { border-left-color: var(--danger); }
.toast.warning { border-left-color: var(--warning); }
@keyframes toastIn {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* ---------- Page Layout ---------- */
.page-wrapper { display: flex; flex-direction: column; min-height: 100vh; }
.page-content { flex: 1; }

.main-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 28px;
  padding: 32px 0;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 0;
  font-size: 0.85rem;
  color: var(--text-muted);
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb .sep { color: var(--border-light); }
.breadcrumb .current { color: var(--text); }

/* ---------- Section Headings ---------- */
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
  gap: 16px;
}
.section-title {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 600;
  position: relative;
  padding-left: 16px;
  color: #fff;
  letter-spacing: 0.5px;
}
.section-title::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 70%;
  background: linear-gradient(180deg, var(--accent-light), var(--primary));
  border-radius: 2px;
}
.section-subtitle {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* ---------- Sidebar ---------- */
.sidebar { display: flex; flex-direction: column; gap: 20px; }

.sidebar-widget {
  background: var(--dark-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.widget-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  padding: 14px 18px;
  background: linear-gradient(90deg, rgba(61,107,49,0.15), transparent);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.widget-title i { color: var(--accent); }

/* Category Tree */
.cat-tree { padding: 8px 0; }
.cat-tree > li > a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 18px;
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: all var(--transition);
  position: relative;
}
.cat-tree > li > a:hover,
.cat-tree > li.active > a,
.cat-tree > li.open > a {
  color: #fff;
  background: rgba(61,107,49,0.12);
}
.cat-tree > li.active > a { color: var(--accent-light); border-right: 2px solid var(--accent); }
.cat-tree > li > a i.toggle-sub {
  margin-left: auto;
  font-size: 0.75rem;
  transition: transform var(--transition);
}
.cat-tree > li.open > a i.toggle-sub { transform: rotate(90deg); }
.toggle-sub { margin-left: auto !important; }

.sub-cats { display: none; background: rgba(0,0,0,0.2); }
.sub-cats li a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 18px 7px 36px;
  font-size: 0.84rem;
  color: var(--text-muted);
  transition: all var(--transition);
}
.sub-cats li a:hover,
.sub-cats li.active a { color: var(--accent-light); }

/* Price Range */
.price-slider-wrap {
  padding: 20px 18px 8px;
  position: relative;
}
.price-range-track {
  height: 4px;
  background: var(--border);
  border-radius: 2px;
  margin: 10px 0 24px;
  position: relative;
}
.price-range-selected {
  position: absolute;
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 2px;
}
.price-range-input {
  position: absolute;
  width: calc(100% - 36px);
  height: 4px;
  background: transparent;
  border: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  pointer-events: none;
  top: 12px;
  z-index: 3;
}
.price-range-input::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent);
  border: 2px solid var(--dark);
  cursor: pointer;
  pointer-events: all;
}
.price-range-input::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent);
  border: 2px solid var(--dark);
  cursor: pointer;
  pointer-events: all;
  box-shadow: 0 0 0 2px rgba(200,144,46,0.4);
}
.price-inputs {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 18px 14px;
}
.price-input-group { flex: 1; }
.price-input-group label { font-size: 0.75rem; color: var(--text-muted); display: block; margin-bottom: 4px; }
.price-input-group input {
  width: 100%;
  background: var(--dark-3);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 6px 8px;
  color: var(--text);
  font-size: 0.85rem;
  text-align: center;
  -moz-appearance: textfield;
  appearance: textfield;
}
.price-input-group input::-webkit-outer-spin-button,
.price-input-group input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.price-input-group input:focus {
  outline: none;
  border-color: var(--primary-light);
  box-shadow: 0 0 0 2px rgba(61,107,49,0.2);
}
.price-dash { color: var(--text-muted); font-size: 1.2rem; }
.sidebar-widget .btn-sm { margin: 0 18px 16px; width: calc(100% - 36px); }
.sidebar-widget .btn-full.mt-sm { margin-top: 8px; }

/* Brand Tags */
.brand-list { padding: 14px 18px; display: flex; flex-wrap: wrap; gap: 8px; }
.brand-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 12px;
  background: var(--dark-3);
  border: 1px solid var(--border);
  border-radius: 20px;
  font-size: 0.82rem;
  color: var(--text-muted);
  transition: all var(--transition);
}
.brand-tag:hover { border-color: var(--accent); color: var(--accent-light); }
.brand-tag.active { background: var(--accent); border-color: var(--accent); color: #fff; }

/* Deal Items */
.widget-deals .deal-item {
  display: flex;
  gap: 12px;
  padding: 12px 18px;
  border-bottom: 1px solid var(--border);
  align-items: flex-start;
}
.widget-deals .deal-item:last-child { border-bottom: none; }
.deal-img {
  width: 72px;
  height: 72px;
  flex-shrink: 0;
  border-radius: 6px;
  overflow: hidden;
  position: relative;
  display: block;
}
.deal-img img { width: 100%; height: 100%; object-fit: cover; }
.deal-badge {
  position: absolute;
  top: 4px;
  right: 4px;
  background: var(--accent);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 2px 5px;
  border-radius: 3px;
}
.deal-name { font-size: 0.82rem; color: var(--text-light); display: block; margin-bottom: 4px; line-height: 1.3; }
.deal-name:hover { color: var(--accent-light); }
.deal-prices { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.deal-price { color: var(--accent); font-weight: 700; font-size: 0.9rem; }
.deal-old-price { color: var(--text-muted); font-size: 0.78rem; text-decoration: line-through; }

/* Contact Widget */
.widget-contact .contact-info-sidebar { padding: 14px 18px; }
.contact-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--accent-light) !important;
  margin-bottom: 8px;
}
.contact-hours { font-size: 0.84rem; color: var(--text-muted); display: flex; align-items: center; gap: 8px; margin-bottom: 4px; }
.widget-contact .btn { margin-top: 12px; }

/* ---------- Hero Slider ---------- */
.hero-slider {
  position: relative;
  overflow: hidden;
  height: 680px;
}
.hero-slide {
  height: 620px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding-top: 0;
}
.hero-slide-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(to right, rgba(5,10,4,0.88) 0%, rgba(5,10,4,0.55) 25%, rgba(5,10,4,0.15) 80%),
    linear-gradient(to top, rgba(5,10,4,0.95) 0%, transparent 35%),
    url('/assets/images/sky-mout.jpg') center 100% /cover no-repeat;
}
.hero-slide-bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
  filter: saturate(0.8) brightness(0.75);
  mix-blend-mode: luminosity;
}
.hero-slide-content {
  position: relative;
  z-index: 4;
  max-width: 780px;
  padding: 0 60px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--accent);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 5px 16px;
  border-radius: 3px;
  margin-bottom: 18px;
  box-shadow: 0 2px 12px rgba(200,144,46,0.4);
}
.hero-title {
  font-family: var(--font-heading);
  font-size: 3.4rem;
  font-weight: 700;
  line-height: 1.05;
  color: #fff;
  margin-bottom: 16px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.5);
  letter-spacing: 1px;
}
.hero-subtitle {
  font-size: 1rem;
  color: var(--text-light);
  margin-bottom: 32px;
  line-height: 1.6;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.swiper-pagination-bullet {
  background: rgba(255,255,255,0.4) !important;
  opacity: 1 !important;
  width: 8px !important;
  height: 8px !important;
}
.swiper-pagination-bullet-active {
  background: var(--accent) !important;
  width: 24px !important;
  border-radius: 4px !important;
}
.swiper-button-next, .swiper-button-prev {
  color: var(--accent-light) !important;
  background: rgba(0,0,0,0.6);
  width: 44px !important;
  height: 44px !important;
  border-radius: 50% !important;
  border: 1px solid rgba(200,144,46,0.3) !important;
  transition: all var(--transition);
}
.swiper-button-next:hover, .swiper-button-prev:hover {
  background: var(--primary) !important;
  border-color: var(--primary-light) !important;
}
.swiper-button-next::after, .swiper-button-prev::after { font-size: 1rem !important; }

/* ---------- Advantages Strip ---------- */
.advantages-strip {
  background: linear-gradient(180deg, #0f1a0c 0%, #0d1609 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 24px 0;
  position: relative;
}
.advantages-strip::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary), var(--accent), var(--primary), transparent);
  opacity: 0.4;
}
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.adv-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 8px 24px;
  border-right: 1px solid var(--border);
}
.adv-item:last-child { border-right: none; }
.adv-icon {
  width: 48px;
  height: 48px;
  background: rgba(61,107,49,0.18);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--accent);
  flex-shrink: 0;
  border: 1px solid rgba(61,107,49,0.3);
}
.adv-title { font-size: 0.9rem; font-weight: 700; color: #fff; margin-bottom: 2px; }
.adv-text { font-size: 0.78rem; color: var(--text-muted); line-height: 1.3; }

/* ---------- Product Cards ---------- */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
}
.product-card {
  background: var(--dark-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
}
.product-card:hover {
  border-color: var(--primary-light);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.5), 0 0 20px rgba(61,107,49,0.15);
}
.product-img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--dark-3);
}
.product-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  filter: saturate(0.85);
}
.product-card:hover .product-img-wrap img { transform: scale(1.05); filter: saturate(1); }
.product-badges {
  position: absolute;
  top: 10px;
  left: 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  z-index: 2;
}
.badge {
  display: inline-block;
  padding: 3px 9px;
  border-radius: 3px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.badge-new { background: var(--primary); color: #fff; }
.badge-sale { background: var(--accent); color: #fff; }
.badge-featured { background: rgba(200,144,46,0.9); color: #fff; position: absolute; top: 10px; right: 10px; z-index: 2; }
.badge-out { background: var(--dark-3); color: var(--text-muted); border: 1px solid var(--border); }

.product-actions {
  position: absolute;
  top: 10px;
  right: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  opacity: 0;
  transform: translateX(10px);
  transition: all var(--transition);
}
.product-card:hover .product-actions { opacity: 1; transform: translateX(0); }
.product-action-btn {
  width: 36px;
  height: 36px;
  background: rgba(13,22,9,0.85);
  border: 1px solid var(--border-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.85rem;
  transition: all var(--transition);
  cursor: pointer;
}
.product-action-btn:hover { background: var(--primary); border-color: var(--primary-light); color: #fff; }
.product-action-btn.active { color: var(--accent); }

.product-info { padding: 16px; flex: 1; display: flex; flex-direction: column; gap: 8px; }
.product-category { font-size: 0.75rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; }
.product-name {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-name:hover { color: var(--accent-light); }
.product-rating { display: flex; align-items: center; gap: 6px; }
.stars { color: var(--accent); font-size: 0.82rem; }
.stars .far { color: var(--border-light); }
.rating-count { font-size: 0.78rem; color: var(--text-muted); }
.product-price-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: auto; }
.product-price { font-size: 1.15rem; font-weight: 800; color: var(--accent-light); font-family: var(--font-heading); }
.product-old-price { font-size: 0.85rem; color: var(--text-muted); text-decoration: line-through; }
.product-discount { font-size: 0.75rem; background: rgba(200,144,46,0.18); color: var(--accent-light); padding: 2px 6px; border-radius: 3px; font-weight: 700; }
.product-footer { padding: 0 16px 16px; }
.btn-add-cart {
  width: 100%;
  justify-content: center;
}

/* ---------- Catalog Page ---------- */
.catalog-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: var(--dark-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 20px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.catalog-count { font-size: 0.88rem; color: var(--text-muted); }
.catalog-sort { display: flex; align-items: center; gap: 10px; }
.catalog-sort select {
  background: var(--dark-3);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 7px 12px;
  color: var(--text);
  font-size: 0.88rem;
  cursor: pointer;
  outline: none;
}
.catalog-view { display: flex; gap: 6px; }
.view-btn {
  width: 34px;
  height: 34px;
  border: 1px solid var(--border);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  background: var(--dark-3);
  transition: all var(--transition);
  cursor: pointer;
}
.view-btn.active, .view-btn:hover { background: var(--primary); border-color: var(--primary-light); color: #fff; }

/* Pagination */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 36px;
  flex-wrap: wrap;
}
.page-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--dark-card);
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  transition: all var(--transition);
}
.page-link:hover, .page-link.active {
  background: var(--primary);
  border-color: var(--primary-light);
  color: #fff;
}
.page-dots { color: var(--text-muted); padding: 0 4px; }

/* ---------- Product Page ---------- */
.product-page-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 40px;
  align-items: start;
}
.product-gallery { position: sticky; top: 120px; }
.product-main-img {
  aspect-ratio: 4/3;
  background: var(--dark-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 12px;
  cursor: zoom-in;
  position: relative;
}
.product-main-img img { width: 100%; height: 100%; object-fit: contain; padding: 20px; }
.product-thumbs { display: flex; gap: 10px; flex-wrap: wrap; }
.product-thumb {
  width: 72px;
  height: 72px;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  transition: border-color var(--transition);
  flex-shrink: 0;
}
.product-thumb.active, .product-thumb:hover { border-color: var(--accent); }
.product-thumb img { width: 100%; height: 100%; object-fit: cover; }

.product-detail { display: flex; flex-direction: column; gap: 20px; }
.product-detail-header {}
.product-detail-brand { font-size: 0.8rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 6px; }
.product-detail-title {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 600;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 12px;
}
.product-detail-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.product-detail-price-block {
  background: var(--dark-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
}
.product-detail-price { font-family: var(--font-heading); font-size: 2.4rem; font-weight: 700; color: var(--accent-light); }
.product-detail-old-price { font-size: 1.1rem; color: var(--text-muted); text-decoration: line-through; margin-left: 8px; }
.product-detail-savings { font-size: 0.85rem; color: var(--success); margin-top: 4px; }
.product-qty-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
}
.qty-control {
  display: flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.qty-btn {
  width: 38px;
  height: 44px;
  background: var(--dark-3);
  color: var(--text);
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}
.qty-btn:hover { background: var(--primary); color: #fff; }
.qty-input {
  width: 54px;
  height: 44px;
  background: var(--dark-3);
  border: none;
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
  color: var(--text);
  text-align: center;
  font-size: 1rem;
  font-weight: 600;
  outline: none;
}
.product-stock-info { font-size: 0.85rem; }
.stock-in { color: var(--success); }
.stock-out { color: var(--danger); }

/* Product Tabs */
.product-tabs { margin-top: 40px; }
.tabs-nav {
  display: flex;
  border-bottom: 2px solid var(--border);
  gap: 0;
  overflow-x: auto;
}
.tab-btn {
  padding: 12px 24px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  white-space: nowrap;
  transition: all var(--transition);
}
.tab-btn:hover, .tab-btn.active {
  color: #fff;
  border-bottom-color: var(--accent);
}
.tab-pane { display: none; padding: 28px 0; }
.tab-pane.active { display: block; }
.specs-table { width: 100%; border-collapse: collapse; }
.specs-table tr { border-bottom: 1px solid var(--border); }
.specs-table tr:last-child { border-bottom: none; }
.specs-table tr:nth-child(odd) { background: rgba(255,255,255,0.02); }
.specs-table td { padding: 10px 16px; font-size: 0.9rem; }
.specs-table td:first-child { color: var(--text-muted); width: 40%; }
.specs-table td:last-child { font-weight: 500; }

/* Reviews */
.review-form { background: var(--dark-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; margin-bottom: 28px; }
.review-form h4 { margin-bottom: 16px; font-family: var(--font-heading); }
.star-rating { display: flex; gap: 6px; margin-bottom: 16px; }
.star-rating input { display: none; }
.star-rating label { font-size: 1.5rem; color: var(--border-light); cursor: pointer; transition: color var(--transition); }
.star-rating input:checked ~ label,
.star-rating label:hover,
.star-rating label:hover ~ label { color: var(--accent); }
.review-card { background: var(--dark-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; margin-bottom: 14px; }
.review-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; gap: 8px; flex-wrap: wrap; }
.review-author { font-weight: 600; }
.review-date { font-size: 0.8rem; color: var(--text-muted); }
.review-body { font-size: 0.9rem; color: var(--text-light); line-height: 1.6; }

/* ---------- Cart Page ---------- */
.cart-layout { display: grid; grid-template-columns: 1fr 360px; gap: 28px; align-items: start; }
.cart-table-wrap { background: var(--dark-card); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }
.cart-table { width: 100%; border-collapse: collapse; }
.cart-table th {
  background: linear-gradient(90deg, rgba(61,107,49,0.15), transparent);
  padding: 12px 16px;
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  text-align: left;
  border-bottom: 1px solid var(--border);
}
.cart-table td { padding: 16px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.cart-table tr:last-child td { border-bottom: none; }
.cart-product-cell { display: flex; align-items: center; gap: 12px; }
.cart-product-img { width: 72px; height: 72px; object-fit: cover; border-radius: var(--radius); flex-shrink: 0; }
.cart-product-name { font-weight: 500; font-size: 0.9rem; }
.cart-product-sku { font-size: 0.78rem; color: var(--text-muted); }
.cart-price { font-weight: 700; color: var(--accent-light); }
.cart-item-total { font-weight: 800; color: var(--text); }
.cart-remove { color: var(--text-muted); font-size: 1.1rem; transition: color var(--transition); }
.cart-remove:hover { color: var(--danger); }

.cart-summary {
  background: var(--dark-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  position: sticky;
  top: 120px;
}
.cart-summary h3 { font-family: var(--font-heading); font-size: 1.2rem; margin-bottom: 20px; padding-bottom: 12px; border-bottom: 1px solid var(--border); }
.summary-row { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; font-size: 0.9rem; border-bottom: 1px solid var(--border); }
.summary-row:last-of-type { border-bottom: none; }
.summary-row .label { color: var(--text-muted); }
.summary-total { display: flex; justify-content: space-between; align-items: center; padding: 14px 0; margin-top: 8px; font-size: 1.1rem; font-weight: 800; }
.summary-total .amount { color: var(--accent-light); font-size: 1.4rem; }
.free-shipping-bar { margin: 12px 0; }
.free-shipping-progress { height: 4px; background: var(--border); border-radius: 2px; overflow: hidden; margin-top: 6px; }
.free-shipping-fill { height: 100%; background: var(--success); border-radius: 2px; transition: width 0.5s ease; }
.free-shipping-text { font-size: 0.8rem; color: var(--text-muted); }

/* ---------- Checkout ---------- */
.checkout-layout { display: grid; grid-template-columns: 1fr 380px; gap: 28px; align-items: start; }
.checkout-form { background: var(--dark-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px; }
.form-section { margin-bottom: 28px; padding-bottom: 28px; border-bottom: 1px solid var(--border); }
.form-section:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.form-section-title { font-family: var(--font-heading); font-size: 1.1rem; margin-bottom: 20px; display: flex; align-items: center; gap: 8px; }
.form-section-title i { color: var(--accent); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group.full { grid-column: 1 / -1; }
.form-label { font-size: 0.85rem; font-weight: 500; color: var(--text-muted); }
.form-label .required { color: var(--accent); }
.form-control {
  background: var(--dark-3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 11px 14px;
  color: var(--text);
  font-size: 0.9rem;
  font-family: inherit;
  outline: none;
  transition: border-color var(--transition);
  width: 100%;
}
.form-control:focus { border-color: var(--primary-light); box-shadow: 0 0 6px rgba(61,107,49,0.2); }
.form-control.error { border-color: var(--danger); }
.form-error { font-size: 0.78rem; color: var(--danger); }
textarea.form-control { resize: vertical; min-height: 90px; }

.payment-methods, .delivery-methods { display: flex; flex-direction: column; gap: 10px; }
.method-option {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition);
}
.method-option:hover { border-color: var(--accent); }
.method-option input[type="radio"] { display: none; }
.method-option.selected { border-color: var(--primary-light); background: rgba(61,107,49,0.1); }
.method-icon { width: 40px; height: 40px; background: var(--dark-3); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; font-size: 1rem; color: var(--accent); flex-shrink: 0; }
.method-label { font-weight: 500; font-size: 0.9rem; }
.method-desc { font-size: 0.78rem; color: var(--text-muted); }

/* ---------- Auth Pages ---------- */
.auth-page {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
}
.auth-card {
  background: var(--dark-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 40px;
  width: 100%;
  max-width: 460px;
  box-shadow: var(--shadow-lg);
}
.auth-logo { text-align: center; margin-bottom: 28px; }
.auth-title { font-family: var(--font-heading); font-size: 1.8rem; text-align: center; margin-bottom: 8px; }
.auth-subtitle { text-align: center; color: var(--text-muted); margin-bottom: 28px; font-size: 0.9rem; }
.auth-form .form-group { margin-bottom: 16px; }
.auth-footer { text-align: center; margin-top: 20px; font-size: 0.88rem; color: var(--text-muted); }
.auth-footer a { color: var(--accent-light); font-weight: 500; }
.auth-divider { display: flex; align-items: center; gap: 12px; margin: 20px 0; color: var(--text-muted); font-size: 0.82rem; }
.auth-divider::before, .auth-divider::after { content: ''; flex: 1; height: 1px; background: var(--border); }
.input-icon-wrap { position: relative; }
.input-icon-wrap .form-control { padding-left: 42px; }
.input-icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--text-muted); font-size: 0.95rem; }
.password-toggle { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); color: var(--text-muted); cursor: pointer; font-size: 0.95rem; }
.password-toggle:hover { color: var(--text); }
.checkbox-wrap { display: flex; align-items: center; gap: 8px; cursor: pointer; font-size: 0.88rem; }
.checkbox-wrap input { accent-color: var(--primary); width: 16px; height: 16px; cursor: pointer; }

/* ---------- Footer ---------- */
.footer-newsletter {
  background:
    linear-gradient(135deg, rgba(15,25,10,0.93) 0%, rgba(10,18,7,0.9) 100%),
    url('/assets/images/houseINforest.jpg') center/cover no-repeat;
  border-top: 1px solid var(--border-light);
  padding: 28px 0;
  position: relative;
  overflow: hidden;
}
.footer-newsletter::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--mountain-bg);
  background-size: 100% 100%;
  opacity: 0.3;
  pointer-events: none;
}
.newsletter-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.newsletter-text h3 { font-family: var(--font-heading); font-size: 1.3rem; color: #fff; margin-bottom: 4px; letter-spacing: 0.5px; }
.newsletter-text p { font-size: 0.88rem; color: var(--text-muted); }
.newsletter-form { display: flex; gap: 0; min-width: 360px; }
.newsletter-form input {
  flex: 1;
  background: rgba(0,0,0,0.4);
  border: 1px solid var(--border-light);
  border-right: none;
  border-radius: var(--radius) 0 0 var(--radius);
  padding: 11px 16px;
  color: #fff;
  font-size: 0.9rem;
  outline: none;
}
.newsletter-form input::placeholder { color: var(--text-muted); }
.newsletter-form input:focus { border-color: var(--accent); }
.newsletter-form button {
  background: var(--accent);
  color: #fff;
  border: 1px solid var(--accent-dark);
  border-left: none;
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 0 20px;
  font-weight: 600;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: background var(--transition);
  cursor: pointer;
}
.newsletter-form button:hover { background: var(--accent-dark); }

.main-footer {
  background: linear-gradient(180deg, #0d1a09 0%, #080e06 100%);
  position: relative;
}
.main-footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary), var(--accent), var(--primary), transparent);
}
.footer-main { padding: 50px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; }
.footer-about .footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer-about p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.6; margin-bottom: 16px; }
.footer-social { display: flex; gap: 10px; }
.social-link {
  width: 38px;
  height: 38px;
  background: var(--dark-3);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.95rem;
  transition: all var(--transition);
}
.social-link:hover { background: var(--primary); border-color: var(--primary-light); color: #fff; }
.footer-col-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--accent-light);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-links a { font-size: 0.86rem; color: var(--text-muted); display: flex; align-items: center; gap: 6px; transition: all var(--transition); }
.footer-links a:hover { color: var(--accent-light); padding-left: 4px; }
.footer-contact-list { display: flex; flex-direction: column; gap: 12px; }
.footer-contact-list li { display: flex; gap: 10px; font-size: 0.86rem; color: var(--text-muted); align-items: flex-start; }
.footer-contact-list li i { color: var(--accent); margin-top: 3px; flex-shrink: 0; }
.footer-contact-list a { color: var(--text-muted); }
.footer-contact-list a:hover { color: var(--accent-light); }
.footer-payment { display: flex; gap: 10px; margin-top: 16px; align-items: center; flex-wrap: wrap; }
.footer-payment img { height: 26px; filter: grayscale(50%) brightness(1.2); }

.footer-bottom {
  background: rgba(0,0,0,0.4);
  border-top: 1px solid var(--border);
  padding: 16px 0;
}
.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 0.83rem;
  color: var(--text-muted);
}
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { color: var(--text-muted); transition: color var(--transition); }
.footer-bottom-links a:hover { color: var(--accent-light); }

/* ---------- Cart Drawer ---------- */
.cart-drawer { position: fixed; inset: 0; z-index: 9000; pointer-events: none; }
.cart-drawer.open { pointer-events: all; }
.cart-drawer-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.7);
  opacity: 0;
  transition: opacity var(--transition);
}
.cart-drawer.open .cart-drawer-overlay { opacity: 1; }
.cart-drawer-inner {
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  width: 420px;
  max-width: 100%;
  background: var(--dark-card);
  border-left: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
  box-shadow: -8px 0 40px rgba(0,0,0,0.6);
}
.cart-drawer.open .cart-drawer-inner { transform: translateX(0); }
.cart-drawer-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.cart-drawer-header h3 { font-family: var(--font-heading); font-size: 1.1rem; display: flex; align-items: center; gap: 8px; }
.cart-drawer-close { font-size: 1.4rem; color: var(--text-muted); transition: color var(--transition); }
.cart-drawer-close:hover { color: var(--accent-light); }
.cart-drawer-body { flex: 1; overflow-y: auto; padding: 16px 24px; }
.cart-loading { display: flex; justify-content: center; align-items: center; height: 120px; font-size: 1.5rem; color: var(--primary-light); }
.drawer-cart-item { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--border); align-items: flex-start; }
.drawer-cart-item:last-child { border-bottom: none; }
.drawer-cart-img { width: 72px; height: 72px; object-fit: cover; border-radius: var(--radius); flex-shrink: 0; }
.drawer-cart-name { font-size: 0.88rem; font-weight: 500; line-height: 1.3; margin-bottom: 6px; }
.drawer-cart-price { font-weight: 700; color: var(--accent-light); font-size: 0.9rem; }
.drawer-cart-qty { display: flex; align-items: center; gap: 6px; margin-top: 6px; }
.drawer-qty-btn { width: 26px; height: 26px; background: var(--dark-3); border: 1px solid var(--border); border-radius: 4px; display: flex; align-items: center; justify-content: center; cursor: pointer; font-size: 0.9rem; color: var(--text-muted); transition: all var(--transition); }
.drawer-qty-btn:hover { background: var(--primary); border-color: var(--primary-light); color: #fff; }
.drawer-qty-val { font-size: 0.9rem; font-weight: 600; min-width: 20px; text-align: center; }
.drawer-cart-remove { margin-left: auto; color: var(--text-muted); transition: color var(--transition); }
.drawer-cart-remove:hover { color: var(--danger); }
.cart-drawer-footer { padding: 16px 24px; border-top: 1px solid var(--border); }
.drawer-cart-footer { padding: 16px 0 4px; border-top: 1px solid var(--border); margin-top: 8px; }
.drawer-total { display: flex; justify-content: space-between; margin-bottom: 14px; font-size: 1rem; font-weight: 700; }
.drawer-total-amount { color: var(--accent-light); font-size: 1.2rem; }

/* ---------- Empty States ---------- */
.empty-state {
  text-align: center;
  padding: 60px 20px;
}
.empty-state i { font-size: 4rem; color: var(--border-light); margin-bottom: 16px; }
.empty-state h3 { font-family: var(--font-heading); font-size: 1.4rem; margin-bottom: 8px; }
.empty-state p { color: var(--text-muted); margin-bottom: 20px; font-size: 0.9rem; }

/* ---------- Page Banner ---------- */
.page-banner {
  background:
    linear-gradient(135deg, rgba(10,20,7,0.92) 0%, rgba(15,30,10,0.85) 100%),
    url('/assets/images/houseINforest.jpg') center/cover no-repeat;
  border-bottom: 1px solid var(--border);
  padding: 32px 0;
  position: relative;
  overflow: hidden;
}
.page-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--mountain-bg);
  background-size: 100% 100%;
  opacity: 0.25;
  pointer-events: none;
}
.page-banner::after {
  content: '';
  position: absolute;
  right: -60px;
  top: -60px;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(200,144,46,0.1) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.page-banner-content { position: relative; z-index: 1; }
.page-banner h1 {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 4px;
  letter-spacing: 1px;
}
.page-banner p { color: var(--text-muted); font-size: 0.9rem; }

/* ---------- Home Sections ---------- */
.home-section { padding: 60px 0; }
.home-section + .home-section { padding-top: 0; }

.section-categories,
.section-featured,
.section-new-arrivals,
.section-promo {
  background:
    linear-gradient(180deg, rgba(8,13,7,0.6) 0%, rgba(15,22,10,0.55) 50%, rgba(8,13,7,0.65) 100%),
    url('/assets/images/houseINforest.jpg') center 40%/cover no-repeat;
  background-attachment: fixed;
}

/* Categories Section */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.cat-card {
  background: linear-gradient(160deg, var(--dark-card) 0%, #1a2e14 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 16px;
  text-align: center;
  transition: all var(--transition);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.cat-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0);
  transition: transform var(--transition);
}
.cat-card:hover {
  border-color: var(--primary-light);
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.4), 0 0 20px rgba(61,107,49,0.12);
}
.cat-card:hover::before { transform: scaleX(1); }
.cat-card-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 14px;
  background: rgba(61,107,49,0.18);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--accent);
  transition: all var(--transition);
  border: 1px solid rgba(61,107,49,0.3);
}
.cat-card:hover .cat-card-icon {
  background: var(--primary);
  color: #fff;
  transform: scale(1.1);
  border-color: var(--primary-light);
  box-shadow: 0 0 16px rgba(61,107,49,0.4);
}
.cat-card-img {
  width: 260px;
  height: 130px;
  margin: 0 auto 14px;
  border-radius: 8px !important;
  overflow: hidden;
  border: 2px solid rgba(61,107,49,0.35);
  background: rgba(61,107,49,0.1);
  transition: all var(--transition);
}
.cat-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 0 !important;
  transition: transform var(--transition);
}
.cat-card:hover .cat-card-img {
  border-color: var(--primary-light);
  box-shadow: 0 0 20px rgba(61,107,49,0.35);
}
.cat-card:hover .cat-card-img img {
  transform: scale(1.06);
}
.cat-card-name { font-weight: 600; font-size: 0.88rem; color: var(--text); margin-bottom: 4px; }
.cat-card-count { font-size: 0.78rem; color: var(--text-muted); }

/* Promo Banners */
.promo-banners {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.promo-banner {
  background: rgba(10, 18, 7, 0.6);
  border: 1px solid rgba(61,107,49,0.35);
  border-radius: var(--radius-xl);
  padding: 36px 40px;
  position: relative;
  overflow: hidden;
  min-height: 220px;
  display: flex;
  align-items: center;
  transition: all var(--transition);
}
.promo-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(5,10,4,0.85) 0%, rgba(5,10,4,0.6) 50%, rgba(5,10,4,0.2) 100%);
  z-index: 1;
  pointer-events: none;
}
.promo-banner:hover { border-color: var(--accent); box-shadow: 0 8px 32px rgba(0,0,0,0.5), 0 0 24px rgba(200,144,46,0.15); }
.promo-banner > div { position: relative; z-index: 2; }
.promo-banner-tag { font-size: 0.75rem; font-weight: 700; color: var(--accent-light); letter-spacing: 1px; text-transform: uppercase; margin-bottom: 8px; }
.promo-banner-title { font-family: var(--font-heading); font-size: 1.8rem; color: #fff; margin-bottom: 8px; line-height: 1.1; letter-spacing: 0.5px; }
.promo-banner-text { font-size: 0.88rem; color: var(--text-muted); margin-bottom: 16px; }
.promo-banner-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.45;
  pointer-events: none;
  z-index: 0;
  transition: opacity var(--transition);
}
.promo-banner:hover .promo-banner-img { opacity: 0.55; }

/* ---------- Profile Page ---------- */
.profile-layout { display: grid; grid-template-columns: 280px 1fr; gap: 28px; }
.profile-sidebar { background: var(--dark-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; align-self: start; }
.profile-avatar { text-align: center; margin-bottom: 20px; }
.profile-avatar-img { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; border: 3px solid var(--primary); margin: 0 auto 12px; }
.profile-name { font-weight: 700; font-size: 1rem; }
.profile-email { font-size: 0.82rem; color: var(--text-muted); }
.profile-nav { display: flex; flex-direction: column; gap: 4px; margin-top: 16px; }
.profile-nav a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: var(--radius); font-size: 0.88rem; color: var(--text-muted); transition: all var(--transition); }
.profile-nav a:hover, .profile-nav a.active { background: rgba(61,107,49,0.12); color: var(--accent-light); border-left: 2px solid var(--accent); }
.profile-content { background: var(--dark-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px; }

/* ---------- Order Status ---------- */
.order-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 600;
}
.status-pending { background: rgba(200,144,46,0.15); color: var(--warning); }
.status-processing { background: rgba(58,122,138,0.15); color: var(--info); }
.status-shipped { background: rgba(0,100,200,0.15); color: #4d9ef7; }
.status-delivered { background: rgba(74,158,63,0.15); color: var(--success); }
.status-cancelled, .status-refunded { background: rgba(163,58,42,0.15); color: var(--danger); }

/* ---------- Loading Spinner ---------- */
.spinner {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255,255,255,0.2);
  border-top-color: var(--accent-light);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Responsive ---------- */
@media (max-width: 1200px) {
  .main-layout { grid-template-columns: 260px 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .categories-grid { grid-template-columns: repeat(4, 1fr); }
  .product-page-grid { gap: 24px; }
}

@media (max-width: 992px) {
  .main-layout { grid-template-columns: 1fr; }
  .sidebar { display: none; }
  .sidebar.open { display: flex; }
  .cart-layout { grid-template-columns: 1fr; }
  .checkout-layout { grid-template-columns: 1fr; }
  .profile-layout { grid-template-columns: 1fr; }
  .categories-grid { grid-template-columns: repeat(3, 1fr); }
  .product-page-grid { grid-template-columns: 1fr; }
  .advantages-grid { grid-template-columns: repeat(2, 1fr); }
  .advantages-grid .adv-item { border-right: none; border-bottom: 1px solid var(--border); padding: 16px 24px; }
  .advantages-grid .adv-item:nth-child(odd) { border-right: 1px solid var(--border); }
  .promo-banners { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-title { font-size: 2.4rem; }
}

@media (max-width: 768px) {
  .topbar .container { flex-direction: column; gap: 6px; text-align: center; }
  .topbar-left, .topbar-right { justify-content: center; flex-wrap: wrap; }
  .header-inner { flex-wrap: wrap; gap: 12px; }
  .header-search { order: 3; width: 100%; max-width: none; }
  .burger-btn { display: flex; }
  .main-nav { display: none; }
  .main-nav.open { display: block; position: fixed; top: 0; left: 0; right: 0; bottom: 0; z-index: 9999; background: var(--dark-2); overflow-y: auto; }
  .nav-list { flex-direction: column; padding: 20px; }
  .mega-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: none; flex-direction: column; background: transparent; }
  .categories-grid { grid-template-columns: repeat(2, 1fr); }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .newsletter-inner { flex-direction: column; }
  .newsletter-form { min-width: 0; width: 100%; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom-inner { flex-direction: column; text-align: center; }
  .cart-layout { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .hero-slide-content { padding: 0 24px; }
  .hero-title { font-size: 2rem; }
  .cart-drawer-inner { width: 100%; }
}

@media (max-width: 480px) {
  .products-grid { grid-template-columns: 1fr; }
  .categories-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-slide { height: 380px; }
}
