/* Thrift Zone - Professional E-commerce Styles */
/* Inspired by TataCliq with modern touches */

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

/* CSS Variables - Professional Color Palette */
:root {
  /* Primary Colors */
  --primary-color: #2874F0;
  --primary-hover: #1e5bb8;
  --secondary-color: #FF6B35;
  --accent-color: #10B981;
  
  /* Neutral Colors */
  --text-primary: #1a202c;
  --text-secondary: #4a5568;
  --text-muted: #718096;
  --background: #ffffff;
  --surface: #f7fafc;
  --border: #e2e8f0;
  --border-light: #f1f5f9;
  
  /* Status Colors */
  --success: #10B981;
  --warning: #F59E0B;
  --error: #EF4444;
  --info: #3B82F6;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  
  /* Spacing */
  --spacing-xs: 0.25rem;
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 1.5rem;
  --spacing-xl: 2rem;
  --spacing-2xl: 3rem;
  --spacing-3xl: 4rem;
  
  /* Border Radius */
  --radius-sm: 0.375rem;
  --radius: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.5rem;
  
  /* Transitions */
  --transition: all 0.2s ease-in-out;
  --transition-slow: all 0.3s ease-in-out;
  
  /* Typography */
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-secondary: 'Poppins', sans-serif;
  
  /* Container */
  --container-max-width: 1200px;
  --container-padding: 1rem;
}

/* Dark Mode Variables */
[data-theme="dark"] {
  --text-primary: #f7fafc;
  --text-secondary: #e2e8f0;
  --text-muted: #a0aec0;
  --background: #1a202c;
  --surface: #2d3748;
  --border: #4a5568;
  --border-light: #2d3748;
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: var(--font-primary);
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--background);
  transition: var(--transition);
}

/* Container */
.container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-secondary);
  font-weight: 700;
  line-height: 1.3;
  color: var(--text-primary);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

p {
  color: var(--text-secondary);
  margin-bottom: var(--spacing-md);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-sm);
  padding: var(--spacing-sm) var(--spacing-lg);
  border: 2px solid transparent;
  border-radius: var(--radius);
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
  font-size: 0.875rem;
  line-height: 1.5;
}

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

.btn-primary:hover {
  background-color: var(--primary-hover);
  border-color: var(--primary-hover);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background-color: transparent;
  color: var(--primary-color);
  border-color: var(--primary-color);
}

.btn-secondary:hover {
  background-color: var(--primary-color);
  color: white;
  transform: translateY(-1px);
}










/* Header Styles */
.header {
  background-color: var(--background);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: var(--transition);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--spacing-md) var(--container-padding);
  gap: var(--spacing-lg);
}

/* Logo Styles */
.logo {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  flex-shrink: 0;
}

/* .logo-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius);
  object-fit: cover;
} */

.logo-text h1 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin: 0;
}

.tagline {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 400;
}







.logo-icon {
    max-width: 150px;
    height: auto;
    width: auto;
}

@media (max-width: 768px) {
    .logo-icon {
        max-width: 120px;
    }
}

@media (max-width: 480px) {
    .logo-icon {
        max-width: 120px;
    }
}



.logo {
  width: 250px;
  height: auto;
  max-width: 100%;
}

/* Responsive scaling */
@media (max-width: 1199px) { .logo { width: 200px; } }
@media (max-width: 991px)  { .logo { width: 160px; } }
@media (max-width: 767px)  { .logo { width: 140px; } }
@media (max-width: 480px)  { .logo { width: 120px; } }
@media (max-width: 320px)  { .logo { width: 100px; } }






/* Search Container */
.search-container {
  flex: 1;
  max-width: 500px;
  position: relative;
}

.search-box {
  display: flex;
  background-color: var(--surface);
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
}

.search-box:focus-within {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(40, 116, 240, 0.1);
}

#search-input {
  flex: 1;
  padding: var(--spacing-sm) var(--spacing-md);
  border: none;
  background: transparent;
  font-size: 0.875rem;
  color: var(--text-primary);
  outline: none;
}

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

.search-btn {
  background-color: var(--primary-color);
  color: white;
  border: none;
  padding: var(--spacing-sm) var(--spacing-md);
  cursor: pointer;
  transition: var(--transition);
}

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

/* Search Suggestions */
.search-suggestions {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background-color: var(--background);
  border: 1px solid var(--border);
  border-top: none;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  box-shadow: var(--shadow-lg);
  z-index: 100;
  display: none;
}

.suggestion-item {
  padding: var(--spacing-sm) var(--spacing-md);
  cursor: pointer;
  transition: var(--transition);
  border-bottom: 1px solid var(--border-light);
}

.suggestion-item:hover {
  background-color: var(--surface);
}

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

/* Navigation */
.nav {
  display: flex;
  gap: var(--spacing-lg);
  align-items: center;
}

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.875rem;
  padding: var(--spacing-sm) 0;
  position: relative;
  transition: var(--transition);
}

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

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: var(--transition);
}

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

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
}

.theme-toggle {
  background: none;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: var(--spacing-sm);
  cursor: pointer;
  color: var(--text-secondary);
  transition: var(--transition);
}

.theme-toggle:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
}

.live-indicator {
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
  background-color: var(--success);
  color: white;
  padding: var(--spacing-xs) var(--spacing-sm);
  border-radius: var(--radius-xl);
  font-size: 0.75rem;
  font-weight: 500;
}

.pulse {
  width: 6px;
  height: 6px;
  background-color: white;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { opacity: 1; }
  50% { opacity: 0.5; }
  100% { opacity: 1; }
}

/* Mobile Navigation */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--spacing-xs);
}

.mobile-menu-toggle span {
  width: 20px;
  height: 2px;
  background-color: var(--text-primary);
  transition: var(--transition);
}

.mobile-nav {
  position: fixed;
  top: 0;
  left: -100%;
  width: 280px;
  height: 100vh;
  background-color: var(--background);
  box-shadow: var(--shadow-xl);
  z-index: 1001;
  transition: var(--transition-slow);
  overflow-y: auto;
}

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

.mobile-nav-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--spacing-lg);
  border-bottom: 1px solid var(--border);
}

.mobile-nav-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-secondary);
}

.mobile-nav-content {
  padding: var(--spacing-lg);
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  padding: var(--spacing-md) 0;
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid var(--border-light);
  transition: var(--transition);
}

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
















/* AUTHENTICATION STYLES */

/* Header Auth Section */
.auth-section {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.auth-buttons {
    display: flex;
    gap: 0.5rem;
}

.auth-btn {
    background: none;
    border: 2px solid #ee9f0e;
    border-radius: var(--radius);
    padding: 8px 16px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
}

.login-btn {
    color: var(--primary-color);
    background: transparent;
}

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

.signup-btn {
    background: white
    color: black;
}

.signup-btn:hover {
    background: var(--primary-hover);
    transform: translateY(-1px);
}

/* User Profile Dropdown */
.user-profile {
    position: relative;
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    overflow: hidden;
    position: relative;
}

.user-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.user-initial {
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
}

.user-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--background);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    min-width: 220px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition);
}

.user-profile:hover .user-dropdown,
.user-dropdown:hover {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.user-info {
    padding: 1rem;
    border-bottom: 1px solid var(--border);
}

.user-name {
    display: block;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.user-email {
    display: block;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.dropdown-menu {
    padding: 0.5rem 0;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    color: var(--text-primary);
    text-decoration: none;
    transition: var(--transition);
    border: none;
    background: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
    font-size: 0.9rem;
}

.dropdown-item:hover {
    background: var(--surface);
    color: var(--primary-color);
}

.dropdown-divider {
    height: 1px;
    background: var(--border);
    margin: 0.5rem 0;
}

/* Auth Modals */
.auth-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.auth-modal {
    background: var(--background);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    width: 100%;
    max-width: 420px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.auth-modal-header {
    padding: 2rem 2rem 1rem;
    text-align: center;
    position: relative;
}

.auth-modal-header h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.auth-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-secondary);
    cursor: pointer;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
}

.auth-modal-close:hover {
    background: var(--surface);
    color: var(--text-primary);
}

.auth-modal-body {
    padding: 0 2rem 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-primary);
    font-size: 0.9rem;
}

.form-group input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    font-size: 0.9rem;
    transition: var(--transition);
    background: var(--background);
    color: var(--text-primary);
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(40, 116, 240, 0.1);
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    font-size: 0.85rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    color: var(--text-secondary);
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin: 0;
}

