/* ==========================================================================
   Pak Electronics - Official Stylesheet
   Storefront: Nagina Chowk, Sahiwal Rd, Pākpattan, 57400, Pakistan
   Theme: High-Tech Slate & Electric Cyan with Emerald Trust Accents
   ========================================================================== */

:root {
  --bg-primary: #0a0f1d;
  --bg-secondary: #0f172a;
  --bg-card: #141e33;
  --bg-card-hover: #192742;
  --bg-surface: #1e293b;
  --bg-subtle: rgba(255, 255, 255, 0.04);
  
  --brand-cyan: #00d2ff;
  --brand-cyan-glow: rgba(0, 210, 255, 0.25);
  --brand-blue: #0284c7;
  --brand-blue-hover: #0369a1;
  --brand-dark-blue: #034078;
  
  --color-success: #10b981;
  --color-success-bg: rgba(16, 185, 129, 0.12);
  --color-warning: #f59e0b;
  --color-warning-bg: rgba(245, 158, 11, 0.12);
  --color-danger: #ef4444;
  --color-whatsapp: #25D366;
  --color-whatsapp-hover: #20ba59;

  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --text-inverse: #0a0f1d;
  
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-focus: rgba(0, 210, 255, 0.5);
  --border-card: rgba(14, 165, 233, 0.15);
  
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 6px 16px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 12px 30px rgba(0, 0, 0, 0.5);
  --shadow-cyan: 0 0 24px rgba(0, 210, 255, 0.25);
  --shadow-whatsapp: 0 6px 20px rgba(37, 211, 102, 0.35);

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;

  --transition-fast: 0.15s ease;
  --transition-normal: 0.25s ease;
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Reset & Base Setup */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.5;
  overflow-x: hidden;
  padding-bottom: 70px; /* Space for mobile nav */
}

@media (min-width: 1024px) {
  body {
    padding-bottom: 0;
  }
}

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

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

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

button {
  cursor: pointer;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

/* Utility Badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.badge-cyan {
  background: rgba(0, 210, 255, 0.15);
  color: var(--brand-cyan);
  border: 1px solid rgba(0, 210, 255, 0.3);
}

.badge-success {
  background: var(--color-success-bg);
  color: var(--color-success);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.badge-warning {
  background: var(--color-warning-bg);
  color: var(--color-warning);
  border: 1px solid rgba(245, 158, 11, 0.3);
}

/* ==========================================================================
   Top Notification / Store Ticker
   ========================================================================== */
.top-ticker {
  background: linear-gradient(90deg, #071326 0%, #0c203f 50%, #071326 100%);
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.8rem;
  color: var(--text-secondary);
  padding: 0.45rem 0;
}

.ticker-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.ticker-location {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: #cbd5e1;
}

.ticker-location svg {
  color: var(--brand-cyan);
  flex-shrink: 0;
}

.ticker-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.ticker-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: color var(--transition-fast);
}

.ticker-link:hover {
  color: var(--brand-cyan);
}

.live-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(16, 185, 129, 0.12);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.25);
  padding: 0.15rem 0.6rem;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 600;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--color-success);
  box-shadow: 0 0 8px var(--color-success);
  animation: pulse-dot 2s infinite ease-in-out;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 15, 29, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-subtle);
  transition: all var(--transition-normal);
}

.header-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.85rem 0;
}

/* Brand Logo */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
}

.logo-symbol {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, #0284c7 0%, #00d2ff 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0, 210, 255, 0.35);
  flex-shrink: 0;
}

.logo-symbol svg {
  width: 26px;
  height: 26px;
  color: #071224;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #ffffff;
  line-height: 1.1;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.brand-name span {
  color: var(--brand-cyan);
}

.brand-sub {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #94a3b8;
  font-weight: 600;
}

/* Search Bar */
.search-container {
  flex: 1;
  max-width: 480px;
  position: relative;
  display: none;
}

@media (min-width: 768px) {
  .search-container {
    display: block;
  }
}

.search-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  padding: 0.45rem 1rem;
  transition: all var(--transition-fast);
}

.search-input-wrapper:focus-within {
  border-color: var(--brand-cyan);
  box-shadow: 0 0 0 3px rgba(0, 210, 255, 0.15);
  background: #24324a;
}

