/* 
  The Safe Shop - Modern E-Commerce Design System & Stylesheet
  Aesthetics: Deep Dark Mode (#07090d), Bright Emerald Accents (#00e676), Cyan Gradients, Pill Buttons & Glow Cards
*/

:root {
  /* Color Tokens */
  --bg-dark: #07090d;
  --bg-card: #10151f;
  --bg-card-hover: #171f2e;
  --bg-surface: #131924;
  
  --text-primary: #ffffff;
  --text-secondary: #a0aec0;
  --text-muted: #64748b;
  
  --accent-emerald: #00e676;
  --accent-emerald-dark: #00c853;
  --accent-emerald-light: rgba(0, 230, 118, 0.15);
  --accent-cyan: #00b0ff;
  --accent-gold: #ffb300;
  --accent-gold-light: rgba(255, 179, 0, 0.15);
  --accent-red: #ff5252;
  
  --border-color: rgba(255, 255, 255, 0.08);
  --border-emerald: rgba(0, 230, 118, 0.35);
  
  /* Radius & Shadows */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-pill: 50px;
  
  --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.5);
  --shadow-md: 0 6px 24px rgba(0, 0, 0, 0.7);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.9);
  --shadow-glow: 0 0 30px rgba(0, 230, 118, 0.2);
  
  --font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Base Setup */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: var(--font-family);
  user-select: none;
  -webkit-user-drag: none;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.5;
  overflow-x: hidden;
  min-height: 100vh;
}

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

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Gradient Text */
.gradient-text {
  background: linear-gradient(135deg, var(--accent-emerald) 0%, var(--accent-cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Top Announcement Bar */
.announcement-bar {
  background: #05070a;
  border-bottom: 1px solid var(--border-color);
  padding: 10px 0;
}

.announcement-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.announcement-pill {
  border: 1px solid var(--accent-emerald);
  border-radius: var(--radius-pill);
  padding: 5px 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent-emerald);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.announcement-link {
  color: #fff;
  transition: color 0.2s;
}

.announcement-link:hover {
  color: var(--accent-emerald);
}

/* Header Navigation */
header {
  background: rgba(10, 14, 22, 0.95);
  backdrop-filter: blur(16px);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--border-color);
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
  gap: 20px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

/* Crisp High-Res Brand Shield Logo */
.brand-logo-img {
  height: 52px;
  max-width: 240px;
  width: auto;
  object-fit: contain;
  background: transparent;
  padding: 0;
  border-radius: 0;
  box-shadow: none;
  filter: drop-shadow(0 0 10px rgba(0, 230, 118, 0.4));
  transition: transform 0.25s ease, filter 0.25s ease;
}

.brand-logo-img:hover {
  transform: scale(1.04);
  filter: drop-shadow(0 0 16px rgba(0, 230, 118, 0.7));
}

.search-box {
  flex: 1;
  max-width: 480px;
  position: relative;
}

.search-input {
  width: 100%;
  padding: 12px 20px 12px 46px;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-pill);
  color: var(--text-primary);
  font-size: 0.88rem;
  outline: none;
  transition: all 0.25s ease;
}

.search-input:focus {
  border-color: var(--accent-emerald);
  box-shadow: 0 0 20px rgba(0, 230, 118, 0.25);
}

.search-icon {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 0.95rem;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.icon-btn {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  transition: all 0.2s ease;
  font-size: 1.05rem;
}

.icon-btn:hover {
  background: var(--bg-card-hover);
  border-color: var(--accent-emerald);
  color: var(--accent-emerald);
}

.counter-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--accent-emerald);
  color: #07090d;
  font-size: 0.7rem;
  font-weight: 800;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* User Profile Nav Dropdown */
.user-nav-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 600;
  transition: all 0.2s ease;
}

.user-nav-btn:hover {
  border-color: var(--accent-emerald);
  background: var(--bg-card-hover);
}

.user-dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 240px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 8px;
  display: none;
  z-index: 120;
}

.user-dropdown-menu.open {
  display: block;
}

.user-dropdown-header {
  padding: 10px 12px;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 6px;
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  color: var(--text-secondary);
  transition: all 0.2s ease;
}

.dropdown-item:hover {
  background: var(--bg-surface);
  color: var(--accent-emerald);
}

/* Live Address Autocomplete Dropdown Menu */
.address-suggestions-menu {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  background: var(--bg-card);
  border: 1px solid var(--accent-emerald);
  border-radius: var(--radius-md);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  z-index: 300;
  max-height: 220px;
  overflow-y: auto;
  display: none;
}

