@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
  /* Color Palette - Premium Light Theme */
  --primary: #4f46e5;         /* Royal Indigo */
  --primary-hover: #4338ca;
  --primary-light: #e0e7ff;
  --secondary: #0ea5e9;       /* Deep Sky Blue */
  --secondary-hover: #0284c7;
  --accent: #f43f5e;          /* Elegant Rose/Coral */
  --accent-light: #ffe4e6;
  
  --background: #f8fafc;      /* Soft Slate Background */
  --card-bg: #ffffff;         /* Pure White for cards */
  --footer-bg: #0f172a;       /* Dark slate for high contrast footer */
  
  --text: #0f172a;            /* Deep Slate */
  --text-muted: #64748b;      /* Slate Gray */
  --text-light: #94a3b8;      /* Light Slate */
  --text-white: #ffffff;
  
  --border: #e2e8f0;          /* Clean slate border */
  --border-focus: #cbd5e1;
  
  --success: #10b981;
  --warning: #f59e0b;
  --error: #ef4444;

  /* Typography */
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Layout Constants */
  --header-height: 80px;
  --container-max-width: 1280px;
  
  /* Borders and Shadows */
  --radius-xs: 6px;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-full: 9999px;
  
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05), 0 1px 2px rgba(0, 0, 0, 0.03);
  --shadow-md: 0 10px 15px -3px rgba(15, 23, 42, 0.04), 0 4px 6px -4px rgba(15, 23, 42, 0.02);
  --shadow-lg: 0 20px 25px -5px rgba(15, 23, 42, 0.06), 0 8px 10px -6px rgba(15, 23, 42, 0.04);
  --shadow-flat: 0 0 0 1px rgba(15, 23, 42, 0.05);

  /* Transition */
  --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  min-height: 100%;
  width: 100%;
  background-color: var(--background);
  color: var(--text);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--background);
}
::-webkit-scrollbar-thumb {
  background: var(--border-focus);
  border-radius: var(--radius-full);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--text-light);
}

/* Typography Utilities */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.25;
  color: var(--text);
}
p {
  color: var(--text-muted);
  line-height: 1.6;
}
a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Common Layout Containers */
.container {
  width: 100%;
  max-width: var(--container-max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* Button Component Styles */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition-normal);
  white-space: nowrap;
}
.btn-primary {
  background-color: var(--primary);
  color: var(--text-white);
  box-shadow: 0 4px 14px rgba(79, 70, 229, 0.25);
}
.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(79, 70, 229, 0.35);
}
.btn-primary:active {
  transform: translateY(0);
}
.btn-secondary {
  background-color: var(--card-bg);
  border-color: var(--border);
  color: var(--text);
  box-shadow: var(--shadow-sm);
}
.btn-secondary:hover {
  background-color: var(--background);
  border-color: var(--text-light);
  transform: translateY(-2px);
}
.btn-outline {
  background-color: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
}
.btn-outline:hover {
  background-color: var(--primary-light);
  transform: translateY(-2px);
}

/* Top Bar Styles */
.top-bar {
  background-color: var(--primary);
  color: var(--text-white);
  padding: 10px 0;
  font-size: 0.8rem;
  font-weight: 500;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  letter-spacing: 0.3px;
}
.top-bar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.top-bar-text {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-white);
}
.top-bar-links {
  display: flex;
  align-items: center;
  gap: 20px;
}
.top-bar-links a:hover {
  color: rgba(255, 255, 255, 0.85);
}
.lang-selector {
  color: rgba(255, 255, 255, 0.8);
  font-weight: 600;
  cursor: pointer;
}

/* Header Main Styles */
.header {
  height: var(--header-height);
  background-color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  transition: all var(--transition-normal);
}
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  width: 100%;
}
.logo {
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: -1px;
  color: var(--text);
}
.logo span {
  color: var(--primary);
}

/* Desktop Navigation */
.desktop-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 100%;
}
.nav-item {
  position: relative;
  height: var(--header-height);
  display: flex;
  align-items: center;
}
.nav-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  padding: 8px 0;
  display: flex;
  align-items: center;
  gap: 4px;
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary);
  transition: width var(--transition-normal);
}
.nav-link:hover::after {
  width: 100%;
}
.sale-link {
  color: var(--accent) !important;
}
.sale-link::after {
  background-color: var(--accent) !important;
}

