/* ============================================
   LOOMIC v3 - Complete Design System
   ============================================ */

/* --- 1. CSS Variables --- */
:root {
  --primary: #2D4A3E;
  --primary-light: #3d6654;
  --primary-dark: #1e352c;
  --accent: #D4943A;
  --accent-hover: #b57d2f;
  --bg: #F5F0EB;
  --bg-dark: #E8E0D4;
  --text: #1E1E1E;
  --text-light: #5c5c5c;
  --white: #FFFFFF;
  --error: #C44536;
  --success: #3A8C5D;
  --warning: #E6A817;

  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;

  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
  --shadow-xl: 0 12px 40px rgba(0,0,0,0.15);

  --transition: all 0.3s ease;
  --transition-fast: all 0.15s ease;
}

/* --- 2. Reset --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: var(--text);
  background-color: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
  text-decoration: none;
}

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

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

ul, ol {
  list-style: none;
}

input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

/* --- 3. Container --- */
.container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- 4. Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background-color: var(--primary);
  color: var(--white);
}

.btn-primary:hover {
  background-color: var(--primary-light);
  box-shadow: 0 4px 12px rgba(45,74,62,0.3);
}

.btn-accent {
  background-color: var(--accent);
  color: var(--white);
}

.btn-accent:hover {
  background-color: var(--accent-hover);
  box-shadow: 0 4px 12px rgba(212,148,58,0.3);
}

.btn-outline {
  background-color: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-outline:hover {
  background-color: var(--primary);
  color: var(--white);
}

.btn-outline-white {
  background-color: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}

.btn-outline-white:hover {
  background-color: var(--white);
  color: var(--primary);
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1.1rem;
  border-radius: var(--radius-lg);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
}

.btn-block {
  width: 100%;
}

/* --- 5. Product Cards --- */
.product-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.product-card__image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1;
}

.product-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.product-card__body {
  padding: 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-card__category {
  font-size: 0.75rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.product-card__name {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.6em;
}

.product-card__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
  gap: 8px;
}

.product-card__stock {
  font-size: 0.7rem;
  padding: 2px 8px;
  border-radius: 12px;
  font-weight: 600;
  white-space: nowrap;
}

.product-card__stock.in_stock {
  background: #e8f5e9;
  color: var(--success);
}

.product-card__stock.low_stock {
  background: #fff8e1;
  color: #e6a817;
}

.product-card__stock.out_of_stock {
  background: #ffebee;
  color: var(--error);
}

.product-card__desc {
  font-size: 0.82rem;
  color: var(--text-light);
  line-height: 1.5;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.4em;
}

.product-card__rating {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
}

.product-card__stars {
  color: #f5b041;
  font-size: 0.85rem;
  letter-spacing: -1px;
}

.product-card__reviews {
  font-size: 0.8rem;
  color: var(--text-light);
}

.product-card__price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  gap: 8px;
}

.product-card__price {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.product-card__price-current {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary);
}

.product-card__price-old {
  font-size: 0.9rem;
  color: var(--text-light);
  text-decoration: line-through;
}

/* --- 6. Badges --- */
.badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  z-index: 2;
}

.badge-sale {
  background: var(--error);
  color: var(--white);
}

.badge-new {
  background: var(--success);
  color: var(--white);
}

.badge-bestseller {
  background: var(--accent);
  color: var(--white);
}

.badge-discount {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--error);
  color: var(--white);
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 700;
  z-index: 2;
}

/* Product card compact button */
.product-card .btn-sm {
  padding: 6px 14px;
  font-size: 1rem;
  min-width: 36px;
}

/* --- 7. Trust Bar --- */
.trust-bar {
  background: var(--primary);
  color: var(--white);
  padding: 10px 0;
  font-size: 0.8rem;
}

.trust-bar__inner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.trust-bar__item {
  display: flex;
  align-items: center;
  gap: 8px;
  opacity: 0.9;
}

.trust-bar__item svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* --- 8. Navbar --- */
.navbar {
  background: var(--primary);
  height: 70px;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.navbar__logo {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--white);
  text-decoration: none;
}

