/* Custom Premium Styling for Demo2.Webtis Minimalist E-Commerce Store */

/* Theme Configuration & Root Variables */
:root {
  /* Common System Values */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  --max-width: 1280px;

  /* HSL Tailored Dark Theme Variables (Default) */
  --bg-primary: #0a0a0c;
  --bg-secondary: #121216;
  --bg-tertiary: #191921;
  --text-primary: #f3f4f6;
  --text-secondary: #a1a1aa;
  --text-muted: #52525b;
  --accent: #818cf8;
  --accent-rgb: 129, 140, 248;
  --accent-hover: #6366f1;
  --border-color: rgba(255, 255, 255, 0.06);
  --border-color-hover: rgba(255, 255, 255, 0.15);
  
  /* Glassmorphism settings */
  --glass-bg: rgba(10, 10, 12, 0.7);
  --glass-border: rgba(255, 255, 255, 0.04);
  --glass-shadow: rgba(0, 0, 0, 0.5);
  --card-bg: rgba(18, 18, 22, 0.65);
  
  /* Status Colors */
  --success: #34d399;
  --error: #f87171;
  --warning: #fbbf24;
}

[data-theme="light"] {
  /* HSL Tailored Light Theme Variables */
  --bg-primary: #ffffff;
  --bg-secondary: #f4f4f5;
  --bg-tertiary: #e4e4e7;
  --text-primary: #09090b;
  --text-secondary: #52525b;
  --text-muted: #a1a1aa;
  --accent: #4f46e5;
  --accent-rgb: 79, 70, 229;
  --accent-hover: #3730a3;
  --border-color: rgba(0, 0, 0, 0.06);
  --border-color-hover: rgba(0, 0, 0, 0.15);
  
  /* Glassmorphism settings */
  --glass-bg: rgba(255, 255, 255, 0.75);
  --glass-border: rgba(0, 0, 0, 0.04);
  --glass-shadow: rgba(0, 0, 0, 0.05);
  --card-bg: rgba(244, 244, 245, 0.65);
}

/* Base Styles & Resets */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background-color var(--transition-smooth), color var(--transition-smooth);
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

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

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: none;
  border: none;
}

button {
  cursor: pointer;
}

/* Utility Containers */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Announcement Bar */
.announcement-bar {
  background-color: var(--text-primary);
  color: var(--bg-primary);
  text-align: center;
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 8px 24px;
  transition: background-color var(--transition-smooth), color var(--transition-smooth);
}

/* Header & Nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--border-color);
  background-color: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: border-color var(--transition-smooth), background-color var(--transition-smooth);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 72px;
}

.brand-logo {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.25em;
  color: var(--text-primary);
}

.main-nav ul {
  display: flex;
  gap: 36px;
  list-style: none;
}

.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  padding: 8px 0;
}

.nav-link:hover, .nav-link.active {
  color: var(--text-primary);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--text-primary);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--transition-fast);
}

.nav-link:hover::after, .nav-link.active::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.action-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  position: relative;
  transition: border-color var(--transition-fast), background-color var(--transition-fast);
}

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

.action-btn .material-symbols-outlined {
  font-size: 20px;
  font-variation-settings: 'wght' 300;
}

.action-btn .badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background-color: var(--accent);
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 10px;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  border: 2px solid var(--bg-primary);
}

/* Search Bar Wrapper */
.search-wrapper {
  display: flex;
  align-items: center;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-color);
  padding: 0 6px 0 16px;
  background-color: var(--bg-secondary);
  max-width: 240px;
  transition: border-color var(--transition-fast), width var(--transition-smooth);
}

.search-wrapper:focus-within {
  border-color: var(--accent);
}

.search-wrapper input {
  width: 140px;
  font-size: 13px;
  color: var(--text-primary);
}

.search-wrapper input::placeholder {
  color: var(--text-muted);
}

.search-wrapper .action-btn {
  border: none;
  background: none;
  width: 32px;
  height: 32px;
}

.search-wrapper .action-btn:hover {
  background: none;
}

.mobile-menu-toggle {
  display: none;
}

/* Mobile Nav Menu Drawer */
.mobile-nav-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: var(--bg-primary);
  z-index: 200;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 32px;
  transform: translateY(-100%);
  transition: transform var(--transition-smooth);
}

.mobile-nav-menu.open {
  transform: translateY(0);
}

.close-mobile-nav {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
}

.close-mobile-nav span {
  font-size: 28px;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.mobile-nav-link {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
}

.mobile-nav-link.active, .mobile-nav-link:hover {
  color: var(--text-primary);
}

/* Hero Section */
.hero-section {
  position: relative;
  height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--border-color);
}

.hero-slides {
  position: relative;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease, visibility 0.8s ease;
  z-index: 1;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

.hero-slide-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0.45;
  z-index: 1;
  transition: transform 6s ease;
}

/* Zoom background pan effect on active slide */
.hero-slide.active .hero-slide-bg {
  transform: scale(1.05);
}