/* Mega Dropdown Menu */
.dropdown {
  position: absolute;
  top: var(--header-height);
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  width: 600px;
  background-color: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}
.nav-item:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.dropdown-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.dropdown-grid h4 {
  font-size: 0.9rem;
  color: var(--text);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.dropdown-grid a {
  display: block;
  font-size: 0.9rem;
  color: var(--text-muted);
  padding: 6px 0;
}
.dropdown-grid a:hover {
  color: var(--primary);
  padding-left: 4px;
}

/* Actions Section */
.actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.action-btn {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: transparent;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  cursor: pointer;
  position: relative;
  transition: all var(--transition-normal);
}
.action-btn:hover {
  background-color: var(--background);
  color: var(--primary);
}
.action-btn .badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background-color: var(--accent);
  color: var(--text-white);
  font-size: 0.7rem;
  font-weight: 700;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--card-bg);
}

/* Expandable Search Input */
.search-wrapper {
  display: flex;
  align-items: center;
  position: relative;
  background-color: var(--background);
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  transition: all var(--transition-normal);
  width: 44px;
  overflow: hidden;
}
.search-open {
  width: 260px;
  border-color: var(--border);
  background-color: var(--card-bg);
  box-shadow: var(--shadow-sm);
}
.search-input {
  width: 100%;
  padding: 10px 14px;
  padding-right: 44px;
  border: none;
  background: transparent;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  color: var(--text);
  outline: none;
}
.search-wrapper .action-btn {
  position: absolute;
  right: 0;
  top: 0;
}

/* Mobile Navigation Trigger */
.mobile-menu-btn {
  display: none;
}

/* Sidebar Navigation (Mobile) */
.mobile-sidebar {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 320px;
  max-width: 85%;
  background-color: var(--card-bg);
  z-index: 1000;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  transform: translateX(-100%);
  transition: transform var(--transition-normal) cubic-bezier(0.4, 0, 0.2, 1);
}
.sidebar-open {
  transform: translateX(0);
}
.sidebar-header {
  padding: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border);
}
.close-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text);
}
.sidebar-search {
  margin: 16px 24px;
  position: relative;
}
.sidebar-search input {
  width: 100%;
  padding: 12px 16px;
  padding-right: 40px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  background-color: var(--background);
  outline: none;
}
.sidebar-search svg {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
}
.mobile-nav-links {
  display: flex;
  flex-direction: column;
  padding: 16px 24px;
  gap: 16px;
  overflow-y: auto;
}
.mobile-nav-links a {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
  padding: 8px 0;
}
.mobile-nav-links a:hover {
  color: var(--primary);
}
.mobile-nav-links hr {
  border: 0;
  border-top: 1px solid var(--border);
  margin: 8px 0;
}
.sidebar-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(15, 23, 42, 0.4);
  backdrop-filter: blur(4px);
  z-index: 999;
}

/* Hero Section */
.hero-section {
  position: relative;
  height: 600px;
  width: 100%;
  overflow: hidden;
  background-color: var(--background);
}
.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-slow), visibility var(--transition-slow);
  z-index: 1;
}
.active-slide {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}
.slide-content {
  max-width: 600px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transform: translateY(30px);
  transition: all var(--transition-slow) 0.2s;
}
.active-slide .slide-content {
  transform: translateY(0);
}
.hero-subtitle {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: 2px;
  text-transform: uppercase;
}
.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1.15;
  letter-spacing: -1.5px;
}
.hero-description {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.6;
}
.hero-cta {
  display: flex;
  gap: 16px;
  margin-top: 16px;
}
.nav-btn-left,
.nav-btn-right {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--border);
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all var(--transition-normal);
}
.nav-btn-left { left: 32px; }
.nav-btn-right { right: 32px; }
.nav-btn-left:hover,
.nav-btn-right:hover {
  background-color: var(--primary);
  color: var(--text-white);
  border-color: var(--primary);
}
.dots-container {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}
.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: rgba(15, 23, 42, 0.2);
  border: none;
  cursor: pointer;
  transition: all var(--transition-normal);
}
.active-dot {
  width: 30px;
  border-radius: var(--radius-full);
  background-color: var(--primary);
}