.forgot-password {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.forgot-password:hover {
    text-decoration: underline;
}

.auth-submit-btn {
    width: 100%;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: var(--radius);
    padding: 14px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.auth-submit-btn:hover {
    background: var(--primary-hover);
    transform: translateY(-1px);
}

.auth-submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.auth-divider {
    text-align: center;
    margin: 1.5rem 0;
    position: relative;
    color: var(--text-secondary);
    font-size: 0.85rem;
}

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

.auth-divider span {
    background: var(--background);
    padding: 0 1rem;
    position: relative;
    z-index: 2;
}

.social-auth {
    display: flex;
    gap: 1rem;
}

.social-btn {
    flex: 1;
    background: var(--surface);
    border: 2px solid var(--border);
    border-radius: var(--radius);
    padding: 12px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-weight: 500;
    color: var(--text-primary);
    font-size: 0.9rem;
}

.social-btn:hover {
    border-color: var(--primary-color);
    transform: translateY(-1px);
}

.social-btn.google:hover {
    background: #4285f4;
    color: white;
    border-color: #4285f4;
}

.auth-modal-footer {
    padding: 1rem 2rem 2rem;
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.auth-modal-footer a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.auth-modal-footer a:hover {
    text-decoration: underline;
}












/* Disabled link states */
.dropdown-item[style*="pointer-events: none"],
.mobile-nav-link[style*="pointer-events: none"] {
    cursor: not-allowed;
    opacity: 0.5 !important;
}

.dropdown-item[style*="pointer-events: none"]:hover,
.mobile-nav-link[style*="pointer-events: none"]:hover {
    background: none !important;
    color: var(--text-muted) !important;
}










/* Add to your css/auth.css */

/* Google Button Loading State */
.social-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    pointer-events: none;
}

.social-btn .fa-spinner {
    animation: spin 1s linear infinite;
}

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

/* Enhanced Google Button */
.social-btn.google {
    position: relative;
    transition: all 0.3s ease;
}

.social-btn.google:not(:disabled):hover {
    background: #4285f4;
    color: white;
    border-color: #4285f4;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(66, 133, 244, 0.3);
}

/* Error state for forms */
.form-group.error input {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.form-group .error-message {
    color: #ef4444;
    font-size: 0.75rem;
    margin-top: 0.25rem;
    display: none;
}

.form-group.error .error-message {
    display: block;
}









/* Mobile Auth Styles */
.mobile-auth {
    padding: 1rem;
    border-bottom: 1px solid var(--border);
}

.mobile-auth-buttons {
    display: flex;
    gap: 0.5rem;
}

.mobile-auth-btn {
    flex: 1;
    background: none;
    border: 2px solid var(--primary-color);
    border-radius: var(--radius);
    padding: 10px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    font-weight: 500;
}

.mobile-auth-btn.login {
    color: black;
}

.mobile-auth-btn.signup {
    background: white;
    color: black;
}

.mobile-user-info {
    padding: 1rem 0;
}

.mobile-user-details {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.mobile-user-avatar {
    width: 48px;
    height: 48px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1.1rem;
}

.mobile-user-text {
    flex: 1;
}

.mobile-user-name {
    display: block;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.mobile-user-email {
    display: block;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.mobile-nav-divider {
    height: 1px;
    background: var(--border);
    margin: 1rem 0;
}

.mobile-user-actions {
    border-top: 1px solid var(--border);
    padding-top: 1rem;
}

.mobile-nav-link.logout {
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    font-size: inherit;
    color: var(--error);
    cursor: pointer;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .auth-btn .btn-text {
        display: none;
    }
    
    .auth-btn {
        padding: 8px 12px;
    }
    
    .auth-modal {
        margin: 1rem;
        max-width: none;
    }
    
    .auth-modal-header,
    .auth-modal-body,
    .auth-modal-footer {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

@media (max-width: 480px) {
    .auth-buttons {
        gap: 0.25rem;
    }
    
    .auth-btn {
        min-width: 36px;
        padding: 6px 8px;
    }
    
    .user-dropdown {
        right: -1rem;
        min-width: 200px;
    }
}
























/* ================== MOBILE OPTIMIZED BANNER SECTION ================== */
/* RetailMeNot Style Banner - Ultra Compact for Mobile */
.hero {
  position: relative;
  height: 300px; /* Reduced from 400px for desktop */
  overflow: hidden;
  background: var(--background);
  margin: 0;
  padding: 0;
  border-radius: 0 0 16px 16px;
}

.hero-slider {
  position: relative;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
}

.banner-container {
  position: relative;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  max-width: 1400px;
  margin: 0 auto;
}

.banner-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.6s ease-in-out;
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
  border-radius: 16px;
  overflow: hidden;
}

.banner-slide.active {
  opacity: 1;
}

.banner-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border-radius: 16px;
}

.banner-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  margin: 0;
  padding: 0;
  border: none;
  outline: none;
  border-radius: 16px;
}

.banner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.3) 100%);
  z-index: 2;
  border-radius: 16px;
}

.banner-content {
  position: relative;
  z-index: 3;
  width: 100%;
  color: white;
  height: 100%;
  display: flex;
  align-items: center;
  padding: 0 40px;
}

.banner-text {
  max-width: 550px;
  text-align: left;
}

.banner-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  line-height: 1.2;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.fire-emoji, .tech-emoji, .fashion-emoji, .home-emoji {
  font-size: 2.5rem;
  animation: bounce 2s infinite;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.deal-badge {
  background: linear-gradient(135deg, #ff6b35, #f9ca24);
  color: white;
  padding: 8px 16px;
  border-radius: 25px;
  font-size: 0.85rem;
  font-weight: 700;
  animation: pulse 2s infinite;
  box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4);
  text-shadow: none;
}

.banner-subtitle {
  font-size: 1.1rem;
  margin-bottom: 24px;
  opacity: 0.95;
  line-height: 1.4;
  font-weight: 400;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.banner-stats {
  display: flex;
  gap: 20px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.banner-stats .stat-item {
  background-color: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  padding: 12px 20px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  text-align: center;
  min-width: 85px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.banner-stats .stat-item:hover {
  transform: translateY(-2px);
  background-color: rgba(255, 255, 255, 0.25);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.stat-number {
  display: block;
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.2;
}

.stat-label {
  display: block;
  font-size: 0.75rem;
  opacity: 0.9;
  margin-top: 2px;
}

.banner-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.banner-cta .btn-primary,
.banner-cta .btn-secondary {
  padding: 14px 28px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 25px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.banner-cta .btn-primary {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
}

.banner-cta .btn-secondary {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.banner-cta .btn-primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
}

.banner-cta .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

/* Banner Navigation */
.banner-navigation {
  position: absolute;
  top: 50%;
  left: 20px;
  right: 20px;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  z-index: 4;
  pointer-events: none;
}

.banner-nav {
  pointer-events: all;
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  color: #333;
}

.banner-nav:hover {
  background: white;
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.banner-nav i {
  font-size: 1.1rem;
}

/* Banner Dots */
.banner-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 4;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
}

.dot.active {
  background: white;
  transform: scale(1.2);
}

.dot:hover {
  background: rgba(255, 255, 255, 0.7);
}

/* ================== MOBILE RESPONSIVE BANNER ================== */
@media (max-width: 768px) {
  .hero {
    height: 200px !important; /* Ultra compact for mobile */
    border-radius: 0 0 12px 12px;
  }

  .banner-slide,
  .banner-image,
  .banner-image img,
  .banner-overlay {
    border-radius: 20px;
  }

  .banner-content {
    padding: 0 15px;
    text-align: center;
  }

  .banner-text {
    max-width: 100%;
    text-align: center;
  }

  .banner-title {
    font-size: 1.4rem !important; /* Much smaller for mobile */
    justify-content: center;
    margin-bottom: 8px !important;
  }

  .fire-emoji, .tech-emoji, .fashion-emoji, .home-emoji {
    font-size: 1.4rem !important;
  }

  .banner-subtitle {
    font-size: 0.85rem !important;
    margin-bottom: 12px !important;
  }

  .banner-stats {
    justify-content: center;
    gap: 8px;
    margin-bottom: 12px !important;
  }

  .banner-stats .stat-item {
    padding: 6px 10px;
    min-width: 60px;
  }

  .stat-number {
    font-size: 0.9rem;
  }

  .stat-label {
    font-size: 0.65rem;
  }

  .banner-cta {
    justify-content: center;
    gap: 8px;
  }

  .banner-cta .btn-primary,
  .banner-cta .btn-secondary {
    padding: 8px 16px !important;
    font-size: 0.8rem !important;
  }

  .banner-navigation {
    left: 10px;
    right: 10px;
  }

  .banner-nav {
    width: 32px;
    height: 32px;
  }

  .banner-nav i {
    font-size: 0.9rem;
  }

  .banner-dots {
    bottom: 10px;
  }

  .dot {
    width: 6px;
    height: 6px;
  }
}












/* ================== CATEGORIES SECTION - MOBILE OPTIMIZED ================== */
.categories {
  padding: 20px 0 !important; /* Reduced from 60px */
  background: var(--surface);
  position: relative;
  overflow: hidden;
}

.categories-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 60px;
}

.categories-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px !important; /* Reduced from 40px */
}

.categories-title {
  font-size: 1.5rem; /* Smaller */
  font-weight: 700;
  color: var(--text-primary);
}

.scroll-controls {
  display: flex;
  gap: var(--spacing-sm);
}

.scroll-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid var(--border-color);
  background: var(--background);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  font-size: 1.2rem;
}

.scroll-btn:hover {
  background: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
  transform: scale(1.1);
}

.scroll-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.scroll-btn:disabled:hover {
  background: var(--background);
  color: var(--text-secondary);
  border-color: var(--border-color);
}

.category-grid {
  display: flex;
  gap: var(--spacing-lg);
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
  padding: 10px 0 !important; /* Reduced padding */
}

.category-grid::-webkit-scrollbar {
  display: none;
}

.category-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-sm);
  flex-shrink: 0;
  width: 120px;
}

.category-card {
  background-color: var(--background);
  border-radius: 50%;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 3px solid transparent;
  transition: var(--transition);
  cursor: pointer;
  position: relative;
  width: 120px;
  height: 120px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.category-card:hover {
  transform: translateY(-8px) scale(1.05);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary-color);
}

.category-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  border-radius: 50%;
  overflow: hidden;
  padding: 2px;
  box-sizing: border-box;
}

.category-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 50%;
  background: var(--background);
  z-index: -1;
}

.category-image img {
  width: calc(100% - 4px);
  height: calc(100% - 4px);
  object-fit: cover;
  object-position: center;
  transition: var(--transition);
  border-radius: 50%;
  margin: 2px;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.category-card:hover .category-image img {
  transform: scale(1.1);
}

.category-overlay {
  position: absolute;
  top: 2px;
  left: 2px;
  width: calc(100% - 4px);
  height: calc(100% - 4px);
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.3) 0%, rgba(40, 116, 240, 0.2) 100%);
  transition: var(--transition);
  z-index: 2;
  border-radius: 50%;
}

