/* ==========================================================================
   iHolic - Ultra-Premium Light Theme Stylesheet
   Crafted for Flagship Pre-Owned & Open-Box Apple & Samsung Smart devices
   ========================================================================== */

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

:root {
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Outfit', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Premium Light Color Palette */
  --bg-main: #fbfbfd;
  --bg-card: #ffffff;
  --bg-secondary: #f4f4f7;
  --bg-elevated: #ffffff;
  
  --text-primary: #111827;
  --text-secondary: #4b5563;
  --text-muted: #86868b;
  --text-light: #9ca3af;
  
  /* Brand & Status Accents */
  --accent-blue: #0071e3;
  --accent-blue-hover: #0077ed;
  --accent-blue-light: #e8f3fc;
  --accent-gold: #c59b27;
  --accent-gold-light: #fbf6e8;
  --accent-titanium: #6b7280;
  --accent-green: #10b981;
  --accent-green-light: #ecfdf5;
  --accent-red: #ef4444;
  --accent-red-light: #fef2f2;
  --accent-orange: #f59e0b;

  --border-subtle: #f0f0f3;
  --border-default: #e5e7eb;
  --border-dark: #cbd5e1;

  /* Elevation Shadows */
  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 16px 36px rgba(0, 0, 0, 0.08);
  --shadow-hover: 0 20px 40px -12px rgba(0, 113, 227, 0.12), 0 8px 20px -6px rgba(17, 24, 39, 0.06);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  --transition-fast: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-main);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

/* Container */
.container {
  width: 100%;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.container-narrow {
  max-width: 960px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  line-height: 1.25;
}

/* Announcement Top Bar */
.announcement-bar {
  background: #111827;
  color: #f3f4f6;
  font-size: 12.5px;
  font-weight: 500;
  padding: 8px 0;
  text-align: center;
  letter-spacing: 0.3px;
}

.announcement-bar .highlight {
  color: #60a5fa;
  font-weight: 700;
}

.announcement-bar a {
  color: #facc15;
  text-decoration: underline;
  margin-left: 8px;
}

/* Main Navigation Bar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  transition: var(--transition-fast);
}

.navbar-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
  gap: 24px;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.navbar-brand img {
  height: 42px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-link {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text-secondary);
  position: relative;
  padding: 6px 0;
}

.nav-link:hover, .nav-link.active {
  color: var(--accent-blue);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-blue);
  border-radius: 2px;
  transition: var(--transition-fast);
}

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

.nav-badge-hot {
  display: inline-block;
  background: #fee2e2;
  color: #ef4444;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 6px;
  margin-left: 4px;
  text-transform: uppercase;
}

/* Search Bar in Navbar */
.nav-search {
  position: relative;
  flex: 1;
  max-width: 340px;
}

.nav-search-input {
  width: 100%;
  height: 42px;
  padding: 0 16px 0 42px;
  background: var(--bg-secondary);
  border: 1px solid transparent;
  border-radius: var(--radius-full);
  font-size: 13.5px;
  color: var(--text-primary);
  transition: var(--transition-fast);
}

.nav-search-input:focus {
  outline: none;
  background: #ffffff;
  border-color: var(--accent-blue);
  box-shadow: 0 0 0 4px var(--accent-blue-light);
}

.nav-search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: var(--text-muted);
  pointer-events: none;
}

.search-results-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  width: 100%;
  background: #ffffff;
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  max-height: 380px;
  overflow-y: auto;
  display: none;
  z-index: 1050;
}

.search-results-dropdown.active {
  display: block;
}

.search-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-subtle);
  transition: var(--transition-fast);
}

.search-item:hover {
  background: var(--bg-secondary);
}

.search-item img {
  width: 44px;
  height: 44px;
  object-fit: cover;
  border-radius: 8px;
  background: var(--bg-secondary);
}

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

.search-item-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
}

.search-item-price {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--accent-blue);
}

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

.nav-icon-btn {
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  background: transparent;
  transition: var(--transition-fast);
}

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

.nav-icon-btn svg {
  width: 21px;
  height: 21px;
}

