:root {
  --orange: #ff6600;
  --orange-dark: #cc5200;
  --orange-light: #ff8533;
  --bg: #ffffff;
  --text: #333333;
  --text-light: #666666;
  --border: #e0e0e0;
  --card-bg: #fafafa;
  --safe-top: env(safe-area-inset-top);
  --safe-bottom: env(safe-area-inset-bottom);
  --safe-left: env(safe-area-inset-left);
  --safe-right: env(safe-area-inset-right);
}

/* Mobile Instagram Reels Section */
.mobile-reels-section {
  padding: 30px 20px;
  background: linear-gradient(135deg, #fafafa 0%, #f0f0f0 100%);
  display: none; /* Hidden on desktop by default */
}

.section-subtitle {
  color: var(--text-light);
  font-size: 0.9rem;
  margin-top: 8px;
  font-weight: 400;
}

.reels-container {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding: 0 20px;
  gap: 12px;
  scrollbar-width: none; /* Hide scrollbar */
  touch-action: pan-x; /* Improve touch scrolling */
  overscroll-behavior: contain; /* Prevent bounce scrolling */
}

.reels-container::-webkit-scrollbar {
  display: none; /* Hide scrollbar for Safari */
}

.reel-card {
  flex: 0 0 auto;
  width: 160px;
  height: 280px;
  scroll-snap-align: start;
  text-decoration: none;
  color: inherit;
}

.reel-card:hover .video-wrapper {
  transform: scale(1.02);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
}

.video-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 16px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
}

.reel-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 9/16;
}

.video-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent 0%, rgba(0, 0, 0, 0.7) 30%, rgba(0, 0, 0, 0.9) 100%);
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-end;
}

.reel-caption {
  color: white;
  font-size: 0.85rem;
  font-weight: 600;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
  margin-bottom: 8px;
}

.play-toggle {
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: white;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.play-toggle:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.1);
}

.play-toggle i {
  font-size: 12px;
}

.reel-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  color: var(--text-light);
  width: 100%;
  text-align: center;
}

.loading-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid rgba(255, 165, 0, 0.2);
  border-top: 3px solid var(--orange);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 16px;
  position: relative;
}

.loading-spinner::before {
  content: '';
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--orange);
  top: 3px;
  left: 50%;
  transform: translateX(-50%);
  animation: pulse 1.5s ease-in-out infinite;
}

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

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

/* Reel skeleton loaders */
.reel-skeleton {
  min-width: 160px;
  height: 280px;
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: 16px;
  flex-shrink: 0;
}

@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* Mobile responsive */
@media (max-width: 768px) {
  .mobile-reels-section {
    display: block;
  }
  
  .reels-container {
    padding: 0 16px;
    gap: 10px;
  }
  
  .reel-card {
    width: 140px;
    height: 250px;
  }
  
  .reel-caption {
    font-size: 0.8rem;
  }
  
  .play-toggle {
    width: 28px;
    height: 28px;
  }
}

/* Bulk Order Modal Styles */
.bulk-order-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
  animation: fadeIn 0.3s ease;
}

.bulk-order-modal.active {
  display: block;
}

.modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(5px);
}

.modal-content {
  position: relative;
  background: white;
  max-width: 500px;
  width: 90%;
  max-height: 90vh;
  margin: 50px auto;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: slideUp 0.3s ease;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px;
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  color: white;
}

.modal-header h3 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 600;
}

.modal-close {
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 8px;
  border-radius: 50%;
  transition: background 0.3s ease;
}

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

.bulk-order-form {
  padding: 24px;
  max-height: 60vh;
  overflow-y: auto;
}

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

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--text);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--border);
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(255, 102, 0, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.form-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.bulk-order-btn-primary,
.bulk-order-btn-secondary {
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.bulk-order-btn-primary {
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  color: white;
}

.bulk-order-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 102, 0, 0.3);
}

.bulk-order-btn-secondary {
  background: var(--card-bg);
  color: var(--text);
  border: 2px solid var(--border);
}

.bulk-order-btn-secondary:hover {
  background: var(--border);
}

.success-message {
  padding: 40px 24px;
  text-align: center;
}

.success-icon {
  font-size: 3rem;
  margin-bottom: 16px;
}

.success-message h4 {
  margin-bottom: 12px;
  color: var(--text);
  font-size: 1.25rem;
}

.success-message p {
  color: var(--text-light);
  margin-bottom: 24px;
}

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

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

/* Mobile Responsive */
@media (max-width: 768px) {
  .modal-content {
    width: 95%;
    margin: 20px auto;
    max-height: 95vh;
  }
  
  .modal-header {
    padding: 20px;
  }
  
  .modal-header h3 {
    font-size: 1.25rem;
  }
  
  .bulk-order-form {
    padding: 20px;
  }
  
  .form-actions {
    flex-direction: column;
  }
  
  .bulk-order-btn-primary,
  .bulk-order-btn-secondary {
    width: 100%;
  }
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  width: 100%;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
  margin: 0;
  width: 100%;
  box-sizing: border-box;
  /* Remove height constraints to prevent double scrollbar */
  position: relative;
  padding-top: 80px; /* Reduce to account for actual header height */
  /* Remove min-height entirely to prevent overflow */
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(circle at 20% 80%, rgba(255, 102, 0, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(59, 130, 246, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 40% 40%, rgba(251, 191, 36, 0.03) 0%, transparent 50%);
  pointer-events: none;
  z-index: -1;
}

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

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

.page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 15px;
  padding-left: max(15px, var(--safe-left));
  padding-right: max(15px, var(--safe-right));
}

/* Header */
header {
  background: white;
  color: var(--text);
  padding: 0;
  box-shadow: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  border-bottom: none;
  transition: all 0.3s ease;
}

header.scrolled {
  background: rgba(255, 102, 0, 0.95);
  backdrop-filter: blur(20px);
  box-shadow: 0 8px 40px rgba(255, 102, 0, 0.3);
  border-bottom: 2px solid var(--orange);
  z-index: 1000; /* Ensure z-index doesn't change on scroll */
}

header.scrolled .brand {
  color: white;
}

header.scrolled .logo-img {
  filter: brightness(0) invert(1);
}

header.scrolled .nav-links a {
  color: white;
}

header.scrolled .nav-links a:hover {
  color: rgba(255, 255, 255, 0.8);
}

header.scrolled .nav-toggle {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  border-color: rgba(255, 255, 255, 0.3);
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.brand {
  font-size: 26px;
  font-weight: 700;
  color: var(--orange);
  display: flex;
  align-items: center;
  gap: 12px;
}

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

.brand-text {
  display: block;
}

.brand small {
  display: none;
}

.nav-links {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: white;
  flex-direction: column;
  padding: 120px 20px 20px; /* Account for fixed banner + header */
  z-index: 1002; /* Above banner and header */
  overflow-y: auto;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  transform: translateZ(0); /* Create new stacking context */
}

.nav-links .nav-close {
  position: absolute;
  top: 80px; /* Position below header */
  right: 15px;
  z-index: 1002;
}

.nav-links.open {
  display: flex;
  z-index: 99999 !important;
}

/* When nav is open, ensure it's above everything */
body.nav-open .discount-banner,
body.nav-open header {
  z-index: 1;
}

.nav-links a {
  color: var(--text);
  font-weight: 500;
  padding: 18px 20px;
  font-size: 19px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  transition: all 0.3s;
  min-height: 56px;
}

.nav-links a:active {
  background: var(--card-bg);
  color: var(--orange);
}

.nav-links a.active {
  background: rgba(255, 102, 0, 0.1);
  color: var(--orange);
  border-left: 4px solid var(--orange);
}

.nav-toggle {
  display: flex;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
  padding: 8px 12px;
  cursor: pointer;
  font-size: 18px;
  border-radius: 4px;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  -webkit-tap-highlight-color: transparent;
}

.nav-toggle:active {
  background: var(--card-bg);
}

.nav-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: var(--orange);
  border: none;
  color: white;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  z-index: 1001;
  font-weight: bold;
}

.nav-close:hover,
.nav-close:active {
  background: var(--orange-dark);
  transform: scale(1.1);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border: none;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  text-align: center;
  transition: all 0.2s;
  border-radius: 12px;
  min-height: 48px;
  min-width: 120px;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.btn:active {
  transform: scale(0.98);
}

.btn.primary {
  background: var(--orange);
  color: white;
  box-shadow: 0 4px 12px rgba(255, 102, 0, 0.3);
}

.btn.primary:active {
  background: var(--orange-dark);
  box-shadow: 0 2px 6px rgba(255, 102, 0, 0.3);
}

.btn.secondary {
  background: white;
  color: var(--orange);
  border: 2px solid var(--orange);
}

.btn.secondary:active {
  background: var(--orange);
  color: white;
}

/* Full Screen Banner */
.fullscreen-banner {
  width: 100%;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(255, 102, 0, 0.05) 0%, rgba(255, 102, 0, 0.1) 100%);
  padding: 80px 20px;
  margin: 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.banner-content {
  max-width: 800px;
  margin: 0 auto;
}

.hero-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 500ms ease;
}

.hero-slide.is-active {
  opacity: 1;
}

.hero-slide img,
.hero-slide video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
}

.hero-overlay {
  position: relative;
  z-index: 2;
}

.fullscreen-banner .hero-overlay h1 {
  color: white;
}

.fullscreen-banner .hero-overlay p {
  color: rgba(255, 255, 255, 0.9);
}

.fullscreen-banner .hero-badge {
  background: rgba(0, 0, 0, 0.35);
  color: white;
}

.fullscreen-banner .hero-stats {
  border-top: 1px solid rgba(255, 255, 255, 0.25);
}

.fullscreen-banner .stat-label {
  color: rgba(255, 255, 255, 0.85);
}

.hero-slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(0, 0, 0, 0.35);
  color: white;
  font-size: 26px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.hero-slider-btn.prev {
  left: 16px;
}

.hero-slider-btn.next {
  right: 16px;
}

.hero-slider-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 16px;
  z-index: 3;
  display: flex;
  gap: 10px;
  justify-content: center;
}

.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.65);
  background: rgba(255, 255, 255, 0.25);
  cursor: pointer;
  padding: 0;
}

.hero-dot.is-active {
  background: white;
}

/* Hero Section */
.hero {
  text-align: center;
  padding: 60px 20px;
  background: var(--card-bg);
  color: var(--text);
  margin: 40px 0;
  border-radius: 0;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
  animation: pulse 20s infinite;
}

@keyframes shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

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

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-block;
  background: rgba(255, 102, 0, 0.1);
  color: var(--orange);
  padding: 8px 20px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: clamp(32px, 5vw, 42px);
  margin-bottom: 20px;
  color: var(--text);
  line-height: 1.2;
  font-weight: 700;
}

.hero p {
  font-size: clamp(16px, 2vw, 18px);
  color: var(--text-light);
  margin-bottom: 35px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 50px;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  margin-top: 40px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}

.stat {
  text-align: center;
}

.stat-number {
  font-size: 32px;
  font-weight: bold;
  color: var(--orange);
  margin-bottom: 5px;
}

.stat-label {
  font-size: 14px;
  color: var(--text-light);
}