.address-suggestion-item {
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 0.85rem;
  color: var(--text-primary);
  border-bottom: 1px dashed rgba(255, 255, 255, 0.08);
  transition: background 0.2s ease;
}

.address-suggestion-item:last-child {
  border-bottom: none;
}

.address-suggestion-item:hover {
  background: var(--bg-surface);
  color: var(--accent-emerald);
}

.address-suggestion-item i {
  color: var(--accent-emerald);
  font-size: 0.95rem;
}

/* Category Navigation Bar (Pill Button Row) */
.category-nav {
  background: var(--bg-card);
  border-bottom: 1px solid var(--border-color);
  padding: 10px 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.category-list {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  overflow-x: auto;
  padding-bottom: 2px;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--accent-emerald) var(--bg-surface);
}

.category-list::-webkit-scrollbar {
  height: 3px;
}
.category-list::-webkit-scrollbar-track {
  background: var(--bg-surface);
  border-radius: 4px;
}
.category-list::-webkit-scrollbar-thumb {
  background: var(--accent-emerald);
  border-radius: 4px;
}

.category-list li {
  flex: 0 0 auto;
}

.category-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 6px 14px;
  background: linear-gradient(145deg, #131924 0%, #0d121a 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-pill);
  color: var(--text-secondary);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.category-btn i {
  font-size: 0.85rem;
  color: var(--accent-emerald);
  transition: transform 0.25s ease;
}

.category-btn span {
  white-space: nowrap;
  overflow: visible;
  text-overflow: clip;
  letter-spacing: 0.2px;
}

.category-btn:hover {
  background: linear-gradient(145deg, #1c2638 0%, #131924 100%);
  border-color: var(--accent-emerald);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 230, 118, 0.3);
}

.category-btn:hover i {
  transform: scale(1.18);
}

.category-btn.active {
  background: linear-gradient(135deg, var(--accent-emerald) 0%, #00b050 100%);
  color: #07090d;
  border-color: var(--accent-emerald);
  font-weight: 800;
  box-shadow: 0 4px 20px rgba(0, 230, 118, 0.5);
  transform: translateY(-1px);
}

.category-btn.active i {
  color: #07090d;
}

@media (max-width: 1080px) {
  .category-list {
    flex-wrap: nowrap;
    justify-content: flex-start;
  }
}

/* Hero Section & Interactive Multi-Banner Slider */
.hero {
  padding: 50px 0 40px;
  position: relative;
  background: radial-gradient(circle at 80% 40%, rgba(0, 230, 118, 0.08) 0%, transparent 60%);
}

.hero-slider-container {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.hero-slide {
  display: none;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

.hero-slide.active {
  display: block;
  opacity: 1;
}

.hero-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 14px;
  border: 1px solid var(--accent-emerald);
  border-radius: var(--radius-pill);
  color: var(--accent-emerald);
  font-size: 0.75rem;
  font-weight: 800;
  margin-bottom: 14px;
  letter-spacing: 0.5px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 50px;
  align-items: center;
}

.hero-title {
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1.12;
  margin-bottom: 20px;
  letter-spacing: -1.5px;
  color: #ffffff;
}

.hero-desc {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 32px;
  max-width: 520px;
}

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

.btn-hero-primary {
  background: linear-gradient(90deg, #00e676 0%, #00b0ff 100%);
  color: #07090d;
  font-weight: 800;
  font-size: 1rem;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.25s ease;
  box-shadow: 0 6px 20px rgba(0, 230, 118, 0.35);
}

.btn-hero-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 230, 118, 0.5);
}

.btn-hero-secondary {
  background: #121721;
  color: #ffffff;
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-color);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.25s ease;
}

.btn-hero-secondary:hover {
  background: var(--bg-card-hover);
  border-color: var(--text-secondary);
}

.hero-image-card {
  position: relative;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(0, 230, 118, 0.4);
  box-shadow: 0 0 35px rgba(0, 230, 118, 0.18), var(--shadow-lg);
  overflow: hidden;
  background: #000;
  height: 340px;
}

.hero-image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Slider Controls */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(10, 14, 22, 0.85);
  border: 1px solid var(--border-color);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  font-size: 1.1rem;
  transition: all 0.25s ease;
}