.navbar__logo-loo { color: var(--white); }
.navbar__logo-mic { color: var(--accent); }

.navbar__nav {
  display: flex;
  align-items: center;
  gap: 0;
  height: 100%;
}

.nav-item {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
}

.nav-link {
  color: rgba(255,255,255,0.85);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0 18px;
  height: 100%;
  display: flex;
  align-items: center;
  transition: var(--transition);
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--white);
  background: rgba(255,255,255,0.08);
}

.navbar__actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-icon-btn {
  color: var(--white);
  padding: 8px;
  border-radius: var(--radius-md);
  transition: var(--transition);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-icon-btn:hover {
  background: rgba(255,255,255,0.1);
}

.cart-badge {
  position: absolute;
  top: 0;
  right: 0;
  background: var(--accent);
  color: var(--white);
  font-size: 0.65rem;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translate(25%, -25%);
}

/* --- 9. Mega Dropdown --- */
.mega-dropdown {
  position: absolute;
  top: calc(100% - 1px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--white);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  box-shadow: var(--shadow-xl);
  padding: 28px 32px;
  min-width: 700px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, visibility 0.2s ease;
  z-index: 999;
  margin-top: 0;
}

.nav-item:hover .mega-dropdown,
.mega-dropdown:hover,
.mega-dropdown.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* Extend hover area to cover dropdown gap */
.nav-item {
  padding-bottom: 20px;
  margin-bottom: -20px;
  z-index: 1000;
}

.mega-dropdown__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.mega-dropdown__title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 10px;
  padding-bottom: 6px;
  border-bottom: 2px solid var(--bg-dark);
}

.mega-dropdown__list a {
  display: block;
  padding: 5px 0;
  font-size: 0.85rem;
  color: var(--text-light);
  transition: var(--transition-fast);
}

.mega-dropdown__list a:hover {
  color: var(--primary);
  padding-left: 6px;
}

.mega-dropdown__featured {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}

.mega-dropdown__featured img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: var(--radius-sm);
}

.mega-dropdown__featured-text {
  font-size: 0.75rem;
  color: var(--text-light);
  line-height: 1.4;
}

.mega-dropdown__featured-text strong {
  color: var(--text);
  font-size: 0.8rem;
}

/* --- 10. Slideshow --- */
.hero-slideshow {
  position: relative;
  width: 100%;
  height: 500px;
  overflow: hidden;
  border-radius: 0;
}

.hero-slideshow--small {
  height: 350px;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.7s ease, visibility 0.7s ease;
}

.slide.active {
  opacity: 1;
  visibility: visible;
}

.slide__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slide__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(30,30,30,0.75) 0%, rgba(30,30,30,0.4) 50%, rgba(30,30,30,0.15) 100%);
}

.slide__content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 60px;
  max-width: 700px;
  color: var(--white);
}

.slide__tag {
  display: inline-block;
  background: var(--accent);
  color: var(--white);
  padding: 4px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 16px;
  width: fit-content;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.slide__title {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 16px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.slide__subtitle {
  font-size: 1.15rem;
  opacity: 0.9;
  margin-bottom: 28px;
  line-height: 1.5;
  text-shadow: 0 1px 4px rgba(0,0,0,0.3);
}

.slideshow__dots {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 5;
}

.slideshow__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
}

.slideshow__dot:hover {
  background: rgba(255,255,255,0.7);
}

.slideshow__dot.active {
  background: var(--white);
  border-color: var(--accent);
  transform: scale(1.2);
}

.slideshow__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 5;
  transition: var(--transition);
  font-size: 1.2rem;
  border: 1px solid rgba(255,255,255,0.2);
}

.slideshow__arrow:hover {
  background: rgba(255,255,255,0.3);
}

.slideshow__arrow--prev { left: 20px; }
.slideshow__arrow--next { right: 20px; }

/* --- 11. Filter Sidebar --- */
.filter-sidebar {
  width: 280px;
  flex-shrink: 0;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  height: fit-content;
  position: sticky;
  top: 90px;
}

.filter-sidebar__title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 8px;
}

.filter-section {
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid #eee;
}

.filter-section:last-child {
  border-bottom: none;
}