/* Custom background sizing for product slides to align them on the right */
.hero-slide:nth-child(2) .hero-slide-bg,
.hero-slide:nth-child(3) .hero-slide-bg {
  background-size: contain;
  background-repeat: no-repeat;
  background-position: right 15% center;
  opacity: 0.55;
}

.hero-slide::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 60% 50%, transparent, var(--bg-primary) 75%);
  z-index: 2;
  pointer-events: none;
  transition: background var(--transition-smooth);
}

.hero-container {
  position: relative;
  z-index: 3;
  width: 100%;
}

.hero-content {
  max-width: 580px;
}

.hero-tagline {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 56px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}

.hero-description {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 36px;
  font-weight: 300;
}

.hero-cta-group {
  display: flex;
  gap: 16px;
}

/* Text animations inside active slide */
.hero-slide.active .hero-tagline {
  animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: 0.1s;
}

.hero-slide.active .hero-title {
  animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: 0.2s;
}

.hero-slide.active .hero-description {
  animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: 0.3s;
}

.hero-slide.active .hero-cta-group {
  animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: 0.4s;
}

/* Reset states before animation */
.hero-slide .hero-tagline,
.hero-slide .hero-title,
.hero-slide .hero-description,
.hero-slide .hero-cta-group {
  opacity: 0;
  transform: translateY(20px);
}

/* Slider Controls (Arrows & Indicators) */
.hero-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%) scale(0.9);
  width: 54px;
  height: 54px;
  border-radius: var(--radius-full);
  background: rgba(10, 10, 12, 0.3);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-fast), background-color var(--transition-fast), border-color var(--transition-fast), transform var(--transition-fast);
}

.hero-nav-btn.prev {
  left: 32px;
}

.hero-nav-btn.next {
  right: 32px;
}

.hero-section:hover .hero-nav-btn {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(-50%) scale(1);
}

.hero-nav-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.25);
}

.hero-nav-btn:active {
  transform: translateY(-50%) scale(0.95);
}

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

.hero-indicator {
  width: 24px;
  height: 3px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  cursor: pointer;
  transition: background-color var(--transition-fast), width var(--transition-fast);
}

.hero-indicator.active {
  background: var(--accent);
  width: 40px;
}

/* Responsive adjusters for keyboard/watch background */
@media (max-width: 900px) {
  .hero-slide:nth-child(2) .hero-slide-bg,
  .hero-slide:nth-child(3) .hero-slide-bg {
    background-position: center bottom 20px;
    background-size: 60%;
    opacity: 0.3;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: background-color var(--transition-fast), border-color var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
}

.btn-block {
  display: flex;
  width: 100%;
}

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

.btn-primary:hover {
  background-color: var(--accent);
  color: #ffffff;
  box-shadow: 0 8px 24px var(--accent-glow);
  transform: translateY(-2px);
}

.btn-secondary {
  border: 1px solid var(--border-color);
  color: var(--text-primary);
}

.btn-secondary:hover {
  border-color: var(--text-primary);
  background-color: var(--bg-secondary);
  transform: translateY(-2px);
}

.btn-icon-secondary {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color var(--transition-fast), background-color var(--transition-fast);
}

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

.btn-icon-secondary.active {
  background-color: rgba(248, 113, 113, 0.1);
  border-color: var(--error);
  color: var(--error);
}

.btn-center {
  margin: 0 auto;
}

/* Value Props */
.val-props {
  padding: 80px 0;
  border-bottom: 1px solid var(--border-color);
}

.val-props-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.val-prop-card {
  text-align: center;
  padding: 24px;
}

.prop-icon {
  font-size: 36px;
  font-variation-settings: 'wght' 200;
  color: var(--accent);
  margin-bottom: 20px;
}

.val-prop-card h3 {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
}

.val-prop-card p {
  font-size: 14px;
  color: var(--text-secondary);
  font-weight: 300;
}

/* Catalog Section */
.catalog-section {
  padding: 80px 0;
}

.catalog-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 48px;
}

.catalog-intro h2 {
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}

.catalog-intro p {
  font-size: 14px;
  color: var(--text-muted);
}

.catalog-controls {
  display: flex;
  gap: 24px;
  align-items: center;
}

/* Filter Tabs */
.filter-tabs {
  display: flex;
  background-color: var(--bg-secondary);
  padding: 4px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
}

.filter-tab-btn {
  padding: 8px 18px;
  font-size: 13px;
  font-weight: 600;
  border-radius: calc(var(--radius-md) - 2px);
  color: var(--text-secondary);
  transition: color var(--transition-fast), background-color var(--transition-fast);
}

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

.filter-tab-btn.active {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Sort dropdown */
.sort-wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  padding: 8px 16px;
  border-radius: var(--radius-md);
  height: 42px;
}

.sort-icon {
  font-size: 18px;
  color: var(--text-secondary);
}

.sort-wrapper select {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  background: transparent;
  outline: none;
  cursor: pointer;
  padding-right: 8px;
}

/* Products Grid & Cards */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 32px;
}

.product-card {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  transition: border-color var(--transition-smooth), transform var(--transition-smooth), box-shadow var(--transition-smooth);
}