/* Banners Section */
.banners-section {
  padding: 80px 0;
}
.banners-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.banner-card {
  height: 380px;
  background-size: cover;
  background-position: center;
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 40px;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
  cursor: pointer;
}
.banner-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}
.banner-card.full-width {
  grid-column: span 2;
  height: 280px;
  background-position: center 35%;
}
.banner-content {
  position: relative;
  z-index: 2;
  color: var(--text-white);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.banner-subtitle {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--secondary);
  text-transform: uppercase;
}
.banner-title {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 8px;
  letter-spacing: -0.5px;
}
.banner-cta {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-weight: 700;
  color: var(--text-white);
}

/* Products Section */
.products-section {
  padding: 40px 0 80px 0;
}
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 40px;
  flex-wrap: wrap;
  gap: 24px;
}
.section-title {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.section-tagline {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--primary);
  text-transform: uppercase;
}
.section-title h2 {
  font-size: 2.2rem;
  font-weight: 800;
}
.tabs-nav {
  display: flex;
  gap: 8px;
  background-color: #e2e8f0;
  padding: 4px;
  border-radius: var(--radius-md);
}
.tab-btn {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 10px 20px;
  border: none;
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  border-radius: var(--radius-sm);
  transition: all var(--transition-normal);
}
.tab-btn.active {
  background-color: var(--card-bg);
  color: var(--primary);
  box-shadow: var(--shadow-sm);
}

/* Product Card Grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}
.product-card {
  background-color: var(--card-bg);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
  position: relative;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-focus);
}
.product-image-wrapper {
  position: relative;
  width: 100%;
  padding-top: 125%;
  overflow: hidden;
}
.product-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}
.product-card:hover .product-image {
  transform: scale(1.06);
}
.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 6px 12px;
  font-size: 0.75rem;
  font-weight: 800;
  border-radius: var(--radius-sm);
  color: var(--text-white);
  text-transform: uppercase;
  z-index: 5;
}
.badge-new { background-color: var(--primary); }
.badge-sale { background-color: var(--accent); }
.badge-hot { background-color: #fb923c; }

.product-wishlist-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: var(--card-bg);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  z-index: 5;
  transition: all var(--transition-normal);
}
.product-wishlist-btn:hover {
  color: var(--accent);
}
.product-info {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.product-category {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 6px;
}
.product-name {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 8px;
  height: 40px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-rating {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 16px;
  font-size: 0.75rem;
}
.stars { color: #f59e0b; }
.reviews-count { color: var(--text-muted); }
.product-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
}
.product-prices {
  display: flex;
  flex-direction: column;
}
.product-old-price {
  font-size: 0.8rem;
  text-decoration: line-through;
  color: var(--text-light);
}
.product-price {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text);
}
.add-to-cart-btn {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background-color: var(--primary-light);
  color: var(--primary);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-normal);
}
.add-to-cart-btn:hover {
  background-color: var(--primary);
  color: var(--text-white);
}

/* Info Banner Section */
.info-section {
  background-color: var(--card-bg);
  border-top: 1px solid var(--border);
  padding: 60px 0;
}
.info-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.info-card {
  display: flex;
  gap: 16px;
}
.info-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background-color: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.info-text h3 {
  font-size: 1.05rem;
  margin-bottom: 6px;
}
.info-text p {
  font-size: 0.85rem;
}

/* Product Detail Page */
.detail-section {
  padding: 60px 0;
}
.detail-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 48px;
}
.detail-image-gallery {
  background-color: transparent;
}
.detail-main-image {
  position: relative;
  width: 100%;
  padding-top: 125%; /* 4:5 aspect ratio */
  overflow: hidden;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  margin-bottom: 16px;
  background-color: var(--card-bg);
}
.detail-main-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.detail-thumbnails {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}
.detail-thumb {
  position: relative;
  width: 100%;
  padding-top: 125%; /* 4:5 aspect ratio */
  overflow: hidden;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  background-color: var(--card-bg);
  transition: all var(--transition-normal);
}
.detail-thumb:hover {
  border-color: var(--border-focus);
}
.detail-thumb.active {
  border-color: var(--primary);
}
.detail-thumb img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.detail-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.detail-category {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--primary);
  letter-spacing: 1px;
}
.detail-name {
  font-size: 2.2rem;
  font-weight: 800;
}
.detail-rating {
  display: flex;
  align-items: center;
  gap: 12px;
}
.detail-price-box {
  padding: 24px;
  background-color: var(--card-bg);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.detail-old-price {
  font-size: 1.1rem;
  text-decoration: line-through;
  color: var(--text-light);
}
.detail-price {
  font-size: 2rem;
  font-weight: 800;
  color: var(--text);
}
.detail-description {
  font-size: 1rem;
  line-height: 1.7;
}
.detail-actions {
  display: flex;
  gap: 16px;
  margin-top: 12px;
}
.quantity-selector {
  display: flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background-color: var(--card-bg);
}
.quantity-btn {
  width: 48px;
  height: 48px;
  background: transparent;
  border: none;
  cursor: pointer;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text);
}
.quantity-input {
  width: 48px;
  text-align: center;
  border: none;
  background: transparent;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  outline: none;
}