.filter-section__title {
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text);
}

.filter-checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 5px 0;
  cursor: pointer;
  font-size: 0.85rem;
  color: var(--text-light);
  transition: var(--transition-fast);
}

.filter-checkbox:hover {
  color: var(--text);
}

.filter-checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--primary);
  cursor: pointer;
}

.filter-price__inputs {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.filter-price__inputs input {
  width: 100%;
  padding: 8px 10px;
  border: 1px solid #ddd;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
}

.filter-price__inputs span {
  color: var(--text-light);
  font-size: 0.85rem;
}

.filter-rating__item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 0;
  cursor: pointer;
  font-size: 0.85rem;
}

.filter-rating__item .stars {
  color: #f5b041;
  letter-spacing: -1px;
}

.filter-rating__item .label {
  color: var(--text-light);
}

/* --- 12. Cart Drawer --- */
.cart-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.cart-overlay.active {
  opacity: 1;
  visibility: visible;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 420px;
  max-width: 100%;
  height: 100%;
  background: var(--white);
  z-index: 2001;
  transform: translateX(100%);
  transition: transform 0.35s ease;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-xl);
}

.cart-drawer.active {
  transform: translateX(0);
}

.cart-drawer__header {
  padding: 20px 24px;
  border-bottom: 1px solid #eee;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cart-drawer__title {
  font-size: 1.1rem;
  font-weight: 700;
}

.cart-drawer__close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  color: var(--text-light);
}

.cart-drawer__close:hover {
  background: var(--bg);
  color: var(--text);
}

.cart-drawer__items {
  flex: 1;
  overflow-y: auto;
  padding: 16px 24px;
}

.cart-drawer__empty {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-light);
}

.cart-drawer__empty svg {
  width: 60px;
  height: 60px;
  margin-bottom: 16px;
  opacity: 0.4;
}

.cart-item {
  display: flex;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid #f0f0f0;
}

.cart-item__image {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  flex-shrink: 0;
}

.cart-item__info {
  flex: 1;
  min-width: 0;
}

.cart-item__name {
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cart-item__price {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}

.cart-item__qty {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cart-item__qty button {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  transition: var(--transition-fast);
}

.cart-item__qty button:hover {
  background: var(--bg-dark);
}

.cart-item__qty span {
  font-size: 0.85rem;
  font-weight: 600;
  min-width: 20px;
  text-align: center;
}

.cart-item__remove {
  color: var(--text-light);
  font-size: 0.75rem;
  text-decoration: underline;
  transition: var(--transition-fast);
  align-self: flex-start;
}

.cart-item__remove:hover {
  color: var(--error);
}

.cart-drawer__footer {
  padding: 20px 24px;
  border-top: 1px solid #eee;
  background: var(--bg);
}

.cart-drawer__subtotal {
  display: flex;
  justify-content: space-between;
  margin-bottom: 6px;
  font-size: 0.9rem;
}

.cart-drawer__total {
  display: flex;
  justify-content: space-between;
  margin-bottom: 16px;
  font-size: 1.1rem;
  font-weight: 700;
}

.cart-drawer__note {
  font-size: 0.75rem;
  color: var(--text-light);
  text-align: center;
  margin-top: 10px;
}

/* --- 13. Forms --- */
.form-group {
  margin-bottom: 18px;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text);
}

.form-input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #ddd;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  transition: var(--transition);
  background: var(--white);
  color: var(--text);
}

.form-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(45,74,62,0.1);
}

.form-input::placeholder {
  color: #aaa;
}

select.form-input {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%235c5c5c' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

/* --- 14. Tabs --- */
.tabs {
  display: flex;
  gap: 0;
  border-bottom: 2px solid #eee;
  margin-bottom: 24px;
}

.tab-btn {
  padding: 12px 20px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-light);
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: var(--transition);
  cursor: pointer;
  background: none;
  border-top: none;
  border-left: none;
  border-right: none;
}

.tab-btn:hover {
  color: var(--primary);
}

.tab-btn.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
  animation: fadeIn 0.3s ease;
}