/* ============================================
   PRODUCT CARD FOOTER — LAYOUT FIX
   Price left mein, heart + Add to Cart right mein
   ek hi row mein side-by-side dikhega
   ============================================ */

.product-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
}

.product-card-footer .product-price {
  font-size: 16px;
  font-weight: 700;
  margin: 0;
  white-space: nowrap;
}

.product-card-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

/* Heart (wishlist) button */
.wishlist-card-btn {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-color);
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  cursor: pointer;
  transition: color var(--transition-fast), border-color var(--transition-fast), background-color var(--transition-fast);
  flex-shrink: 0;
}

.wishlist-card-btn:hover {
  border-color: var(--error);
  color: var(--error);
  background-color: rgba(248, 113, 113, 0.08);
}

.wishlist-card-btn.active {
  color: var(--error);
  border-color: var(--error);
  background-color: rgba(248, 113, 113, 0.08);
}

.wishlist-card-btn .material-symbols-outlined {
  font-size: 18px;
}

/* Add to Cart button */
.add-to-cart-btn {
  padding: 8px 16px;
  font-size: 12px;
  font-weight: 600;
  border-radius: var(--radius-md);
  background-color: var(--text-primary);
  color: var(--bg-primary);
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color var(--transition-fast), transform var(--transition-fast);
}

.add-to-cart-btn:hover {
  background-color: var(--accent);
  color: #ffffff;
  transform: translateY(-1px);
}
.product-card:hover {
  border-color: var(--border-color-hover);
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.2);
}

.product-image-wrapper {
  position: relative;
  height: 320px;
  background-color: var(--bg-secondary);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.product-card:hover .product-image-wrapper img {
  transform: scale(1.05);
}

.product-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background-color: var(--text-primary);
  color: var(--bg-primary);
  font-family: var(--font-heading);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  z-index: 10;
}

.wishlist-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background-color: var(--glass-bg);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  z-index: 10;
  transition: background-color var(--transition-fast), color var(--transition-fast), transform var(--transition-fast);
}

.wishlist-btn:hover {
  transform: scale(1.1);
  background-color: var(--bg-primary);
}

.wishlist-btn.active {
  color: var(--error);
  font-variation-settings: 'FILL' 1;
}

/* Card Actions Overlay */
.card-actions-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 20px;
  background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
  display: flex;
  gap: 12px;
  transform: translateY(100%);
  transition: transform var(--transition-smooth);
}

.product-card:hover .card-actions-overlay {
  transform: translateY(0);
}

.btn-card {
  padding: 10px 16px;
  font-size: 12px;
  border-radius: var(--radius-md);
  font-weight: 600;
  flex: 1;
}

/* Product Card Body */
.product-card-body {
  padding: 24px;
}

.product-category {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.product-title {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}

.product-price {
  font-size: 16px;
  font-weight: 700;
}

/* Drawers General Styles (Cart & Wishlist) */
.drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  transition: opacity var(--transition-smooth);
}

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

.drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 440px;
  height: 100%;
  background-color: var(--glass-bg);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-left: 1px solid var(--glass-border);
  z-index: 1001;
  display: flex;
  flex-direction: column;
  box-shadow: -10px 0 40px var(--glass-shadow);
  transform: translateX(100%);
  transition: transform var(--transition-smooth);
}

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

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

.drawer-header h2 {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
}

.close-drawer-btn {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  transition: border-color var(--transition-fast), background-color var(--transition-fast);
}

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

.drawer-content {
  flex: 1;
  overflow-y: auto;
  padding: 24px;
}

.drawer-footer {
  padding: 24px;
  border-top: 1px solid var(--border-color);
  background-color: rgba(0, 0, 0, 0.1);
}

/* Cart Items inside Drawer */
.cart-item {
  display: flex;
  gap: 16px;
  padding-bottom: 20px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border-color);
}

.cart-item-image {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-md);
  background-color: var(--bg-secondary);
  overflow: hidden;
}

.cart-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-item-details {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.cart-item-title {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 4px;
}

.cart-item-price {
  font-size: 14px;
  font-weight: 700;
  color: var(--accent);
}

.cart-item-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 8px;
}

/* Quantity Adjuster */
.quantity-adjuster {
  display: flex;
  align-items: center;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  background-color: var(--bg-secondary);
  overflow: hidden;
}

.qty-btn {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  transition: background-color var(--transition-fast);
}

.qty-btn:hover {
  background-color: var(--bg-tertiary);
}

.qty-val {
  width: 32px;
  text-align: center;
  font-size: 12px;
  font-weight: 700;
}

/* Delete Item Button */
.delete-item-btn {
  color: var(--text-muted);
  transition: color var(--transition-fast);
}

.delete-item-btn:hover {
  color: var(--error);
}

/* Cart Footer Price Summary */
.summary-line {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.free-badge {
  color: var(--success);
  font-weight: 700;
}

.total-line {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  margin-top: 8px;
  padding-top: 12px;
  border-top: 1px dashed var(--border-color);
  margin-bottom: 24px;
}

/* Empty States */
.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  height: 100%;
  color: var(--text-muted);
}