/* Cart Page */
.cart-section {
  padding: 60px 0;
}
.cart-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 32px;
}
.cart-list {
  background-color: var(--card-bg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.cart-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}
.cart-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.cart-item-image {
  width: 100px;
  height: 125px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  flex-shrink: 0;
}
.cart-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cart-item-details {
  flex-grow: 1;
}
.cart-item-name {
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 4px;
}
.cart-item-name a:hover { color: var(--primary); }
.cart-item-category {
  font-size: 0.8rem;
  color: var(--text-light);
}
.cart-item-price {
  font-weight: 700;
  font-size: 1.1rem;
  margin-top: 8px;
}
.cart-item-remove {
  background: transparent;
  border: none;
  color: var(--error);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cart-summary {
  background-color: var(--card-bg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 24px;
  height: fit-content;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.summary-title {
  font-size: 1.25rem;
  border-bottom: 1px solid var(--border);
  padding-bottom: 12px;
}
.summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.95rem;
}
.summary-total {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text);
  border-top: 1px solid var(--border);
  padding-top: 16px;
}
.empty-cart {
  text-align: center;
  padding: 60px 24px;
  background-color: var(--card-bg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}

/* Footer Section */
.footer {
  background-color: var(--footer-bg);
  color: #94a3b8;
}
.newsletter-area {
  border-bottom: 1px solid #1e293b;
  padding: 60px 0;
}
.newsletter-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}
.newsletter-text h3 {
  color: var(--text-white);
  font-size: 1.8rem;
  margin-bottom: 8px;
}
.newsletter-form {
  display: flex;
  gap: 12px;
  flex-grow: 1;
  max-width: 500px;
}
.newsletter-input-wrapper {
  position: relative;
  flex-grow: 1;
}
.newsletter-input-wrapper svg {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #64748b;
}
.newsletter-form input {
  width: 100%;
  padding: 14px 16px 14px 48px;
  border-radius: var(--radius-md);
  border: 1px solid #334155;
  background-color: #1e293b;
  color: var(--text-white);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  outline: none;
  transition: all var(--transition-normal);
}
.newsletter-form input:focus {
  border-color: var(--primary);
}
.links-area {
  padding: 80px 0;
  border-bottom: 1px solid #1e293b;
}
.links-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 48px;
}
.brand-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.brand-desc {
  font-size: 0.95rem;
  line-height: 1.6;
}
.socials {
  display: flex;
  gap: 12px;
}
.socials a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #1e293b;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  transition: all var(--transition-normal);
}
.socials a:hover {
  background-color: var(--primary);
  color: var(--text-white);
  transform: translateY(-2px);
}
.links-grid h4 {
  color: var(--text-white);
  font-size: 1rem;
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.link-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.link-list a {
  color: #94a3b8;
  font-size: 0.95rem;
}
.link-list a:hover {
  color: var(--text-white);
  padding-left: 4px;
}
.bottom-area {
  padding: 30px 0;
  font-size: 0.85rem;
}
.bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}
.security {
  display: flex;
  align-items: center;
  gap: 8px;
}
.payment-methods {
  display: flex;
  gap: 8px;
}
.payment-badge {
  background-color: #1e293b;
  color: var(--text-white);
  padding: 6px 12px;
  border-radius: var(--radius-xs);
  font-weight: 700;
}