.category-card:hover .category-overlay {
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.5) 0%, rgba(40, 116, 240, 0.4) 100%);
}

.category-info {
  position: relative;
  z-index: 3;
  text-align: center;
  color: white;
  padding: var(--spacing-sm);
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.category-icon {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--spacing-xs);
  transition: var(--transition);
  border: 2px solid rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.category-icon i {
  font-size: 1.2rem;
}

.category-card:hover .category-icon {
  transform: scale(1.2);
  background: rgba(255, 255, 255, 1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.category-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: white;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  line-height: 1.2;
  margin-top: auto;
}

.category-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-primary);
  text-align: center;
  line-height: 1.3;
  max-width: 120px;
  word-wrap: break-word;
  hyphens: auto;
  -webkit-hyphens: auto;
  -ms-hyphens: auto;
}

.nav-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background: var(--background);
  border: 2px solid var(--border-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  z-index: 10;
  font-size: 1.5rem;
  color: var(--text-secondary);
  box-shadow: var(--shadow-md);
}

.nav-arrow:hover {
  background: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
  transform: translateY(-50%) scale(1.1);
}

.nav-arrow.prev {
  left: 10px;
}

.nav-arrow.next {
  right: 10px;
}

.nav-arrow:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: translateY(-50%);
}

.nav-arrow:disabled:hover {
  background: var(--background);
  color: var(--text-secondary);
  border-color: var(--border-color);
}

/* ================== MOBILE CATEGORIES RESPONSIVE ================== */
@media (max-width: 768px) {
  .categories {
    padding: 15px 0 !important; /* Even more compact */
  }

  .categories-container {
    padding: 0 var(--spacing-xl);
  }

  .categories-header {
    margin-bottom: 10px !important; /* Minimal spacing */
  }

  .categories-title {
    font-size: 1.3rem;
  }

  .nav-arrow {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }

  .nav-arrow.prev {
    left: 5px;
  }

  .nav-arrow.next {
    right: 5px;
  }

  .category-wrapper {
    width: 100px;
  }

  .category-card {
    width: 100px;
    height: 100px;
  }

  .category-label {
    font-size: 0.8rem;
    max-width: 100px;
  }

  .category-icon {
    width: 35px;
    height: 35px;
  }

  .category-icon i {
    font-size: 1rem;
  }

  .category-name {
    font-size: 0.75rem;
  }

  .scroll-controls {
    display: none;
  }

  .category-image img {
    width: calc(100% - 3px);
    height: calc(100% - 3px);
    margin: 1.5px;
  }

  .category-overlay {
    top: 1.5px;
    left: 1.5px;
    width: calc(100% - 3px);
    height: calc(100% - 3px);
  }

  .category-grid {
    gap: 12px !important; /* Tighter spacing */
    padding: 8px 0 !important;
  }
}

@media (max-width: 480px) {
  .categories {
    padding: 12px 0 !important; /* Ultra compact */
  }

  .categories-container {
    padding: 0 var(--spacing-lg);
  }

  .categories-title {
    font-size: 1.2rem;
  }

  .category-grid {
    gap: 10px !important;
  }

  .category-wrapper {
    width: 90px;
  }

  .category-card {
    width: 90px;
    height: 90px;
  }

  .category-label {
    font-size: 0.75rem;
    max-width: 90px;
  }

  .category-icon {
    width: 30px;
    height: 30px;
  }

  .category-icon i {
    font-size: 0.9rem;
  }

  .category-image {
    padding: 1.5px;
  }

  .category-image img {
    width: calc(100% - 3px);
    height: calc(100% - 3px);
    margin: 1.5px;
  }

  .category-overlay {
    top: 1.5px;
    left: 1.5px;
    width: calc(100% - 3px);
    height: calc(100% - 3px);
  }

  .nav-arrow {
    width: 35px;
    height: 35px;
    font-size: 1rem;
  }
}




















/* ================== DEALS SECTION - MOBILE OPTIMIZED ================== */
.deals {
  padding: 15px 0 !important; /* Drastically reduced from 60px */
  background: var(--background);
}

.deals .section-header {
  display: flex !important;
  justify-content: space-between !important;
  align-items: flex-start !important;
  margin-bottom: 15px !important; /* Reduced from 40px */
  flex-wrap: wrap !important;
  gap: 1rem !important;
}

.deals .section-header .section-title-group {
  flex: 1 !important;
  min-width: 250px !important;
}

.deals .section-header .section-title {
  margin-bottom: 0.3rem !important;
  font-size: 1.5rem !important; /* Smaller */
  color: var(--text-primary) !important;
  display: flex !important;
  align-items: center !important;
  gap: 0.75rem !important;
  flex-wrap: wrap !important;
}

.deals .section-header .section-subtitle {
  margin: 0 !important;
  color: var(--text-secondary) !important;
  font-size: 0.9rem !important; /* Smaller */
  line-height: 1.5 !important;
}

/* Header View All Button */
.header-view-all-btn {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-hover)) !important;
  color: white !important;
  border: none !important;
  padding: 0.7rem 1.5rem !important; /* Reduced */
  border-radius: var(--radius-xl) !important;
  font-size: 0.85rem !important; /* Smaller */
  font-weight: 600 !important;
  cursor: pointer !important;
  transition: var(--transition) !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.5rem !important;
  box-shadow: var(--shadow-md) !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  position: relative !important;
  overflow: hidden !important;
}

.header-view-all-btn:hover {
  background: linear-gradient(135deg, var(--primary-hover), #1a4d8c) !important;
  transform: translateY(-2px) !important;
  box-shadow: var(--shadow-lg) !important;
  color: white !important;
  text-decoration: none !important;
}

.header-view-all-btn::before {
  content: '' !important;
  position: absolute !important;
  top: 0 !important;
  left: -100% !important;
  width: 100% !important;
  height: 100% !important;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent) !important;
  transition: left 0.5s ease !important;
}

.header-view-all-btn:hover::before {
  left: 100% !important;
}

/* Horizontal Deals Container */
.horizontal-deals-container {
  position: relative;
  margin-bottom: 20px !important; /* Reduced */
}

.horizontal-scroll-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 15px !important; /* Reduced */
}

.horizontal-products-scroll {
  display: flex;
  gap: 1rem !important; /* Reduced gap */
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 10px 0 !important; /* Reduced padding */
  flex: 1;
  scrollbar-width: none;
  -ms-overflow-style: none;
  min-height: 380px !important; /* Reduced */
}

.horizontal-products-scroll::-webkit-scrollbar {
  display: none;
}

.horizontal-products-scroll .product-card {
  flex: 0 0 250px !important; /* Smaller cards */
  max-width: 250px !important;
  height: 350px !important; /* Reduced height */
  margin-bottom: 0;
}

/* Product Cards Optimization */
.product-card {
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  cursor: pointer;
  position: relative;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-color);
}

.product-image {
  height: 140px !important; /* Reduced */
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
}

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

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