.empty-state-icon {
  font-size: 48px;
  margin-bottom: 16px;
  font-variation-settings: 'wght' 100;
}

.empty-state h3 {
  font-family: var(--font-heading);
  font-size: 18px;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.empty-state p {
  font-size: 13px;
  max-width: 240px;
}

/* Modals General Styles (Quick View & Checkout) */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  transition: opacity var(--transition-smooth);
}

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

.modal-card {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 900px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
  transform: scale(0.9);
  transition: transform var(--transition-smooth);
}

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

.close-modal-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  z-index: 50;
  background-color: var(--bg-primary);
  transition: border-color var(--transition-fast), background-color var(--transition-fast);
}

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

/* Quick View Layout */
.quick-view-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  min-height: 500px;
}

.quick-view-image-container {
  background-color: var(--bg-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.quick-view-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.quick-view-details {
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.product-category-tag {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--accent);
  letter-spacing: 0.15em;
  margin-bottom: 12px;
}

.qv-title {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 12px;
}

.qv-price {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 24px;
}

.qv-description {
  font-size: 14px;
  color: var(--text-secondary);
  font-weight: 300;
  margin-bottom: 28px;
}

.qv-specs {
  margin-bottom: 36px;
}

.qv-specs h4 {
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.qv-specs-list {
  list-style: none;
}

.qv-specs li {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 6px;
  position: relative;
  padding-left: 16px;
}

.qv-specs li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 4px;
  height: 4px;
  border-radius: var(--radius-full);
  background-color: var(--accent);
}

.qv-action-group {
  display: flex;
  gap: 16px;
}

.qv-action-group .btn-primary {
  flex: 1;
}

/* Checkout Wizard Modal Specifics */
.checkout-modal-card {
  max-width: 600px;
}

.checkout-header {
  padding: 32px 32px 20px 32px;
  border-bottom: 1px solid var(--border-color);
}

.checkout-header h2 {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 20px;
}

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

.step-indicator {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-muted);
}

.step-indicator.active {
  color: var(--text-primary);
}

.step-indicator.completed {
  color: var(--success);
}

.step-num {
  width: 24px;
  height: 24px;
  border-radius: var(--radius-full);
  background-color: var(--bg-tertiary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 700;
  border: 1px solid var(--border-color);
}

.step-indicator.active .step-num {
  background-color: var(--accent);
  color: #ffffff;
  border-color: var(--accent);
}

.step-indicator.completed .step-num {
  background-color: var(--success);
  color: var(--bg-primary);
  border-color: var(--success);
}

.step-name {
  font-size: 13px;
  font-weight: 600;
}

.step-line {
  flex: 1;
  height: 1px;
  background-color: var(--border-color);
  margin: 0 16px;
}

.step-indicator.completed + .step-line {
  background-color: var(--success);
}

/* Forms */
.checkout-wizard-content {
  padding: 32px;
  position: relative;
  min-height: 380px;
}

.checkout-step-pane {
  display: none;
}

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

.form-group {
  margin-bottom: 20px;
  position: relative;
}

.form-group label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
  color: var(--text-secondary);
}

.form-group input, .form-group select {
  width: 100%;
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  font-size: 14px;
  color: var(--text-primary);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-group input:focus, .form-group select:focus {
  border-color: var(--accent);
  outline: none;
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-row-3 {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 16px;
}

/* Input Validation Errors */
.form-group.invalid input {
  border-color: var(--error);
}

.error-msg {
  display: none;
  font-size: 11px;
  color: var(--error);
  margin-top: 6px;
}

.form-group.invalid .error-msg {
  display: block;
}

/* Input Icon Wrappers */
.input-icon-wrapper {
  position: relative;
}

.input-icon-wrapper input {
  padding-left: 48px;
}

.input-icon-wrapper .input-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 20px;
}

/* Order Summary Box inside Payment Page */
.order-summary-box {
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 24px;
  margin-top: 10px;
}

.order-summary-box h4 {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 8px;
}

/* Button Layout Checkout */
.checkout-footer-buttons {
  display: flex;
  justify-content: flex-end;
  gap: 16px;
  margin-top: 32px;
}

.checkout-footer-buttons .btn {
  padding: 12px 24px;
}

/* Spinner Overlay for Loading Checkout */
.processing-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--bg-secondary);
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.processing-overlay.active {
  display: flex;
}

.spinner-container {
  text-align: center;
}

.loading-ring {
  width: 48px;
  height: 48px;
  border: 3px solid var(--border-color);
  border-top: 3px solid var(--accent);
  border-radius: var(--radius-full);
  animation: spin 1s linear infinite;
  margin: 0 auto 20px auto;
}

.spinner-container p {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 600;
}

/* Success Confirmation Screen */
.success-pane {
  text-align: center;
  padding: 20px 0;
}

.success-illustration {
  margin-bottom: 24px;
  display: flex;
  justify-content: center;
}

.success-ring {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-full);
  background-color: rgba(52, 211, 153, 0.1);
  border: 1px solid var(--success);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--success);
}