/* Alert system */
.alert {
  padding: 16px;
  border-radius: var(--radius-md);
  margin-bottom: 20px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
}
.alert-success {
  background-color: #d1fae5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}
.alert-info {
  background-color: #e0f2fe;
  color: #075985;
  border: 1px solid #bae6fd;
}
/* Categories Showcase (Round circles) */
.categories-showcase {
  padding: 16px 0;
  background-color: var(--card-bg);
  border-bottom: 1px solid var(--border);
}
.categories-list {
  display: flex;
  justify-content: center;
  gap: 32px;
  overflow-x: auto;
  padding: 0;
  scrollbar-width: none; /* Firefox */
}
.categories-list::-webkit-scrollbar {
  display: none; /* Safari and Chrome */
}
.category-circle-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  min-width: 90px;
  text-align: center;
}
.category-circle-wrapper {
  position: relative;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  padding: 4px;
  border: 2px solid transparent;
  transition: all var(--transition-normal);
  background-color: var(--background);
  box-shadow: var(--shadow-sm);
}
.category-circle-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  transition: transform var(--transition-normal);
}
.category-circle-card:hover .category-circle-wrapper {
  border-color: var(--primary);
  box-shadow: 0 0 15px rgba(79, 70, 229, 0.2);
}
.category-circle-card:hover .category-circle-img {
  transform: scale(1.05);
}
.category-circle-name {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.2px;
  transition: color var(--transition-fast);
}
.category-circle-card:hover .category-circle-name {
  color: var(--primary);
}

/* Testimonials (Customer Reviews) Section */
.testimonials-section {
  padding: 80px 0;
  background-color: #f1f5f9;
  border-top: 1px solid var(--border);
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 40px;
}
.testimonial-card {
  background-color: var(--card-bg);
  padding: 32px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: all var(--transition-normal);
}
.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}
.testimonial-stars {
  color: #f59e0b;
  font-size: 1.1rem;
}
.testimonial-text {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-muted);
  font-style: italic;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
}
.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  background-color: var(--background);
}
.testimonial-info h4 {
  font-size: 0.95rem;
  font-weight: 700;
}
.testimonial-info span {
  font-size: 0.8rem;
  color: var(--text-light);
  font-weight: 500;
}

/* Catalog / Category Layout */
.catalog-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 32px;
  margin-top: 32px;
}
.filter-sidebar {
  background-color: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  height: fit-content;
  position: sticky;
  top: 100px;
  box-shadow: var(--shadow-sm);
  z-index: 10;
}
.filter-group {
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}
.filter-group:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}
.filter-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.filter-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.filter-list-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  cursor: pointer;
  transition: color var(--transition-fast);
}
.filter-list-item input[type="checkbox"] {
  width: 18px;
  height: 18px;
  border-radius: var(--radius-xs);
  border: 1.5px solid var(--border);
  cursor: pointer;
  accent-color: var(--primary);
}
.filter-list-item:hover {
  color: var(--primary);
}
.filter-price-inputs {
  display: flex;
  align-items: center;
  gap: 8px;
}
.filter-price-inputs input {
  width: 100%;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  font-family: var(--font-sans);
  font-size: 0.85rem;
  outline: none;
  color: var(--text);
  background-color: var(--background);
  transition: border-color var(--transition-fast);
}
.filter-price-inputs input:focus {
  border-color: var(--primary);
  background-color: var(--card-bg);
}
.filter-price-separator {
  color: var(--text-light);
  font-weight: 500;
}
.catalog-products-area {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.catalog-products-area .product-grid {
  grid-template-columns: repeat(3, 1fr);
}
.catalog-sort-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: var(--card-bg);
  padding: 16px 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.catalog-results-count {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
}
.catalog-sort-select {
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  font-family: var(--font-sans);
  font-size: 0.85rem;
  color: var(--text);
  outline: none;
  background-color: var(--card-bg);
  cursor: pointer;
  transition: border-color var(--transition-fast);
}
.catalog-sort-select:focus {
  border-color: var(--primary);
}
.mobile-filter-trigger {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: var(--card-bg);
  border: 1px solid var(--border);
  padding: 12px;
  border-radius: var(--radius-md);
  cursor: pointer;
  font-weight: 700;
  font-size: 0.9rem;
  width: 100%;
  margin-bottom: 16px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}
.mobile-filter-trigger:hover {
  background-color: var(--primary-light);
  color: var(--primary);
  border-color: var(--primary);
}
/* Admin Login Layout */
.login-wrapper {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at top right, rgba(168, 85, 247, 0.08) 0%, #f1f5f9 60%, #e2e8f0 100%);
  font-family: 'Outfit', sans-serif;
}
.login-card {
  width: 100%;
  max-width: 440px;
  background-color: #ffffff;
  border-radius: 24px;
  border: 1px solid #e2e8f0;
  padding: 48px 40px;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.06);
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.login-header {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.login-header .logo {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 4px;
  color: #0f172a;
}
.login-header p {
  font-size: 0.95rem;
  color: #64748b;
  font-weight: 500;
}
.login-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.login-form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.login-form-group label {
  font-size: 0.8rem;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}
.login-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}
.login-input-wrapper svg {
  position: absolute;
  left: 16px;
  color: #64748b;
  pointer-events: none;
}
.login-input-wrapper input {
  width: 100%;
  padding: 14px 16px 14px 46px;
  border-radius: 12px;
  border: 1px solid #cbd5e1;
  font-family: inherit;
  font-size: 0.95rem;
  outline: none;
  background-color: #ffffff;
  color: #0f172a;
  transition: all var(--transition-fast);
}
.login-input-wrapper input:focus {
  border-color: #a855f7;
  background-color: #ffffff;
  box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.12);
}
.login-options-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  font-weight: 600;
}
.login-checkbox-label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #64748b;
  cursor: pointer;
}
.login-checkbox-label input {
  width: 16px;
  height: 16px;
  accent-color: #a855f7;
  cursor: pointer;
}
.login-forgot-link {
  color: #a855f7;
  text-decoration: none;
  transition: color 0.2s;
}
.login-forgot-link:hover {
  color: #b55fe6;
  text-decoration: underline;
}