.search-icon {
  color: var(--text-muted);
  margin-right: 0.65rem;
  flex-shrink: 0;
}

.search-input {
  width: 100%;
  color: var(--text-primary);
  font-size: 0.88rem;
  outline: none;
}

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

.search-clear-btn {
  color: var(--text-muted);
  padding: 0.2rem;
  display: none;
}

.search-clear-btn:hover {
  color: var(--text-primary);
}

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

.header-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1rem;
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  font-weight: 600;
  transition: all var(--transition-fast);
}

.btn-phone {
  background: rgba(14, 165, 233, 0.12);
  color: var(--brand-cyan);
  border: 1px solid rgba(0, 210, 255, 0.25);
  display: none;
}

@media (min-width: 900px) {
  .btn-phone {
    display: inline-flex;
  }
}

.btn-phone:hover {
  background: rgba(14, 165, 233, 0.22);
  transform: translateY(-1px);
}

.btn-cart {
  position: relative;
  background: linear-gradient(135deg, #0284c7 0%, #00b4d8 100%);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.35);
}

.btn-cart:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(0, 210, 255, 0.45);
}

.cart-count-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  background: var(--color-danger);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  min-width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--bg-primary);
}

.btn-cart-text {
  display: none;
}

@media (min-width: 640px) {
  .btn-cart-text {
    display: inline;
  }
}

/* Secondary Navigation Bar */
.header-nav-bar {
  background: rgba(15, 23, 42, 0.6);
  border-top: 1px solid var(--border-subtle);
  overflow-x: auto;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
  padding: 0.5rem 0;
}

.nav-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.2rem;
  position: relative;
  transition: color var(--transition-fast);
}

.nav-link:hover, .nav-link.active {
  color: var(--brand-cyan);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -0.5rem;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--brand-cyan);
  box-shadow: 0 0 8px var(--brand-cyan);
}

/* Mobile Search Bar Row (shown only on small screens) */
.mobile-search-row {
  padding: 0.75rem 1.25rem;
  background: var(--bg-primary);
  border-bottom: 1px solid var(--border-subtle);
  display: block;
}

@media (min-width: 768px) {
  .mobile-search-row {
    display: none;
  }
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  position: relative;
  padding: 2.75rem 0 2.25rem;
  overflow: hidden;
  background: radial-gradient(circle at 80% 20%, rgba(2, 132, 199, 0.18) 0%, transparent 60%),
              radial-gradient(circle at 20% 80%, rgba(0, 210, 255, 0.1) 0%, transparent 50%);
  border-bottom: 1px solid var(--border-subtle);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.25rem;
  align-items: center;
}

@media (min-width: 992px) {
  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
  }
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.hero-title {
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: #ffffff;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 2.85rem;
  }
}

.hero-title .highlight {
  background: linear-gradient(135deg, #00d2ff 0%, #38bdf8 60%, #ffffff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 0.5rem;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  background: linear-gradient(135deg, #0284c7 0%, #00b4d8 100%);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.8rem 1.6rem;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 16px rgba(0, 210, 255, 0.35);
  transition: all var(--transition-fast);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 210, 255, 0.5);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  background: var(--bg-surface);
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.8rem 1.4rem;
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.btn-secondary:hover {
  background: #27364f;
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}

.btn-whatsapp-hero {
  background: #128C7E;
  color: #ffffff;
  border: 1px solid rgba(37, 211, 102, 0.4);
}

.btn-whatsapp-hero:hover {
  background: var(--color-whatsapp);
  box-shadow: var(--shadow-whatsapp);
}

/* Hero Store Showcase Card */
.hero-card {
  background: linear-gradient(145deg, #131d33 0%, #0d1527 100%);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.hero-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--brand-cyan), transparent);
}

.store-badge-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-subtle);
}

.rating-stars {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  color: #fbbf24;
}