.check-icon {
  font-size: 36px;
  font-weight: 700;
}

.success-pane h3 {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 12px;
}

.success-message {
  font-size: 15px;
  color: var(--text-secondary);
  max-width: 420px;
  margin: 0 auto 24px auto;
}

.order-info-details {
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 16px;
  max-width: 400px;
  margin: 0 auto 32px auto;
  font-size: 13px;
  color: var(--text-secondary);
}

.order-info-details p {
  margin-bottom: 8px;
}

.order-info-details p:last-child {
  margin-bottom: 0;
}

/* Toast Notifications */
.toast-notification {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
  z-index: 9999;
  transform: translateY(120%);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.toast-notification.active {
  transform: translateY(0);
}

.toast-icon {
  color: var(--success);
  font-size: 20px;
}

/* Footer Styling */
.site-footer {
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  padding: 80px 0 32px 0;
  transition: background-color var(--transition-smooth), border-top var(--transition-smooth);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  gap: 48px;
  margin-bottom: 64px;
}

.footer-brand-column .footer-logo {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.25em;
  margin-bottom: 20px;
  display: block;
}

.footer-brand-column p {
  font-size: 13px;
  color: var(--text-secondary);
  max-width: 260px;
  font-weight: 300;
}

.footer-links-column h4, .footer-newsletter-column h4 {
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
}

.footer-links-column ul {
  list-style: none;
}

.footer-links-column li {
  margin-bottom: 12px;
}

.footer-links-column a {
  font-size: 13px;
  color: var(--text-secondary);
}

.footer-links-column a:hover {
  color: var(--text-primary);
}

.footer-newsletter-column p {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 20px;
  font-weight: 300;
  max-width: 280px;
}

.newsletter-form {
  display: flex;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 8px;
}

.newsletter-form input {
  flex: 1;
  font-size: 13px;
  padding: 4px 0;
  color: var(--text-primary);
}

.newsletter-form input::placeholder {
  color: var(--text-muted);
}

.newsletter-form button {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: color var(--transition-fast), transform var(--transition-fast);
}

.newsletter-form button:hover {
  color: var(--text-primary);
  transform: translateX(4px);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  border-top: 1px solid var(--border-color);
  font-size: 12px;
  color: var(--text-muted);
}

.footer-socials {
  display: flex;
  gap: 16px;
}

.footer-socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  width: 32px;
  height: 32px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-color);
  transition: color var(--transition-fast), border-color var(--transition-fast);
}

.footer-socials a:hover {
  color: var(--text-primary);
  border-color: var(--border-color-hover);
}

.footer-socials span {
  font-size: 16px;
}

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

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Custom Scrollbars */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background-color: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
  background-color: var(--border-color-hover);
  border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
  background-color: var(--text-muted);
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }
}

@media (max-width: 768px) {
  /* Navigation */
  .main-nav {
    display: none;
  }
  
  .mobile-menu-toggle {
    display: flex;
  }
  
  /* Hero */
  .hero-section {
    height: auto;
    padding: 80px 0;
  }
  
  .hero-title {
    font-size: 40px;
  }
  
  /* Value Props */
  .val-props-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  /* Catalog */
  .catalog-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  
  .catalog-controls {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }
  
  .filter-tabs {
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
  }
  
  .sort-wrapper {
    width: 100%;
    justify-content: space-between;
  }
  
  /* Quick view modal */
  .quick-view-grid {
    grid-template-columns: 1fr;
  }
  
  .quick-view-details {
    padding: 32px;
  }
  
  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 32px;
  }
  
  .hero-cta-group {
    flex-direction: column;
  }
  
  .hero-cta-group .btn {
    width: 100%;
  }
  
  .form-row-2, .form-row-3 {
    grid-template-columns: 1fr;
  }
  
  .checkout-footer-buttons {
    flex-direction: column-reverse;
  }
  
  .checkout-footer-buttons .btn {
    width: 100%;
  }
}

/* ADVANCED USER AUTH, ADMIN PANEL, TRACKING & INVOICE CUSTOM STYLES */

.user-greeting {
  font-size: 11px;
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-left: -4px;
  max-width: 90px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  cursor: default;
}

@media (max-width: 900px) {
  .user-greeting {
    display: none;
  }
}

/* Authentication Modal & Tab System */
.auth-modal-card {
  max-width: 440px;
}

.auth-tabs {
  display: flex;
  background-color: var(--bg-primary);
  border-bottom: 1px solid var(--border-color);
}

.auth-tab-btn {
  flex: 1;
  text-align: center;
  padding: 18px 0;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-secondary);
  border-bottom: 2px solid transparent;
  transition: color var(--transition-fast), border-color var(--transition-fast);
}

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

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

.auth-content {
  padding: 32px;
}

.auth-form-pane {
  display: none;
}

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

.auth-desc {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 24px;
  font-weight: 300;
}

.demo-credentials-hint {
  font-size: 11px;
  color: var(--text-muted);
  background-color: var(--bg-primary);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
  border: 1px solid var(--border-color);
  font-family: var(--font-body);
}

.demo-credentials-hint code {
  color: var(--accent);
}