.badge-count {
  position: absolute;
  top: 2px;
  right: 2px;
  background: var(--accent-blue);
  color: #ffffff;
  font-size: 10.5px;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  border: 2px solid #ffffff;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 14px;
  padding: 12px 24px;
  border-radius: var(--radius-full);
  transition: var(--transition-fast);
  cursor: pointer;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent-blue);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(0, 113, 227, 0.28);
}

.btn-primary:hover {
  background: var(--accent-blue-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0, 113, 227, 0.35);
}

.btn-dark {
  background: #111827;
  color: #ffffff;
}

.btn-dark:hover {
  background: #000000;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.btn-outline {
  background: transparent;
  border: 1.5px solid var(--border-default);
  color: var(--text-primary);
}

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

.btn-outline-primary {
  background: transparent;
  border: 1.5px solid var(--accent-blue);
  color: var(--accent-blue);
}

.btn-outline-primary:hover {
  background: var(--accent-blue-light);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 12.5px;
}

.btn-lg {
  padding: 15px 32px;
  font-size: 16px;
}

.btn-block {
  width: 100%;
}

/* Hero Carousel Slider */
.hero-slider-section {
  padding: 24px 0 48px;
}

.hero-slider {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #ffffff 0%, #f1f5f9 100%);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-subtle);
  min-height: 480px;
}

.hero-slide {
  display: none;
  opacity: 0;
  transition: opacity 0.6s ease-in-out;
  padding: 60px 48px;
}

.hero-slide.active {
  display: flex;
  align-items: center;
  justify-content: space-between;
  opacity: 1;
}

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

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 113, 227, 0.08);
  color: var(--accent-blue);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 20px;
}

.hero-title {
  font-size: 46px;
  font-weight: 800;
  line-height: 1.1;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.hero-subtitle {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 28px;
}

.hero-price-strip {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 32px;
}

.hero-price-now {
  font-size: 36px;
  font-weight: 800;
  color: var(--accent-blue);
}

.hero-price-was {
  font-size: 20px;
  color: var(--text-muted);
  text-decoration: line-through;
}

.hero-save-pill {
  background: var(--accent-green-light);
  color: var(--accent-green);
  font-size: 13px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
}

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

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

.hero-visual img {
  max-height: 420px;
  width: auto;
  filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.12));
  transform: translateY(0);
  animation: floatPhone 6s ease-in-out infinite;
}

@keyframes floatPhone {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* Slider Controls */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  border: 1px solid var(--border-default);
  z-index: 10;
  transition: var(--transition-fast);
}

.slider-arrow:hover {
  background: #ffffff;
  color: var(--accent-blue);
  transform: translateY(-50%) scale(1.08);
}

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

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

.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 5px;
  background: rgba(17, 24, 39, 0.2);
  transition: var(--transition-fast);
  cursor: pointer;
}

.slider-dot.active {
  width: 28px;
  background: var(--accent-blue);
}

/* Trust Features Bar */
.trust-features-section {
  padding: 20px 0 48px;
}

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

.trust-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 22px 20px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  box-shadow: var(--shadow-xs);
  transition: var(--transition-fast);
}

.trust-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-default);
}

.trust-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--accent-blue-light);
  color: var(--accent-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.trust-icon-box.gold {
  background: var(--accent-gold-light);
  color: var(--accent-gold);
}

.trust-icon-box.green {
  background: var(--accent-green-light);
  color: var(--accent-green);
}

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

.trust-info h4 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--text-primary);
}

.trust-info p {
  font-size: 12.5px;
  color: var(--text-secondary);
  line-height: 1.4;
}

/* Section Headers */
.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 32px;
}

.section-header-centered {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 40px;
}

.section-tag {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--accent-blue);
  margin-bottom: 8px;
  display: block;
}

.section-title {
  font-size: 32px;
  font-weight: 800;
  color: var(--text-primary);
}

.section-subtitle {
  font-size: 15px;
  color: var(--text-secondary);
  margin-top: 8px;
}

.view-all-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 700;
  color: var(--accent-blue);
}

.view-all-link:hover {
  gap: 10px;
}