/* Common Skeleton Loader for Categories */
.skeleton-card {
  background: linear-gradient(135deg, #ffffff 0%, #fafafa 100%);
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

@keyframes shimmer {
  0% { background-color: #e0e0e0; }
  50% { background-color: #f5f5f5; }
  100% { background-color: #e0e0e0; }
}

.skeleton-icon {
  width: 80px;
  height: 80px;
  background-color: #e0e0e0;
  border-radius: 50%;
  margin: 0 auto 1.5rem;
  animation: shimmer 2s infinite;
}

.skeleton-title {
  height: 24px;
  background-color: #e0e0e0;
  border-radius: 4px;
  margin-bottom: 0.75rem;
  width: 80%;
  animation: shimmer 2s infinite 0.3s;
}

.skeleton-description {
  height: 16px;
  background-color: #e0e0e0;
  border-radius: 4px;
  width: 70%;
  margin: 0 auto;
  animation: shimmer 2s infinite 0.6s;
}

/* Eye-Catching Section Dividers */
.section-divider {
  height: 3px;
  margin: 80px 0;
  position: relative;
  overflow: visible;
}

.section-divider::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
  background: linear-gradient(90deg, 
    transparent 0%, 
    var(--orange) 20%, 
    #ff6b9d 40%, 
    #c44569 60%, 
    var(--orange) 80%, 
    transparent 100%);
  border-radius: 2px;
  animation: shimmer 3s ease-in-out infinite;
}

.section-divider::after {
  content: '';
  position: absolute;
  top: calc(50% - 30px);
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--orange), #ff6b9d);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  box-shadow: 0 8px 32px rgba(255, 102, 0, 0.3);
  animation: pulse 2s ease-in-out infinite;
}

.section-divider.gift::after {
  content: '🎁';
  background: linear-gradient(135deg, #ff6b35, #f7931e);
  box-shadow: 0 8px 32px rgba(255, 107, 53, 0.4);
}

/* Mobile responsive for section divider icons */
@media (max-width: 768px) {
  .section-divider::after {
    width: 50px; /* Smaller on tablet */
    height: 50px;
    font-size: 20px;
    top: calc(50% - 25px); /* Adjusted for smaller size */
    left: 50% !important; /* Force centering */
    transform: translateX(-50%) !important; /* Force centering */
  }
}

@media (max-width: 480px) {
  .section-divider::after {
    width: 40px; /* Even smaller on mobile */
    height: 40px;
    font-size: 18px;
    top: calc(50% - 20px); /* Further adjusted for mobile */
    left: 50% !important; /* Force centering */
    transform: translateX(-50%) !important; /* Force centering */
  }
}

.section-divider.star::after {
  content: '⭐';
  background: linear-gradient(135deg, #ffd700, #ffb347);
  box-shadow: 0 8px 32px rgba(255, 215, 0, 0.4);
}

.section-divider.cake::after {
  content: '🎂';
  background: linear-gradient(135deg, #ff69b4, #ff1493);
  box-shadow: 0 8px 32px rgba(255, 105, 180, 0.4);
}

.section-divider.heart::after {
  content: '💕';
  background: linear-gradient(135deg, #ff1744, #e91e63);
  box-shadow: 0 8px 32px rgba(255, 23, 68, 0.4);
}

/* Sparkle particles */
.section-divider::before {
  box-shadow: 0 0 20px rgba(255, 102, 0, 0.5);
}

.section-divider::after {
  position: relative;
}

.section-divider::after::before,
.section-divider::after::after {
  content: '✨';
  position: absolute;
  font-size: 12px;
  animation: sparkle 1.5s ease-in-out infinite;
}

.section-divider::after::before {
  top: -15px;
  left: -10px;
  animation-delay: 0s;
}

.section-divider::after::after {
  top: -15px;
  right: -10px;
  animation-delay: 0.5s;
}

@keyframes shimmer {
  0%, 100% { opacity: 0.6; transform: scaleX(0.8); }
  50% { opacity: 1; transform: scaleX(1); }
}

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

@keyframes sparkle {
  0%, 100% { opacity: 0; transform: scale(0) rotate(0deg); }
  50% { opacity: 1; transform: scale(1) rotate(180deg); }
}
section {
  margin: 60px 0;
}

.section-head {
  text-align: center;
  margin-bottom: 40px;
}

.section-head h2 {
  font-size: clamp(24px, 4vw, 32px);
  color: var(--text);
  margin-bottom: 10px;
}

.section-head p {
  font-size: 16px;
  color: var(--text-light);
  margin-top: 10px;
}

/* Categories Showcase */
.categories-showcase {
  background: transparent;
  padding: 50px 20px;
  border-radius: 16px;
  margin: 50px 0;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.05);
}

/* Simple Banner Approach */
.banner-section {
  position: relative;
  width: 100%;
  top: -20px; /* Desktop positioning */
}

.banner-section img {
  width: 100%;
  height: auto;
  display: block;
}

.banner-content {
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: white;
  z-index: 10;
  width: 90%;
  max-width: 800px;
}

.hero-badge {
  background: rgba(255, 102, 0, 0.9);
  padding: 8px 20px;
  border-radius: 25px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 20px;
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 4px 15px rgba(255, 102, 0, 0.3);
  color: var(--text);
}

.banner-content h1 {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 20px;
  text-shadow: 3px 3px 6px rgba(0,0,0,0.7);
  line-height: 1.2;
}

.banner-content p {
  font-size: 18px;
  margin-bottom: 30px;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
  line-height: 1.5;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Banner Image Switching - High Specificity */
.banner-section .desktop-banner { 
  display: block !important; 
  visibility: visible !important;
}
.banner-section .mobile-banner { 
  display: none !important; 
  visibility: hidden !important;
}

/* Mobile Responsive - All Mobile Styles Together */
@media (max-width: 768px) {
  .banner-section {
    top: 0; /* Reset for mobile */
  }
  
  .desktop-banner { display: none; }
  .mobile-banner { display: block; }
  
  /* Remove section margin for mobile */
  section {
    margin: 0 !important;
  }
  
  .categories-showcase {
    display: none;
  }
  
  .section-divider.gift {
    display: none;
  }
  
  .banner-section .desktop-banner { 
    display: none !important; 
    visibility: hidden !important;
  }
  .banner-section .mobile-banner { 
    display: block !important; 
    visibility: visible !important;
  }
  
  .banner-content h1 {
    font-size: 20px;
    line-height: 1.3;
    margin-bottom: 12px;
    padding: 0 20px;
  }
  
  .banner-content p {
    display: none; /* Hide paragraph on mobile */
  }
  
  .hero-badge {
    font-size: 11px;
    padding: 4px 10px;
    margin-bottom: 12px;
    color: var(--text);
  }
  
  .mobile-category-nav {
    display: flex;
    background: white;
    padding: 15px 0;
    top: 45px;
    border-bottom: 1px solid var(--border);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    position: relative;
    z-index: 998;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  }
  
  .mobile-category-nav::-webkit-scrollbar {
    display: none;
  }
  
  .mobile-category-list {
    display: flex;
    gap: 20px;
    padding: 0 15px;
    min-width: fit-content;
  }
  
  .mobile-category-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: var(--text);
    min-width: 70px;
    transition: all 0.3s ease;
    padding: 8px;
    border-radius: 12px;
    cursor: pointer;
  }
  
  .mobile-category-item:hover,
  .mobile-category-item:active {
    background: rgba(255, 102, 0, 0.1);
    transform: translateY(-2px);
  }
  
  .mobile-category-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--orange), var(--orange-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: white;
    margin-bottom: 6px;
    box-shadow: 0 2px 8px rgba(255, 102, 0, 0.3);
    transition: all 0.3s ease;
  }
  
  .mobile-category-item:hover .mobile-category-icon,
  .mobile-category-item:active .mobile-category-icon {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(255, 102, 0, 0.4);
  }
  
  .mobile-category-name {
    font-size: 11px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 2px;
    line-height: 1.2;
  }
  
  /* Adjust body padding for mobile category nav */
  body {
    padding-top: 80px; /* Only header */
  }
  
  /* Adjust fullscreen banner for mobile category nav */
  .fullscreen-banner {
    margin-top: 0;
  }
}

/* Hide mobile category nav on desktop */
@media (min-width: 769px) {
  .mobile-category-nav {
    display: none !important;
  }
}

.category-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  margin-top: 30px;
}

.category-card {
  background: white;
  padding: 30px 20px;
  border-radius: 10px;
  text-align: center;
  border: 2px solid var(--border);
  transition: all 0.3s;
  text-decoration: none;
  color: inherit;
}

.category-card:hover {
  border-color: var(--orange);
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.category-icon {
  font-size: 48px;
  margin-bottom: 15px;
}

.category-card h3 {
  font-size: 22px;
  margin-bottom: 10px;
  color: var(--text);
}

.category-card p {
  font-size: 14px;
  color: var(--text-light);
  margin-bottom: 15px;
}

.category-link {
  color: var(--orange);
  font-weight: 600;
  font-size: 14px;
}

/* Anniversary Section */
.anniversary-section {
  background: linear-gradient(135deg, #fce7f3 0%, #fbcfe8 100%);
  padding: 50px 20px;
  border-radius: 16px;
  margin: 50px 0;
  box-shadow: 0 8px 32px rgba(236, 72, 153, 0.08);
}

/* Birthday Section */
.birthday-section {
  background: linear-gradient(135deg, #fef3c7 0%, #fed7aa 100%);
  padding: 50px 20px;
  border-radius: 16px;
  margin: 50px 0;
  box-shadow: 0 8px 32px rgba(251, 146, 60, 0.08);
}

/* Features Section */
.features {
  margin: 60px 0;
  background: transparent;
  padding: 50px 20px;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.05);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin-top: 30px;
}

.feature-card {
  background: white;
  padding: 30px;
  border-radius: 10px;
  border: 1px solid var(--border);
  text-align: center;
  transition: all 0.3s;
}

.feature-card:hover {
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transform: translateY(-3px);
}

.feature-icon {
  font-size: 48px;
  margin-bottom: 15px;
}

.feature-card h3 {
  font-size: 20px;
  margin-bottom: 10px;
  color: var(--text);
}

.feature-card p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.6;
}

/* Featured Section */
.featured-section {
  margin: 60px 0;
  background: transparent;
  padding: 30px 20px;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.05);
}

.view-all {
  text-align: center;
  margin-top: 40px;
}

/* Home Lifestyle Gallery */
.home-gallery {
  padding: 40px 0 10px;
  background: linear-gradient(180deg, #ffffff 0%, #fff7f1 60%, #ffffff 100%);
}

.home-gallery-grid {
  display: grid;
  grid-template-columns: 2fr 1.4fr;
  grid-template-rows: 200px 200px;
  gap: 14px;
  margin-top: 18px;
}

.home-gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.home-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease-out;
}

.home-gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.55), transparent 55%);
  opacity: 0.9;
}

.home-gallery-item:hover img {
  transform: scale(1.04);
}

.home-gallery-tag {
  position: absolute;
  left: 14px;
  bottom: 14px;
  z-index: 1;
  background: rgba(255, 255, 255, 0.96);
  color: var(--text);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
}

.home-gallery-item-large {
  grid-row: 1 / span 2;
}

.home-gallery-item-wide {
  grid-column: 2 / span 1;
}

@media (max-width: 768px) {
  .home-gallery {
    padding-top: 20px;
  }

  .home-gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 150px 150px 150px;
  }

  .home-gallery-item-large {
    grid-row: auto;
    grid-column: 1 / span 2;
  }

  .home-gallery-item-wide {
    grid-column: auto;
  }
}

/* How It Works */
.how-it-works {
  background: transparent;
  padding: 50px 20px;
  border-radius: 16px;
  margin: 50px 0;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.05);
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.step {
  text-align: center;
}

.step-number {
  width: 60px;
  height: 60px;
  background: var(--orange);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: bold;
  margin: 0 auto 20px;
}

.step h3 {
  font-size: 20px;
  margin-bottom: 10px;
  color: var(--text);
}

.step p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.6;
}

/* Products Grid */
.grid.products {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
  margin: 20px 0;
}

/* Product Card */
.product-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  border-color: var(--orange);
}

.product-card:active {
  transform: translateY(-2px);
}