/* --- 15. Admin Layout --- */
.admin-layout {
  display: flex;
  min-height: 100vh;
  background: #f0ede8;
}

.admin-sidebar {
  width: 260px;
  background: var(--primary);
  color: var(--white);
  position: fixed;
  left: 0;
  top: 0;
  height: 100vh;
  overflow-y: auto;
  z-index: 100;
  flex-shrink: 0;
}

.admin-sidebar__logo {
  padding: 24px;
  font-size: 1.5rem;
  font-weight: 800;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.admin-sidebar__logo .mic { color: var(--accent); }

.admin-nav {
  padding: 16px 0;
}

.admin-nav__item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 24px;
  color: rgba(255,255,255,0.8);
  font-size: 0.9rem;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  background: none;
  width: 100%;
  text-align: left;
  font-family: inherit;
}

.admin-nav__item:hover,
.admin-nav__item.active {
  background: rgba(255,255,255,0.1);
  color: var(--white);
}

.admin-nav__item svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.admin-sidebar__footer {
  padding: 16px 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: auto;
}

.admin-main {
  flex: 1;
  margin-left: 260px;
  padding: 32px;
  min-height: 100vh;
}

.admin-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
}

.admin-header h1 {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text);
}

/* Admin Stats Grid */
.admin-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}

.stat-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.stat-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.stat-card__label {
  font-size: 0.8rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.stat-card__value {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text);
}

.stat-card__change {
  font-size: 0.8rem;
  margin-top: 4px;
}

.stat-card__change.positive { color: var(--success); }
.stat-card__change.negative { color: var(--error); }

/* Admin Charts */
.admin-charts {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 20px;
  margin-bottom: 32px;
}

.chart-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.chart-card__title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text);
}

/* Admin Tables */
.admin-table-wrap {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  overflow-x: auto;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
}

.admin-table th,
.admin-table td {
  padding: 12px 16px;
  text-align: left;
  font-size: 0.85rem;
  border-bottom: 1px solid #f0f0f0;
}

.admin-table th {
  font-weight: 700;
  color: var(--text-light);
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.5px;
}

.admin-table tbody tr:hover {
  background: #fafafa;
}

.status-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
}

.status-badge--delivered {
  background: rgba(58,140,93,0.1);
  color: var(--success);
}

.status-badge--pending {
  background: rgba(230,168,23,0.1);
  color: var(--warning);
}

.status-badge--processing {
  background: rgba(45,74,62,0.1);
  color: var(--primary);
}

.status-badge--cancelled {
  background: rgba(196,69,54,0.1);
  color: var(--error);
}

/* --- 16. Animations --- */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes countUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-fade-in {
  animation: fadeIn 0.6s ease forwards;
}

.animate-fade-in-up {
  animation: fadeInUp 0.6s ease forwards;
}

.animate-slide-in-right {
  animation: slideInRight 0.5s ease forwards;
}

/* Stagger children */
.stagger-children > * {
  opacity: 0;
  animation: fadeInUp 0.5s ease forwards;
}

.stagger-children > *:nth-child(1) { animation-delay: 0.05s; }
.stagger-children > *:nth-child(2) { animation-delay: 0.1s; }
.stagger-children > *:nth-child(3) { animation-delay: 0.15s; }
.stagger-children > *:nth-child(4) { animation-delay: 0.2s; }
.stagger-children > *:nth-child(5) { animation-delay: 0.25s; }
.stagger-children > *:nth-child(6) { animation-delay: 0.3s; }

/* --- 17. Toast Notifications --- */
.toast-container {
  position: fixed;
  top: 90px;
  right: 20px;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast {
  padding: 14px 20px;
  border-radius: var(--radius-md);
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 500;
  box-shadow: var(--shadow-lg);
  animation: slideInRight 0.3s ease, fadeOut 0.3s ease 2.7s forwards;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 280px;
}

.toast--success { background: var(--success); }
.toast--error { background: var(--error); }
.toast--info { background: var(--primary); }
.toast--warning { background: var(--warning); }

@keyframes fadeOut {
  from { opacity: 1; transform: translateX(0); }
  to { opacity: 0; transform: translateX(40px); }
}

/* --- 18. Product Grid --- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 24px;
}

.product-grid--list {
  grid-template-columns: 1fr;
}

/* --- 19. Section Headers --- */
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 28px;
}