.slider-arrow:hover {
  background: var(--accent-emerald);
  color: #07090d;
  border-color: var(--accent-emerald);
  box-shadow: 0 0 15px rgba(0, 230, 118, 0.4);
}

.slider-prev { left: 10px; }
.slider-next { right: 10px; }

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

.indicator-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
}

.indicator-dot.active,
.indicator-dot:hover {
  background: var(--accent-emerald);
  width: 28px;
  border-radius: var(--radius-pill);
  box-shadow: 0 0 10px rgba(0, 230, 118, 0.5);
}

/* Trust Bar */
.trust-bar {
  background: var(--bg-card);
  border-y: 1px solid var(--border-color);
  padding: 24px 0;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 20px;
  background: var(--bg-surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
}

.trust-icon {
  font-size: 1.6rem;
  color: var(--accent-emerald);
}

.trust-title {
  font-weight: 700;
  font-size: 0.95rem;
}

.trust-sub {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Products Section */
.products-section {
  padding: 50px 0;
}

.filter-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.filter-title {
  font-size: 1.65rem;
  font-weight: 800;
}

.filter-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}

.filter-select {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  padding: 8px 16px;
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  outline: none;
  cursor: pointer;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}

/* Product Card */
.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 230, 118, 0.4);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6), var(--shadow-glow);
}

.product-badge-overlay {
  position: absolute;
  top: 8px;
  left: 8px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  z-index: 3;
  pointer-events: none;
  max-width: calc(100% - 50px);
}

.badge {
  padding: 2px 7px;
  border-radius: var(--radius-sm);
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  white-space: nowrap;
  letter-spacing: 0.3px;
  line-height: 1.25;
  width: max-content;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}

.badge-emerald {
  background: var(--accent-emerald-light);
  color: var(--accent-emerald);
  border: 1px solid var(--accent-emerald);
}

.badge-gold {
  background: var(--accent-gold-light);
  color: var(--accent-gold);
  border: 1px solid var(--accent-gold);
}

.badge-red {
  background: rgba(255, 82, 82, 0.15);
  color: var(--accent-red);
  border: 1px solid var(--accent-red);
}

.wishlist-toggle-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(10, 14, 22, 0.75);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  transition: all 0.2s ease;
}

.wishlist-toggle-btn.active,
.wishlist-toggle-btn:hover {
  color: var(--accent-red);
  border-color: var(--accent-red);
  background: rgba(255, 82, 82, 0.15);
}

.product-img-box {
  height: 220px;
  overflow: hidden;
  background: #0b0f17;
  position: relative;
}

.product-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  pointer-events: none;
}

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

.product-info {
  padding: 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-category {
  font-size: 0.75rem;
  color: var(--accent-gold);
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.product-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.rating-stars {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.8rem;
  color: var(--accent-gold);
  margin-bottom: 12px;
}

.rating-count {
  color: var(--text-muted);
  font-size: 0.75rem;
  margin-left: 4px;
}

.product-price-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: auto;
  margin-bottom: 14px;
}

.price-current {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--accent-emerald);
}

.price-original {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-decoration: line-through;
}

.product-card-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin-top: auto;
}

.product-card-actions .btn-secondary,
.product-card-actions .btn-primary {
  width: 100%;
  padding: 8px 4px !important;
  font-size: 0.78rem !important;
  justify-content: center;
  text-align: center;
  white-space: nowrap;
  border-radius: var(--radius-sm);
  gap: 4px;
  box-sizing: border-box;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-emerald) 0%, var(--accent-cyan) 100%);
  color: #07090d;
  font-weight: 700;
  padding: 10px 18px;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.25s ease;
  box-shadow: 0 4px 15px rgba(0, 230, 118, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(0, 230, 118, 0.5);
}

.btn-secondary {
  background: var(--bg-surface);
  color: var(--text-primary);
  font-weight: 600;
  padding: 10px 18px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.25s ease;
}

.btn-secondary:hover {
  background: var(--bg-card-hover);
  border-color: var(--text-secondary);
}

.btn-gold {
  background: linear-gradient(135deg, var(--accent-gold) 0%, #ff8f00 100%);
  color: #07090d;
  font-weight: 700;
  padding: 10px 18px;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.25s ease;
}

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

/* Modals & Drawers Engine */
.modal-overlay,
.drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(3, 4, 7, 0.85);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-overlay.open,
.drawer-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-content {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  width: 90%;
  max-width: 600px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-lg);
  transform: scale(0.95);
  transition: transform 0.3s ease;
}

