/* ==========================================================================
   iPlug.lk - Fully Redesigned Premium CSS Stylesheet
   Theme: High-fidelity Apple Accessories E-Store (Deep Space Black & Neon Cyan/Blue)
   ========================================================================== */

/* Fonts loaded via <link> in header with preconnect for performance */

:root {
  /* Colors */
  --bg-dark-900: hsl(220, 30%, 4%);
  --bg-dark-800: hsl(220, 20%, 7%);
  --bg-dark-700: hsl(220, 15%, 11%);
  --bg-light-100: hsl(210, 20%, 98%);
  
  --color-primary: hsl(210, 100%, 50%); /* Electric Blue */
  --color-accent: hsl(190, 100%, 45%);  /* Cyan */
  --color-purple: hsl(270, 85%, 60%);   /* Neon Purple */
  --color-success: hsl(140, 75%, 45%);  /* Green */
  
  --gradient-neon: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  --gradient-overlay: linear-gradient(to bottom, rgba(4, 7, 12, 0.95), rgba(4, 7, 12, 0.98));
  
  /* Text Colors */
  --text-white: hsl(0, 0%, 100%);
  --text-gray-100: hsl(210, 20%, 95%);
  --text-gray-300: hsl(210, 10%, 75%);
  --text-gray-500: hsl(210, 8%, 50%);
  --text-dark: hsl(220, 20%, 12%);
  
  /* Fonts */
  --font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: 'Inter', sans-serif;
  
  /* UI Elements */
  --border-radius-sm: 8px;
  --border-radius-md: 12px;
  --border-radius-lg: 20px;
  --border-radius-full: 999px;
  
  --border-glow: 1px solid rgba(0, 168, 255, 0.2);
  --border-subtle: 1px solid rgba(255, 255, 255, 0.08);
  --shadow-premium: 0 12px 40px rgba(0, 0, 0, 0.6);
  --shadow-light: 0 4px 20px rgba(0, 0, 0, 0.05);
  
  --transition-normal: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  --transition-fast: all 0.15s ease;

  /* Default Light Theme Storefront Variables */
  --theme-bg: #f9fafb;
  --theme-text: hsl(220, 20%, 25%);
  --theme-text-title: var(--text-dark);
  --theme-text-muted: var(--text-gray-500);
  
  --theme-card-bg: #ffffff;
  --theme-card-border: 1px solid #e5e7eb;
  --theme-card-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  
  --theme-input-bg: #ffffff;
  --theme-input-border: 1px solid #d1d5db;
  --theme-input-text: var(--text-dark);
  
  --theme-badge-bg: #f3f4f6;
  --theme-badge-text: var(--text-dark);
  
  --theme-divider: 1px solid #e5e7eb;
}

/* --------------------------------------------------------------------------
   Reset & Global Styles
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  width: auto;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}

body {
  background-color: #ffffff;
  color: var(--text-dark);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-dark);
  font-weight: 700;
  line-height: 1.2;
}

p {
  text-wrap: pretty;
}

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

img {
  max-inline-size: 100%;
  block-size: auto;
  display: block;
}

/* Premium Scrollbar */
::-webkit-scrollbar {
  inline-size: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-dark-900);
}
::-webkit-scrollbar-thumb {
  background: var(--bg-dark-700);
  border: 2px solid var(--bg-dark-900);
  border-radius: 99px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--color-primary);
}

/* --------------------------------------------------------------------------
   Layout Utilities
   -------------------------------------------------------------------------- */
.container {
  inline-size: 92%;
  max-inline-size: 1240px;
  margin-inline: auto;
}

.section-padding {
  padding-block: 2.5rem; /* Reduced from 6rem to fix empty space issue */
}

.text-highlight {
  color: var(--color-primary);
  background: var(--gradient-neon);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.8rem;
  border-radius: 5px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  border: none;
  gap: 0.5rem;
  transition: var(--transition-normal);
}

.btn-primary {
  background: var(--color-primary);
  color: var(--text-white);
  box-shadow: 0 4px 15px rgba(0, 113, 227, 0.4);
}

.btn-primary:hover {
  background: hsl(210, 100%, 45%);
  transform: translateY(-2.5px);
  box-shadow: 0 6px 20px rgba(0, 113, 227, 0.6);
}

.btn-secondary {
  background: transparent;
  color: rgb(255, 255, 255);
  border: 1.5px solid rgb(255, 255, 255);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgb(255, 255, 255);
  transform: translateY(-2.5px);
}

/* --------------------------------------------------------------------------
   1. Announcement Bar & Navigation Header
   -------------------------------------------------------------------------- */
.announcement-bar {
  background-color: #000;
  border-bottom: var(--border-subtle);
  padding-block: 0.5rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-gray-300);
}

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

.announcement-info {
  display: flex;
  gap: 1.5rem;
}

.announcement-info span {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.announcement-info span .announce-icon {
  color: var(--color-primary);
  flex-shrink: 0;
  font-size: 0.85rem;
  line-height: 1;
}

.announcement-socials {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.announcement-socials span {
  margin-right: 0.3rem;
  color: var(--text-gray-500);
}

.announcement-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-gray-300);
  transition: var(--transition-fast);
  text-decoration: none;
}

.announcement-socials a i {
  font-size: 1.05rem;
  line-height: 1;
  display: block;
  transition: var(--transition-fast);
}

.announcement-socials a:hover {
  color: #ffffff;
  transform: translateY(-1px);
}

/* Social brand-coloured circle icons in announcement bar */
.social-circle {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff !important;
  font-size: 0.65rem;
  transition: var(--transition-fast);
  text-decoration: none;
}

.social-circle i {
  color: #fff !important;
  font-size: 0.65rem;
  line-height: 1;
}

.social-circle--fb { background-color: #1877F2; }
.social-circle--fb:hover { background-color: #166fe5; transform: translateY(-2px); box-shadow: 0 4px 12px rgba(24,119,242,0.4); }

.social-circle--ig { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%); }
.social-circle--ig:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(214,36,159,0.4); }

.social-circle--tt { background-color: #000; }
.social-circle--tt:hover { background-color: #1a1a1a; transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,0.3); }

.social-circle--wa { background-color: #25D366; }
.social-circle--wa:hover { background-color: #20bd57; transform: translateY(-2px); box-shadow: 0 4px 12px rgba(37,211,102,0.4); }

/* Main Navigation Header */
.main-header {
  position: sticky;
  inset-block-start: 0;
  z-index: 100;
  background: #000000;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: background 0.35s ease, backdrop-filter 0.35s ease, border-color 0.35s ease;
}

.main-header::before {
  content: '';
  position: absolute;
  inset-block-start: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-primary), var(--color-accent), transparent);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.main-header.scrolled::before {
  opacity: 1;
}

.main-header.scrolled {
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(24px) saturate(1.3);
  -webkit-backdrop-filter: blur(24px) saturate(1.3);
  border-bottom-color: rgba(0, 168, 255, 0.15);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  block-size: 5rem;
  padding-inline: 0.5rem;
}

.logo {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.6rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--text-white);
  letter-spacing: -0.5px;
}

.logo img {
  height: 50px;
  width: auto;
  object-fit: contain;
}

.logo-symbol {
  color: var(--color-primary);
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2.5rem;
}

.nav-menu a {
  position: relative;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--text-gray-100);
  padding-bottom: 6px;
  transition: color 0.3s ease;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-primary);
  transition: width 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  border-radius: 2px;
}

.nav-menu a:hover::after, .nav-menu a.active::after {
  width: 100%;
}

.nav-menu a:hover, .nav-menu a.active {
  color: var(--text-white);
}

.nav-icons {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.nav-icon-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--text-white);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  font-size: 1.5rem;
}

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

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

.cart-badge {
  position: absolute;
  inset-block-start: -8px;
  inset-inline-end: -8px;
  background-color: var(--color-primary);
  color: var(--text-white);
  font-size: 0.65rem;
  font-weight: 700;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* --------------------------------------------------------------------------
   2. Hero Section
   -------------------------------------------------------------------------- */
.hero-section {
  position: relative;
  overflow: hidden;
  min-height: 90vh;
  display: flex;
  align-items: center;
}

.hero-radial-glow {
  position: absolute;
  inline-size: 600px;
  block-size: 600px;
  background: radial-gradient(circle, rgba(0, 113, 227, 0.2) 0%, transparent 70%);
  inset-block-start: -150px;
  inset-inline-start: -150px;
  pointer-events: none;
  z-index: 0;
}

.hero-circle-accent {
  position: absolute;
  width: 480px;
  height: 480px;
  border: 1.5px solid rgba(0, 113, 227, 0.45);
  border-radius: 50%;
  inset-inline-end: 80px;
  inset-block-start: 10%;
  pointer-events: none;
  z-index: 0;
  box-shadow: 0 0 50px rgba(0, 113, 227, 0.15);
  animation: pulse-ring 4s infinite ease-in-out;
}

@keyframes pulse-ring {
  0%, 100% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.03); opacity: 1; box-shadow: 0 0 70px rgba(0, 113, 227, 0.25); }
}

.hero-slider {
  position: relative;
  width: 100%;
  min-height: inherit;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1s cubic-bezier(0.25, 0.8, 0.25, 1), visibility 1s;
  z-index: 1;
  padding-block: 7rem 5rem;
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: inherit;
}

.hero-slide::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: transform 8s ease-out;
  transform: scale(1.0);
}

.hero-slide::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.6) 100%);
  pointer-events: none;
}

.hero-slide:nth-child(1)::before {
  background-image: url('../cover/main_cover.png');
  background-image: image-set(url('../cover/main_cover.webp') type('image/webp'), url('../cover/main_cover.png'));
}

.hero-slide:nth-child(2)::before {
  background-image: url('../cover/phone_repair_cover.png');
  background-image: image-set(url('../cover/phone_repair_cover.webp') type('image/webp'), url('../cover/phone_repair_cover.png'));
}

.hero-slide.active {
  position: relative;
  opacity: 1;
  visibility: visible;
  z-index: 2;
  display: flex;
  align-items: center;
  min-height: inherit;
}

.hero-slide.active::before {
  transform: scale(1.08);
}

.hero-slider-dots {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.8rem;
  z-index: 10;
}

.hero-slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.3);
  border: 2px solid rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: var(--transition-fast);
}

.hero-slider-dot.active, .hero-slider-dot:hover {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  transform: scale(1.3);
  box-shadow: 0 0 12px rgba(0, 113, 227, 0.6);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
  width: 100%;
}

.hero-title {
  font-size: clamp(2.8rem, 5.5cqi, 3.8rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.8rem;
  letter-spacing: -1.5px;
  color: var(--text-white);
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

.hero-badges {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2.2rem;
  flex-wrap: wrap;
}

.hero-badge-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-gray-100);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.6);
}

.hero-badge-item svg,
.hero-badge-item i {
  color: var(--color-primary);
  font-size: 1rem;
}

.hero-ctas {
  display: flex;
  gap: 1.2rem;
}

.hero-pedestal {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.pedestal-circle {
  width: 100%;
  max-width: 440px;
  background: radial-gradient(circle, rgba(0, 168, 255, 0.15) 0%, rgba(0, 0, 0, 0) 75%);
  padding: 1.5rem;
  border-radius: 50%;
}

.hero-cover-img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.5));
  animation: float-device 6s infinite ease-in-out;
}

@keyframes float-device {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* ==========================================================================
   Scroll Reveal Animations (Fade-in, Slide-up, etc.)
   ========================================================================== */

/* Initial hidden state — sections */
.fade-in-section {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Visible state (for the stagger animation on children) */
.fade-in-section.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Variation: fade in from left */
.fade-in-section.fade-left {
  transform: translateX(0);
}
.fade-in-section.fade-left.is-visible {
  transform: translateX(0);
}

/* Variation: fade in from right */
.fade-in-section.fade-right {
  transform: translateX(0);
}
.fade-in-section.fade-right.is-visible {
  transform: translateX(0);
}

/* Variation: scale in */
.fade-in-section.scale-in {
  transform: scale(1);
}
.fade-in-section.scale-in.is-visible {
  transform: scale(1);
}

/* Hero section fades in differently — already has its own layout */
.hero-section.fade-in-section {
  transform: none;
  opacity: 1;
}

/* Staggered delays for child items inside a revealed section
   Target grid children, slider items, etc. */
.fade-in-section.is-visible .trust-item,
.fade-in-section.is-visible .category-item,
.fade-in-section.is-visible .product-card,
.fade-in-section.is-visible .review-card,
.fade-in-section.is-visible .insta-item {
  opacity: 0;
  transform: translateY(30px);
  animation: staggerFadeUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.fade-in-section.is-visible .trust-item:nth-child(1),
.fade-in-section.is-visible .category-item:nth-child(1),
.fade-in-section.is-visible .product-card:nth-child(1),
.fade-in-section.is-visible .review-card:nth-child(1),
.fade-in-section.is-visible .insta-item:nth-child(1) { animation-delay: 0.05s; }

.fade-in-section.is-visible .trust-item:nth-child(2),
.fade-in-section.is-visible .category-item:nth-child(2),
.fade-in-section.is-visible .product-card:nth-child(2),
.fade-in-section.is-visible .review-card:nth-child(2),
.fade-in-section.is-visible .insta-item:nth-child(2) { animation-delay: 0.1s; }

.fade-in-section.is-visible .trust-item:nth-child(3),
.fade-in-section.is-visible .category-item:nth-child(3),
.fade-in-section.is-visible .product-card:nth-child(3),
.fade-in-section.is-visible .review-card:nth-child(3),
.fade-in-section.is-visible .insta-item:nth-child(3) { animation-delay: 0.15s; }

.fade-in-section.is-visible .trust-item:nth-child(4),
.fade-in-section.is-visible .category-item:nth-child(4),
.fade-in-section.is-visible .product-card:nth-child(4),
.fade-in-section.is-visible .review-card:nth-child(4),
.fade-in-section.is-visible .insta-item:nth-child(4) { animation-delay: 0.2s; }

.fade-in-section.is-visible .product-card:nth-child(5) { animation-delay: 0.25s; }
.fade-in-section.is-visible .product-card:nth-child(6) { animation-delay: 0.3s; }
.fade-in-section.is-visible .product-card:nth-child(7) { animation-delay: 0.35s; }
.fade-in-section.is-visible .product-card:nth-child(8) { animation-delay: 0.4s; }

@keyframes staggerFadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --------------------------------------------------------------------------
   Scroll Down Indicator (Hero Section)
   -------------------------------------------------------------------------- */
.scroll-indicator {
  position: absolute;
  bottom: 3rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  z-index: 10;
  animation: scrollIndicatorFadeIn 1s ease 1.5s both;
  pointer-events: none;
}

.scroll-indicator-text {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 500;
}

.scroll-indicator-mouse {
  width: 26px;
  height: 40px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 13px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
}

.scroll-indicator-dot {
  width: 4px;
  height: 10px;
  background: var(--color-primary);
  border-radius: 2px;
  animation: scrollDotBounce 2s ease-in-out infinite;
}

@keyframes scrollDotBounce {
  0%, 100% {
    transform: translateY(0);
    opacity: 1;
  }
  50% {
    transform: translateY(10px);
    opacity: 0.3;
  }
}

@keyframes scrollIndicatorFadeIn {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

/* Hide scroll indicator on very small screens */
@media (max-width: 480px) {
  .scroll-indicator {
    display: none;
  }
}

/* ==========================================================================
   Full-Screen Page Loader
   ========================================================================== */
.iplug-loader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.iplug-loader.loaded {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.iplug-loader-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.iplug-loader-logo {
  animation: loaderLogoPulse 1.6s ease-in-out infinite;
}

.iplug-loader-img {
  height: 80px;
  width: auto;
  object-fit: contain;
  filter: brightness(1.1) drop-shadow(0 0 30px rgba(0, 113, 227, 0.3));
}

.iplug-loader-bar-track {
  width: 220px;
  height: 3px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 99px;
  overflow: hidden;
  position: relative;
}

.iplug-loader-bar-fill {
  width: 40%;
  height: 100%;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
  border-radius: 99px;
  animation: loaderBarSlide 1.2s ease-in-out infinite;
  box-shadow: 0 0 12px rgba(0, 113, 227, 0.5);
}

.iplug-loader-text {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  animation: loaderTextFade 1.6s ease-in-out infinite;
}

.iplug-loader-glow {
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0, 113, 227, 0.08) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 1;
  animation: loaderGlowBreathe 2.5s ease-in-out infinite;
}

@keyframes loaderLogoPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.04); opacity: 0.9; }
}

@keyframes loaderBarSlide {
  0% { transform: translateX(-100%); width: 30%; }
  50% { width: 60%; }
  100% { transform: translateX(400%); width: 30%; }
}

@keyframes loaderTextFade {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.8; }
}

@keyframes loaderGlowBreathe {
  0%, 100% { opacity: 0.5; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.1); }
}

/* Mobile loader adjustments */
@media (max-width: 480px) {
  .iplug-loader-img {
    height: 60px;
  }
  
  .iplug-loader-bar-track {
    width: 180px;
  }
  
  .iplug-loader-text {
    font-size: 0.65rem;
  }
}

/* --------------------------------------------------------------------------
   3. Trust Ribbon Banner — Modern Cards
   -------------------------------------------------------------------------- */
.trust-ribbon {
  background: #000;
  border-block: 1px solid rgba(255, 255, 255, 0.05);
  padding-block: 2.5rem;
  position: relative;
  overflow: hidden;
}

.trust-ribbon::before {
  display: none;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  position: relative;
  z-index: 1;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 1.5rem 1.2rem;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.trust-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 113, 227, 0.06) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.trust-item:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 168, 255, 0.2);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), 0 0 20px rgba(0, 113, 227, 0.08);
}

.trust-item:hover::after {
  opacity: 1;
}

.trust-icon-box {
  min-width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(0, 113, 227, 0.15) 0%, rgba(0, 168, 255, 0.08) 100%);
  border: 1px solid rgba(0, 168, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  flex-shrink: 0;
  transition: all 0.4s ease;
  position: relative;
  z-index: 1;
}

.trust-item:hover .trust-icon-box {
  background: linear-gradient(135deg, rgba(0, 113, 227, 0.3) 0%, rgba(0, 168, 255, 0.18) 100%);
  border-color: rgba(0, 168, 255, 0.4);
  transform: scale(1.08);
  box-shadow: 0 0 24px rgba(0, 113, 227, 0.2);
}

.trust-icon-box svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
}

.trust-text {
  position: relative;
  z-index: 1;
}

.trust-text h4 {
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 0.15rem;
  color: var(--text-white);
  letter-spacing: -0.3px;
}

.trust-text p {
  font-size: 0.75rem;
  color: var(--text-gray-500);
  margin: 0;
}

/* --------------------------------------------------------------------------
   4. Shop By Category
   -------------------------------------------------------------------------- */
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 2.5rem;
}

.section-header-centered {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-title-underline {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text-dark);
  position: relative;
  display: inline-block;
  padding-bottom: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.section-title-underline::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 45px;
  height: 3px;
  background: var(--color-primary);
}

.section-title-underline-centered {
  margin-inline: auto;
}

.section-title-underline-centered::after {
  left: 50%;
  transform: translateX(-50%);
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.category-item.is-hidden {
  display: none;
}

.category-card {
  background-color: #f7f8fa;
  border-radius: var(--border-radius-md);
  padding: 1.8rem 1rem;
  text-align: center;
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
  align-items: center;
  border: none;
  aspect-ratio: 1 / 1.15;
}

.category-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  background-color: #f0f2f5;
}

.category-img-box {
  width: auto;
  height: stretch;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
}

.category-img-box img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.category-card h3 {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-dark);
}

.view-all-box {
  text-align: center;
}

/* --------------------------------------------------------------------------
   5. Product Card Component (Trending & Best Sellers)
   -------------------------------------------------------------------------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.8rem;
}

.product-card {
  background-color: var(--text-white);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  transition: var(--transition-normal);
  border: 1px solid #e1e4e8;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: 0 2px 8px rgba(0,0,0,0.02);
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
  border-color: #d1d5db;
}

/* ── Product Badges (Sale & Discount Badges) ── */
.product-badges-wrap {
  position: absolute;
  top: 12px;
  left: 12px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  z-index: 11;
  pointer-events: none;
}

.product-badge-sale {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #0f172a;
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.22);
  line-height: 1.2;
}

.product-discount-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 6px;
  box-shadow: 0 3px 10px rgba(239, 68, 68, 0.38);
  line-height: 1.2;
}

/* Fallback for standalone placement */
.product-card > .product-badge-sale {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 10;
}

.product-card > .product-discount-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 11;
}

.product-card > .product-badge-sale ~ .product-discount-badge {
  top: 40px;
}

.product-wishlist-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--text-white);
  border: 1px solid #e1e4e8;
  border-radius: 50%;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-gray-500);
  transition: var(--transition-fast);
  z-index: 10;
}

.product-wishlist-btn:hover {
  color: #ff3b30;
  background-color: #ffe5e5;
  border-color: #ffcccc;
}

.product-wishlist-btn.is-active {
  color: #ff3b30;
  background-color: #ffe5e5;
  border-color: #ffcccc;
}

.product-wishlist-btn.is-active i {
  font-weight: 700;
}

/* ── Product Quick View Button ── */
.product-quickview-btn {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: rgba(15, 23, 42, 0.9);
  color: #ffffff;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
  border-radius: 50px;
  padding: 7px 15px;
  font-family: inherit;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.2s ease, box-shadow 0.2s ease;
  z-index: 12;
  white-space: nowrap;
}

.product-quickview-btn i {
  font-size: 0.95rem;
  line-height: 1;
  transition: transform 0.2s ease;
}

.product-card:hover .product-quickview-btn,
.related-product-card:hover .product-quickview-btn {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.product-quickview-btn:hover {
  background: #0071e3;
  color: #ffffff;
  border-color: #0071e3;
  box-shadow: 0 8px 22px rgba(0, 113, 227, 0.4);
  transform: translateX(-50%) translateY(-2px) scale(1.03);
}

.product-quickview-btn:hover i {
  transform: scale(1.15);
}

.product-img-box {
  background-color: #ffffff;
  position: relative;
  aspect-ratio: 1 / 1;
  width: 100%;
  overflow: hidden;
}

.product-img-box a {
  display: block;
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  right: 0.75rem;
  bottom: 0.75rem;
}

.product-img-box img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: var(--transition-normal);
}

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

.product-info {
  padding: .5rem;
  align-content: end;
  flex-direction: column;
  flex-grow: 1;
  display: flex;
  justify-content: space-between;
}

.product-name {
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.4rem;
  line-height: 1.3;
}

.product-price-box {
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.product-price-current {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-dark);
}

.product-price-original {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  text-decoration: line-through;
  color: var(--text-gray-500);
}

.product-add-cart {
  width: 100%;
  padding-block: 0.75rem;
  border-radius: var(--border-radius-sm);
  background-color: #2563eb;
  color: var(--text-white);
  border: none;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.8rem;
  cursor: pointer;
  margin-top: auto;
  transition: var(--transition-fast);
}

.product-add-cart:hover {
  background-color: #1d4ed8;
}

/* --------------------------------------------------------------------------
   6. Promo Ribbon Banner (Redesigned Modern Boxed Card)
   -------------------------------------------------------------------------- */
.promo-section {
  position: relative;
  overflow: hidden;
  padding-block: 4rem;
}

.promo-card {
  position: relative;
  background: linear-gradient(135deg, hsl(220, 25%, 8%) 0%, hsl(220, 30%, 4%) 100%);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 24px;
  padding: 3.5rem;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s ease, border-color 0.4s ease;
}

.promo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 30px 60px rgba(0, 113, 227, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.15);
  border-color: rgba(0, 113, 227, 0.3);
}

/* Floating Radial Neon Glows inside card */
.promo-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  opacity: 0.25;
  transition: opacity 0.5s ease;
}

.promo-card:hover .promo-glow {
  opacity: 0.4;
}

.glow-1 {
  width: 250px;
  height: 250px;
  background: var(--color-primary);
  top: -100px;
  right: -50px;
}

.glow-2 {
  width: 300px;
  height: 300px;
  background: var(--color-purple);
  bottom: -150px;
  left: -50px;
}

/* Card Content Grid */
.promo-card-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 3;
}

.promo-content-side {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.promo-tag {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--color-primary);
  background: rgba(0, 113, 227, 0.1);
  padding: 0.4rem 1rem;
  border-radius: 50px;
  margin-bottom: 1.2rem;
  border: 1px solid rgba(0, 113, 227, 0.2);
  display: inline-block;
}

.promo-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.2rem;
  color: var(--text-white);
  background: linear-gradient(135deg, #ffffff 60%, rgba(255, 255, 255, 0.7));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.promo-desc {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-gray-300);
  margin-bottom: 2rem;
  max-width: 540px;
}

.promo-btn {
  padding: 0.9rem 2.2rem;
  border-radius: 50px;
  font-weight: 600;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.promo-btn:hover {
  transform: scale(1.03);
  box-shadow: 0 0 20px rgba(0, 113, 227, 0.4);
}

/* Visual Side: Badge and Image */
.promo-visual-side {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  position: relative;
}

/* Modernized Rotating Dashed Badge */
.modern-badge-wrapper {
  position: relative;
  width: 120px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.modern-badge-dashed {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px dashed var(--color-primary);
  animation: spin-dashed 25s linear infinite;
}

@keyframes spin-dashed {
  100% { transform: rotate(360deg); }
}

.modern-badge-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100px;
  height: 100px;
  background: radial-gradient(circle, hsl(220, 25%, 12%) 0%, hsl(220, 25%, 6%) 100%);
  border-radius: 50%;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.modern-badge-inner .badge-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--text-gray-500);
}

.modern-badge-inner .badge-num {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  background: var(--gradient-neon);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.1;
  margin-block: 2px;
}

/* Premium Image Container */
.promo-image-container {
  max-width: 240px;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
  transform: rotate(2deg);
  transition: transform 0.4s ease, border-color 0.4s ease;
}

.promo-card:hover .promo-image-container {
  transform: rotate(0deg) scale(1.03);
  border-color: rgba(0, 113, 227, 0.4);
}

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

/* Responsive Rules for Promo Card */
@media (max-width: 991px) {
  .promo-card-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .promo-content-side {
    align-items: center;
    text-align: center;
  }
  .promo-desc {
    margin-inline: auto;
  }
  .promo-visual-side {
    justify-content: center;
  }
}

@media (max-width: 576px) {
  .promo-card {
    padding: 2.5rem 1.5rem;
  }
  .promo-visual-side {
    flex-direction: column-reverse;
    gap: 1.5rem;
  }
  .promo-image-container {
    max-width: 200px;
  }
}

/* --------------------------------------------------------------------------
   7. Best Sellers Horizontal Slider
   -------------------------------------------------------------------------- */
.bestsellers-slider-wrapper {
  position: relative;
}

.slider-arrow-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--text-white);
  border: 1px solid #006eff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  z-index: 10;
  color: var(--text-dark);
  transition: var(--transition-fast);
}

.slider-arrow-btn:hover {
  background-color: var(--color-primary);
  color: var(--text-white);
  border-color: var(--color-primary);
}

.slider-arrow-prev {
  left: -22px;
}

.slider-arrow-next {
  right: -22px;
}

.slider-viewport {
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none; /* Firefox */
}

.slider-viewport::-webkit-scrollbar {
  display: none; /* Safari and Chrome */
}

.slider-track {
  display: flex;
  gap: 1.8rem;
}

.slider-track .product-card {
  flex: 0 0 calc(25% - 1.35rem);
  min-width: 250px;
}

/* --------------------------------------------------------------------------
   8. Reviews / Testimonials - Premium Modern Design
   -------------------------------------------------------------------------- */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.review-card {
  background-color: rgba(255, 255, 255, 0.02);
  border: var(--border-subtle);
  border-radius: var(--border-radius-md);
  padding: 2.2rem;
  transition: var(--transition-normal);
}

.review-card:hover {
  background-color: rgba(255, 255, 255, 0.04);
  transform: translateY(-4px);
}

.review-profile {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1.2rem;
}

.review-avatar-placeholder {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--gradient-neon);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--text-white);
}

.review-name {
  font-size: 0.95rem;
  font-weight: 700;
}

.review-stars {
  color: #ffcc00;
  font-size: 0.8rem;
}

.review-text {
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--text-gray-300);
}

.section-subtitle-badge {
  display: inline-flex;
  align-items: center;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--color-primary);
  background: rgba(0, 113, 227, 0.08);
  border: 1px solid rgba(0, 113, 227, 0.15);
  padding: 0.3rem 0.9rem;
  border-radius: 50px;
  margin-bottom: 0.75rem;
}

/* ==========================================================================
   Modern Reviews Section (Premium Grid / Native Scroll Snap)
   ========================================================================== */
.modern-reviews-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.5rem 0 0rem;
  overflow: hidden; /* For mobile bleeding edges */
}

.modern-reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem;
  padding: 1rem;
  align-items: stretch;
}

.modern-review-card {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 20px;
  padding: 2.5rem 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03), inset 0 0 0 1px rgba(255, 255, 255, 0.8);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  height: auto;
}

.modern-review-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0, 113, 227, 0.1), inset 0 0 0 1px rgba(255, 255, 255, 0.9);
  border-color: rgba(0, 113, 227, 0.2);
}

.modern-quote-bg {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 5rem;
  color: rgba(0, 113, 227, 0.04);
  pointer-events: none;
  transition: all 0.4s ease;
}

.modern-review-card:hover .modern-quote-bg {
  color: rgba(0, 113, 227, 0.08);
  transform: scale(1.1) rotate(5deg);
}

.modern-review-stars {
  display: inline-flex;
  gap: 0.25rem;
  background: linear-gradient(135deg, #fffbeb, #fef3c7);
  padding: 0.4rem 0.8rem;
  border-radius: 50px;
  border: 1px solid rgba(245, 158, 11, 0.2);
  color: #f59e0b;
  font-size: 0.95rem;
  margin-bottom: 1.2rem;
  width: fit-content;
  box-shadow: 0 2px 10px rgba(245, 158, 11, 0.1);
}

.modern-review-text {
  font-size: 0.98rem;
  line-height: 1.7;
  color: #4b5563;
  font-style: italic;
  margin-bottom: 1.5rem;
  flex: 1;
  position: relative;
  z-index: 1;
}

.modern-review-author {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  margin-top: auto;
}

.modern-review-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  color: #ffffff;
  flex-shrink: 0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  border: 2px solid #ffffff;
}

.modern-review-meta {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.modern-review-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: #111827;
  margin: 0;
  font-family: var(--font-heading);
}

.modern-review-verified {
  font-size: 0.7rem;
  color: #059669;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-weight: 600;
  background: rgba(5, 150, 105, 0.1);
  padding: 0.15rem 0.6rem;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Insta desktop-only helper */
.insta-desktop-only {
  display: block;
}

/* --------------------------------------------------------------------------
   9. Instagram Gallery
   -------------------------------------------------------------------------- */
.insta-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.8rem;
}

.insta-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--border-radius-sm);
  aspect-ratio: 1 / 1;
  display: block;
}

.insta-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-normal);
}

.insta-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 113, 227, 0.4);
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-white);
  font-size: 1.5rem;
  transition: var(--transition-normal);
  cursor: pointer;
}

.insta-item:hover img {
  transform: scale(1.08);
}

.insta-item:hover .insta-overlay {
  opacity: 1;
}

/* --------------------------------------------------------------------------
   10. Newsletter & Footer
   -------------------------------------------------------------------------- */
.newsletter-ribbon {
  background-color: #000000;
  border-block: var(--border-subtle);
  padding-block: 3rem;
}

.newsletter-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: center;
}

.newsletter-text h3 {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 0.3rem;
  text-transform: uppercase;
}

.newsletter-input-box {
  display: flex;
  gap: 0.6rem;
}

.newsletter-input-box input {
  flex-grow: 1;
  background-color: rgba(0, 0, 0, 0.3);
  border: var(--border-subtle);
  border-radius: var(--border-radius-full);
  color: var(--text-white);
  padding: 0.8rem 1.5rem;
  outline: none;
  font-family: var(--font-body);
}

.newsletter-input-box input:focus {
  border-color: var(--color-primary);
}

.newsletter-input-box button {
  padding-inline: 2rem;
}

/* Floating WhatsApp Widget - Modern */
.whatsapp-floating-widget {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.4), 0 0 0 0 rgba(37, 211, 102, 0.5);
  z-index: 999;
  font-size: 1.8rem;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  animation: wa-pulse 2.5s ease-in-out infinite;
}

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

.whatsapp-floating-widget:active {
  transform: scale(0.95);
}

@keyframes wa-pulse {
  0%, 100% {
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.4), 0 0 0 0 rgba(37, 211, 102, 0.35);
  }
  50% {
    box-shadow: 0 6px 28px rgba(37, 211, 102, 0.5), 0 0 0 14px rgba(37, 211, 102, 0);
  }
}

/* WhatsApp floating tooltip */
.wa-float-tooltip {
  position: absolute;
  right: calc(100% + 16px);
  top: 50%;
  transform: translateY(-50%);
  background: #1a1a2e;
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 10px;
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.wa-float-tooltip::after {
  content: '';
  position: absolute;
  right: -6px;
  top: 50%;
  transform: translateY(-50%);
  border: 6px solid transparent;
  border-left-color: #1a1a2e;
}

.whatsapp-floating-widget:hover .wa-float-tooltip {
  opacity: 1;
  right: calc(100% + 18px);
}

/* WhatsApp widget responsive */
@media (max-width: 576px) {
  .whatsapp-floating-widget {
    bottom: 20px;
    right: 20px;
    width: 52px;
    height: 52px;
    font-size: 1.5rem;
  }
  .wa-float-tooltip {
    display: none;
  }
}

/* ── Scroll to Top Button ── */
.scroll-top-btn {
  position: fixed;
  bottom: 100px;
  right: 28px;
  z-index: 9998;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  color: #fff;
  border: none;
  font-size: 1.3rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 16px rgba(0, 113, 227, 0.35);
  pointer-events: none;
}

.scroll-top-btn.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.scroll-top-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 113, 227, 0.5);
}

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

@media (max-width: 576px) {
  .scroll-top-btn {
    bottom: 84px;
    right: 20px;
    width: 40px;
    height: 40px;
    font-size: 1.1rem;
  }
}

/* Footer Section */
.site-footer {
  background-color: #000;
  border-top: var(--border-subtle);
  margin-top: 0 !important;
  padding-block-start: 3rem;
  padding-block-end: 2rem;
}

.footer-main-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.bank-transfer-logo-svg {
  border-radius: 4px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  cursor: pointer;
  transition: transform var(--transition-fast), filter var(--transition-fast);
}

.bank-transfer-logo-svg:hover {
  transform: translateY(-2px);
  filter: brightness(1.1);
}

.footer-brand-column p {
  margin-top: 1rem;
  font-size: 0.85rem;
  line-height: 1.6;
  max-width: 280px;
  color: #ffffff !important;
}

.footer-social-row {
  display: flex;
  gap: 0.8rem;
  margin-top: 1.5rem;
}

.footer-social-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
  color: #ffffff !important;
  border: none;
}

.footer-social-btn i {
  color: #ffffff !important;
  font-size: 1.1rem;
}

.footer-social-btn.social-circle--fb {
  background-color: #1877F2;
}
.footer-social-btn.social-circle--fb:hover {
  background-color: #166fe5;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(24,119,242,0.5);
}

.footer-social-btn.social-circle--ig {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
}
.footer-social-btn.social-circle--ig:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(214,36,159,0.5);
}

.footer-social-btn.social-circle--tt {
  background-color: #000;
  border: 1.5px solid rgba(255,255,255,0.25);
}
.footer-social-btn.social-circle--tt:hover {
  background-color: #1a1a1a;
  border-color: rgba(255,255,255,0.5);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.4);
}

.footer-social-btn.social-circle--wa {
  background-color: #25D366;
}
.footer-social-btn.social-circle--wa:hover {
  background-color: #20bd57;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(37,211,102,0.5);
}

.footer-social-btn:hover i {
  color: #ffffff !important;
}

.footer-column h4 {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1.8rem;
  color: var(--text-white);
}

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

.footer-links-list a {
  font-size: 0.88rem;
  color: var(--text-gray-300);
  transition: all 0.3s ease;
  display: inline-block;
}

.footer-links-list a:hover {
  color: var(--color-primary);
  transform: translateX(5px);
}

.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-size: 0.85rem;
}

.footer-contact-item {
  display: flex;
  gap: 0.8rem;
}

.footer-contact-item svg {
  color: var(--color-primary);
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-contact-icon {
  color: #ffffff !important;
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: 3px;
}

.footer-contact-text p {
  margin-bottom: 0.2rem;
  color: #ffffff !important;
}

.logo.footer-logo img {
  height: 50px !important;
}

.footer-bottom-bar {
  border-top: var(--border-subtle);
  padding-top: 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-gray-500);
}

.zoro9x-link {
  color: #4285f4;
  text-decoration: none;
  font-weight: 600;
  transition: opacity 0.2s ease;
}

.zoro9x-link:hover {
  opacity: 0.8;
  text-decoration: none;
}

.payment-methods-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.payment-icon-svg {
  border-radius: 4px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  transition: transform var(--transition-fast), filter var(--transition-fast);
  cursor: pointer;
}

.payment-icon-svg:hover {
  transform: translateY(-3px) scale(1.05);
  filter: brightness(1.1);
}

/* --------------------------------------------------------------------------
   11. Super Admin Panel UI Layout
   -------------------------------------------------------------------------- */
.admin-body {
  background-color: var(--bg-dark-900);
  color: var(--text-gray-300);
  font-family: var(--font-body);
}

.admin-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  min-block-size: 100vh;
}

.admin-sidebar {
  background-color: var(--bg-dark-800);
  border-right: var(--border-subtle);
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.admin-sidebar-menu {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.admin-sidebar-menu a {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.8rem 1rem;
  border-radius: var(--border-radius-sm);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--text-gray-300);
}

.admin-sidebar-menu a:hover, .admin-sidebar-menu li.active a {
  background-color: rgba(0, 113, 227, 0.15);
  color: var(--color-primary);
}

.admin-content {
  padding: 3rem;
  overflow-y: auto;
  max-block-size: 100vh;
}

.admin-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2.5rem;
  border-bottom: var(--border-subtle);
  padding-bottom: 1.5rem;
}