/* Product Slider/Image */
.product-slider {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.product-slider img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

/* Fallback for missing images */
.product-slider:not(:has(img)) {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-slider:not(:has(img))::after {
  content: '🎁';
  font-size: 48px;
  opacity: 0.5;
}

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

/* Product Info */
.product-info {
  padding: 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-info h3 {
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 12px;
  color: var(--text);
  line-height: 1.3;
}

/* Product Videos - Dynamic Space Management */
.product-video {
  margin-top: 20px;
  display: grid;
  gap: 15px;
  /* Dynamic grid that adjusts based on video count and container width */
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
}

.video-item {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 200px;
}

.video-item video {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 400px;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  background: #000;
  display: block;
}

/* Dynamic adjustments based on video count */
.product-video:has(.video-item:nth-child(1):last-child) {
  /* Single video - centered and larger */
  grid-template-columns: 1fr;
  max-width: 600px;
  margin: 20px auto 0;
}

.product-video:has(.video-item:nth-child(2):last-child),
.product-video:has(.video-item:nth-child(2):nth-last-child(2)) {
  /* Two videos - side by side */
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.product-video:has(.video-item:nth-child(3):last-child),
.product-video:has(.video-item:nth-child(3):nth-last-child(3)) {
  /* Three videos - balanced layout */
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 15px;
}

.product-video:has(.video-item:nth-child(n+4)) {
  /* Four or more videos - compact grid */
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .product-video {
    /* Mobile - always single column */
    grid-template-columns: 1fr !important;
    margin: 20px 0 0 0 !important;
    max-width: none !important;
  }
  
  .video-item video {
    max-height: 300px;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  /* Tablet - optimized spacing */
  .product-video:has(.video-item:nth-child(2):last-child),
  .product-video:has(.video-item:nth-child(2):nth-last-child(2)) {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
  
  .product-video:has(.video-item:nth-child(n+3)) {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px;
  }
}

@media (min-width: 1025px) {
  /* Desktop - optimal layout */
  .product-video:has(.video-item:nth-child(3):last-child),
  .product-video:has(.video-item:nth-child(3):nth-last-child(3)) {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
  
  .product-video:has(.video-item:nth-child(n+4)) {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
  }
}
.product-slider video {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
}

/* Product Detail Page - Grid Layout */
.detail-layout {
  display: flex;
  gap: 60px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 60px 20px;
}

/* Detail Main - REMOVED HEIGHT CONSTRAINT TO PREVENT DOUBLE SCROLLBAR */
.detail-main {
  flex: 0 0 50%;
  position: sticky;
  top: 100px;
  height: fit-content;
  /* Removed: max-height: calc(100vh - 120px); */
  /* Removed: overflow-y: auto; */
}

.product-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  background: var(--orange);
  color: white;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  z-index: 11;
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
}

.detail-grid-item {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.detail-grid-item:hover {
  transform: scale(1.02);
}

.detail-grid-item video,
.detail-grid-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.detail {
  flex: 1;
  padding: 20px 0;
}

.detail h1 {
  font-size: 32px;
  margin-bottom: 20px;
  color: var(--text);
}

.detail .price {
  font-size: 28px;
  font-weight: 700;
  color: var(--orange);
  margin-bottom: 30px;
}

.detail p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-light);
  margin-bottom: 30px;
}

.customization-form {
  background: #f8f9fa;
  padding: 30px;
  border-radius: 12px;
  margin-bottom: 30px;
}

.custom-option {
  margin-bottom: 25px;
}

.custom-option label {
  display: block;
  margin-bottom: 10px;
  font-weight: 600;
  color: var(--text);
}

.custom-option input[type="text"],
.custom-option select {
  width: 100%;
  padding: 15px;
  border: 2px solid #e1e5e9;
  border-radius: 8px;
  font-size: 16px;
}

.custom-option small {
  display: block;
  margin-top: 8px;
  color: var(--text-light);
  font-size: 14px;
}

.color-options {
  display: flex;
  gap: 15px;
  margin-top: 10px;
}

.color-option {
  display: flex;
  align-items: center;
  cursor: pointer;
}

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

.color-dot {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  border: 3px solid transparent;
  transition: all 0.3s ease;
}

.color-option input[type="radio"]:checked + .color-dot {
  border-color: var(--orange);
  transform: scale(1.1);
}

.hero-actions {
  display: flex;
  gap: 15px;
  margin: 30px 0;
}

.hero-actions .btn {
  flex: 1;
  padding: 18px 30px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  text-align: center;
  transition: all 0.3s ease;
}

.hero-actions .btn.primary {
  background: var(--orange);
  color: white;
  border: 2px solid var(--orange);
}

.hero-actions .btn.primary:hover {
  background: white;
  color: var(--orange);
}

.hero-actions .btn.secondary {
  background: white;
  color: var(--orange);
  border: 2px solid var(--orange);
}

.hero-actions .btn.secondary:hover {
  background: var(--orange);
  color: white;
}

.price-summary {
  background: white;
  padding: 20px;
  border-radius: 8px;
  margin: 25px 0;
  border: 1px solid var(--border);
}

.specs {
  background: #f8f9fa;
  padding: 20px;
  border-radius: 8px;
}

.spec {
  margin-bottom: 10px;
  font-size: 14px;
  color: var(--text-light);
}

.spec:last-child {
  margin-bottom: 0;
}

/* Mobile Responsive for Product Detail */
@media (max-width: 768px) {
  .detail-layout {
    flex-direction: column;
    gap: 30px;
    padding: 20px 15px;
  }
  
  .detail-main {
    flex: 1;
    position: static;
  }
  
  .detail-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  
  .detail-grid-item video,
  .detail-grid-item img {
    height: 150px;
  }
  
  .detail h1 {
    font-size: 24px;
  }
  
  .detail .price {
    font-size: 22px;
  }
  
  .customization-form {
    padding: 20px;
  }
  
  .hero-actions {
    flex-direction: column;
  }
}

/* Price Row */
.price-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  justify-content: flex-end;
}

.price {
  font-size: 18px;
  font-weight: 700;
  color: var(--orange);
}

.offer-price {
  font-size: 14px;
  color: var(--text-light);
  text-decoration: line-through;
}

/* Product Detail Layout */
.product-detail {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.1fr);
  gap: 24px;
  padding: 20px;
  margin: 20px 0;
  background: white;
  border-radius: 12px;
  border: 1px solid var(--border);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.product-detail + .product-detail {
  margin-top: 24px;
}

.product-media img {
  width: 100%;
  border-radius: 10px;
  object-fit: cover;
  max-height: 360px;
}

.product-info h2 {
  font-size: 24px;
  margin-bottom: 8px;
}

.product-info .price {
  font-size: 22px;
  margin: 0 0 12px;
}

.product-info p {
  font-size: 15px;
  color: var(--text-light);
  line-height: 1.7;
}

.product-meta {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  font-size: 14px;
  color: var(--text-light);
}

.product-meta div + div {
  margin-top: 6px;
}

@media (max-width: 768px) {
  .product-detail {
    grid-template-columns: minmax(0, 1fr);
    padding: 16px;
  }

  .detail-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .product-media img {
    max-height: 260px;
  }

  .product-info h2 {
    font-size: 20px;
  }
}

/* Product Detail */
.detail-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin: 30px 0;
}

.detail-main {
  position: relative;
}

.detail-main img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border: 1px solid var(--border);
  background: var(--card-bg);
  border-radius: 5px;
}

.detail-thumbs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.detail-thumb {
  border-radius: 5px;
  overflow: hidden;
  border: 1px solid var(--border);
}

.detail-thumb img {
  width: 100%;
  height: 80px;
  object-fit: cover;
  display: block;
}

.product-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: var(--orange);
  color: white;
  padding: 8px 15px;
  border-radius: 5px;
  font-weight: 600;
  font-size: 14px;
}

.detail h1 {
  font-size: 32px;
  margin-bottom: 15px;
  color: var(--text);
}

.detail p {
  font-size: 16px;
  color: var(--text-light);
  margin-bottom: 20px;
}

.detail .price {
  font-size: 28px;
  margin-bottom: 20px;
  color: var(--orange);
}

/* Customization Form */
.customization-form {
  background: var(--card-bg);
  padding: 25px;
  border-radius: 5px;
  border: 1px solid var(--border);
  margin: 25px 0;
}

.custom-option {
  margin-bottom: 25px;
}

.custom-option label {
  display: block;
  margin-bottom: 10px;
  color: var(--text);
  font-size: 15px;
}

.custom-option input[type="text"],
.custom-option textarea,
.custom-option select {
  width: 100%;
  padding: 12px;
  border: 2px solid var(--border);
  border-radius: 5px;
  font-size: 15px;
  font-family: inherit;
  margin-bottom: 5px;
}

.custom-option input[type="text"]:focus,
.custom-option textarea:focus,
.custom-option select:focus {
  outline: none;
  border-color: var(--orange);
}

.custom-option small {
  color: var(--text-light);
  font-size: 13px;
}

/* Color Options */
.color-options {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.color-option {
  position: relative;
  cursor: pointer;
}

.color-option input[type="radio"] {
  position: absolute;
  opacity: 0;
}

.color-dot {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  border: 3px solid transparent;
  display: block;
  cursor: pointer;
  transition: all 0.3s;
}

.color-option input[type="radio"]:checked + .color-dot {
  border-color: var(--orange);
  transform: scale(1.1);
  box-shadow: 0 0 0 3px rgba(255, 102, 0, 0.2);
}

/* ===================================
   PRODUCT DETAIL PAGE ARCHITECTURE
   =================================== */

/* Product Detail Wrapper */
.product-detail-wrapper {
  max-width: 1400px;
  margin: 40px auto;
  padding: 0 20px;
}

/* Product Title Section */
.product-title-section {
  width: 100%;
  margin-bottom: 40px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

.product-title {
  font-size: clamp(24px, 4vw, 32px);
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.2;
  margin: 0;
}

/* Product Detail Container */
.product-detail-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(30px, 5vw, 60px);
  align-items: start;
}

/* Product Images Section */
.product-images-section {
  display: flex;
  flex-direction: column;
  gap: 30px;
  position: sticky;
  top: 100px;
  height: fit-content;
  z-index: 10;
}

/* Product Info Section */
.product-info-section {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

/* ===================================
   RESPONSIVE ARCHITECTURE
   =================================== */

/* Tablet Breakpoint */
@media (max-width: 1024px) {
  .product-detail-container {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
  
  .product-title {
    font-size: 28px;
  }
  
  .main-product-image {
    height: 400px;
  }
}

/* Mobile Breakpoint */
@media (max-width: 768px) {
  .product-detail-wrapper {
    padding: 0 15px;
  }
  
  .product-title-section {
    margin-bottom: 20px;
    padding-bottom: 10px;
    position: relative;
    z-index: 2;
  }
  
  .product-title {
    font-size: 24px;
    margin-bottom: 8px;
  }

  .price-info {
    margin-top: 16px;
  }
  
  .product-detail-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .product-images-section {
    position: static;
    order: 2;
  }
  
  .product-info-section {
    order: 3;
  }
  
  /* Mobile Image Slider - Show on Mobile */
  .mobile-image-slider {
    display: block;
  }
  
  /* Center product title on mobile */
  .product-title {
    text-align-last: center !important;
  }
  
  .slider-container {
    height: 250px;
    margin-bottom: 10px;
  }
  
  .slider-dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 10px;
  }
  
  .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #ccc;
    cursor: pointer;
    transition: all 0.3s;
  }
  
  .dot.active {
    background: var(--orange);
    width: 20px;
    border-radius: 3px;
  }
  
  .slider-prev,
  .slider-next {
    width: 30px;
    height: 30px;
    font-size: 16px;
    background: rgba(255, 102, 0, 0.8);
  }
  
  /* Video slide styling */
  .video-slide {
    background: #000;
  }
  
  .video-slide video {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  /* Hide desktop main image on mobile */
  .main-product-image {
    display: none;
  }
  
  /* Hide all individual image sections on mobile */
  .product-thumbnails {
    display: none !important;
  }
  
  .product-video {
    display: none !important;
  }
  
  .product-variants {
    display: none !important;
  }
  
  .additional-images {
    display: none !important;
  }
  
  .main-product-image {
    display: none !important;
  }
  
  .variant-images {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }
  
  .variant-item img {
    height: 80px;
  }
  
  .additional-images {
    grid-template-columns: 1fr;
  }
  
  .current-price {
    font-size: 24px;
  }
  
  .reviews-summary {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .rating-number {
    font-size: 36px;
  }
  
  .file-upload {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}

.main-image-container {
  position: relative;
}

.main-product-image {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--border);
}

/* Mobile Image Slider - Hidden on Desktop */
.mobile-image-slider {
  display: none;
}

/* Mobile Image Slider - Show on Mobile */
@media (max-width: 768px) {
  .mobile-image-slider {
    display: block !important;
    background: transparent !important;
    margin-bottom: 20px;
  }
  
  .slider-container {
    height: 250px;
    margin-bottom: 10px;
  }
  
  .slider-dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 10px;
  }
  
  .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #ccc;
    cursor: pointer;
    transition: all 0.3s;
  }
  
  .dot.active {
    background: var(--orange);
    width: 20px;
    border-radius: 3px;
  }
  
  .slider-prev,
  .slider-next {
    width: 30px;
    height: 30px;
    font-size: 16px;
  }
}

.slider-container {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  width: 100%;
  height: 300px;
}

/* Override height for mobile */
@media (max-width: 768px) {
  .slider-container {
    height: 250px;
  }
}

.slider-track {
  display: flex;
  transition: transform 0.3s ease;
  width: 600%; /* 6 slides * 100% */
  height: 100%;
}

.slide {
  min-width: 100%;
  flex-shrink: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8f9fa;
}

.slide img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
}

/* Video in slider */
.slide .product-video {
  width: 100%;
  height: 300px;
}

.slide .product-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Variants in slider */
.slide .product-variants {
  background: #f8f9fa;
  padding: 20px;
  border-radius: 12px;
  border: 1px solid var(--border);
  height: 300px;
  overflow-y: auto;
}

.slide .product-variants h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--text-dark);
}

.slide .variant-images {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.slide .variant-item img {
  width: 100%;
  height: 80px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--border);
}

.slide .variant-item p {
  font-size: 12px;
  text-align: center;
  margin: 5px 0 0 0;
  color: var(--text-light);
}

/* Additional images in slider */
.slide .additional-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  height: 300px;
  padding: 20px;
  background: #f8f9fa;
  border-radius: 12px;
  border: 1px solid var(--border);
}

.slide .additional-image-item img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--border);
}

.slider-prev,
.slider-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 102, 0, 0.9);
  color: white;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s;
}

.slider-prev {
  left: 10px;
}

.slider-next {
  right: 10px;
}

.slider-prev:hover,
.slider-next:hover {
  background: var(--orange);
}

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 15px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ccc;
  cursor: pointer;
  transition: all 0.3s;
}

.dot.active {
  background: var(--orange);
  width: 24px;
  border-radius: 4px;
}

/* Product Thumbnails */
.product-thumbnails {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.thumbnail {
  border: 2px solid transparent;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s;
}

.thumbnail:hover {
  border-color: var(--border);
}

.thumbnail.active {
  border-color: var(--orange);
}

.thumbnail img {
  width: 100%;
  height: 80px;
  object-fit: cover;
  display: block;
}

/* Product Video */
.product-video {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: #000;
}

.product-video video {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

.video-placeholder {
  position: relative;
  width: 100%;
  height: 250px;
  background: url('https://images.unsplash.com/photo-1579532582838-21c2b6b9df3a?auto=format&fit=crop&w=800&q=80') center/cover;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: white;
  cursor: pointer;
}

.play-icon {
  width: 60px;
  height: 60px;
  background: rgba(255, 102, 0, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 10px;
  transition: all 0.3s;
}

.video-placeholder:hover .play-icon {
  background: var(--orange);
  transform: scale(1.1);
}

/* Additional Images */
.additional-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.additional-image-item img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--border);
}

.product-variants {
  background: #f8f9fa;
  padding: 20px;
  border-radius: 12px;
  border: 1px solid var(--border);
}

.product-variants h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--text);
}

.variant-images {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}

.variant-item {
  text-align: center;
}

.variant-item img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--border);
  margin-bottom: 8px;
}

.variant-item p {
  font-size: 12px;
  color: var(--text-light);
  margin: 0;
}

.additional-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.additional-image-item img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--border);
}