.modal-overlay.open .modal-content {
  transform: scale(1);
}

.modal-header {
  padding: 16px 24px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 150;
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  flex-shrink: 0;
}

.modal-close-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  font-size: 1.1rem;
  cursor: pointer;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.modal-close-btn:hover {
  background: var(--accent-red);
  border-color: var(--accent-red);
  color: #fff;
  transform: scale(1.1) rotate(90deg);
}

.modal-body {
  padding: 24px;
  overflow-y: auto;
  flex: 1;
}

.drawer-panel {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 420px;
  height: 100vh;
  background: var(--bg-card);
  border-left: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.drawer-overlay.open .drawer-panel {
  transform: translateX(0);
}

.drawer-header {
  padding: 18px 20px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.drawer-body {
  padding: 20px;
  flex: 1;
  overflow-y: auto;
}

.drawer-footer {
  padding: 20px;
  border-top: 1px solid var(--border-color);
  background: var(--bg-surface);
}

/* Category Multi-Select Pills in Form */
.cat-pill-checkbox {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 500;
  transition: all 0.2s ease;
  user-select: none;
}

.cat-pill-checkbox:hover {
  border-color: var(--accent-emerald);
  background: rgba(0, 230, 118, 0.05);
}

.cat-pill-checkbox.selected {
  background: var(--accent-emerald-light);
  border-color: var(--accent-emerald);
  color: var(--accent-emerald);
  box-shadow: 0 0 10px rgba(0, 230, 118, 0.2);
  font-weight: 700;
}

.cat-pill-checkbox input[type="checkbox"] {
  display: none;
}

/* Forms Input Styling */
.form-group {
  margin-bottom: 16px;
}

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

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 10px 14px;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: 0.9rem;
  outline: none;
  transition: border 0.2s ease;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--accent-emerald);
}

/* Payment Option Card Highlighting */
.payment-option-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.2s ease;
}

.payment-option-card.selected {
  border-color: var(--accent-emerald);
  background: var(--accent-emerald-light);
  box-shadow: 0 0 12px rgba(0, 230, 118, 0.2);
}

/* Timeline Component */
.timeline {
  display: flex;
  justify-content: space-between;
  position: relative;
  margin: 30px 0;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 15px;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--border-color);
  z-index: 1;
}

.timeline-progress {
  position: absolute;
  top: 15px;
  left: 0;
  height: 3px;
  background: var(--accent-emerald);
  z-index: 1;
  transition: width 0.4s ease;
}

.timeline-step {
  position: relative;
  z-index: 2;
  text-align: center;
  flex: 1;
}

.step-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg-surface);
  border: 2px solid var(--border-color);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 6px;
  font-size: 0.8rem;
}

.timeline-step.completed .step-circle {
  background: var(--accent-emerald);
  border-color: var(--accent-emerald);
  color: #07090d;
}

.timeline-step.active .step-circle {
  border-color: var(--accent-gold);
  color: var(--accent-gold);
  box-shadow: 0 0 12px rgba(255, 179, 0, 0.5);
}

.step-label {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.timeline-step.completed .step-label,
.timeline-step.active .step-label {
  color: var(--text-primary);
  font-weight: 600;
}

/* Admin Dashboard Table */
.admin-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 16px;
  background: var(--bg-surface);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-color);
}

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

.admin-table th {
  background: #0e121a;
  color: var(--accent-gold);
  font-weight: 700;
}

.admin-table tr:hover {
  background: rgba(255, 255, 255, 0.02);
}

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

.toast {
  background: var(--bg-card);
  border: 1px solid var(--accent-emerald);
  color: var(--text-primary);
  padding: 12px 18px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  animation: slideIn 0.3s ease;
}

@keyframes slideIn {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* Floating WhatsApp Chat Button */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  background: #25d366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.9rem;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5);
  z-index: 99;
  transition: transform 0.25s ease;
}

.whatsapp-float:hover {
  transform: scale(1.1);
}

/* Footer */
footer {
  background: #040508;
  border-top: 1px solid var(--border-color);
  padding: 60px 0 20px;
  margin-top: auto;
}

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