.hero-card-meta {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.meta-item {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
}

.meta-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  background: rgba(0, 210, 255, 0.1);
  color: var(--brand-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.meta-info h4 {
  font-size: 0.88rem;
  font-weight: 700;
  color: #ffffff;
}

.meta-info p {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.store-directions-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  background: rgba(0, 210, 255, 0.1);
  color: var(--brand-cyan);
  border: 1px solid rgba(0, 210, 255, 0.3);
  padding: 0.65rem;
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  font-weight: 600;
  margin-top: 0.75rem;
  transition: all var(--transition-fast);
}

.store-directions-btn:hover {
  background: rgba(0, 210, 255, 0.2);
  transform: translateY(-1px);
}

/* ==========================================================================
   Trust / Value Proposition Grid
   ========================================================================== */
.trust-bar {
  background: #0d1527;
  border-bottom: 1px solid var(--border-subtle);
  padding: 1.5rem 0;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (min-width: 768px) {
  .trust-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.trust-card {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.65rem;
}

.trust-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(0, 210, 255, 0.08);
  color: var(--brand-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.trust-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
}

.trust-desc {
  font-size: 0.75rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   Category Filter Section
   ========================================================================== */
.category-section {
  padding: 2rem 0 1rem;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.section-title-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.section-subtitle {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand-cyan);
}

.section-title {
  font-size: 1.6rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.02em;
}

.category-pill-container {
  display: flex;
  gap: 0.65rem;
  overflow-x: auto;
  padding-bottom: 0.75rem;
  -webkit-overflow-scrolling: touch;
}

.category-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1.15rem;
  background: var(--bg-card);
  color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
  transition: all var(--transition-fast);
}

.category-pill:hover {
  background: var(--bg-surface);
  color: var(--text-primary);
  border-color: rgba(0, 210, 255, 0.3);
}

.category-pill.active {
  background: linear-gradient(135deg, #0284c7 0%, #00b4d8 100%);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 4px 14px rgba(0, 210, 255, 0.3);
}

/* Catalog Filter & Sort Toolbar */
.catalog-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 0.75rem 1.25rem;
  margin-bottom: 1.75rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.item-counter {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.item-counter strong {
  color: var(--text-primary);
}

.sort-wrapper {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

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

.sort-select {
  background: var(--bg-surface);
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  outline: none;
  cursor: pointer;
}

.sort-select:focus {
  border-color: var(--brand-cyan);
}

/* ==========================================================================
   Product Grid & Product Cards
   ========================================================================== */
.product-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

@media (min-width: 540px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1180px) {
  .product-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

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

.product-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 210, 255, 0.4);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.5), 0 0 16px rgba(0, 210, 255, 0.15);
}

.card-image-wrap {
  position: relative;
  width: 100%;
  padding-top: 80%; /* 4:3 Aspect Ratio */
  background: #0f1626;
  overflow: hidden;
}

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

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

.card-badge-top {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
}

.card-quick-view-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 15, 29, 0.65);
  backdrop-filter: blur(2px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-fast);
}

.product-card:hover .card-quick-view-overlay {
  opacity: 1;
  pointer-events: auto;
}

.btn-quick-view {
  background: #ffffff;
  color: #0f172a;
  font-weight: 700;
  font-size: 0.8rem;
  padding: 0.55rem 1rem;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  box-shadow: var(--shadow-md);
  transform: translateY(10px);
  transition: all var(--transition-fast);
}

.product-card:hover .btn-quick-view {
  transform: translateY(0);
}

.btn-quick-view:hover {
  background: var(--brand-cyan);
  color: #000;
}

.card-body {
  padding: 1.2rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-category-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.45rem;
}

.card-category {
  font-size: 0.72rem;
  color: var(--brand-cyan);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.card-brand {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.card-title {
  font-size: 0.98rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.35;
  margin-bottom: 0.45rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 2.7em;
}

.card-desc {
  font-size: 0.78rem;
  color: var(--text-secondary);
  line-height: 1.45;
  margin-bottom: 0.85rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.card-rating-row {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  margin-bottom: 0.85rem;
}

.card-rating-row .stars {
  color: #fbbf24;
}

.card-rating-row .count {
  color: var(--text-muted);
}

.card-price-row {
  display: flex;
  align-items: baseline;
  gap: 0.65rem;
  margin-bottom: 0.85rem;
  padding-top: 0.5rem;
  border-top: 1px solid var(--border-subtle);
}

.price-current {
  font-size: 1.25rem;
  font-weight: 800;
  color: #38bdf8;
}

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

.card-stock-row {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.72rem;
  color: #34d399;
  font-weight: 600;
  margin-bottom: 1rem;
}

.card-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem;
}

.btn-add-cart {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--bg-surface);
  color: #ffffff;
  border: 1px solid rgba(0, 210, 255, 0.3);
  padding: 0.65rem 1rem;
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  font-weight: 700;
  transition: all var(--transition-fast);
}

.btn-add-cart:hover {
  background: linear-gradient(135deg, #0284c7 0%, #00b4d8 100%);
  border-color: transparent;
  box-shadow: 0 4px 14px rgba(0, 210, 255, 0.35);
  transform: translateY(-1px);
}

.btn-add-cart.added {
  background: var(--color-success) !important;
  color: #fff !important;
  border-color: transparent !important;
}

/* ==========================================================================
   Customer Reviews & Social Proof Section
   ========================================================================== */
.reviews-section {
  padding: 3rem 0;
  background: #0a0f1d;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.reviews-summary-card {
  background: linear-gradient(145deg, #131d33 0%, #0c1526 100%);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
  text-align: center;
}

@media (min-width: 768px) {
  .reviews-summary-card {
    flex-direction: row;
    text-align: left;
    justify-content: space-between;
  }
}

.summary-score-box {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.big-score {
  font-size: 3.5rem;
  font-weight: 900;
  color: #ffffff;
  line-height: 1;
}

.score-details h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
}

.score-details p {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.reviews-trust-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: center;
}

.trust-chip {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  color: #e2e8f0;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.trust-chip svg {
  color: var(--brand-cyan);
}

/* Reviews Grid */
.reviews-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .reviews-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.review-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-fast);
}

.review-card:hover {
  border-color: rgba(0, 210, 255, 0.3);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.review-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0.85rem;
}

.reviewer-profile {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.reviewer-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0284c7 0%, #00d2ff 100%);
  color: #071326;
  font-weight: 800;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.reviewer-meta h4 {
  font-size: 0.88rem;
  font-weight: 700;
  color: #fff;
}

.reviewer-location {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.review-date {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.review-stars {
  color: #fbbf24;
  margin-bottom: 0.65rem;
  display: flex;
  gap: 0.15rem;
}

.review-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.45rem;
}

.review-body {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.5;
  flex: 1;
  margin-bottom: 0.85rem;
}

.review-product-tag {
  font-size: 0.72rem;
  color: var(--brand-cyan);
  background: rgba(0, 210, 255, 0.08);
  padding: 0.25rem 0.55rem;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  align-self: flex-start;
}

/* ==========================================================================
   Physical Store & Location Showcase Section
   ========================================================================== */
.store-section {
  padding: 3.5rem 0;
  background: #0d1527;
}

.store-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: stretch;
}

@media (min-width: 900px) {
  .store-layout {
    grid-template-columns: 1fr 1fr;
  }
}

.store-details-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.store-details-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin: 1.5rem 0;
}

.store-detail-row {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.store-detail-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: rgba(0, 210, 255, 0.1);
  color: var(--brand-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.store-detail-content h4 {
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.2rem;
}

.store-detail-content p, .store-detail-content a {
  font-size: 0.82rem;
  color: var(--text-secondary);
}

.store-detail-content a:hover {
  color: var(--brand-cyan);
}

.store-map-container {
  background: var(--bg-surface);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  min-height: 380px;
}

.store-map-iframe {
  width: 100%;
  height: 100%;
  min-height: 380px;
  border: 0;
  filter: contrast(1.05) opacity(0.92);
}

.map-floating-overlay {
  position: absolute;
  bottom: 14px;
  left: 14px;
  right: 14px;
  background: rgba(10, 15, 29, 0.9);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 0.85rem 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
}

/* ==========================================================================
   Slide-Out Shopping Cart Drawer
   ========================================================================== */
.cart-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

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

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 440px;
  background: var(--bg-secondary);
  border-left: 1px solid var(--border-subtle);
  z-index: 1001;
  transform: translateX(100%);
  transition: transform var(--transition-normal) cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

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

.cart-header {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cart-header h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.cart-close-btn {
  color: var(--text-muted);
  padding: 0.35rem;
  border-radius: var(--radius-sm);
  transition: color var(--transition-fast);
}

.cart-close-btn:hover {
  color: #fff;
  background: var(--bg-surface);
}

/* Free Delivery Meter */
.free-shipping-meter {
  padding: 0.85rem 1.5rem;
  background: #141e33;
  border-bottom: 1px solid var(--border-subtle);
}

.meter-text {
  font-size: 0.78rem;
  color: var(--text-secondary);
  margin-bottom: 0.4rem;
}

.meter-text strong {
  color: var(--brand-cyan);
}

.meter-bar {
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.meter-fill {
  height: 100%;
  background: linear-gradient(90deg, #0284c7, #00d2ff);
  border-radius: var(--radius-full);
  transition: width 0.4s ease;
}

.cart-items-container {
  flex: 1;
  overflow-y: auto;
  padding: 1rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cart-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem 1.5rem;
  text-align: center;
  gap: 1rem;
  color: var(--text-muted);
}

.cart-empty-state svg {
  width: 56px;
  height: 56px;
  color: var(--border-subtle);
}

.cart-item {
  display: flex;
  gap: 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 0.85rem;
  position: relative;
}

.cart-item-img {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  background: #0a0f1d;
  flex-shrink: 0;
}

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

.cart-item-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
  padding-right: 1.5rem;
}

.cart-item-price {
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--brand-cyan);
}

.cart-item-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 0.4rem;
}

.qty-stepper {
  display: flex;
  align-items: center;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.qty-btn {
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  font-size: 0.85rem;
  transition: background var(--transition-fast);
}

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

.qty-val {
  padding: 0 0.55rem;
  font-size: 0.82rem;
  font-weight: 700;
}

.cart-remove-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  color: var(--text-muted);
  padding: 0.2rem;
}

.cart-remove-btn:hover {
  color: var(--color-danger);
}

.cart-footer {
  padding: 1.25rem 1.5rem;
  border-top: 1px solid var(--border-subtle);
  background: var(--bg-card);
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.cart-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.cart-total-row.grand-total {
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
  padding-top: 0.5rem;
  border-top: 1px dashed var(--border-subtle);
}

.grand-total .val {
  color: #38bdf8;
}

.btn-checkout {
  width: 100%;
  padding: 0.85rem;
  background: linear-gradient(135deg, #0284c7 0%, #00b4d8 100%);
  color: #ffffff;
  font-weight: 800;
  font-size: 0.95rem;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  box-shadow: 0 4px 14px rgba(0, 210, 255, 0.35);
  transition: all var(--transition-fast);
}

.btn-checkout:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(0, 210, 255, 0.5);
}

/* ==========================================================================
   Modals (Quick View, Checkout, Order Confirmation)
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(6px);
  z-index: 1100;
  opacity: 0;
  visibility: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  transition: all var(--transition-normal);
}

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

.modal-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 680px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  transform: scale(0.96);
  transition: transform var(--transition-normal);
  position: relative;
}

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

.modal-card.modal-lg {
  max-width: 840px;
}

.modal-close-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  color: var(--text-muted);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg-surface);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: all var(--transition-fast);
}

.modal-close-btn:hover {
  color: #fff;
  background: #334155;
}

/* Quick View Specific */
.quick-view-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
  padding: 2rem;
}

@media (min-width: 768px) {
  .quick-view-grid {
    grid-template-columns: 1fr 1.15fr;
  }
}

.qv-image {
  width: 100%;
  border-radius: var(--radius-md);
  object-fit: cover;
  max-height: 360px;
  background: #070d1a;
}

.qv-details {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.specs-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.78rem;
  margin: 0.5rem 0;
}

.specs-table tr {
  border-bottom: 1px solid var(--border-subtle);
}

.specs-table td {
  padding: 0.45rem 0.2rem;
}

.specs-table td:first-child {
  color: var(--text-muted);
  width: 40%;
  font-weight: 600;
}

.specs-table td:last-child {
  color: var(--text-primary);
}

/* Checkout Form Layout */
.checkout-modal-body {
  padding: 2rem;
}

.checkout-header {
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 1rem;
}

.checkout-header h3 {
  font-size: 1.35rem;
  font-weight: 800;
  color: #fff;
}

.checkout-form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 600px) {
  .checkout-form-grid {
    grid-template-columns: 1fr 1fr;
  }
  .full-width {
    grid-column: span 2;
  }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.form-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: #cbd5e1;
}

.form-input, .form-select {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 0.65rem 0.95rem;
  color: #fff;
  font-size: 0.88rem;
  outline: none;
  transition: border-color var(--transition-fast);
}

.form-input:focus, .form-select:focus {
  border-color: var(--brand-cyan);
  box-shadow: 0 0 0 2px rgba(0, 210, 255, 0.15);
}

.form-radio-group {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-top: 0.5rem;
}

.radio-card {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.radio-card:hover {
  border-color: rgba(0, 210, 255, 0.3);
}

.radio-card.selected {
  border-color: var(--brand-cyan);
  background: rgba(0, 210, 255, 0.06);
}

.radio-card input {
  accent-color: var(--brand-cyan);
}

.radio-text {
  flex: 1;
}

.radio-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
}

.radio-desc {
  font-size: 0.75rem;
  color: var(--text-secondary);
}

/* Order Confirmation & Receipt */
.order-success-card {
  padding: 2.25rem;
  text-align: center;
}

.success-icon-wrap {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.15);
  color: var(--color-success);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
}

.order-receipt-box {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  margin: 1.5rem 0;
  text-align: left;
}

.receipt-header-row {
  display: flex;
  justify-content: space-between;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 0.75rem;
  font-size: 0.82rem;
  color: var(--text-secondary);
}

.receipt-item-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  padding: 0.35rem 0;
}

.order-actions-row {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

@media (min-width: 500px) {
  .order-actions-row {
    flex-direction: row;
  }
}

.btn-whatsapp-confirm {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--color-whatsapp);
  color: #ffffff;
  font-weight: 700;
  padding: 0.8rem 1.25rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-whatsapp);
  transition: background var(--transition-fast);
}

.btn-whatsapp-confirm:hover {
  background: var(--color-whatsapp-hover);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: #070d19;
  border-top: 1px solid var(--border-subtle);
  padding: 3.5rem 0 2rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1.4fr 0.9fr 0.9fr 1fr;
  }
}

.footer-col h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1.15rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-link {
  color: var(--text-secondary);
  transition: color var(--transition-fast);
}

.footer-link:hover {
  color: var(--brand-cyan);
}

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.footer-contact-item {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
}

.footer-contact-item svg {
  color: var(--brand-cyan);
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.footer-bottom {
  border-top: 1px solid var(--border-subtle);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Floating WhatsApp Button
   ========================================================================== */
.floating-whatsapp {
  position: fixed;
  bottom: 84px;
  right: 20px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--color-whatsapp);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-whatsapp);
  z-index: 900;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  text-decoration: none;
}

@media (min-width: 1024px) {
  .floating-whatsapp {
    bottom: 28px;
    right: 28px;
  }
}

.floating-whatsapp:hover {
  transform: scale(1.08);
  box-shadow: 0 8px 26px rgba(37, 211, 102, 0.5);
}

.whatsapp-pulse {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid var(--color-whatsapp);
  animation: pulse-ring 2s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
}

@keyframes pulse-ring {
  0% { transform: scale(0.9); opacity: 0.9; }
  70% { transform: scale(1.35); opacity: 0; }
  100% { transform: scale(1.35); opacity: 0; }
}

/* ==========================================================================
   Mobile Bottom Navigation Bar (Fixed)
   ========================================================================== */
.mobile-bottom-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(10, 15, 29, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-around;
  padding: 0.45rem 0.5rem;
  z-index: 890;
}

@media (min-width: 1024px) {
  .mobile-bottom-bar {
    display: none;
  }
}

.bottom-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  color: var(--text-muted);
  font-size: 0.68rem;
  font-weight: 600;
  position: relative;
  padding: 0.2rem 0.6rem;
  transition: color var(--transition-fast);
}

.bottom-nav-item:hover, .bottom-nav-item.active {
  color: var(--brand-cyan);
}

.bottom-cart-badge {
  position: absolute;
  top: -2px;
  right: 10px;
  background: var(--color-danger);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ==========================================================================
   Toast Notifications
   ========================================================================== */
.toast-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1200;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  pointer-events: none;
}

.toast {
  background: #192642;
  border: 1px solid var(--brand-cyan);
  color: #fff;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 0.65rem;
  animation: slide-in 0.3s ease forwards;
  pointer-events: auto;
}

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