/* Price Section */
.price-section {
  background: #f8f9fa;
  padding: 20px;
  border-radius: 12px;
  border: 1px solid var(--border);
}

.price-row {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 10px;
}

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

.current-price {
  font-size: 28px;
  font-weight: 700;
  color: var(--orange);
}

.sale-badge {
  background: var(--orange);
  color: white;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}

.shipping-info {
  font-size: 14px;
  color: var(--text-light);
}

/* Product Options - STYLES MOVED TO CUSTOMIZATION SECTION */

.size-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.size-btn {
  background: white;
  border: 2px solid var(--border);
  padding: 15px 20px;
  border-radius: 8px;
  text-align: left;
  cursor: pointer;
  transition: all 0.3s;
  font-size: 14px;
}

.size-btn:hover {
  border-color: var(--orange);
}

.size-btn.active {
  border-color: var(--orange);
  background: rgba(255, 102, 0, 0.1);
  color: var(--orange);
}

.file-upload {
  display: flex;
  align-items: center;
  gap: 15px;
}

.file-input {
  display: none;
}

.file-upload-btn {
  background: var(--orange);
  color: white;
  padding: 12px 20px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.3s;
}

.file-upload-btn:hover {
  background: var(--orange-dark);
}

.file-note {
  font-size: 14px;
  color: var(--text-light);
}

.upload-note {
  font-size: 12px;
  color: var(--text-light);
  margin: 5px 0 0 0;
}

.text-input {
  width: 100%;
  padding: 15px;
  border: 2px solid var(--border);
  border-radius: 8px;
  font-size: 16px;
}

.text-input:focus {
  outline: none;
  border-color: var(--orange);
}

.quantity-selector {
  display: flex;
  align-items: center;
  gap: 0;
  width: fit-content;
}

.qty-btn {
  background: white;
  border: 2px solid var(--border);
  width: 40px;
  height: 40px;
  cursor: pointer;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}

.qty-btn:first-child {
  border-radius: 8px 0 0 8px;
}

.qty-btn:last-child {
  border-radius: 0 8px 8px 0;
}

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

.qty-input {
  width: 60px;
  height: 40px;
  border: 2px solid var(--border);
  border-left: none;
  border-right: none;
  text-align: center;
  font-size: 16px;
}

.qty-input:focus {
  outline: none;
}

/* Action Buttons */
.action-buttons {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  margin: 10px 0;
}

.option-group .quantity-selector {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
}

.option-group .action-buttons {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  margin: 0;
}

.add-to-cart-btn {
  width: auto;
  background: var(--orange);
  color: white;
  border: none;
  padding: 18px 30px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  white-space: nowrap;
}

.add-to-cart-btn:hover {
  background: var(--orange-dark);
}

/* Price Info */
.price-info {
  background: #f8f9fa;
  padding: 20px;
  border-radius: 12px;
  border: 1px solid var(--border);
}

.price-info p {
  margin: 0 0 10px 0;
  font-size: 14px;
}

.lowest-price {
  color: #28a745;
  font-weight: 600;
}

.discount-info {
  color: var(--orange);
  font-weight: 600;
}

.cod-note {
  color: #dc3545;
  font-weight: 600;
}

/* Reviews Section */
.reviews-section {
  background: #f8f9fa;
  padding: 25px;
  border-radius: 12px;
  border: 1px solid var(--border);
}

.reviews-section h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--text);
}

.reviews-summary {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 30px;
  margin-bottom: 25px;
}

.rating-overview {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.rating-number {
  font-size: 48px;
  font-weight: 700;
  color: var(--orange);
}

.rating-stars {
  text-align: center;
}

.stars {
  font-size: 24px;
  color: #ffc107;
  display: block;
}

.review-count {
  font-size: 14px;
  color: var(--text-light);
}

.rating-bars {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.rating-bar {
  display: grid;
  grid-template-columns: 30px 1fr 30px;
  align-items: center;
  gap: 10px;
  font-size: 14px;
}

.bar-container {
  background: #e9ecef;
  height: 8px;
  border-radius: 4px;
  overflow: hidden;
}

.bar-fill {
  background: #ffc107;
  height: 100%;
  transition: width 0.3s;
}

.individual-reviews {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.review {
  background: white;
  padding: 20px;
  border-radius: 8px;
  border: 1px solid var(--border);
}

.review-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.review-stars {
  color: #ffc107;
  font-size: 16px;
}

.reviewer-name {
  font-weight: 600;
  color: var(--text);
}

.review-text {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.6;
  margin: 0;
}

/* Product Description */
.product-description {
  background: #f8f9fa;
  padding: 25px;
  border-radius: 12px;
  border: 1px solid var(--border);
}

.product-description h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--text);
}

.product-description p {
  font-size: 16px;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 15px;
}

.product-description ul {
  list-style: none;
  padding: 0;
}

.product-description li {
  font-size: 14px;
  color: var(--text-light);
  padding: 8px 0;
  padding-left: 20px;
  position: relative;
}

.product-description li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--orange);
  font-weight: bold;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .product-detail-wrapper {
    padding: 0 15px;
  }
  
  .product-detail-container {
    flex-direction: column;
    gap: 30px;
  }
  
  .product-images-section {
    position: static;
    max-height: none;
    overflow-y: visible;
    width: 100%;
    flex: none;
  }
  
  .product-info-section {
    width: 100%;
    flex: none;
  }
  
  .main-product-image {
    height: 300px;
  }
  
  .variant-images {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }
  
  .variant-item img {
    height: 80px;
  }
  
  .additional-images {
    grid-template-columns: 1fr;
  }
  
  .current-price {
    font-size: 24px;
  }
  
  .reviews-summary {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .rating-number {
    font-size: 36px;
  }
  
  .file-upload {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}

/* Font Options */
.font-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 10px;
}

.font-option {
  border: 2px solid var(--border);
  padding: 12px;
  border-radius: 5px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s;
}

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

.font-option span {
  font-size: 14px;
  font-weight: 600;
}

.font-option input[type="radio"]:checked + span {
  color: var(--orange);
}

.font-option:has(input[type="radio"]:checked) {
  border-color: var(--orange);
  background: rgba(255, 102, 0, 0.1);
}

/* Size Select */
.size-select {
  width: 100%;
  padding: 12px;
  border: 2px solid var(--border);
  border-radius: 5px;
  font-size: 15px;
  background: white;
  cursor: pointer;
}

/* Quantity Selector */
.quantity-selector {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 150px;
}

.qty-btn {
  width: 40px;
  height: 40px;
  border: 2px solid var(--orange);
  background: white;
  color: var(--orange);
  font-size: 20px;
  font-weight: bold;
  cursor: pointer;
  border-radius: 5px;
  transition: all 0.3s;
}

.qty-btn:hover {
  background: var(--orange);
  color: white;
}

#quantity {
  width: 60px;
  text-align: center;
  padding: 10px;
  border: 2px solid var(--border);
  border-radius: 5px;
  font-size: 16px;
  font-weight: 600;
}

/* Checkbox Options */
.checkbox-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: 5px;
  margin-bottom: 8px;
  cursor: pointer;
  transition: all 0.3s;
}

.checkbox-option:hover {
  background: rgba(255, 102, 0, 0.05);
}

.checkbox-option input[type="checkbox"] {
  width: 20px;
  height: 20px;
  cursor: pointer;
  accent-color: var(--orange);
}

/* Price Summary */
.price-summary {
  background: white;
  padding: 20px;
  border-radius: 5px;
  border: 2px solid var(--orange);
  margin: 25px 0;
}

.price-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}

.price-row:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.price-row.total {
  margin-top: 15px;
  padding-top: 15px;
  border-top: 2px solid var(--orange);
  font-size: 20px;
}