/* Admin Dashboard Layout */
.admin-layout {
  --background: #f8fafc;
  --card-bg: #ffffff;
  --text: #0f172a;
  --text-muted: #475569;
  --text-light: #64748b;
  --border: #e2e8f0;
  --border-focus: var(--primary);
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.05), 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 6px rgba(0,0,0,0.05), 0 2px 4px rgba(0,0,0,0.05);
  --shadow-lg: 0 10px 15px rgba(0,0,0,0.05), 0 4px 6px rgba(0,0,0,0.05);

  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background-color: var(--background);
  color: var(--text);
  font-family: 'Outfit', sans-serif;
}
.admin-navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 48px;
  background-color: #ffffff;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.admin-navbar .logo-area .logo {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -1px;
  display: flex;
  align-items: baseline;
  gap: 4px;
  color: #0f172a;
}
.admin-navbar .nav-links {
  flex: 1;
  display: flex;
  justify-content: center;
  max-width: 900px;
  margin: 0 24px;
}
.admin-menu {
  list-style: none;
  display: flex;
  flex-direction: row;
  gap: 6px;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
  justify-content: center;
}
.admin-menu-item a {
  display: flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 20px;
  font-size: 0.88rem;
  font-weight: 600;
  color: #64748b;
  text-decoration: none;
  transition: all var(--transition-normal);
}
.admin-menu-item a:hover {
  background-color: #f1f5f9;
  color: #0f172a;
}
.admin-menu-item.active a {
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.08) 0%, rgba(139, 92, 246, 0.02) 100%);
  color: #a855f7;
  border: 1px solid rgba(168, 85, 247, 0.2);
}
.admin-navbar .user-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}
.admin-navbar .user-actions .user-badge {
  font-size: 0.85rem;
  font-weight: 600;
  color: #475569;
  background-color: #f1f5f9;
  padding: 8px 16px;
  border-radius: 20px;
  border: 1px solid #e2e8f0;
}
.admin-navbar .user-actions .user-badge span {
  color: #a855f7;
  font-weight: 700;
}
.admin-navbar .user-actions .logout-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: #ef4444;
  background-color: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.15);
  transition: all 0.2s;
}
.admin-navbar .user-actions .logout-btn:hover {
  color: #ffffff;
  background-color: #ef4444;
  transform: scale(1.05);
}
.admin-content {
  padding: 40px 48px;
  display: flex;
  flex-direction: column;
  gap: 36px;
  width: 100%;
  max-width: var(--container-max-width);
  margin: 0 auto;
}
.admin-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border);
  padding-bottom: 24px;
}
.admin-header-row h1 {
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: #0f172a;
}