.section-header h2 {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text);
}

.section-header a {
  font-size: 0.9rem;
  color: var(--primary);
  font-weight: 600;
  transition: var(--transition);
}

.section-header a:hover {
  color: var(--accent);
}

/* --- 20. Highlight Cards --- */
.highlight-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  height: 320px;
  cursor: pointer;
  transition: var(--transition);
}

.highlight-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.highlight-card img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.highlight-card:hover img {
  transform: scale(1.05);
}

.highlight-card__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(0deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.2) 50%, rgba(0,0,0,0.05) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  color: var(--white);
}

.highlight-card__tag {
  display: inline-block;
  background: var(--accent);
  padding: 3px 10px;
  border-radius: var(--radius-sm);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 10px;
  width: fit-content;
}

.highlight-card__title {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.highlight-card__desc {
  font-size: 0.9rem;
  opacity: 0.85;
  margin-bottom: 14px;
}

/* --- 21. Category Cards --- */
.category-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 1 / 1;
  cursor: pointer;
  transition: var(--transition);
}

.category-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.category-card img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.category-card:hover img {
  transform: scale(1.08);
}

.category-card__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(0deg, rgba(30,53,44,0.85) 0%, rgba(30,53,44,0.3) 50%, rgba(30,53,44,0.1) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  padding: 20px;
  color: var(--white);
  text-align: center;
}

.category-card__icon {
  width: 40px;
  height: 40px;
  margin-bottom: 8px;
  opacity: 0.9;
}

.category-card__name {
  font-size: 1.1rem;
  font-weight: 700;
}

/* --- 22. Newsletter Section --- */
.newsletter-section {
  background: var(--primary);
  color: var(--white);
  padding: 60px 0;
  border-radius: var(--radius-xl);
  margin: 0 24px 60px;
}

.newsletter-section__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px;
}

.newsletter-section__title {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.newsletter-section__subtitle {
  opacity: 0.85;
  font-size: 1rem;
}

.newsletter-form {
  display: flex;
  gap: 0;
  min-width: 360px;
}

.newsletter-form input {
  flex: 1;
  padding: 14px 18px;
  border: none;
  border-radius: var(--radius-md) 0 0 var(--radius-md);
  font-size: 0.95rem;
  outline: none;
}

.newsletter-form button {
  padding: 14px 24px;
  background: var(--accent);
  color: var(--white);
  font-weight: 600;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  transition: var(--transition);
}

.newsletter-form button:hover {
  background: var(--accent-hover);
}

/* --- 23. Footer --- */
.footer {
  background: #2D4A3E !important;
  color: #ffffff;
  padding: 60px 0 0;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer__brand {
  font-size: 1.5rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 16px;
}

.footer__brand .mic { color: var(--accent); }

.footer__desc {
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 20px;
  color: #b0b0c0;
}

.footer__social {
  display: flex;
  gap: 12px;
}

.footer__social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.footer__social a:hover {
  background: var(--accent);
}

.footer__title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 18px;
}

.footer__links a {
  display: block;
  padding: 5px 0;
  font-size: 0.85rem;
  color: #c0c0d0;
  text-decoration: none;
  transition: var(--transition-fast);
}

.footer__links a:hover {
  color: #D4943A;
  padding-left: 4px;
}

.footer__newsletter input {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.1);
  color: #ffffff;
  font-size: 0.85rem;
  margin-bottom: 10px;
}

.footer__newsletter input::placeholder {
  color: rgba(255,255,255,0.5);
}

.footer__newsletter button {
  width: 100%;
  padding: 10px;
  background: var(--accent);
  color: #ffffff;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.85rem;
  transition: var(--transition);
}

.footer__newsletter button:hover {
  background: var(--accent-hover);
}

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding: 20px 0;
  text-align: center;
  font-size: 0.8rem;
  color: #9090a0;
}

/* --- 24. Product Detail --- */
.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.product-detail__gallery {
  position: sticky;
  top: 100px;
}