.specs {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.spec {
  margin-bottom: 10px;
  color: var(--text-light);
}

/* Footer - Full Width */
footer.footer,
.footer {
  background: #000000;
  color: #ffffff;
  padding: 50px 20px 25px;
  margin-top: 80px;
  border-top: 1px solid #333333;
  width: 100%;
  box-sizing: border-box;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr;
  gap: 60px;
  margin-bottom: 40px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  align-items: start;
}

/* Center quick links section - Desktop only */
footer .footer-section.footer-section-links {
  text-align: center !important;
}

footer .footer-section.footer-section-links h4 {
  text-align: center !important;
}

footer .footer-section.footer-section-links .footer-links {
  text-align: center !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 12px !important;
}

footer .footer-section.footer-section-links .footer-links a {
  text-align: center !important;
  display: block !important;
}

.footer-logo {
  margin-bottom: 16px;
  text-align: center;
}

.footer-logo-img {
  height: 60px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
  transition: transform 0.3s ease;
}

.footer-logo:hover .footer-logo-img {
  transform: scale(1.05);
}

.footer-section h4 {
  font-size: 16px;
  margin-bottom: 20px;
  color: #ffffff;
  font-weight: 700;
  padding-bottom: 10px;
}

.footer-section p {
  font-size: 14px;
  color: #cccccc;
  line-height: 1.8;
  margin-bottom: 8px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-section a {
  display: block;
  color: #cccccc;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s;
  line-height: 1.6;
}

.footer-section a:hover {
  color: var(--orange);
}

.footer-bottom {
  text-align: center;
  padding-top: 25px;
  border-top: 1px solid #333333;
  color: #999999;
  font-size: 13px;
  max-width: 1200px;
  margin: 0 auto;
}

/* CTA Section */
.cta {
  background: var(--orange);
  color: white;
  padding: 40px 20px;
  text-align: center;
  margin: 40px 0;
}

.cta h3 {
  font-size: 24px;
  margin-bottom: 10px;
}

.cta .mini {
  font-size: 16px;
  margin-bottom: 25px;
  opacity: 0.9;
}

.cta .btn.secondary {
  background: white;
  color: var(--orange);
  border: 2px solid white;
}

.cta .btn.secondary:hover {
  background: transparent;
  color: white;
}

/* Tags and Pills */
.tag, .pill {
  display: inline-block;
  padding: 5px 12px;
  background: var(--orange);
  color: white;
  font-size: 12px;
  border-radius: 3px;
  margin-right: 5px;
}

.pill {
  background: var(--card-bg);
  color: var(--text-light);
  border: 1px solid var(--border);
}

/* Discount Banner */
.discount-banner {
  background: var(--orange);
  color: white;
  text-align: center;
  padding: 10px 15px;
  font-weight: 600;
  font-size: 14px;
  position: fixed;
  top: 80px; /* Position below header */
  left: 0;
  right: 0;
  z-index: 999;
  overflow: hidden;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.discount-banner {
  animation: none;
}

.discount-banner-text {
  display: inline-block;
  animation: discount-marquee 16s linear infinite;
  will-change: transform;
}

.discount-banner:hover .discount-banner-text {
  animation-play-state: paused;
}

@keyframes discount-marquee {
  0% {
    transform: translateX(100%);
  }
  100% {
    transform: translateX(-100%);
  }
}

.discount-banner.scrolled {
  background: white;
  color: var(--text);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 999; /* Ensure z-index doesn't change on scroll */
}

/* Category Filters */
.categories {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin: 30px 0;
}

.category-btn {
  padding: 12px 18px;
  background: white;
  border: 2px solid var(--orange);
  color: var(--orange);
  cursor: pointer;
  font-weight: 600;
  border-radius: 8px;
  transition: all 0.2s;
  font-size: 14px;
  min-height: 44px;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.category-btn:active {
  transform: scale(0.98);
}

.category-btn.active {
  background: var(--orange);
  color: white;
}

/* Bottom Navigation Bar (Mobile Only) */
.bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: white;
  border-top: 2px solid var(--border);
  padding: 8px 0;
  padding-bottom: max(8px, var(--safe-bottom));
  flex-direction: row;
  justify-content: space-around;
  align-items: center;
  z-index: 100;
  box-shadow: 0 -2px 15px rgba(0,0,0,0.1);
  width: 100%;
  box-sizing: border-box;
  overflow-x: hidden;
}

.bottom-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: var(--text-light);
  font-size: 11px;
  font-weight: 600;
  padding: 8px 12px;
  min-width: 60px;
  transition: color 0.2s;
  -webkit-tap-highlight-color: transparent;
}

.bottom-nav-item:active {
  transform: scale(0.95);
}

.bottom-nav-item.active {
  color: var(--orange);
}

.bottom-nav-icon {
  font-size: 24px;
  margin-bottom: 4px;
  display: block;
}

/* WhatsApp Button */
.whatsapp-btn {
  position: fixed;
  bottom: 90px;
  right: 15px;
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  z-index: 99;
  transition: transform 0.2s;
  -webkit-tap-highlight-color: transparent;
}

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

.whatsapp-btn svg {
  width: 35px;
  height: 35px;
  fill: white;
}

@media (min-width: 769px) {
  .whatsapp-btn {
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
  }
  
  .whatsapp-btn:hover {
    transform: scale(1.05);
  }
}

/* Desktop Styles */
@media (min-width: 769px) {
  body {
    padding-bottom: 0;
  }

  .bottom-nav {
    display: none !important;
  }

  .nav-links {
    display: flex !important;
    position: static;
    background: transparent;
    box-shadow: none;
    padding: 0;
    flex-direction: row;
    gap: 8px;
    align-items: center;
    overflow: visible;
  }

  .nav-links .nav-close {
    display: none/* Hide mobile navigation on desktop */
  }

  .mobile-nav-overlay {
    display: none !important;
  }

  .nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
  }

  .nav-links a {
    color: var(--text);
    font-weight: 500;
    padding: 10px 0;
    text-decoration: none;
    transition: all 0.3s;
    position: relative;
    border: none;
    border-bottom: none;
  }

  .nav-links a:hover {
    color: var(--orange);
  }

  .nav-links a.active {
    color: var(--orange);
    border-bottom: none;
    background: transparent;
    border-left: none;
  }

  .nav-toggle {
    display: none;
  }
}

/* Mobile Responsive */
@media (max-width: 768px) {
  body {
    padding-bottom: 100px; /* Add space for fixed bottom nav */
    overflow-x: hidden;
    /* Remove min-height entirely to prevent overflow */
  }

  .bottom-nav {
    display: flex;
  }

  html {
    overflow-x: hidden;
  }

  .discount-banner {
    padding: 15px 20px;
    font-size: 14px;
    line-height: 1.4;
    position: fixed;
    top: 80px;
    z-index: 999;
  }

  header {
    position: fixed;
    top: 0;
    z-index: 1000;
  }

  .nav {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 80px;
  }

  .nav-toggle {
    display: block;
    margin: 0 15px;
  }

  .nav-links {
    display: none;
  }

  .logo-img {
    height: 45px;
    margin: 0 15px;
  }

  /* Mobile Navigation Styles - Only on Mobile */
  .mobile-nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
  }

  .mobile-nav-panel {
    position: fixed;
    top: 0;
    left: -100%;
    width: 300px;
    height: 100vh;
    background: white;
    transition: left 0.3s ease;
    overflow-y: auto;
    z-index: 1001;
  }

  .mobile-nav-overlay.active .mobile-nav-panel {
    left: 0;
  }

  .mobile-nav-header {
    padding: 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .mobile-nav-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    padding: 5px;
  }

  .mobile-nav-menu {
    padding: 20px;
  }

  .mobile-nav-menu a {
    display: block;
    padding: 15px 0;
    color: var(--text);
    text-decoration: none;
    font-size: 16px;
    border-bottom: 1px solid #f0f0f0;
    transition: color 0.2s;
  }

  .mobile-nav-menu a:hover {
    color: var(--orange);
  }

  .mobile-nav-header .logo-img {
    height: 58px;
  }

  .fullscreen-banner {
    min-height: 70vh;
    padding: 60px 20px;
  }

  .hero-slider-btn {
    display: none;
  }

  .hero {
    padding: 50px 20px;
  }

  .hero h1 {
    font-size: 28px;
  }

  .hero p {
    font-size: 16px;
  }

  .hero-stats {
    gap: 20px;
  }

  .stat-number {
    font-size: 24px;
  }

  .category-cards {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .steps {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .footer {
    padding: 40px 15px 20px;
    margin-top: 50px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  /* Mobile footer - Center all 3 columns */
  @media (max-width: 768px) {
    footer .footer-section.footer-section-brand,
    footer .footer-section.footer-section-links,
    footer .footer-section.footer-section-contact {
      text-align: center !important;
    }

    footer .footer-section.footer-section-brand h4,
    footer .footer-section.footer-section-links h4,
    footer .footer-section.footer-section-contact h4 {
      text-align: center !important;
    }

    footer .footer-section.footer-section-brand .footer-links,
    footer .footer-section.footer-section-links .footer-links,
    footer .footer-section.footer-section-contact .footer-links {
      text-align: center !important;
    }

    footer .footer-section.footer-section-brand .footer-links a,
    footer .footer-section.footer-section-links .footer-links a,
    footer .footer-section.footer-section-contact .footer-links a {
      text-align: center !important;
      display: block !important;
      margin-bottom: 6px !important;
    }

    /* Center logo and description on mobile */
    footer .footer-section.footer-section-brand .footer-logo {
      text-align: center !important;
      display: block !important;
      margin: 0 auto 20px auto !important;
    }

    footer .footer-section.footer-section-brand .footer-logo-img {
      display: block !important;
      margin: 0 auto !important;
    }

    footer .footer-section.footer-section-brand p {
      text-align: center !important;
      margin: 15px auto 0 auto !important;
    }
  }

  .detail-layout {
    grid-template-columns: 1fr;
  }

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

  .product-slider {
    height: 160px;
  }

  .product-info {
    padding: 15px;
  }

  .product-info h3 {
    font-size: 15px;
    margin-bottom: 10px;
  }

  .price {
    font-size: 17px;
  }

  .offer-price {
    font-size: 13px;
  }

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

  .customization-form {
    padding: 20px;
  }

  .categories {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 10px;
    margin: 20px -12px;
    padding-left: 12px;
    padding-right: 12px;
    display: flex;
    gap: 12px;
  }

  .categories::-webkit-scrollbar {
    display: none;
  }

  .category-btn {
    white-space: nowrap;
    flex-shrink: 0;
    padding: 14px 20px;
    font-size: 15px;
    min-height: 48px;
  }

  .whatsapp-btn {
    display: none;
  }

  .section-head {
    margin-bottom: 30px;
  }

  .section-head h2 {
    font-size: 24px;
    margin-bottom: 8px;
  }

  .section-head p {
    font-size: 15px;
  }

  .btn {
    padding: 16px 24px;
    font-size: 17px;
    min-height: 52px;
  }

  .view-all {
    margin-top: 30px;
  }

  .footer-logo-img {
    height: 48px;
  }
}

/* Prevent text selection on interactive elements */
.btn, .category-btn, .nav-toggle, .bottom-nav-item, .whatsapp-btn, .qty-btn {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* Smooth scrolling for mobile */
@media (max-width: 768px) {
  html {
    -webkit-overflow-scrolling: touch;
  }
  
  /* Fix banner image zoom on mobile */
  .fullscreen-banner {
    min-height: 60vh;
    padding: 60px 15px;
  }
  
  .hero-slide img,
  .hero-slide video {
    width: 100%;
    height: auto;
    min-height: 60vh;
    object-fit: cover;
    object-position: center;
  }
  
  .fullscreen-banner h1 {
    font-size: clamp(24px, 6vw, 32px);
    line-height: 1.3;
  }
  
  .fullscreen-banner p {
    font-size: clamp(14px, 3vw, 16px);
  }
  
  body {
    -webkit-overflow-scrolling: touch;
  }

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

/* ===================================
   RELATED PRODUCTS SECTION
   =================================== */

.related-products-section {
  padding: 60px 20px;
  background: var(--bg);
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-title {
  font-size: 32px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
}

.section-subtitle {
  font-size: 18px;
  color: var(--text-light);
  margin-bottom: 0;
}

.related-products-slider {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}

.related-products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.related-products-grid .product-card {
  margin: 0;
}

/* Responsive for Related Products Grid */
@media (max-width: 1024px) {
  .related-products-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
  }
}

@media (max-width: 768px) {
  .related-products-section {
    padding: 40px 15px;
  }
  
  .section-title {
    font-size: 24px;
  }
  
  .section-subtitle {
    font-size: 16px;
  }
  
  .related-products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
}

@media (max-width: 480px) {
  .related-products-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  
  /* Fix banner image zoom on small mobile */
  .fullscreen-banner {
    min-height: 50vh;
    padding: 40px 10px;
  }
  
  .hero-slide img,
  .hero-slide video {
    width: 100%;
    height: auto;
    min-height: 50vh;
    object-fit: cover;
    object-position: top center;
  }
  
  .fullscreen-banner h1 {
    font-size: clamp(20px, 7vw, 28px);
  }
  
  .fullscreen-banner p {
    font-size: clamp(12px, 4vw, 15px);
  }
  
  .hero-actions {
    flex-direction: column;
    gap: 10px;
  }
}

/* ========================================
   CUSTOMIZATION INPUTS STYLING
   ======================================== */

/* Product Options Container */
.product-options {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Option Groups */
.option-group {
  margin-bottom: 20px;
}

.option-group label {
  display: flex;
  align-items: center;
  font-weight: 600;
  font-size: 15px;
  color: var(--text);
  margin-bottom: 8px;
  gap: 6px;
}

.option-group label i {
  color: var(--orange);
  font-size: 16px;
}

.option-group .required {
  color: #e74c3c;
  font-size: 13px;
  margin-left: 4px;
}

.option-group small.text-muted {
  font-size: 12px;
  color: var(--text-light);
  margin-left: 6px;
  font-weight: 400;
}

/* Custom Select Dropdown */
.custom-select {
  width: 100%;
  padding: 14px 40px 14px 16px;
  border: 2px solid var(--border);
  border-radius: 12px;
  background: white;
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  cursor: pointer;
  transition: all 0.3s ease;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff6600' stroke-width='2.5' 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 16px center;
  background-size: 16px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
  position: relative;
}

.custom-select:hover {
  border-color: var(--orange-light);
  box-shadow: 0 2px 8px rgba(255, 102, 0, 0.1);
  transform: translateY(-1px);
}

.custom-select:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(255, 102, 0, 0.15);
  transform: translateY(-1px);
}

.custom-select:disabled {
  background-color: var(--card-bg);
  cursor: not-allowed;
  opacity: 0.6;
  box-shadow: none;
}

/* Custom select options styling */
.custom-select option {
  padding: 10px 14px;
  font-weight: 400;
  color: var(--text);
  background: white;
  border: none;
}

.custom-select option:hover,
.custom-select option:checked {
  background: var(--orange);
  color: white;
}

/* Enhance dropdown appearance in different browsers */
.custom-select::-ms-expand {
  display: none;
}

.custom-select::-webkit-calendar-picker-indicator {
  display: none;
}

/* Add focus ring for accessibility */
.custom-select:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 2px;
}

/* Color Options */
.color-options {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(50px, 1fr));
  gap: 10px;
  margin-top: 8px;
}

.color-option {
  position: relative;
  cursor: pointer;
}

.color-option input[type="radio"],
.color-option input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.color-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 2px solid transparent;
  transition: all 0.3s ease;
  position: relative;
  cursor: pointer;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}

.color-label:hover {
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.color-option input[type="radio"]:checked + .color-label,
.color-option input[type="checkbox"]:checked + .color-label {
  border-color: var(--orange);
  transform: scale(1.05);
  box-shadow: 0 0 0 2px rgba(255, 102, 0, 0.2);
}

.color-tooltip {
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 3px 6px;
  border-radius: 3px;
  font-size: 11px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 10;
}

.color-label:hover .color-tooltip {
  opacity: 1;
}

.price-adjustment {
  position: absolute;
  top: -6px;
  right: -6px;
  background: var(--orange);
  color: white;
  font-size: 9px;
  font-weight: 600;
  padding: 1px 4px;
  border-radius: 8px;
  white-space: nowrap;
}

/* Multi-select Buttons */
.multiselect-options {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 12px;
  margin-top: 10px;
}

.multiselect-btn {
  padding: 12px 20px;
  border: 2px solid var(--border);
  border-radius: 10px;
  background: white;
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.multiselect-btn:hover {
  border-color: var(--orange-light);
  background: var(--card-bg);
  transform: translateY(-1px);
}

.multiselect-btn.selected {
  border-color: var(--orange);
  background: var(--orange);
  color: white;
}

.multiselect-btn .price-adjustment {
  position: absolute;
  top: 4px;
  right: 4px;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  font-size: 9px;
  padding: 1px 4px;
  border-radius: 6px;
}

.multiselect-btn.selected .price-adjustment {
  background: rgba(255, 255, 255, 0.9);
  color: var(--orange);
}

/* Icon Options */
.icon-options {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(70px, 1fr));
  gap: 10px;
  margin-top: 8px;
}

.icon-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 12px 8px;
  border: 2px solid var(--border);
  border-radius: 10px;
  background: white;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.icon-option:hover {
  border-color: var(--orange-light);
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.icon-option.selected {
  border-color: var(--orange);
  background: rgba(255, 102, 0, 0.05);
}

.icon-option i {
  font-size: 20px;
  color: var(--orange);
  margin-bottom: 6px;
}

.icon-option span {
  font-size: 11px;
  color: var(--text);
  text-align: center;
  font-weight: 500;
}

.icon-option .price-adjustment {
  position: absolute;
  top: 3px;
  right: 3px;
  background: var(--orange);
  color: white;
  font-size: 8px;
  font-weight: 600;
  padding: 1px 4px;
  border-radius: 6px;
}

/* Text Inputs */
.text-inputs {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 8px;
}

.text-input-group {
  position: relative;
}

.text-input {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--border);
  border-radius: 10px;
  font-size: 15px;
  color: var(--text);
  background: white;
  transition: all 0.3s ease;
}

.text-input:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(255, 102, 0, 0.1);
}

.text-input::placeholder {
  color: var(--text-light);
  opacity: 0.7;
}

.char-count {
  position: absolute;
  bottom: -18px;
  right: 0;
  font-size: 11px;
  color: var(--text-light);
}

/* Radio and Checkbox Options */
.radio-options,
.checkbox-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 8px;
}

.radio-option,
.checkbox-option {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  border: 2px solid var(--border);
  border-radius: 10px;
  background: white;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
}

.radio-option:hover,
.checkbox-option:hover {
  border-color: var(--orange-light);
  background: var(--card-bg);
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(255, 102, 0, 0.1);
}

.radio-option input[type="radio"],
.checkbox-option input[type="checkbox"] {
  margin-right: 12px;
  width: 18px;
  height: 18px;
  accent-color: var(--orange);
  cursor: pointer;
}

/* Custom radio button styling */
.radio-option input[type="radio"] {
  appearance: none;
  width: 18px;
  height: 18px;
  border: 2px solid var(--border);
  border-radius: 50%;
  background: white;
  position: relative;
  cursor: pointer;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.radio-option input[type="radio"]:hover {
  border-color: var(--orange-light);
}

.radio-option input[type="radio"]:checked {
  border-color: var(--orange);
  background: var(--orange);
  box-shadow: 0 0 0 3px rgba(255, 102, 0, 0.1);
}

.radio-option input[type="radio"]:checked::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 6px;
  height: 6px;
  background: white;
  border-radius: 50%;
}

/* Custom checkbox styling */
.checkbox-option input[type="checkbox"] {
  appearance: none;
  width: 18px;
  height: 18px;
  border: 2px solid var(--border);
  border-radius: 4px;
  background: white;
  position: relative;
  cursor: pointer;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.checkbox-option input[type="checkbox"]:hover {
  border-color: var(--orange-light);
}

.checkbox-option input[type="checkbox"]:checked {
  border-color: var(--orange);
  background: var(--orange);
  box-shadow: 0 0 0 3px rgba(255, 102, 0, 0.1);
}

.checkbox-option input[type="checkbox"]:checked::after {
  content: '✓';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 11px;
  font-weight: bold;
}

.radio-option.selected,
.checkbox-option.selected {
  border-color: var(--orange);
  background: rgba(255, 102, 0, 0.05);
  box-shadow: 0 0 0 3px rgba(255, 102, 0, 0.1);
}

.radio-option .option-label,
.checkbox-option .option-label {
  flex: 1;
  font-weight: 500;
  color: var(--text);
  font-size: 14px;
}

.radio-option .price-adjustment,
.checkbox-option .price-adjustment {
  background: var(--orange);
  color: white;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 12px;
  margin-left: 8px;
  box-shadow: 0 1px 2px rgba(255, 102, 0, 0.2);
}

/* Textarea */
.textarea-input {
  width: 100%;
  padding: 15px 20px;
  border: 2px solid var(--border);
  border-radius: 12px;
  font-size: 16px;
  color: var(--text);
  background: white;
  resize: vertical;
  min-height: 100px;
  font-family: inherit;
  transition: all 0.3s ease;
}

.textarea-input:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(255, 102, 0, 0.1);
}

/* File Upload */
.file-upload {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 30px 20px;
  border: 2px dashed var(--border);
  border-radius: 12px;
  background: var(--card-bg);
  cursor: pointer;
  transition: all 0.3s ease;
}

.file-upload:hover {
  border-color: var(--orange-light);
  background: rgba(255, 102, 0, 0.05);
}

.file-upload input[type="file"] {
  position: absolute;
  opacity: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

.file-upload i {
  font-size: 32px;
  color: var(--orange);
  margin-bottom: 10px;
}

.file-upload span {
  font-size: 16px;
  color: var(--text);
  font-weight: 500;
}

.file-upload small {
  font-size: 13px;
  color: var(--text-light);
  margin-top: 5px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .color-options {
    grid-template-columns: repeat(auto-fill, minmax(45px, 1fr));
    gap: 8px;
  }
  
  .color-label {
    width: 45px;
    height: 45px;
  }
  
  .multiselect-options {
    grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
    gap: 8px;
  }
  
  .icon-options {
    grid-template-columns: repeat(auto-fill, minmax(60px, 1fr));
    gap: 8px;
  }
  
  .icon-option {
    padding: 10px 6px;
  }
  
  .icon-option i {
    font-size: 18px;
  }
  
  .custom-select,
  .text-input,
  .textarea-input {
    padding: 12px 14px;
    font-size: 15px;
  }
  
  .custom-select {
    padding: 12px 36px 12px 14px;
    background-position: right 12px center;
    background-size: 14px;
  }
  
  .radio-option,
  .checkbox-option {
    padding: 10px 14px;
  }
  
  .radio-option input[type="radio"],
  .checkbox-option input[type="checkbox"] {
    width: 16px;
    height: 16px;
    margin-right: 10px;
  }
  
  .radio-option .option-label,
  .checkbox-option .option-label {
    font-size: 13px;
  }
  
  .radio-option .price-adjustment,
  .checkbox-option .price-adjustment {
    font-size: 10px;
    padding: 3px 6px;
    margin-left: 6px;
  }
}

@media (max-width: 480px) {
  .multiselect-options {
    grid-template-columns: 1fr;
  }
  
  .icon-options {
    grid-template-columns: repeat(auto-fill, minmax(55px, 1fr));
  }
  
  .option-group {
    margin-bottom: 16px;
  }
  
  .option-group label {
    font-size: 14px;
    margin-bottom: 6px;
  }
  
  .custom-select {
    padding: 10px 32px 10px 12px;
    background-position: right 10px center;
    background-size: 12px;
  }
  
  .radio-option,
  .checkbox-option {
    padding: 8px 12px;
  }
  
  .radio-option input[type="radio"],
  .checkbox-option input[type="checkbox"] {
    width: 14px;
    height: 14px;
    margin-right: 8px;
  }
  
  .radio-option input[type="radio"]:checked::after {
    width: 5px;
    height: 5px;
  }
  
  .checkbox-option input[type="checkbox"]:checked::after {
    font-size: 9px;
  }
  
  .text-input {
    padding: 10px 12px;
    font-size: 14px;
  }
}

/* ========================================
   MOBILE PRODUCT PAGE - LENSKART STYLE
   ======================================== */

/* SECTION CONTROLS - Complete Separation */
.mobile-section {
  display: none;
}

.desktop-section {
  display: block;
}

/* Mobile Only - Show Mobile Section */
@media (max-width: 768px) {
  .mobile-section {
    display: block;
  }
  
  .desktop-section {
    display: none;
  }
}

/* Mobile Product Header - Lenskart Style - Mobile Only */
@media (max-width: 768px) {
  .mobile-product-header {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 48px;
    background: white;
    border-bottom: 1px solid #f0f0f0;
    z-index: 1000;
    padding: 0 12px;
    align-items: center;
    justify-content: space-between;
  }

  .back-btn {
    background: none;
    border: none;
    font-size: 20px;
    color: #333;
    cursor: pointer;
    padding: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    transition: background-color 0.2s ease;
  }

  .back-btn:hover {
    background-color: #f5f5f5;
  }

  .header-actions {
    display: flex;
    gap: 4px;
  }

  .share-btn, .wishlist-btn {
    background: none;
    border: none;
    padding: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.2s ease;
    color: #666;
  }

  .share-btn:hover, .wishlist-btn:hover {
    background-color: #f5f5f5;
    color: #333;
  }
}

/* Mobile Gallery Styles - Lenskart Hero Style - Mobile Only */
@media (max-width: 768px) {
  .mobile-gallery {
    display: block;
    margin-top: 48px; /* Account for smaller fixed header */
  }

  .bk-page .detail-layout {
    padding: 0;
    margin: 0;
  }

  .bk-page .detail-main {
    padding: 0;
    margin: 0;
    position: static;
    height: auto;
    box-shadow: none;
    border-radius: 0;
  }

  .mobile-gallery .main-image-container {
    width: 100%;
    height: 75vw;
    max-height: 500px;
    min-height: 300px;
    position: relative;
    background: #f8f9fa;
    overflow: hidden;
  }

  .mobile-gallery .main-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .mobile-gallery .product-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    color: white;
    padding: 3px 6px;
    border-radius: 3px;
    font-size: 10px;
    font-weight: 600;
    z-index: 2;
    letter-spacing: 0.5px;
  }

  .mobile-gallery .image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.03);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.2s ease;
    z-index: 3;
  }

  .mobile-gallery .main-image-container:active .image-overlay {
    opacity: 1;
  }

  .mobile-gallery .zoom-btn {
    background: rgba(255, 255, 255, 0.95);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  }

  .mobile-gallery .zoom-btn:hover {
    background: white;
    transform: scale(1.05);
  }

  .mobile-gallery .thumbnail-container {
    display: flex;
    gap: 6px;
    padding: 8px 16px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .mobile-gallery .thumbnail-container::-webkit-scrollbar {
    display: none;
  }

  .mobile-gallery .thumbnail {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    border-radius: 6px;
    overflow: hidden;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.2s ease;
  }

  .mobile-gallery .thumbnail.active {
    border-color: #ff6b6b;
  }

  .mobile-gallery .thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  /* Mobile Product Title - Space Optimized */
  .mobile-product-title {
    display: none;
    width: 100%;
    padding: 12px 16px 8px 16px;
    text-align: center;
  }

  .mobile-product-title h1 {
    font-size: 20px;
    font-weight: 700;
    color: #2c3e50;
    margin: 0;
    line-height: 1.3;
  }
}