/* Brand Tabs */
.brand-tabs {
  display: flex;
  gap: 12px;
  margin-bottom: 32px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.brand-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: var(--radius-full);
  background: var(--bg-card);
  border: 1px solid var(--border-default);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-secondary);
  transition: var(--transition-fast);
}

.brand-tab-btn:hover, .brand-tab-btn.active {
  background: #111827;
  color: #ffffff;
  border-color: #111827;
}

/* Product Cards Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  margin-bottom: 48px;
}

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition-smooth);
  position: relative;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(0, 113, 227, 0.2);
}

.product-thumb-wrap {
  position: relative;
  background: #f8fafc;
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.product-thumb-wrap img {
  max-height: 220px;
  object-fit: contain;
  transition: transform 0.4s ease;
}

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

/* Floating Badges on Cards */
.card-badges {
  position: absolute;
  top: 14px;
  left: 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  z-index: 5;
}

.badge-condition {
  background: rgba(17, 24, 39, 0.85);
  backdrop-filter: blur(4px);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

.badge-condition.open-box {
  background: #0071e3;
}

.badge-condition.like-new {
  background: #10b981;
}

.badge-battery {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #ffffff;
  border: 1px solid var(--border-default);
  color: #10b981;
  font-size: 11px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-xs);
}

.card-wishlist-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(4px);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: var(--transition-fast);
  z-index: 5;
}

.card-wishlist-btn:hover, .card-wishlist-btn.active {
  background: #ffffff;
  color: #ef4444;
  transform: scale(1.1);
}

.card-wishlist-btn svg {
  width: 18px;
  height: 18px;
}

.card-wishlist-btn.active svg {
  fill: #ef4444;
}

/* Card Body */
.product-card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-card-brand {
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.product-card-title {
  font-size: 15.5px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.35;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-card-title:hover {
  color: var(--accent-blue);
}

.product-card-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text-secondary);
  margin-bottom: 14px;
}

.meta-pill {
  background: var(--bg-secondary);
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 600;
}

.product-card-pricing {
  margin-top: auto;
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 16px;
}

.price-current {
  font-size: 20px;
  font-weight: 800;
  color: var(--text-primary);
}

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

.price-discount {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--accent-green);
  background: var(--accent-green-light);
  padding: 2px 6px;
  border-radius: 4px;
}

.product-card-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

/* 32-Point Quality Section */
.quality-assurance-section {
  padding: 60px 0;
  background: #ffffff;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.qa-container {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: center;
}

.qa-text h2 {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 16px;
}

.qa-checklist {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 24px;
}

.qa-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-secondary);
}

.qa-item-check {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent-green-light);
  color: var(--accent-green);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-weight: 800;
  font-size: 12px;
}

.qa-badge-banner {
  background: linear-gradient(135deg, #111827 0%, #1f2937 100%);
  color: #ffffff;
  padding: 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.qa-badge-banner h3 {
  color: #ffffff;
  font-size: 24px;
  margin-bottom: 12px;
}

.qa-badge-banner p {
  color: #9ca3af;
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 24px;
}

/* Testimonials Carousel / Grid */
.testimonials-section {
  padding: 60px 0 80px;
}

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

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-xs);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.testimonial-stars {
  color: #f59e0b;
  display: flex;
  gap: 3px;
  margin-bottom: 14px;
}

.testimonial-stars svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.testimonial-quote {
  font-size: 14.5px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent-blue-light);
  color: var(--accent-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 15px;
}

.author-details h5 {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
}

.verified-buyer-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 600;
  color: var(--accent-green);
}

/* Product Detail Page (PDP) Layout */
.pdp-section {
  padding: 36px 0 80px;
}

.pdp-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: start;
}

/* Gallery */
.pdp-gallery {
  position: sticky;
  top: 100px;
}

.pdp-main-image-wrap {
  position: relative;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  margin-bottom: 16px;
}

.pdp-main-image-wrap img {
  max-height: 420px;
  width: auto;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.pdp-thumbnails {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 8px;
}

.pdp-thumb {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-sm);
  border: 2px solid var(--border-default);
  padding: 6px;
  background: #ffffff;
  cursor: pointer;
  transition: var(--transition-fast);
  flex-shrink: 0;
}