.admin-header h1 {
  font-size: 2rem;
  font-weight: 800;
}

.admin-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.admin-stat-card {
  background-color: var(--bg-dark-800);
  border: var(--border-subtle);
  border-radius: var(--border-radius-md);
  padding: 1.8rem;
  position: relative;
}

.admin-stat-card h3 {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: 0.2rem;
}

.admin-stat-card p {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-gray-500);
}

.admin-stat-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
}

.admin-stat-value {
  font-size: 2rem;
  font-weight: 800;
  color: #111827;
  line-height: 1.2;
}

.admin-stat-label {
  font-size: 0.78rem;
  color: #6b7280;
  font-weight: 500;
  margin-top: 0.15rem;
}

.admin-card {
  background-color: var(--bg-dark-800);
  border: var(--border-subtle);
  border-radius: var(--border-radius-md);
  padding: 2.2rem;
  margin-bottom: 2rem;
}

.admin-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.8rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 1rem;
}

.admin-card h2 {
  font-size: 1.3rem;
  font-weight: 700;
}

/* Forms in Admin Panel */
.admin-form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

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

.admin-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.admin-form label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-gray-300);
  text-transform: uppercase;
}

.admin-form input, .admin-form select, .admin-form textarea {
  background-color: rgba(0, 0, 0, 0.3);
  border: var(--border-subtle);
  border-radius: var(--border-radius-sm);
  color: var(--text-white);
  padding: 0.8rem 1rem;
  font-family: var(--font-body);
}

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

.admin-checkbox-row {
  display: flex;
  gap: 2rem;
  margin-block: 0.5rem;
}

.admin-checkbox-group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.admin-checkbox-group input {
  width: auto;
  cursor: pointer;
}

/* Tables in Admin Panel */
.admin-table-wrapper {
  overflow-x: auto;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.88rem;
}

.admin-table th, .admin-table td {
  padding: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.admin-table th {
  font-family: var(--font-heading);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.75rem;
  color: var(--text-gray-500);
}

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

.admin-table img {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid rgba(0, 0, 0, 0.06);
  background: #f8f9fa;
  transition: transform 0.2s ease;
}

.admin-table img:hover {
  transform: scale(1.15);
}

.admin-badge {
  display: inline-block;
  padding: 0.15rem 0.5rem;
  font-size: 0.7rem;
  font-weight: 700;
  border-radius: 4px;
}

.admin-badge-blue {
  background-color: rgba(0, 113, 227, 0.15);
  color: var(--color-primary);
}

.admin-badge-purple {
  background-color: rgba(134, 37, 232, 0.15);
  color: var(--color-purple);
}

.admin-btn-delete {
  background: transparent;
  border: none;
  cursor: pointer;
  color: #ff3b30;
}

.admin-btn-delete:hover {
  text-decoration: underline;
}

.admin-alert {
  padding: 1rem 1.5rem;
  border-radius: var(--border-radius-sm);
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
}

.admin-alert-success {
  background-color: rgba(52, 199, 89, 0.15);
  border: 1px solid rgba(52, 199, 89, 0.3);
  color: #34c759;
}

.admin-alert-error {
  background-color: rgba(255, 59, 48, 0.15);
  border: 1px solid rgba(255, 59, 48, 0.3);
  color: #ff3b30;
}

/* ── Admin: Repair Services Cards ── */
.repair-services-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.repair-services-toolbar-left h4 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: #111827;
}

.repair-services-toolbar-left p {
  margin: 0.25rem 0 0;
  font-size: 0.8rem;
  color: #6b7280;
  max-width: 500px;
}

.admin-form .repair-services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.admin-form .repair-service-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 1.25rem;
  position: relative;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  display: block;
  text-align: left;
  cursor: default;
}

.admin-form .repair-service-card:hover {
  border-color: #bfdbfe;
  box-shadow: 0 4px 16px rgba(0, 113, 227, 0.08);
  transform: none;
  background: #fff;
}

.admin-form .repair-service-card::after {
  display: none;
}

.admin-form .repair-service-card i {
  font-size: inherit;
  color: inherit;
}

.admin-form .repair-service-card span {
  font-size: inherit;
  font-weight: inherit;
  color: inherit;
}

.admin-form .repair-service-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.admin-form .repair-service-card-icon-preview {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, #eff6ff, #dbeafe);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--color-primary);
  overflow: hidden;
}

.admin-form .repair-service-card-icon-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.admin-form .repair-service-card-handle {
  color: #d1d5db;
  cursor: grab;
  font-size: 1.2rem;
  padding: 0.2rem;
  transition: color 0.2s ease;
}

.admin-form .repair-service-card-handle:hover {
  color: #9ca3af;
}

.admin-form .repair-service-card-body {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.rs-field {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.rs-field label {
  font-size: 0.75rem;
  font-weight: 700;
  color: #374151;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.rs-field-hint {
  font-weight: 400;
  text-transform: none;
  color: #9ca3af;
  letter-spacing: 0;
}

.rs-field input[type="text"] {
  width: 100%;
  padding: 0.6rem 0.75rem;
  font-size: 0.88rem;
  font-family: inherit;
  color: #111827;
  background: #f9fafb;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  box-sizing: border-box;
}

.rs-field input[type="text"]:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.1);
  background: #fff;
}

.rs-icon-preview-row {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-block-start: 0.3rem;
}

.rs-icon-preview-badge {
  width: 28px;
  height: 28px;
  background: #f3f4f6;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--color-primary);
  border: 1px solid #e5e7eb;
}

.rs-icon-hint {
  font-size: 0.7rem;
  color: #9ca3af;
}

.rs-file-wrap {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.rs-file-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.85rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: #374151;
  background: #f3f4f6;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.rs-file-btn:hover {
  background: #e5e7eb;
  border-color: #9ca3af;
}

.rs-file-name {
  font-size: 0.75rem;
  color: #9ca3af;
  max-width: 140px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rs-file-clear-btn {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid #fecaca;
  background: #fef2f2;
  color: #dc2626;
  font-size: 0.85rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.rs-file-clear-btn:hover {
  background: #dc2626;
  color: #fff;
  border-color: #dc2626;
}

.rs-current-icon {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-block-start: 0.4rem;
  padding: 0.35rem 0.65rem;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 8px;
  font-size: 0.72rem;
  color: #059669;
  position: relative;
  width: fit-content;
}

.rs-current-icon img {
  width: 26px;
  height: 26px;
  object-fit: cover;
  border-radius: 4px;
}

.rs-remove-icon-btn {
  background: none;
  border: none;
  color: #dc2626;
  font-size: 1.1rem;
  cursor: pointer;
  padding: 0;
  line-height: 1;
  margin-inline-start: 0.25rem;
}

.admin-form .repair-service-remove-btn {
  position: absolute;
  top: 0.6rem;
  right: 0.6rem;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid #fecaca;
  background: #fef2f2;
  color: #dc2626;
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  opacity: 0;
  padding: 0;
}

.admin-form .repair-service-card:hover .repair-service-remove-btn {
  opacity: 1;
}

.admin-form .repair-service-remove-btn:hover {
  background: #dc2626;
  color: #fff;
  border-color: #dc2626;
}

.repair-services-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding-block-start: 0.5rem;
}

/* --------------------------------------------------------------------------
   12. Responsive Breakpoints
   -------------------------------------------------------------------------- */
@media (max-width: 1100px) {
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .category-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 991px) {
  .hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
  }
  
  .hero-slider {
    width: 100%;
  }
  
  .hero-slide {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-block: 6rem 4rem;
  }
  
  .hero-slide::before {
    background-position: center center;
    background-size: cover;
  }
  
  .hero-slide::after {
    background: linear-gradient(180deg, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.75) 100%);
  }
  
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 1.5rem;
  }
  
  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1rem 0;
    max-width: 600px;
    margin: 0 auto;
  }
  
  .hero-title {
    font-size: clamp(2.6rem, 9cqi, 3.6rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
  }
  
  .hero-badges {
    justify-content: center;
    gap: 1.2rem;
  }
  
  .hero-ctas {
    justify-content: center;
  }
  
  .hero-radial-glow {
    display: none;
  }
  
  .hero-circle-accent {
    display: none;
  }
  
  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  
  .trust-item {
    padding: 1.2rem 1rem;
    flex-direction: column;
    text-align: center;
    gap: 0.8rem;
  }
  
  .trust-icon-box {
    min-width: 48px;
    height: 48px;
  }
  
  .trust-icon-box svg {
    width: 22px;
    height: 22px;
  }
  
  .newsletter-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .footer-main-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    text-align: center;
  }
  
  .footer-brand-column {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .footer-brand-column p {
    max-width: 100%;
    text-align: center;
  }
  
  .footer-social-row {
    justify-content: center;
  }
  
  .footer-column {
    text-align: center;
  }
  
  .footer-links-list {
    align-items: center;
  }
  
  .footer-contact-info {
    align-items: center;
  }
  
  .footer-contact-item {
    justify-content: center;
    text-align: center;
  }
  
  .payment-methods-row {
    justify-content: center;
    flex-wrap: wrap;
  }
  
  .footer-bottom-bar {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  
  .admin-layout {
    grid-template-columns: 1fr;
  }

  /* Sidebar off-canvas handled by mobile hamburger (see admin mobile section below) */

  .promo-title {
    font-size: clamp(1.6rem, 4cqi, 2.2rem);
  }
  
  .hero-slide {
    padding-block: 5rem 3rem;
  }

  /* ── 768px responsive refinements ── */
  .section-padding {
    padding-block: 2.2rem;
  }

  .section-title-underline {
    font-size: 1.4rem;
  }

  .category-grid {
    gap: 1rem;
  }

  .nav-icons {
    gap: 0.7rem;
  }

  .shop-sidebar {
    padding: 1.5rem 1.2rem;
  }

  .product-core-grid {
    padding-inline: 0;
  }

  .favorites-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .announcement-info {
    display: none;
  }
  
  .announcement-bar .container {
    justify-content: center;
  }
  
  .mobile-menu-btn {
    display: flex;
  }
  
  /* ── Full-Screen Mobile Menu Overlay ── */
  .nav-menu {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100dvh;
    height: -webkit-fill-available;
    background: rgba(0, 0, 0, 0.92);
    backdrop-filter: blur(30px) saturate(1.5);
    -webkit-backdrop-filter: blur(30px) saturate(1.5);
    z-index: 199999;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 5rem 2rem 1.5rem;
    overflow-y: auto;
    overflow-x: hidden;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease,
                visibility 0.3s ease;
    margin: 0;
    border: none;
    box-shadow: none;
    list-style: none;
    -webkit-overflow-scrolling: touch;
  }
  
  .nav-menu.active {
    opacity: 1;
    visibility: visible;
  }

  /* Dark blue glow in menu */
  .nav-menu::before {
    content: '';
    position: fixed;
    top: -20%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 80, 255, 0.08) 0%, transparent 70%);
    pointer-events: none;
    z-index: -1;
  }
  
  /* Mobile menu close button area */
  .nav-menu .mobile-menu-close-area {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding-bottom: 1.2rem;
    margin-bottom: 0.8rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    position: relative;
    z-index: 1;
  }

  .nav-menu .mobile-menu-close-area .menu-brand {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--text-white);
    letter-spacing: -0.5px;
  }

  .nav-menu .mobile-menu-close-area .menu-brand span {
    color: var(--color-primary);
  }

  .nav-menu .mobile-menu-close-btn {
    background: rgba(255, 255, 255, 0.06);
    border: none;
    color: var(--text-gray-300);
    width: 40px;
    height: 40px;
    border-radius: 12px;
    font-size: 1.3rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
  }

  .nav-menu .mobile-menu-close-btn:hover {
    background: rgba(255, 255, 255, 0.12);
    color: var(--text-white);
  }
  
  .nav-menu a {
    padding: 0.85rem 0;
    font-size: 1.05rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-gray-100);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    width: 100%;
    transition: all 0.2s ease;
    position: relative;
    z-index: 1;
  }

  .nav-menu a:active {
    color: var(--color-primary);
    transform: translateX(6px);
  }

  .nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-neon);
    transition: width 0.3s ease;
    border-radius: 2px;
  }

  .nav-menu a:hover::after,
  .nav-menu a.active::after {
    width: 100%;
  }

  /* Animate menu items staggered */
  .nav-menu.active li {
    opacity: 0;
    animation: menuItemFadeIn 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  }

  .nav-menu.active li:nth-child(1) { animation-delay: 0.03s; }
  .nav-menu.active li:nth-child(2) { animation-delay: 0.06s; }
  .nav-menu.active li:nth-child(3) { animation-delay: 0.09s; }
  .nav-menu.active li:nth-child(4) { animation-delay: 0.12s; }
  .nav-menu.active li:nth-child(5) { animation-delay: 0.15s; }
  .nav-menu.active li:nth-child(6) { animation-delay: 0.18s; }

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

  /* Menu divider with social links */
  .nav-menu .mobile-menu-footer {
    margin-top: 1.2rem;
    padding-top: 1rem;
    width: 100%;
    text-align: center;
    position: relative;
    z-index: 1;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
  }

  .nav-menu .mobile-menu-footer .menu-social-text {
    font-size: 0.62rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-gray-500);
    margin-bottom: 0.7rem;
  }

  .nav-menu .mobile-menu-footer .menu-social-row {
    display: flex;
    gap: 0.8rem;
    justify-content: center;
  }

  .nav-menu .mobile-menu-footer .menu-social-row a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-gray-400);
    font-size: 1.1rem;
    transition: all 0.25s ease;
    border-bottom: none;
    padding: 0;
  }

  .nav-menu .mobile-menu-footer .menu-social-row a:hover {
    background: rgba(0, 113, 227, 0.15);
    border-color: rgba(0, 113, 227, 0.3);
    color: var(--color-primary);
    transform: translateY(-2px);
  }

  /* ── Mobile Megamenu ── */
  .nav-menu li.nav-dropdown {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
  }
  
  .megamenu-wrapper {
    position: static;
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: none;
    padding: 1rem 0.5rem;
    opacity: 1;
    visibility: visible;
    transform: none !important;
    display: none;
    border-radius: 12px;
    margin-top: 0.3rem;
    margin-bottom: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    width: 100%;
    box-sizing: border-box;
  }

  .megamenu-wrapper.mobile-open {
    display: block;
    animation: menuFadeIn 0.25s ease both;
  }

  @keyframes menuFadeIn {
    from { opacity: 0; transform: translateY(-6px); }
    to { opacity: 1; transform: translateY(0); }
  }
  
  .megamenu-grid {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }
  
  .megamenu-category-title {
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
    padding-bottom: 0.3rem;
    color: var(--color-primary) !important;
    font-weight: 700;
    letter-spacing: 0.3px;
    border-bottom: none !important;
    text-transform: uppercase;
  }
  
  .megamenu-subcategory-link {
    font-size: 0.82rem;
    padding: 0.4rem 0 !important;
    border-bottom: none !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    font-weight: 400 !important;
    color: var(--text-gray-400) !important;
  }

  .megamenu-subcategory-link:hover {
    color: var(--text-white) !important;
    transform: translateX(4px);
  }
  
  .megamenu-subcategory-link .sub-arrow {
    display: none;
  }
  
  /* Hero full-screen on mobile */
  .hero-section {
    min-height: 100dvh;
    display: flex;
    align-items: center;
  }
  
  .hero-slider {
    width: 100%;
  }
  
  .hero-slide {
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-block: 5.5rem 3.5rem;
  }
  
  .hero-slide::before {
    background-position: center center;
    background-size: cover;
  }
  
  .hero-slide::after {
    background: linear-gradient(180deg, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.8) 100%);
  }
  
  .hero-content {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 0;
    max-width: 520px;
    margin: 0 auto;
  }
  
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 1.2rem;
  }
  
  .hero-title {
    font-size: clamp(2.2rem, 7vw, 2.8rem);
    line-height: 1.1;
    letter-spacing: -1px;
    margin-bottom: 1.4rem;
  }
  
  .hero-badges {
    justify-content: center;
    gap: 0.8rem;
    margin-bottom: 1.8rem;
  }
  
  .hero-ctas {
    justify-content: center;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.8rem;
  }
  
  .hero-ctas .btn {
    min-width: 140px;
    font-size: 0.8rem;
    padding-block: 0.7rem;
    padding-inline: 1.2rem;
  }
  
  .hero-radial-glow,
  .hero-circle-accent {
    display: none;
  }
  
  .hero-slider-dots {
    bottom: 1.5rem;
  }
  
  .hero-slider-dot {
    width: 14px;
    height: 14px;
  }
  
  .category-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }
  
  .category-card {
    padding: 1.2rem 0.8rem;
  }
  
  .category-card h3 {
    font-size: 0.75rem;
  }
  
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  
  .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.8rem;
    margin-bottom: 1.8rem;
  }
  
  .section-title-underline {
    font-size: 1.3rem;
  }
  
  .section-padding {
    padding-block: 2rem;
    padding-bottom: 0px;
  }
  
  .reviews-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .modern-reviews-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    gap: 1rem;
    padding: 1rem 0.5rem 2rem; /* bottom padding for shadow */
    margin: 0 -0.5rem;
    align-items: stretch;
  }

  .modern-reviews-grid::-webkit-scrollbar {
    display: none;
  }

  .modern-review-card {
    scroll-snap-align: center;
    min-width: calc(100% - 2rem);
    padding: 1.8rem 1.4rem;
  }
  
  .modern-quote-bg {
    font-size: 3.5rem;
    top: 10px;
    right: 15px;
  }
  
  .modern-review-text {
    font-size: 0.92rem;
  }

  .insta-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
  }

  .insta-desktop-only {
    display: none;
  }
  
  .footer-main-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    text-align: center;
  }
  
  .footer-brand-column {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .footer-brand-column p {
    max-width: 100%;
    text-align: center;
  }
  
  .footer-social-row {
    justify-content: center;
  }
  
  .footer-column {
    text-align: center;
  }
  
  .footer-links-list {
    align-items: center;
  }
  
  .footer-contact-info {
    align-items: center;
  }
  
  .footer-contact-item {
    justify-content: center;
    text-align: center;
  }
  
  .payment-methods-row {
    justify-content: center;
    flex-wrap: wrap;
  }
  
  .footer-bottom-bar {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  
  .admin-form-row {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }
  
  .slider-track .product-card {
    flex: 0 0 calc(50% - 0.9rem);
    min-width: 200px;
  }
  
  .slider-arrow-btn {
    width: 36px;
    height: 36px;
  }
  
  .slider-arrow-prev {
    left: -12px;
  }
  
  .slider-arrow-next {
    right: -12px;
  }
  
  .trust-ribbon {
    padding-block: 2rem;
  }
  
  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  
  .trust-item {
    padding: 1.2rem 1rem;
    flex-direction: column;
    text-align: center;
    gap: 0.8rem;
    border-radius: 14px;
  }
  
  .trust-icon-box {
    min-width: 48px;
    height: 48px;
  }
  
  .trust-text h4 {
    font-size: 0.85rem;
  }
  
  .promo-section {
    padding-block: 2rem;
  }
  
  .newsletter-ribbon {
    padding-block: 2rem;
  }
  
  .hero-circle-accent {
    display: none;
  }

  /* ── Improved tablet header ── */
  .nav-container {
    block-size: 4.5rem;
    padding-inline: 1rem;
  }
  
  .nav-icons {
    gap: 0.8rem;
  }

  .nav-icon-btn {
    font-size: 1.4rem;
    padding: 0.2rem;
  }

  .nav-icon-btn i {
    font-size: 1.45rem;
  }
  
  .logo img {
    height: 35px;
    width: auto;
  }

  /* Mobile header - no backdrop-filter to avoid Safari stacking issues with fixed nav-menu */
  .main-header {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .main-header.scrolled {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}

@media (max-width: 480px) {
  .container {
    inline-size: 100%;
    padding-inline: 1rem;
  }

  .announcement-bar {
    display: none;
  }

  /* ── Slimmer, more refined mobile header ── */
  .main-header {
    border-bottom-color: rgba(255, 255, 255, 0.04);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .main-header.scrolled {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  
  .nav-container {
    block-size: 3.75rem;
    padding-inline: 1rem;
  }
  
  /* Reorder: hamburger left, logo after it, icons right */
  .mobile-menu-btn {
    order: 0;
  }
  
  .logo {
    order: 1;
    margin-inline-end: auto;
  }
  
  nav.desktop-nav {
    order: 2;
    position: absolute;
    width: 0;
    height: 0;
    overflow: visible;
  }
  
  .nav-icons {
    order: 3;
  }
  
  .logo img {
    height: 35px;
    width: auto;
  }
  
  .nav-icons {
    gap: 0.5rem;
  }
  
  .nav-icon-btn {
    font-size: 1.3rem;
    padding: 0.3rem;
    position: relative;
  }

  /* Larger touch targets for icons */
  .nav-icon-btn::before {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 50%;
  }

  /* Mobile cart badge positioning */
  .cart-badge {
    inset-block-start: -6px;
    inset-inline-end: -4px;
    width: 18px;
    height: 18px;
    font-size: 0.6rem;
  }

  /* Better user icon sizing for mobile */
  .nav-icon-btn i {
    font-size: 1.35rem;
  }

  /* Tighter mobile menu fit on small screens */
  .nav-menu {
    padding: 3.5rem 1.5rem 1.5rem;
    background: rgba(0, 0, 0, 0.70);
    backdrop-filter: blur(15px) saturate(1.4);
    -webkit-backdrop-filter: blur(25px) saturate(1.4);
  }

  .nav-menu a {
    padding: 0.7rem 0;
    font-size: 0.95rem;
  }

  .nav-menu .mobile-menu-close-area {
    padding-bottom: 0.8rem;
    margin-bottom: 0.5rem;
  }

  .nav-menu .mobile-menu-close-area .menu-brand {
    font-size: 1rem;
  }

  .nav-menu .mobile-menu-close-btn {
    width: 34px;
    height: 34px;
    font-size: 1.1rem;
    border-radius: 10px;
  }

  .nav-menu .mobile-menu-footer {
    margin-top: 0.8rem;
    padding-top: 0.8rem;
  }

  .nav-menu .mobile-menu-footer .menu-social-row a {
    width: 34px;
    height: 34px;
    font-size: 1rem;
  }
  
  .category-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }
  
  .category-card {
    padding: 1rem 0.5rem;
    aspect-ratio: auto;
    min-height: 120px;
  }
  
  .category-img-box {
    height: 80px;
    margin-bottom: 0.6rem;
  }
  
  .category-card h3 {
    font-size: 0.7rem;
  }
  
  .product-grid {
    gap: 1rem;
  }
  
  .product-info {
    padding: 0.75rem 0.6rem;
  }
  
  .product-name {
    font-size: 0.80rem;
  }
  
  .product-price-current {
    font-size: 0.95rem;
  }
  
  .product-add-cart {
    padding-block: 0.65rem;
    font-size: 0.75rem;
  }
  
  .hero-slide {
    padding-block: 5rem 3rem;
    min-height: 100dvh;
  }
  
  .hero-slide::before {
    background-position: center center;
    background-size: cover;
  }
  
  .hero-slide::after {
    background: linear-gradient(180deg, rgba(0,0,0,0.25) 0%, rgba(0,0,0,0.85) 100%);
  }
  
  .hero-title {
    font-size: 2.2rem;
    letter-spacing: -0.5px;
    line-height: 1.1;
    margin-bottom: 1.2rem;
  }
  
  .hero-badges {
    gap: 0.6rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
  }
  
  .hero-badge-item {
    font-size: 0.8rem;
    gap: 0.35rem;
  }
  
  .hero-badge-item svg,
  .hero-badge-item i {
    font-size: 0.85rem;
  }
  
  .hero-ctas {
    flex-direction: column;
    gap: 0.8rem;
    width: 100%;
    max-width: 300px;
  }
  
  .hero-ctas .btn {
    width: 100%;
    padding-block: 0.7rem;
    font-size: 0.8rem;
  }
  
  .hero-slider-dots {
    bottom: 1.5rem;
  }
  
  .hero-slider-dot {
    width: 14px;
    height: 14px;
  }
  
  .trust-grid {
    gap: 0.75rem;
    grid-template-columns: repeat(2, 1fr);
  }
  
  .trust-item {
    gap: 0.6rem;
    flex-direction: column;
    text-align: center;
    padding: 1rem 0.75rem;
    border-radius: 12px;
  }
  
  .trust-icon-box {
    min-width: 42px;
    height: 42px;
    border-radius: 12px;
  }
  
  .trust-icon-box svg {
    width: 20px;
    height: 20px;
  }
  
  .trust-text h4 {
    font-size: 0.8rem;
  }
  
  .trust-text p {
    font-size: 0.7rem;
  }
  
  .insta-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.4rem;
  }

  .insta-desktop-only {
    display: none;
  }
  
  .newsletter-input-box {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .newsletter-input-box button {
    width: 100%;
  }
  
  .newsletter-text h2 {
    font-size: 1.2rem !important;
  }
  
  .btn {
    padding: 0.75rem 1.2rem;
    font-size: 0.82rem;
  }
  
  /* Improve touch targets */
  .nav-icon-btn {
    font-size: 1.3rem;
  }
  
  .product-badges-wrap {
    top: 8px;
    left: 8px;
    gap: 4px;
  }

  .product-badge-sale {
    font-size: 0.65rem;
    padding: 3px 8px;
    border-radius: 4px;
  }

  .product-discount-badge {
    font-size: 0.68rem;
    padding: 3px 8px;
    border-radius: 4px;
  }

  .product-wishlist-btn {
    width: 36px;
    height: 36px;
  }

  .product-quickview-btn {
    position: absolute;
    bottom: 6px;
    left: 50%;
    top: auto;
    right: auto;
    transform: translateX(-50%) !important;
    width: auto;
    max-width: calc(100% - 16px);
    height: 25px;
    padding: 0 9px;
    border-radius: 20px;
    background: rgba(15, 23, 42, 0.55);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.28);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.16);
    font-size: 0.63rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    white-space: nowrap;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    z-index: 10;
    transition: background-color 0.2s ease, transform 0.15s ease, border-color 0.2s ease;
  }

  .product-quickview-btn .quickview-btn-text {
    display: inline-block;
    line-height: 1;
    font-size: 0.62rem;
    font-weight: 600;
  }

  .product-quickview-btn i {
    font-size: 0.78rem;
    line-height: 1;
  }

  .product-quickview-btn:active {
    background: rgba(0, 113, 227, 0.88);
    color: #ffffff;
    border-color: #0071e3;
    transform: translateX(-50%) scale(0.94) !important;
  }
  
  .promo-card {
    padding: 1.5rem 1rem;
  }
  
  .promo-title {
    font-size: 1.5rem;
  }
  
  .promo-visual-side {
    gap: 1rem;
  }
  
  .modern-badge-wrapper {
    width: 80px;
    height: 80px;
  }
  
  .modern-badge-inner {
    width: 68px;
    height: 68px;
  }
  
  .modern-badge-inner .badge-num {
    font-size: 1.3rem;
  }
  
  .promo-image-container {
    max-width: 150px;
  }
  
  /* Footer mobile 480px */
  .site-footer {
    padding-block-start: 2.5rem;
    padding-block-end: 1.5rem;
  }
  
  .footer-main-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }
  
  .footer-brand-column {
    align-items: center;
  }
  
  .footer-brand-column p {
    max-width: 100%;
    text-align: center;
  }
  
  .footer-social-row {
    justify-content: center;
  }
  
  .footer-column {
    text-align: center;
  }
  
  .footer-column h4 {
    margin-bottom: 1.2rem;
  }
  
  .footer-links-list {
    align-items: center;
  }
  
  .footer-contact-info {
    align-items: center;
  }
  
  .footer-contact-item {
    justify-content: center;
    text-align: center;
  }
  
  .payment-methods-row {
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
  }
  
  .payment-icon-svg {
    width: 55px;
    height: 55px;
  }
  
  .bank-transfer-row {
    display: flex;
    justify-content: center;
  }
  
  .footer-logo img {
    height: 40px !important;
  }
  
  .footer-bottom-bar {
    flex-direction: column;
    gap: 0.8rem;
    text-align: center;
    padding-top: 1.5rem;
    font-size: 0.75rem;
  }

  /* ── Extra 480px responsive refinements ── */
  .section-padding {
    padding-block: 1.8rem;
  }

  .section-title-underline {
    font-size: 1.1rem;
  }

  .hero-section {
    min-height: 90dvh;
  }

  .hero-ctas .btn {
    font-size: 0.75rem;
    padding-block: 0.65rem;
  }

  .shop-page-layout {
    padding-inline: 0;
  }

  .product-card {
    border-radius: 12px;
  }

  .product-img-box {
    border-radius: 12px 12px 0 0;
  }

  .newsletter-ribbon {
    padding-block: 1.8rem;
  }

  .footer-column h4 {
    font-size: 0.85rem;
  }

  .footer-links-list a {
    font-size: 0.8rem;
    padding-block: 0.3rem;
  }
}

/* ==========================================================================
   Storefront Light Theme Overrides & Admin Scope CSS
   ========================================================================== */

/* 1. Reset storefront body to dynamic storefront theme */


/* Ensure all storefront headings are dynamically colored */
h1, h2, h3, h4, h5, h6 {
  color: var(--theme-text-title);
}

/* 2. Retain Dark Theme & White Text for specific sections against light body */
.main-header .logo,
.hero-title,
.trust-text h4,
.newsletter-text h3 {
  color: var(--text-white) !important;
}

.logo{
  display:contents;
}

.nav-menu a,
.nav-icon-btn,
.hero-badge-item,
.trust-text p,
.newsletter-text p {
  color: var(--text-gray-300) !important;
}

.nav-menu a:hover, .nav-menu a.active,
.nav-icon-btn:hover {
  color: var(--text-white) !important;
}

/* 5. Product Grid Image Aspect Ratio - strictly square */
.product-img-box {
  aspect-ratio: 1 / 1;
}

/* 6. Customer Testimonials Reviews Dynamic Theme */
.review-card {
  background-color: hsl(0deg 0% 94.12%);
  border: var(--theme-card-border);
  box-shadow: var(--theme-card-shadow);
}

.review-card:hover {
  background-color: var(--theme-badge-bg);
  transform: translateY(-4px);
}

.review-name {
  color:  hsl(0, 0%, 0%);
}

.review-text {
  color: black;
}

/* 7. Instagram Section header font */
.section-header-centered p {
  color: var(--theme-text) !important;
}

/* 8. Newsletter Ribbon (Reverted to Dark Theme) */
.newsletter-input-box input {
  color: var(--text-white) !important;
}

/* 9. Light Mode rules explicitly for Super Admin panel views */
.admin-body {
  background: linear-gradient(135deg, #f8f9fa 0%, #edf1f4 100%) !important;
  color: #1f2937 !important;
  min-height: 100vh;
}

.admin-body h1, .admin-body h2, .admin-body h3, .admin-body h4, .admin-body h5, .admin-body h6 {
  color: #111827 !important;
}

.admin-body a {
  color: #4b5563;
}

.admin-body a:hover {
  color: var(--color-primary);
}

.admin-sidebar {
  background: rgba(255, 255, 255, 0.75) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border-right: 1px solid rgba(0, 0, 0, 0.06) !important;
  box-shadow: 4px 0 24px rgba(0, 0, 0, 0.02) !important;
}

.admin-sidebar .logo {
  color: #111827 !important;
}

.admin-sidebar-menu a {
  color: #4b5563 !important;
  font-weight: 500 !important;
  padding: 0.8rem 1.2rem !important;
  border-radius: 10px !important;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
  position: relative;
}

.admin-sidebar-menu a:hover {
  background-color: rgba(0, 113, 227, 0.04) !important;
  color: var(--color-primary) !important;
  transform: translateX(4px);
}

.admin-sidebar-menu li.active a {
  background-color: rgba(0, 113, 227, 0.08) !important;
  color: var(--color-primary) !important;
  font-weight: 600 !important;
  box-shadow: 0 4px 12px rgba(0, 113, 227, 0.04);
}

.admin-sidebar-menu li.active a::before {
  content: '';
  position: absolute;
  left: 0;
  top: 25%;
  height: 50%;
  width: 4px;
  background-color: var(--color-primary);
  border-radius: 0 4px 4px 0;
}

.admin-stat-card {
  background: rgba(255, 255, 255, 0.75) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border: 1px solid rgba(255, 255, 255, 0.6) !important;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.03) !important;
  border-radius: 16px !important;
  padding: 1.6rem !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.admin-stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.06) !important;
  border-color: rgba(0, 113, 227, 0.2) !important;
}

.admin-stat-card h3 {
  color: #111827 !important;
  font-size: 2rem !important;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.admin-stat-card p {
  color: #6b7280 !important;
  font-size: 0.75rem !important;
  font-weight: 600;
}

.admin-card {
  background: rgba(255, 255, 255, 0.8) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border: 1px solid rgba(255, 255, 255, 0.7) !important;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03) !important;
  border-radius: 16px !important;
  padding: 2rem !important;
  margin-bottom: 2.5rem !important;
}

.admin-card-header {
  border-bottom: 1px solid rgba(0, 0, 0, 0.05) !important;
  padding-bottom: 1.2rem !important;
  margin-bottom: 1.8rem !important;
}

.admin-form label {
  color: #4b5563 !important;
  font-weight: 600;
  font-size: 0.75rem !important;
}

.admin-form input, .admin-form select, .admin-form textarea {
  background-color: #ffffff !important;
  border: 1px solid rgba(0, 0, 0, 0.12) !important;
  color: #1f2937 !important;
  border-radius: 10px !important;
  padding: 0.75rem 1rem !important;
  outline: none;
  font-size: 0.9rem !important;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.01) !important;
}

.admin-form input:focus, .admin-form select:focus, .admin-form textarea:focus {
  border-color: var(--color-primary) !important;
  box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.12) !important;
}

.admin-table-wrapper {
  border: 1px solid rgba(0, 0, 0, 0.05) !important;
  border-radius: 12px !important;
  overflow-x: auto;
  overflow-y: hidden;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.02) !important;
  background: #ffffff;
}

.admin-table th {
  background-color: #f8f9fa !important;
  color: #6b7280 !important;
  font-weight: 600 !important;
  font-size: 0.75rem !important;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 1rem 1.25rem !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06) !important;
}

.admin-table td {
  border-bottom: 1px solid rgba(0, 0, 0, 0.04) !important;
  color: #1f2937 !important;
  font-size: 0.88rem !important;
  padding: 1rem 1.25rem !important;
}

.admin-table tr:hover {
  background-color: #fcfdfe !important;
}

/* Status badges for light mode */
.admin-badge {
  font-size: 0.72rem !important;
  font-weight: 600 !important;
  padding: 0.25rem 0.75rem !important;
  border-radius: 9999px !important;
}

/* Premium Subcategory Tag Badges */
.admin-subcat-tag {
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
  background: rgba(0, 113, 227, 0.05) !important;
  color: var(--color-primary) !important;
  border: 1px solid rgba(0, 113, 227, 0.12) !important;
  padding: 0.22rem 0.65rem !important;
  border-radius: 6px !important;
  font-size: 0.76rem !important;
  font-weight: 500 !important;
  text-transform: none !important;
  letter-spacing: normal !important;
  transition: all 0.2s ease !important;
}

.admin-subcat-tag:hover {
  background: rgba(0, 113, 227, 0.08) !important;
  border-color: rgba(0, 113, 227, 0.22) !important;
  transform: translateY(-1px) !important;
}

.admin-subcat-tag a {
  color: var(--color-primary) !important;
  display: inline-flex !important;
  align-items: center !important;
  opacity: 0.7;
  transition: opacity 0.2s !important;
}

.admin-subcat-tag a:hover {
  opacity: 1 !important;
}

.admin-subcat-tag form {
  display: inline-flex !important;
  align-items: center !important;
  margin: 0 !important;
  padding: 0 !important;
}

.admin-subcat-tag button {
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  margin: 0 0 0 2px !important;
  color: #ff3b30 !important;
  cursor: pointer !important;
  display: inline-flex !important;
  align-items: center !important;
  font-size: 0.82rem !important;
  opacity: 0.7;
  transition: opacity 0.2s !important;
}

.admin-subcat-tag button:hover {
  opacity: 1 !important;
}

.admin-status-select {
  background: #f3f4f6 !important;
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
  padding: 0.45rem 0.9rem !important;
  border-radius: 8px !important;
  font-size: 0.8rem !important;
  color: #1f2937 !important;
  outline: none;
  cursor: pointer;
  transition: all 0.2s;
}

.admin-status-select:focus {
  border-color: var(--color-primary) !important;
  box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.1) !important;
}

.admin-btn-delete {
  background-color: rgba(255, 59, 48, 0.06) !important;
  color: #ff3b30 !important;
  border: 1px solid rgba(255, 59, 48, 0.15) !important;
  padding: 0.45rem 0.9rem !important;
  border-radius: 8px !important;
  font-weight: 600;
  transition: all 0.2s;
  cursor: pointer;
}

.admin-btn-delete:hover {
  background-color: #ff3b30 !important;
  color: #ffffff !important;
  border-color: #ff3b30 !important;
}

.admin-btn-logout-sidebar:hover {
  background-color: #ff3b30 !important;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 59, 48, 0.15);
}

.admin-header {
  border-bottom: 1px solid rgba(0, 0, 0, 0.05) !important;
  padding-bottom: 1.5rem !important;
  margin-bottom: 2.5rem !important;
}

.admin-header h1 {
  font-size: 1.8rem !important;
  font-weight: 800 !important;
  letter-spacing: -0.5px;
  color: #111827 !important;
}

.admin-header p {
  color: #6b7280 !important;
  font-size: 0.95rem !important;
  margin-top: 0.25rem !important;
}

.order-detail-box {
  background: #f8f9fa !important;
  border: 1px solid rgba(0, 0, 0, 0.05) !important;
  border-radius: 12px !important;
  padding: 1.5rem !important;
  color: #1f2937 !important;
}

.admin-stats-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)) !important;
  gap: 1.5rem !important;
  margin-bottom: 2.5rem !important;
}