/* Mobile Order Bar - E-commerce Style - Mobile Only */
@media (max-width: 768px) {
  .mobile-order-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    border-top: 1px solid #e0e0e0;
    padding: 12px 16px;
    z-index: 9999;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    transform: translateY(100%);
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    min-height: 60px;
  }

  .mobile-order-bar.show {
    transform: translateY(0);
    display: block;
  }

  .mobile-order-bar.merging {
    opacity: 0;
    transition: opacity 0.3s ease-out;
  }

  .order-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 600px;
    margin: 0 auto;
    padding: 10px 0;
  }

  .order-price {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  .price-label {
    font-size: 14px;
    color: #666;
    font-weight: 600;
    display: block;
    margin-bottom: 2px;
  }

  .price-amount {
    font-size: 22px;
    font-weight: 800;
    color: #2c3e50;
    display: block;
  }

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

  .mobile-qty-selector {
    display: flex;
    align-items: center;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
  }

  .mobile-qty-btn {
    background: #f8f9fa;
    border: none;
    width: 36px;
    height: 36px;
    font-size: 18px;
    font-weight: 600;
    color: #333;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: flex;
    align-items: center;
    justify-content: center;
    transform: scale(0.9);
  }

  .mobile-order-bar.show .mobile-qty-btn {
    animation: qtyButtonBounce 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55) 0.1s forwards;
  }

  @keyframes qtyButtonBounce {
    0% { transform: scale(0.9); }
    60% { transform: scale(1.1); }
    100% { transform: scale(1); }
  }

  .mobile-qty-btn:hover {
    background: #ff6b6b;
    color: white;
    transform: scale(1.1);
  }

  .mobile-qty-btn:active {
    transform: scale(0.95);
  }

  .mobile-qty-input {
    width: 40px;
    height: 36px;
    text-align: center;
    border: none;
    font-size: 14px;
    font-weight: 600;
    background: white;
    display: block;
  }

  .mobile-order-btn {
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 2px 8px rgba(238, 90, 36, 0.3);
    display: block;
    transform: scale(0.95);
  }

  .mobile-order-bar.show .mobile-order-btn {
    animation: buttonBounce 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55) 0.3s forwards;
  }

  @keyframes buttonBounce {
    0% { transform: scale(0.95); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
  }

  .mobile-order-btn:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 6px 16px rgba(238, 90, 36, 0.4);
  }

  .mobile-order-btn:active {
    transform: translateY(-1px) scale(0.98);
  }
}

/* Coming Soon Page Styles */
.coming-soon-section {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  text-align: center;
  padding: 40px 20px;
}

.coming-soon-content {
  max-width: 600px;
}

.coming-soon-icon {
  font-size: 80px;
  margin-bottom: 20px;
  animation: bounce 2s infinite;
}

.coming-soon-title {
  font-size: 36px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 20px;
}

.coming-soon-text {
  font-size: 18px;
  color: var(--text);
  margin-bottom: 15px;
  line-height: 1.6;
}

.coming-soon-subtitle {
  font-size: 16px;
  color: var(--gray);
  margin-bottom: 30px;
}

.coming-soon-actions {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

/* Mobile Responsive for Coming Soon */
@media (max-width: 768px) {
  .coming-soon-section {
    min-height: 50vh;
    padding: 20px 15px;
  }
  
  .coming-soon-icon {
    font-size: 60px;
  }
  
  .coming-soon-title {
    font-size: 28px;
  }
  
  .coming-soon-text {
    font-size: 16px;
  }
  
  .coming-soon-actions {
    flex-direction: column;
    align-items: center;
  }
  
  .coming-soon-actions .btn {
    width: 100%;
    max-width: 250px;
  }
}

/* Hide bottom nav for BK page - Mobile Only */
@media (max-width: 768px) {
  body.bk-page .bottom-nav {
    display: none !important;
  }

  /* Hide default header on mobile */
  .bk-page header:not(.mobile-product-header) {
    display: none !important;
  }

  /* Hide discount banner on mobile for cleaner look */
  .bk-page .discount-banner {
    display: none !important;
  }

  /* Remove body padding for mobile - no longer needed with new header */
  body.bk-page {
    padding-top: 0 !important;
  }

  /* More specific override to ensure it works */
  body.bk-page {
    padding-top: 0px !important;
  }
}

/* Additional Mobile Styles from HTML - Mobile Only */
@media (max-width: 768px) {
  .main-image-container {
    position: relative;
    width: 100%;
    height: 400px;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    background: #f5f5f5;
    transition: opacity 0.3s ease;
  }

  .main-image-container img,
  .main-image-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .main-image-container:hover img,
  .main-image-container:hover video {
    transform: scale(1.02);
  }
}

/* Media Types - Desktop Only (preserve original desktop functionality) */
@media (min-width: 769px) {
  .media-type {
    position: absolute;
    top: 5px;
    right: 5px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 10px;
    z-index: 5;
  }

  .video-thumb .media-type {
    background: rgba(255, 0, 0, 0.7);
  }
}

/* Image Overlay - Mobile Only */
@media (max-width: 768px) {
  .image-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
    transition: opacity 0.3s ease;
    z-index: 10;
  }

  .main-image-container:hover .image-overlay {
    opacity: 1;
  }

  /* Hide zoom button on mobile - image directly clickable */
  .zoom-btn {
    display: none;
  }
}