/* Dashboard Views (My Account / Admin Console) */
.dashboard-section {
  padding: 80px 0;
  min-height: calc(100vh - 172px);
  background-color: var(--bg-primary);
}

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

.section-heading {
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: 1fr 2.8fr;
  gap: 32px;
  align-items: start;
}

.profile-card {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px;
  text-align: center;
}

.profile-avatar {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-full);
  background-color: var(--bg-tertiary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px auto;
  border: 1px solid var(--border-color);
}

.profile-avatar span {
  font-size: 36px;
  color: var(--text-secondary);
}

.profile-card h3 {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 4px;
}

.profile-card p {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 16px;
  font-weight: 300;
}

.role-badge {
  display: inline-block;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  background-color: var(--accent-glow);
  color: var(--accent);
  border: 1px solid rgba(129, 140, 248, 0.2);
}

.profile-stat-box {
  display: flex;
  justify-content: space-around;
}

.stat-num {
  display: block;
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 800;
  color: var(--text-primary);
}

.stat-label {
  font-size: 10px;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 600;
}

/* Orders Dashboard Card */
.orders-card {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px;
}

.orders-card h3 {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 24px;
}

.order-list-table-wrapper {
  overflow-x: auto;
}

.dashboard-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 13px;
}

.dashboard-table th {
  font-family: var(--font-heading);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 10px;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  padding: 16px;
  border-bottom: 1px solid var(--border-color);
}

.dashboard-table td {
  padding: 16px;
  border-bottom: 1px solid var(--border-color);
  vertical-align: middle;
}

.dashboard-table tbody tr:last-child td {
  border-bottom: none;
}

/* Status Badges */
.status-badge {
  display: inline-flex;
  align-items: center;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
}

.status-badge.pending {
  background-color: rgba(251, 191, 36, 0.1);
  color: var(--warning);
  border: 1px solid rgba(251, 191, 36, 0.2);
}

.status-badge.processing {
  background-color: rgba(96, 165, 250, 0.1);
  color: #60a5fa;
  border: 1px solid rgba(96, 165, 250, 0.2);
}

.status-badge.shipped {
  background-color: rgba(129, 140, 248, 0.1);
  color: var(--accent);
  border: 1px solid rgba(129, 140, 248, 0.2);
}

.status-badge.delivered {
  background-color: rgba(52, 211, 153, 0.1);
  color: var(--success);
  border: 1px solid rgba(52, 211, 153, 0.2);
}

.status-badge.rejected {
  background-color: rgba(248, 113, 113, 0.1);
  color: var(--error);
  border: 1px solid rgba(248, 113, 113, 0.2);
}

/* Admin Dashboard Elements */
.admin-analytics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.analytic-card {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.analytic-icon {
  font-size: 32px;
  font-variation-settings: 'wght' 200;
}

.analytic-card h3 {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 800;
  margin-top: 4px;
}

.status-selector {
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 6px 12px;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-primary);
  outline: none;
  cursor: pointer;
  transition: border-color var(--transition-fast);
}

.status-selector:focus {
  border-color: var(--accent);
}

/* Vertical Stepper Timeline (Tracking Order) */
.tracking-modal-content {
  padding: 24px 32px;
}

.stepper-vertical {
  display: flex;
  flex-direction: column;
  gap: 28px;
  position: relative;
  padding-left: 8px;
}

.stepper-vertical::before {
  content: '';
  position: absolute;
  left: 20px;
  top: 10px;
  bottom: 10px;
  width: 2px;
  background-color: var(--border-color);
  z-index: 1;
}

.stepper-step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  position: relative;
  z-index: 2;
}

.stepper-icon {
  width: 26px;
  height: 26px;
  border-radius: var(--radius-full);
  background-color: var(--bg-tertiary);
  border: 2px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: background-color var(--transition-smooth), border-color var(--transition-smooth), color var(--transition-smooth);
}

.stepper-icon span {
  font-size: 13px;
  font-weight: 700;
}

.stepper-step.completed .stepper-icon {
  background-color: var(--success);
  border-color: var(--success);
  color: var(--bg-primary);
}

.stepper-step.active .stepper-icon {
  background-color: var(--accent);
  border-color: var(--accent);
  color: #ffffff;
  box-shadow: 0 0 0 4px var(--accent-glow);
}

.stepper-content h4 {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 2px;
}

.stepper-content p {
  font-size: 12px;
  color: var(--text-secondary);
  font-weight: 300;
}

.stepper-content .step-time {
  display: block;
  font-size: 10px;
  color: var(--text-muted);
  margin-top: 4px;
}

.shipping-details-summary {
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-top: 24px;
}

.shipping-details-summary h4 {
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 8px;
  color: var(--text-primary);
  letter-spacing: 0.05em;
}

.shipping-details-summary p {
  font-size: 12px;
  color: var(--text-secondary);
  font-weight: 300;
}

/* Hidden HTML printable Invoice container */
.invoice-print-container {
  display: none;
  background-color: #ffffff;
  color: #000000;
  padding: 40px;
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 1.5;
}