.stat-card-success { --border-color: #34c759; }
.stat-card-primary { --border-color: #0071e3; }
.stat-card-warning { --border-color: #ff9500; }
.stat-card-purple { --border-color: #5856d6; }

.admin-snapshot-card {
  padding: 1.25rem 2rem !important;
  margin-bottom: 2.5rem !important;
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: space-between !important;
  align-items: center !important;
  gap: 1.5rem !important;
  border-left: 4px solid var(--color-primary) !important;
}

.admin-dashboard-grid {
  display: flow;
  grid-template-columns: 2fr 1fr !important;
  gap: 2rem !important;
  align-items: start !important;
}

@media (max-width: 1024px) {
  .admin-dashboard-grid {
    grid-template-columns: 1fr !important;
  }
}

.admin-header-profile {
  font-size: 0.85rem !important;
  text-align: right !important;
  color: #4b5563 !important;
  padding: 0.5rem 1.2rem !important;
  background: rgba(255, 255, 255, 0.6) !important;
  backdrop-filter: blur(10px) !important;
  border-radius: 10px !important;
  border: 1px solid rgba(0, 0, 0, 0.06) !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.01) !important;
}

/* 10. Admin Panel Custom Modal Dialogs */
.admin-modal {
  border: none !important;
  border-radius: 16px !important;
  background: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(25px) !important;
  -webkit-backdrop-filter: blur(25px) !important;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.12) !important;
  padding: 2.2rem !important;
  max-width: 520px !important;
  width: 90% !important;
  margin: auto !important;
  outline: none !important;
  animation: modalScaleIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  overflow: visible !important;
}

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

.admin-modal::backdrop {
  background: rgba(17, 24, 39, 0.45) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
}

/* ── Edit Product Modal (Large Popup) ── */
.edit-product-modal:not([open]) {
  display: none !important;
}
.edit-product-modal[open] {
  display: flex !important;
  flex-direction: column !important;
  max-width: 780px !important;
  width: 95% !important;
  padding: 0 !important;
  max-height: 85vh;
  max-height: 85dvh;
  overflow: hidden !important;
  border-radius: 18px !important;
}

.edit-product-modal-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.2rem 1.8rem;
  border-bottom: 1px solid #e5e7eb;
  background: #f9fafb;
  flex-shrink: 0;
  border-radius: 18px 18px 0 0;
}

.edit-product-modal-header h3 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 700;
  color: #111827;
  flex: 1;
}

.edit-product-modal-close {
  background: none;
  border: none;
  font-size: 1.6rem;
  color: #6b7280;
  cursor: pointer;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.2s;
  flex-shrink: 0;
}

.edit-product-modal-close:hover {
  background: #e5e7eb;
  color: #111827;
}

.edit-product-modal-body {
  padding: 1.5rem 1.8rem;
  overflow-y: auto;
  flex: 1;
}

.edit-product-modal .admin-form-row {
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.edit-product-modal .admin-form-group {
  margin-bottom: 0.25rem;
}

.edit-product-modal .admin-form-group label {
  font-size: 0.72rem;
  font-weight: 600;
  color: #374151;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.edit-product-modal .admin-form-group input,
.edit-product-modal .admin-form-group select,
.edit-product-modal .admin-form-group textarea {
  padding: 0.55rem 0.75rem;
  font-size: 0.82rem;
}

.edit-product-modal .admin-checkbox-row {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

/* Edit modal on mobile */
@media (max-width: 768px) {
  .edit-product-modal[open] {
    max-width: 100% !important;
    width: 100% !important;
    max-height: 90vh;
    max-height: 90dvh;
    margin: 0 !important;
    border-radius: 16px 16px 0 0 !important;
    align-self: flex-end;
  }

  .edit-product-modal-header {
    padding: 1rem 1.2rem;
    border-radius: 16px 16px 0 0;
  }

  .edit-product-modal-header h3 {
    font-size: 1rem;
  }

  .edit-product-modal-body {
    padding: 1rem 1.2rem;
  }

  .edit-product-modal .admin-form-row {
    grid-template-columns: 1fr;
    gap: 0.6rem;
  }

  .edit-product-modal .admin-checkbox-row {
    gap: 0.8rem;
  }

  .edit-product-modal .quill-editor-edit {
    min-height: 130px !important;
  }
}

@media (max-width: 480px) {
  .edit-product-modal-body {
    padding: 0.8rem 1rem;
  }
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  padding-bottom: 1rem;
  margin-bottom: 1.5rem;
}

.modal-header h3 {
  margin: 0;
  font-size: 1.25rem !important;
  font-weight: 700 !important;
}

.modal-close-btn {
  background: transparent;
  border: none;
  font-size: 1.3rem;
  color: #6b7280;
  cursor: pointer;
  line-height: 1;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
}

.modal-close-btn:hover {
  color: #111827;
  background: rgba(0,0,0,0.05);
}

.modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
  margin-top: 1.8rem;
  border-top: 1px solid rgba(0,0,0,0.05);
  padding-top: 1.2rem;
}

.modal-btn-cancel {
  background: #f3f4f6 !important;
  color: #4b5563 !important;
  border: 1px solid rgba(0, 0, 0, 0.05) !important;
  padding: 0.65rem 1.25rem !important;
  border-radius: 8px !important;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  font-size: 0.85rem;
}

.modal-btn-cancel:hover {
  background: #e5e7eb !important;
  color: #1f2937 !important;
}

.admin-modal-confirm {
  max-width: 420px !important;
  text-align: center;
}

/* Chart.js container — prevents infinite resize loop */
.chart-container {
  position: relative;
  width: 100%;
}

.chart-container canvas {
  display: block;
  width: 100% !important;
  height: 100% !important;
  max-height: 100%;
}

.confirm-icon {
  width: 56px;
  height: 56px;
  background: rgba(255, 59, 48, 0.08);
  color: #ff3b30;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin: 0 auto 1.2rem;
}

/* ==========================================================================
   E-Commerce Extension Styles (Cart, Checkout, Auth, Orders, Admin Enhancements)
   ========================================================================== */

/* --------------------------------------------------------------------------
   User Dropdown Menu (Header)
   -------------------------------------------------------------------------- */
.nav-user-dropdown {
  position: relative;
}

.nav-user-menu {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  background: var(--bg-dark-800);
  border: var(--border-subtle);
  border-radius: var(--border-radius-sm);
  min-width: 200px;
  box-shadow: var(--shadow-premium);
  z-index: 200;
  overflow: hidden;
}

.nav-user-menu.show {
  display: block;
  animation: fadeInDropdown 0.2s ease;
}

@keyframes fadeInDropdown {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

.nav-user-info {
  padding: 0.8rem 1rem;
  border-bottom: var(--border-subtle);
  font-size: 0.8rem;
  color: var(--text-gray-300);
}

.nav-user-menu a {
  display: block;
  padding: 0.7rem 1rem;
  font-size: 0.82rem;
  color: var(--text-gray-300);
  transition: var(--transition-fast);
}

.nav-user-menu a:hover {
  background: rgba(255,255,255,0.05);
  color: var(--text-white);
}

.nav-user-logout {
  border-top: var(--border-subtle);
  color: #ff3b30 !important;
}

/* Cart Badge Animation */
.cart-badge-animate {
  animation: cartPop 0.4s ease;
}

@keyframes cartPop {
  0% { transform: scale(1); }
  50% { transform: scale(1.5); }
  100% { transform: scale(1); }
}

/* --------------------------------------------------------------------------
   Page Heading
   -------------------------------------------------------------------------- */
.page-heading {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--theme-text-title);
  margin-bottom: 2rem;
  letter-spacing: -0.5px;
}

/* --------------------------------------------------------------------------
   Empty State
   -------------------------------------------------------------------------- */
.empty-state {
  text-align: center;
  padding: 4rem 2rem;
  color: var(--theme-text-muted);
}

.empty-state-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.empty-state h2 {
  font-size: 1.4rem;
  color: var(--theme-text-title);
  margin-bottom: 0.5rem;
}

.empty-state p {
  font-size: 0.9rem;
  color: var(--theme-text);
  margin-bottom: 1rem;
}

/* --------------------------------------------------------------------------
   Cart Page — Grid Row Design
   -------------------------------------------------------------------------- */
.cart-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 2rem;
  align-items: flex-start;
}

/* Cart header row */
.cart-grid-header {
  display: grid;
  grid-template-columns: 3fr 1fr 1.2fr 1fr 40px;
  gap: 1rem;
  padding: 0.7rem 0.8rem;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 12px 12px 0 0;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #9ca3af;
}

.cart-grid-header .cart-col-product { text-align: left; }
.cart-grid-header .cart-col-price { text-align: right; }
.cart-grid-header .cart-col-qty { text-align: center; }
.cart-grid-header .cart-col-total { text-align: right; }

/* Cart grid row */
.cart-grid-row {
  display: grid;
  grid-template-columns: 3fr 1fr 1.2fr 1fr 40px;
  gap: 1rem;
  align-items: center;
  padding: 1rem 0.8rem;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-top: none;
  transition: background 0.2s;
}

.cart-grid-row:last-of-type {
  border-radius: 0 0 12px 12px;
}

.cart-grid-row:hover {
  background: #fafcff;
}

/* Product column */
.cart-col-product {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.cart-row-image {
  width: 64px;
  height: 64px;
  border-radius: 10px;
  overflow: hidden;
  background: #f3f4f6;
  flex-shrink: 0;
}

.cart-row-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.cart-row-info h3 {
  font-size: 0.92rem;
  font-weight: 700;
  color: #111;
  margin: 0 0 0.2rem;
  line-height: 1.3;
}

.cart-item-variants {
  font-size: 0.72rem;
  color: var(--color-primary);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

/* Price column */
.cart-col-price {
  text-align: right;
}

.cart-price-label {
  display: none;
  font-size: 0.65rem;
  font-weight: 600;
  color: #9ca3af;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.cart-row-unit-price {
  font-size: 0.9rem;
  font-weight: 700;
  color: #374151;
}

/* Qty column */
.cart-col-qty {
  text-align: center;
}

.quantity-control {
  display: inline-flex;
  align-items: center;
  gap: 0;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}

.qty-btn {
  background: #f3f4f6;
  border: none;
  color: #374151;
  width: 32px;
  height: 32px;
  cursor: pointer;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s;
}

.qty-btn:hover {
  background: var(--color-primary);
  color: #fff;
}

.qty-display {
  width: 36px;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 700;
  color: #111;
  background: #fff;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Total column */
.cart-col-total {
  text-align: right;
}

.cart-row-line-total {
  font-size: 1rem;
  font-weight: 800;
  color: #111;
}

/* Remove column */
.cart-col-remove {
  text-align: center;
}

.cart-remove-btn {
  background: transparent;
  border: none;
  color: #9ca3af;
  font-size: 1rem;
  cursor: pointer;
  padding: 0.3rem;
  border-radius: 6px;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.cart-remove-btn:hover {
  background: #fef2f2;
  color: #ef4444;
}

/* Cart Summary */
.cart-summary-card {
  background: var(--theme-card-bg);
  border: var(--theme-card-border);
  border-radius: var(--border-radius-md);
  padding: 1.8rem;
  box-shadow: var(--theme-card-shadow);
  color: var(--theme-text);
  position: sticky;
  top: 7rem;
}

.cart-summary-card h3 {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  color: var(--theme-text-title);
}

.cart-summary-card-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-block-end: 1rem;
}

.cart-summary-card-header i {
  font-size: 1.2rem;
  color: var(--color-primary);
}

.cart-summary-card-header h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #111;
  margin: 0;
}

.cart-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
  font-size: 0.9rem;
  color: var(--theme-text);
}

.cart-summary-total {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--theme-text-title);
}

.cart-summary-total span:last-child {
  color: var(--color-primary);
}

.cart-summary-card-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-block-end: 1rem;
}

.cart-summary-card-header i {
  font-size: 1.2rem;
  color: var(--color-primary);
}

.cart-summary-card-header h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #111;
  margin: 0;
}

.cart-item-variants {
  font-size: 0.72rem;
  color: var(--color-primary);
  font-weight: 500;
  margin-block: 2px 4px;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.cart-checkout-btn {
  width: 100%;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-block-start: 1.2rem;
  padding: 0.7rem 1rem;
  font-size: 0.88rem;
  font-weight: 700;
  border-radius: 12px;
  transition: all 0.25s ease;
}

.cart-checkout-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,113,227,0.25);
}

.cart-continue-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  margin-block-start: 0.6rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--theme-text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.cart-continue-link:hover {
  color: var(--color-primary);
}

.cart-secure-badge {
  text-align: center;
  font-size: 0.7rem;
  color: #9ca3af;
  margin-block-start: 0.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
}

.cart-secure-badge i {
  color: #059669;
}

.cart-summary-divider {
  height: 1px;
  background: var(--theme-divider);
  margin: 0.8rem 0;
}

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

.free-shipping-hint {
  background: rgba(52,199,89,0.1);
  border: 1px solid rgba(52,199,89,0.2);
  border-radius: 6px;
  padding: 0.6rem 0.8rem;
  font-size: 0.78rem;
  color: var(--color-success);
  margin-top: 0.5rem;
}

/* --------------------------------------------------------------------------
   Checkout Page
   -------------------------------------------------------------------------- */
.checkout-layout {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 2rem;
  align-items: flex-start;
}

.checkout-card {
  background: var(--theme-card-bg);
  border: var(--theme-card-border);
  border-radius: var(--border-radius-md);
  padding: 1.8rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--theme-card-shadow);
  color: var(--theme-text);
}

.checkout-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
  color: var(--theme-text-title);
}

.checkout-card-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-block-end: 1rem;
}

.checkout-card-header i {
  font-size: 1.2rem;
  color: var(--color-primary);
}

.checkout-card-header h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #111;
  margin: 0;
}

.checkout-card-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-block-end: 1rem;
}

.checkout-card-header i {
  font-size: 1.2rem;
  color: var(--color-primary);
}

.checkout-card-header h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #111;
  margin: 0;
}

.checkout-form-group {
  margin-bottom: 1rem;
}

.checkout-form-group label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--theme-text);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.4rem;
}

.checkout-form-group input,
.checkout-form-group textarea,
.checkout-form-group select {
  width: 100%;
  box-sizing: border-box;
  background-color: var(--theme-input-bg);
  border: var(--theme-input-border);
  border-radius: var(--border-radius-sm);
  color: var(--theme-input-text);
  padding: 0.8rem 1rem;
  font-family: var(--font-body);
  font-size: 0.88rem;
  outline: none;
  transition: var(--transition-fast);
}

.checkout-form-group input:focus,
.checkout-form-group textarea:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 10px rgba(0,113,227,0.15);
}

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

/* Payment Options */
.payment-options {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.payment-option {
  background: var(--theme-input-bg);
  border: var(--theme-input-border);
  border-radius: var(--border-radius-sm);
  padding: 1rem;
  cursor: pointer;
  color: var(--theme-text);
  transition: var(--transition-fast);
}

.payment-option.selected {
  border-color: var(--color-primary);
  background: rgba(0,113,227,0.08);
}

.payment-option input[type="radio"] {
  display: none;
}

.payment-option-content {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.payment-option-header {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.payment-option-icon {
  font-size: 1.2rem;
}

.payment-option-header strong {
  color: var(--theme-text-title);
  font-size: 0.9rem;
}

.payment-option-header p {
  font-size: 0.75rem;
  color: var(--theme-text-muted);
  margin: 0;
}

.payment-badges-row {
  display: flex;
  gap: 0.4rem;
  padding-left: 2rem;
}

.payment-badge {
  font-size: 0.6rem;
  font-weight: 700;
  background: var(--theme-badge-bg);
  color: var(--theme-text-title);
  padding: 0.15rem 0.5rem;
  border-radius: 3px;
  border: 1px solid var(--theme-input-border);
}

/* Checkout Items List */
.checkout-items-list {
  margin-bottom: 1rem;
}

.checkout-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--theme-divider);
}

.checkout-item img {
  width: 44px;
  height: 44px;
  border-radius: 6px;
  object-fit: contain;
  background: #f3f4f6;
}

.checkout-item-info {
  flex: 1;
}

.checkout-item-name {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--theme-text-title);
  display: block;
}

.checkout-item-qty {
  font-size: 0.72rem;
  color: var(--theme-text-muted);
}

.checkout-item-price {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--theme-text);
}

/* --------------------------------------------------------------------------
   Order Success / Cancel Page — Premium Light Mode
   -------------------------------------------------------------------------- */
.order-success-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 20px;
  padding: 3.5rem 3rem;
  box-shadow: 0 8px 40px rgba(0,0,0,0.04);
  position: relative;
  overflow: hidden;
}

.order-success-card::before {
  content: '';
  position: absolute;
  inset: 0;
  height: 4px;
  background: linear-gradient(90deg, #10b981, #34d399, #10b981);
  opacity: 0.3;
}

.success-check-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, #10b981, #34d399);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: white;
  margin: 0 auto;
  box-shadow: 0 0 0 4px rgba(16,185,129,0.12), 0 8px 24px rgba(16,185,129,0.2);
  animation: successPop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
}

.success-check-icon::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1.5px dashed #10b981;
  opacity: 0.25;
  animation: successRingSpin 10s linear infinite;
}

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

.cancel-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ef4444, #f87171);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: #fff;
  margin: 0 auto;
  box-shadow: 0 0 0 4px rgba(239,68,68,0.12), 0 8px 24px rgba(239,68,68,0.2);
}

@keyframes successPop {
  0% { transform: scale(0); opacity: 0; }
  50% { transform: scale(1.1); }
  100% { transform: scale(1); opacity: 1; }
}

.order-number-display {
  background: #f0fdf4;
  border: 1.5px solid #bbf7d0;
  border-radius: 12px;
  padding: 0.8rem 1.8rem;
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 800;
  color: #059669;
  display: inline-block;
  letter-spacing: 0.5px;
}

/* Payment Loading Spinner */
.payment-loading-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid rgba(255,255,255,0.1);
  border-top: 3px solid var(--color-primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 1.5rem auto;
}

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

/* Phosphor icon spin utility */
.ph-spin {
  animation: spin 1s linear infinite;
  display: inline-block;
}

/* --------------------------------------------------------------------------
   Customer Account Page
   -------------------------------------------------------------------------- */
.account-header {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 2rem;
  background: var(--bg-dark-800);
  border: var(--border-subtle);
  border-radius: var(--border-radius-md);
  margin-bottom: 2rem;
}

.account-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--gradient-neon);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 800;
  color: white;
  flex-shrink: 0;
}

.account-info h1 {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-white);
  margin-bottom: 0.2rem;
}

.account-info p {
  font-size: 0.82rem;
  color: var(--text-gray-500);
}

.account-section {
  margin-top: 2rem;
}

.account-section .section-title-underline {
  color: var(--color-primary);
}

/* Order Cards */
.order-card {
  background: var(--theme-card-bg);
  border: var(--theme-card-border);
  border-radius: var(--border-radius-sm);
  margin-bottom: 0.8rem;
  overflow: hidden;
  box-shadow: var(--theme-card-shadow);
  transition: var(--transition-fast);
  color: var(--theme-text);
}

.order-card.expanded {
  border-color: var(--color-primary);
}

.order-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.2rem;
  cursor: pointer;
  transition: var(--transition-fast);
}

.order-card-header:hover {
  background: var(--theme-badge-bg);
}

.order-card-primary {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.order-number {
  font-weight: 700;
  color: var(--color-primary);
  font-size: 0.9rem;
}

.order-date {
  font-size: 0.8rem;
  color: var(--theme-text-muted);
}

.order-card-secondary {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.order-total {
  font-weight: 700;
  color: var(--theme-text-title);
  font-size: 0.9rem;
}

.order-status-badge {
  font-size: 0.65rem;
  font-weight: 700;
  color: white;
  padding: 0.2rem 0.6rem;
  border-radius: var(--border-radius-full);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.order-expand-btn {
    border: none;
    background: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
}

.order-expand-icon {
  color: var(--theme-text-muted);
  font-size: 0.7rem;
  transition: var(--transition-fast);
}

.order-card.expanded .order-expand-icon {
  transform: rotate(180deg);
}

.order-card-details {
  padding: 0 1.2rem 1.2rem;
  border-top: var(--theme-divider);
}

.order-items-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 0.8rem;
}

.order-items-table th,
.order-items-table td {
  padding: 0.6rem 0.5rem;
  font-size: 0.8rem;
  text-align: left;
}

.order-items-table th {
  color: var(--theme-text-muted);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.7rem;
  border-bottom: var(--theme-divider);
}

.order-items-table td {
  color: var(--theme-text);
  border-bottom: var(--theme-divider);
}

.order-summary-mini {
  margin-top: 1rem;
  padding-top: 0.8rem;
  border-top: var(--theme-divider);
}

.order-summary-mini > div {
  display: flex;
  justify-content: space-between;
  padding: 0.3rem 0;
  font-size: 0.8rem;
  color: var(--theme-text-muted);
}

.order-summary-mini .order-grand {
  font-weight: 700;
  color: var(--theme-text-title);
  font-size: 0.9rem;
  padding-top: 0.5rem;
  border-top: var(--theme-divider);
  margin-top: 0.4rem;
}

/* --------------------------------------------------------------------------
   Login/Register Enhancements
   -------------------------------------------------------------------------- */
.login-page-body {
  background-color: var(--theme-bg);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transition: background-color 0.3s ease;
}

@keyframes breathe-glow-1 {
  0% { transform: scale(1) translate(0, 0); }
  50% { transform: scale(1.1) translate(30px, -30px); opacity: 0.8; }
  100% { transform: scale(1) translate(0, 0); }
}

@keyframes breathe-glow-2 {
  0% { transform: scale(1) translate(0, 0); }
  50% { transform: scale(1.15) translate(-40px, 40px); opacity: 0.8; }
  100% { transform: scale(1) translate(0, 0); }
}

.login-radial-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 113, 227, 0.12) 0%, transparent 70%);
  top: -150px;
  left: -150px;
  pointer-events: none;
  z-index: 0;
  animation: breathe-glow-1 15s ease-in-out infinite;
}

.login-radial-glow-2 {
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(134, 37, 232, 0.08) 0%, transparent 70%);
  bottom: -150px;
  right: -150px;
  pointer-events: none;
  z-index: 0;
  animation: breathe-glow-2 18s ease-in-out infinite;
}

.login-card {
  background-color: var(--theme-card-bg);
  border: var(--theme-card-border);
  border-radius: var(--border-radius-lg);
  width: 100%;
  max-width: 440px;
  padding: 3rem 2.5rem;
  box-shadow: var(--theme-card-shadow);
  position: relative;
  z-index: 10;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  transition: var(--transition-normal);
  color: var(--theme-text);
}

.login-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--border-radius-lg);
  padding: 1px;
  background: linear-gradient(135deg, rgba(0, 113, 227, 0.25), rgba(134, 37, 232, 0.25), transparent, transparent);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.login-header {
  text-align: center;
  margin-bottom: 1.5rem;
}

.login-header .logo {
  display: flex;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 1.8rem;
}

.login-header .logo img {
  height: 50px;
  width: auto;
  object-fit: contain;
}

.login-header h2 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--theme-text-title);
  margin-bottom: 0.4rem;
}

.login-header p {
  font-size: 0.82rem;
  color: var(--theme-text-muted);
}

.login-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

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

.login-form-group label {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--theme-text-title);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.login-form-group input {
  background-color: var(--theme-input-bg);
  border: var(--theme-input-border);
  border-radius: var(--border-radius-sm);
  color: var(--theme-input-text);
  padding: 0.9rem 1.2rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  outline: none;
  transition: var(--transition-normal);
}

.login-form-group input:hover {
  border-color: rgba(0, 113, 227, 0.4);
}

.login-form-group input:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 15px rgba(0, 113, 227, 0.15), inset 0 0 0 1px var(--color-primary);
  background-color: var(--theme-input-bg);
}

.login-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.login-error-alert {
  background-color: rgba(255, 59, 48, 0.15);
  border: 1px solid rgba(255, 59, 48, 0.3);
  color: #ff3b30;
  border-radius: var(--border-radius-sm);
  padding: 0.8rem 1.2rem;
  font-size: 0.85rem;
  font-weight: 600;
  text-align: center;
  margin-bottom: 1rem;
}

.login-success-alert {
  background-color: rgba(52, 199, 89, 0.15);
  border: 1px solid rgba(52, 199, 89, 0.3);
  color: #34c759;
  border-radius: var(--border-radius-sm);
  padding: 0.8rem 1.2rem;
  font-size: 0.85rem;
  font-weight: 600;
  text-align: center;
  margin-bottom: 1rem;
}

.login-btn-submit {
  width: 100%;
  padding-block: 1rem;
  border-radius: var(--border-radius-sm);
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  margin-top: 0.5rem;
  background: var(--gradient-neon);
  box-shadow: 0 4px 20px rgba(0, 113, 227, 0.4);
  transition: var(--transition-normal);
}

.login-btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 113, 227, 0.6), 0 0 15px rgba(134, 37, 232, 0.4);
}

/* Google Auth Button — Clean White Style on Dark Card */
.btn-google {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  width: 100%;
  padding: 0.7rem 1rem;
  background: #fff;
  border: none;
  border-radius: 10px;
  color: #374151;
  font-size: 0.88rem;
  font-weight: 600;
  font-family: var(--font-body);
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
  margin-block: 0.5rem 0.8rem;
}

.btn-google svg {
  flex-shrink: 0;
}

.btn-google:hover {
  background: #f9fafb;
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
  transform: translateY(-1.5px);
  color: #111;
}

.btn-google:active {
  transform: translateY(0);
  box-shadow: 0 1px 2px rgba(0,0,0,0.06);
}

/* Alternate CTA — compact inline "Don't have an account? Sign in" */
.login-alt-cta {
  text-align: center;
  margin-block: 0.8rem 0.3rem;
  font-size: 0.82rem;
  color: var(--theme-text-muted);
}

.login-alt-cta a {
  color: var(--text-black-300);
  font-weight: 700;
  text-decoration: none;
  margin-inline-start: 0.25rem;
  border-bottom: 1px solid rgba(255,255,255,0.15);
  transition: all 0.15s ease;
}

.login-alt-cta a:hover {
  color: var(--color-primary);
  border-bottom-color: var(--color-primary);
}

.login-divider {
  text-align: center;
  position: relative;
  margin: 1.5rem 0;
}

.login-divider::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--theme-divider);
}

.login-divider span {
  background: var(--theme-card-bg);
  padding: 0 1rem;
  position: relative;
  z-index: 1;
  font-size: 0.78rem;
  color: var(--theme-text-muted);
}

.login-back-link {
  text-align: center;
  margin-block: 0.3rem 0;
  font-size: 0.78rem;
}

.login-back-link a {
  color: var(--theme-text-muted);
  transition: var(--transition-fast);
  opacity: 0.7;
}

.login-back-link a:hover {
  opacity: 1;
  color: var(--text-white);
}

/* ==========================================================================
   Customer Account Dashboard — Premium Redesign
   ========================================================================== */

/* ── Flash Messages ── */
.account-flash {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.2rem;
  border-radius: 12px;
  font-size: 0.88rem;
  font-weight: 500;
  margin-block-end: 1.5rem;
  animation: accountFlashIn 0.35s ease;
}

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

.account-flash i {
  font-size: 1.2rem;
}

.account-flash-success {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
}

.account-flash-error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
}

/* ── Profile Header Card ── */
.account-profile-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 20px;
  padding: 1.5rem 2rem;
  margin-block-end: 1.5rem;
  box-shadow: 0 4px 16px rgba(0,0,0,0.03);
}

.account-profile-left {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.account-avatar-circle {
  position: relative;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.account-avatar-circle img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.account-avatar-initials {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: linear-gradient(135deg, #2563eb, #7c3aed);
  color: #fff;
  font-size: 1.3rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
}

.account-avatar-ring {
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 2px solid #e5e7eb;
  pointer-events: none;
}

.account-profile-info h1 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #111;
  margin: 0;
  line-height: 1.2;
}

.account-profile-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1rem;
  margin-block-start: 0.25rem;
  font-size: 0.8rem;
  color: #6b7280;
}

.account-profile-meta span {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.account-profile-meta i {
  font-size: 0.85rem;
  color: #9ca3af;
}

.account-provider-badge {
  background: #f3f4f6;
  padding: 0.1rem 0.6rem;
  border-radius: 99px;
  font-size: 0.7rem;
  font-weight: 600;
  color: #374151 !important;
}

.account-signout-btn {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: #ef4444;
  padding: 0.5rem 1rem;
  border-radius: 10px;
  border: 1px solid #fecaca;
  text-decoration: none;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.account-signout-btn:hover {
  background: #fef2f2;
  border-color: #fca5a5;
}

/* ── Tab Navigation ── */
.account-tabs-nav {
  display: flex;
  gap: 0.25rem;
  margin-block-end: 1.5rem;
  background: #f3f4f6;
  padding: 0.35rem;
  border-radius: 14px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.account-tab {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.6rem 1.2rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: #6b7280;
  text-decoration: none;
  border-radius: 10px;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.account-tab i {
  font-size: 1rem;
}

.account-tab:hover {
  color: #374151;
  background: rgba(255,255,255,0.5);
}

.account-tab.active {
  background: #fff;
  color: #2563eb;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.account-tab-count {
  background: #e5e7eb;
  color: #374151;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.1rem 0.45rem;
  border-radius: 99px;
  margin-inline-start: 0.1rem;
}

.account-tab.active .account-tab-count {
  background: #dbeafe;
  color: #2563eb;
}

/* ── Tab Content ── */
.account-tab-content {
  animation: accountFadeIn 0.3s ease;
}

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

.account-section-header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-block-end: 1.2rem;
}

.account-section-header h2 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #111;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.account-section-header h2 i {
  color: #2563eb;
}

.account-section-count {
  font-size: 0.75rem;
  color: #9ca3af;
  font-weight: 500;
}

/* ── Overview Stats Grid ── */
.account-overview-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.account-stat-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 1.2rem 1.5rem;
  transition: all 0.25s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,0.02);
}

.account-stat-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}

.account-stat-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.account-stat-info {
  display: flex;
  flex-direction: column;
}

.account-stat-value {
  font-size: 1.4rem;
  font-weight: 800;
  font-family: var(--font-heading);
  color: #111;
  line-height: 1.1;
}

.account-stat-label {
  font-size: 0.72rem;
  color: #9ca3af;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ── Overview Quick Actions ── */
.account-overview-actions {
  grid-column: 1 / -1;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 1.2rem 1.5rem;
}

.account-overview-actions h3 {
  font-size: 0.9rem;
  font-weight: 700;
  color: #111;
  margin-block-end: 0.8rem;
}

.account-quick-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
}

.account-quick-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.7rem 1rem;
  border-radius: 10px;
  background: #f9fafb;
  border: 1px solid #f3f4f6;
  font-size: 0.82rem;
  font-weight: 600;
  color: #374151;
  text-decoration: none;
  transition: all 0.2s ease;
}

.account-quick-link i:first-child {
  margin-inline-end: 0.4rem;
  color: #2563eb;
}

.account-quick-link i:last-child {
  font-size: 0.75rem;
  color: #9ca3af;
}

.account-quick-link:hover {
  background: #eff6ff;
  border-color: #bfdbfe;
  color: #2563eb;
}

/* ── Recent Orders ── */
.account-recent-orders {
  grid-column: 1 / -1;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 1.2rem 1.5rem;
}

.account-recent-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-block-end: 0.8rem;
}

.account-recent-header h3 {
  font-size: 0.9rem;
  font-weight: 700;
  color: #111;
  margin: 0;
}

.account-recent-header a {
  font-size: 0.78rem;
  font-weight: 600;
  color: #2563eb;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.account-recent-header a:hover {
  text-decoration: underline;
}

.account-recent-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.7rem 0.8rem;
  border-bottom: 1px solid #f3f4f6;
  cursor: pointer;
  border-radius: 8px;
  transition: background 0.2s;
}

.account-recent-row:last-of-type {
  border-bottom: none;
}

.account-recent-row:hover {
  background: #f9fafb;
}

.account-recent-row-left {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.account-recent-number {
  font-size: 0.82rem;
  font-weight: 700;
  color: #111;
}

.account-recent-date {
  font-size: 0.7rem;
  color: #9ca3af;
}

.account-recent-row-right {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.account-recent-total {
  font-size: 0.85rem;
  font-weight: 700;
  color: #374151;
}

.account-order-status {
  font-size: 0.65rem;
  font-weight: 700;
  color: #fff;
  padding: 0.2rem 0.55rem;
  border-radius: 99px;
  text-transform: capitalize;
  white-space: nowrap;
}

/* Order details (inline in recent orders) */
.account-recent-details {
  border-top: 1px dashed #e5e7eb;
}

.account-recent-details-inner {
  padding: 0.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.account-recent-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.78rem;
  color: #374151;
}

.account-recent-item img {
  width: 36px;
  height: 36px;
  border-radius: 6px;
  object-fit: cover;
}

.account-recent-item div {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.account-recent-item strong {
  font-size: 0.8rem;
}

.account-recent-item span:last-child {
  font-weight: 600;
  white-space: nowrap;
}

.account-recent-summary {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.72rem;
  color: #6b7280;
  padding-block-start: 0.4rem;
  border-top: 1px solid #f3f4f6;
}

.account-recent-receipt {
  margin-inline-start: auto;
  color: #2563eb;
  text-decoration: none;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.account-recent-receipt:hover {
  text-decoration: underline;
}

/* ── Empty States ── */
.account-empty-small {
  text-align: center;
  padding: 1.5rem 1rem;
  color: #9ca3af;
}

.account-empty-small i {
  font-size: 2rem;
  color: #d1d5db;
  margin-block-end: 0.3rem;
}

.account-empty-small p {
  font-size: 0.82rem;
  margin-block-end: 0.6rem;
}

.account-empty-state {
  text-align: center;
  padding: 3rem 1.5rem;
  background: #fff;
  border: 1px dashed #d1d5db;
  border-radius: 16px;
}

.account-empty-icon i {
  font-size: 2.5rem;
  color: #d1d5db;
  margin-block-end: 0.8rem;
}

.account-empty-state h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #111;
  margin-block-end: 0.3rem;
}

.account-empty-state p {
  font-size: 0.82rem;
  color: #6b7280;
  max-width: 320px;
  margin: 0 auto 1rem;
}

/* ── Orders List ── */
.account-orders-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.account-order-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  overflow: hidden;
  transition: box-shadow 0.3s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.02);
}

.account-order-card:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.05);
}

.account-order-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.3rem;
  cursor: pointer;
  gap: 1rem;
}

.account-order-left {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.account-order-num {
  font-size: 0.9rem;
  font-weight: 700;
  color: #111;
}

.account-order-date {
  font-size: 0.72rem;
  color: #9ca3af;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.account-order-right {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.account-order-total {
  font-size: 0.88rem;
  font-weight: 700;
  color: #111;
}

.account-pay-status {
  font-size: 0.6rem;
  font-weight: 700;
  color: #fff;
  padding: 0.15rem 0.45rem;
  border-radius: 99px;
  text-transform: capitalize;
}

.account-order-toggle {
  color: #9ca3af;
  font-size: 0.9rem;
  transition: transform 0.3s;
}

.account-order-card.expanded .account-order-toggle {
  transform: rotate(180deg);
}

.account-order-body {
  border-top: 1px solid #e5e7eb;
  padding: 1rem 1.3rem;
}

.account-order-items {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.account-order-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid #f3f4f6;
}

.account-order-item:last-child {
  border-bottom: none;
}

.account-order-item img {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  object-fit: cover;
  background: #f3f4f6;
}

.account-order-item-placeholder {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: #f3f4f6;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9ca3af;
  font-size: 1.2rem;
}

.account-order-item-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.account-order-item-info strong {
  font-size: 0.82rem;
  font-weight: 600;
  color: #111;
}

.account-order-item-variant {
  font-size: 0.7rem;
  color: #9ca3af;
  display: flex;
  align-items: center;
  gap: 0.2rem;
}

.account-order-item-qty {
  font-size: 0.75rem;
  color: #6b7280;
  font-weight: 500;
}

.account-order-item-price {
  font-size: 0.82rem;
  font-weight: 700;
  color: #111;
  white-space: nowrap;
}

.account-order-footer {
  border-top: 1px solid #e5e7eb;
  margin-block-start: 0.5rem;
  padding-block-start: 0.8rem;
}

.account-order-footer-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.3rem 1.5rem;
  font-size: 0.78rem;
  color: #374151;
}

.account-order-footer-grid div {
  display: flex;
  justify-content: space-between;
}

.account-order-footer-total {
  font-weight: 700;
  font-size: 0.85rem;
  color: #111;
  border-top: 1px solid #e5e7eb;
  padding-block-start: 0.3rem;
}

.account-order-footer-action {
  margin-block-start: 0.8rem;
  text-align: right;
}

.account-order-footer-action .btn {
  font-size: 0.75rem;
  padding: 0.4rem 1rem;
  border-radius: 8px;
}

/* Payment History Timeline */
.account-payment-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
  margin-block: 0.8rem 0.5rem;
  padding: 0.8rem 1rem;
  background: #f9fafb;
  border-radius: 10px;
}

.account-payment-item {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.account-payment-label {
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.account-payment-label i {
  font-size: 0.7rem;
}

.account-payment-value {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-dark);
}

@media (max-width: 768px) {
  .account-payment-timeline {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .account-payment-timeline {
    grid-template-columns: 1fr 1fr;
    padding: 0.6rem 0.8rem;
  }
}

/* ── Settings / Address / Password Cards ── */
.account-settings-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 1.8rem 2rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.02);
}

.account-settings-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.account-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

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

.account-form-group label {
  font-size: 0.8rem;
  font-weight: 600;
  color: #374151;
}

.account-form-group input,
.account-form-group textarea,
.account-form-group select {
  padding: 0.65rem 0.9rem;
  border-radius: 10px;
  border: 1.5px solid #d1d5db;
  background: #f9fafb;
  color: #111;
  font-size: 0.88rem;
  font-family: var(--font-body);
  outline: none;
  transition: all 0.2s;
}

.account-form-group input:focus,
.account-form-group textarea:focus {
  border-color: #2563eb;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
}

.account-form-group input:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.account-form-hint {
  font-size: 0.7rem;
  color: #9ca3af;
}

.account-save-btn {
  align-self: flex-start;
  font-size: 0.85rem;
  padding: 0.65rem 1.5rem;
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-block-start: 0.3rem;
}