.footer-col h4 {
  font-size: 1rem;
  color: var(--accent-gold);
  margin-bottom: 16px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.footer-links a:hover {
  color: var(--accent-emerald);
}

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ==========================================================================
   UNIVERSAL RESPONSIVE & MOBILE-FRIENDLY SYSTEM (320px - 1440px+)
   ========================================================================== */

/* 1. Global Viewport & Mobile Safeguards */
html, body {
  overflow-x: hidden !important;
  max-width: 100vw !important;
  width: 100%;
}

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

img, video, iframe, svg {
  max-width: 100%;
  height: auto;
}

input, select, textarea, button {
  font-size: 16px; /* Prevents auto-zoom on iOS Safari */
}

/* Table Responsive Container */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 25px;
}
.table-responsive table {
  min-width: 600px;
}

/* Admin Dashboard Helper Classes */
.admin-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 35px;
}

.admin-dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-color);
}

.admin-filter-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

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

/* 2. Responsive Breakpoint: Large Laptops & Desktops (<= 1200px) */
@media (max-width: 1200px) {
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
  .hero-title {
    font-size: 2.2rem;
  }
}

/* 3. Responsive Breakpoint: Tablets & Small Laptops (<= 1024px) */
@media (max-width: 1024px) {
  .admin-stat-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
}

/* 4. Responsive Breakpoint: Tablets (<= 992px) */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .hero-image-card {
    height: 280px;
  }
  .hero-title {
    font-size: 2rem;
  }
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
  .trust-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }
}

/* 5. Responsive Breakpoint: Small Tablets & Large Phones (<= 768px) */
@media (max-width: 768px) {
  .container {
    padding: 0 12px;
  }
  header {
    padding: 8px 0;
  }
  .nav-wrapper {
    height: auto;
    flex-wrap: wrap;
    gap: 8px 10px;
    justify-content: space-between;
  }
  .logo {
    order: 1;
    flex: 0 0 auto;
  }
  .brand-logo-img {
    height: 38px;
    max-width: 150px;
    width: auto;
  }
  .nav-actions {
    order: 2;
    gap: 6px;
    flex: 0 0 auto;
  }
  .icon-btn {
    width: 36px;
    height: 36px;
    font-size: 0.95rem;
  }
  .search-box {
    order: 3;
    width: 100%;
    max-width: 100%;
    flex: 1 1 100%;
    margin-top: 2px;
  }
  .search-input {
    padding: 9px 16px 9px 40px;
    font-size: 0.82rem;
    height: 38px;
  }
  .search-icon {
    left: 14px;
    font-size: 0.85rem;
  }
  .trust-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .filter-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .admin-dashboard-header {
    flex-direction: column;
    gap: 14px;
    align-items: stretch;
  }
  .admin-dashboard-header > div:last-child {
    flex-direction: column;
    gap: 8px;
    width: 100%;
  }
  .admin-dashboard-header button {
    width: 100%;
    justify-content: center;
  }
  .admin-filter-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .admin-filter-bar > div {
    flex-wrap: wrap;
    width: 100%;
  }
  .admin-filter-bar input,
  .admin-filter-bar select {
    width: 100% !important;
  }
  .admin-section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .admin-section-header button {
    width: 100%;
    justify-content: center;
  }
  .modal-content {
    width: 95vw !important;
    max-width: 95vw !important;
    padding: 16px !important;
    max-height: 90vh;
    overflow-y: auto;
    border-radius: var(--radius-md);
  }
  .drawer {
    width: 100vw !important;
    max-width: 100vw !important;
  }
  .toast-container {
    left: 12px;
    right: 12px;
    bottom: 75px;
  }
  .toast {
    width: 100%;
  }
  .whatsapp-float {
    bottom: 18px;
    right: 18px;
    width: 48px;
    height: 48px;
    font-size: 1.6rem;
  }
}