/* KPI Stats Cards */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.stat-card {
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 1px 3px rgba(0,0,0,0.02), 0 4px 12px rgba(0,0,0,0.03);
  transition: all var(--transition-normal);
}
.stat-card:hover {
  transform: translateY(-4px);
  border-color: rgba(168, 85, 247, 0.25);
  box-shadow: 0 12px 30px rgba(168, 85, 247, 0.04);
}
.stat-card-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.stat-card-title {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.stat-card-number {
  font-size: 2rem;
  font-weight: 800;
  color: #0f172a;
}
.stat-card-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background-color: rgba(168, 85, 247, 0.1);
  color: #a855f7;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 0 12px rgba(168, 85, 247, 0.1);
}
.stat-card:nth-child(2) .stat-card-icon {
  background-color: rgba(16, 185, 129, 0.1);
  color: #10b981;
  box-shadow: inset 0 0 12px rgba(16, 185, 129, 0.1);
}
.stat-card:nth-child(3) .stat-card-icon {
  background-color: rgba(245, 158, 11, 0.1);
  color: #f59e0b;
  box-shadow: inset 0 0 12px rgba(245, 158, 11, 0.1);
}
.stat-card:nth-child(4) .stat-card-icon {
  background-color: rgba(239, 68, 68, 0.1);
  color: #ef4444;
  box-shadow: inset 0 0 12px rgba(239, 68, 68, 0.1);
}

/* Admin Panels (Tables/Forms) */
.admin-card {
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.02), 0 10px 30px rgba(0,0,0,0.04);
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.admin-card h3 {
  font-size: 1.35rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.3px;
}
.admin-table-wrapper {
  overflow-x: auto;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
}
.admin-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}
.admin-table th,
.admin-table td {
  padding: 18px 24px;
  font-size: 0.95rem;
  border-bottom: 1px solid #f1f5f9;
  color: #334155;
}
.admin-table th {
  background-color: #f8fafc;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.8px;
  border-bottom: 1px solid #e2e8f0;
}
.admin-table tbody tr {
  transition: background-color var(--transition-fast);
}
.admin-table tbody tr:hover {
  background-color: #f8fafc;
}
.status-badge {
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.3px;
}
.status-completed {
  background-color: rgba(16, 185, 129, 0.12);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.2);
}
.status-pending {
  background-color: rgba(245, 158, 11, 0.12);
  color: #d97706;
  border: 1px solid rgba(245, 158, 11, 0.2);
}
.status-cancelled {
  background-color: rgba(239, 68, 68, 0.12);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.2);
}

/* Product Management Form */
.admin-grid-two {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 36px;
}
.admin-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.admin-form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.admin-form-group label {
  font-size: 0.85rem;
  font-weight: 700;
  color: #475569;
  letter-spacing: 0.3px;
}
.admin-form-group input,
.admin-form-group select,
.admin-form-group textarea {
  padding: 14px;
  border-radius: 10px;
  border: 1px solid #cbd5e1;
  font-family: inherit;
  font-size: 0.95rem;
  outline: none;
  background-color: #ffffff;
  color: #0f172a;
  transition: all var(--transition-fast);
}
.admin-form-group input:focus,
.admin-form-group select:focus,
.admin-form-group textarea:focus {
  border-color: #a855f7;
  background-color: #ffffff;
  box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.12);
}
.delete-btn {
  background: none;
  border: none;
  color: #f87171;
  cursor: pointer;
  transition: transform var(--transition-fast);
}
.delete-btn:hover {
  color: #ef4444;
  transform: scale(1.1);
}
/* Product Brand Style */
.product-brand {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 4px;
  display: block;
}