/* Address current display */
.account-address-current {
  margin-block-start: 1.2rem;
  padding: 1rem 1.2rem;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 12px;
}

.account-address-current h4 {
  font-size: 0.82rem;
  font-weight: 700;
  color: #166534;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  margin: 0 0 0.3rem 0;
}

.account-address-current p {
  font-size: 0.82rem;
  color: #15803d;
  line-height: 1.4;
  margin: 0;
}

/* Google notice in password tab */
.account-password-google-notice {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1rem;
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: 12px;
  font-size: 0.82rem;
  color: #92400e;
}

.account-password-google-notice i {
  font-size: 1.5rem;
  color: #f59e0b;
}

.account-password-google-notice p {
  margin: 0;
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .account-profile-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 1.2rem 1.2rem;
  }
  .account-profile-left {
    width: 100%;
  }
  .account-signout-btn {
    align-self: flex-start;
  }
  .account-avatar-circle {
    width: 52px;
    height: 52px;
  }
  .account-avatar-initials {
    font-size: 1.1rem;
  }
  .account-profile-info h1 {
    font-size: 1.1rem;
  }
  .account-tabs-nav {
    gap: 0.15rem;
    padding: 0.25rem;
  }
  .account-tab {
    font-size: 0.75rem;
    padding: 0.5rem 0.8rem;
  }
  .account-overview-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }
  .account-stat-card {
    padding: 0.8rem 1rem;
  }
  .account-stat-icon {
    width: 36px;
    height: 36px;
    font-size: 1.1rem;
  }
  .account-stat-value {
    font-size: 1.15rem;
  }
  .account-quick-links {
    grid-template-columns: 1fr;
  }
  .account-form-row {
    grid-template-columns: 1fr;
  }
  .account-settings-card {
    padding: 1.2rem 1.2rem;
  }
  .account-order-top {
    flex-direction: column;
    align-items: flex-start;
  }
  .account-order-right {
    width: 100%;
    justify-content: flex-start;
  }
  .account-order-footer-grid {
    grid-template-columns: 1fr;
  }
  .account-section-header h2 {
    font-size: 1rem;
  }
}

@media (max-width: 576px) {
  .account-profile-card {
    padding: 1rem;
    border-radius: 16px;
  }
  .account-profile-meta {
    font-size: 0.72rem;
    gap: 0.3rem;
  }
  .account-tabs-nav {
    border-radius: 10px;
    overflow-x: auto;
  }
  .account-tab {
    font-size: 0.7rem;
    padding: 0.4rem 0.6rem;
  }
  .account-overview-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
  }
  .account-stat-card {
    padding: 0.7rem 0.8rem;
    gap: 0.6rem;
  }
  .account-stat-icon {
    width: 32px;
    height: 32px;
    font-size: 0.9rem;
  }
  .account-stat-value {
    font-size: 1rem;
  }
  .account-recent-orders {
    padding: 0.8rem 0.8rem;
  }
  .account-recent-row {
    padding: 0.5rem 0.5rem;
    font-size: 0.75rem;
  }
  .account-order-top {
    padding: 0.7rem 0.8rem;
  }
  .account-order-body {
    padding: 0.7rem 0.8rem;
  }
  .account-order-right {
    gap: 0.3rem;
  }
  .account-order-num {
    font-size: 0.8rem;
  }
  .account-order-item-info strong {
    font-size: 0.75rem;
  }
}

/* --------------------------------------------------------------------------
   Admin Panel Enhancements
   -------------------------------------------------------------------------- */
.admin-stats-grid-wide {
  grid-template-columns: repeat(4, 1fr);
}

.admin-stat-revenue {
  background: linear-gradient(135deg, rgba(0,113,227,0.15), rgba(0,113,227,0.05)) !important;
  border-color: rgba(0,113,227,0.2) !important;
}

.admin-stat-revenue h3 {
  color: var(--color-primary) !important;
}

.admin-stat-profit {
  background: linear-gradient(135deg, rgba(52,199,89,0.15), rgba(52,199,89,0.05)) !important;
  border-color: rgba(52,199,89,0.2) !important;
}

.admin-stat-profit h3 {
  color: #34c759 !important;
}

.admin-stat-orders {
  background: linear-gradient(135deg, rgba(255,149,0,0.15), rgba(255,149,0,0.05)) !important;
  border-color: rgba(255,149,0,0.2) !important;
}

.admin-stat-orders h3 {
  color: #ff9500 !important;
}

.stat-subtitle {
  font-size: 0.7rem;
  color: var(--text-gray-500);
  margin-top: 0.2rem;
}

/* Admin Badges */
.admin-badge {
  font-size: 0.65rem;
  font-weight: 700;
  color: white;
  padding: 0.15rem 0.5rem;
  border-radius: var(--border-radius-full);
  text-transform: uppercase;
  letter-spacing: 0.3px;
  display: inline-block;
}

.admin-badge-blue {
  background: var(--color-primary);
}

.admin-badge-purple {
  background: var(--color-purple);
}

/* Admin Edit Button */
.admin-btn-edit {
  background: rgba(0,113,227,0.15);
  color: var(--color-primary);
  border: 1px solid rgba(0,113,227,0.3);
  border-radius: 4px;
  padding: 0.25rem 0.6rem;
  font-size: 0.72rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-fast);
  margin-right: 0.3rem;
}

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

/* Inline Edit Form */
.admin-inline-edit-form {
  background: rgba(0,0,0,0.2);
  border: var(--border-subtle);
  border-radius: var(--border-radius-sm);
  padding: 1.2rem;
}

.admin-inline-edit-form .admin-form-group {
  margin-bottom: 0.8rem;
}

.admin-inline-edit-form label {
  font-size: 0.7rem;
  color: var(--text-gray-500);
  margin-bottom: 0.2rem;
  display: block;
}

.admin-inline-edit-form input,
.admin-inline-edit-form select,
.admin-inline-edit-form textarea {
  width: 100%;
  background: rgba(0,0,0,0.4);
  border: var(--border-subtle);
  border-radius: 4px;
  color: var(--text-white);
  padding: 0.5rem 0.7rem;
  font-size: 0.82rem;
  font-family: var(--font-body);
  outline: none;
}

.admin-inline-edit-form input:focus,
.admin-inline-edit-form textarea:focus {
  border-color: var(--color-primary);
}

/* Stock Badge */
.stock-badge {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
}

.stock-badge.in-stock {
  background: rgba(52,199,89,0.15);
  color: #34c759;
}

.stock-badge.out-of-stock {
  background: rgba(255,59,48,0.15);
  color: #ff3b30;
}

/* Admin Status Select */
.admin-status-select {
  background: rgba(0,0,0,0.4);
  border: var(--border-subtle);
  border-radius: 4px;
  color: var(--text-white);
  padding: 0.3rem 0.4rem;
  font-size: 0.75rem;
  font-family: var(--font-body);
  outline: none;
  cursor: pointer;
}

.admin-status-select:focus {
  border-color: var(--color-primary);
}

/* Sidebar Badge */
.sidebar-badge {
  background: #ff3b30;
  color: white;
  font-size: 0.6rem;
  font-weight: 700;
  padding: 0.1rem 0.4rem;
  border-radius: var(--border-radius-full);
  margin-left: 0.4rem;
}

/* Order Detail Box */
.order-detail-box {
  background: rgba(0,0,0,0.2);
  border-radius: var(--border-radius-sm);
  padding: 1rem;
}

.order-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  font-size: 1rem;
  color: black;
  margin-bottom: 0.8rem;
}

.order-detail-grid strong {
  color: var(--text-gray-500);
}

/* Product Out of Stock */
.product-out-of-stock {
  background: rgba(255,59,48,0.15) !important;
  color: #ff3b30 !important;
  border-color: rgba(255,59,48,0.3) !important;
  cursor: not-allowed !important;
}

.product-out-of-stock:hover {
  transform: none !important;
}

/* ==========================================================================
   11B. Super Admin — Mobile Responsive
   ========================================================================== */

/* Mobile Header Bar */
.admin-mobile-header {
  display: none;
  position: sticky;
  top: 0;
  z-index: 2000;
  background: var(--bg-dark-800);
  border-bottom: var(--border-subtle);
  padding: 0.6rem 1rem;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.admin-hamburger-btn {
  background: transparent;
  border: none;
  color: var(--text-white);
  font-size: 1.5rem;
  cursor: pointer;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  transition: background 0.2s ease;
}

.admin-hamburger-btn:active {
  background: rgba(255, 255, 255, 0.08);
}

.admin-mobile-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1rem;
  color: var(--text-white);
}

.admin-mobile-home {
  color: var(--text-gray-400);
  font-size: 1.3rem;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

/* Sidebar Overlay */
.admin-sidebar-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 1500;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.admin-sidebar-overlay.visible {
  display: block;
  opacity: 1;
}

/* Table Responsive */
@media (max-width: 1024px) {
  .admin-stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .admin-content {
    padding: 1.5rem;
  }

  .admin-card {
    padding: 1.2rem;
  }
}

@media (max-width: 768px) {
  /* Show mobile header */
  .admin-mobile-header {
    display: flex;
  }

  /* Sidebar becomes off-canvas overlay */
  .admin-layout {
    grid-template-columns: 1fr;
  }

  .admin-sidebar {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 280px;
    height: 100vh;
    height: 100dvh;
    z-index: 1600;
    transform: translateX(-100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    padding-top: 4rem;
    box-shadow: 4px 0 30px rgba(0, 0, 0, 0.3);
  }

  .admin-sidebar.sidebar-open {
    transform: translateX(0);
  }

  /* Adjust content area */
  .admin-content {
    padding: 1.2rem;
    max-block-size: none;
  }

  /* Header */
  .admin-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
  }

  .admin-header h1 {
    font-size: 1.4rem;
  }

  .admin-header p {
    font-size: 0.8rem;
  }

  /* Stats grid */
  .admin-stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
  }

  .admin-stat-card {
    padding: 1rem;
  }

  .admin-stat-card h3,
  .admin-stat-value {
    font-size: 1.4rem;
  }

  /* Form rows stack */
  .admin-form-row {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  /* Tables scroll horizontally */
  .admin-table-wrapper {
    margin-inline: -1rem;
    padding-inline: 1rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .admin-table {
    font-size: 0.75rem;
    min-width: 600px;
  }

  .admin-table th,
  .admin-table td {
    padding: 0.5rem 0.4rem;
    white-space: nowrap;
  }

  .admin-table img {
    width: 32px;
    height: 32px;
  }

  /* Inline edit form stacks */
  .admin-inline-edit-form {
    max-width: 100%;
  }

  .admin-inline-edit-form .admin-form-row {
    grid-template-columns: 1fr;
  }

  /* Inline edit row spans full width */
  .edit-product-row td {
    padding: 0.5rem;
  }

  /* Buttons */
  .admin-btn-edit,
  .admin-btn-delete {
    font-size: 0.7rem;
    padding: 0.25rem 0.5rem;
  }

  /* Cards */
  .admin-card {
    padding: 1rem;
    margin-bottom: 1rem;
  }

  /* Repair cards */
  .repair-services-toolbar {
    flex-direction: column;
    gap: 0.8rem;
  }

  /* Back link */
  .admin-back-link {
    font-size: 0.8rem;
  }

  /* Order detail grid */
  .order-detail-grid {
    grid-template-columns: 1fr;
  }

  /* Variant rows */
  .variant-row {
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .variant-row input,
  .variant-row select {
    flex: 1 1 100%;
    min-width: 0;
  }
}

@media (max-width: 480px) {
  .admin-stats-grid {
    grid-template-columns: 1fr;
    gap: 0.6rem;
  }

  .admin-content {
    padding: 0.8rem;
  }

  .admin-header h1 {
    font-size: 1.2rem;
  }

  .admin-table th,
  .admin-table td {
    padding: 0.4rem 0.3rem;
    font-size: 0.7rem;
  }

  /* Hide less important columns on mobile */
  .admin-table .hide-mobile {
    display: none;
  }

  /* Sidebar narrower on very small screens */
  .admin-sidebar {
    width: 260px;
  }

  /* Quill editor in edit form */
  .quill-editor-edit {
    min-height: 140px !important;
  }

  /* Dialog modals fit screen */
  .admin-modal-dialog {
    width: 94vw;
    max-width: 94vw;
    padding: 1rem;
  }
}

/* ✨ Quill Toolbar — Larger Icons + Tooltips */
.ql-toolbar.ql-snow {
  border-radius: var(--border-radius-md) var(--border-radius-md) 0 0;
  padding: 6px 8px;
  background: #f8f9fa;
  border-color: #d1d5db;
  overflow: visible;
}

.ql-toolbar.ql-snow .ql-formats {
  margin-right: 10px;
  overflow: visible;
}

.ql-toolbar.ql-snow button {
  width: 32px;
  height: 30px;
  padding: 3px;
}

.ql-toolbar.ql-snow button svg {
  width: 20px;
  height: 20px;
}

.ql-toolbar.ql-snow button:hover {
  background: #e5e7eb;
  border-radius: 4px;
}

.ql-toolbar.ql-snow button.ql-active {
  background: #dbeafe;
  border-radius: 4px;
}

.ql-toolbar.ql-snow .ql-picker-label {
  padding: 4px 6px;
  border: 1px solid transparent;
}

.ql-toolbar.ql-snow .ql-picker-label:hover {
  border-color: #d1d5db;
  border-radius: 4px;
}

/* Show tooltip on hover (above the button) */
.ql-toolbar button[title]:hover::after {
  content: attr(title);
  position: absolute;
  bottom: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%);
  background: #1f2937;
  color: #fff;
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 4px;
  white-space: nowrap;
  z-index: 9999;
  pointer-events: none;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.ql-toolbar button {
  position: relative;
}

/* --------------------------------------------------------------------------
   Responsive Adjustments for New Pages
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
  .cart-layout {
    grid-template-columns: 1fr;
  }
  
  .checkout-layout {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  
  .checkout-form-row {
    grid-template-columns: 1fr;
  }

  /* Checkout card — reduce padding on mobile */
  .checkout-card {
    padding: 1.2rem 1rem;
    margin-bottom: 1rem;
  }

  /* Checkout form inputs — ensure they don't overflow */
  .checkout-form-group input,
  .checkout-form-group textarea,
  .checkout-form-group select {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
  }

  /* Payment badges wrap on mobile */
  .payment-badges-row {
    flex-wrap: wrap;
    padding-left: 0;
    margin-top: 0.4rem;
  }

  /* Checkout items fit inside the card */
  .checkout-item {
    gap: 0.6rem;
    flex-wrap: nowrap;
    align-items: flex-start;
  }

  .checkout-item img {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    min-width: 40px;
  }

  .checkout-item-info {
    min-width: 0;
    overflow: hidden;
  }

  .checkout-item-name {
    font-size: 0.78rem;
    white-space: normal;
    word-break: break-word;
  }

  .checkout-item-price {
    flex-shrink: 0;
    font-size: 0.8rem;
  }

  /* Checkout account header card wraps on mobile */
  .account-profile-card {
    flex-wrap: wrap;
    padding: 1rem;
    gap: 0.8rem;
    border-radius: 14px;
  }

  .account-profile-left {
    gap: 0.8rem;
  }
  
  .login-form-row {
    grid-template-columns: 1fr;
  }
  
  .cart-grid-header {
    display: none;
  }

  .cart-grid-row {
    grid-template-columns: 1fr;
    gap: 0.5rem;
    padding: 1rem;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    margin-block-end: 0.75rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
    position: relative;
  }

  .cart-grid-row:last-of-type {
    border-radius: 14px;
  }

  .cart-col-product {
    gap: 0.8rem;
    padding-inline-end: 2rem;
  }

  .cart-row-image {
    width: 56px;
    height: 56px;
  }

  .cart-row-info h3 {
    font-size: 0.85rem;
  }

  .cart-col-price,
  .cart-col-qty,
  .cart-col-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.35rem 0 0.35rem 0.3rem;
    text-align: left;
    border-top: 1px solid #f3f4f6;
  }

  .cart-price-label {
    display: block;
    font-size: 0.68rem;
    font-weight: 600;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.3px;
  }

  .cart-col-remove {
    position: absolute;
    top: 0.6rem;
    right: 0.6rem;
  }

  .cart-remove-btn {
    width: 32px;
    height: 32px;
    background: #f3f4f6;
    border-radius: 50%;
    color: #9ca3af;
  }

  .cart-remove-btn:hover {
    background: #fef2f2;
    color: #ef4444;
  }

  .cart-col-qty {
    border-top: 1px solid #f3f4f6;
    justify-content: space-between;
  }

  .cart-row-line-total {
    color: var(--color-primary);
  }

  /* ── These were inside the same 768px breakpoint ── */
  .account-header {
    flex-direction: column;
    text-align: center;
  }
  
  .order-card-header {
    flex-direction: column;
    gap: 0.8rem;
  }
  
  .order-card-secondary {
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .admin-stats-grid-wide {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .order-detail-grid {
    grid-template-columns: 1fr;
  }
}

/* ── Cart mobile: small screens ── */
@media (max-width: 576px) {
  .cart-grid-row {
    padding: 0.75rem;
    border-radius: 12px;
    gap: 0.35rem;
    margin-block-end: 0.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  }

  .cart-row-image {
    width: 44px;
    height: 44px;
  }

  .cart-row-info h3 {
    font-size: 0.8rem;
  }

  .cart-item-variants {
    font-size: 0.65rem;
  }

  .cart-col-price,
  .cart-col-qty,
  .cart-col-total {
    padding: 0.25rem 0 0.25rem 0.2rem;
  }

  .cart-price-label {
    font-size: 0.62rem;
  }

  .cart-row-unit-price,
  .cart-row-line-total {
    font-size: 0.82rem;
  }

  .qty-btn {
    width: 28px;
    height: 28px;
    font-size: 0.85rem;
  }

  .qty-display {
    width: 30px;
    height: 28px;
    font-size: 0.75rem;
  }

  .cart-col-remove {
    top: 0.4rem;
    right: 0.4rem;
  }

  .cart-remove-btn {
    width: 28px;
    height: 28px;
    font-size: 0.8rem;
  }

  .cart-summary-card {
    padding: 1rem;
  }

  .cart-summary-row {
    font-size: 0.8rem;
  }

  .cart-checkout-btn {
    font-size: 0.82rem;
    padding: 0.65rem 1rem;
    border-radius: 10px;
  }

  .cart-continue-link {
    font-size: 0.75rem;
  }

  .cart-secure-badge {
    font-size: 0.65rem;
  }
}

/* ── Light mode pagination for favorites page ── */
#favorites-page .pagination-wrapper {
  border-top-color: #e5e7eb;
}

#favorites-page .page-link {
  background: #fff;
  border-color: #d1d5db;
  color: #374151;
}

#favorites-page .page-link:hover {
  background: #f3f4f6;
  border-color: var(--color-primary);
  color: var(--color-primary);
}

#favorites-page .page-link.active {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
}

#favorites-page .page-link.prev,
#favorites-page .page-link.next {
  font-size: 0.82rem;
  font-weight: 600;
  gap: 0.25rem;
}

#favorites-page .page-link:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  pointer-events: none;
}

#favorites-page .pagination-info {
  color: #6b7280;
}

/* ==========================================================================
   iPlug.lk - Shop Page & Single Product Details Styles
   ========================================================================== */

/* ── 1. Premium Full-Screen Search Overlay — Complete Redesign ── */
.search-overlay {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(20px) saturate(1.8);
  -webkit-backdrop-filter: blur(50px) saturate(1.8);
  z-index: 10000;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: min(16vh, 110px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              visibility 0.35s ease;
}

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

/* Dark gradient orbs background */
.search-overlay::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 700px 500px at 15% 5%, rgba(0, 80, 255, 0.12) 0%, transparent 65%),
    radial-gradient(ellipse 600px 600px at 85% 15%, rgba(0, 150, 255, 0.07) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}

/* Search header bar */
.search-overlay-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.8rem;
  z-index: 1;
  position: relative;
}

.search-overlay-header-left {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.search-overlay-logo {
  height: 66px;
  width: auto;
  object-fit: contain;
  opacity: 0.9;
}

.search-overlay-label {
  color: #ffffff;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-weight: 600;
  opacity: 0.7;
}

.search-overlay-esc-hint {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 500;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
}

.search-overlay-container {
  width: 92%;
  max-width: 680px;
  position: relative;
}

/* ── Premium search input ── */
.search-overlay-form {
  display: flex;
  align-items: center;
  position: relative;
  width: 100%;
  background: rgba(255, 255, 255, 0.03);
  border: 2px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 0.15rem;
  transition: all 0.35s ease;
  z-index: 1;
}

.search-overlay-form:focus-within {
  border-color: var(--color-primary);
  box-shadow: 0 0 60px rgba(0, 113, 227, 0.12),
              0 0 120px rgba(0, 113, 227, 0.04),
              inset 0 0 40px rgba(0, 113, 227, 0.02);
  background: rgba(255, 255, 255, 0.05);
}

/* Search icon prefix */
.search-input-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  flex-shrink: 0;
  color: var(--text-gray-500);
  font-size: 1.5rem;
  transition: color 0.3s ease;
}

.search-overlay-form:focus-within .search-input-icon {
  color: var(--color-primary);
}

.search-overlay-form input[type="text"] {
  flex: 1;
  background: transparent;
  border: none;
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--text-white);
  padding: 1.1rem 0.5rem 1.1rem 0;
  outline: none;
  min-width: 0;
}

.search-overlay-form input[type="text"]::placeholder {
  color: var(--text-gray-500);
  opacity: 0.4;
  font-weight: 400;
}

/* Clear button (shown when typing) */
.search-clear-btn {
  background: transparent;
  border: none;
  color: var(--text-gray-500);
  width: 40px;
  height: 40px;
  border-radius: 12px;
  font-size: 1.2rem;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-right: 0.2rem;
  transition: all 0.2s ease;
}

.search-clear-btn.visible {
  display: flex;
}

.search-clear-btn:hover {
  color: var(--text-white);
  background: rgba(255, 255, 255, 0.08);
}

.search-submit-btn {
  background: var(--gradient-neon);
  border: none;
  color: var(--text-white);
  width: 50px;
  height: 50px;
  border-radius: 16px;
  font-size: 1.4rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin: 0.2rem;
}

.search-submit-btn:hover {
  transform: scale(1.06);
  box-shadow: 0 0 32px rgba(0, 113, 227, 0.45);
}

.search-close-btn {
  background: rgb(255, 255, 255);
  border: none;
  color: var(--text-gray-400);
  width: 50px;
  height: 50px;
  border-radius: 16px;
  font-size: 1.4rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin: 0.2rem;
}

.search-close-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-white);
  transform: rotate(90deg);
}

/* ── Trending search suggestions section ── */
.search-trending {
  margin-top: 2rem;
  z-index: 1;
  position: relative;
}

.search-trending-header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1rem;
  color: #ffffff;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 500;
}

.search-trending-header i {
  font-size: 1rem;
  color: var(--color-primary);
}

/* Quick hint tags — redesigned */
.search-hints {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.search-hint-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 1.1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 99px;
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.search-hint-tag i {
  font-size: 0.9rem;
  color: var(--color-primary);
  transition: all 0.3s ease;
}

.search-hint-tag:hover {
  background: rgba(0, 113, 227, 0.12);
  border-color: rgba(0, 113, 227, 0.25);
  color: var(--text-white);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 113, 227, 0.1);
}

.search-hint-tag:hover i {
  color: var(--color-accent);
}

/* Search divider line */
.search-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.06), transparent);
  margin: 2rem 0;
  z-index: 1;
  position: relative;
}

/* ── Popular categories section ── */
.search-popular-cats {
  z-index: 1;
  position: relative;
}

.search-popular-cats-title {
  color: #ffffff;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 600;
  margin-bottom: 1rem;
}

.search-popular-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.6rem;
}

.search-popular-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 0.5rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  text-decoration: none;
  transition: all 0.3s ease;
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 500;
  text-align: center;
}

.search-popular-item i {
  font-size: 1.4rem;
  color: rgba(255, 255, 255, 0.6);
  transition: all 0.3s ease;
}

.search-popular-item:hover {
  background: rgba(0, 100, 255, 0.15);
  border-color: rgba(0, 100, 255, 0.3);
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0, 100, 255, 0.15);
}

.search-popular-item:hover i {
  color: #ffffff;
}

/* Mobile search overlay adjustments */
@media (max-width: 768px) {
  .search-overlay {
    padding-top: min(12vh, 70px);
    background: rgba(0, 0, 0, 0.96);
    backdrop-filter: blur(35px) saturate(1.5);
    -webkit-backdrop-filter: blur(35px) saturate(1.5);
  }

  .search-overlay::before {
    background:
      radial-gradient(ellipse 400px 300px at 20% 10%, rgba(0, 80, 255, 0.10) 0%, transparent 70%),
      radial-gradient(ellipse 300px 300px at 80% 30%, rgba(0, 150, 255, 0.06) 0%, transparent 70%);
  }

  .search-overlay-header {
    margin-bottom: 1.2rem;
  }

  .search-overlay-header-left {
    gap: 0.5rem;
  }

  .search-overlay-logo {
    height: 40px;
  }

  .search-overlay-esc-hint {
    display: none;
  }

  .search-overlay-container {
    width: 94%;
    max-width: 100%;
  }

  .search-overlay-form {
    padding: 0.08rem;
    border-radius: 18px;
  }

  .search-input-icon {
    width: 42px;
    font-size: 1.2rem;
  }

  .search-overlay-form input[type="text"] {
    font-size: 1.05rem;
    padding: 0.9rem 0.3rem 0.9rem 0;
  }

  .search-submit-btn,
  .search-close-btn {
    width: 42px;
    height: 42px;
    font-size: 1.2rem;
    border-radius: 13px;
  }

  .search-clear-btn {
    width: 34px;
    height: 34px;
    font-size: 1rem;
    border-radius: 10px;
  }

  .search-overlay-label {
    font-size: 0.6rem;
    letter-spacing: 2px;
  }

  .search-trending {
    margin-top: 1.5rem;
  }

  .search-hint-tag {
    font-size: 0.72rem;
    padding: 0.4rem 0.9rem;
  }

  .search-divider {
    margin: 1.5rem 0;
  }

  .search-popular-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
  }

  .search-popular-item {
    padding: 0.85rem 0.5rem;
    font-size: 0.7rem;
    border-radius: 12px;
  }

  .search-popular-item i {
    font-size: 1.2rem;
  }
}

@media (max-width: 480px) {
  .search-overlay {
    padding-top: min(10vh, 50px);
    background: rgba(0, 0, 0, 0.70);
    backdrop-filter: blur(10px) saturate(1.4);
    -webkit-backdrop-filter: blur(30px) saturate(1.4);
  }

  .search-overlay-container {
    width: 85%;
  }

  .search-overlay-form {
    border-radius: 16px;
    border-width: 1.5px;
  }

  .search-input-icon {
    width: 36px;
    font-size: 1.1rem;
  }

  .search-overlay-form input[type="text"] {
    font-size: 0.95rem;
    padding: 0.8rem 0.3rem 0.8rem 0;
  }

  .search-submit-btn,
  .search-close-btn {
    width: 38px;
    height: 38px;
    font-size: 1.1rem;
    border-radius: 11px;
  }

  .search-clear-btn {
    width: 30px;
    height: 30px;
    font-size: 0.9rem;
    border-radius: 8px;
  }

  .search-trending {
    margin-top: 1.2rem;
  }

  .search-hint-tag {
    font-size: 0.68rem;
    padding: 0.35rem 0.75rem;
    gap: 0.35rem;
  }

  .search-hint-tag i {
    font-size: 0.8rem;
  }

  .search-divider {
    margin: 1.2rem 0;
  }

  .search-popular-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.4rem;
  }

  .search-popular-item {
    padding: 0.7rem 0.4rem;
    font-size: 0.65rem;
    border-radius: 10px;
    gap: 0.35rem;
  }

  .search-popular-item i {
    font-size: 1.1rem;
  }
}

/* 2. Shop Banner Section */
.shop-banner {
  position: relative;
  background-color: var(--bg-dark-800);
  padding-block: 1.5rem 1.5rem;
  overflow: hidden;
  border-bottom: var(--border-subtle);
  margin-block-end: 2rem;
}

.banner-glow-1 {
  position: absolute;
  top: -50%;
  left: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 168, 255, 0.08) 0%, transparent 70%);
  z-index: 1;
  pointer-events: none;
}

.banner-glow-2 {
  position: absolute;
  bottom: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 240, 255, 0.06) 0%, transparent 70%);
  z-index: 1;
  pointer-events: none;
}

.banner-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.banner-title {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -1px;
  margin-block-end: 0.5rem;
  background: var(--gradient-neon);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.banner-subtitle {
  color: var(--text-gray-300);
  font-size: 1rem;
  max-width: 600px;
  margin-inline: auto;
}

/* 3. Shop Content Layout */
.shop-page-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 1.5rem;
  align-items: start;
}

.shop-sidebar {
  background-color: hsl(0, 0%, 100%);;
  border: 1px solid #e1e4e8;
  border-radius: var(--border-radius-md);
  padding: 1.5rem;
  position: sticky;
  top: 7.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
  color: var(--theme-text);
}

.sidebar-filter-widget {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.widget-title {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--color-accent);
  border-bottom: var(--theme-divider);
  padding-block-end: 0.5rem;
  margin-block-end: 0.2rem;
}

.sidebar-search-form {
  position: relative;
  display: flex;
  align-items: center;
}

.sidebar-search-form input {
  width: 100%;
  background-color: rgb(213 213 213 / 40%);
  border: var(--theme-input-border);
  border-radius: var(--border-radius-sm);
  color: var(--theme-input-text);
  padding: 0.7rem 2.5rem 0.7rem 0.9rem;
  font-size: 0.88rem;
  outline: none;
  transition: var(--transition-fast);
}

.sidebar-search-form input:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 8px rgba(0, 168, 255, 0.25);
}

.sidebar-search-form button {
  position: absolute;
  right: 10px;
  background: transparent;
  border: none;
  color: var(--theme-text-muted);
  font-size: 1.1rem;
  cursor: pointer;
  transition: var(--transition-fast);
}

.sidebar-search-form button:hover {
  color: var(--color-primary);
}

/* Category Filter List */
.filter-categories-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.category-item > a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.6rem 0.8rem;
  border-radius: var(--border-radius-sm);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--theme-text);
  transition: var(--transition-fast);
}

.category-item > a:hover {
  background-color: var(--theme-badge-bg);
  color: black;
  padding-inline-start: 1rem;
}

.category-item.active > a {
  background-color: rgba(0, 168, 255, 0.08);
  border-left: 3px solid var(--color-primary);
  color: var(--color-primary);
  font-weight: 700;
}

.cat-count, .sub-count {
  font-size: 0.75rem;
  color: var(--theme-text-muted);
  font-weight: 400;
}

.category-item.active .cat-count {
  color: var(--color-accent);
}

/* Nested Subcategories */
.filter-subcategories-list {
  list-style: none;
  padding-inline-start: 1rem;
  margin-block-start: 0.3rem;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.subcategory-item a {
  display: flex;
  align-items: center;
  padding: 0.4rem 0.6rem;
  border-radius: var(--border-radius-sm);
  font-size: 0.82rem;
  color: var(--theme-text-muted);
  transition: var(--transition-fast);
}

.sub-caret {
  font-size: 0.7rem;
  margin-inline-end: 0.4rem;
  opacity: 0.5;
}

.subcategory-item a:hover {
  color: var(--theme-text-title);
  background-color: var(--theme-badge-bg);
}

.subcategory-item.active a {
  color: var(--color-accent);
  font-weight: 600;
}

.subcategory-item.active .sub-caret {
  opacity: 1;
}

.sidebar-reset-box {
  margin-block-start: 0.5rem;
}

.reset-filters-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  font-size: 0.8rem;
  font-weight: 700;
  border-color: rgba(255,255,255,0.15);
  color: var(--text-gray-300);
}

.reset-filters-btn:hover {
  background-color: #ff3b30;
  border-color: #ff3b30;
  color: var(--text-white);
}

/* 4. Products Panel Content */
.shop-products-panel {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.products-panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: var(--border-subtle);
  padding-block-end: 1rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.products-count-box h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: black;
}

.active-filter-badges {
  display: flex;
  gap: 0.5rem;
  margin-block-start: 0.4rem;
  flex-wrap: wrap;
}

.filter-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background-color: var(--theme-badge-bg);
  border: var(--theme-card-border);
  color: var(--theme-text-title);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.25rem 0.5rem 0.25rem 0.7rem;
  border-radius: var(--border-radius-full);
}

.filter-badge a {
  font-size: 1rem;
  font-weight: bold;
  color: var(--theme-text-muted);
  line-height: 1;
}

.filter-badge a:hover {
  color: #ff3b30;
}

/* Sorting Box */
.sort-select-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.sort-icon {
  position: absolute;
  left: 12px;
  color: var(--theme-text-muted);
  font-size: 0.95rem;
  pointer-events: none;
}

.sort-select {
  background-color: rgb(213 213 213 / 40%);
  border: var(--theme-input-border);
  color: black;
  padding: 0.5rem 1rem 0.5rem 2.2rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: var(--border-radius-sm);
  outline: none;
  cursor: pointer;
  transition: var(--transition-fast);
  appearance: none;
  -webkit-appearance: none;
}

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

.shop-grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

/* Empty State */
.shop-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 2rem;
  background-color: var(--theme-card-bg);
  border: var(--theme-card-border);
  border-radius: var(--border-radius-md);
  margin-block-start: 1rem;
  box-shadow: var(--theme-card-shadow);
}

.empty-icon-circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background-color: var(--theme-badge-bg);
  border: var(--theme-card-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  color: var(--theme-text-muted);
  margin-block-end: 1.5rem;
}

.shop-empty-state h2 {
  font-size: 1.5rem;
  margin-block-end: 0.5rem;
  font-weight: 700;
  color: var(--theme-text-title);
}

.shop-empty-state p {
  color: var(--theme-text-muted);
  max-width: 450px;
  margin-block-end: 1.5rem;
  font-size: 0.95rem;
}

/* --------------------------------------------------------------------------
   Pagination
   -------------------------------------------------------------------------- */
.pagination-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  margin-block-start: 2rem;
  padding-block-start: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.pagination-info {
  font-size: 0.85rem;
  color: var(--text-gray-500);
}

.pagination {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.page-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 0.6rem;
  border-radius: var(--border-radius-sm);
  background-color: var(--bg-dark-800);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-gray-300);
  font-size: 0.88rem;
  font-weight: 500;
  text-decoration: none;
  transition: var(--transition-fast);
}

.page-link:hover {
  background-color: var(--bg-dark-700);
  border-color: var(--color-primary);
  color: var(--text-white);
}

.page-link.active {
  background: var(--gradient-neon);
  border-color: transparent;
  color: var(--text-white);
  font-weight: 700;
  box-shadow: 0 0 12px rgba(0, 168, 255, 0.3);
}

.page-link.prev,
.page-link.next {
  font-size: 1.1rem;
}

.page-link.prev:hover,
.page-link.next:hover {
  background-color: var(--bg-dark-700);
  border-color: rgba(255, 255, 255, 0.15);
}

.page-ellipsis {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  height: 38px;
  color: var(--text-gray-500);
  font-size: 0.9rem;
  letter-spacing: 1px;
}

/* --------------------------------------------------------------------------
   Favourite Products Page
   -------------------------------------------------------------------------- */
.favorites-page {
  padding-block: 1.5rem 4rem;
}

.favorites-page .products-panel-header {
  margin-bottom: 1.25rem;
}

.favorites-grid {
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

@media (max-width: 992px) {
  .favorites-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2rem;
  }
}

@media (max-width: 576px) {
  .favorites-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }
}

/* Empty state responsive */
@media (max-width: 768px) {
  #favorites-empty-state.no-reviews-box {
    padding: 2rem 1.5rem !important;
  }
}

@media (max-width: 576px) {
  #favorites-empty-state.no-reviews-box {
    padding: 1.5rem 1rem !important;
  }
  #favorites-empty-state .no-reviews-icon-wrap {
    width: 56px !important;
    height: 56px !important;
    font-size: 1.5rem !important;
  }
  #favorites-empty-state h3 {
    font-size: 1rem !important;
  }
  #favorites-empty-state p {
    font-size: 0.78rem !important;
  }
}

/* 5. Product Detail Page */
.product-detail-page {
  padding-block: 1rem 4rem;
}

/* Breadcrumbs styling */
.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--theme-text-muted);
  margin-block-end: 2rem;
}

.breadcrumbs a {
  transition: var(--transition-fast);
  color: var(--theme-text);
}

.breadcrumbs a:hover {
  color: var(--color-primary);
}

.crumb-separator {
  font-size: 0.75rem;
  color: var(--theme-text-muted);
  opacity: 0.7;
  display: flex;
  align-items: center;
}

.crumb-active {
  color: black;
  font-weight: 600;
}

/* Product Core Grid */
.product-core-grid {
  display: grid;
  grid-template-columns: 52% 1fr;
  gap: 3rem;
  align-items: start;
  margin-block-end: 3.5rem;
}

.product-image-column {
  min-width: 0;
  position: sticky;
  top: 90px;
}

/* =============================================
   Premium Image Card — Redesigned
   ============================================= */
.product-large-image-card {
  position: relative;
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: 24px;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.04),
    0 8px 24px -4px rgba(15, 23, 42, 0.06),
    0 24px 48px -8px rgba(15, 23, 42, 0.04);
  width: 100%;
  transition: box-shadow 0.4s ease;
}

.product-large-image-card::before {
  display: none;
}

.product-large-image-card:hover {
  box-shadow:
    0 2px 4px rgba(15, 23, 42, 0.06),
    0 16px 40px -8px rgba(15, 23, 42, 0.1),
    0 40px 80px -16px rgba(15, 23, 42, 0.06);
}

.product-large-image-card img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 8px 24px rgba(15, 23, 42, 0.08));
}

.product-large-image-card:hover img {
  transform: scale(1.20);
}

.product-detail-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 5px 12px;
  border-radius: 8px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.3);
  z-index: 10;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* =============================================
   Product Gallery Thumbnails — Redesigned
   ============================================= */