.invoice-brand-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.invoice-brand-row h2 {
  font-family: var(--font-heading);
  font-weight: 800;
  letter-spacing: 0.15em;
}

.invoice-meta-col {
  text-align: right;
}

.invoice-meta-col h3 {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.invoice-meta-col p {
  margin-bottom: 4px;
  color: #374151;
}

.invoice-divider {
  border: none;
  border-top: 1px solid #e5e7eb;
  margin: 24px 0;
}

.invoice-addresses {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-bottom: 32px;
}

.invoice-addresses h4 {
  font-family: var(--font-heading);
  text-transform: uppercase;
  font-size: 10px;
  color: #6b7280;
  margin-bottom: 8px;
}

.invoice-addresses p {
  color: #1f2937;
  margin-bottom: 2px;
}

.invoice-items-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 32px;
}

.invoice-items-table th {
  font-family: var(--font-heading);
  text-transform: uppercase;
  font-size: 10px;
  color: #6b7280;
  padding: 10px;
  border-bottom: 2px solid #e5e7eb;
}

.invoice-items-table td {
  padding: 12px 10px;
  border-bottom: 1px solid #e5e7eb;
  color: #1f2937;
}

.invoice-totals {
  width: 240px;
  margin-left: auto;
  margin-bottom: 32px;
}

.invoice-totals-row {
  display: flex;
  justify-content: space-between;
  padding: 4px 0;
  color: #374151;
}

.invoice-totals-row.grand-total {
  font-size: 15px;
  font-weight: 700;
  color: #000000;
}

.invoice-footer-message {
  text-align: center;
  color: #9ca3af;
  font-size: 11px;
  margin-top: 60px;
  border-top: 1px solid #e5e7eb;
  padding-top: 16px;
}

/* PRINT MEDIA OVERRIDES */
@media print {
  body * {
    visibility: hidden !important;
  }
  
  .invoice-print-container, .invoice-print-container * {
    visibility: visible !important;
  }
  
  .invoice-print-container {
    display: block !important;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    box-shadow: none !important;
    padding: 0 !important;
    background-color: #ffffff !important;
    color: #000000 !important;
  }
}

@media (max-width: 768px) {
  .dashboard-grid {
    grid-template-columns: 1fr;
  }
}



/* ============================================================
   INFO PAGE OVERLAY (Warranty / Shipping / Contact)
   ============================================================ */

.info-page-overlay {
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
}
.info-page-overlay.open {
  opacity: 1;
  pointer-events: all;
}
.info-page-panel {
  background: var(--bg-secondary);
  width: 100%;
  max-width: 860px;
  min-height: 100vh;
  padding: 0 0 80px;
  transform: translateY(40px);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
@media (min-width: 700px) {
  .info-page-panel {
    min-height: auto;
    margin: 40px auto;
    border-radius: 24px;
    padding-bottom: 60px;
  }
}
.info-page-overlay.open .info-page-panel {
  transform: translateY(0);
}
.info-page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 32px;
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  background: var(--bg-secondary);
  z-index: 10;
  border-radius: 24px 24px 0 0;
}
.info-page-brand {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--accent);
}
.info-page-close {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.info-page-close:hover {
  background: var(--accent);
  color: #fff;
  transform: rotate(90deg);
}
.info-page-body {
  padding: 48px 32px 0;
}
.info-hero {
  text-align: center;
  margin-bottom: 48px;
}
.info-hero-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(129,140,248,0.12);
  margin-bottom: 18px;
}
.info-hero-icon .material-symbols-outlined {
  font-size: 36px;
  color: var(--accent);
}
.info-hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
  line-height: 1.2;
}
.info-hero p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.7;
}
.info-section {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 28px;
  margin-bottom: 20px;
}
.info-section-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}
.info-section-title .material-symbols-outlined {
  font-size: 22px;
  color: var(--accent);
}
.info-section-title h2 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0;
}
.info-section p, .info-section li {
  color: var(--text-secondary);
  font-size: 0.93rem;
  line-height: 1.75;
  margin-bottom: 8px;
}
.info-section ul {
  padding-left: 20px;
  margin: 0;
}
.info-section strong {
  color: var(--text-primary);
  font-weight: 500;
}
.info-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 16px;
}
@media (max-width: 600px) {
  .info-grid-2 { grid-template-columns: 1fr; }
  .info-page-body { padding: 28px 18px 0; }
  .info-page-header { padding: 18px 20px; }
}
.info-mini-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 18px 16px;
  text-align: center;
}
.info-mini-card .material-symbols-outlined {
  font-size: 28px;
  color: var(--accent);
  margin-bottom: 8px;
  display: block;
}
.info-mini-card h4 {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
}
.info-mini-card p {
  font-size: 0.82rem;
  color: var(--text-secondary);
  margin: 0 !important;
}
.info-highlight-box {
  background: rgba(129,140,248,0.08);
  border: 1px solid rgba(129,140,248,0.22);
  border-radius: 12px;
  padding: 20px 24px;
  margin-top: 16px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.info-highlight-box .material-symbols-outlined {
  font-size: 28px;
  color: var(--accent);
  flex-shrink: 0;
}
.info-highlight-box p {
  margin: 0 !important;
  color: var(--text-secondary);
  font-size: 0.92rem;
}
.info-highlight-box a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
}
.info-highlight-box a:hover { text-decoration: underline; }
.info-chip {
  display: inline-block;
  background: rgba(129,140,248,0.12);
  color: var(--accent);
  border-radius: 9999px;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 3px 12px;
  margin: 3px 4px 3px 0;
}
[data-theme="light"] .info-page-panel,
[data-theme="light"] .info-page-header { background: #ffffff; }
[data-theme="light"] .info-section { background: #f8f8fa; }
[data-theme="light"] .info-mini-card { background: #ffffff; }
/* =====================================================
   DEMO2.WEBTIS CSS PATCH — Missing variables + card fixes
   ===================================================== */

/* FIX 1: accent-glow variable jo missing tha dono themes mein */
:root {
  --accent-glow: rgba(129, 140, 248, 0.15);
}

[data-theme="light"] {
  --accent-glow: rgba(79, 70, 229, 0.12);
}

/* FIX 2: role-badge ka background-color accent-glow use karta tha — ab defined hai */
.role-badge {
  background-color: var(--accent-glow);
}

/* FIX 3: product-card mein card-actions-overlay remove ki jaroorat hai
   kyunki woh hover pe pura card cover kar deta tha aur buttons block ho jaate the.
   Overlay completely disabled. */
.card-actions-overlay {
  display: none !important;
}

/* FIX 4: product-card-footer layout ensure karo */
.product-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
}

.product-card-footer .product-price {
  font-size: 16px;
  font-weight: 700;
  margin: 0;
  white-space: nowrap;
  flex-shrink: 0;
}

.product-card-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

/* FIX 5: wishlist-card-btn filled icon on active */
.wishlist-card-btn.active .material-symbols-outlined {
  font-variation-settings: 'FILL' 1;
  color: var(--error);
}

/* FIX 6: qv-specs ul list style */
#qv-specs-list {
  list-style: none;
  padding: 0;
}

#qv-specs-list li {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 6px;
  position: relative;
  padding-left: 16px;
}