.pdp-thumb.active, .pdp-thumb:hover {
  border-color: var(--accent-blue);
  box-shadow: 0 0 0 3px var(--accent-blue-light);
}

.pdp-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.video-thumb-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  background: #111827;
  color: #ffffff;
  font-size: 10px;
  font-weight: 700;
  border-color: #111827;
}

.video-thumb-btn svg {
  width: 24px;
  height: 24px;
  fill: #ffffff;
}

/* PDP Info Column */
.pdp-info {
  display: flex;
  flex-direction: column;
}

.pdp-brand-model {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--accent-blue);
  letter-spacing: 1px;
  margin-bottom: 6px;
}

.pdp-title {
  font-size: 32px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 14px;
}

.pdp-rating-strip {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.pdp-stars {
  display: flex;
  gap: 3px;
  color: #f59e0b;
}

.pdp-stars svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.pdp-review-count {
  font-size: 13px;
  color: var(--text-muted);
}

/* Key Condition Matrix Card */
.pdp-condition-box {
  background: var(--bg-secondary);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.condition-metric {
  text-align: center;
}

.condition-metric-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.condition-metric-val {
  font-size: 16px;
  font-weight: 800;
  color: var(--text-primary);
}

.condition-metric-val.battery {
  color: var(--accent-green);
}

/* Pricing Box */
.pdp-price-box {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-default);
}

.pdp-price-current {
  font-size: 38px;
  font-weight: 900;
  color: var(--text-primary);
}

.pdp-price-original {
  font-size: 20px;
  color: var(--text-muted);
  text-decoration: line-through;
}

.pdp-savings-badge {
  background: var(--accent-green-light);
  color: var(--accent-green);
  font-size: 13px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: var(--radius-full);
}

/* Variants Selection */
.pdp-variants {
  margin-bottom: 28px;
}

.variant-label {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-secondary);
  margin-bottom: 10px;
  display: block;
}

.variant-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.variant-pill {
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border-default);
  background: #ffffff;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
  transition: var(--transition-fast);
}

.variant-pill.active, .variant-pill:hover {
  border-color: var(--accent-blue);
  background: var(--accent-blue-light);
  color: var(--accent-blue);
}

/* CTA Buttons */
.pdp-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 32px;
}

/* Guarantee Highlights Box */
.pdp-guarantee-list {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.guarantee-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13.5px;
  color: var(--text-secondary);
}

.guarantee-item svg {
  width: 20px;
  height: 20px;
  color: var(--accent-blue);
  flex-shrink: 0;
}

/* Video Modal */
.video-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.video-modal-overlay.active {
  display: flex;
}

.video-modal-dialog {
  background: #000000;
  border-radius: var(--radius-lg);
  max-width: 800px;
  width: 100%;
  overflow: hidden;
  position: relative;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
}

.video-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  cursor: pointer;
  transition: var(--transition-fast);
}

.video-modal-close:hover {
  background: rgba(255, 255, 255, 0.4);
}

.video-modal-content video {
  width: 100%;
  height: auto;
  max-height: 500px;
  display: block;
}

/* Cart Slide-out Drawer */
.cart-drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(4px);
  z-index: 1500;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-fast);
}

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

.cart-drawer {
  position: fixed;
  top: 0;
  right: -450px;
  width: 100%;
  max-width: 440px;
  height: 100%;
  background: #ffffff;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.15);
  z-index: 1600;
  display: flex;
  flex-direction: column;
  transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.cart-drawer.active {
  right: 0;
}

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

.cart-drawer-header h3 {
  font-size: 18px;
  font-weight: 700;
}

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

.cart-drawer-item {
  display: flex;
  gap: 16px;
  padding-bottom: 18px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--border-subtle);
}

.cart-drawer-item-img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  background: #f8fafc;
  border-radius: var(--radius-sm);
  padding: 6px;
}

.cart-drawer-item-info {
  flex: 1;
}

.cart-drawer-item-title {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 4px;
}