.product-gallery-section {
  margin-block-start: 0.75rem;
}

.gallery-thumbnails {
  display: flex;
  gap: 0.55rem;
  overflow-x: auto;
  padding-block: 0.35rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(15, 23, 42, 0.12) transparent;
}

.gallery-thumbnails::-webkit-scrollbar {
  height: 3px;
}

.gallery-thumbnails::-webkit-scrollbar-track {
  background: transparent;
}

.gallery-thumbnails::-webkit-scrollbar-thumb {
  background: rgba(15, 23, 42, 0.12);
  border-radius: 3px;
}

.gallery-thumb {
  position: relative;
  border-radius: 12px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
  flex-shrink: 0;
  width: 76px;
  height: 76px;
  overflow: hidden;
  border: 2px solid transparent;
  background: #f8fafc;
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
  transition: transform 0.25s ease;
}

.gallery-thumb:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.1);
}

.gallery-thumb.active {
  border-color: #2563eb;
  box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.3), 0 4px 12px rgba(37, 99, 235, 0.15);
}

.gallery-thumb.gallery-thumb-video {
  position: relative;
}

.video-play-badge {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 23, 42, 0.45);
  z-index: 2;
  font-size: 2rem;
  color: #fff;
  border-radius: 10px;
}

/* =============================================
   Product Info Column — Redesigned
   ============================================= */
.product-info-column {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.product-category-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #2563eb;
  background: rgba(37, 99, 235, 0.08);
  border: 1px solid rgba(37, 99, 235, 0.15);
  padding: 4px 12px;
  border-radius: 20px;
  margin-block-end: 0.85rem;
  width: fit-content;
}

.product-detail-title {
  font-size: 1.85rem;
  font-weight: 800;
  line-height: 1.18;
  margin-block-end: 0.85rem;
  letter-spacing: -0.4px;
  color: #0f172a;
}

/* =============================================
   Rating Row — Redesigned
   ============================================= */
.product-rating-summary {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-block-end: 1.25rem;
}

.rating-stars-row {
  display: flex;
  gap: 1px;
  color: #f59e0b;
}

.rating-summary-text {
  font-size: 0.82rem;
  font-weight: 600;
  color: #64748b;
  transition: color 0.2s ease;
  text-decoration: none;
}

.rating-summary-text:hover {
  color: #2563eb;
  text-decoration: underline;
}

/* =============================================
   Price Box — Premium Glassmorphism
   ============================================= */
.product-detail-price-box {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.03) 0%, rgba(99, 102, 241, 0.04) 100%);
  border: 1.5px solid rgba(37, 99, 235, 0.12);
  padding: 1.1rem 1.35rem;
  border-radius: 16px;
  display: flex;
  align-items: baseline;
  gap: 0.85rem;
  margin-block-end: 1.15rem;
  flex-wrap: wrap;
  box-shadow: 0 2px 12px rgba(37, 99, 235, 0.06), 0 1px 3px rgba(15, 23, 42, 0.04);
  position: relative;
  overflow: hidden;
}

.product-detail-price-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #2563eb, #6366f1, #2563eb);
  background-size: 200% 100%;
  animation: shimmerBar 3s linear infinite;
}

@keyframes shimmerBar {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.detail-price-current {
  font-family: var(--font-heading, 'Plus Jakarta Sans', sans-serif);
  font-size: 2.2rem;
  font-weight: 900;
  color: #2563eb;
  letter-spacing: -1px;
  line-height: 1;
}

.detail-price-original {
  font-size: 1.1rem;
  text-decoration: line-through;
  color: #94a3b8;
  font-weight: 500;
}

.detail-price-discount {
  font-size: 0.78rem;
  font-weight: 800;
  background: linear-gradient(135deg, #dcfce7, #bbf7d0);
  color: #15803d;
  padding: 3px 10px;
  border-radius: 20px;
  border: 1px solid rgba(21, 128, 61, 0.2);
  letter-spacing: 0.2px;
}

/* =============================================
   Stock Badge — Redesigned
   ============================================= */
.detail-stock-indicator {
  margin-block-end: 1.15rem;
}

.stock-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.38rem 0.9rem;
  border-radius: 20px;
}

.stock-badge.stock-in {
  background: rgba(21, 128, 61, 0.07);
  color: #15803d;
  border: 1px solid rgba(21, 128, 61, 0.18);
}

.stock-badge.stock-out {
  background: rgba(220, 38, 38, 0.07);
  color: #dc2626;
  border: 1px solid rgba(220, 38, 38, 0.18);
}

.stock-pulse {
  width: 7px;
  height: 7px;
  background-color: #16a34a;
  border-radius: 50%;
  animation: pulse-green 2s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes pulse-green {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.6);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 6px rgba(22, 163, 74, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(22, 163, 74, 0);
  }
}

/* =============================================
   Short Description
   ============================================= */
.product-detail-short-desc {
  color: #475569;
  font-size: 0.92rem;
  line-height: 1.65;
  margin-block-end: 1rem;
  padding-left: 1rem;
  border-left: 3px solid rgba(37, 99, 235, 0.25);
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #f1f5f9;
}

/* =============================================
   Premium Product Action Area — Redesigned
   ============================================= */
.detail-cart-action-box {
  margin-block-end: 1.25rem;
}

.detail-cart-form {
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* Variant label */
.variant-select-group label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #64748b;
  margin-bottom: 0.45rem;
  letter-spacing: 0.6px;
}

/* Qty Picker */
.quantity-picker-wrapper {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.qty-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--theme-text-muted);
}

.quantity-input-group {
  display: inline-flex;
  align-items: center;
  background: #fff;
  border: 1.5px solid #e5e7eb;
  border-radius: 12px;
  overflow: hidden;
  height: 52px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}

.quantity-input-group:focus-within {
  border-color: #111827;
  box-shadow: 0 0 0 3px rgba(17,24,39,0.08);
}

.qty-adjust-btn {
  background: transparent;
  border: none;
  color: #374151;
  width: 48px;
  height: 100%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 400;
  transition: background 0.18s ease, color 0.18s ease;
  flex-shrink: 0;
  user-select: none;
}

.qty-adjust-btn:hover {
  background: #f3f4f6;
  color: #111827;
}

.qty-adjust-btn:active {
  background: #e5e7eb;
}

.qty-input {
  background: transparent;
  border: none;
  color: #111827;
  width: 52px;
  height: 100%;
  text-align: center;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  outline: none;
  appearance: textfield;
  -moz-appearance: textfield;
}

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

/* Premium action row: qty + cart + buy now on one line */
.premium-action-row {
  display: flex;
  gap: 10px;
  align-items: stretch;
  margin-top: 20px;
  margin-bottom: 12px;
}

.premium-action-buttons-wrapper {
  display: flex;
  gap: 10px;
  flex: 1;
}

/* Qty stepper — pill style */
.premium-qty-group {
  display: flex;
  align-items: center;
  border: 1.5px solid #e2e8f0;
  border-radius: 14px;
  overflow: hidden;
  height: 48px;
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.06);
  min-width: 124px;
  flex-shrink: 0;
}

.premium-qty-group:focus-within {
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.premium-qty-btn {
  border: none;
  background: transparent;
  padding: 0 14px;
  font-size: 1.25rem;
  font-weight: 400;
  cursor: pointer;
  color: #475569;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.18s ease, color 0.18s ease;
  user-select: none;
  white-space: nowrap;
}

.premium-qty-btn:hover {
  background: #f8fafc;
  color: #0f172a;
}

.premium-qty-btn:active {
  background: #f1f5f9;
}

.premium-qty-input {
  width: 44px;
  border: none;
  text-align: center;
  font-size: 1rem;
  font-weight: 700;
  color: #0f172a;
  background: transparent;
  -moz-appearance: textfield;
  outline: none;
}

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

/* Shared button base */
.premium-btn {
  flex: 1;
  height: 48px;
  font-weight: 800;
  border-radius: 14px;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.7px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  padding: 0 16px;
  white-space: nowrap;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  position: relative;
  overflow: hidden;
}

.premium-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
  transition: left 0.5s ease;
}

.premium-btn:hover::before {
  left: 150%;
}

/* Add to Cart — Dark Obsidian */
.premium-btn-cart {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #fff;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.2), 0 1px 4px rgba(15, 23, 42, 0.12);
}

.premium-btn-cart:hover {
  background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.25), 0 4px 10px rgba(15, 23, 42, 0.15);
}

.premium-btn-cart:active {
  transform: translateY(0);
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.2);
}

/* Buy Now — Electric Blue Glow */
.premium-btn-buy {
  background: linear-gradient(135deg, #2563eb 0%, #4f46e5 100%);
  color: #fff;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3), 0 1px 4px rgba(37, 99, 235, 0.15);
}

.premium-btn-buy:hover {
  background: linear-gradient(135deg, #3b82f6 0%, #6366f1 100%);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(37, 99, 235, 0.4), 0 4px 12px rgba(37, 99, 235, 0.2);
}

.premium-btn-buy:active {
  transform: translateY(0);
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
}

/* WhatsApp Button — Emerald Green */
.premium-btn-whatsapp {
  width: 100% !important;
  flex: none !important;
  background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
  color: #fff !important;
  height: 48px;
  font-size: 0.88rem;
  border-radius: 14px;
  margin-bottom: 16px;
  box-shadow: 0 4px 16px rgba(22, 163, 74, 0.25), 0 1px 5px rgba(22, 163, 74, 0.15);
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  letter-spacing: 0.5px;
  font-weight: 800;
  text-transform: uppercase;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  position: relative;
  overflow: hidden;
}

.premium-btn-whatsapp::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
  transition: left 0.5s ease;
}

.premium-btn-whatsapp:hover::before {
  left: 150%;
}

.premium-btn-whatsapp:hover {
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(22, 163, 74, 0.35), 0 4px 12px rgba(22, 163, 74, 0.2);
  color: #fff !important;
}

.premium-btn-whatsapp:active {
  transform: translateY(0);
  box-shadow: 0 4px 16px rgba(22, 163, 74, 0.25);
}

.whatsapp-enquiry-row {
  margin-top: 2px;
}

/* Legacy compat */
.detail-add-btn {
  height: 48px;
  padding-inline: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-weight: 700;
  font-size: 0.9rem;
  flex-grow: 1;
}

.detail-btn-row {
  display: flex;
  gap: 0.75rem;
  margin-block-start: 0.5rem;
}

.detail-btn-row .detail-add-btn,
.detail-btn-row .detail-buy-now-btn {
  flex: 1;
  min-width: 0;
}

.detail-buy-now-btn {
  height: 48px;
  padding-inline: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-weight: 700;
  font-size: 0.9rem;
  flex-grow: 1;
  background: linear-gradient(135deg, #2563eb 0%, #4f46e5 100%);
  color: #fff;
  border: none;
  border-radius: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.detail-buy-now-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.35);
}

.detail-buy-now-btn:active {
  transform: translateY(0);
}

.detail-buy-now-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}

.detail-buy-now-btn i {
  font-size: 1.15rem;
}

/* Mobile responsive */
@media (max-width: 768px) {
  .premium-action-row {
    flex-direction: column;
    gap: 10px;
  }
  .premium-qty-group {
    width: 100%;
    border-radius: 14px;
    height: 50px !important;
    min-width: unset;
  }
  .premium-qty-btn {
    flex: 1;
    justify-content: center;
  }
  .premium-qty-input {
    flex: 1;
    width: auto;
  }
  .premium-action-buttons-wrapper {
    width: 100%;
    gap: 8px;
  }
  .premium-btn {
    width: 100%;
    height: 50px !important;
    border-radius: 14px;
    font-size: 0.85rem !important;
    padding: 0 !important;
    letter-spacing: 0.2px;
  }
  .premium-btn-whatsapp {
    height: 50px !important;
    border-radius: 14px !important;
    font-size: 0.88rem;
    margin-bottom: 14px !important;
  }
}

/* Premium Trust & Payment Ribbon */
.premium-trust-ribbon {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 1.25rem 1.15rem;
  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.05), 0 0 0 1px rgba(15, 23, 42, 0.02);
  margin-top: 1.25rem;
  position: relative;
}

.trust-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  padding-bottom: 1.1rem;
  border-bottom: 1px solid #f1f5f9;
}

.trust-feature-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.4rem;
  padding: 0.25rem 0.15rem;
  transition: transform 0.25s ease;
}

.trust-feature-item:hover {
  transform: translateY(-2px);
}

.trust-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.45rem;
  margin-bottom: 2px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: all 0.25s ease;
}

.trust-icon-box.trust-icon-shield {
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  color: #2563eb;
  border: 1px solid rgba(37, 99, 235, 0.15);
}

.trust-icon-box.trust-icon-dispatch {
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
  color: #d97706;
  border: 1px solid rgba(217, 119, 6, 0.15);
}

.trust-icon-box.trust-icon-whatsapp {
  background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
  color: #059669;
  border: 1px solid rgba(5, 150, 105, 0.15);
}

.trust-feature-text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.trust-feature-text strong {
  font-size: 0.78rem;
  color: #0f172a;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.trust-feature-text span {
  font-size: 0.7rem;
  color: #64748b;
  font-weight: 500;
  margin-top: 1px;
}

/* ==========================================================================
   Product Detail - Payment Deals & Discount Cards (Reference Design)
   ========================================================================== */
.product-payment-deals-section {
  padding-top: 1.1rem;
}

/* Top Payment Partners Row */
.payment-partners-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  padding: 0.4rem 0.25rem 1.15rem 0.25rem;
  flex-wrap: wrap;
}

.partner-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  user-select: none;
  transition: transform 0.2s ease;
}

.partner-logo:hover {
  transform: translateY(-1px);
}

.koko-bubble-text {
  font-family: var(--font-heading, 'Plus Jakarta Sans', -apple-system, sans-serif);
  font-size: 1.15rem;
  font-weight: 900;
  letter-spacing: 0.5px;
  background: linear-gradient(135deg, #4f46e5 0%, #ec4899 50%, #38bdf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.mintpay-slashes {
  font-weight: 900;
  font-size: 1.1rem;
  color: #0f172a;
  letter-spacing: -2px;
  margin-right: 1px;
}

.mintpay-text {
  font-family: var(--font-body, sans-serif);
  font-weight: 700;
  font-size: 1.05rem;
  color: #00b4d8;
  letter-spacing: -0.5px;
}

.visa-text {
  font-family: 'Arial', sans-serif;
  font-size: 1.2rem;
  font-weight: 900;
  font-style: italic;
  color: #1a1f71;
  letter-spacing: -0.5px;
}

.partner-logo.partner-mastercard {
  display: flex;
  align-items: center;
  position: relative;
  width: 32px;
  height: 20px;
}

.mc-circle {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  position: absolute;
  top: 0;
}

.mc-circle.mc-red {
  background: #eb001b;
  left: 0;
  z-index: 2;
  mix-blend-mode: multiply;
}

.mc-circle.mc-orange {
  background: #f79e1b;
  right: 0;
  z-index: 1;
}

.partner-logo.partner-bank,
.partner-logo.partner-cash {
  display: flex;
  align-items: center;
  gap: 4px;
}

.partner-logo.partner-bank i {
  font-size: 1.35rem;
  color: #1e40af;
}

.partner-logo.partner-bank .partner-sub {
  font-size: 0.55rem;
  font-weight: 800;
  line-height: 1.1;
  color: #1e40af;
  text-align: left;
}

.partner-logo.partner-cash i {
  font-size: 1.4rem;
  color: #15803d;
}

.partner-logo.partner-cash .partner-sub {
  font-size: 0.55rem;
  font-weight: 800;
  line-height: 1.1;
  color: #15803d;
  text-align: left;
}

/* 4 Payment Option Cards Grid (2x2) */
.payment-deal-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.15rem 0.9rem;
  margin-top: 0.25rem;
}

.payment-deal-card {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 14px;
  padding: 1.15rem 0.75rem 0.85rem 0.75rem;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 100px;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.03);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.payment-deal-card:hover {
  border-color: #94a3b8;
  box-shadow: 0 8px 20px -4px rgba(15, 23, 42, 0.08);
  transform: translateY(-2px);
}

/* Discount / Status Badge in Top Right */
.deal-badge {
  position: absolute;
  top: -9px;
  right: 12px;
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  color: #ffffff;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 6px;
  letter-spacing: 0.4px;
  box-shadow: 0 3px 8px rgba(239, 68, 68, 0.35);
  user-select: none;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Koko / BNPL Card with Sleek Dark Glass Overlay */
.payment-deal-card-koko-overlay {
  position: relative;
  overflow: hidden;
}

.koko-dark-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.54);
  backdrop-filter: blur(2.5px);
  -webkit-backdrop-filter: blur(2.5px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  z-index: 10;
  border-radius: 12px;
  padding: 0.5rem;
  text-align: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.koko-dark-overlay:hover {
  background: rgba(15, 23, 42, 0.64);
}

.koko-overlay-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.6px;
  padding: 5px 12px;
  border-radius: 20px;
  box-shadow: 0 3px 12px rgba(37, 99, 235, 0.5);
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.koko-overlay-badge i {
  font-size: 0.85rem;
  animation: spinSlow 4s linear infinite;
}

@keyframes spinSlow {
  0% { transform: rotate(0deg); }
  50% { transform: rotate(180deg); }
  100% { transform: rotate(360deg); }
}

.koko-overlay-sub {
  color: #f8fafc;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.2px;
}

.deal-card-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  margin-bottom: 0.35rem;
}

/* Card 1: Bank Logo */
.deal-bank-logo {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #0f766e;
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.2px;
}

.deal-bank-logo i {
  font-size: 1.3rem;
  color: #0f766e;
}

/* Card 2: Cash Logo */
.deal-cash-logo i {
  font-size: 2.1rem;
  color: #16a34a;
}

/* Card 3: Cards Logo */
.deal-cards-icons {
  display: flex;
  align-items: center;
  gap: 8px;
}

.visa-mini {
  font-family: 'Arial', sans-serif;
  font-size: 1.15rem;
  font-weight: 900;
  font-style: italic;
  color: #1a1f71;
}

.mc-mini {
  display: flex;
  align-items: center;
  position: relative;
  width: 24px;
  height: 16px;
}

.mc-mini .mc-c {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  position: absolute;
  top: 0;
}

.mc-mini .mc-c.mc-red {
  background: #eb001b;
  left: 0;
  z-index: 2;
  mix-blend-mode: multiply;
}

.mc-mini .mc-c.mc-orange {
  background: #f79e1b;
  right: 0;
  z-index: 1;
}

/* Card 4: BNPL Logo */
.deal-bnpl-icons {
  display: flex;
  align-items: center;
  gap: 6px;
}

.koko-mini {
  font-family: var(--font-heading, sans-serif);
  font-size: 0.95rem;
  font-weight: 900;
  background: linear-gradient(135deg, #4f46e5 0%, #ec4899 50%, #38bdf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.mintpay-mini {
  font-size: 0.9rem;
  font-weight: 700;
  color: #00b4d8;
  letter-spacing: -0.5px;
}

.mintpay-mini .mp-slashes {
  color: #0f172a;
  font-weight: 900;
  letter-spacing: -2px;
  margin-right: 1px;
}

/* Price Output in Cards */
.deal-card-price {
  margin-top: 0.1rem;
}

.deal-price-val {
  font-family: var(--font-heading, 'Plus Jakarta Sans', -apple-system, sans-serif);
  font-size: 1.15rem;
  font-weight: 800;
  color: #047857;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.deal-card-subtext {
  font-size: 0.72rem;
  color: #64748b;
  font-weight: 500;
  margin-top: 2px;
  display: block;
}

/* Mobile Responsiveness Improvements */
@media (max-width: 640px) {
  .premium-trust-ribbon {
    padding: 1rem 0.85rem;
    border-radius: 14px;
    margin-top: 1rem;
  }

  .trust-features-grid {
    gap: 0.4rem;
    padding-bottom: 0.9rem;
  }

  .trust-icon-box {
    width: 38px;
    height: 38px;
    font-size: 1.25rem;
    border-radius: 10px;
  }

  .trust-feature-text strong {
    font-size: 0.7rem;
    letter-spacing: 0.2px;
  }

  .trust-feature-text span {
    font-size: 0.63rem;
  }

  .payment-partners-row {
    padding: 0.6rem 0.2rem 0.85rem 0.2rem;
    gap: 0.45rem;
    justify-content: space-around;
  }

  .partner-logo .koko-bubble-text {
    font-size: 1rem;
  }

  .partner-logo .mintpay-text {
    font-size: 0.92rem;
  }

  .partner-logo .visa-text {
    font-size: 1.05rem;
  }

  .partner-logo.partner-mastercard {
    width: 28px;
    height: 18px;
  }

  .partner-logo.partner-mastercard .mc-circle {
    width: 18px;
    height: 18px;
  }

  .partner-logo.partner-bank i,
  .partner-logo.partner-cash i {
    font-size: 1.2rem;
  }

  .partner-logo.partner-bank .partner-sub,
  .partner-logo.partner-cash .partner-sub {
    font-size: 0.5rem;
  }

  .payment-deal-cards-grid {
    gap: 0.95rem 0.6rem;
  }

  .payment-deal-card {
    padding: 1.05rem 0.4rem 0.75rem 0.4rem;
    min-height: 94px;
    border-radius: 12px;
  }

  .deal-price-val {
    font-size: 1.02rem;
  }

  .deal-badge {
    top: -8px;
    right: 8px;
    font-size: 0.6rem;
    padding: 2px 6px;
  }

  .koko-overlay-badge {
    font-size: 0.65rem;
    padding: 4px 9px;
    letter-spacing: 0.4px;
  }

  .koko-overlay-sub {
    font-size: 0.6rem;
  }
}

@media (max-width: 380px) {
  .trust-icon-box {
    width: 34px;
    height: 34px;
    font-size: 1.15rem;
  }

  .trust-feature-text strong {
    font-size: 0.64rem;
  }

  .trust-feature-text span {
    font-size: 0.58rem;
  }

  .deal-bank-logo {
    font-size: 0.7rem;
  }

  .deal-price-val {
    font-size: 0.92rem;
  }

  .payment-partners-row {
    gap: 0.35rem;
  }
}

/* =============================================
   Product Gallery Section
   ============================================= */
.product-gallery-section {
  margin-block-start: 1rem;
}

.gallery-thumbnails {
  display: flex;
  gap: 0.6rem;
  overflow-x: auto;
  padding-block: 0.5rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.gallery-thumbnails::-webkit-scrollbar {
  height: 4px;
}

.gallery-thumbnails::-webkit-scrollbar-thumb {
  background: var(--color-primary);
  border-radius: 4px;
}

.gallery-thumb {
  flex-shrink: 0;
  width: 70px;
  height: 70px;
  border: 2px solid transparent;
  border-radius: var(--border-radius-sm);
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.2s ease, transform 0.2s ease;
  opacity: 0.65;
}

.gallery-thumb:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.gallery-thumb.active {
  border-color: var(--color-primary);
  opacity: 1;
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Video thumb in gallery */
.gallery-thumb-video {
  position: relative;
}

.gallery-thumb-video .video-play-badge {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.35);
  z-index: 1;
  border-radius: var(--border-radius-sm);
  transition: background 0.2s ease;
}

.gallery-thumb-video .video-play-badge i {
  font-size: 1.5rem;
  color: #ff0000;
  filter: drop-shadow(0 0 4px rgba(255, 0, 0, 0.6));
}

.gallery-thumb-video:hover .video-play-badge {
  background: rgba(0, 0, 0, 0.5);
}

/* Main video wrapper inside product image card */
.main-video-wrapper {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
}

.main-video-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* =============================================
   Mobile Sticky Buy Bar
   ============================================= */
.mobile-sticky-buy-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  padding: 0.7rem 1rem;
  padding-bottom: calc(0.7rem + env(safe-area-inset-bottom));
  box-shadow: 0 -8px 30px -4px rgba(15, 23, 42, 0.12);
  gap: 0.7rem;
  align-items: center;
}

.mobile-sticky-product-thumb {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  object-fit: contain;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  flex-shrink: 0;
}

.mobile-sticky-price {
  flex: 1;
  min-width: 0;
}

.mobile-sticky-price-label {
  display: block;
  font-size: 0.65rem;
  font-weight: 600;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 1;
  margin-bottom: 1px;
}

.mobile-sticky-price-val {
  display: block;
  font-family: var(--font-heading, 'Plus Jakarta Sans', sans-serif);
  font-size: 1.2rem;
  font-weight: 900;
  color: #2563eb;
  letter-spacing: -0.5px;
  line-height: 1.1;
}

.mobile-sticky-actions {
  display: flex;
  gap: 0.5rem;
  flex-shrink: 0;
}

.mobile-sticky-cart-btn {
  height: 42px;
  padding: 0 1.1rem;
  background: #0f172a;
  color: #fff;
  border: none;
  border-radius: 12px;
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
  transition: all 0.25s ease;
}

.mobile-sticky-cart-btn:hover {
  background: #1e293b;
}

.mobile-sticky-buy-btn {
  height: 42px;
  padding: 0 1.1rem;
  background: linear-gradient(135deg, #2563eb, #4f46e5);
  color: #fff;
  border: none;
  border-radius: 12px;
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
  transition: all 0.25s ease;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.mobile-sticky-buy-btn:hover {
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.4);
}

@media (max-width: 768px) {
  .mobile-sticky-buy-bar {
    display: flex;
  }

  /* Pad bottom of page so sticky bar doesn't cover content */
  .product-detail-page {
    padding-bottom: 90px;
  }
}

/* =============================================
   Product Description Section (Read More) — Redesigned
   ============================================= */
.product-description-section {
  padding-block-start: 2.5rem;
  margin-bottom: 2rem;
}

.desc-section-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-block-end: 1.5rem;
  position: relative;
}

.desc-section-divider::before {
  content: '';
  position: absolute;
  inset: 50% 0 0 0;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(37, 99, 235, 0.3), transparent);
}

.desc-section-divider-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2563eb, #6366f1);
  color: #fff;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  box-shadow: 0 0 0 5px #fff, 0 4px 16px rgba(37, 99, 235, 0.2);
}

.desc-section-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: #0f172a;
  margin-block-end: 1.25rem;
  text-align: center;
  letter-spacing: -0.3px;
}

.product-desc-content {
  position: relative;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  background: #ffffff;
  border: 1px solid #f1f5f9;
  border-radius: 16px;
  padding: 1.75rem 2rem;
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.03);
}

.product-desc-content.desc-collapsed {
  max-height: 280px;
}

.product-desc-content:not(.desc-collapsed) {
  max-height: none;
}

.rich-desc-body {
  font-size: 0.95rem;
  line-height: 1.75;
  color: #374151;
}

.rich-desc-body h1,
.rich-desc-body h2,
.rich-desc-body h3 {
  color: #0f172a;
  margin-block: 1.25rem 0.6rem;
  font-weight: 700;
}

.rich-desc-body ul,
.rich-desc-body ol {
  padding-inline-start: 1.5rem;
  margin-block: 0.8rem;
}

.rich-desc-body img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  margin-block: 1rem;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.08);
}

/* Quill Video Embeds (YouTube, etc.) */
.rich-desc-body .ql-video,
.rich-desc-body iframe {
  width: 100%;
  max-width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  border: none;
  border-radius: 12px;
  margin-block: 1.2rem;
  background: #000;
}

.rich-desc-body .ql-video iframe {
  width: 100%;
  height: 100%;
  border-radius: inherit;
}

.rich-desc-body table {
  width: 100%;
  border-collapse: collapse;
  margin-block: 1rem;
}

.rich-desc-body td,
.rich-desc-body th {
  border: 1px solid #e2e8f0;
  padding: 0.7rem 0.9rem;
  text-align: left;
}

.rich-desc-body th {
  background: #f8fafc;
  font-weight: 700;
  color: #0f172a;
}

.desc-fade-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100px;
  background: linear-gradient(to top, #fff 30%, transparent);
  pointer-events: none;
}

.desc-read-more-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 1rem auto 0;
  padding: 0.7rem 2rem;
  border: 2px solid rgba(37, 99, 235, 0.4);
  border-radius: 50px;
  background: transparent;
  color: #2563eb;
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  transition: all 0.25s ease;
  letter-spacing: 0.3px;
}

.desc-read-more-btn:hover {
  background: #2563eb;
  border-color: #2563eb;
  color: #fff;
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.3);
}

.desc-read-more-btn i {
  font-size: 1.1rem;
  transition: transform 0.3s ease;
}

/* =============================================
   Product Video (YouTube Embed) Section
   ============================================= */
.product-video-section {
  padding-block-start: 3rem;
}

.video-section-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-block-end: 1.5rem;
  position: relative;
}

.video-section-divider::before {
  content: '';
  position: absolute;
  inset: 50% 0 0 0;
  height: 1px;
  background: linear-gradient(to right, transparent, #ff0000, transparent);
  opacity: 0.2;
}

.video-section-divider-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff0000, #c4302b);
  color: #fff;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  box-shadow: 0 0 0 4px #fff, 0 0 20px rgba(255, 0, 0, 0.15);
}

.video-section-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: #c4302b;
  margin-block-end: 1.2rem;
  text-align: center;
}

.video-embed-wrapper {
  position: relative;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--theme-card-shadow);
}

.video-embed-wrapper::before {
  content: '';
  display: block;
  padding-block-start: 56.25%; /* 16:9 */
}

.video-embed-wrapper iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* =============================================
   Gallery Lightbox
   ============================================= */
.gallery-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: lightboxFadeIn 0.25s ease;
}

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

.lightbox-content {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 4px;
}

.lightbox-close {
  position: absolute;
  top: 1.2rem;
  right: 1.5rem;
  color: #fff;
  font-size: 2.5rem;
  font-weight: 300;
  cursor: pointer;
  z-index: 1;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  transition: background 0.2s ease;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.25);
}

.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: #fff;
  font-size: 1.8rem;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
  z-index: 1;
}

.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(255, 255, 255, 0.25);
}

.lightbox-prev { left: 1rem; }
.lightbox-next { right: 1rem; }

/* =============================================
   Mobile Sticky Bar
   ============================================= */
.mobile-sticky-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #fff;
  border-top: 1px solid #e5e7eb;
  padding: 0.6rem 1rem 0.8rem;
  z-index: 9999;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
  align-items: center;
  gap: 0.8rem;
  transform: translateY(100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-sticky-bar.visible {
  transform: translateY(0);
  display: flex;
}

.mobile-sticky-price {
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
}

.mobile-sticky-price-label {
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  color: #6b7280;
  letter-spacing: 0.5px;
}

.mobile-sticky-price-value {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--color-primary);
  font-family: var(--font-heading);
}

.mobile-sticky-buy-btn {
  flex: 1;
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 0.7rem 0.5rem;
  font-weight: 700;
  font-size: 0.85rem;
  font-family: var(--font-heading);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  letter-spacing: 0.5px;
  transition: opacity 0.2s ease;
}

.mobile-sticky-buy-btn:active {
  opacity: 0.85;
}

.mobile-sticky-buy-btn.out-of-stock {
  background: #9ca3af;
  cursor: not-allowed;
}

.mobile-sticky-cart-btn {
  flex: 1;
  background: #fff;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
  border-radius: 8px;
  padding: 0.65rem 0.5rem;
  font-weight: 700;
  font-size: 0.85rem;
  font-family: var(--font-heading);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  letter-spacing: 0.5px;
  transition: all 0.2s ease;
}

.mobile-sticky-cart-btn:active {
  background: var(--color-primary);
  color: #fff;
}

/* =============================================
   Detail Buy Now Button (Desktop)
   ============================================= */
.detail-btn-row {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
}

.detail-buy-now-btn {
  height: 48px;
  padding-inline: 1.8rem;
  background: linear-gradient(135deg, #f97316, #ef4444);
  color: #fff;
  border: none;
  border-radius: var(--border-radius-sm);
  font-weight: 700;
  font-size: 0.9rem;
  font-family: var(--font-heading);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  letter-spacing: 0.5px;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px rgba(249, 115, 22, 0.3);
}

.detail-buy-now-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(249, 115, 22, 0.4);
}

.detail-buy-now-btn:active {
  transform: translateY(0);
}

/* Hide mobile sticky bar on desktop (769px+) */
@media (min-width: 769px) {
  .mobile-sticky-bar,
  .mobile-sticky-bar.visible {
    display: none !important;
  }
}

/* Reviews section decorative divider */
.reviews-section-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-block-end: 2rem;
  position: relative;
}

.reviews-section-divider::before {
  content: '';
  position: absolute;
  inset: 50% 0 0 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--color-primary), transparent);
  opacity: 0.2;
}

.reviews-section-divider-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  color: #fff;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  box-shadow: 0 0 0 4px #fff, 0 0 20px rgba(0, 113, 227, 0.15);
}

/* 6. Product Reviews section styling */
.product-reviews-section {
  padding-block-start: 3rem;
}

.reviews-section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-block-end: 2.5rem;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.reviews-section-header h2 {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--color-primary);
}

.avg-rating-banner {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  background-color: var(--theme-card-bg);
  border: var(--theme-card-border);
  padding: 1rem 1.5rem;
  border-radius: var(--border-radius-md);
  box-shadow: var(--theme-card-shadow);
}

.avg-rating-number {
  font-size: 2.5rem;
  font-weight: 800;
  font-family: var(--font-heading);
  color: var(--theme-text-title);
  line-height: 1;
}

.avg-rating-details {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.reviews-count-subtitle {
  font-size: 0.76rem;
  color: var(--theme-text-muted);
  font-weight: 500;
}

.reviews-layout-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 3rem;
  align-items: start;
}

/* Write Review Form Card */
.write-review-card {
  background-color: var(--theme-card-bg);
  border: var(--theme-card-border);
  border-radius: var(--border-radius-md);
  padding: 2rem;
  box-shadow: var(--theme-card-shadow);
  color: var(--theme-text);
}

.write-review-card h3 {
  font-size: 1.2rem;
  margin-block-end: 0.3rem;
  color: var(--theme-text-title);
}

.form-helper-text {
  font-size: 0.8rem;
  color: var(--theme-text-muted);
  margin-block-end: 1.5rem;
}

.review-submit-form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.rating-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--theme-text);
  display: block;
}

/* Form group wrapper */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--theme-text);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.form-group label i {
  font-size: 0.95rem;
  color: var(--text-gray-500);
}

/* Form input / textarea styling */
.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
  font-family: inherit;
  color: var(--theme-text);
  background: #fff;
  border: 1px solid #d1d5db;
  border-radius: 10px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  box-sizing: border-box;
}

.form-control:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.1);
}

.form-control::placeholder {
  color: #9ca3af;
}

textarea.form-control {
  resize: vertical;
  min-height: 100px;
  line-height: 1.5;
}

.form-field-hint {
  font-size: 0.72rem;
  color: var(--text-gray-500);
  margin-block-start: 0.15rem;
}

.form-field-count {
  text-align: right;
  font-size: 0.7rem;
}

/* Star Selector (Radio buttons styled as stars) */
.star-rating-selector {
  display: flex;
  flex-direction: row-reverse;
  justify-content: flex-end;
  gap: 0.3rem;
  margin-block-start: 0.3rem;
}

.star-rating-selector input {
  display: none;
}

.star-rating-selector label {
  cursor: pointer;
  font-size: 1.6rem;
  color: var(--theme-text-muted);
  transition: var(--transition-fast);
}

/* Hover and checked interactions */
.star-rating-selector label:hover,
.star-rating-selector label:hover ~ label,
.star-rating-selector input:checked ~ label {
  color: #ffb300;
}

.star-rating-selector label:hover i,
.star-rating-selector label:hover ~ label i,
.star-rating-selector input:checked ~ label i {
  transform: scale(1.1);
}

.star-rating-label {
  margin-inline-start: 0.6rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-gray-500);
  transition: color 0.2s ease;
  min-width: 90px;
}

/* Rating validation message (inline error) */
.rating-validation-msg {
  font-size: 0.78rem;
  font-weight: 600;
  color: #dc2626;
  margin-block-start: 0.4rem;
  display: none;
  align-items: center;
  gap: 0.3rem;
}

.rating-validation-msg.visible {
  display: flex;
}

.rating-validation-msg::before {
  content: '\26A0';
  font-size: 0.85rem;
}

/* Review toast message (success/error) */
.review-toast-msg {
  margin-block-start: 1rem;
  padding: 0.75rem 1rem;
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 600;
  display: none;
  align-items: center;
  gap: 0.4rem;
  animation: fadeInUp 0.3s ease forwards;
}

.review-toast-msg.visible {
  display: flex;
}

.review-toast-msg.toast-success {
  background: #ecfdf5;
  color: #059669;
  border: 1px solid #a7f3d0;
}

.review-toast-msg.toast-error {
  background: #fef2f2;
  color: #dc2626;
  border: 1px solid #fecaca;
}

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

/* Write Review Card Header */
.write-review-card-header {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-block-end: 0.5rem;
}

.write-review-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  color: #fff;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

/* Reviews header left */
.reviews-header-left {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
}

.reviews-header-count {
  font-size: 0.85rem;
  color: var(--theme-text-muted);
  font-weight: 500;
}

/* Average rating display */
.avg-rating-number-wrap {
  display: flex;
  align-items: baseline;
  gap: 0.15rem;
}

.avg-rating-max {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--theme-text-muted);
}

/* Rating bar */
.reviews-rating-bar {
  margin-block-start: 0.15rem;
}

.rating-bar-track {
  width: 100px;
  height: 4px;
  background: #e5e7eb;
  border-radius: 99px;
  overflow: hidden;
}

.rating-bar-fill {
  height: 100%;
  background: linear-gradient(to right, #fbbf24, #f59e0b);
  border-radius: 99px;
  transition: width 0.5s ease;
}

/* Reviews list header */
.reviews-list-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-block-end: 0.5rem;
  padding-block-end: 0.75rem;
  border-bottom: 1px solid #e5e7eb;
}

.reviews-list-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #111;
}

.reviews-list-sort {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-gray-500);
  display: flex;
  align-items: center;
  gap: 0.3rem;
  cursor: default;
}

/* Submit button */
.submit-review-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  font-size: 0.9rem;
  font-weight: 700;
  border-radius: 12px;
  margin-block-start: 0.3rem;
  transition: all 0.25s ease;
  letter-spacing: 0.3px;
}

.submit-review-btn i {
  font-size: 1rem;
}