#qv-specs-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 4px;
  height: 4px;
  border-radius: 9999px;
  background-color: var(--accent);
}

/* FIX 7: form-group input focus glow — accent-glow ab defined hai */
.form-group input:focus,
.form-group select:focus {
  box-shadow: 0 0 0 3px var(--accent-glow);
}

/* FIX 8: status-badge capitalize properly */
.status-badge {
  text-transform: capitalize;
}

/* FIX 9: Quick View wishlist button active filled heart */
.btn-icon-secondary.active .material-symbols-outlined {
  font-variation-settings: 'FILL' 1;
  color: var(--error);
}

/* ============================================================
   PRODUCT DETAILS VIEW STYLING
   ============================================================ */
.product-details-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 64px;
  margin-top: 32px;
  align-items: start;
}

.pd-main-image-wrapper {
  position: relative;
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1 / 1;
}

.pd-main-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.pd-main-image-wrapper:hover img {
  transform: scale(1.03);
}

.pd-info-container {
  display: flex;
  flex-direction: column;
}

.pd-title {
  font-family: var(--font-heading);
  font-size: 40px;
  font-weight: 800;
  line-height: 1.15;
  margin: 8px 0 16px 0;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.pd-price {
  font-size: 28px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 20px;
}

.pd-description {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-secondary);
  font-weight: 300;
}

.pd-actions-wrapper {
  display: flex;
  gap: 24px;
  align-items: flex-end;
  margin-top: 10px;
  flex-wrap: wrap;
}

.pd-button-group {
  margin-bottom: 0px;
}

.pd-specs h3 {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
  color: var(--text-primary);
}

#pd-specs-list {
  list-style: none;
  padding: 0;
}

#pd-specs-list li {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 8px;
  position: relative;
  padding-left: 20px;
  line-height: 1.6;
}

#pd-specs-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background-color: var(--accent);
}

.pd-related-section {
  margin-top: 96px;
  padding-top: 64px;
  border-top: 1px solid var(--border-color);
}

.pd-related-heading {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 36px;
  letter-spacing: -0.01em;
}

@media (max-width: 900px) {
  .product-details-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .pd-related-section {
    margin-top: 64px;
    padding-top: 48px;
  }
}

/* ============================================================
   QUICK VIEW HOVER BADGE BUTTON
   ============================================================ */
.quick-view-badge-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  opacity: 0;
  pointer-events: none;
  background: rgba(10, 10, 12, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #ffffff;
  padding: 10px 18px;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: opacity var(--transition-fast), transform var(--transition-fast), background-color var(--transition-fast);
  z-index: 15;
}

.product-image-wrapper:hover .quick-view-badge-btn {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
  pointer-events: auto;
}

.quick-view-badge-btn:hover {
  background: var(--text-primary);
  color: var(--bg-primary);
}

.quick-view-badge-btn .material-symbols-outlined {
  font-size: 16px;
}