.cart-drawer-item-meta {
  font-size: 11.5px;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.cart-drawer-item-price {
  font-size: 14.5px;
  font-weight: 800;
  color: var(--text-primary);
}

.cart-drawer-footer {
  padding: 20px 24px;
  border-top: 1px solid var(--border-default);
  background: var(--bg-secondary);
}

.cart-drawer-subtotal {
  display: flex;
  justify-content: space-between;
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 16px;
}

/* Full Cart & Checkout Layout */
.page-header {
  padding: 40px 0 24px;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 40px;
}

.page-title {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 6px;
}

.cart-grid, .checkout-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 40px;
  align-items: start;
}

/* Card Box */
.card-box {
  background: #ffffff;
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-xs);
  margin-bottom: 24px;
}

.card-box-header {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-subtle);
}

/* Forms */
.form-group {
  margin-bottom: 18px;
}

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

.form-control {
  width: 100%;
  height: 46px;
  padding: 0 16px;
  border: 1.5px solid var(--border-default);
  border-radius: var(--radius-sm);
  background: #ffffff;
  font-size: 14px;
  color: var(--text-primary);
  transition: var(--transition-fast);
}

textarea.form-control {
  height: auto;
  padding: 12px 16px;
  min-height: 100px;
  resize: vertical;
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-blue);
  box-shadow: 0 0 0 4px var(--accent-blue-light);
}

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

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

/* Payment Method Selection */
.payment-methods-tabs {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.payment-method-card {
  border: 1.5px solid var(--border-default);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  cursor: pointer;
  transition: var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.payment-method-card.selected, .payment-method-card:hover {
  border-color: var(--accent-blue);
  background: var(--accent-blue-light);
}

.payment-method-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.payment-method-info input[type="radio"] {
  accent-color: var(--accent-blue);
  width: 18px;
  height: 18px;
}

.payment-method-title {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--text-primary);
}

.payment-details-pane {
  display: none;
  margin-top: 16px;
  padding: 20px;
  background: #f8fafc;
  border-radius: var(--radius-sm);
  border: 1px dashed var(--border-dark);
}

.payment-details-pane.active {
  display: block;
}

.upi-qr-preview {
  text-align: center;
}

.upi-qr-preview img {
  max-width: 240px;
  margin: 0 auto 12px;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
}

/* Order Summary Box */
.order-summary-box {
  background: #ffffff;
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}

.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  font-size: 14px;
  color: var(--text-secondary);
}

.summary-row.total {
  font-size: 18px;
  font-weight: 800;
  color: var(--text-primary);
  border-top: 1px solid var(--border-default);
  padding-top: 16px;
  margin-top: 16px;
}

/* Order Success & Invoice Receipt */
.order-success-hero {
  text-align: center;
  padding: 40px 0;
}

.success-icon-wrap {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--accent-green-light);
  color: var(--accent-green);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.success-icon-wrap svg {
  width: 36px;
  height: 36px;
}

.receipt-card {
  background: #ffffff;
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  padding: 36px;
  max-width: 780px;
  margin: 0 auto;
  box-shadow: var(--shadow-md);
}

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

.receipt-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 24px;
}

.receipt-table th {
  text-align: left;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 12px 8px;
  border-bottom: 1.5px solid var(--border-default);
}

.receipt-table td {
  padding: 14px 8px;
  font-size: 14px;
  border-bottom: 1px solid var(--border-subtle);
}

/* Footer */
.footer {
  background: #111827;
  color: #e5e7eb;
  padding: 64px 0 24px;
  border-top: 1px solid #1f2937;
  margin-top: 80px;
}

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

.footer-brand img {
  height: 38px;
  width: auto;
  max-width: 160px;
  margin-bottom: 16px;
  filter: brightness(0) invert(1);
  object-fit: contain;
}

.footer-desc {
  font-size: 13.5px;
  color: #9ca3af;
  line-height: 1.6;
  max-width: 320px;
}

.footer-col h4 {
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 20px;
}

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

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

.footer-links a {
  font-size: 13.5px;
  color: #9ca3af;
}

.footer-links a:hover {
  color: #ffffff;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid #1f2937;
  font-size: 13px;
  color: #6b7280;
}

/* WhatsApp Floating Button */
.whatsapp-float-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #25d366;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: var(--transition-fast);
}