.submit-review-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 113, 227, 0.2);
}

/* Reviews List */
.reviews-list-column {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.reviews-scroll-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

/* Individual review item */
.product-review-item {
  background-color: var(--theme-card-bg);
  border: var(--theme-card-border);
  border-radius: var(--border-radius-md);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  transition: var(--transition-fast);
  color: var(--theme-text);
}

.product-review-item:hover {
  border-color: var(--color-primary);
}

/* Hidden reviews (for show more/less) */
.product-review-item.review-hidden {
  display: none;
}

/* Show All Reviews button */
.reviews-show-all-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  margin-block-start: 1rem;
  padding: 0.85rem 1.5rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.25s ease;
  letter-spacing: 0.3px;
}

.reviews-show-all-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 113, 227, 0.25);
}

.reviews-show-all-btn i {
  font-size: 1.1rem;
}

.review-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.author-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--gradient-neon);
  color: var(--text-white);
  font-size: 0.95rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.review-author h4 {
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--theme-text-title);
}

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

.review-comment-text {
  color: var(--theme-text);
  font-size: 0.88rem;
  line-height: 1.55;
}

.review-actions {
  display: flex;
  gap: 1rem;
  padding-block-start: 0.3rem;
  border-top: 1px solid #f3f4f6;
}

.review-helpful-btn {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-gray-500);
  display: flex;
  align-items: center;
  gap: 0.3rem;
  cursor: pointer;
  transition: color 0.2s ease;
}

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

.review-helpful-btn.voted {
  color: var(--color-primary);
}

.review-helpful-btn.voted i {
  color: var(--color-primary);
}

.helpful-count {
  font-size: 0.7rem;
  font-weight: 700;
  min-width: 1rem;
  text-align: center;
}

/* ── Related Products — Redesigned ── */
.related-products-section {
  margin-block-start: 3rem;
  padding-block-start: 1rem;
}

.related-products-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-block-end: 1.5rem;
  position: relative;
}

.related-products-divider::before {
  content: '';
  position: absolute;
  inset: 50% 0 0 0;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(37, 99, 235, 0.25), transparent);
}

.related-products-divider-icon {
  width: 46px;
  height: 46px;
  background: linear-gradient(135deg, #2563eb, #6366f1);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  position: relative;
  z-index: 1;
  box-shadow: 0 0 0 5px #fff, 0 4px 16px rgba(37, 99, 235, 0.2);
}

.related-products-header {
  text-align: center;
  margin-block-end: 2rem;
  position: relative;
}

.related-products-header h2 {
  font-size: 1.6rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 0.4rem 0;
  letter-spacing: -0.3px;
  display: inline-block;
  position: relative;
}

.related-products-header h2::after {
  content: '';
  display: block;
  height: 3px;
  margin-top: 5px;
  background: linear-gradient(90deg, #2563eb, #6366f1);
  border-radius: 3px;
  width: 50%;
  margin-left: auto;
  margin-right: auto;
}

.related-products-subtitle {
  font-size: 0.88rem;
  color: #64748b;
  margin: 0;
}

.related-products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.related-product-card .product-img-box {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #f9fafb;
}

.related-product-card .product-img-box img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.4s ease;
  padding: 0.8rem;
}

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

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

@media (max-width: 768px) {
  .related-products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}


/* Empty Reviews State box */
.no-reviews-box {
  background-color: var(--theme-card-bg);
  border: var(--theme-card-border);
  border-radius: var(--border-radius-md);
  padding: 3rem 2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: var(--theme-card-shadow);
  color: var(--theme-text);
}

.no-reviews-icon {
  font-size: 2.2rem;
  color: var(--theme-text-muted);
  margin-block-end: 1rem;
}

.no-reviews-box h3 {
  font-size: 1.1rem;
  margin-block-end: 0.3rem;
  color: var(--theme-text-title);
}

.no-reviews-box p {
  font-size: 0.82rem;
  color: var(--theme-text-muted);
  max-width: 320px;
}

/* No reviews illustration */
.no-reviews-illustration {
  position: relative;
  margin-block-end: 1rem;
}

.no-reviews-icon-wrap {
  width: 64px;
  height: 64px;
  background: #f0f7ff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--color-primary);
  margin: 0 auto;
}

.no-reviews-dots {
  display: flex;
  gap: 0.3rem;
  justify-content: center;
  margin-block-start: 0.5rem;
}

.no-reviews-dots span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #d1d5db;
  animation: noReviewsDot 1.4s ease-in-out infinite;
}

.no-reviews-dots span:nth-child(2) {
  animation-delay: 0.2s;
}

.no-reviews-dots span:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes noReviewsDot {
  0%, 60%, 100% { opacity: 0.3; transform: scale(1); }
  30% { opacity: 1; transform: scale(1.3); }
}

.no-reviews-cta {
  margin-block-start: 1rem;
}

/* ==========================================================================
   Responsive Breakpoints for Shop & Product Details
   ========================================================================== */

@media (max-width: 992px) {
  .shop-page-layout {
    grid-template-columns: 1fr;
  }
  
  .shop-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 85%;
    max-width: 340px;
    height: 100vh;
    height: 100dvh;
    overflow-y: auto;
    z-index: 1000;
    border-radius: 0;
    border: none;
    border-right: 1px solid rgba(0,0,0,0.08);
    box-shadow: 0 0 40px rgba(0,0,0,0.15);
    transform: translateX(-105%);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    padding: 1.5rem;
    background: #fff;
  }
  
  .shop-sidebar.mobile-filter-open {
    transform: translateX(0);
  }
  
  .shop-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .pagination {
    gap: 0.25rem;
  }

  .page-link {
    min-width: 34px;
    height: 34px;
    font-size: 0.82rem;
  }

  .product-core-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .product-image-column {
    position: static;
  }
  
  .product-large-image-card {
    aspect-ratio: 1 / 1;
    padding: 0.75rem;
    border-radius: 16px;
  }
  
  .reviews-layout-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 576px) {
  .shop-banner {
    padding-block: 2.5rem 2rem;
    margin-block-end: 1rem;
  }
  
  .banner-title {
    font-size: 1.8rem;
  }
  
  .banner-subtitle {
    font-size: 0.85rem;
  }
  
  .shop-grid {
    gap: 1rem;
  }
  
  .favorites-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }
  
  .pagination-wrapper {
    margin-block-start: 1.5rem;
    padding-block-start: 1rem;
  }

  .pagination {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.2rem;
  }

  .page-link {
    min-width: 32px;
    height: 32px;
    font-size: 0.78rem;
    padding: 0 0.4rem;
  }

  .pagination-info {
    font-size: 0.78rem;
  }

  /* Product Detail — Small Screens */
  .breadcrumbs {
    font-size: 0.67rem;
  }
  
  .product-detail-page {
    padding-block: 1.25rem 2.5rem;
  }

  .product-core-grid {
    gap: 1rem;
    margin-block-end: 2rem;
  }

  .product-large-image-card {
    aspect-ratio: 1 / 1;
    padding: 0.75rem;
    border-radius: 16px;
  }
  
  .product-detail-title {
    font-size: 1.35rem;
    letter-spacing: -0.3px;
  }

  .product-detail-price-box {
    padding: 0.9rem 1.1rem;
  }

  .detail-price-current {
    font-size: 1.8rem;
  }
  
  .product-category-tag {
    font-size: 0.68rem;
  }

  .product-detail-short-desc {
    font-size: 0.88rem;
  }
  
  .product-features-ribbon {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }
  
  .avg-rating-banner {
    width: 100%;
    justify-content: center;
  }
  
  .detail-cart-form {
    flex-direction: column;
    align-items: stretch;
  }
  
  .detail-btn-row {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .detail-add-btn,
  .detail-buy-now-btn {
    width: 100%;
  }

  /* Mobile Gallery */
  .gallery-thumb {
    width: 62px;
    height: 62px;
    min-width: 62px;
    border-radius: 10px;
  }

  .gallery-thumbnails {
    gap: 0.45rem;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 0.4rem;
  }

  /* Mobile Video Embed */
  .video-embed-wrapper {
    border-radius: 8px;
  }

  /* Mobile Description */
  .product-desc-content.desc-collapsed {
    max-height: 200px;
  }

  .desc-read-more-btn {
    padding: 0.55rem 1.5rem;
    font-size: 0.8rem;
  }

  /* Mobile Lightbox */
  .lightbox-prev,
  .lightbox-next {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }

  .lightbox-prev { left: 0.5rem; }
  .lightbox-next { right: 0.5rem; }

  .lightbox-close {
    top: 0.5rem;
    right: 0.5rem;
    font-size: 1.8rem;
    width: 40px;
    height: 40px;
  }

  /* Mobile Sticky Bar Overrides */
  .mobile-sticky-bar {
    padding: 0.5rem 0.75rem 0.7rem;
    gap: 0.5rem;
  }

  .mobile-sticky-price-value {
    font-size: 0.95rem;
  }

  .mobile-sticky-buy-btn,
  .mobile-sticky-cart-btn {
    font-size: 0.78rem;
    padding: 0.6rem 0.4rem;
  }

  /* Hide desktop Buy Now on mobile since the sticky bar has it */
  .detail-buy-now-btn {
    display: none;
  }

  /* Product price box — prevent overflow on small screens */
  .product-detail-price-box {
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 0.9rem 1rem;
  }

  /* Product info column — no horizontal overflow */
  .product-info-column {
    min-width: 0;
    overflow: hidden;
    word-break: break-word;
  }

  /* Product image card — prevent it being taller than viewport on mobile */
  .product-large-image-card {
    max-height: 75vw;
    aspect-ratio: 1 / 1;
  }

  /* Prevent image being cut off when tall */
  .product-large-image-card img {
    max-height: 100%;
    width: auto;
    max-width: 100%;
  }
}

/* ==========================================================================
   Header Category Dropdown Megamenu & Live Search Autocomplete Styles
   ========================================================================== */

@media (min-width: 992px) {
/* Megamenu Navigation */
.nav-menu li.nav-dropdown {
  position: static; /* Let the megamenu span the full width of the header */
}

.nav-dropdown-toggle i {
  font-size: 0.75rem;
  margin-left: 2px;
  transition: transform 0.3s ease;
  display: inline-block;
  vertical-align: middle;
}

.nav-menu li.nav-dropdown:hover .nav-dropdown-toggle i {
  transform: rotate(180deg);
}

.megamenu-wrapper {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: rgba(4, 7, 12, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
  padding: 2.5rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 99;
}

.nav-menu li.nav-dropdown:hover .megamenu-wrapper {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.megamenu-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 2rem;
  width: 100%;
}

.megamenu-col {
  display: flex;
  flex-direction: column;
}

.megamenu-category-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-white) !important;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: color 0.2s ease;
}

.megamenu-category-title:hover {
  color: var(--color-primary) !important;
}

.megamenu-subcategory-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.megamenu-subcategory-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.85rem;
  color: var(--text-gray-400) !important;
  text-transform: none !important;
  letter-spacing: normal !important;
  padding-bottom: 0 !important;
  transition: all 0.2s ease;
}

.megamenu-subcategory-link::after {
  display: none !important; /* Remove parent link line decoration */
}

.megamenu-subcategory-link .sub-arrow {
  opacity: 0;
  transform: translateX(-5px);
  transition: all 0.2s ease;
  color: var(--color-primary);
  font-size: 0.75rem;
}

.megamenu-subcategory-link:hover {
  color: var(--color-primary) !important;
  padding-left: 4px;
}

.megamenu-subcategory-link:hover .sub-arrow {
  opacity: 1;
  transform: translateX(0);
}

.megamenu-empty-sub {
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: #ffffff;
  font-style: italic;
}
}

/* These styles are now defined in the Search Dropdown section below */

/* Autocomplete Search Dropdown — Premium Redesign */
.search-results-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(30px) saturate(1.6);
  -webkit-backdrop-filter: blur(30px) saturate(1.6);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 20px;
  max-height: 420px;
  overflow-y: auto;
  z-index: 1010;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.8),
              0 0 40px rgba(0, 113, 227, 0.04);
  padding: 0.6rem;
  box-sizing: border-box;
}

.search-results-dropdown::-webkit-scrollbar {
  width: 4px;
}

.search-results-dropdown::-webkit-scrollbar-track {
  background: transparent;
}

.search-results-dropdown::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 99px;
}

.search-results-dropdown::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.15);
}

.search-section-header {
  font-family: var(--font-heading);
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--color-primary);
  padding: 0.7rem 0.8rem 0.4rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  margin-bottom: 0.3rem;
  margin-top: 0.5rem;
  display: block;
  opacity: 0.7;
}

.search-section-header:first-child {
  margin-top: 0;
}

.search-result-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.7rem 0.8rem;
  border-radius: 12px;
  color: var(--text-white);
  text-decoration: none;
  transition: all 0.25s ease;
  border-bottom: 1px solid rgba(255, 255, 255, 0.02);
}

.search-result-item:last-child {
  border-bottom: none;
}

.search-result-item:hover {
  background: rgba(255, 255, 255, 0.04);
  transform: translateX(4px);
}

.search-result-img {
  width: 44px;
  height: 44px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  flex-shrink: 0;
}

.search-result-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.search-result-name {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 2px;
  color: var(--text-white);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.search-result-desc {
  font-size: 0.75rem;
  color: var(--text-gray-500);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.search-result-price-box {
  text-align: right;
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex-shrink: 0;
}

.search-result-price {
  font-weight: 700;
  color: var(--color-primary);
  font-size: 0.9rem;
}

.search-result-old-price {
  font-size: 0.75rem;
  color: var(--text-gray-600);
  text-decoration: line-through;
}

.search-result-service-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-family: var(--font-heading);
  font-size: 0.65rem;
  font-weight: 700;
  color: #25d366;
  background: rgba(37, 211, 102, 0.05);
  border: 1px solid rgba(37, 211, 102, 0.15);
  padding: 0.25rem 0.55rem;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.25s ease;
}

.search-result-item:hover .search-result-service-badge {
  background: rgba(37, 211, 102, 0.1);
  border-color: rgba(37, 211, 102, 0.3);
}

.search-no-results {
  padding: 2.5rem 1.5rem;
  text-align: center;
  color: var(--text-gray-500);
  font-size: 0.9rem;
}

.search-no-results i {
  font-size: 2rem;
  color: var(--text-gray-600);
  margin-bottom: 0.6rem;
  display: block;
}

/* Responsive Overrides for Search Autocomplete */
@media (max-width: 768px) {
  .search-results-dropdown {
    position: fixed;
    top: auto;
    left: 3%;
    right: 3%;
    max-height: 55vh;
    max-width: 94%;
    border-radius: 18px;
    padding: 0.5rem;
    background: rgba(0, 0, 0, 0.96);
    backdrop-filter: blur(25px) saturate(1.5);
    -webkit-backdrop-filter: blur(25px) saturate(1.5);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.9);
  }

  .search-result-item {
    gap: 0.7rem;
    padding: 0.6rem 0.7rem;
    border-radius: 10px;
  }

  .search-result-img {
    width: 38px;
    height: 38px;
    border-radius: 8px;
  }

  .search-result-name {
    font-size: 0.82rem;
  }

  .search-result-desc {
    font-size: 0.7rem;
  }

  .search-result-price {
    font-size: 0.8rem;
  }

  .search-section-header {
    font-size: 0.6rem;
    padding: 0.5rem 0.7rem 0.3rem;
  }

  .search-results-dropdown::-webkit-scrollbar {
    width: 3px;
  }
}

@media (max-width: 480px) {
  .search-results-dropdown {
    left: 2%;
    right: 2%;
    max-width: 96%;
    max-height: 50vh;
    border-radius: 16px;
    padding: 0.4rem;
    background: rgba(0, 0, 0, 0.97);
    backdrop-filter: blur(20px) saturate(1.4);
    -webkit-backdrop-filter: blur(20px) saturate(1.4);
  }

  .search-result-item {
    gap: 0.5rem;
    padding: 0.5rem 0.55rem;
    border-radius: 8px;
  }

  .search-result-img {
    width: 34px;
    height: 34px;
    border-radius: 7px;
  }

  .search-result-name {
    font-size: 0.78rem;
  }

  .search-result-desc {
    font-size: 0.65rem;
  }

  .search-result-price {
    font-size: 0.75rem;
  }

  .search-result-old-price {
    font-size: 0.65rem;
  }

  .search-result-price-box {
    min-width: auto;
  }

  .search-no-results {
    padding: 1.5rem 1rem;
    font-size: 0.82rem;
  }

  .search-no-results i {
    font-size: 1.6rem;
  }
}

/* ==========================================================================
   Storefront Variant Selectors, Live Previews & Brand Badges Layout
   ========================================================================== */

/* Live Image Preview Styles */
.live-image-preview-container {
  margin-top: 10px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px dashed rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 6px;
  width: fit-content;
  display: inline-block;
}
.live-image-preview {
  display: block;
  max-width: 120px;
  max-height: 120px;
  border-radius: 6px;
  object-fit: cover;
}

/* Product Variant Selector Styles */
.product-variants-container {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 1.25rem;
  margin-bottom: 1.5rem;
}
.variant-select-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.variant-select-field {
  width: 100%;
  max-width: 350px;
  background: rgb(213 213 213 / 40%) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  color: #000000 !important;
  font-family: inherit;
  border-radius: 8px;
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
  outline: none;
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.variant-select-field:focus {
  border-color: var(--color-primary) !important;
  box-shadow: 0 0 10px rgba(0, 113, 227, 0.2);
}
.variant-input-row {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 0.75rem;
  margin-bottom: 0.5rem;
}

/* Brand list active filter state styles */
.active-filter-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.5rem;
}
.filter-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  background: rgba(0, 113, 227, 0.1);
  border: 1px solid rgba(0, 113, 227, 0.2);
  color: var(--color-primary);
  padding: 0.25rem 0.65rem;
  border-radius: 20px;
  font-weight: 500;
}
.filter-badge a {
  color: var(--color-primary);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.85rem;
  line-height: 1;
  display: inline-block;
}
.filter-badge a:hover {
  opacity: 0.8;
}

.admin-profile-info {
  color: #515154 !important;
  background: #ffffff !important;
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02) !important;
}

/* ==========================================================================
   Mobile Repair Services Page
   ========================================================================== */

/* Hero Section */
.repair-hero {
  background-image: url(../cover/phone_repair_cover.png);
  background-image: image-set(url('../cover/phone_repair_cover.webp') type('image/webp'), url('../cover/phone_repair_cover.png'));
  background-size: cover;
  background-position: center;
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}

.repair-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 113, 227, 0.12) 0%, transparent 70%);
  border-radius: 50%;
}

.repair-hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.repair-hero-content h1 {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.15;
  color: #ffffff;
  margin-bottom: 1.2rem;
  letter-spacing: -0.5px;
}

.repair-hero-highlight {
  background: linear-gradient(135deg, var(--color-primary), #5b9cf6);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.repair-hero-subtitle {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.repair-hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}

.repair-hero-badges span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
}

.repair-hero-badges i {
  color: var(--color-primary);
  font-size: 1rem;
}

.repair-hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--color-primary);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.85rem 1.8rem;
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 6px 20px rgba(0, 113, 227, 0.35);
}

.repair-hero-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 113, 227, 0.45);
}

.repair-hero-image {
  display: flex;
  justify-content: flex-end;
  position: relative;
}

.repair-hero-image img {
  width: 100%;
  max-width: 500px;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  object-fit: cover;
  aspect-ratio: 4/3;
}

/* Services Grid */
.repair-services-section {
  padding: 2rem 0;
  background: var(--bg-white-900);
}

.repair-section-title {
  text-align: center;
  margin-bottom: 3rem;
  font-size: 2rem;
  font-weight: 800;
}

.repair-services-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.2rem;
}

.repair-service-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1.8rem 1rem;
  background: var(--bg-white-800);
  border: 1px solid rgba(0, 0, 0, 0.121);
  border-radius: 12px;
  text-align: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  position: relative;
  overflow: hidden;
}

.repair-service-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 12px;
  border: 1.5px solid transparent;
  transition: border-color 0.3s ease;
  pointer-events: none;
}

.repair-service-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(0, 113, 227, 0.25);
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.repair-service-card:hover::after {
  border-color: var(--color-primary);
}

.repair-service-card i {
  font-size: 2.2rem;
  color: var(--text-black-300);
  transition: color 0.3s;
}

.repair-service-card:hover i {
  color: var(--color-primary);
}

.repair-service-card span {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-black-300);
  line-height: 1.35;
}

.repair-service-icon-image {
  width: 42px;
  height: 42px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #ffffff;
  padding: 4px;
}

.repair-service-price-hint {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--color-primary);
  opacity: 0.85;
  letter-spacing: 0.3px;
}

/* Live Price Estimate Box */
.repair-price-estimate {
  background: linear-gradient(135deg, rgba(0, 113, 227, 0.08), rgba(0, 168, 255, 0.05));
  border: 1px solid rgba(0, 113, 227, 0.2);
  border-radius: 12px;
  padding: 1.2rem 1.5rem;
  margin-bottom: 1.2rem;
  animation: priceFadeIn 0.4s ease;
}

@keyframes priceFadeIn {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

.repair-price-estimate-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.4rem;
}

.repair-price-estimate-header i {
  font-size: 1.1rem;
}

.repair-price-estimate-value {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  background: var(--gradient-neon);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.2;
  margin-bottom: 0.3rem;
}

.repair-price-estimate-note {
  font-size: 0.7rem;
  color: var(--text-gray-500);
  margin: 0;
  font-style: italic;
}

/* Form + Pricing Section */
.repair-form-section {
  padding: 2rem  0rem 4rem 0rem;
  background: var(--bg-dark-950);
}

.repair-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.repair-form-card {
  background: var(--bg-dark-800);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 2.2rem;
}

.repair-form-card h3 {
  font-size: 1.4rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.3rem;
}

.repair-form-subtitle {
  font-size: 0.85rem;
  color: var(--text-gray-500);
  margin-bottom: 1.8rem;
}

.repair-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
  margin-bottom: 0.8rem;
}

.repair-form-group {
  margin-bottom: 0.8rem;
}

.repair-form-group input,
.repair-form-group select,
.repair-form-group textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 0.8rem 1rem;
  font-size: 0.88rem;
  color: #ffffff;
  font-family: inherit;
  transition: all 0.25s;
  outline: none;
  box-sizing: border-box;
}

.repair-form-group input::placeholder,
.repair-form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.repair-form-group select {
  color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.3)' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.repair-form-group select option {
  background: #1a1a2e;
  color: #ffffff;
}

.repair-form-group input:focus,
.repair-form-group select:focus,
.repair-form-group textarea:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.15);
}

.repair-form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.repair-upload-group {
  margin-bottom: 0.8rem;
}

.repair-upload-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  padding: 1.2rem;
  border: 2px dashed rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  cursor: pointer;
  text-align: center;
  transition: all 0.3s;
}

.repair-upload-label:hover {
  border-color: var(--color-primary);
  background: rgba(0, 113, 227, 0.04);
}

.repair-upload-label i {
  font-size: 1.6rem;
  color: rgba(255, 255, 255, 0.35);
}

.repair-upload-label span {
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.55);
}

.repair-upload-label small {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.3);
}

.repair-upload-preview {
  margin-top: 0.75rem;
  position: relative;
  display: inline-block;
}

.repair-upload-preview img {
  max-width: 120px;
  max-height: 120px;
  border-radius: 10px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.repair-upload-remove {
  position: absolute;
  top: -6px;
  right: -6px;
  background: #ff3b30;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  font-size: 0.65rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

/* ==========================================================================
   Static Pages — About, Contact, FAQ, Order Tracking, Warranty, Legal
   ========================================================================== */

/* --------------------------------------------------------------------------
   Page Hero (Shared)
   -------------------------------------------------------------------------- */
.page-hero {
  position: relative;
  background: linear-gradient(135deg, hsl(220, 30%, 6%), hsl(220, 20%, 10%));
  border-bottom: var(--border-subtle);
  padding: 1rem 0 2rem;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0, 113, 227, 0.12) 0%, transparent 70%);
  top: -150px;
  right: -100px;
  pointer-events: none;
}

.page-hero-sm {
  padding: 3.5rem 0 2.5rem;
}

.page-hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
}

.page-hero-content h1 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--text-white);
  margin-bottom: 0.8rem;
  letter-spacing: -1px;
}

.page-hero-content p {
  font-size: 1.05rem;
  color: var(--text-gray-300);
  line-height: 1.6;
  max-width: 560px;
}

.page-hero-badge {
  display: inline-flex;
  align-items: center;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--color-primary);
  background: rgba(0, 113, 227, 0.12);
  border: 1px solid rgba(0, 113, 227, 0.2);
  padding: 0.35rem 1rem;
  border-radius: 50px;
  margin-bottom: 1rem;
}

/* --------------------------------------------------------------------------
   About Us Page
   -------------------------------------------------------------------------- */
.about-intro-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.about-intro-card {
  background: white;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--border-radius-md);
  padding: 2.5rem 2rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: var(--transition-normal);
  text-align: center;
}

.about-intro-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
  border-color: rgba(0, 113, 227, 0.2);
}

.about-intro-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(0, 113, 227, 0.1);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin: 0 auto 1.2rem;
  transition: var(--transition-normal);
}

.about-intro-card:hover .about-intro-icon {
  transform: scale(1.1) rotate(-5deg);
}

.about-intro-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
  color: var(--color-primary);
}

.about-intro-card p {
  font-size: 0.88rem;
  color: var(--theme-text);
  line-height: 1.6;
}

/* Timeline */
.about-timeline {
  position: relative;
  max-width: 700px;
  margin: 3rem auto 0;
  padding-left: 2.5rem;
}

.about-timeline::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--color-primary), var(--color-accent));
  border-radius: 2px;
}

.about-timeline-item {
  position: relative;
  padding-bottom: 2.5rem;
}

.about-timeline-item:last-child {
  padding-bottom: 0;
}

.about-timeline-dot {
  position: absolute;
  left: -2.5rem;
  top: 4px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--color-primary);
  border: 4px solid white;
  box-shadow: 0 0 0 2px var(--color-primary), 0 4px 12px rgba(0, 113, 227, 0.3);
  z-index: 2;
}

.about-timeline-content {
  background: white;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--border-radius-sm);
  padding: 1.5rem 1.8rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: var(--transition-normal);
}

.about-timeline-content:hover {
  transform: translateX(6px);
  border-color: rgba(0, 113, 227, 0.15);
}

.about-timeline-year {
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-primary);
  background: rgba(0, 113, 227, 0.1);
  padding: 0.2rem 0.7rem;
  border-radius: 4px;
  display: inline-block;
  margin-bottom: 0.6rem;
}

.about-timeline-content h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  color: var(--color-primary);
}

.about-timeline-content p {
  font-size: 0.85rem;
  color: var(--theme-text);
  line-height: 1.6;
}

/* Stats */
.about-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.about-stat-item {
  text-align: center;
  padding: 2.5rem 1.5rem;
  background: white;
  border: var(--theme-card-border);
  border-radius: var(--border-radius-md);
  box-shadow: var(--theme-card-shadow);
  transition: var(--transition-normal);
}

.about-stat-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.06);
}

.about-stat-number {
  display: block;
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 800;
  background: var(--gradient-neon);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.3rem;
  letter-spacing: -1px;
}

.about-stat-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--theme-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Features Grid */
.about-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem;
  margin-top: 2rem;
}

.about-feature-card {
  background: var(--theme-card-bg);
  border: var(--theme-card-border);
  border-radius: var(--border-radius-md);
  padding: 2rem 1.8rem;
  box-shadow: var(--theme-card-shadow);
  transition: var(--transition-normal);
  text-align: center;
}

.about-feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.06);
  border-color: rgba(0, 113, 227, 0.15);
}

.about-feature-card i {
  font-size: 2rem;
  color: var(--color-primary);
  margin-bottom: 1rem;
  display: block;
}

.about-feature-card h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--theme-text-title);
}

.about-feature-card p {
  font-size: 0.82rem;
  color: var(--theme-text);
  line-height: 1.5;
}

/* --------------------------------------------------------------------------
   Contact Us Page
   -------------------------------------------------------------------------- */
.contact-layout {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 2.5rem;
  align-items: flex-start;
}

.contact-form-card {
  background: var(--theme-card-bg);
  border: var(--theme-card-border);
  border-radius: var(--border-radius-md);
  padding: 2.5rem;
  box-shadow: var(--theme-card-shadow);
}

.contact-form-card h2 {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--theme-text-title);
  margin-bottom: 0.3rem;
}

.contact-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

.contact-form-group {
  margin-bottom: 1.2rem;
}

.contact-form-group label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--theme-text-title);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.4rem;
}

.contact-form-group .required {
  color: #ff3b30;
}

.contact-form-group input,
.contact-form-group select,
.contact-form-group textarea {
  width: 100%;
  background: var(--theme-input-bg);
  border: var(--theme-input-border);
  border-radius: var(--border-radius-sm);
  color: var(--theme-input-text);
  padding: 0.8rem 1rem;
  font-family: var(--font-body);
  font-size: 0.88rem;
  outline: none;
  transition: var(--transition-fast);
}

.contact-form-group input:focus,
.contact-form-group select:focus,
.contact-form-group textarea:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 10px rgba(0, 113, 227, 0.1);
}

.contact-form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-alert {
  padding: 0.8rem 1.2rem;
  border-radius: var(--border-radius-sm);
  margin-bottom: 1.2rem;
  font-size: 0.85rem;
  font-weight: 600;
}

.contact-alert-success {
  background: rgba(52, 199, 89, 0.12);
  border: 1px solid rgba(52, 199, 89, 0.25);
  color: var(--color-success);
}

.contact-alert-error {
  background: rgba(255, 59, 48, 0.12);
  border: 1px solid rgba(255, 59, 48, 0.25);
  color: #ff3b30;
}

/* Contact Info Sidebar */
.contact-info-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-info-card {
  background: var(--theme-card-bg);
  border: var(--theme-card-border);
  border-radius: var(--border-radius-md);
  padding: 2rem;
  box-shadow: var(--theme-card-shadow);
}

.contact-info-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--theme-text-title);
  margin-bottom: 1.2rem;
  padding-bottom: 0.8rem;
  border-bottom: var(--theme-divider);
}

.contact-info-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.2rem;
}

.contact-info-item:last-child {
  margin-bottom: 0;
}

.contact-info-item i {
  font-size: 1.3rem;
  color: var(--color-primary);
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-info-item strong {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--theme-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.2rem;
}

.contact-info-item p,
.contact-info-item a {
  font-size: 0.88rem;
  color: var(--theme-text);
  line-height: 1.5;
}

.contact-info-item a:hover {
  color: var(--color-primary);
}

/* Quick Actions */
.contact-quick-actions {
  background: var(--theme-card-bg);
  border: var(--theme-card-border);
  border-radius: var(--border-radius-md);
  padding: 1.5rem;
  box-shadow: var(--theme-card-shadow);
}

.contact-quick-actions h3 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--theme-text-title);
  margin-bottom: 1rem;
}

.contact-quick-btn {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.8rem 1rem;
  border-radius: var(--border-radius-sm);
  margin-bottom: 0.6rem;
  transition: var(--transition-fast);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
}

.contact-quick-btn i:first-child {
  font-size: 1.2rem;
}

.contact-quick-btn i:last-child {
  margin-left: auto;
  font-size: 0.8rem;
  opacity: 0.5;
}

.contact-whatsapp-btn {
  background: rgba(37, 211, 102, 0.1);
  color: #25d366;
  border: 1px solid rgba(37, 211, 102, 0.2);
}

.contact-whatsapp-btn:hover {
  background: rgba(37, 211, 102, 0.18);
  color: #1da851;
}

.contact-email-btn {
  background: rgba(0, 113, 227, 0.08);
  color: var(--color-primary);
  border: 1px solid rgba(0, 113, 227, 0.15);
}

.contact-email-btn:hover {
  background: rgba(0, 113, 227, 0.15);
}

.contact-call-btn {
  background: rgba(52, 199, 89, 0.08);
  color: var(--color-success);
  border: 1px solid rgba(52, 199, 89, 0.15);
}

.contact-call-btn:hover {
  background: rgba(52, 199, 89, 0.15);
}

/* Social */
.contact-social-card {
  background: var(--theme-card-bg);
  border: var(--theme-card-border);
  border-radius: var(--border-radius-md);
  padding: 1.5rem;
  box-shadow: var(--theme-card-shadow);
}

.contact-social-card h3 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--theme-text-title);
  margin-bottom: 1rem;
}

.contact-social-row {
  display: flex;
  gap: 0.8rem;
}

.contact-social-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--theme-badge-bg);
  border: var(--theme-card-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--theme-text-title);
  font-size: 1.2rem;
  transition: var(--transition-fast);
}

.contact-social-icon:hover {
  background: var(--color-primary);
  color: white;
  border-color: var(--color-primary);
  transform: translateY(-3px);
}

/* --------------------------------------------------------------------------
   Order Tracking Page
   -------------------------------------------------------------------------- */
.tracking-form-wrapper {
  max-width: 640px;
  margin: 0 auto 2rem;
}

.tracking-form {
  width: 100%;
}

.tracking-input-group {
  display: flex;
  align-items: center;
  gap: 0;
  background: var(--theme-card-bg);
  border: var(--theme-card-border);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--theme-card-shadow);
  transition: var(--transition-fast);
}

.tracking-input-group:focus-within {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.1);
}

.tracking-input-group i {
  padding: 0 0 0 1.2rem;
  font-size: 1.3rem;
  color: var(--theme-text-muted);
}

.tracking-input-group input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 1rem 0.8rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--theme-input-text);
  outline: none;
}

.tracking-input-group button {
  margin: 0.4rem;
  border-radius: var(--border-radius-sm);
  white-space: nowrap;
}

.tracking-error {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  max-width: 640px;
  margin: 0 auto 1.5rem;
  padding: 1rem 1.2rem;
  background: rgba(255, 59, 48, 0.1);
  border: 1px solid rgba(255, 59, 48, 0.2);
  border-radius: var(--border-radius-sm);
  color: #ff3b30;
  font-size: 0.88rem;
}

.tracking-error i {
  font-size: 1.3rem;
  flex-shrink: 0;
}

/* Result Card */
.tracking-result {
  background: var(--theme-card-bg);
  border: var(--theme-card-border);
  border-radius: var(--border-radius-md);
  box-shadow: var(--theme-card-shadow);
  overflow: hidden;
}

.tracking-order-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
  border-bottom: var(--theme-divider);
  flex-wrap: wrap;
  gap: 1rem;
}

.tracking-order-header h2 {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--theme-text-title);
}

.tracking-order-date {
  font-size: 0.82rem;
  color: var(--theme-text-muted);
  margin-top: 0.2rem;
}

.tracking-order-status {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.tracking-status-badge,
.tracking-pay-badge {
  font-size: 0.7rem;
  font-weight: 700;
  color: white;
  padding: 0.3rem 0.8rem;
  border-radius: var(--border-radius-full);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Progress Tracker */
.tracking-progress {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.5rem 2rem;
  gap: 0;
  background: var(--theme-bg);
  border-bottom: var(--theme-divider);
}

.tracking-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  flex: 1;
  max-width: 140px;
}

.tracking-step-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--theme-badge-bg);
  border: 2px solid var(--theme-divider);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--theme-text-muted);
  transition: var(--transition-normal);
  position: relative;
  z-index: 2;
}

.tracking-step.completed .tracking-step-icon {
  background: var(--color-success);
  border-color: var(--color-success);
  color: white;
}

.tracking-step.active .tracking-step-icon {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: white;
  box-shadow: 0 0 0 6px rgba(0, 113, 227, 0.15);
  animation: trackingPulse 2s infinite;
}

@keyframes trackingPulse {
  0%, 100% { box-shadow: 0 0 0 6px rgba(0, 113, 227, 0.15); }
  50% { box-shadow: 0 0 0 12px rgba(0, 113, 227, 0.05); }
}

.tracking-step-label {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--theme-text-muted);
  margin-top: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-align: center;
}

.tracking-step.completed .tracking-step-label,
.tracking-step.active .tracking-step-label {
  color: var(--theme-text-title);
}

.tracking-step-line {
  position: absolute;
  top: 19px;
  left: calc(50% + 20px);
  width: calc(100% - 40px);
  height: 2px;
  background: var(--theme-divider);
  z-index: 1;
}

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

/* Details Grid */
.tracking-details-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  padding: 1.5rem 2rem;
  border-bottom: var(--theme-divider);
}

.tracking-detail-card {
  background: var(--theme-bg);
  border: var(--theme-card-border);
  border-radius: var(--border-radius-sm);
  padding: 1.5rem;
}

.tracking-detail-card h4 {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--theme-text-title);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.tracking-detail-card h4 i {
  color: var(--color-primary);
}

.tracking-detail-row {
  display: flex;
  justify-content: space-between;
  padding: 0.35rem 0;
  font-size: 0.85rem;
  color: var(--theme-text);
}

.tracking-detail-total {
  font-weight: 700;
  color: var(--theme-text-title);
  border-top: var(--theme-divider);
  margin-top: 0.3rem;
  padding-top: 0.6rem;
}

.tracking-detail-card > p {
  font-size: 0.85rem;
  color: var(--theme-text);
  line-height: 1.5;
}

/* Items */
.tracking-items {
  padding: 1.5rem 2rem 2rem;
}

.tracking-items h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--theme-text-title);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.tracking-items h4 i {
  color: var(--color-primary);
}

.tracking-items-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.tracking-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.8rem 1rem;
  background: var(--theme-bg);
  border: var(--theme-card-border);
  border-radius: var(--border-radius-sm);
}

.tracking-item img {
  width: 48px;
  height: 48px;
  border-radius: 6px;
  object-fit: contain;
  background: white;
  flex-shrink: 0;
}

.tracking-item-info {
  flex: 1;
  min-width: 0;
}

.tracking-item-info strong {
  display: block;
  font-size: 0.85rem;
  color: var(--theme-text-title);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tracking-item-variant {
  font-size: 0.7rem;
  color: var(--color-primary);
  font-weight: 600;
}

.tracking-item-qty {
  font-size: 0.8rem;
  color: var(--theme-text-muted);
  white-space: nowrap;
}

.tracking-item-price {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--theme-text-title);
  white-space: nowrap;
}