.product-info {
  padding: 12px !important; /* Reduced */
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.product-title {
  font-size: 0.9rem !important; /* Smaller */
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px !important;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-price {
  font-size: 1.1rem !important; /* Smaller */
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 8px !important;
}

.product-original-price {
  font-size: 0.8rem !important;
  color: var(--text-muted);
  text-decoration: line-through;
  margin-left: 8px;
}

.product-rating {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 8px !important;
  font-size: 0.75rem !important;
}

.product-actions {
  margin-top: auto !important;
  padding-top: 8px !important;
  display: flex;
  gap: 8px;
}

.deal-btn, .wishlist-btn {
  flex: 1;
  padding: 8px 12px !important; /* Smaller buttons */
  border: none;
  border-radius: var(--radius);
  font-size: 0.8rem !important;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
}

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

.deal-btn:hover {
  background: var(--primary-hover);
  transform: translateY(-1px);
}

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

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

/* ================== MOBILE DEALS RESPONSIVE ================== */
@media (max-width: 768px) {
  .deals {
    padding: 10px 0 !important; /* Ultra compact */
  }

  .deals .section-header {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 30px !important;
    margin-bottom: 12px !important;
  }

  .deals .section-header .section-title-group,
  .loot-deals .section-header .section-title-group {
    min-width: auto !important;
    width: 100% !important;
  }

  .deals .section-header .section-title {
    font-size: 1.3rem !important;
    justify-content: center !important;
  }

  .header-view-all-btn {
    width: 100% !important;
    max-width: 280px !important;
    justify-content: center !important;
    padding: 0.8rem 1.2rem !important;
    font-size: 0.9rem !important;
  }

  .horizontal-scroll-wrapper {
    gap: 0 !important;
    padding: 0 !important;
  }

  .scroll-btn,
  .banner-nav,
  #scroll-left,
  #scroll-right,
  #loot-scroll-left,
  #loot-scroll-right,
  .horizontal-scroll-wrapper .scroll-btn {
    display: none !important;
  }

  .horizontal-products-scroll,
  .horizontal-loot-scroll {
    padding: 8px 0.5rem !important;
    margin: 0 -0.5rem !important;
    gap: 0.75rem !important;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
  }

  .horizontal-products-scroll::-webkit-scrollbar,
  .horizontal-loot-scroll::-webkit-scrollbar {
    display: none !important;
  }

  .horizontal-products-scroll .product-card,
  .horizontal-loot-scroll .product-card {
    flex: 0 0 220px !important; /* Even smaller */
    max-width: 220px !important;
    height: 320px !important; /* More compact */
    scroll-snap-align: start;
    scroll-margin-left: 0.5rem;
  }

  .horizontal-products-scroll .product-card:last-child,
  .horizontal-loot-scroll .product-card:last-child {
    margin-right: 0.5rem;
  }

  .product-card {
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
  }

  .product-image {
    height: 120px !important; /* Smaller images */
  }

  .product-info {
    padding: 8px !important;
  }

  .product-title {
    font-size: 0.8rem !important;
    line-height: 1.2;
    margin-bottom: 6px !important;
  }

  .product-price {
    font-size: 1rem !important;
    margin-bottom: 6px !important;
  }

  .product-rating {
    font-size: 0.7rem !important;
    margin-bottom: 6px !important;
  }

  .deal-btn, .wishlist-btn {
    padding: 6px 10px !important;
    font-size: 0.75rem !important;
  }

  /* Add gradient fade on right edge to indicate more content */
  .horizontal-deals-container,
  .horizontal-loot-container {
    position: relative;
  }

  .horizontal-deals-container::after,
  .horizontal-loot-container::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 20px;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.8));
    pointer-events: none;
    z-index: 2;
  }
}

@media (max-width: 480px) {
  .horizontal-products-scroll .product-card,
  .horizontal-loot-scroll .product-card {
    flex: 0 0 200px !important; /* Very compact */
    max-width: 200px !important;
    height: 300px !important;
  }

  .horizontal-products-scroll,
  .horizontal-loot-scroll {
    padding: 6px 0.25rem !important;
    margin: 0 -0.25rem !important;
    gap: 0.5rem !important;
  }

  .product-image {
    height: 100px !important;
  }

  .product-info {
    padding: 6px !important;
  }

  .product-title {
    font-size: 0.75rem !important;
  }

  .product-price {
    font-size: 0.9rem !important;
  }

  .deal-btn, .wishlist-btn {
    padding: 5px 8px !important;
    font-size: 0.7rem !important;
  }
}

/* ================== LOOT DEALS SECTION ================== */
.loot-deals {
  padding: 15px 0 !important; /* Compact */
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
  position: relative;
}