.whatsapp-float-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.5);
}

.whatsapp-float-btn svg {
  width: 30px;
  height: 30px;
  fill: #ffffff;
}

/* Flash Alerts */
.alert {
  padding: 14px 20px;
  border-radius: var(--radius-sm);
  margin-bottom: 24px;
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
}

.alert-success {
  background: var(--accent-green-light);
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.alert-danger {
  background: var(--accent-red-light);
  color: #991b1b;
  border: 1px solid #fecaca;
}

/* ============================================
   HAMBURGER / MOBILE NAV
   ============================================ */
.hamburger-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 36px;
  height: 36px;
  padding: 6px;
  background: none;
  border: none;
  cursor: pointer;
  order: -1;
  border-radius: 8px;
  transition: var(--transition-fast);
  flex-shrink: 0;
}

.hamburger-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition-fast);
  transform-origin: center;
}

.hamburger-btn.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger-btn.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.hamburger-btn.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 998;
  backdrop-filter: blur(2px);
}
.mobile-nav-overlay.active {
  display: block;
}

/* Social Icons in Footer */
.social-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  color: #e1306c;
  transition: var(--transition-fast);
}
.social-icon-btn:hover {
  background: rgba(255,255,255,0.2);
  transform: scale(1.1);
}

/* PDP Inline Video / Media Wrap */
.pdp-main-media-wrap {
  position: relative;
  background: var(--bg-secondary);
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}
.pdp-main-media-wrap img,
.pdp-main-media-wrap video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* About / Contact Page Images */
.about-hero-img {
  width: 100%;
  max-width: 400px;
  border-radius: var(--radius-lg);
  object-fit: cover;
  box-shadow: var(--shadow-lg);
}

/* ============================================
   RESPONSIVE MEDIA QUERIES
   ============================================ */
@media (max-width: 1024px) {
  .hero-slide {
    flex-direction: column;
    text-align: center;
    padding: 40px 24px;
  }
  .hero-price-strip, .hero-actions {
    justify-content: center;
  }
  .hero-visual {
    margin-top: 32px;
  }
  .hero-visual img {
    max-height: 320px;
  }
  .trust-features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  .pdp-grid, .cart-grid, .checkout-grid, .qa-container {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }
}