.product-detail__main-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  margin-bottom: 16px;
}

.product-detail__main-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-detail__thumbnails {
  display: flex;
  gap: 10px;
}

.product-detail__thumbnails img {
  width: 70px;
  height: 70px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
}

.product-detail__thumbnails img:hover,
.product-detail__thumbnails img.active {
  border-color: var(--primary);
}

.product-detail__title {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.3;
}

.product-detail__meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.product-detail__rating {
  display: flex;
  align-items: center;
  gap: 8px;
}

.product-detail__stars {
  color: #f5b041;
  font-size: 1.1rem;
}

.product-detail__price {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #eee;
}

.product-detail__price-current {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
}

.product-detail__price-old {
  font-size: 1.2rem;
  color: var(--text-light);
  text-decoration: line-through;
}

.product-detail__price-save {
  background: var(--error);
  color: var(--white);
  padding: 3px 10px;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 600;
}

.product-detail__description {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-light);
  margin-bottom: 24px;
}

.product-detail__features {
  margin-bottom: 24px;
}

.product-detail__features li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  font-size: 0.9rem;
}

.product-detail__features li::before {
  content: '✓';
  color: var(--success);
  font-weight: 700;
}

.product-detail__stock {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.product-detail__stock--in {
  background: rgba(58,140,93,0.1);
  color: var(--success);
}

.product-detail__stock--low {
  background: rgba(230,168,23,0.1);
  color: var(--warning);
}

.product-detail__stock--out {
  background: rgba(196,69,54,0.1);
  color: var(--error);
}

.product-detail__actions {
  display: flex;
  gap: 12px;
  align-items: center;
}

.quantity-selector {
  display: flex;
  align-items: center;
  border: 1px solid #ddd;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.quantity-selector button {
  width: 44px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  transition: var(--transition-fast);
  font-size: 1rem;
  font-weight: 600;
}

.quantity-selector button:hover {
  background: var(--bg-dark);
}

.quantity-selector input {
  width: 56px;
  height: 48px;
  text-align: center;
  border: none;
  font-weight: 600;
  font-size: 1rem;
  -moz-appearance: textfield;
}

.quantity-selector input::-webkit-outer-spin-button,
.quantity-selector input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* --- 25. Checkout Steps --- */
.checkout-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.checkout-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  position: relative;
}

.checkout-step__circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-dark);
  color: var(--text-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  transition: var(--transition);
  z-index: 1;
}

.checkout-step.active .checkout-step__circle {
  background: var(--primary);
  color: var(--white);
}

.checkout-step.completed .checkout-step__circle {
  background: var(--success);
  color: var(--white);
}

.checkout-step__label {
  font-size: 0.8rem;
  color: var(--text-light);
  font-weight: 600;
  white-space: nowrap;
}

.checkout-step.active .checkout-step__label {
  color: var(--primary);
}

.checkout-steps__line {
  flex: 1;
  height: 3px;
  background: var(--bg-dark);
  margin: 0 8px;
  margin-bottom: 28px;
  max-width: 80px;
}

.checkout-steps__line.completed {
  background: var(--success);
}

.checkout-step__content {
  display: none;
}

.checkout-step__content.active {
  display: block;
  animation: fadeIn 0.4s ease;
}

/* Shipping option */
.shipping-option {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  border: 2px solid #eee;
  border-radius: var(--radius-lg);
  margin-bottom: 12px;
  cursor: pointer;
  transition: var(--transition);
}

.shipping-option:hover {
  border-color: var(--primary-light);
}

.shipping-option.selected {
  border-color: var(--primary);
  background: rgba(45,74,62,0.04);
}

.shipping-option input {
  width: 20px;
  height: 20px;
  accent-color: var(--primary);
}

.shipping-option__info {
  flex: 1;
}

.shipping-option__name {
  font-weight: 600;
  font-size: 0.95rem;
}

.shipping-option__desc {
  font-size: 0.8rem;
  color: var(--text-light);
}

.shipping-option__price {
  font-weight: 700;
  font-size: 1rem;
  color: var(--primary);
}