/* Empty State */
.tracking-empty {
  text-align: center;
  padding: 4rem 2rem;
  max-width: 520px;
  margin: 0 auto;
}

.tracking-empty-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--theme-badge-bg);
  border: var(--theme-card-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  color: var(--theme-text-muted);
  margin: 0 auto 1.5rem;
}

.tracking-empty h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--theme-text-title);
  margin-bottom: 0.5rem;
}

.tracking-empty p {
  font-size: 0.9rem;
  color: var(--theme-text-muted);
  line-height: 1.6;
}

.tracking-help {
  margin-top: 2rem;
  padding: 1.2rem;
  background: var(--theme-badge-bg);
  border-radius: var(--border-radius-sm);
  text-align: left;
}

.tracking-help code {
  background: var(--theme-card-bg);
  padding: 0.1rem 0.4rem;
  border-radius: 4px;
  font-size: 0.82rem;
  color: var(--color-primary);
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   Warranty & Returns Page
   -------------------------------------------------------------------------- */
.policy-content {
  max-width: 860px;
  margin: 0 auto;
}

.policy-section {
  margin-bottom: 3rem;
  padding-bottom: 2.5rem;
  border-bottom: var(--theme-divider);
}

.policy-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.policy-section-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(0, 113, 227, 0.1);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.policy-section h2 {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--theme-text-title);
  margin-bottom: 1rem;
}

.policy-section > p {
  font-size: 0.9rem;
  color: var(--theme-text);
  line-height: 1.7;
  margin-bottom: 1.2rem;
}

.policy-table-wrapper {
  overflow-x: auto;
  margin-top: 1rem;
}

.policy-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}

.policy-table th,
.policy-table td {
  padding: 0.8rem 1rem;
  text-align: left;
  border-bottom: var(--theme-divider);
}

.policy-table th {
  background: var(--theme-badge-bg);
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--theme-text-muted);
}

.policy-table td {
  color: var(--theme-text);
}

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

.policy-list {
  list-style: none;
  padding: 0;
}

.policy-list li {
  padding: 0.5rem 0;
  padding-left: 1.8rem;
  position: relative;
  font-size: 0.88rem;
  color: var(--theme-text);
  line-height: 1.5;
}

.policy-list-check li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--color-success);
  font-weight: 700;
}

.policy-list-cross li::before {
  content: '✕';
  position: absolute;
  left: 0;
  color: #ff3b30;
  font-weight: 700;
}

.policy-highlight-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
}

.policy-highlight-card {
  background: var(--theme-bg);
  border: var(--theme-card-border);
  border-radius: var(--border-radius-sm);
  padding: 1.5rem;
  transition: var(--transition-fast);
}

.policy-highlight-card:hover {
  border-color: rgba(0, 113, 227, 0.15);
}

.policy-highlight-card h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--theme-text-title);
  margin-bottom: 0.4rem;
}

.policy-highlight-card p {
  font-size: 0.82rem;
  color: var(--theme-text);
  line-height: 1.5;
}

.policy-steps {
  list-style: none;
  counter-reset: step-counter;
  padding: 0;
}

.policy-steps li {
  counter-increment: step-counter;
  padding: 0.8rem 0 0.8rem 2.8rem;
  position: relative;
  font-size: 0.88rem;
  color: var(--theme-text);
  line-height: 1.6;
  border-bottom: var(--theme-divider);
}

.policy-steps li:last-child {
  border-bottom: none;
}

.policy-steps li::before {
  content: counter(step-counter);
  position: absolute;
  left: 0;
  top: 0.7rem;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--color-primary);
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.policy-steps li strong {
  color: var(--theme-text-title);
}

.policy-steps a {
  color: var(--color-primary);
}

.policy-steps a:hover {
  text-decoration: underline;
}

/* --------------------------------------------------------------------------
   Legal Pages (Terms, Privacy)
   -------------------------------------------------------------------------- */
.policy-content-legacy {
  max-width: 800px;
}

.policy-legacy-meta {
  padding: 1rem 1.5rem;
  background: var(--theme-badge-bg);
  border-radius: var(--border-radius-sm);
  margin-bottom: 2.5rem;
  font-size: 0.85rem;
  color: var(--theme-text-muted);
}

.policy-legacy-section {
  margin-bottom: 2.2rem;
}

.policy-legacy-section h2 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--theme-text-title);
  margin-bottom: 0.8rem;
}

.policy-legacy-section p {
  font-size: 0.88rem;
  color: var(--theme-text);
  line-height: 1.7;
  margin-bottom: 0.8rem;
}

.policy-legacy-section ul {
  list-style: none;
  padding: 0;
  margin-bottom: 0.8rem;
}

.policy-legacy-section ul li {
  padding: 0.35rem 0;
  padding-left: 1.5rem;
  position: relative;
  font-size: 0.85rem;
  color: var(--theme-text);
  line-height: 1.6;
}

.policy-legacy-section ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.75rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-primary);
}

.policy-legacy-section a {
  color: var(--color-primary);
  font-weight: 600;
}

.policy-legacy-section a:hover {
  text-decoration: underline;
}

/* --------------------------------------------------------------------------
   FAQ Page
   -------------------------------------------------------------------------- */
.faq-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 2rem;
  align-items: flex-start;
}

/* Tabs */
.faq-tabs {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  position: sticky;
  top: 7rem;
}

.faq-tab {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.8rem 1rem;
  border: var(--theme-card-border);
  border-radius: var(--border-radius-sm);
  background: var(--theme-card-bg);
  color: var(--theme-text);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-fast);
  text-align: left;
  width: 100%;
  font-family: var(--font-body);
}

.faq-tab i {
  font-size: 1.1rem;
  color: var(--theme-text-muted);
  transition: var(--transition-fast);
}

.faq-tab:hover {
  border-color: rgba(0, 113, 227, 0.2);
  background: var(--theme-badge-bg);
}

.faq-tab.active {
  background: rgba(0, 113, 227, 0.08);
  border-color: rgba(0, 113, 227, 0.25);
  color: var(--color-primary);
}

.faq-tab.active i {
  color: var(--color-primary);
}

/* Panels */
.faq-panels {
  min-height: 400px;
}

.faq-panel {
  display: none;
}

.faq-panel.active {
  display: block;
  animation: faqFadeIn 0.3s ease;
}

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

/* FAQ Accordion Items */
.faq-item {
  background: var(--theme-card-bg);
  border: var(--theme-card-border);
  border-radius: var(--border-radius-sm);
  margin-bottom: 0.6rem;
  overflow: hidden;
  box-shadow: var(--theme-card-shadow);
  transition: var(--transition-fast);
}

.faq-item:hover {
  border-color: rgba(0, 113, 227, 0.12);
}

.faq-item.open {
  border-color: rgba(0, 113, 227, 0.25);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.2rem 1.5rem;
  background: transparent;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--theme-text-title);
  text-align: left;
  transition: var(--transition-fast);
}

.faq-question:hover {
  background: var(--theme-badge-bg);
}

.faq-question i {
  font-size: 1rem;
  color: var(--theme-text-muted);
  transition: var(--transition-fast);
  flex-shrink: 0;
}

.faq-item.open .faq-question i {
  transform: rotate(180deg);
  color: var(--color-primary);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.open .faq-answer {
  max-height: 300px;
  padding: 0 1.5rem 1.2rem;
}

.faq-answer p {
  font-size: 0.88rem;
  color: var(--theme-text);
  line-height: 1.7;
}

.faq-answer a {
  color: var(--color-primary);
  font-weight: 600;
}

.faq-answer a:hover {
  text-decoration: underline;
}

/* FAQ CTA */
.faq-cta {
  margin-top: 3rem;
  text-align: center;
}

.faq-cta-card {
  display: inline-block;
  background: var(--theme-card-bg);
  border: var(--theme-card-border);
  border-radius: var(--border-radius-md);
  padding: 2.5rem 3rem;
  box-shadow: var(--theme-card-shadow);
  max-width: 520px;
}

.faq-cta-card i {
  font-size: 2.5rem;
  color: var(--color-primary);
  margin-bottom: 1rem;
}

.faq-cta-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--theme-text-title);
  margin-bottom: 0.3rem;
}

.faq-cta-card p {
  font-size: 0.88rem;
  color: var(--theme-text-muted);
  margin-bottom: 1.5rem;
}

.faq-cta-buttons {
  display: flex;
  gap: 0.8rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* --------------------------------------------------------------------------
   New Pages Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 991px) {
  .about-intro-grid {
    grid-template-columns: 1fr;
  }
  .about-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .about-features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .contact-layout {
    grid-template-columns: 1fr;
  }
  .tracking-details-grid {
    grid-template-columns: 1fr;
  }
  .policy-highlight-grid {
    grid-template-columns: 1fr;
  }
  .faq-layout {
    grid-template-columns: 1fr;
  }
  .faq-tabs {
    flex-direction: row;
    overflow-x: auto;
    position: static;
    padding-bottom: 0.5rem;
    gap: 0.5rem;
  }
  .faq-tab {
    white-space: nowrap;
    flex-shrink: 0;
  }
  .tracking-progress {
    padding: 2rem 1rem;
    overflow-x: auto;
    justify-content: flex-start;
    gap: 0;
  }
  .tracking-step {
    flex: 0 0 100px;
  }
}

@media (max-width: 768px) {
  .page-hero {
    padding: 3rem 0 2.5rem;
  }
  .about-stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  .about-stat-number {
    font-size: 2rem;
  }
  .about-features-grid {
    grid-template-columns: 1fr;
  }
  .contact-form-row {
    grid-template-columns: 1fr;
  }
  .contact-form-card {
    padding: 1.5rem;
  }
  .tracking-order-header {
    flex-direction: column;
    align-items: flex-start;
  }
  .tracking-item {
    flex-wrap: wrap;
  }
  .tracking-item-qty {
    margin-left: auto;
  }
  .faq-question {
    padding: 1rem 1.2rem;
    font-size: 0.85rem;
  }
  .faq-item.open .faq-answer {
    padding: 0 1.2rem 1rem;
  }
  .faq-cta-card {
    padding: 2rem 1.5rem;
  }
}

@media (max-width: 480px) {
  .about-stats-grid {
    grid-template-columns: 1fr;
  }
  .tracking-input-group {
    flex-direction: column;
  }
  .tracking-input-group i {
    display: none;
  }
  .tracking-input-group input {
    width: 100%;
    padding: 0.8rem 1rem;
  }
  .tracking-input-group button {
    width: calc(100% - 0.8rem);
    margin: 0 0.4rem 0.4rem;
  }
}

.repair-submit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  width: 100%;
  padding: 1rem 1.8rem;
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  color: #ffffff;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.3px;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
  box-shadow: 0 6px 24px rgba(0, 113, 227, 0.35);
  margin-top: 0.75rem;
  position: relative;
  overflow: hidden;
}

.repair-submit-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--color-accent), var(--color-primary));
  opacity: 0;
  transition: opacity 0.35s ease;
}

.repair-submit-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 32px rgba(0, 113, 227, 0.5), 0 0 0 4px rgba(0, 113, 227, 0.1);
}

.repair-submit-btn:hover::before {
  opacity: 1;
}

.repair-submit-btn i,
.repair-submit-btn span {
  position: relative;
  z-index: 2;
}

.repair-submit-btn:active {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(0, 113, 227, 0.3);
}

/* Flash Messages */
.repair-flash {
  padding: 0.85rem 1rem;
  border-radius: 10px;
  font-size: 0.88rem;
  margin-bottom: 1.5rem;
  font-weight: 500;
  line-height: 1.5;
}

.repair-flash-success {
  background: rgba(52, 199, 89, 0.1);
  border: 1px solid rgba(52, 199, 89, 0.25);
  color: #34c759;
}

.repair-flash-error {
  background: rgba(255, 59, 48, 0.1);
  border: 1px solid rgba(255, 59, 48, 0.25);
  color: #ff3b30;
}

/* Pricing Card */
.repair-pricing-card {
  background: rgba(231, 231, 231, 0.122);
  border: 2px solid rgba(0, 0, 0, 0.11);
  border-radius: 16px;
  padding: 2.2rem;
}

.repair-pricing-card h3 {
  font-size: 1.4rem;
  font-weight: 800;
  color: #000000;
  margin-bottom: 1.5rem;
}

.newsletter-alert-box {
  margin-top: 1rem;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.1rem;
  border-radius: 14px;
  background: rgba(37, 99, 235, 0.12);
  border: 1px solid rgba(37, 99, 235, 0.25);
  color: var(--text-white);
}

.newsletter-alert-box strong {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 0.2rem;
}

.newsletter-alert-box p {
  margin: 0;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.85rem;
}

.newsletter-alert-close {
  appearance: none;
  background: transparent;
  border: 0;
  color: var(--text-white);
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  padding: 0;
}

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

.repair-pricing-table thead th {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: rgb(0, 0, 0);
  padding: 0.7rem 0;
  border-bottom: 1px solid rgba(36, 36, 36, 0.08);
  text-align: left;
}

.repair-pricing-table thead th:last-child {
  text-align: right;
}

.repair-pricing-table tbody td {
  padding: 0.7rem 0;
  font-size: 0.88rem;
  color: rgba(53, 53, 53, 0.8);
  border-bottom: 1px solid rgba(9, 9, 9, 0.076);
}

.repair-pricing-table tbody td:last-child {
  text-align: right;
  font-weight: 600;
  color: #7d7c7ce5;
}

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

.repair-pricing-note {
  font-size: 0.75rem;
  color: rgb(0, 0, 0);
  margin-top: 1rem;
  font-style: italic;
}

/* Trust Badges */
.repair-trust-section {
  padding: 5rem 0;
  background: rgba(244, 247, 254);
}

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

.repair-trust-item {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.8rem;
  text-align: left;
}

.repair-trust-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  color: rgba(57, 137, 248, 0.845);
  transition: all 0.3s;
}

.repair-trust-item:hover .repair-trust-icon {
  color: var(--color-primary);
  transform: translateY(-6px);
}

.repair-trust-item strong {
  font-size: 0.82rem;
  color: var(--text-black-300);
  font-weight: 600;
}

/* WhatsApp CTA Banner */
.repair-whatsapp-cta {
  background: var(--color-primary);
  padding: 2.5rem 0;
}

.repair-whatsapp-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.repair-whatsapp-content {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.repair-whatsapp-icon {
  width: 52px;
  height: 52px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: #ffffff;
  flex-shrink: 0;
}

.repair-whatsapp-content h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.15rem;
}

.repair-whatsapp-content p {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.8);
}

.repair-whatsapp-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #ffffff;
  color: #111827;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.8rem 1.6rem;
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.3s;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.repair-whatsapp-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Admin Repair Status Badges */
.repair-status-pending {
  background: rgba(255, 159, 10, 0.1) !important;
  color: #ff9f0a !important;
  border: 1px solid rgba(255, 159, 10, 0.2) !important;
}

.repair-status-contacted {
  background: rgba(0, 113, 227, 0.1) !important;
  color: var(--color-primary) !important;
  border: 1px solid rgba(0, 113, 227, 0.2) !important;
}

.repair-status-in_progress {
  background: rgba(175, 82, 222, 0.1) !important;
  color: #af52de !important;
  border: 1px solid rgba(175, 82, 222, 0.2) !important;
}

.repair-status-completed {
  background: rgba(52, 199, 89, 0.1) !important;
  color: #34c759 !important;
  border: 1px solid rgba(52, 199, 89, 0.2) !important;
}

.repair-status-cancelled {
  background: rgba(255, 59, 48, 0.1) !important;
  color: #ff3b30 !important;
  border: 1px solid rgba(255, 59, 48, 0.2) !important;
}

/* Responsive */
@media (max-width: 1024px) {
  .repair-hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .repair-hero-content h1 { font-size: 2.2rem; }
  .repair-hero-badges { justify-content: center; }
  .repair-hero-image { justify-content: center; }
  .repair-hero-image img { max-width: 400px; }
  .repair-services-grid { grid-template-columns: repeat(3, 1fr); }
  .repair-form-grid { grid-template-columns: 1fr; }
  .repair-trust-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  .repair-hero { padding: 3rem 0; }
  .repair-hero-content h1 { font-size: 1.8rem; }
  .repair-services-grid { grid-template-columns: repeat(2, 1fr); }
  .repair-form-row { grid-template-columns: 1fr; }
  .repair-trust-grid { grid-template-columns: repeat(2, 1fr); }
  .repair-whatsapp-inner { flex-direction: column; text-align: center; }
  .repair-whatsapp-content { flex-direction: column; }
}

@media (max-width: 480px) {
  .repair-services-grid { grid-template-columns: 1fr 1fr; gap: 0.8rem; }
  .repair-service-card { padding: 1.2rem 0.6rem; }
  .repair-trust-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
}

/* ==========================================================================
   About Us Page
   ========================================================================== */

.about-section {
  padding: 5rem 0;
}

.about-section-alt {
  background: rgba(255, 255, 255, 0.02);
  border-block: 1px solid rgba(255, 255, 255, 0.04);
}

/* Mission Grid */
.about-mission-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 2rem;
  align-items: start;
}

.about-mission-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 20px;
  padding: 2.5rem;
  transition: var(--transition-normal);
}

.about-mission-card:hover {
  border-color: rgba(0, 168, 255, 0.2);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.about-mission-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--color-accent);
  background: rgba(0, 168, 255, 0.1);
  padding: 0.3rem 0.9rem;
  border-radius: var(--border-radius-full);
  margin-bottom: 1rem;
}

.about-mission-title {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-white);
  margin-bottom: 1.2rem;
}

.about-mission-text {
  color: var(--text-gray-300);
  line-height: 1.8;
  font-size: 0.95rem;
  margin-bottom: 0.8rem;
}

/* Values List in Mission Card */
.about-values-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.about-values-item {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.6rem 0.8rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 10px;
  color: var(--text-gray-300);
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--transition-fast);
}

.about-values-item:hover {
  background: rgba(0, 168, 255, 0.06);
  transform: translateX(4px);
}

.about-values-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(0, 168, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--color-primary);
}

/* Stats Grid */
.about-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.about-stat-card {
  text-align: center;
  padding: 2.5rem 1.5rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  transition: var(--transition-normal);
}

.about-stat-card:hover {
  border-color: rgba(0, 168, 255, 0.25);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}

.about-stat-number {
  display: block;
  font-size: 2.4rem;
  font-weight: 800;
  background: var(--gradient-neon);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.4rem;
}

.about-stat-label {
  font-size: 0.85rem;
  color: var(--text-gray-500);
  font-weight: 500;
}

/* Section Header */
.about-section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.about-section-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--color-accent);
  background: rgba(0, 168, 255, 0.1);
  padding: 0.3rem 0.9rem;
  border-radius: var(--border-radius-full);
  margin-bottom: 0.8rem;
}

.about-section-heading {
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-white);
  margin-bottom: 0.6rem;
}

.about-section-desc {
  color: var(--text-gray-500);
  font-size: 1rem;
  max-width: 520px;
  margin: 0 auto;
}

/* Core Values Cards */
.about-core-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.about-core-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 16px;
  padding: 2rem 1.5rem;
  text-align: center;
  transition: var(--transition-normal);
}

.about-core-card:hover {
  border-color: rgba(0, 168, 255, 0.2);
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
}

.about-core-icon-box {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: rgba(0, 168, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--color-primary);
  margin: 0 auto 1.2rem;
  transition: var(--transition-normal);
}

.about-core-card:hover .about-core-icon-box {
  background: var(--gradient-neon);
  color: #fff;
  transform: scale(1.1) rotate(-3deg);
}

.about-core-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 0.5rem;
}

.about-core-text {
  font-size: 0.88rem;
  color: var(--text-gray-400);
  line-height: 1.6;
}

/* About Page Responsive */
@media (max-width: 992px) {
  .about-mission-grid {
    grid-template-columns: 1fr;
  }
  .about-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .about-core-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .about-section {
    padding: 3.5rem 0;
  }
}

@media (max-width: 576px) {
  .about-mission-card {
    padding: 1.5rem;
  }
  .about-mission-title {
    font-size: 1.3rem;
  }
  .about-stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  .about-stat-card {
    padding: 1.5rem 1rem;
  }
  .about-stat-number {
    font-size: 1.8rem;
  }
  .about-core-grid {
    grid-template-columns: 1fr;
  }
  .about-section-heading {
    font-size: 1.5rem;
  }
  .about-section {
    padding: 2.5rem 0;
  }
  .about-section-header {
    margin-bottom: 2rem;
  }
}

/* ==========================================================================
   Contact Us Page
   ========================================================================== */

.contact-section {
  padding: 5rem 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.contact-info-header {
  margin-bottom: 2rem;
}

.contact-section-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--color-accent);
  background: rgba(0, 168, 255, 0.1);
  padding: 0.3rem 0.9rem;
  border-radius: var(--border-radius-full);
  margin-bottom: 0.8rem;
}

.contact-section-title {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text-white);
  margin-bottom: 0.6rem;
}

.contact-section-desc {
  color: var(--text-gray-500);
  font-size: 0.95rem;
  line-height: 1.6;
  max-width: 480px;
}

/* Contact Methods Grid */
.contact-methods-grid {
  display: grid;
  gap: 1rem;
}

.contact-method-card {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 14px;
  padding: 1.2rem 1.5rem;
  transition: var(--transition-normal);
}

.contact-method-card:hover {
  border-color: rgba(0, 168, 255, 0.2);
  transform: translateX(6px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.contact-method-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.contact-method-body {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.contact-method-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-gray-500);
}

.contact-method-value {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-gray-100);
  text-decoration: none;
  line-height: 1.4;
}

.contact-method-value:hover {
  color: var(--color-primary);
}

/* Right CTA Column */
.contact-cta-wrap {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-cta-card {
  padding: 2rem;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  transition: var(--transition-normal);
}

.contact-cta-whatsapp {
  background: linear-gradient(145deg, rgba(37, 211, 102, 0.08), rgba(18, 140, 126, 0.05));
  border-color: rgba(37, 211, 102, 0.2);
}

.contact-cta-whatsapp:hover {
  border-color: rgba(37, 211, 102, 0.45);
  box-shadow: 0 8px 32px rgba(37, 211, 102, 0.1);
}

.contact-cta-address {
  background: rgba(255, 255, 255, 0.03);
}

.contact-cta-address:hover {
  border-color: rgba(0, 168, 255, 0.2);
}

.contact-cta-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 1.2rem;
}

.contact-cta-whatsapp .contact-cta-icon {
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: #fff;
}

.contact-cta-address .contact-cta-icon {
  background: rgba(0, 168, 255, 0.1);
  color: var(--color-primary);
  width: 48px;
  height: 48px;
  font-size: 1.3rem;
}

.contact-cta-icon-sm {
  width: 48px !important;
  height: 48px !important;
  font-size: 1.3rem !important;
}

.contact-cta-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 0.6rem;
}

.contact-cta-text {
  font-size: 0.9rem;
  color: var(--text-gray-400);
  line-height: 1.7;
  margin-bottom: 1.2rem;
}

.contact-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.8rem 1.6rem;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.3);
}

.contact-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
}

/* Contact Page Responsive */
@media (max-width: 992px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .contact-section {
    padding: 3.5rem 0;
  }
  .contact-method-card:hover {
    transform: translateX(4px);
  }
}

@media (max-width: 576px) {
  .contact-section {
    padding: 2.5rem 0;
  }
  .contact-section-title {
    font-size: 1.4rem;
  }
  .contact-method-card {
    padding: 1rem 1.2rem;
  }
  .contact-method-icon-box {
    width: 42px;
    height: 42px;
    font-size: 1.1rem;
  }
  .contact-cta-card {
    padding: 1.5rem;
  }
  .contact-cta-btn {
    width: 100%;
    justify-content: center;
  }
}

/* ==========================================================================
   Repair Quote Page — Step-by-step flow
   ========================================================================== */

/* Progress Bar */
.rq-progress {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2.5rem;
  gap: 0;
  max-width: 700px;
  margin-inline: auto;
}

.rq-progress-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  flex: 1;
  position: relative;
}

.rq-progress-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--theme-badge-bg);
  border: 2px solid var(--theme-divider);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--theme-text-muted);
  transition: var(--transition-normal);
  position: relative;
  z-index: 2;
}

.rq-progress-step.completed .rq-progress-circle {
  background: var(--color-success);
  border-color: var(--color-success);
  color: white;
}

.rq-progress-step.active .rq-progress-circle {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: white;
  box-shadow: 0 0 0 6px rgba(0, 113, 227, 0.15);
}

.rq-progress-label {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--theme-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-align: center;
}

.rq-progress-step.completed .rq-progress-label,
.rq-progress-step.active .rq-progress-label {
  color: var(--color-primary);
}

.rq-progress-line {
  height: 2px;
  flex: 1;
  background: var(--theme-divider);
  margin-bottom: 1.8rem;
  transition: background 0.3s;
}

.rq-progress-line.completed {
  background: var(--color-success);
}

/* Main Card */
.rq-card {
  max-width: 800px;
  margin: 0 auto;
  background: var(--theme-card-bg);
  border: var(--theme-card-border);
  border-radius: var(--border-radius-lg);
  padding: 2.5rem;
  box-shadow: var(--theme-card-shadow);
}

/* Flash Messages */
.rq-flash {
  padding: 0.85rem 1.2rem;
  border-radius: var(--border-radius-sm);
  margin-bottom: 1.5rem;
  font-size: 0.88rem;
  font-weight: 600;
}

.rq-flash-success {
  background: rgba(52, 199, 89, 0.12);
  border: 1px solid rgba(52, 199, 89, 0.25);
  color: var(--color-success);
}

.rq-flash-error {
  background: rgba(255, 59, 48, 0.12);
  border: 1px solid rgba(255, 59, 48, 0.25);
  color: #ff3b30;
}

/* Step Content */
.rq-step-content {
  animation: rqFadeIn 0.4s ease;
}

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

.rq-step-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.rq-step-number {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-primary);
  background: rgba(0, 113, 227, 0.1);
  padding: 0.3rem 0.9rem;
  border-radius: 50px;
  margin-bottom: 0.8rem;
}

.rq-step-header h2 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--theme-text-title);
  margin-bottom: 0.4rem;
}

.rq-step-header p {
  font-size: 0.88rem;
  color: var(--theme-text-muted);
}

/* Selected Service Badge */
.rq-selected-service-badge,
.rq-selected-summary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 1rem;
  padding: 0.7rem 1.2rem;
  background: var(--theme-badge-bg);
  border-radius: var(--border-radius-sm);
  font-size: 0.82rem;
  color: var(--theme-text);
}

.rq-selected-summary span {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.rq-selected-summary span i {
  color: var(--color-primary);
}

.rq-change-link {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--color-primary);
  text-decoration: underline;
  margin-left: 0.3rem;
}

/* Step 1: Services Grid */
.rq-services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.rq-service-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.5rem;
  padding: 2rem 1.5rem;
  background: var(--theme-bg);
  border: var(--theme-card-border);
  border-radius: var(--border-radius-md);
  transition: var(--transition-normal);
  text-decoration: none;
  color: inherit;
  position: relative;
}

.rq-service-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-primary);
  box-shadow: 0 8px 24px rgba(0, 113, 227, 0.08);
}

.rq-service-card i {
  font-size: 2.2rem;
  color: var(--color-primary);
}

.rq-service-icon {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 10px;
}

.rq-service-card strong {
  font-size: 0.92rem;
  color: var(--theme-text-title);
}

.rq-service-card small {
  font-size: 0.75rem;
  color: var(--color-primary);
  font-weight: 700;
}

.rq-service-arrow {
  position: absolute;
  top: 0.8rem;
  right: 0.8rem;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--theme-badge-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--theme-text-muted);
  font-size: 0.85rem;
  transition: var(--transition-fast);
}

.rq-service-card:hover .rq-service-arrow {
  background: var(--color-primary);
  color: white;
  transform: translateX(2px);
}

/* Step 2: Select Device */
.rq-select-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.rq-select-group label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--theme-text-title);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.rq-select-group label i {
  color: var(--color-primary);
}

.rq-select-group select {
  width: 100%;
  padding: 0.9rem 1rem;
  border: var(--theme-input-border);
  border-radius: var(--border-radius-sm);
  background: var(--theme-input-bg);
  color: var(--theme-input-text);
  font-family: var(--font-body);
  font-size: 0.9rem;
  outline: none;
  transition: var(--transition-fast);
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 14px;
}

.rq-select-group select:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.1);
}

.rq-select-group select:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.rq-continue-btn {
  width: 100%;
  justify-content: center;
  padding: 1rem !important;
  font-size: 1rem !important;
}

.rq-continue-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

/* Step 3: Price Display */
.rq-price-display {
  text-align: center;
  padding: 2.5rem;
  background: var(--theme-bg);
  border: var(--theme-card-border);
  border-radius: var(--border-radius-md);
  margin-top: 1rem;
}

.rq-price-loader {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  color: var(--theme-text-muted);
  font-size: 0.9rem;
}

.rq-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid var(--theme-divider);
  border-top: 3px solid var(--color-primary);
  border-radius: 50%;
  animation: rqSpin 0.8s linear infinite;
}

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

.rq-price-result {
  animation: rqFadeIn 0.5s ease;
}

.rq-price-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
}

.rq-price-header i {
  font-size: 1.2rem;
}

.rq-price-amount {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 800;
  background: var(--gradient-neon);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.2;
  margin-bottom: 0.8rem;
  letter-spacing: -1px;
}

.rq-price-note {
  font-size: 0.75rem;
  color: var(--theme-text-muted);
  font-style: italic;
  max-width: 400px;
  margin: 0 auto;
}

.rq-price-notfound {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
  color: var(--theme-text-muted);
  animation: rqFadeIn 0.5s ease;
}

.rq-price-notfound i {
  font-size: 2.5rem;
  color: #ff9500;
}

.rq-price-notfound p {
  font-size: 0.9rem;
  line-height: 1.6;
}

/* Step 4: Submit Form */
.rq-form {
  margin-top: 1rem;
}

.rq-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

.rq-form-group {
  margin-bottom: 1.2rem;
}

.rq-form-group label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--theme-text-title);
  margin-bottom: 0.4rem;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.rq-required {
  color: #ff3b30;
}

.rq-form-group input,
.rq-form-group select,
.rq-form-group textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: var(--theme-input-border);
  border-radius: var(--border-radius-sm);
  background: var(--theme-input-bg);
  color: var(--theme-input-text);
  font-family: var(--font-body);
  font-size: 0.88rem;
  outline: none;
  transition: var(--transition-fast);
}

.rq-form-group input:focus,
.rq-form-group select:focus,
.rq-form-group textarea:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.1);
}

.rq-form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.rq-upload-area {
  position: relative;
}

.rq-upload-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  padding: 1.5rem;
  border: 2px dashed var(--theme-divider);
  border-radius: var(--border-radius-sm);
  cursor: pointer;
  transition: var(--transition-fast);
  text-align: center;
}

.rq-upload-label:hover {
  border-color: var(--color-primary);
  background: rgba(0, 113, 227, 0.03);
}

.rq-upload-label i {
  font-size: 1.5rem;
  color: var(--theme-text-muted);
}

.rq-upload-label span {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--theme-text);
}

.rq-upload-label small {
  font-size: 0.7rem;
  color: var(--theme-text-muted);
}

.rq-upload-preview {
  margin-top: 0.75rem;
  position: relative;
  display: inline-block;
}

.rq-upload-preview img {
  max-width: 100px;
  max-height: 100px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid var(--theme-divider);
}

.rq-upload-remove {
  position: absolute;
  top: -6px;
  right: -6px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #ff3b30;
  color: white;
  border: none;
  font-size: 0.7rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.rq-submit-btn {
  width: 100%;
  justify-content: center;
  padding: 1rem !important;
  font-size: 1rem !important;
  margin-top: 0.5rem;
}

/* Responsive */
@media (max-width: 768px) {
  .rq-progress {
    overflow-x: auto;
    justify-content: flex-start;
    gap: 0;
    padding-bottom: 0.5rem;
  }
  .rq-progress-step {
    flex: 0 0 80px;
  }
  .rq-progress-circle {
    width: 34px;
    height: 34px;
    font-size: 0.75rem;
  }
  .rq-card {
    padding: 1.5rem;
  }
  .rq-services-grid {
    grid-template-columns: 1fr;
  }
  .rq-select-grid {
    grid-template-columns: 1fr;
  }
  .rq-form-row {
    grid-template-columns: 1fr;
  }
  .rq-price-amount {
    font-size: 2.2rem;
  }
  .rq-step-header h2 {
    font-size: 1.2rem;
  }
}

@media (max-width: 480px) {
  .rq-card {
    padding: 1.2rem;
  }
  .rq-progress-step {
    flex: 0 0 60px;
  }
  .rq-progress-label {
    font-size: 0.55rem;
  }
}

/* ==========================================================================
   Mobile Responsive: Shop Filter Overlay & Backdrop
   ========================================================================== */

/* Filter toggle button - visible only on mobile/tablet */
.mobile-filter-toggle-btn {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1.2rem;
  background: var(--color-primary);
  color: #fff;
  border: none;
  border-radius: var(--border-radius-sm);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.82rem;
  cursor: pointer;
  transition: var(--transition-fast);
  width: 100%;
  margin-block-end: 1rem;
}

.mobile-filter-toggle-btn:hover {
  background: hsl(210, 100%, 45%);
  transform: translateY(-1px);
}

.mobile-filter-toggle-btn i {
  font-size: 1.1rem;
}

/* Filter backdrop overlay */
.filter-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 999;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.filter-backdrop.active {
  display: block;
  opacity: 1;
}

/* Close button inside mobile filter sidebar */
.mobile-filter-close-btn {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.6rem 1rem;
  background: transparent;
  color: var(--theme-text-title);
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: var(--border-radius-sm);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.8rem;
  cursor: pointer;
  margin-block-end: 1rem;
  width: 100%;
  transition: var(--transition-fast);
}

.mobile-filter-close-btn:hover {
  background: rgba(0,0,0,0.05);
}

@media (max-width: 992px) {
  .mobile-filter-toggle-btn {
    display: flex;
  }
  
  .mobile-filter-close-btn {
    display: flex;
    color: #ff1010;
  }
  
  .shop-sidebar {
    display: block;
  }
}

/* ==========================================================================
   Mobile Responsive: Best Sellers Slider Touch Improvements
   ========================================================================== */
@media (max-width: 576px) {
  .slider-track {
    gap: 1rem;
  }
  
  
  .slider-arrow-btn {
    width: 32px;
    height: 32px;
  }
  
  .slider-arrow-prev {
    left: -8px;
  }
  
  .slider-arrow-next {
    right: -8px;
  }
}

/* ==========================================================================
   Mobile Responsive: Announcement Bar Improvements
   ========================================================================== */
@media (max-width: 768px) {
  .announcement-bar {
    font-size: 0.65rem;
    padding-block: 0.4rem;
  }
  
  .announcement-bar .container {
    justify-content: center;
  }
  
  .announcement-socials span {
    display: none;
  }
}

/* ==========================================================================
   Mobile Responsive: Shop Products Header
   ========================================================================== */
@media (max-width: 768px) {
  .products-panel-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.8rem;
  }
  
  .products-count-box h3 {
    font-size: 0.95rem;
  }
  
  .sort-select {
    font-size: 0.78rem;
    padding: 0.45rem 0.8rem 0.45rem 2rem;
  }
  
  .active-filter-badges {
    gap: 0.35rem;
  }
  
  .filter-badge {
    font-size: 0.65rem;
    padding: 0.2rem 0.4rem 0.2rem 0.55rem;
  }
}

/* ==========================================================================
   Mobile Responsive: Empty State
   ========================================================================== */
@media (max-width: 576px) {
  .shop-empty-state {
    padding: 2.5rem 1.5rem;
  }
  
  .shop-empty-state h2 {
    font-size: 1.2rem;
  }
  
  .shop-empty-state p {
    font-size: 0.85rem;
  }
  
  .empty-icon-circle {
    width: 60px;
    height: 60px;
    font-size: 1.6rem;
    margin-block-end: 1rem;
  }
}

/* ══════════════════════════════════════════════════════════════
   BLOG STYLES
   ══════════════════════════════════════════════════════════════ */

.blog-section {
  padding: 3rem 0 5rem;
  background: var(--color-bg, #f9fafb);
}

.blog-header {
  text-align: center;
  margin-bottom: 3rem;
}

.blog-header h1 {
  font-size: 2rem;
  font-weight: 800;
  color: #111827;
  margin-bottom: 0.5rem;
}

.blog-header p {
  font-size: 1rem;
  color: #6b7280;
  max-width: 600px;
  margin: 0 auto;
}

/* Blog Grid */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 2rem;
}

.blog-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #e5e7eb;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.blog-card:hover {
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
  transform: translateY(-4px);
}

.blog-card-image-link {
  display: block;
  overflow: hidden;
}

.blog-card-image {
  width: 100%;
  height: 220px;
  overflow: hidden;
  position: relative;
}

.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.blog-card-image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #e5e7eb, #d1d5db);
  font-size: 3rem;
  color: #9ca3af;
}

.blog-card-body {
  padding: 1.5rem;
}

.blog-card-meta {
  display: flex;
  gap: 1rem;
  font-size: 0.78rem;
  color: #6b7280;
  margin-bottom: 0.75rem;
}

.blog-card-meta span {
  display: flex;
  align-items: center;
  gap: 4px;
}

.blog-card-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.blog-card-title a {
  color: inherit;
  text-decoration: none;
}

.blog-card-title a:hover {
  color: var(--color-primary, #0071e3);
}

.blog-card-excerpt {
  font-size: 0.88rem;
  color: #6b7280;
  line-height: 1.6;
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card-read-more {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-primary, #0071e3);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap 0.2s;
}

.blog-card-read-more:hover {
  gap: 8px;
}

/* Pagination */
.blog-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin-top: 3rem;
}

.blog-page-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 0.5rem 1rem;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 500;
  color: #374151;
  text-decoration: none;
  background: #fff;
  transition: all 0.2s;
}