/* Subcategory List Style */
.subcategory-list {
  margin-left: 20px;
  margin-top: 8px;
  border-left: 1.5px solid var(--border);
  padding-left: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Responsive Rules */
@media (max-width: 1024px) {
  .desktop-nav, .hide-on-mobile { display: none; }
  .mobile-menu-btn { display: flex; }
  .links-grid { grid-template-columns: repeat(2, 1fr); gap: 40px; }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .catalog-products-area .product-grid { grid-template-columns: repeat(2, 1fr); }
  .info-grid { grid-template-columns: repeat(2, 1fr); }
  .cart-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .categories-list { justify-content: flex-start; padding-left: 24px; padding-right: 24px; }
  
  /* Catalog Mobile Drawer */
  .catalog-layout {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .filter-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 300px;
    max-width: 85%;
    z-index: 1001;
    transform: translateX(-100%);
    transition: transform var(--transition-normal) cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 0;
    height: 100%;
    overflow-y: auto;
    border: none;
    box-shadow: var(--shadow-lg);
  }
  .filter-sidebar.sidebar-open {
    transform: translateX(0);
  }
  .mobile-filter-trigger {
    display: flex;
  }
  .filter-close-btn {
    display: block;
  }

  /* Admin Dashboard Mobile */
  .admin-layout {
    grid-template-columns: 1fr;
  }
  .admin-sidebar {
    padding: 20px;
    gap: 16px;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    border-right: none;
    border-bottom: 1px solid #1e293b;
  }
  .admin-sidebar .logo {
    margin-bottom: 0;
  }
  .admin-menu {
    flex-direction: row;
    flex-wrap: wrap;
  }
  .admin-menu-item a {
    padding: 10px 14px;
    font-size: 0.85rem;
  }
  .admin-content {
    padding: 24px;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .admin-grid-two {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .hero-section { height: 500px; }
  .hero-title { font-size: 2.2rem; }
  .hero-description { font-size: 0.95rem; }
  .banners-grid { grid-template-columns: 1fr; }
  .banner-card.full-width { grid-column: span 1; height: 220px; }
  .section-header { flex-direction: column; align-items: flex-start; }
  .product-grid,
  .catalog-products-area .product-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 16px;
  }
  .info-grid { grid-template-columns: 1fr; }
  .detail-grid { grid-template-columns: 1fr; }
  .newsletter-content { flex-direction: column; align-items: stretch; }
  .links-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 32px 24px !important;
  }
  .brand-col {
    grid-column: span 2 !important;
    margin-bottom: 16px;
  }
  .bottom-content { flex-direction: column; text-align: center; }
  .testimonials-grid { grid-template-columns: 1fr; }

  /* Admin Dashboard Mobile XS */
  .admin-sidebar {
    flex-direction: column;
    gap: 12px;
  }
  .admin-menu {
    justify-content: center;
  }
  .stats-grid {
    grid-template-columns: 1fr;
  }
}

/* iSecret Logo Custom Styles */
.logo-i-wrap {
  position: relative;
  display: inline-block;
  color: var(--primary);
}
.logo-i-dot {
  position: absolute;
  top: -0.08em;
  left: 50%;
  transform: translateX(-50%);
  width: 0.45em;
  height: 0.45em;
  display: block;
  line-height: 0;
  animation: logoDotPulse 1.8s infinite ease-in-out;
}
.logo-i-dot svg {
  width: 100%;
  height: 100%;
  fill: var(--primary);
  filter: drop-shadow(0 0 3px rgba(168, 85, 247, 0.6));
}
@keyframes logoDotPulse {
  0% {
    transform: translateX(-50%) scale(0.9);
    opacity: 0.85;
  }
  50% {
    transform: translateX(-50%) scale(1.3);
    opacity: 1;
  }
  100% {
    transform: translateX(-50%) scale(0.9);
    opacity: 0.85;
  }
}

/* Sticky Buy Bar */
.sticky-buy-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: var(--card-bg);
  border-top: 1px solid var(--border);
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.08);
  padding: 12px 0;
  z-index: 999;
  transform: translateY(100%);
  transition: transform var(--transition-normal);
}
.sticky-buy-bar.show {
  transform: translateY(0);
}
.sticky-buy-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.sticky-buy-product {
  display: flex;
  align-items: center;
  gap: 12px;
}
.sticky-buy-img {
  width: 48px;
  height: 60px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}
.sticky-buy-meta {
  display: flex;
  flex-direction: column;
}
.sticky-buy-title {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 250px;
}
.sticky-buy-price {
  font-weight: 800;
  color: var(--primary);
  font-size: 1.1rem;
  margin-top: 2px;
}
.sticky-buy-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.sticky-buy-btn {
  height: 46px;
  padding: 0 24px;
  font-size: 0.9rem;
  font-weight: 700;
  white-space: nowrap;
}

@media (max-width: 768px) {
  .sticky-buy-bar {
    padding: 10px 12px;
  }
  .sticky-buy-container {
    gap: 8px;
  }
  .sticky-buy-product {
    display: none;
  }
  .sticky-buy-actions {
    width: 100%;
    display: grid;
    grid-template-columns: 1.2fr 1.8fr 1.8fr;
    gap: 6px;
    align-items: center;
  }
  .sticky-buy-qty {
    display: flex !important;
    height: 48px !important;
  }
  .sticky-buy-btn {
    width: 100%;
    padding: 0;
    height: 48px;
    font-size: 0.88rem;
  }
}