/* Payment option */
.payment-option {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  border: 2px solid #eee;
  border-radius: var(--radius-lg);
  margin-bottom: 12px;
  cursor: pointer;
  transition: var(--transition);
}

.payment-option:hover {
  border-color: var(--primary-light);
}

.payment-option.selected {
  border-color: var(--primary);
  background: rgba(45,74,62,0.04);
}

/* --- 26. Order Summary --- */
.order-summary {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.order-summary__title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.order-summary__row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  font-size: 0.9rem;
}

.order-summary__row.discount {
  color: var(--success);
}

.order-summary__row.total {
  border-top: 2px solid #eee;
  margin-top: 8px;
  padding-top: 14px;
  font-size: 1.1rem;
  font-weight: 700;
}

/* --- 27. Login / Register --- */
.auth-card {
  max-width: 420px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-md);
}

.auth-card__logo {
  text-align: center;
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.auth-card__logo .mic { color: var(--accent); }

.auth-card__subtitle {
  text-align: center;
  color: var(--text-light);
  font-size: 0.9rem;
  margin-bottom: 28px;
}

.auth-tabs {
  display: flex;
  margin-bottom: 24px;
  border-bottom: 2px solid #eee;
}

.auth-tab {
  flex: 1;
  padding: 12px;
  text-align: center;
  font-weight: 600;
  color: var(--text-light);
  cursor: pointer;
  transition: var(--transition);
  border: none;
  background: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  font-family: inherit;
  font-size: 0.9rem;
}

.auth-tab.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

.auth-tab:hover {
  color: var(--primary);
}

.auth-form {
  display: none;
}

.auth-form.active {
  display: block;
  animation: fadeIn 0.3s ease;
}

.auth-form__hint {
  text-align: center;
  margin-top: 20px;
  font-size: 0.8rem;
  color: var(--text-light);
  padding: 12px;
  background: var(--bg);
  border-radius: var(--radius-md);
}

.auth-form__hint strong {
  color: var(--text);
}

/* --- 28. Account Dashboard --- */
.account-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 32px;
  align-items: start;
}

.account-sidebar {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 8px;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 90px;
}

.account-sidebar__item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-light);
  transition: var(--transition-fast);
  cursor: pointer;
  border: none;
  background: none;
  width: 100%;
  text-align: left;
  font-family: inherit;
}

.account-sidebar__item:hover,
.account-sidebar__item.active {
  background: var(--bg);
  color: var(--primary);
}

.account-sidebar__item svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.account-content {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  min-height: 500px;
}

.account-section {
  display: none;
}

.account-section.active {
  display: block;
  animation: fadeIn 0.3s ease;
}

/* --- 29. Active Filter Tags --- */
.active-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.active-filter-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  background: rgba(45,74,62,0.08);
  color: var(--primary);
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
}

.active-filter-tag button {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  transition: var(--transition-fast);
}

.active-filter-tag button:hover {
  background: rgba(45,74,62,0.15);
}

/* --- 30. Pagination --- */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin-top: 32px;
}

.pagination button {
  min-width: 38px;
  height: 38px;
  padding: 0 10px;
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-light);
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border: 1px solid #eee;
}

.pagination button:hover {
  background: var(--bg);
  color: var(--text);
}

.pagination button.active {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.pagination button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* --- 31. Top Bar (Products Page) --- */
.top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 12px;
}

.top-bar__results {
  font-size: 0.9rem;
  color: var(--text-light);
}

.top-bar__results strong {
  color: var(--text);
}

.top-bar__sort {
  display: flex;
  align-items: center;
  gap: 8px;
}

.top-bar__sort label {
  font-size: 0.85rem;
  color: var(--text-light);
}

/* --- 32. Similar Products --- */
.similar-section {
  margin-top: 48px;
  padding-top: 48px;
  border-top: 1px solid #eee;
}

/* --- 33. Trust / USP Section --- */
.usps-section {
  background: var(--white);
  padding: 40px 0;
}

.usps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.usp-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
}

.usp-item__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-lg);
  background: rgba(45,74,62,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.usp-item__icon svg {
  width: 24px;
  height: 24px;
  color: var(--primary);
}

.usp-item__title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text);
}