.loot-deals .section-title {
  color: #0c4a6e;
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.loot-deals .section-subtitle {
  color: #0369a1;
  font-size: 1rem;
  margin-bottom: 15px !important; /* Reduced */
}

.loot-price-filter,
.loot-price-filter-full {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  margin-bottom: 15px !important; /* Reduced */
  flex-wrap: wrap;
}

.price-filter-btn {
  background: white;
  border: 2px solid #e11d48;
  color: #e11d48;
  padding: 0.6rem 1.2rem; /* Smaller */
  border-radius: 25px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.85rem;
}

.price-filter-btn.active {
  background: #e11d48;
  color: white;
  transform: scale(1.05);
  box-shadow: 0 4px 15px rgba(225, 29, 72, 0.3);
}

.price-filter-btn:hover {
  background: #e11d48;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(225, 29, 72, 0.4);
}

.horizontal-loot-container {
  position: relative;
  margin-bottom: 20px !important; /* Reduced */
}

.horizontal-loot-scroll {
  display: flex;
  gap: 1rem !important;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 10px 0 !important;
  flex: 1;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.horizontal-loot-scroll::-webkit-scrollbar {
  display: none;
}

.horizontal-loot-scroll .product-card {
  flex: 0 0 250px !important;
  max-width: 250px !important;
  height: 350px !important;
  margin-bottom: 0;
  border: 2px solid transparent;
  transition: all 0.3s ease;
}

.horizontal-loot-scroll .product-card:hover {
  border-color: #e11d48;
  transform: translateY(-8px) scale(1.02);
}

.header-view-all-btn.loot-btn {
  background: linear-gradient(135deg, #e11d48, #be185d) !important;
}

.header-view-all-btn.loot-btn:hover {
  background: linear-gradient(135deg, #be185d, #9d174d) !important;
}














/* ================== TESTIMONIALS SECTION - MOBILE OPTIMIZED ================== */


/* ENHANCED TESTIMONIALS SECTION */
.testimonials {
    padding: 10px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #edf2f7 50%, #e2e8f0 100%);
    position: relative;
    overflow: hidden;
}

.testimonials::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(99, 102, 241, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(139, 92, 246, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 60%, rgba(6, 182, 212, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.testimonials .container {
    position: relative;
    z-index: 2;
}

/* Enhanced Header */
.testimonials-header {
    text-align: center;
    margin-bottom: 4rem;
    animation: fadeInUp 0.8s ease-out;
}

.testimonials-header .section-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-md);
}

.testimonials-header .section-title {
    font-size: 1.9rem;
    font-weight: 600;
    background: linear-gradient(135deg, #020202 0%, #121212 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.testimonials-header .section-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Enhanced Grid Layout */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.testimonial-card {
    background: var(--background);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    transition: var(--transition);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.6s ease-out;
    animation-fill-mode: both;
}

.testimonial-card:nth-child(1) { animation-delay: 0.1s; }
.testimonial-card:nth-child(2) { animation-delay: 0.2s; }
.testimonial-card:nth-child(3) { animation-delay: 0.3s; }
.testimonial-card:nth-child(4) { animation-delay: 0.4s; }
.testimonial-card:nth-child(5) { animation-delay: 0.5s; }
.testimonial-card:nth-child(6) { animation-delay: 0.6s; }

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.testimonial-card:hover::before {
    transform: scaleX(1);
}

/* Enhanced Header Section */
.testimonial-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.testimonial-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    position: relative;
    overflow: hidden;
    border: 3px solid transparent;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    padding: 2px;
    flex-shrink: 0;
}

.testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    transition: var(--transition);
}

.testimonial-card:hover .testimonial-avatar img {
    transform: scale(1.05);
}

/* Enhanced Text Content .testimonial-avatar::after {
    content: 'âœ“';
    position: absolute;
    top: -2px;
    right: -2px;
    width: 20px;
    height: 20px;
    background: var(--success);
    border-radius: 50%;
    border: 2px solid var(--background);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 700;
    color: white;
    box-shadow: var(--shadow-sm);
}
*/
.testimonial-info {
    flex-grow: 1;
}

.testimonial-name {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.testimonial-location {
    font-size: 0.875rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.25rem;
    margin-bottom: 0.5rem;
}

.testimonial-rating {
    display: flex;
    gap: 2px;
}

.testimonial-star {
    color: var(--warning);
    font-size: 0.875rem;
    transition: var(--transition);
}

.testimonial-card:hover .testimonial-star {
    transform: scale(1.1);
}

/* Enhanced Text Content */
.testimonial-text {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    position: relative;
    font-style: italic;
}

.testimonial-text::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: -10px;
    font-size: 3rem;
    color: var(--primary-color);
    opacity: 0.3;
    font-family: serif;
    line-height: 1;
}

/* Enhanced Footer */
.testimonial-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.testimonial-savings {
    background: linear-gradient(135deg, var(--success), #059669);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.875rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.testimonial-savings:hover {
    transform: scale(1.05);
}

.testimonial-date {
    font-size: 0.8rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

/* Enhanced Stats Section */
.testimonials-stats {
    background: var(--background);
    padding: 2.5rem;
    border-radius: 24px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    position: relative;
    overflow: hidden;
}

.testimonials-stats::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    opacity: 0.05;
    pointer-events: none;
}

.testimonial-stat {
    text-align: center;
    position: relative;
    z-index: 1;
}

.testimonial-stat .stat-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: white;
    font-size: 1.5rem;
    box-shadow: var(--shadow-md);
}

.testimonial-stat .stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    line-height: 1;
}

.testimonial-stat .stat-label {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 600;
}

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

/* Enhanced Mobile Responsiveness with Horizontal Scrolling */
@media (max-width: 768px) {
    .testimonials {
        padding: 60px 0;
    }
    
    .testimonials-header .section-title {
        font-size: 2rem;
    }
    
    .testimonials-header .section-subtitle {
        font-size: 1rem;
    }
    
    /* HORIZONTAL SCROLLING FOR TESTIMONIALS */
    .testimonials-grid {
        display: flex !important;
        gap: 1.5rem;
        overflow-x: auto;
        scroll-behavior: smooth;
        padding: 1rem 0 2rem 0;
        scrollbar-width: none;
        -ms-overflow-style: none;
        scroll-snap-type: x mandatory;
    }
    
    .testimonials-grid::-webkit-scrollbar {
        display: none;
    }
    
    .testimonial-card {
        flex: 0 0 320px;
        max-width: 320px;
        padding: 1.5rem;
        border-radius: 16px;
        margin-bottom: 0;
        scroll-snap-align: start;
    }
    
    .testimonial-header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .testimonial-avatar {
        width: 60px;
        height: 60px;
    }
    
    .testimonial-text {
        font-size: 0.9rem;
        line-height: 1.6;
    }
    
    .testimonial-footer {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .testimonials-stats {
        grid-template-columns: repeat(2, 1fr);
        padding: 2rem;
        gap: 1.5rem;
    }
    
    .testimonial-stat .stat-number {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .testimonials {
        padding: 50px 0;
    }
    
    .testimonials-header .section-title {
        font-size: 1.75rem;
    }
    
    .testimonials-header .section-subtitle {
        font-size: 0.95rem;
    }
    
    .testimonials-grid {
        gap: 1rem;
        padding: 0.5rem 0 1.5rem 0;
    }
    
    .testimonial-card {
        flex: 0 0 300px;
        max-width: 300px;
        padding: 1.25rem;
    }
    
    .testimonial-avatar {
        width: 55px;
        height: 55px;
    }
    
    .testimonial-name {
        font-size: 1rem;
    }
    
    .testimonial-location {
        font-size: 0.8rem;
    }
    
    .testimonial-text {
        font-size: 0.85rem;
    }
    
    .testimonial-savings {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
    
    .testimonial-date {
        font-size: 0.75rem;
    }
    
    .testimonials-stats {
        grid-template-columns: 1fr;
        padding: 1.5rem;
        gap: 1rem;
    }
    
    .testimonial-stat .stat-icon {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
    
    .testimonial-stat .stat-number {
        font-size: 1.75rem;
    }
    
    .testimonial-stat .stat-label {
        font-size: 0.9rem;
    }
}

/* Extra Small Devices */
@media (max-width: 360px) {
    .testimonial-card {
        flex: 0 0 280px;
        max-width: 280px;
        padding: 1rem;
    }
    
    .testimonials-grid {
        gap: 0.75rem;
    }
}


/* MOBILE RESPONSIVE - HORIZONTAL SCROLLING */
@media (max-width: 768px) {
    .testimonials {
        padding: 40px 0;
    }
    
    .testimonials-header .section-title {
        font-size: 1.5rem;
    }
    
    /* CONVERT TO HORIZONTAL SCROLL */
    .testimonials-grid {
        display: flex !important; /* Override grid */
        gap: 1rem;
        overflow-x: auto;
        scroll-behavior: smooth;
        padding: 1rem 0;
        scrollbar-width: none; /* Firefox */
        -ms-overflow-style: none; /* Internet Explorer */
    }
    
    /* Hide scrollbar for Webkit browsers */
    .testimonials-grid::-webkit-scrollbar {
        display: none;
    }
    
    .testimonial-card {
        flex: 0 0 280px; /* Fixed width, no shrinking */
        max-width: 280px;
        padding: 1rem;
        margin-bottom: 0;
    }
    
    .testimonial-avatar {
        width: 50px;
        height: 50px;
    }
    
    .testimonial-text {
        font-size: 0.8rem;
        -webkit-line-clamp: 2;
    }
    
    .testimonials-stats {
        gap: 1.5rem;
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    /* EXTRA SMALL MOBILE - STILL HORIZONTAL */
    .testimonials-grid {
        gap: 0.75rem;
        padding: 0.5rem 0;
    }
    
    .testimonial-card {
        flex: 0 0 260px; /* Smaller cards for very small screens */
        max-width: 260px;
        padding: 0.875rem;
    }
    
    .testimonial-avatar {
        width: 45px;
        height: 45px;
    }
    
    .testimonial-name {
        font-size: 0.9rem;
    }
    
    .testimonial-location {
        font-size: 0.75rem;
    }
    
    .testimonial-text {
        font-size: 0.75rem;
        -webkit-line-clamp: 2;
    }
    
    .testimonials-stats {
        flex-direction: column;
        gap: 1rem;
    }
}












/* About Section */

.about {
  padding: var(--spacing-3xl) 0;
  background-color: var(--surface);
}

.about-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.about h2 {
  font-size: 2rem;
  margin-bottom: var(--spacing-lg);
  color: var(--text-primary);
}

.about p {
  font-size: 1.125rem;
  margin-bottom: var(--spacing-2xl);
  color: var(--text-secondary);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--spacing-xl);
  margin-top: var(--spacing-2xl);
}

.feature-item {
  text-align: center;
  padding: var(--spacing-lg);
}

.feature-item i {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: var(--spacing-md);
}

.feature-item h4 {
  font-size: 1.125rem;
  margin-bottom: var(--spacing-sm);
  color: var(--text-primary);
}

.feature-item p {
  color: var(--text-secondary);
  font-size: 0.875rem;
  margin: 0;
}












/* ================== FOOTER - MOBILE OPTIMIZED ================== */
.footer {
  background-color: var(--text-primary);
  color: white;
  padding: 30px 0 20px !important; /* Reduced */
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px !important; /* Reduced */
  margin-bottom: 20px !important; /* Reduced */
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  margin-bottom: 15px !important; /* Reduced */
}

.footer-logo img {
  width: 150px;
  height: 40px;
  border-radius: var(--radius);
}

.footer-logo h3 {
  color: white;
  font-size: 1.25rem;
}

.footer-section h4 {
  color: white;
  margin-bottom: 15px !important; /* Reduced */
  font-size: 1.125rem;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 8px !important; /* Reduced */
}

.footer-section ul li a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: var(--transition);
  font-size: 0.875rem;
}

.footer-section ul li a:hover {
  color: white;
  transform: translateX(4px);
}

.social-links {
  display: flex;
  gap: var(--spacing-md);
  margin-top: 15px !important; /* Reduced */
}

.social-link {
  width: 40px;
  height: 40px;
  background-color: white;
  color: black;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: var(--transition);
}

.social-link:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 15px !important; /* Reduced */
  text-align: center;
}

.footer-disclaimer p {
  margin-bottom: 8px !important; /* Reduced */
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.875rem;
}

.affiliate-disclosure {
  font-size: 0.75rem !important;
  color: rgba(255, 255, 255, 0.6) !important;
}

/* ================== UTILITY CLASSES ================== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: var(--spacing-xs); }
.mb-2 { margin-bottom: var(--spacing-sm); }
.mb-3 { margin-bottom: var(--spacing-md); }
.mb-4 { margin-bottom: var(--spacing-lg); }
.mb-5 { margin-bottom: var(--spacing-xl); }

.hidden { display: none; }
.visible { display: block; }

.smooth-scroll { scroll-behavior: smooth; }

/* ================== LOADING STATES ================== */
.loading-spinner {
  margin-bottom: var(--spacing-lg);
}

.spinner {
  width: 40px;
  height: 40px;
  border: 4px solid var(--border);
  border-top: 4px solid var(--primary-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto;
}

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

/* ================== ANIMATIONS ================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bounce {
  0%, 20%, 53%, 80%, 100% {
    transform: translate3d(0, 0, 0);
  }
  40%, 43% {
    transform: translate3d(0, -30px, 0);
  }
  70% {
    transform: translate3d(0, -15px, 0);
  }
  90% {
    transform: translate3d(0, -4px, 0);
  }
}

/* ================== ACCESSIBILITY & PERFORMANCE ================== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

@media (prefers-contrast: high) {
  .header-view-all-btn {
    border: 2px solid white !important;
  }
}

/* ================== GLOBAL MOBILE OPTIMIZATIONS ================== */
@media (max-width: 768px) {
  /* Prevent horizontal overflow */
  body, html {
    overflow-x: hidden !important;
    overflow-y: auto !important;
  }

  .container {
    overflow: visible !important;
    padding: 0 8px !important;
  }

  /* Ensure all sections are more compact */
  section {
    padding-top: 15px !important;
    padding-bottom: 15px !important;
  }

  /* Make all text slightly smaller on mobile */
  h1 { font-size: 1.3rem !important; }
  h2 { font-size: 1.5rem !important; }
  h3 { font-size: 1.4rem !important; }
  
  p {
    font-size: 0.9rem;
    line-height: 1.5;
  }

  /* Optimize touch targets */
  button, .btn, a[role="button"] {
    min-height: 4px;
    min-width: 44px;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
  }

  /* Improve scrolling performance */
  * {
    -webkit-overflow-scrolling: touch;
  }
}

/* ================== FINAL SPACING OPTIMIZATIONS ================== */
@media (max-width: 768px) {
  /* Remove excessive spacing between all sections */
  .hero + .categories,
  .categories + .deals,
  .deals + .loot-deals,
  .loot-deals + .testimonials,
  .testimonials + .footer {
    margin-top: 0 !important;
  }

  /* Ensure consistent minimal padding */
  .hero,
  .categories,
  .deals,
  .loot-deals,
  .testimonials {
    padding-top: 15px !important;
    padding-bottom: 15px !important;
  }

  /* Make the page flow better */
  main {
    padding: 0 !important;
    margin: 0 !important;
  }

  /* Optimize section headers */
  .section-header {
    margin-bottom: 10px !important;
    padding-bottom: 5px !important;
  }
}
















/* Live Promotion Banner Styles */
.live-promo-banner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #FF6B35 0%, #F59E0B 50%, #EF4444 100%);
    color: white;
    z-index: 9999;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    animation: slideDown 0.5s ease-out;
    transform: translateY(0);
    transition: transform 0.3s ease-out;
}

.live-promo-banner.hidden {
    transform: translateY(-100%);
}

.promo-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.promo-content {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1;
}

.promo-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    animation: pulse 2s infinite;
}

.promo-icon i {
    font-size: 1.2rem;
    color: white;
}

.promo-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.promo-title {
    font-size: 1.1rem;
    font-weight: 700;
    font-family: var(--font-secondary);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.promo-subtitle {
    font-size: 0.85rem;
    opacity: 0.95;
    font-weight: 500;
}

.promo-action {
    margin-left: auto;
    margin-right: 40px;
}

.shop-now-btn {
    background: white;
    color: var(--primary-color);
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.shop-now-btn:hover {
    background: #f8f9fa;
    transform: translateY(-1px) scale(1.02);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.promo-close {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.promo-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-50%) scale(1.1);
}

.promo-close i {
    font-size: 0.9rem;
}

/* Animations */
@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(255, 255, 255, 0);
    }
}

/* Body offset when banner is visible */
body.promo-banner-visible {
    padding-top: 64px;
    transition: padding-top 0.3s ease;
}

/* Header adjustment */
body.promo-banner-visible .header {
    top: 64px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .promo-container {
        padding: 10px 15px;
    }
    
    .promo-content {
        gap: 10px;
    }
    
    .promo-icon {
        width: 35px;
        height: 35px;
    }
    
    .promo-icon i {
        font-size: 1rem;
    }
    
    .promo-title {
        font-size: 0.95rem;
    }
    
    .promo-subtitle {
        font-size: 0.75rem;
    }
    
    .shop-now-btn {
        padding: 8px 16px;
        font-size: 0.75rem;
    }
    
    .promo-action {
        margin-right: 35px;
    }
    
    body.promo-banner-visible {
        padding-top: 56px;
    }
    
    body.promo-banner-visible .header {
        top: 56px;
    }
}

@media (max-width: 480px) {
    .promo-container {
        padding: 8px 12px;
    }
    
    .promo-text {
        flex: 1;
        min-width: 0;
    }
    
    .promo-title {
        font-size: 0.85rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .promo-subtitle {
        font-size: 0.7rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .shop-now-btn {
        padding: 6px 12px;
        font-size: 0.7rem;
    }
    
    body.promo-banner-visible {
        padding-top: 50px;
    }
    
    body.promo-banner-visible .header {
        top: 50px;
    }
}



/* Alternative color schemes */
.live-promo-banner.festival-theme {
    background: linear-gradient(135deg, #FF6B35 0%, #F59E0B 50%, #EF4444 100%);
}

.live-promo-banner.flash-sale-theme {
    background: linear-gradient(135deg, #8B5CF6 0%, #7C3AED 50%, #6D28D9 100%);
}

.live-promo-banner.weekend-theme {
    background: linear-gradient(135deg, #10B981 0%, #059669 50%, #047857 100%);
}

.live-promo-banner.cyber-theme {
    background: linear-gradient(135deg, #3B82F6 0%, #2563EB 50%, #1D4ED8 100%);
}

/* Blinking effect for urgent sales */
.promo-title.urgent {
    animation: blink 1.5s ease-in-out infinite;
}

@keyframes blink {
    0%, 50%, 100% { opacity: 1; }
    25%, 75% { opacity: 0.7; }
}



















/* Top Brand Offers Section - Completely Isolated from Hero Banner */
.thrift-brand-offers-section {
    padding: 60px 0;
    background: var(--surface);
    position: relative;
    overflow: hidden;
    z-index: 1; /* Lower than hero banner */
    isolation: isolate; /* Create new stacking context */
}

.thrift-brand-offers-section .thrift-brand-section-header {
    text-align: center;
    margin-bottom: 40px;
}

.thrift-brand-offers-section .thrift-brand-section-title {
    font-size: 1,6rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: left;
    gap: 12px;
}

.thrift-brand-offers-section .thrift-brand-section-title i {
    color: var(--accent-color);
    font-size: 1.7rem;
}

.thrift-brand-offers-section .thrift-brand-section-subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
    font-weight: 400;
}

.thrift-brand-offers-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 60px;
    z-index: 2;
}

/* Navigation Arrows - Unique styling to avoid conflicts */
.thrift-brand-nav-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    background: var(--background);
    color: var(--text-primary);
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    justify-content: center;
    outline: none;
}

.thrift-brand-nav-arrow:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 8px 25px rgba(40, 116, 240, 0.3);
}

.thrift-brand-nav-arrow:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

.thrift-brand-nav-arrow-left {
    left: 0;
}

.thrift-brand-nav-arrow-right {
    right: 0;
}

.thrift-brand-nav-arrow:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: translateY(-50%) scale(0.9);
    pointer-events: none;
}

/* Slider Wrapper - Isolated from hero slider */
.thrift-brand-slider-wrapper {
    overflow: hidden;
    border-radius: 12px;
    position: relative;
    background: transparent;
}

.thrift-brand-slider {
    display: flex;
    transition: transform 0.4s cubic-bezier(0.4, 0.0, 0.2, 1);
    gap: 20px;
    will-change: transform; /* Optimize for animations */
}

/* Banner Slides - Unique class names */
.thrift-brand-banner-slide {
    flex: 0 0 auto;
    width: 300px;
    height: 180px;
    cursor: pointer;
}

.thrift-brand-banner-card {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
    box-shadow: var(--shadow);
    background: var(--background);
    transform: translateZ(0); /* Force hardware acceleration */
}

.thrift-brand-banner-card:hover {
    transform: translateY(-5px) scale(1.02) translateZ(0);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.thrift-brand-banner-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    display: block;
}

.thrift-brand-banner-card:hover img {
    transform: scale(1.05);
}

.thrift-brand-banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.2) 100%);
    display: flex;
    align-items: flex-end;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.thrift-brand-banner-card:hover .thrift-brand-banner-overlay {
    opacity: 1;
}

.thrift-brand-banner-content {
    width: 100%;
}

.thrift-brand-banner-label {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 5px;
    box-shadow: 0 4px 12px rgba(40, 116, 240, 0.3);
}

.thrift-brand-banner-title {
    color: white;
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Pagination Dots - Unique styling */
.thrift-brand-slider-pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 30px;
}

.thrift-brand-pagination-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--border);
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    outline: none;
}

.thrift-brand-pagination-dot:hover {
    background: var(--text-secondary);
    transform: scale(1.1);
}

.thrift-brand-pagination-dot:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

.thrift-brand-pagination-dot.active {
    background: var(--primary-color);
    transform: scale(1.2);
}

/* Responsive Design - Tablet */
@media (max-width: 768px) {
    .thrift-brand-offers-section {
        padding: 40px 0;
    }
    
    .thrift-brand-offers-container {
        padding: 0 50px;
    }
    
    .thrift-brand-banner-slide {
        width: 280px;
        height: 160px;
    }
    
    .thrift-brand-nav-arrow {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
    
    .thrift-brand-section-title {
        font-size: 1.6rem;
    }
    
    .thrift-brand-banner-overlay {
        padding: 15px;
    }
    
    .thrift-brand-banner-label {
        font-size: 0.75rem;
        padding: 5px 10px;
    }
    
    .thrift-brand-banner-title {
        font-size: 0.7rem;
    }
}

/* Responsive Design - Mobile */
@media (max-width: 480px) {
    .thrift-brand-offers-section {
        padding: 30px 0;
    }
    
    .thrift-brand-offers-container {
        padding: 0 40px;
    }
    
    .thrift-brand-banner-slide {
        width: 250px;
        height: 140px;
    }
    
    .thrift-brand-nav-arrow {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .thrift-brand-nav-arrow-left {
        left: 5px;
    }
    
    .thrift-brand-nav-arrow-right {
        right: 5px;
    }
    
    .thrift-brand-section-title {
        font-size: 1.5rem;
        flex-direction: column;
        gap: 8px;
    }
    
    .thrift-brand-section-subtitle {
        font-size: 1rem;
    }
    
    .thrift-brand-banner-overlay {
        padding: 12px;
    }
    
    .thrift-brand-banner-label {
        font-size: 0.7rem;
        padding: 4px 8px;
    }
    
    .thrift-brand-banner-title {
        font-size: 0.8rem;
    }
    
    .thrift-brand-slider-pagination {
        margin-top: 20px;
    }
    
    .thrift-brand-pagination-dot {
        width: 10px;
        height: 10px;
    }
}

/* Extra Small Mobile */
@media (max-width: 360px) {
    .thrift-brand-banner-slide {
        width: 220px;
        height: 120px;
    }
    
    .thrift-brand-offers-container {
        padding: 0 35px;
    }
}

/* Dark Mode Support */
[data-theme="dark"] .thrift-brand-offers-section {
    background: var(--background-dark);
}

[data-theme="dark"] .thrift-brand-nav-arrow {
    background: var(--surface-dark);
    color: var(--text-primary-dark);
}

[data-theme="dark"] .thrift-brand-banner-card {
    background: var(--surface-dark);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* Auto-play Progress Indicator - Isolated */
.thrift-brand-offers-container::before {
    content: '';
    position: absolute;
    top: -2px;
    left: 60px;
    right: 60px;
    height: 2px;
    background: var(--border);
    border-radius: 1px;
    z-index: 1;
}

.thrift-brand-offers-container::after {
    content: '';
    position: absolute;
    top: -2px;
    left: 60px;
    height: 2px;
    background: var(--primary-color);
    border-radius: 1px;
    z-index: 2;
    animation: thrift-brand-autoplay-progress 8s linear infinite;
    width: 0;
}

@keyframes thrift-brand-autoplay-progress {
    0% { width: 0; }
    100% { width: calc(100% - 120px); }
}

/* Loading Animation */
.thrift-brand-banner-card.loading {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: thrift-brand-loading 1.5s infinite;
}

@keyframes thrift-brand-loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Touch Scrolling Support */
.thrift-brand-slider {
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

/* Ensure no conflicts with existing slider classes */
.thrift-brand-offers-section * {
    box-sizing: border-box;
}

/* Prevent any z-index conflicts with hero banner */
.thrift-brand-offers-section {
    position: relative !important;
    z-index: 1 !important;
}

.hero-section {
    z-index: 10 !important; /* Ensure hero stays on top */
}












/* Why Choose Us Section - Isolated from other banners */
.thrift-why-choose-section {
    padding: 50px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
    z-index: 2;
    isolation: isolate;
    overflow: hidden;
}

.thrift-why-choose-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23e2e8f0" stroke-width="0.5" opacity="0.3"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
    z-index: -1;
}

.thrift-why-section-header {
    text-align: center;
    margin-bottom: 40px;
}

.thrift-why-section-title {
    font-size: 1.7rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0;
    display: flex;
    align-items: center;
    justify-content: left;
    gap: 15px;
}

.thrift-why-section-title i {
    color: var(--accent-color);
    font-size: 2rem;
}

.thrift-why-features-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Features Wrapper */
.thrift-why-features-wrapper {
    overflow-x: auto;
    overflow-y: hidden;
    border-radius: 16px;
    padding: 10px 0;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.thrift-why-features-wrapper::-webkit-scrollbar {
    display: none;
}

.thrift-why-features-slider {
    display: flex;
    gap: 20px;
    transition: transform 0.5s cubic-bezier(0.4, 0.0, 0.2, 1);
    min-width: 100%;
}

/* Feature Banners */
.thrift-why-feature-banner {
    flex: 0 0 auto;
    width: calc((100% - 40px) / 3);
    min-width: 300px;
    height: 200px;
    cursor: pointer;
}

.thrift-why-feature-card {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0.0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    background: var(--background);
    transform: translateZ(0);
}

.thrift-why-feature-card:hover {
    transform: translateY(-8px) scale(1.02) translateZ(0);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.thrift-why-feature-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.thrift-why-feature-card:hover img {
    transform: scale(1.1);
}

.thrift-why-feature-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.4) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.thrift-why-feature-card:hover .thrift-why-feature-overlay {
    opacity: 1;
}

.thrift-why-feature-content {
    text-align: center;
    color: white;
    transform: translateY(20px);
    transition: transform 0.4s ease;
}

.thrift-why-feature-card:hover .thrift-why-feature-content {
    transform: translateY(0);
}

.thrift-why-feature-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.thrift-why-feature-desc {
    font-size: 1rem;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.thrift-why-cta-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(40, 116, 240, 0.3);
}

.thrift-why-cta-btn:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(40, 116, 240, 0.4);
}

/* Rotation Indicators */
.thrift-why-rotation-indicators {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 25px;
}

.thrift-why-indicator {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.thrift-why-indicator.active {
    background: var(--primary-color);
    transform: scale(1.2);
}

.thrift-why-indicator::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: white;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.thrift-why-indicator.active::after {
    opacity: 1;
}

/* Auto-rotation Progress */
.thrift-why-features-container::before {
    content: '';
    position: absolute;
    top: -3px;
    left: 20px;
    right: 20px;
    height: 3px;
    background: rgba(40, 116, 240, 0.2);
    border-radius: 2px;
    z-index: 1;
}

.thrift-why-features-container::after {
    content: '';
    position: absolute;
    top: -3px;
    left: 20px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
    z-index: 2;
    animation: thrift-why-autoplay-progress 6s linear infinite;
    width: 0;
}

@keyframes thrift-why-autoplay-progress {
    0% { width: 0; }
    100% { width: calc(100% - 40px); }
}

/* Responsive Design */

/* Tablet Styles */
@media (max-width: 768px) {
    .thrift-why-choose-section {
        padding: 40px 0;
    }
    
    .thrift-why-section-title {
        font-size: 1.6rem;
        flex-direction: column;
        gap: 10px;
    }
    
    .thrift-why-feature-banner {
        min-width: 280px;
        height: 180px;
    }
    
    .thrift-why-feature-overlay {
        padding: 20px;
    }
    
    .thrift-why-feature-title {
        font-size: 1.2rem;
    }
    
    .thrift-why-feature-desc {
        font-size: 0.9rem;
    }
    
    .thrift-why-cta-btn {
        padding: 8px 16px;
        font-size: 0.8rem;
    }
}

/* Mobile Styles */
@media (max-width: 480px) {
    .thrift-why-choose-section {
        padding: 30px 0;
    }
    
    .thrift-why-features-container {
        padding: 0 15px;
    }
    
    .thrift-why-section-title {
        font-size: 1.5rem;
    }
    
    .thrift-why-feature-banner {
        min-width: 260px;
        height: 160px;
    }
    
    .thrift-why-feature-overlay {
        padding: 15px;
    }
    
    .thrift-why-feature-title {
        font-size: 1.1rem;
    }
    
    .thrift-why-feature-desc {
        font-size: 0.85rem;
        margin-bottom: 12px;
    }
    
    .thrift-why-cta-btn {
        padding: 7px 14px;
        font-size: 0.75rem;
    }
    
    .thrift-why-rotation-indicators {
        margin-top: 20px;
    }
    
    .thrift-why-indicator {
        width: 12px;
        height: 12px;
    }
}

/* Extra Small Mobile */
@media (max-width: 360px) {
    .thrift-why-feature-banner {
        min-width: 240px;
        height: 140px;
    }
    
    .thrift-why-features-container {
        padding: 0 10px;
    }
}

/* Dark Mode Support */
[data-theme="dark"] .thrift-why-choose-section {
    background: linear-gradient(135deg, var(--background-dark) 0%, var(--surface-dark) 100%);
}

[data-theme="dark"] .thrift-why-feature-card {
    background: var(--surface-dark);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* Loading Animation */
.thrift-why-feature-card.loading {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: thrift-why-loading 1.5s infinite;
}

@keyframes thrift-why-loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Smooth scrolling for mobile */
.thrift-why-features-wrapper {
    scroll-behavior: smooth;
}











/* Header Search Container - FIXED */
.search-container {
    position: relative;
    flex: 1;
    max-width: 600px;
    margin: 0 1rem;
}

.search-box {
    display: flex;
    align-items: center;
    background: var(--input-bg, #fff);
    border: 2px solid var(--border-color, #e0e0e0);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s;
    height: 44px;
}

.search-box:focus-within {
    border-color: var(--primary, #2874F0);
    box-shadow: 0 0 0 3px rgba(40, 116, 240, 0.1);
}

.search-box input {
    flex: 1;
    border: none;
    outline: none;
    padding: 0.75rem 1rem;
    background: transparent;
    color: var(--text-primary, #212121);
    font-size: 0.95rem;
    height: 100%;
}

.search-box input::placeholder {
    color: var(--text-muted, #878787);
}

/* Voice Button */
.search-box .voice-btn {
    background: none;
    border: none;
    padding: 0 0.75rem;
    color: var(--text-muted, #878787);
    cursor: pointer;
    transition: all 0.3s;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    border-left: 1px solid var(--border-color, #e0e0e0);
}

.search-box .voice-btn:hover {
    color: var(--primary, #2874F0);
    background: rgba(40, 116, 240, 0.05);
}

.search-box .voice-btn i {
    font-size: 1rem;
}

/* Search Button */
.search-box .search-btn {
    background: var(--primary, #f3efef);
    color: orange;
    border: none;
    padding: 0 1.25rem;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 600;
    font-size: 0.95rem;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border-left: 2px solid rgba(255, 255, 255, 0.2);
}

.search-box .search-btn:hover {
    background: var(--primary-dark, #1C5DC7);
}

.search-box .search-btn i {
    font-size: 1rem;
}

/* Search Suggestions */
.search-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--card-bg, #fff);
    border: 1px solid var(--border-color, #e0e0e0);
    border-top: none;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    max-height: 400px;
    overflow-y: auto;
    display: none;
    margin-top: 4px;
}

.search-suggestions.active {
    display: block;
}

.suggestion-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    cursor: pointer;
    border-bottom: 1px solid var(--border-color, #e0e0e0);
    transition: background 0.3s;
}

.suggestion-item:hover {
    background: var(--primary-light, #E3F0FF);
}

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

/* Responsive Search */
@media (max-width: 1024px) {
    .search-container {
        max-width: 450px;
        margin: 0 0.75rem;
    }
    
    .search-box {
        height: 40px;
    }
    
    .search-box input {
        padding: 0.65rem 0.85rem;
        font-size: 0.9rem;
    }
    
    .search-box .search-btn {
        padding: 0 1rem;
        font-size: 0.9rem;
    }
    
    .search-box .voice-btn {
        padding: 0 0.65rem;
    }
}

@media (max-width: 768px) {
    .search-container {
        max-width: 350px;
        margin: 0 0.5rem;
    }
    
    .search-box {
        height: 38px;
    }
    
    .search-box input {
        padding: 0.6rem 0.75rem;
        font-size: 0.85rem;
    }
    
    .search-box .search-btn {
        padding: 0 0.85rem;
    }
    
    .search-box .voice-btn {
        padding: 0 0.5rem;
    }
}

@media (max-width: 640px) {
    .search-container {
        order: 3;
        width: 100%;
        max-width: 100%;
        margin: 0.75rem 0 0 0;
    }
    
    .header .container {
        flex-wrap: wrap;
    }
}

@media (max-width: 480px) {
    .search-box {
        height: 36px;
    }
    
    .search-box input {
        padding: 0.5rem 0.65rem;
        font-size: 0.8rem;
    }
    
    .search-box .search-btn {
        padding: 0 0.75rem;
        font-size: 0.85rem;
    }
    
    .search-box .voice-btn {
        padding: 0 0.4rem;
    }
    
    .search-box .voice-btn i,
    .search-box .search-btn i {
        font-size: 0.85rem;
    }
}

/* Dark Mode */
[data-theme="dark"] .search-box {
    background: var(--input-bg, #253341);
    border-color: var(--border-color, #2C3E50);
}

[data-theme="dark"] .search-box input {
    color: var(--text-primary, #E8F4F8);
}

[data-theme="dark"] .search-box input::placeholder {
    color: var(--text-muted, #8899A6);
}

[data-theme="dark"] .search-suggestions {
    background: var(--card-bg, #1C2938);
    border-color: var(--border-color, #2C3E50);
}















/* ========================================
   QUICK CATEGORY NAVIGATION BAR
   ======================================== */

.quick-category-nav {
    background: var(--background);
    border-bottom: 1px solid var(--border);
    padding: 0;
    position: relative;
    z-index: 50;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
}

.quick-nav-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
}

.quick-nav-wrapper::-webkit-scrollbar {
    display: none;
}

.quick-cat-item {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px 20px;
    text-decoration: none;
    color: var(--text-primary);
    font-size: 0.95rem;
    font-weight: 500;
    border-right: 1px solid var(--border-light);
    transition: all 0.3s ease;
    position: relative;
    white-space: nowrap;
    min-width: fit-content;
    background: var(--background);
}

.quick-cat-item:last-child {
    border-right: none;
}

.quick-cat-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.quick-cat-item:hover {
    background: var(--surface);
    color: var(--primary-color);
    transform: translateY(-2px);
}

.quick-cat-item:hover::after {
    width: 100%;
}

.quick-cat-item:active {
    transform: translateY(0);
}

.cat-text {
    position: relative;
    z-index: 2;
}

/* Mobile Responsive - Horizontal Scrollable */
@media (max-width: 768px) {
    .quick-category-nav {
        padding: 0;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    }
    
    .quick-nav-wrapper {
        justify-content: flex-start;
        gap: 0;
        padding: 0 4px;
    }
    
    .quick-cat-item {
        flex: 0 0 auto;
        padding: 14px 18px;
        font-size: 0.9rem;
        min-width: auto;
    }
}

@media (max-width: 480px) {
    .quick-cat-item {
        padding: 12px 16px;
        font-size: 0.85rem;
    }
}

/* Dark Mode Support */
[data-theme="dark"] .quick-category-nav {
    background: var(--background-dark);
    border-bottom-color: var(--border-dark);
}

[data-theme="dark"] .quick-cat-item {
    color: var(--text-primary-dark);
    background: var(--background-dark);
    border-right-color: var(--border-dark);
}

[data-theme="dark"] .quick-cat-item:hover {
    background: var(--surface-dark);
    color: var(--primary-color);
}















/* ========================================
   PRODUCT RATING STYLES - ADD THIS
   ======================================== */

.product-rating {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0.5px 0 12px 0;
  padding: 1px 0;
  font-size: 0.85rem;
}

.rating-stars {
  display: flex;
  align-items: center;
  gap: 2px;
  color: #FFA500;
}

.rating-stars i {
  font-size: 14px;
  color: #FFA500;
}

.rating-stars .fa-star {
  color: #FFA500;
}

.rating-stars .fa-star-half-alt {
  color: #FFA500;
}

.rating-stars .fa-star.empty {
  color: #E2E8F0;
}

.rating-value {
  font-weight: 600;
  color: var(--text-primary, #1a202c);
  font-size: 0.9rem;
  margin-left: 4px;
}

.rating-max {
  color: var(--text-muted, #718096);
  font-size: 0.85rem;
  font-weight: 400;
}

/* Dark theme support */
[data-theme="dark"] .rating-value {
  color: #ffffff;
}

[data-theme="dark"] .rating-max {
  color: #9ca3af;
}

[data-theme="dark"] .rating-stars .fa-star.empty {
  color: #4a5568;
}