/* 6. Responsive Breakpoint: Standard Mobile Phones (<= 600px) */
@media (max-width: 600px) {
  .hero {
    padding: 12px 0 20px;
  }
  .hero-title {
    font-size: 1.55rem;
    line-height: 1.25;
  }
  .hero-desc {
    font-size: 0.82rem;
    margin-bottom: 16px;
  }
  .hero-image-card {
    height: 220px;
  }
  .hero-buttons {
    flex-direction: column;
    width: 100%;
    gap: 8px;
  }
  .btn-hero-primary, .btn-hero-secondary {
    width: 100%;
    justify-content: center;
    padding: 10px 16px;
    font-size: 0.85rem;
  }
  .filter-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 16px;
  }
  .filter-controls {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
  }
  .filter-select {
    flex: 1;
    width: 100%;
    padding: 6px 10px;
    font-size: 0.8rem;
  }
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
  .product-card {
    padding: 0;
    overflow: hidden;
  }
  .product-img-box {
    height: 160px;
  }
  .product-info {
    padding: 10px 8px;
  }
  .product-badge-overlay {
    top: 6px;
    left: 6px;
    gap: 2px;
  }
  .badge {
    font-size: 0.58rem;
    padding: 2px 5px;
  }
  .wishlist-toggle-btn {
    top: 6px;
    right: 6px;
    width: 30px;
    height: 30px;
    font-size: 0.8rem;
  }
  .product-title {
    font-size: 0.8rem;
    line-height: 1.25;
    height: 2.5em;
    margin-bottom: 4px;
  }
  .rating-stars {
    font-size: 0.72rem;
    margin-bottom: 6px;
  }
  .product-price-row {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 4px;
    margin-bottom: 8px;
  }
  .price-current {
    font-size: 0.95rem;
  }
  .price-original {
    font-size: 0.72rem;
  }
  .product-card-actions {
    display: flex;
    flex-direction: row;
    gap: 4px;
    width: 100%;
  }
  .product-card-actions .btn-secondary,
  .product-card-actions .btn-primary {
    flex: 1;
    width: 50%;
    padding: 6px 2px !important;
    font-size: 0.7rem !important;
    justify-content: center;
    text-align: center;
    white-space: nowrap;
    border-radius: 4px;
    gap: 3px;
  }
  .product-card-actions i {
    font-size: 0.72rem;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
  .admin-login-wrapper {
    padding: 20px 14px;
    margin: 20px auto;
    width: 95vw;
  }
  .admin-dashboard-wrapper {
    padding: 14px 10px;
    margin: 12px auto;
    width: 98vw;
  }
}

/* 7. Responsive Breakpoint: Small Mobile Screens (320px - 414px) */
@media (max-width: 414px) {
  .brand-logo-img {
    max-width: 125px;
    max-height: 34px;
  }
  .icon-btn {
    width: 34px;
    height: 34px;
    font-size: 0.92rem;
  }
  .counter-badge {
    width: 17px;
    height: 17px;
    font-size: 0.65rem;
  }
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
  }
  .product-img-box {
    height: 145px;
  }
  .product-card-actions {
    flex-direction: column;
    gap: 3px;
  }
  .product-card-actions .btn-secondary,
  .product-card-actions .btn-primary {
    width: 100%;
    padding: 5px 2px !important;
    font-size: 0.68rem !important;
  }
  .admin-dashboard-wrapper {
    padding: 10px 8px;
    margin: 8px auto;
  }
}

/* Social Proof Live Order Notification Toast */
.social-proof-toast {
  position: fixed;
  bottom: 24px;
  left: 24px;
  background: rgba(13, 17, 24, 0.95);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(0, 230, 118, 0.35);
  border-radius: 12px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  z-index: 999;
  transform: translateY(120px);
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
  max-width: 340px;
  pointer-events: auto;
}

.social-proof-toast.show {
  transform: translateY(0);
  opacity: 1;
}

.social-proof-img {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.1);
  flex-shrink: 0;
}

.social-proof-body {
  font-size: 0.82rem;
  color: var(--text-primary);
  line-height: 1.35;
}

.social-proof-time {
  font-size: 0.72rem;
  color: var(--accent-emerald);
  font-weight: 600;
  margin-top: 2px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.social-proof-close {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 0.8rem;
  cursor: pointer;
  padding: 2px;
  margin-left: 4px;
}

.social-proof-close:hover {
  color: #fff;
}

/* Fast Dispatch Urgency Banner */
.urgency-badge-box {
  background: linear-gradient(90deg, rgba(255, 179, 0, 0.12) 0%, rgba(0, 230, 118, 0.12) 100%);
  border: 1px solid rgba(255, 179, 0, 0.35);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.86rem;
  color: #ffffff;
}

.urgency-pulse-dot {
  width: 10px;
  height: 10px;
  background: #ffb300;
  border-radius: 50%;
  box-shadow: 0 0 10px #ffb300;
  animation: pulseGold 1.5s infinite;
  flex-shrink: 0;
}

@keyframes pulseGold {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 179, 0, 0.7); }
  70% { transform: scale(1.15); box-shadow: 0 0 0 8px rgba(255, 179, 0, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 179, 0, 0); }
}

@media (max-width: 768px) {
  .social-proof-toast {
    left: 12px;
    right: 12px;
    bottom: 80px;
    max-width: calc(100% - 24px);
  }
}