.usp-item__desc {
  font-size: 0.8rem;
  color: var(--text-light);
}

/* --- 34. Thank You Page --- */
.thank-you {
  text-align: center;
  padding: 60px 20px;
}

.thank-you__icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
  background: rgba(58,140,93,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.thank-you__icon svg {
  width: 40px;
  height: 40px;
  color: var(--success);
}

.thank-you__title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.thank-you__text {
  color: var(--text-light);
  margin-bottom: 8px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.thank-you__order {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 28px;
  padding: 12px 24px;
  background: rgba(45,74,62,0.06);
  border-radius: var(--radius-md);
  display: inline-block;
}

/* --- 35. Mobile Menu --- */
.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  z-index: 1999;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.mobile-menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 300px;
  max-width: 85%;
  height: 100%;
  background: var(--white);
  z-index: 2000;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
  overflow-y: auto;
}

.mobile-menu.active {
  transform: translateX(0);
}

.mobile-menu__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid #eee;
  background: var(--primary);
  color: var(--white);
}

.mobile-menu__header .logo {
  font-size: 1.3rem;
  font-weight: 800;
}

.mobile-menu__header .mic { color: var(--accent); }

.mobile-menu__close {
  color: var(--white);
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-menu__nav {
  padding: 16px 0;
}

.mobile-menu__nav a {
  display: block;
  padding: 14px 24px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  border-bottom: 1px solid #f5f5f5;
  transition: var(--transition-fast);
}

.mobile-menu__nav a:hover {
  background: var(--bg);
  color: var(--primary);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

/* --- 36. Responsive --- */
@media (max-width: 1024px) {
  .admin-stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .admin-charts {
    grid-template-columns: 1fr;
  }
  .product-detail {
    grid-template-columns: 1fr;
  }
  .product-detail__gallery {
    position: static;
  }
  .account-layout {
    grid-template-columns: 1fr;
  }
  .account-sidebar {
    position: static;
    display: flex;
    overflow-x: auto;
    gap: 4px;
  }
  .account-sidebar__item {
    white-space: nowrap;
  }
}

@media (max-width: 768px) {
  .navbar__nav {
    display: none;
  }
  .hamburger {
    display: flex;
  }
  .hero-slideshow {
    height: 380px;
  }
  .slide__title {
    font-size: 1.8rem;
  }
  .slide__subtitle {
    font-size: 1rem;
  }
  .slide__content {
    padding: 0 30px;
  }
  .usps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
  .filter-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 300px;
    height: 100vh;
    z-index: 1500;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    border-radius: 0;
    overflow-y: auto;
  }
  .filter-sidebar.active {
    transform: translateX(0);
  }
  .products-layout {
    flex-direction: column;
  }
  .admin-stats {
    grid-template-columns: 1fr;
  }
  .admin-layout {
    flex-direction: column;
  }
  .admin-sidebar {
    position: static;
    width: 100%;
    height: auto;
  }
  .admin-main {
    margin-left: 0;
  }
  .cart-drawer {
    width: 100%;
  }
  .newsletter-section__inner {
    flex-direction: column;
    text-align: center;
  }
  .newsletter-form {
    min-width: unset;
    width: 100%;
  }
  .mega-dropdown {
    display: none !important;
  }
}

@media (max-width: 480px) {
  .hero-slideshow {
    height: 320px;
  }
  .slide__title {
    font-size: 1.4rem;
  }
  .usps-grid {
    grid-template-columns: 1fr;
  }
  .footer__grid {
    grid-template-columns: 1fr;
  }
  .auth-card {
    padding: 28px 20px;
  }
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
}

/* Utility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

.text-center { text-align: center; }
.mt-4 { margin-top: 16px; }
.mb-4 { margin-bottom: 16px; }
.py-12 { padding-top: 48px; padding-bottom: 48px; }
.py-16 { padding-top: 64px; padding-bottom: 64px; }

.products-layout {
  display: flex;
  gap: 32px;
  align-items: flex-start;
}

.products-main {
  flex: 1;
  min-width: 0;
}

.page-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 24px;
  color: var(--text);
}

.section-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--text);
}