@media (max-width: 900px) {
  /* Show hamburger, hide desktop nav */
  .hamburger-btn {
    display: flex;
  }
  .nav-search {
    display: none;
  }

  /* Mobile nav slide-in panel */
  .main-nav {
    position: fixed;
    top: 0;
    left: -100%;
    width: min(320px, 82vw);
    height: 100vh;
    background: #ffffff;
    z-index: 999;
    padding: 80px 28px 32px;
    overflow-y: auto;
    box-shadow: 4px 0 32px rgba(0,0,0,0.12);
    transition: left 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .main-nav.open {
    left: 0;
  }
  .main-nav .nav-links {
    flex-direction: column;
    gap: 0;
    align-items: flex-start;
  }
  .main-nav .nav-links li {
    width: 100%;
  }
  .main-nav .nav-link {
    display: block;
    padding: 14px 0;
    font-size: 16px;
    border-bottom: 1px solid var(--border-subtle);
    color: var(--text-primary);
  }
  .main-nav .nav-link::after {
    display: none;
  }
  .main-nav .nav-link:hover,
  .main-nav .nav-link.active {
    color: var(--accent-blue);
    background: none;
  }
  .navbar-content {
    height: 60px;
  }
}

@media (max-width: 768px) {
  .trust-features-grid {
    grid-template-columns: 1fr;
  }
  .hero-title {
    font-size: 28px;
  }
  .hero-subtitle {
    font-size: 14px;
  }
  .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 14px;
  }
  .product-card {
    min-width: 0;
  }
  .form-row, .form-row-3 {
    grid-template-columns: 1fr;
  }
  .pdp-actions {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
  .announcement-bar .container {
    display: flex;
    flex-direction: column;
    gap: 2px;
    font-size: 11px;
  }
  .hero-actions {
    flex-direction: column;
    gap: 10px;
    align-items: center;
  }
  .hero-actions .btn {
    width: 100%;
    max-width: 300px;
  }
  .pdp-section {
    padding: 0 0 48px;
  }
  .pdp-thumbnails {
    justify-content: flex-start;
  }
  .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .brand-tabs {
    flex-wrap: wrap;
    gap: 8px;
  }
  .checkout-grid {
    grid-template-columns: 1fr;
  }
  .navbar-brand img {
    height: 34px;
  }
  .container {
    padding-left: 16px;
    padding-right: 16px;
  }
  .hero-slider-section {
    padding: 0;
  }
  .hero-slide {
    padding: 28px 16px;
    border-radius: 0;
  }
  .receipt-card {
    padding: 20px 16px;
  }
  .receipt-header {
    flex-direction: column;
    gap: 16px;
  }
  .cart-drawer {
    width: 100vw;
    max-width: 100vw;
  }
}

@media (max-width: 480px) {
  .products-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .product-card-title {
    font-size: 13px;
  }
  .price-current {
    font-size: 16px;
  }
  .hero-title {
    font-size: 24px;
  }
  .hero-price-now {
    font-size: 24px;
  }
  .pdp-price-current {
    font-size: 26px;
  }
  .btn-lg {
    font-size: 14px;
    padding: 12px 20px;
  }
  .qa-badge-banner {
    padding: 28px 20px;
  }
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  .section-title {
    font-size: 22px;
  }
}

/* Print Invoice Stylesheet */
@media print {
  .navbar, .footer, .whatsapp-float-btn, .btn, .announcement-bar, .top-delivery-bar, .main-header, nav.fixed {
    display: none !important;
  }
  body {
    background: #ffffff;
    color: #000000;
  }
  .receipt-card {
    border: none;
    box-shadow: none;
    padding: 0;
    max-width: 100%;
  }
}

/* ==========================================================================
   Myntra-Inspired eCommerce Enhancements & Smooth Animations
   ========================================================================== */

/* Hide Scrollbar */
.no-scrollbar::-webkit-scrollbar {
  display: none !important;
}
.no-scrollbar {
  -ms-overflow-style: none !important;
  scrollbar-width: none !important;
}

/* Smooth Touch Scrolling */
.overflow-x-auto {
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
}

/* Smooth Card Hover & Micro-Animations */
.product-card-item {
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, box-shadow;
}

.product-card-item:hover {
  transform: translateY(-4px);
}

@keyframes slideUp {
  0% {
    opacity: 0;
    transform: translateY(16px) scale(0.98);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.animate-slide-up {
  animation: slideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Cart Drawer Styling & Animations */
.cart-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(4px);
  z-index: 998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.cart-drawer {
  position: fixed;
  top: 0;
  right: -420px;
  width: 100%;
  max-width: 400px;
  height: 100%;
  background: #ffffff;
  z-index: 999;
  box-shadow: -8px 0 32px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.cart-drawer.open {
  right: 0;
}

.cart-drawer-header {
  padding: 18px 22px;
  border-bottom: 1px solid #f1f2f4;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.cart-drawer-item {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid #f3f4f6;
  align-items: center;
}

.cart-drawer-item-img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  background: #f9fafb;
  border-radius: 12px;
  padding: 4px;
}

.cart-drawer-footer {
  padding: 18px 22px;
  border-top: 1px solid #f1f2f4;
  background: #fbfbfb;
}

.cart-drawer-subtotal {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

/* WhatsApp Floating Button */
.whatsapp-float-btn {
  position: fixed;
  bottom: 74px;
  right: 18px;
  width: 52px;
  height: 52px;
  background: #25d366;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
  z-index: 39;
  transition: transform 0.2s, box-shadow 0.2s;
}

.whatsapp-float-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
}

.whatsapp-float-btn svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

@media (min-width: 768px) {
  .whatsapp-float-btn {
    bottom: 24px;
    right: 24px;
  }
}

/* Mobile responsive fixes */
@media (max-width: 640px) {
  .top-delivery-bar {
    font-size: 11px;
  }
  .main-header {
    padding-top: 6px;
    padding-bottom: 6px;
  }
}