/* Product Features - Mobile Only */
@media (max-width: 768px) {
  .product-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin: 20px 0;
  }

  .feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #f8f9fa;
    padding: 15px;
    border-radius: 12px;
    color: var(--text-light);
  }

  .feature-icon {
    font-size: 18px;
  }

  .char-counter {
    text-align: right;
    font-size: 12px;
    color: var(--text-light);
    margin-top: 5px;
  }

  .color-option {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    cursor: pointer;
  }

  .color-option input[type="radio"] {
    margin: 0;
  }

  .color-dot {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2px solid var(--border);
    transition: all 0.3s ease;
  }

  .color-option input[type="radio"]:checked + .color-dot {
    border-color: var(--orange);
    transform: scale(1.1);
  }

  .price-summary {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 12px;
    margin: 20px 0;
  }

  .price-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 14px;
  }

  .price-row.total {
    border-top: 2px solid var(--border);
    padding-top: 10px;
    font-weight: 700;
    font-size: 16px;
    color: var(--orange);
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-top: 25px;
  }

  .btn {
    padding: 15px 25px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
  }

  .btn.primary {
    background: var(--orange);
    color: white;
  }

  .btn.primary:hover {
    background: var(--orange-dark);
    transform: translateY(-2px);
  }

  .btn.secondary {
    background: white;
    color: var(--orange);
    border: 2px solid var(--orange);
  }

  .btn.secondary:hover {
    background: var(--orange);
    color: white;
  }
}

/* Lightbox Styles */
.image-lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  z-index: 9999;
  cursor: pointer;
}

.image-lightbox.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 40px;
  font-size: 30px;
  color: white;
  cursor: pointer;
  z-index: 10000;
}

.image-lightbox img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
  border-radius: 8px;
}

/* Desktop Section - Original Styling - Desktop Only */
@media (min-width: 769px) {
  .desktop-section {
    display: block;
  }
  
  .mobile-section {
    display: none;
  }

  .desktop-gallery {
    display: block;
  }
  
  .mobile-gallery {
    display: none;
  }
}

/* Desktop Media Grid - Desktop Only */
@media (min-width: 769px) {
  .media-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    position: relative;
  }

  .media-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: #f8f9fa;
    aspect-ratio: 1;
  }

  .media-item:hover {
    transform: scale(1.02);
  }

  .media-item img,
  .media-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .media-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
  }

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

  .media-overlay .zoom-btn {
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
  }

  .media-overlay .zoom-btn:hover {
    background: white;
    transform: scale(1.1);
  }
}

/* Mobile Responsive - Ultra Space Optimized */
@media (max-width: 768px) {
  .mobile-product-header {
    display: flex;
  }

  .mobile-product-title {
    display: block;
  }
  
  .detail h1 {
    display: none;
  }

  .page {
    padding: 0;
    padding: 0 5px;
    margin: 0;
  }

  .detail-layout {
    padding: 0;
    margin: 0;
  }

  .detail {
    padding: 0 16px 16px 16px;
  }

  .detail h2 {
    font-size: 18px;
    margin-bottom: 12px;
  }

  .price {
    font-size: 24px;
    margin-bottom: 16px;
  }

  .product-features {
    grid-template-columns: 1fr;
    gap: 8px;
    margin-bottom: 16px;
  }

  .product-feature {
    padding: 8px;
    font-size: 13px;
  }

  .hero-actions {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .main-image-container img {
    height: 300px;
  }

  .mobile-order-bar {
    display: block;
  }
}

/* ==========================================================================
   PRODUCT GALLERY STYLES
   ========================================================================== */

/* Prevent extra scrollbar from customization */
.product-options {
  max-height: none;
  overflow: visible;
}

.option-group {
  margin-bottom: 20px;
}

.option-group:last-child {
  margin-bottom: 0;
}

/* Ensure file uploads don't cause overflow */
.file-upload {
  overflow: hidden;
}

.file-input {
  max-width: 100%;
}

/* Prevent text inputs from causing overflow */
.text-input {
  max-width: 100%;
  box-sizing: border-box;
}

/* Ensure selects don't cause overflow */
.custom-select {
  max-width: 100%;
  box-sizing: border-box;
}

/* Prevent color options from causing overflow */
.color-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.color-option {
  flex-shrink: 0;
}

/* Prevent radio/checkbox options from causing overflow */
.radio-options,
.checkbox-options {
  max-width: 100%;
}

.radio-option,
.checkbox-option {
  margin-bottom: 8px;
}

/* Ensure price adjustments don't cause overflow */
.price-adjustment {
  display: inline-block;
  white-space: nowrap;
}

/* Prevent descriptions from causing layout issues */
.rule-description,
.option-description {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: #666;
  line-height: 1.3;
}

/* Remove problematic CSS fixes */

/* Ensure content doesn't cause unnecessary vertical scrolling */
.option-group {
  margin-bottom: 15px;
}

/* Prevent extra vertical space */
.product-options > div:last-child {
  margin-bottom: 0;
}

/* Reduce padding in customization elements */
.product-options input,
.product-options select,
.product-options textarea {
  padding: 8px;
  margin: 2px 0;
}

/* Compact option descriptions */
.rule-description,
.option-description {
  margin: 2px 0;
  font-size: 11px;
}

/* Fix horizontal scrollbar - targeted approach */
.product-options {
  width: 100%;
  box-sizing: border-box;
}

.product-options input,
.product-options select,
.product-options textarea {
  width: 100%;
  box-sizing: border-box;
  max-width: 100%;
}

/* Ensure file upload elements are contained */
.file-upload {
  width: 100%;
  box-sizing: border-box;
}

/* Fix any potential overflow from color options */
.color-options {
  width: 100%;
  box-sizing: border-box;
  display: flex;
  flex-wrap: wrap;
}

/* Product Gallery Styles */
.main-image-container {
  position: relative;
  width: 100%;
  height: 400px;
  overflow: hidden;
  border-radius: 12px;
  background: #f8f9fa;
  cursor: pointer;
}

.product-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: linear-gradient(135deg, #ff6b6b, #ee5a24);
  color: white;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  z-index: 10;
  box-shadow: 0 2px 8px rgba(238, 90, 36, 0.3);
}

.image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.main-image-container:hover .image-overlay,
.media-item:hover .media-overlay {
  opacity: 1;
  pointer-events: all;
}

.zoom-btn {
  background: rgba(255, 255, 255, 0.9);
  border: none;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.zoom-btn:hover {
  background: white;
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

/* ===================================
   ABOUT US PAGE STYLES - THEME MATCHED
   =================================== */

/* About Hero Section */
.about-hero {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-dark) 100%);
  padding: 40px 20px;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0.1;
}

.hero-pattern {
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.3) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.2) 0%, transparent 50%),
    radial-gradient(circle at 40% 20%, rgba(255, 255, 255, 0.2) 0%, transparent 50%);
  animation: float 6s ease-in-out infinite;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 800px;
  width: 100%;
}

.hero-text h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  color: white;
  margin-bottom: 20px;
  line-height: 1.1;
}

.hero-subtitle {
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 30px;
  font-weight: 400;
}

.hero-description {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
  margin-bottom: 40px;
  max-width: 600px;
}

/* Simple Hero Visual */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 20px;
}

.hero-icon {
  font-size: 80px;
  color: white;
  opacity: 0.8;
  animation: pulse 2s infinite;
}

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

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

/* Story Section */
.story-section {
  padding: 60px 20px;
  background: var(--bg);
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 15px;
}

.section-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
}

.story-content {
  display: flex;
  flex-direction: column;
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto;
}

.story-timeline {
  position: relative;
}

.timeline-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 40px;
  position: relative;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: 30px;
  top: 60px;
  bottom: -40px;
  width: 2px;
  background: linear-gradient(180deg, var(--orange) 0%, transparent 100%);
}

.timeline-item:last-child::before {
  display: none;
}

.timeline-marker {
  flex-shrink: 0;
  margin-right: 30px;
}

.timeline-icon {
  width: 60px;
  height: 60px;
  background: var(--orange);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: white;
  box-shadow: 0 4px 12px rgba(255, 102, 0, 0.3);
}

.timeline-content h3 {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 10px;
}

.timeline-content p {
  color: var(--text-light);
  line-height: 1.6;
}

.story-visual {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.image-placeholder {
  width: 250px;
  height: 250px;
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  border-radius: 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.placeholder-icon {
  font-size: 60px;
  margin-bottom: 15px;
}

.placeholder-text {
  font-size: 1.1rem;
  color: var(--text-light);
  font-weight: 500;
}

/* Mission & Vision Section */
.mission-vision-section {
  padding: 60px 20px;
  background: var(--card-bg);
}

.mission-vision-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
}

.mission-card, .vision-card {
  background: white;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mission-card:hover, .vision-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.card-icon {
  font-size: 40px;
  margin-bottom: 15px;
}

.mission-card h3, .vision-card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 15px;
}

.mission-card p, .vision-card p {
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 20px;
}

.card-features {
  list-style: none;
  padding: 0;
}

.card-features li {
  padding: 6px 0;
  color: var(--text);
  position: relative;
  padding-left: 25px;
}

.card-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--orange);
  font-weight: bold;
}

/* Values Section */
.values-section {
  padding: 60px 20px;
  background: var(--bg);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  max-width: 1000px;
  margin: 0 auto;
}

.value-item {
  text-align: center;
  padding: 30px 20px;
  background: white;
  border-radius: 15px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.value-item:hover {
  transform: translateY(-3px);
}

.value-icon {
  font-size: 40px;
  margin-bottom: 15px;
}

.value-item h4 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 10px;
}

.value-item p {
  color: var(--text-light);
  line-height: 1.6;
  font-size: 0.95rem;
}

/* Team Section */
.team-section {
  padding: 60px 20px;
  background: var(--card-bg);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 25px;
  max-width: 800px;
  margin: 0 auto;
}

.team-member {
  text-align: center;
  background: white;
  padding: 30px 20px;
  border-radius: 15px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.team-member:hover {
  transform: translateY(-3px);
}

.member-avatar {
  margin-bottom: 15px;
}

.avatar-placeholder {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-dark) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

.avatar-icon {
  font-size: 30px;
  color: white;
}

.team-member h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}

.member-role {
  color: var(--orange);
  font-weight: 500;
  margin-bottom: 10px;
  font-size: 0.9rem;
}

.member-bio {
  color: var(--text-light);
  line-height: 1.5;
  font-size: 0.85rem;
}

/* Stats Section */
.stats-section {
  padding: 80px 20px;
  background: var(--orange);
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.stats-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.stat-item {
  padding: 30px 20px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: transform 0.3s ease, background 0.3s ease;
  position: relative;
  overflow: hidden;
}

.stat-item::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.stat-item:hover::before {
  opacity: 1;
}

.stat-item:hover {
  transform: translateY(-10px) scale(1.05);
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.stat-number {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 15px;
  color: white;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  position: relative;
  display: inline-block;
}

.stat-number::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: white;
  border-radius: 2px;
  opacity: 0.8;
}

.stat-label {
  font-size: 1.1rem;
  opacity: 0.95;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  color: #ffffff;
}

/* Animated particles background */
.stats-section .particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
}

.stats-section .particle {
  position: absolute;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  animation: floatUp 8s infinite linear;
}

@keyframes floatUp {
  0% {
    transform: translateY(100vh) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: translateY(-100vh) rotate(360deg);
    opacity: 0;
  }
}

/* CTA Section */
.cta-section {
  padding: 60px 20px;
  background: var(--bg);
  text-align: center;
}

.cta-content h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 15px;
}

.cta-content p {
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: 30px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-large {
  padding: 12px 25px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-primary {
  background: var(--orange);
  color: white;
  border: 2px solid var(--orange);
}

.btn-primary:hover {
  background: white;
  color: var(--orange);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 102, 0, 0.3);
}

.btn-secondary {
  background: white;
  color: var(--orange);
  border: 2px solid var(--orange);
}

.btn-secondary:hover {
  background: var(--orange);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 102, 0, 0.3);
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .about-hero {
    min-height: 50vh;
    padding: 30px 15px;
  }
  
  .hero-icon {
    font-size: 60px;
  }
  
  .story-content {
    gap: 30px;
  }
  
  .timeline-item {
    margin-bottom: 30px;
  }
  
  .timeline-item::before {
    left: 25px;
    top: 50px;
    bottom: -30px;
  }
  
  .timeline-marker {
    margin-right: 20px;
  }
  
  .timeline-icon {
    width: 50px;
    height: 50px;
    font-size: 20px;
  }
  
  .image-placeholder {
    width: 200px;
    height: 200px;
  }
  
  .placeholder-icon {
    font-size: 50px;
  }
  
  .mission-vision-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .mission-card, .vision-card {
    padding: 25px 20px;
  }
  
  .values-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .team-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    max-width: 400px;
  }
  
  .stat-item {
    padding: 25px 20px;
  }
  
  .stat-number {
    font-size: 2.5rem;
  }
  
  .stat-label {
    font-size: 1rem;
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .btn-large {
    width: 100%;
    max-width: 250px;
  }
}