.blog-page-link:hover {
  border-color: var(--color-primary, #0071e3);
  color: var(--color-primary, #0071e3);
}

.blog-page-link.active {
  background: var(--color-primary, #0071e3);
  color: #fff;
  border-color: var(--color-primary, #0071e3);
}

.blog-empty {
  text-align: center;
  padding: 4rem 1rem;
  color: #6b7280;
}

.blog-empty h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #374151;
  margin-bottom: 0.5rem;
}

.blog-empty p {
  font-size: 0.9rem;
}

/* Single Blog Post */
.blog-back-link {
  margin-bottom: 2rem;
}

.blog-back-link a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  font-weight: 600;
  color: #6b7280;
  text-decoration: none;
  transition: color 0.2s;
}

.blog-back-link a:hover {
  color: var(--color-primary, #0071e3);
}

.blog-single-article {
  background: #fff;
  border-radius: 20px;
  border: 1px solid #e5e7eb;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.blog-single-image {
  width: 100%;
  max-height: 500px;
  overflow: hidden;
}

.blog-single-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  max-height: 500px;
}

.blog-single-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding: 2rem 2.5rem 0;
  font-size: 0.85rem;
  color: #6b7280;
}

.blog-single-meta span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.blog-single-title {
  font-size: 2rem;
  font-weight: 800;
  color: #111827;
  line-height: 1.25;
  padding: 1rem 2.5rem 0;
  margin: 0;
}

.blog-single-content {
  padding: 2rem 2.5rem;
  font-size: 1.05rem;
  line-height: 1.8;
  color: #374151;
}

.blog-single-content h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #111827;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.blog-single-content h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #1f2937;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.blog-single-content p {
  margin-bottom: 1rem;
}

.blog-single-content ul,
.blog-single-content ol {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
}

.blog-single-content li {
  margin-bottom: 0.5rem;
}

.blog-single-content img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  margin: 1.5rem 0;
}

.blog-single-content blockquote {
  border-left: 4px solid var(--color-primary, #0071e3);
  padding-left: 1rem;
  margin: 1.5rem 0;
  color: #4b5563;
  font-style: italic;
}

.blog-single-content a {
  color: var(--color-primary, #0071e3);
  text-decoration: underline;
}

/* Blog Single Actions */
.blog-single-actions {
  display: flex;
  gap: 1rem;
  padding: 1.5rem 2.5rem 2.5rem;
  border-top: 1px solid #f3f4f6;
}

.blog-like-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0.6rem 1.2rem;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  font-size: 0.88rem;
  font-weight: 600;
  color: #6b7280;
  background: #fff;
  cursor: pointer;
  transition: all 0.2s;
}

.blog-like-btn:hover {
  border-color: #fecaca;
  color: #ef4444;
  background: #fef2f2;
}

.blog-like-btn.liked {
  border-color: #fecaca;
  color: #ef4444;
  background: #fef2f2;
}

.blog-share-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0.6rem 1.2rem;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  font-size: 0.88rem;
  font-weight: 600;
  color: #6b7280;
  background: #fff;
  cursor: pointer;
  transition: all 0.2s;
}

.blog-share-btn:hover {
  border-color: #bfdbfe;
  color: var(--color-primary, #0071e3);
  background: #eff6ff;
}

/* Comments Section */
.blog-comments-section {
  margin-top: 3rem;
  background: #fff;
  border-radius: 20px;
  border: 1px solid #e5e7eb;
  padding: 2.5rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.blog-comments-section h2 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.blog-alert {
  padding: 0.85rem 1.2rem;
  border-radius: 10px;
  font-size: 0.88rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.blog-alert-success {
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.blog-alert-error {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

.blog-comments-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.blog-comment-item {
  display: flex;
  gap: 1rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #f3f4f6;
}

.blog-comment-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.blog-comment-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary, #0071e3), #5856d6);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
}

.blog-comment-body {
  flex: 1;
}

.blog-comment-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.4rem;
}

.blog-comment-header strong {
  font-size: 0.9rem;
  color: #111827;
}

.blog-comment-header span {
  font-size: 0.78rem;
  color: #9ca3af;
}

.blog-comment-body p {
  font-size: 0.88rem;
  color: #4b5563;
  line-height: 1.6;
  margin: 0;
}

/* Comment Form */
.blog-comment-form {
  margin-top: 1rem;
  padding-top: 2rem;
  border-top: 1px solid #e5e7eb;
}

.blog-comment-form h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 1rem;
}

.blog-comment-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.blog-comment-form input[type="text"],
.blog-comment-form input[type="email"],
.blog-comment-form textarea {
  width: 100%;
  padding: 0.7rem 1rem;
  border: 1px solid #d1d5db;
  border-radius: 10px;
  font-size: 0.9rem;
  font-family: inherit;
  background: #fff;
  transition: border-color 0.2s;
  box-sizing: border-box;
}

.blog-comment-form input:focus,
.blog-comment-form textarea:focus {
  outline: none;
  border-color: var(--color-primary, #0071e3);
  box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.1);
}

.blog-comment-form textarea {
  margin-bottom: 1rem;
  resize: vertical;
}

.blog-comment-form .btn {
  padding: 0.7rem 2rem;
}

/* Blog Admin Specific Styles */
.admin-table th,
.admin-table td {
  vertical-align: middle;
}

.edit-blog-row textarea {
  font-family: 'SF Mono', 'Cascadia Code', 'Consolas', monospace;
  font-size: 0.85rem;
  line-height: 1.5;
}

/* Responsive Blog */
@media (max-width: 768px) {
  .blog-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .blog-single-meta {
    padding: 1.5rem 1.5rem 0;
    gap: 1rem;
    font-size: 0.8rem;
  }

  .blog-single-title {
    padding: 0.75rem 1.5rem 0;
    font-size: 1.5rem;
  }

  .blog-single-content {
    padding: 1.5rem;
    font-size: 0.95rem;
  }

  .blog-single-actions {
    padding: 1rem 1.5rem 1.5rem;
  }

  .blog-comments-section {
    padding: 1.5rem;
  }

  .blog-comment-form-row {
    grid-template-columns: 1fr;
  }

  .blog-comment-item {
    flex-direction: column;
    gap: 0.6rem;
  }

  .blog-single-image img {
    max-height: 280px;
  }
}

@media (max-width: 576px) {
  .blog-section {
    padding: 2rem 0 3rem;
  }

  .blog-header h1 {
    font-size: 1.5rem;
  }

  .blog-card-image {
    height: 180px;
  }
}

/* ==========================================================================
   404 Error Page - Premium Dark Theme
   ========================================================================== */
.error-hero {
  position: relative;
  background: linear-gradient(160deg, hsl(220, 30%, 4%), hsl(220, 25%, 8%), hsl(220, 30%, 4%));
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 6rem 0 4rem;
}

.error-hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

/* Animated 404 graphic */
.error-graphic {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  margin-bottom: 1.5rem;
  position: relative;
  user-select: none;
}

.error-graphic-glow {
  position: absolute;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(0, 113, 227, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: errorGlowPulse 3s ease-in-out infinite;
  pointer-events: none;
}

@keyframes errorGlowPulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.8; }
  50% { transform: translate(-50%, -50%) scale(1.15); opacity: 1; }
}

.error-graphic-number {
  font-family: var(--font-heading);
  font-size: clamp(6rem, 18vw, 10rem);
  font-weight: 800;
  line-height: 1;
  color: var(--text-white);
  text-shadow: 0 0 60px rgba(0, 113, 227, 0.3);
  letter-spacing: -4px;
}

.error-graphic-icon {
  width: clamp(5rem, 12vw, 7rem);
  height: clamp(5rem, 12vw, 7rem);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 113, 227, 0.1);
  border: 2px solid rgba(0, 113, 227, 0.2);
  border-radius: 50%;
  font-size: clamp(2.5rem, 6vw, 3.5rem);
  color: var(--color-primary);
  animation: errorPlugBounce 2.5s ease-in-out infinite;
  margin: 0 0.25rem;
}

@keyframes errorPlugBounce {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  25% { transform: translateY(-10px) rotate(-5deg); }
  50% { transform: translateY(0) rotate(0deg); }
  75% { transform: translateY(-6px) rotate(5deg); }
}

.error-badge {
  display: inline-flex;
  align-items: center;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--color-primary);
  background: rgba(0, 113, 227, 0.12);
  border: 1px solid rgba(0, 113, 227, 0.2);
  padding: 0.4rem 1.2rem;
  border-radius: 50px;
  margin-bottom: 1.2rem;
}

.error-hero-content h1 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  color: var(--text-white);
  margin-bottom: 1rem;
  letter-spacing: -1px;
}

.error-description {
  font-size: 1.05rem;
  color: var(--text-gray-300);
  line-height: 1.7;
  max-width: 520px;
  margin: 0 auto 2rem;
}

/* Action buttons */
.error-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 2.5rem;
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.8rem;
  border-radius: 5px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  gap: 0.5rem;
  transition: var(--transition-normal);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-gray-100);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2.5px);
  color: var(--text-white);
}

/* Search hint row */
.error-search-hint {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.6rem;
  font-size: 0.85rem;
  color: var(--text-gray-500);
}

.error-search-hint i {
  font-size: 1.1rem;
  color: var(--color-primary);
}

.error-hint-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.9rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-gray-300);
  transition: var(--transition-fast);
}

.error-hint-tag:hover {
  background: rgba(0, 113, 227, 0.12);
  border-color: rgba(0, 113, 227, 0.25);
  color: var(--color-primary);
  transform: translateY(-1px);
}

/* Background decorative elements */
.error-bg-circle {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
}

.error-bg-circle-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 168, 255, 0.06) 0%, transparent 70%);
  top: -200px;
  right: -150px;
  animation: errorFloatSlow 8s ease-in-out infinite;
}

.error-bg-circle-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(134, 37, 232, 0.05) 0%, transparent 70%);
  bottom: -100px;
  left: -100px;
  animation: errorFloatSlow 10s ease-in-out infinite reverse;
}

@keyframes errorFloatSlow {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(20px, -20px); }
}

.error-bg-grid {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.4) 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.4) 0%, transparent 70%);
}

/* --------------------------------------------------------------------------
   404 Suggestions Section
   -------------------------------------------------------------------------- */
.error-suggestions {
  background: var(--bg-light-100);
}

.error-suggestions-header {
  text-align: center;
  margin-bottom: 3rem;
}

.error-suggestions-header h2 {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.error-suggestions-header p {
  color: var(--text-gray-500);
  font-size: 1rem;
}

.error-suggestions-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.error-suggestion-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: var(--border-radius-md);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: var(--transition-normal);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.error-suggestion-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
  border-color: rgba(0, 113, 227, 0.2);
}

.error-suggestion-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 1.2rem;
  flex-shrink: 0;
}

.error-suggestion-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.error-suggestion-card p {
  font-size: 0.85rem;
  color: var(--text-gray-500);
  line-height: 1.5;
  margin-bottom: 1rem;
  flex: 1;
}

.error-suggestion-link {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-primary);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: var(--transition-fast);
}

.error-suggestion-link i {
  transition: transform 0.2s ease;
}

.error-suggestion-card:hover .error-suggestion-link i {
  transform: translateX(4px);
}

/* --------------------------------------------------------------------------
   404 Error Page - Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 992px) {
  .error-suggestions-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .error-hero {
    min-height: 60vh;
    padding: 5rem 0 3rem;
  }

  .error-actions {
    flex-direction: column;
    align-items: center;
  }

  .error-actions .btn {
    width: 100%;
    max-width: 280px;
  }

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

  .error-suggestion-card {
    padding: 1.5rem 1rem;
  }
}

@media (max-width: 480px) {
  .error-hero {
    min-height: 55vh;
    padding: 4rem 0 2.5rem;
  }

  .error-description {
    font-size: 0.95rem;
  }

  .error-search-hint {
    font-size: 0.8rem;
  }

  .error-suggestions-grid {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  .error-suggestion-card {
    flex-direction: row;
    text-align: left;
    padding: 1rem 1.2rem;
    align-items: center;
    gap: 1rem;
  }

  .error-suggestion-icon {
    width: 48px;
    height: 48px;
    font-size: 1.3rem;
    margin-bottom: 0;
    flex-shrink: 0;
  }

  .error-suggestion-card h3 {
    font-size: 0.9rem;
    margin-bottom: 0.2rem;
  }

  .error-suggestion-card p {
    display: none;
  }

  .error-suggestion-link {
    font-size: 0.75rem;
  }
}

/* ==========================================================================
   Promotional Banner Slider - Full Width Background Image
   ========================================================================== */
.promo-slider-section {
  position: relative;
  overflow: hidden;
  padding-block: 0;
}

.promo-slider-container {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.promo-slider-track {
  position: relative;
  width: 100%;
  height: 420px;
}

.promo-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s cubic-bezier(0.25, 0.8, 0.25, 1), visibility 0.8s;
  z-index: 1;
  display: flex;
  align-items: center;
  height: 420px;
  padding: 2.5rem 0;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
}

.promo-slide.active {
  position: relative;
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

.promo-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.5) 50%, rgba(0,0,0,0.8) 100%);
  z-index: 1;
  pointer-events: none;
}

.promo-slide .container {
  position: relative;
  z-index: 2;
}

.promo-slide-content {
  max-width: 650px;
  position: relative;
  z-index: 3;
}

.promo-slide-text-side {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.promo-slide-text-side .promo-tag {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  background: rgba(0, 113, 227, 0.15);
  padding: 0.4rem 1rem;
  border-radius: 50px;
  margin-bottom: 1.2rem;
  border: 1px solid rgba(0, 113, 227, 0.25);
  display: inline-block;
  color: var(--color-primary) !important;
}

.promo-slide-text-side .promo-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.2rem;
}

.promo-slide-text-side .promo-desc {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  max-width: 540px;
}

.promo-slide-text-side .promo-btn {
  padding: 0.9rem 2.2rem;
  border-radius: 50px;
  font-weight: 600;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.promo-slide-text-side .promo-btn:hover {
  transform: scale(1.03);
  box-shadow: 0 0 20px rgba(0, 113, 227, 0.4);
}

/* Badge side */
.promo-slide-badge-side {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Glow effects inside each slide */
.promo-slide .promo-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  opacity: 0.2;
  z-index: 1;
}

.promo-slide .glow-1 {
  width: 300px;
  height: 300px;
  background: var(--color-primary);
  top: -100px;
  right: -50px;
}

.promo-slide .glow-2 {
  width: 350px;
  height: 350px;
  background: var(--color-purple);
  bottom: -150px;
  left: -50px;
}

/* Promo slider dots */
.promo-slider-dots {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.8rem;
  z-index: 10;
}

.promo-slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  border: 2px solid rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: var(--transition-fast);
}

.promo-slider-dot.active,
.promo-slider-dot:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  transform: scale(1.3);
  box-shadow: 0 0 12px rgba(0, 113, 227, 0.6);
}

/* Promo slider arrows */
.promo-slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-normal);
  opacity: 0;
}

.promo-slider-container:hover .promo-slider-arrow {
  opacity: 1;
}

.promo-slider-arrow:hover {
  background: rgba(0, 113, 227, 0.6);
  border-color: var(--color-primary);
  transform: translateY(-50%) scale(1.1);
}

.promo-slider-arrow-prev {
  left: 1.5rem;
}

.promo-slider-arrow-next {
  right: 1.5rem;
}

/* Promo slider responsive */
@media (max-width: 992px) {
  .promo-slide-content {
    max-width: 100%;
  }

  .promo-slide-text-side {
    align-items: center;
    text-align: center;
  }

  .promo-slide-text-side .promo-desc {
    margin-inline: auto;
  }
}

@media (max-width: 768px) {
  .promo-slider-track,
  .promo-slide {
    height: 400px;
  }

  .promo-slide {
    padding: 2rem 0;
  }

  .promo-slider-arrow {
    width: 36px;
    height: 36px;
    font-size: 1rem;
    opacity: 0.8;
  }

  .promo-slider-arrow-prev {
    left: 0.75rem;
  }

  .promo-slider-arrow-next {
    right: 0.75rem;
  }
}

@media (max-width: 576px) {
  .promo-slider-track,
  .promo-slide {
    height: 320px;
  }

  .promo-slide {
    padding: 1.5rem 0;
  }

  .promo-slide-text-side .promo-title {
    font-size: 1.6rem;
  }

  .promo-slide-text-side .promo-desc {
    font-size: 0.75rem;
    display: none;
  }

  .promo-slide-text-side .promo-tag {
    font-size: 0.55rem;
    padding: 0.2rem 0.6rem;
    margin-bottom: 0.4rem;
  }

  .promo-slide-text-side .promo-btn {
    padding: 0.4rem 1rem;
    font-size: 0.7rem;
  }

  .promo-slider-dots {
    bottom: 0.3rem;
    gap: 0.3rem;
  }

  .promo-slider-dot {
    width: 6px;
    height: 6px;
  }

  .promo-slider-arrow {
    display: none;
  }
}


/* ==========================================================================
   MOBILE RESPONSIVE FIXES — Product Page & Checkout Page
   Covers: image overflow, form field overflow, checkout header, 
           checkout items layout, gallery overflow, header height issues.
   ========================================================================== */

/* ── Prevent horizontal scroll site-wide on mobile ── */
@media (max-width: 768px) {
  body {
    overflow-x: hidden;
  }

  .product-detail-page,
  .account-page-wrap {
    overflow-x: hidden;
  }

  /* Product image: constrain to viewport on medium-small screens */
  .product-large-image-card {
    max-height: 70vw;
  }

  /* Gallery section: horizontal scroll, don't wrap */
  .product-gallery-section {
    width: 100%;
    overflow: hidden;
  }

  /* Checkout summary card: make it full width with smaller padding */
  .cart-summary-card {
    padding: 1.2rem 1rem;
  }
}

@media (max-width: 480px) {
  /* ── Checkout Page Header Card ── */
  .account-profile-card {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 0.85rem 1rem;
    gap: 0.6rem;
    border-radius: 12px;
    margin-block-end: 1rem;
  }

  .account-profile-left {
    gap: 0.7rem;
    flex: 1;
    min-width: 0;
  }

  .account-profile-info {
    min-width: 0;
  }

  .account-profile-info h1 {
    font-size: 1.15rem !important;
  }

  .account-profile-info p {
    white-space: normal;
    word-break: break-word;
    font-size: 0.75rem !important;
  }

  /* ── Checkout Form Fields ── */
  .checkout-card {
    padding: 1rem 0.85rem;
    border-radius: 12px;
    margin-bottom: 0.75rem;
  }

  .checkout-form-group {
    margin-bottom: 0.75rem;
  }

  .checkout-form-group input,
  .checkout-form-group textarea,
  .checkout-form-group select {
    font-size: 0.85rem;
    padding: 0.7rem 0.85rem;
  }

  .checkout-form-row {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  /* ── Payment options ── */
  .payment-option {
    padding: 0.8rem;
  }

  .payment-option-header strong {
    font-size: 0.85rem;
  }

  .payment-option-header p {
    font-size: 0.7rem;
  }

  .payment-badges-row {
    flex-wrap: wrap;
    gap: 0.3rem;
    padding-left: 0;
  }

  /* ── Checkout Order Summary items ── */
  .checkout-item {
    gap: 0.5rem;
    padding: 0.5rem 0;
    align-items: flex-start;
  }

  .checkout-item img {
    width: 36px;
    height: 36px;
    min-width: 36px;
    border-radius: 5px;
  }

  .checkout-item-name {
    font-size: 0.75rem;
    line-height: 1.3;
    white-space: normal;
    word-break: break-word;
  }

  .checkout-item-qty {
    font-size: 0.68rem;
  }

  .checkout-item-price {
    font-size: 0.78rem;
    white-space: nowrap;
  }

  /* ── Product Detail Image — tighter on very small screens ── */
  .product-core-grid {
    gap: 0.75rem;
    margin-block-end: 1.5rem;
  }

  .product-large-image-card {
    max-height: 80vw;
    border-radius: 12px;
    padding: 0.4rem;
  }

  .product-large-image-card img {
    max-height: 100%;
    max-width: 100%;
    width: auto;
    object-fit: contain;
  }

  /* ── Gallery thumbnails ── */
  .gallery-thumb {
    width: 52px;
    height: 52px;
    min-width: 52px;
    border-radius: 6px;
  }

  .gallery-thumbnails {
    gap: 0.35rem;
    padding-block: 0.4rem;
  }

  /* ── Product title & price ── */
  .product-detail-title {
    font-size: 1.15rem;
    letter-spacing: -0.3px;
  }

  .product-detail-price-box {
    padding: 0.8rem 0.9rem;
    gap: 0.4rem;
  }

  .detail-price-current {
    font-size: 1.3rem;
  }

  /* ── Category tag ── */
  .product-category-tag {
    font-size: 0.7rem;
  }

  /* ── Breadcrumbs ── */
  .breadcrumbs {
    font-size: 0.62rem;
    gap: 0.3rem;
    margin-block-end: 1rem;
  }
}

/* ==========================================================================
   QUICK VIEW MODAL COMPONENT (Desktop & Mobile)
   ========================================================================== */
.quickview-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.quickview-modal-backdrop.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.quickview-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 15, 25, 0.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  cursor: pointer;
}

.quickview-modal-card {
  position: relative;
  z-index: 2;
  background: #ffffff;
  width: 900px;
  max-width: 92vw;
  height: 570px;
  max-height: 90vh;
  border-radius: 20px;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transform: scale(0.94) translateY(20px);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
}

.quickview-modal-backdrop.is-active .quickview-modal-card {
  transform: scale(1) translateY(0);
}

/* Close Button */
.quickview-close-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 25;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(241, 245, 249, 0.95);
  border: 1px solid rgba(226, 232, 240, 0.9);
  color: #475569;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.quickview-close-btn:hover {
  background: #ef4444;
  color: #ffffff;
  border-color: #ef4444;
  transform: rotate(90deg) scale(1.05);
}

/* Shimmer Loading Skeleton */
.quickview-skeleton {
  display: grid;
  grid-template-columns: 370px 1fr;
  gap: 1.8rem;
  padding: 1.8rem;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.qv-shimmer {
  background: linear-gradient(90deg, #f1f5f9 25%, #e2e8f0 50%, #f1f5f9 75%);
  background-size: 200% 100%;
  animation: qvShimmer 1.5s infinite;
  border-radius: 6px;
}

@keyframes qvShimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.qv-skeleton-media {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 370px;
  height: 100%;
}

.qv-skeleton-img {
  width: 100%;
  height: 380px;
  border-radius: 14px;
}

.qv-skeleton-thumbs {
  display: flex;
  gap: 8px;
}

.qv-skeleton-thumb {
  width: 48px;
  height: 48px;
  border-radius: 8px;
}

.qv-skeleton-details {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Loaded Content Layout */
.quickview-content {
  display: grid;
  grid-template-columns: 370px 1fr;
  gap: 1.8rem;
  padding: 1.8rem;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* Left Media Column */
.quickview-media-col {
  width: 370px;
  display: flex;
  flex-direction: column;
  height: 100%;
  gap: 10px;
  flex-shrink: 0;
  min-width: 0;
}

.quickview-img-box {
  position: relative;
  width: 100%;
  height: 380px;
  max-height: 380px;
  flex-shrink: 0;
  background: #f8fafc;
  border-radius: 14px;
  border: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  box-sizing: border-box;
  overflow: hidden;
}

.quickview-img-box img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  margin: auto;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.quickview-img-box:hover img {
  transform: scale(1.04);
}

.quickview-badge-sale {
  position: absolute;
  top: 12px;
  left: 12px;
  background: #0f172a;
  color: #ffffff;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 5px;
  letter-spacing: 0.04em;
  z-index: 5;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.25);
}

.quickview-discount-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  color: #ffffff;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 3px 9px;
  border-radius: 5px;
  z-index: 5;
  box-shadow: 0 2px 8px rgba(239, 68, 68, 0.35);
  letter-spacing: 0.02em;
}

/* Thumbnails */
.quickview-thumbs-wrap {
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 2px 0;
}

.quickview-thumbs-wrap::-webkit-scrollbar {
  display: none;
}

.quickview-thumbs {
  display: flex;
  gap: 8px;
  align-items: center;
}

.qv-thumb-item {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border-radius: 8px;
  border: 2px solid #e2e8f0;
  background: #ffffff;
  padding: 3px;
  cursor: pointer;
  transition: all 0.2s ease;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

.qv-thumb-item img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

.qv-thumb-item:hover {
  border-color: #94a3b8;
}

.qv-thumb-item.is-active {
  border-color: #0071e3;
  box-shadow: 0 0 0 2px rgba(0, 113, 227, 0.2);
}

/* Right Details Column */
.quickview-details-col {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-width: 0;
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 8px;
  scrollbar-width: thin;
  scrollbar-color: #cbd5e1 transparent;
}

.quickview-details-col::-webkit-scrollbar {
  width: 5px;
}

.quickview-details-col::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 3px;
}

.quickview-meta-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 0.4rem;
  flex-wrap: wrap;
}

.quickview-tag {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 2px 9px;
  border-radius: 6px;
}

.quickview-cat-tag {
  background: #f1f5f9;
  color: #0071e3;
}

.quickview-brand-tag {
  background: #f8fafc;
  color: #475569;
  border: 1px solid #e2e8f0;
}

.quickview-title {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.35;
  color: #0f172a;
  margin-bottom: 0.4rem;
  padding-right: 1.8rem;
}

.quickview-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.quickview-title a:hover {
  color: #0071e3;
}

/* Rating Row */
.quickview-rating-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 0.65rem;
}

.quickview-stars {
  display: flex;
  align-items: center;
  gap: 2px;
  color: #f59e0b;
  font-size: 0.9rem;
}

.quickview-rating-count {
  font-size: 0.8rem;
  color: #64748b;
  text-decoration: none;
  font-weight: 500;
}

.quickview-rating-count:hover {
  color: #0071e3;
  text-decoration: underline;
}

/* Price Box */
.quickview-price-box {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0.65rem 0.9rem;
  background: #f8fafc;
  border-radius: 10px;
  border: 1px solid #f1f5f9;
  margin-bottom: 0.65rem;
}

.quickview-price-current {
  font-size: 1.45rem;
  font-weight: 800;
  color: #0071e3;
  letter-spacing: -0.02em;
}

.quickview-price-original {
  font-size: 1rem;
  color: #94a3b8;
  text-decoration: line-through;
  font-weight: 500;
}

.quickview-save-badge {
  background: #ecfdf5;
  color: #059669;
  border: 1px solid #a7f3d0;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 6px;
}

/* Stock Status */
.quickview-stock-indicator {
  margin-bottom: 0.65rem;
}

.stock-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 2px 9px;
  border-radius: 20px;
}

.stock-in {
  background: #f0fdf4;
  color: #16a34a;
  border: 1px solid #bbf7d0;
}

.stock-out {
  background: #fef2f2;
  color: #dc2626;
  border: 1px solid #fecaca;
}

.stock-pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #16a34a;
  display: inline-block;
  box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.7);
  animation: stockPulse 2s infinite;
}

@keyframes stockPulse {
  0% { box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.7); }
  70% { box-shadow: 0 0 0 6px rgba(22, 163, 74, 0); }
  100% { box-shadow: 0 0 0 0 rgba(22, 163, 74, 0); }
}

/* Short Description */
.quickview-short-desc {
  font-size: 0.84rem;
  color: #475569;
  line-height: 1.45;
  margin-bottom: 0.85rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Dynamic Variants */
.quickview-variants {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 0.85rem;
  border-top: 1px solid #f1f5f9;
  padding-top: 0.75rem;
}

.qv-variant-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.qv-variant-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: #1e293b;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.qv-variant-label span {
  font-weight: 400;
  color: #64748b;
}

.qv-color-swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.qv-color-swatch {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid #ffffff;
  outline: 1.5px solid #cbd5e1;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
}

.qv-color-swatch:hover {
  transform: scale(1.1);
  outline-color: #0071e3;
}

.qv-color-swatch.is-selected {
  outline: 2.5px solid #0071e3;
  transform: scale(1.08);
}

.qv-variant-select {
  width: 100%;
  padding: 7px 10px;
  font-size: 0.84rem;
  border-radius: 8px;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  color: #1e293b;
  font-family: inherit;
  cursor: pointer;
  outline: none;
  transition: border-color 0.2s ease;
}

.qv-variant-select:focus {
  border-color: #0071e3;
  box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.15);
}

/* Actions Row */
.quickview-actions-row {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 0.85rem;
  width: 100%;
}

.quickview-qty-group {
  display: inline-flex;
  align-items: center;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  overflow: hidden;
  background: #ffffff;
  height: 42px;
  width: 105px;
  flex-shrink: 0;
}

.qv-qty-btn {
  width: 32px;
  height: 100%;
  background: #f8fafc;
  border: none;
  color: #334155;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.qv-qty-btn:hover {
  background: #e2e8f0;
  color: #0f172a;
}

.qv-qty-input {
  width: 41px;
  height: 100%;
  border: none;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 700;
  color: #0f172a;
  background: transparent;
  outline: none;
  padding: 0;
}

.quickview-action-buttons {
  display: flex;
  gap: 8px;
  flex: 1;
  min-width: 0;
}

.quickview-btn-cart {
  flex: 1.15;
  height: 42px;
  background: #0071e3;
  color: #ffffff;
  border: none;
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 3px 12px rgba(0, 113, 227, 0.25);
  white-space: nowrap;
  padding: 0 12px;
  min-width: 0;
}

.quickview-btn-cart i {
  font-size: 1.05rem;
  flex-shrink: 0;
}

.quickview-btn-cart:hover {
  background: #005bb5;
  transform: translateY(-1px);
  box-shadow: 0 5px 15px rgba(0, 113, 227, 0.35);
}

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

.quickview-btn-cart.is-added {
  background: #10b981;
  box-shadow: 0 3px 12px rgba(16, 185, 129, 0.25);
}

.quickview-btn-buy {
  flex: 1;
  height: 42px;
  background: #0f172a;
  color: #ffffff;
  border: none;
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  padding: 0 12px;
  min-width: 0;
}

.quickview-btn-buy i {
  font-size: 1.05rem;
  color: #fbbf24;
  flex-shrink: 0;
}

.quickview-btn-buy:hover {
  background: #1e293b;
  transform: translateY(-1px);
}

/* Auxiliary Row */
.quickview-aux-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 0.85rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #f1f5f9;
}

.quickview-wa-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #16a34a;
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease;
}

.quickview-wa-link i {
  font-size: 1.05rem;
}

.quickview-wa-link:hover {
  color: #15803d;
  text-decoration: underline;
}

.quickview-details-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #0071e3;
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  transition: gap 0.2s ease, color 0.2s ease;
}

.quickview-details-link:hover {
  color: #005bb5;
  gap: 7px;
}

/* Trust Ribbon */
.quickview-trust-ribbon {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  background: #f8fafc;
  padding: 0.6rem 0.75rem;
  border-radius: 10px;
  border: 1px solid #f1f5f9;
  margin-top: auto;
}

.qv-trust-item {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.7rem;
  color: #475569;
  font-weight: 600;
}

.qv-trust-item i {
  font-size: 0.9rem;
  color: #0071e3;
  flex-shrink: 0;
}

/* ── Modal Media Queries ── */
@media (max-width: 860px) {
  .quickview-modal-backdrop {
    padding: 0.75rem;
  }

  .quickview-modal-card {
    width: 100%;
    max-width: 580px;
    height: auto;
    max-height: 90vh;
    border-radius: 16px;
    overflow-y: auto;
  }

  .quickview-skeleton,
  .quickview-content {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    padding: 1.25rem;
    height: auto;
    overflow: visible;
  }

  .quickview-media-col {
    width: 100%;
    height: auto;
  }

  .quickview-img-box {
    width: 100%;
    height: 280px;
    max-height: 280px;
  }

  .quickview-details-col {
    height: auto;
    overflow: visible;
    padding-right: 0;
  }

  .quickview-title {
    font-size: 1.15rem;
  }

  .quickview-price-current {
    font-size: 1.35rem;
  }

  .quickview-actions-row {
    flex-direction: column;
    gap: 8px;
  }

  .quickview-qty-group {
    width: 100%;
    height: 44px;
    justify-content: space-between;
  }

  .qv-qty-input {
    flex: 1;
  }

  .quickview-action-buttons {
    width: 100%;
  }

  .quickview-trust-ribbon {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}

/* ==========================================================================
   Brand Text Slider / Marquee (Single Continuous Slide - Transparent & Gray)
   ========================================================================== */
.brand-text-slider-section {
  position: relative;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  background: transparent;
  padding: 1.5rem 0 4rem 0; /* Generous bottom padding */
  border: none !important;
  border-top: none !important;
  border-bottom: none !important;
  box-shadow: none !important;
  outline: none !important;
  user-select: none;
  z-index: 2;
}

.brand-ticker-container {
  width: 100%;
  display: flex;
  position: relative;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
}

.brand-ticker-row {
  display: flex;
  overflow: hidden;
  white-space: nowrap;
  width: 100%;
}

.brand-ticker-track {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  width: max-content;
  will-change: transform;
}

.brand-ticker-track-single {
  animation: brandTickerSlideLeft 75s linear infinite;
}

.brand-ticker-group {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.brand-ticker-item {
  display: inline-flex;
  align-items: center;
}

.brand-ticker-item a {
  display: inline-block;
  font-family: var(--font-heading, 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif);
  font-size: clamp(1.3rem, 2.3vw, 1.8rem); /* Sized up */
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  color: #94a3b8; /* Refined Slate/Gray */
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 4px 6px;
  border: none !important;
}

.brand-ticker-bullet {
  display: inline-block;
  font-size: 0.75rem;
  color: #cbd5e1;
  margin: 0 clamp(1rem, 1.8vw, 1.8rem);
  transform: translateY(-1.5px);
  opacity: 0.6;
}

/* Hover & Active Interactions */
@media (hover: hover) {
  .brand-ticker-row:hover .brand-ticker-track {
    animation-play-state: paused;
  }

  .brand-ticker-item a:hover {
    color: var(--color-primary, #0071e3);
    transform: translateY(-1.5px) scale(1.05);
    text-shadow: 0 4px 18px rgba(0, 113, 227, 0.3);
  }
}

/* Infinite Smooth 60fps Sliding Keyframes */
@keyframes brandTickerSlideLeft {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(-50%, 0, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .brand-ticker-track-single {
    animation-duration: 160s;
  }
}

/* Responsive Modes (Tablet & Mobile) */
@media (max-width: 768px) {
  .brand-text-slider-section {
    padding: 1.15rem 0 3rem 0;
  }

  .brand-ticker-item a {
    font-size: clamp(1.1rem, 2.8vw, 1.4rem);
    letter-spacing: 0.11em;
    color: #94a3b8;
  }

  .brand-ticker-bullet {
    font-size: 0.65rem;
    margin: 0 clamp(0.8rem, 1.6vw, 1.3rem);
  }

  .brand-ticker-track-single {
    animation-duration: 58s;
  }
}

@media (max-width: 480px) {
  .brand-text-slider-section {
    padding: 0.95rem 0 2.5rem 0;
  }

  .brand-ticker-item a {
    font-size: clamp(0.98rem, 3.8vw, 1.18rem);
    letter-spacing: 0.09em;
  }

  .brand-ticker-bullet {
    font-size: 0.55rem;
    margin: 0 0.75rem;
  }

  .brand-ticker-track-single {
    animation-duration: 45s;
  }
}

/* ==========================================================================
   Our Brands Grid (Brand Cards - Clean Rounded UI matching reference)
   ========================================================================== */
.our-brands-section {
  padding: 3.5rem 0 4rem 0;
  background-color: #ffffff;
  position: relative;
  border-top: 1px solid #f1f5f9;
}

.our-brands-header {
  margin-bottom: 2rem;
  text-align: left;
}

.our-brands-title {
  font-family: var(--font-heading, 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif);
  font-size: clamp(1.65rem, 2.5vw, 2.15rem);
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.025em;
  margin: 0 0 0.45rem 0;
  line-height: 1.2;
}

.our-brands-subtitle {
  font-family: var(--font-body, -apple-system, BlinkMacSystemFont, sans-serif);
  font-size: clamp(0.95rem, 1.3vw, 1.05rem);
  color: #64748b;
  margin: 0;
  font-weight: 400;
  line-height: 1.5;
}

.our-brands-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.35rem;
}

.brand-card-box {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 132px; /* Sized up for Desktop */
  background: #ffffff;
  border: 1px solid #eef2f6;
  border-radius: 22px;
  padding: 1.4rem 1.6rem;
  text-decoration: none;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.025);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.brand-card-logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.brand-card-img {
  max-width: 86%;
  max-height: 60px; /* Sized up */
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(0%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: block;
}

/* Individual Brand Logo Sizing Adjustments (Desktop Enhanced) */
.brand-img-apple {
  max-height: 56px;
  max-width: 56px;
}

.brand-img-jbl {
  max-height: 54px;
}

.brand-img-sharge {
  max-height: 44px;
}

.brand-img-marshall {
  max-height: 48px;
}

.brand-img-sony {
  max-height: 28px;
}

.brand-img-samsung {
  max-height: 28px;
}

.brand-img-fitbit {
  max-height: 42px;
}

.brand-img-anker {
  max-height: 34px;
}

.brand-img-bose {
  max-height: 28px;
}

.brand-img-google {
  max-height: 58px;
  max-width: 58px;
}

.brand-img-huawei {
  max-height: 54px;
}

.brand-img-oneplus {
  max-height: 48px;
}

/* Interactive Hover States */
.brand-card-box:hover {
  transform: translateY(-5px);
  border-color: #cbd5e1;
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.09);
}

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

.brand-card-box:active {
  transform: translateY(-1px) scale(0.99);
}

/* Responsive Breakpoints */
@media (max-width: 1200px) {
  .our-brands-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.15rem;
  }

  .brand-card-box {
    height: 120px;
    border-radius: 18px;
  }
}

@media (max-width: 860px) {
  .our-brands-section {
    padding: 2.75rem 0 3.25rem 0;
  }

  .our-brands-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }

  .brand-card-box {
    height: 104px;
    border-radius: 16px;
    padding: 1rem;
  }

  .brand-card-img {
    max-height: 48px;
  }
}

@media (max-width: 540px) {
  .our-brands-section {
    padding: 2.25rem 0 2.75rem 0;
  }

  .our-brands-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.85rem;
  }

  .brand-card-box {
    height: 92px;
    border-radius: 14px;
    padding: 0.85rem;
  }

  .brand-card-img {
    max-height: 40px;
  }
}