/* ===================================
   CONTACT US PAGE STYLES
   =================================== */

/* Contact Hero Section */
.contact-hero {
  padding: 80px 20px;
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-dark) 100%);
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.contact-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

.hero-title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  margin-bottom: 20px;
  animation: fadeInUp 0.8s ease;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.3rem);
  margin-bottom: 30px;
  opacity: 0.9;
  line-height: 1.6;
  animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-contact-info {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease 0.4s both;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.1);
  padding: 12px 20px;
  border-radius: 50px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: transform 0.3s ease, background 0.3s ease;
}

.contact-item:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.2);
}

.contact-icon {
  font-size: 1.2rem;
}

.contact-text {
  font-size: 0.95rem;
  font-weight: 500;
}

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

/* Contact Main Section */
.contact-main {
  padding: 80px 20px;
  background: var(--bg);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Enhanced Form Styles */
.contact-form-section {
  animation: fadeInUp 0.8s ease 0.6s both;
}

.section-header {
  margin-bottom: 30px;
}

.section-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--text-light);
  line-height: 1.5;
}

.contact-form {
  background: white;
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--border);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  max-width: 500px;
  width: 100%;
  text-align: left;
}

.contact-form:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

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

.form-group {
  position: relative;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--text);
  font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid var(--border);
  border-radius: 10px;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: var(--bg);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(255, 102, 0, 0.1);
  background: white;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 0.9rem;
  color: var(--text);
}

.checkbox-label input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: var(--orange);
}

/* Enhanced Info Cards */
.contact-info-section {
  animation: fadeInUp 0.8s ease 0.8s both;
}

.info-card {
  background: white;
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--border);
  margin-bottom: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.info-card-content {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.info-icon {
  font-size: 2.5rem;
  margin-bottom: 0;
  display: block;
  animation: pulse 2s infinite;
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-light) 100%);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(255, 102, 0, 0.2);
  transition: transform 0.3s ease;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

.info-content {
  flex: 1;
  min-width: 0;
}

.info-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--orange) 0%, var(--orange-light) 100%);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.info-card:hover::before {
  transform: scaleX(1);
}

.info-card:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.info-card:hover .info-icon {
  transform: scale(1.1) rotate(5deg);
}

.info-card h3 {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 10px;
}

.info-card p {
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 15px;
}

.info-details p {
  margin-bottom: 8px;
  font-size: 0.9rem;
}

.quick-contacts {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.quick-contact {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 15px;
  background: var(--card-bg);
  border-radius: 10px;
  text-decoration: none;
  color: var(--text);
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.quick-contact:hover {
  background: var(--orange);
  color: white;
  transform: translateX(5px);
  border-color: var(--orange-dark);
}

.quick-icon {
  font-size: 1.1rem;
}

.custom-services {
  list-style: none;
  padding: 0;
}

.custom-services li {
  padding: 5px 0;
  color: var(--text);
  position: relative;
  padding-left: 20px;
}

.custom-services li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--orange);
  font-weight: bold;
}

/* Form Success Message */
.form-success {
  text-align: center;
  padding: 40px;
  background: #f0fdf4;
  border-radius: 15px;
  border: 2px solid #22c55e;
}

.success-icon {
  font-size: 60px;
  margin-bottom: 20px;
}

.form-success h3 {
  color: #16a34a;
  margin-bottom: 10px;
}

.form-success p {
  color: var(--text-light);
}

/* FAQ Section */
.faq-section {
  padding: 80px 20px;
  background: var(--card-bg);
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
}

.faq-item {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: fadeInUp 0.8s ease 1s both;
  border: 1px solid var(--border);
}

.faq-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.faq-question {
  padding: 20px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--bg);
  transition: background 0.3s ease;
  position: relative;
}

.faq-question::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--orange);
  transform: scaleY(0);
  transition: transform 0.3s ease;
}

.faq-item.active .faq-question::before {
  transform: scaleY(1);
}

.faq-question h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
  margin: 0;
  padding-right: 30px;
}

.faq-toggle {
  font-size: 1.5rem;
  color: var(--orange);
  font-weight: 300;
  transition: transform 0.3s ease;
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
}

.faq-item.active .faq-toggle {
  transform: translateY(-50%) rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  background: white;
  opacity: 0;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 20px;
  opacity: 1;
}

.faq-answer p {
  color: var(--text-light);
  line-height: 1.6;
  margin: 0;
}

/* Enhanced Social Section */
.social-section {
  padding: 80px 20px;
  background: linear-gradient(135deg, var(--card-bg) 0%, var(--bg) 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.social-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 50%, rgba(255, 102, 0, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255, 102, 0, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 25px;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease 1.4s both;
  position: relative;
  z-index: 2;
}

.social-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  padding: 30px 25px;
  background: white;
  border-radius: 25px;
  text-decoration: none;
  color: var(--text);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid var(--border);
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.social-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-light) 100%);
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 0;
}

.social-link:hover::before {
  transform: translateY(0);
}

.social-link:hover {
  transform: translateY(-8px) scale(1.08);
  box-shadow: 0 20px 40px rgba(255, 102, 0, 0.4);
  border-color: var(--orange);
}

.social-link:hover .social-icon,
.social-link:hover .social-name {
  color: white;
  position: relative;
  z-index: 1;
  transform: scale(1.1);
}

.social-icon {
  font-size: 2.5rem;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  z-index: 1;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-light) 100%);
  border-radius: 50%;
  box-shadow: 0 8px 20px rgba(255, 102, 0, 0.2);
}

.social-link:hover .social-icon {
  transform: scale(1.2) rotate(10deg);
}

.social-name {
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  z-index: 1;
}

/* Social icon specific backgrounds */
.social-link:nth-child(1) .social-icon {
  background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
}

.social-link:nth-child(2) .social-icon {
  background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
}

.social-link:nth-child(3) .social-icon {
  background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
}

.social-link:nth-child(4) .social-icon {
  background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
}

/* Social hover effects */
.social-link:nth-child(1):hover {
  box-shadow: 0 20px 40px rgba(255, 107, 49, 0.4);
}

.social-link:nth-child(2):hover {
  box-shadow: 0 20px 40px rgba(59, 89, 152, 0.4);
}

.social-link:nth-child(3):hover {
  box-shadow: 0 20px 40px rgba(59, 130, 246, 0.4);
}

.social-link:nth-child(4):hover {
  box-shadow: 0 20px 40px rgba(24, 119, 242, 0.4);
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .contact-main {
    padding: 60px 15px;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .contact-form {
    padding: 30px 20px;
    border-radius: 15px;
  }
  
  .form-row {
    grid-template-columns: 1fr;
    gap: 15px;
    margin-bottom: 15px;
  }
  
  .form-group {
    margin-bottom: 15px;
  }
  
  .form-group input,
  .form-group select,
  .form-group textarea {
    padding: 15px;
    font-size: 16px; /* Larger for mobile */
  }
  
  .form-group textarea {
    min-height: 100px;
  }
  
  .info-card {
    padding: 25px 20px;
    margin-bottom: 15px;
  }
  
  .info-card-content {
    flex-direction: column;
    gap: 15px;
  }
  
  .info-icon {
    font-size: 2rem;
    width: 50px;
    height: 50px;
  }
  
  .info-content {
    min-width: 0;
  }
  
  .info-card h3 {
    font-size: 1.2rem;
  }
  
  .faq-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  
  .faq-item {
    margin-bottom: 15px;
  }
  
  .faq-question {
    padding: 15px;
  }
  
  .faq-question h3 {
    font-size: 1rem;
    padding-right: 40px;
  }
  
  .faq-toggle {
    right: 15px;
    font-size: 1.3rem;
  }
  
  .social-section {
    padding: 60px 15px;
  }
  
  .social-links {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }
  
  .social-link {
    padding: 20px 15px;
    width: 100%;
    max-width: 280px;
  }
  
  .social-icon {
    font-size: 1.8rem;
    width: 50px;
    height: 50px;
  }
  
  .social-name {
    font-size: 0.9rem;
  }
  
  .section-title {
    font-size: clamp(1.4rem, 4vw, 1.8rem);
  }
  
  .section-subtitle {
    font-size: 0.95rem;
  }
}

.detail-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 12px;
}

.detail-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.3s ease;
}

.detail-thumb:hover {
  border-color: #ff6b6b;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.detail-thumb.active {
  border-color: #ff6b6b;
  box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.2);
}

/* Make thumbs smaller on mobile without affecting layout */
@media (max-width: 768px) {
  .detail-thumbs {
    grid-template-columns: repeat(6, 1fr);
    gap: 6px;
  }
}

/* Desktop Gallery */
.desktop-gallery {
  display: none;
}

.media-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
}

.media-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s ease;
  aspect-ratio: 1;
}

.media-item:hover {
  transform: scale(1.02);
}

/* Common Media Styles */
.detail-thumb img,
.detail-thumb video,
.media-item img,
.media-item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-type {
  position: absolute;
  bottom: 4px;
  right: 4px;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 10px;
}

/* Lightbox */
.image-lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  z-index: 10000;
  align-items: center;
  justify-content: center;
}

.image-lightbox.active {
  display: flex;
}

.lightbox-content {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 90vw;
  height: 90vh;
}

.close-lightbox {
  position: absolute;
  top: -40px;
  right: 0;
  color: white;
  font-size: 30px;
  cursor: pointer;
  background: none;
  border: none;
}

.image-lightbox img,
.image-lightbox video {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 8px;
}

/* Product Gallery Responsive */
@media (min-width: 769px) {
  .mobile-gallery {
    display: none;
  }
  .desktop-gallery {
    display: block;
  }
}

@media (max-width: 768px) {
  .main-image-container {
    height: 300px;
  }
}

/* Product Footer Bar */
.product-footer-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #ff6600;
  color: white;
  padding: 15px 20px;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
  z-index: 99999;
  transform: translateY(0);
}

/* Hide footer bar on desktop */
@media (min-width: 769px) {
  .product-footer-bar {
    display: none;
  }
}

.product-footer-bar.show {
  transform: translateY(0);
}

.footer-bar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-price {
  font-size: 18px;
  font-weight: 700;
  color: white;
}

.footer-qty {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-qty-btn {
  width: 32px;
  height: 32px;
  border: none;
  background: rgba(255, 255, 255, 0.2);
  color: white;
  border-radius: 50%;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-qty-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.1);
}

.footer-qty-value {
  min-width: 24px;
  text-align: center;
  font-weight: 600;
  font-size: 16px;
}

.footer-order-btn {
  background: white;
  color: #ff6600;
  border: 2px solid #ff6600;
  padding: 14px 24px;
  border-radius: 30px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 102, 0, 0.3);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  min-width: 140px;
  position: relative;
  overflow: hidden;
  animation: pulse 2s infinite;
}

.footer-order-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 102, 0, 0.3), transparent);
  transition: left 0.5s ease;
}

.footer-order-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(255, 102, 0, 0.4);
  background: white;
  color: #ff4500;
  border-color: #ff4500;
  animation: shake 0.5s;
}

.footer-order-btn:hover::before {
  left: 100%;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 4px 15px rgba(255, 102, 0, 0.3);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 4px 20px rgba(255, 102, 0, 0.5);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 4px 15px rgba(255, 102, 0, 0.3);
  }
}

@keyframes shake {
  0%, 100% {
    transform: translateX(0);
  }
  25% {
    transform: translateX(-2px);
  }
  75% {
    transform: translateX(2px);
  }
}

.btn-icon {
  margin-right: 6px;
}

/* Style Card Selection Styles */
.style-card.selected {
  border-color: var(--orange) !important;
  background: linear-gradient(135deg, #fff5f0 0%, #ffffff 100%) !important;
  box-shadow: 0 4px 16px rgba(255, 102, 0, 0.3) !important;
  transform: translateY(-2px);
}

.style-card.selected .style-icon-container {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

.style-card:hover {
  border-color: var(--orange);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

.style-card:active {
  transform: translateY(0);
}

/* Footer Social Icons */
.social-icons {
  display: flex;
  gap: 16px;
  margin-top: 16px;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #6b7280;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 102, 0, 0.2);
}

.social-icons a:hover {
  background: var(--orange);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 102, 0, 0.3);
}

.social-icons i {
  font-size: 18px;
}

/* Mobile Responsive for Social Icons */
@media (max-width: 768px) {
  .social-icons {
    gap: 12px;
    margin-top: 12px;
    justify-content: center;
  }
  
  .social-icons a {
    width: 36px;
    height: 36px;
  }
  
  .social-icons i {
    font-size: 16px;
  }
}
