/* Beauty Zen - Main Stylesheet */

/* CSS Variables for Theme */
:root {
    --primary-color: #6f42c1;
    --secondary-color: #e83e8c;
    --accent-color: #ffd700;
    --text-color: #333333;
    --text-light: #666666;
    --text-muted: #999999;
    --background-color: #ffffff;
    --surface-color: #f8f9fa;
    --border-color: #e9ecef;
    --success-color: #28a745;
    --warning-color: #ffc107;
    --error-color: #dc3545;
    --info-color: #17a2b8;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #6f42c1 0%, #e83e8c 100%);
    --gradient-secondary: linear-gradient(135deg, #ffd700 0%, #ff6b6b 100%);
    --gradient-surface: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    --gradient-dark: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 12px 24px rgba(0, 0, 0, 0.18);
    --shadow-3d: 0 20px 40px rgba(0, 0, 0, 0.1);
    
    /* Spacing */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-xxl: 3rem;
    
    /* Border Radius */
    --border-radius-sm: 0.25rem;
    --border-radius-md: 0.5rem;
    --border-radius-lg: 1rem;
    --border-radius-xl: 1.5rem;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-medium: 0.3s ease;
    --transition-slow: 0.5s ease;
}

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

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background: var(--background-color);
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: var(--spacing-md);
}

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

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

/* Navigation */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-md);
    padding: var(--spacing-md) 0;
    transition: var(--transition-medium);
    z-index: 1030;
}

.glass-nav {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    margin: 0;
    padding: 0;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary-color) !important;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.brand-logo i {
    font-size: 1.8rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.navbar-nav .nav-link {
    color: var(--text-color) !important;
    font-weight: 500;
    padding: var(--spacing-sm) var(--spacing-md) !important;
    border-radius: var(--border-radius-md);
    transition: var(--transition-fast);
    position: relative;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-color) !important;
    background: rgba(111, 66, 193, 0.1);
    transform: translateY(-2px);
}

.navbar-nav .nav-link .badge {
    position: absolute;
    top: 0;
    right: 0;
    transform: translate(50%, -50%);
    font-size: 0.7rem;
    min-width: 1.2rem;
    height: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Main Content */
.main-content {
    padding-top: 80px;
    min-height: 100vh;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--gradient-primary);
}

.hero-carousel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

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

.hero-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(111, 66, 193, 0.7);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    color: white;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-lg);
    background: linear-gradient(45deg, #ffffff, #ffd700);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-xl);
    color: rgba(255, 255, 255, 0.9);
}

/* Floating Elements */
.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.floating-element {
    position: absolute;
    color: rgba(255, 255, 255, 0.2);
    font-size: 2rem;
    animation: float 6s ease-in-out infinite;
}

.floating-element.element-1 {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.floating-element.element-2 {
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.floating-element.element-3 {
    bottom: 20%;
    left: 20%;
    animation-delay: 4s;
}

/* Buttons */
.btn {
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-sm) var(--spacing-lg);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition-medium);
    border: none;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: white;
}

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

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

.glow-button {
    position: relative;
    overflow: hidden;
}

.glow-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.glow-button:hover::before {
    left: 100%;
}

/* Cards */
.card-3d {
    background: var(--background-color);
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-md);
    transition: var(--transition-medium);
    position: relative;
    overflow: hidden;
}

.card-3d::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.card-3d:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

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

/* Sections */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: var(--spacing-lg);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

/* Category Cards */
.category-card {
    background: var(--background-color);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-medium);
    position: relative;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.category-image {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.category-content {
    padding: var(--spacing-lg);
    text-align: center;
}

.category-content h5 {
    font-size: 1.3rem;
    margin-bottom: var(--spacing-sm);
    color: var(--text-color);
}

.category-content p {
    color: var(--text-light);
    margin-bottom: var(--spacing-md);
}

/* Product Cards */
.product-card {
    background: var(--background-color);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-medium);
    position: relative;
    height: 100%;
}

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

.product-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

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

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

.discount-badge {
    position: absolute;
    top: var(--spacing-sm);
    right: var(--spacing-sm);
    background: var(--gradient-secondary);
    color: white;
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--border-radius-md);
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 2;
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 10;
    pointer-events: none;
}

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

.product-overlay .btn {
    z-index: 15;
    pointer-events: auto;
}

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

.product-content h6 {
    font-size: 1.1rem;
    margin-bottom: var(--spacing-sm);
    color: var(--text-color);
}

.product-description {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: var(--spacing-md);
    line-height: 1.4;
}

.product-price {
    margin-bottom: var(--spacing-md);
}

.current-price {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
}

.original-price {
    font-size: 1rem;
    color: var(--text-muted);
    text-decoration: line-through;
    margin-left: var(--spacing-sm);
}

.product-rating {
    color: var(--accent-color);
    margin-bottom: var(--spacing-md);
}

.product-actions {
    display: flex;
    gap: var(--spacing-sm);
}

.product-actions .btn {
    flex: 1;
    text-align: center;
    justify-content: center;
}

/* Wishlist Styles */
.wishlist-btn {
    position: relative;
    transition: all 0.3s ease;
}

.wishlist-btn.in-wishlist {
    color: #e74c3c !important;
    border-color: #e74c3c !important;
    background: rgba(231, 76, 60, 0.1) !important;
}

.wishlist-btn.in-wishlist:hover {
    background: #e74c3c !important;
    color: white !important;
}

.wishlist-btn:not(.in-wishlist):hover {
    color: #e74c3c !important;
    border-color: #e74c3c !important;
}

.nav-link[title="My Wishlist"]:hover {
    color: #e74c3c !important;
}

.empty-wishlist {
    padding: 4rem 2rem;
    text-align: center;
}

.empty-wishlist .empty-state {
    max-width: 400px;
    margin: 0 auto;
}

.empty-wishlist i {
    opacity: 0.3;
    margin-bottom: 2rem;
}

.wishlist-page .product-card {
    transition: all 0.3s ease;
}

.wishlist-page .product-card:hover {
    transform: translateY(-8px);
}

/* Heart particle animation */
@keyframes heartFloat {
    0% {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
    100% {
        transform: translateY(-60px) scale(1.5);
        opacity: 0;
    }
}

.heart-particle {
    position: fixed;
    font-size: 20px;
    pointer-events: none;
    z-index: 9999;
    animation: heartFloat 1s ease-out forwards;
}

/* Profile Page Styles */
.profile-container {
    padding: 2rem 0;
}

.profile-sidebar {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    height: fit-content;
    position: sticky;
    top: 100px;
}

.avatar-circle {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: white;
    font-size: 2rem;
}

.profile-menu {
    margin-top: 1rem;
}

.menu-item {
    display: flex;
    align-items: center;
    padding: 1rem;
    color: var(--text-color);
    text-decoration: none;
    border-radius: 8px;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

.menu-item:hover {
    background: var(--background-light);
    color: var(--primary-color);
    text-decoration: none;
    transform: translateX(5px);
}

.menu-item.active {
    background: var(--primary-color);
    color: white;
}

.menu-item i {
    margin-right: 0.75rem;
    width: 20px;
    text-align: center;
}

.profile-content {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
}

.profile-section {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #eee;
}

.profile-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.stat-card {
    background: var(--background-light);
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    border: 1px solid #eee;
    transition: all 0.3s ease;
}

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

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
}

/* Benefits Section */
.benefits-section {
    background: var(--surface-color);
}

.benefit-card {
    text-align: center;
    padding: var(--spacing-lg);
    border-radius: var(--border-radius-lg);
    background: var(--background-color);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-medium);
    height: 100%;
}

.benefit-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.benefit-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--spacing-md);
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
}

.benefit-card h5 {
    font-size: 1.2rem;
    margin-bottom: var(--spacing-sm);
    color: var(--text-color);
}

.benefit-card p {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Newsletter Section */
.newsletter-section {
    background: var(--gradient-primary);
    color: white;
}

.newsletter-form .input-group {
    max-width: 400px;
    margin: 0 auto;
}

.newsletter-form .form-control {
    border: none;
    border-radius: var(--border-radius-lg) 0 0 var(--border-radius-lg);
    padding: var(--spacing-md);
}

.newsletter-form .btn {
    border-radius: 0 var(--border-radius-lg) var(--border-radius-lg) 0;
    padding: var(--spacing-md) var(--spacing-lg);
}

/* Footer */
.footer {
    background: var(--gradient-dark);
    color: rgba(255, 255, 255, 0.95);
    padding: var(--spacing-xxl) 0 var(--spacing-lg);
}

.footer h5, .footer h6 {
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: var(--spacing-md);
}

.footer p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin-bottom: var(--spacing-md);
}

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

.footer ul li {
    margin-bottom: var(--spacing-sm);
}

.footer a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.social-links {
    display: flex;
    gap: var(--spacing-sm);
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: var(--transition-fast);
}

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

/* Auth Pages */
.auth-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--gradient-primary);
    padding: var(--spacing-xl) 0;
}

.auth-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: var(--border-radius-xl);
    padding: var(--spacing-xxl);
    box-shadow: var(--shadow-3d);
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

.auth-header {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.auth-icon {
    font-size: 3rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--spacing-md);
}

.auth-header h2 {
    color: var(--text-color);
    margin-bottom: var(--spacing-sm);
}

.auth-header p {
    color: var(--text-light);
    margin-bottom: 0;
}

.auth-form .form-control {
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-md);
    font-size: 1rem;
    transition: var(--transition-fast);
}

.auth-form .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(111, 66, 193, 0.25);
}

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

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

/* Product Pages */
.products-container {
    padding: var(--spacing-xl) 0;
}

.page-header {
    padding: var(--spacing-xxl) 0;
    background: var(--gradient-primary);
    color: white;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: var(--spacing-sm);
    color: #ffffff !important;
    font-weight: 700;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.7);
    letter-spacing: 0.5px;
}

.page-header p {
    font-size: 1.2rem;
    color: #ffffff !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    font-weight: 500;
}

/* Products hero section specific styles - highest specificity */
.products-hero .hero-title,
.products-hero h1,
.products-hero .hero-title span,
.products-hero h1 span,
.products-hero .text-gradient {
    color: #ffffff !important;
    font-weight: 700 !important;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.7) !important;
    -webkit-text-fill-color: #ffffff !important;
    background: none !important;
}

.products-hero .hero-subtitle,
.products-hero p {
    color: #ffffff !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5) !important;
}

.filters-section {
    background: var(--surface-color);
    padding: var(--spacing-lg);
    border-radius: var(--border-radius-lg);
    margin-bottom: var(--spacing-xl);
}

.filter-card {
    background: var(--background-color);
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-sm);
}

.filter-card h6 {
    color: var(--text-color);
    margin-bottom: var(--spacing-md);
    font-weight: 600;
}

.category-filters {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.filter-link {
    color: var(--text-light);
    text-decoration: none;
    padding: var(--spacing-sm);
    border-radius: var(--border-radius-md);
    transition: var(--transition-fast);
}

.filter-link:hover,
.filter-link.active {
    background: var(--primary-color);
    color: white;
}

.price-inputs {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.price-inputs input {
    flex: 1;
}

.price-inputs span {
    color: var(--text-muted);
}

.products-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-lg);
}

.products-count {
    color: var(--text-light);
    margin: 0;
}

.products-grid {
    margin-bottom: var(--spacing-xl);
}

.no-products {
    text-align: center;
    padding: var(--spacing-xxl);
    color: var(--text-muted);
}

.no-products i {
    margin-bottom: var(--spacing-lg);
}

/* Product Detail */
.product-detail-container {
    padding: var(--spacing-xl) 0;
}

.product-gallery {
    position: sticky;
    top: 100px;
}

.main-image {
    position: relative;
    margin-bottom: var(--spacing-md);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.main-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.image-thumbnails {
    display: flex;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
}

.thumbnail {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: var(--border-radius-md);
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition-fast);
}

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

.product-info {
    padding-left: var(--spacing-lg);
}

.product-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    color: var(--text-color);
}

.product-rating {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
}

.stars {
    color: var(--accent-color);
}

.rating-text {
    color: var(--text-light);
}

.product-price {
    margin-bottom: var(--spacing-lg);
}

.product-price .current-price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
}

.product-price .original-price {
    font-size: 1.5rem;
    color: var(--text-muted);
    text-decoration: line-through;
    margin-left: var(--spacing-sm);
}

.savings {
    background: var(--gradient-secondary);
    color: white;
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--border-radius-md);
    font-size: 0.9rem;
    font-weight: 600;
    margin-left: var(--spacing-sm);
}

.product-summary {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-light);
}

.product-actions {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.quantity-selector {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.quantity-controls {
    display: flex;
    align-items: center;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
}

.quantity-controls button {
    width: 40px;
    height: 40px;
    border: none;
    background: var(--surface-color);
    color: var(--text-color);
    cursor: pointer;
    transition: var(--transition-fast);
}

.quantity-controls button:hover {
    background: var(--primary-color);
    color: white;
}

.quantity-controls input {
    width: 60px;
    height: 40px;
    text-align: center;
    border: none;
    background: var(--background-color);
    color: var(--text-color);
}

.stock-status {
    font-weight: 600;
}

.in-stock {
    color: var(--success-color);
}

.out-of-stock {
    color: var(--error-color);
}

.action-buttons {
    display: flex;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.product-meta {
    border-top: 1px solid var(--border-color);
    padding-top: var(--spacing-lg);
}

.meta-item {
    margin-bottom: var(--spacing-sm);
    color: var(--text-light);
}

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

.product-details-tabs {
    border-top: 1px solid var(--border-color);
    padding-top: var(--spacing-xl);
}

.tab-content-inner {
    padding: var(--spacing-lg);
}

.reviews-section {
    max-width: 600px;
}

.review-item {
    padding: var(--spacing-lg);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    margin-bottom: var(--spacing-md);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-sm);
}

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

.review-rating {
    color: var(--accent-color);
}

.review-content p {
    color: var(--text-light);
    margin: 0;
}

.related-products {
    margin-top: var(--spacing-xxl);
    padding-top: var(--spacing-xxl);
    border-top: 1px solid var(--border-color);
}

/* Cart */
.cart-container {
    padding: var(--spacing-xl) 0;
}

.cart-item {
    background: var(--background-color);
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-sm);
    margin-bottom: var(--spacing-md);
}

.cart-item-image {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: var(--border-radius-md);
}

.cart-item h6 {
    color: var(--text-color);
    margin-bottom: var(--spacing-xs);
}

.cart-item .price {
    font-weight: 600;
}

.cart-item .current-price {
    color: var(--primary-color);
    font-size: 1.1rem;
}

.cart-item .original-price {
    color: var(--text-muted);
    text-decoration: line-through;
}

.quantity-controls {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.quantity-controls .btn {
    width: 30px;
    height: 30px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quantity-controls .quantity {
    font-weight: 600;
    min-width: 30px;
    text-align: center;
}

.total-price {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1.2rem;
}

.cart-summary {
    background: var(--surface-color);
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-lg);
    position: sticky;
    top: 100px;
}

.cart-summary h5 {
    color: var(--text-color);
    margin-bottom: var(--spacing-lg);
}

.summary-line {
    display: flex;
    justify-content: space-between;
    margin-bottom: var(--spacing-md);
    padding-bottom: var(--spacing-sm);
    border-bottom: 1px solid var(--border-color);
}

.summary-line.total {
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
}

.checkout-actions {
    margin-top: var(--spacing-lg);
}

.cart-benefits {
    padding-top: var(--spacing-lg);
    border-top: 1px solid var(--border-color);
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-sm);
    color: var(--text-light);
    font-size: 0.9rem;
}

.benefit-item i {
    color: var(--primary-color);
}

.empty-cart {
    text-align: center;
    padding: var(--spacing-xxl);
    color: var(--text-muted);
}

.empty-cart-icon {
    font-size: 5rem;
    margin-bottom: var(--spacing-lg);
    color: var(--border-color);
}

.empty-cart h3 {
    color: var(--text-color);
    margin-bottom: var(--spacing-md);
}

/* Checkout */
.checkout-container {
    padding: var(--spacing-xl) 0;
}

.checkout-section {
    background: var(--background-color);
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
    box-shadow: var(--shadow-sm);
}

.checkout-section h4 {
    color: var(--text-color);
    margin-bottom: var(--spacing-lg);
    padding-bottom: var(--spacing-sm);
    border-bottom: 2px solid var(--primary-color);
}

.payment-methods {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.payment-method {
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-md);
    cursor: pointer;
    transition: var(--transition-fast);
}

.payment-method:hover {
    border-color: var(--primary-color);
}

.payment-method input[type="radio"] {
    margin-right: var(--spacing-sm);
}

.payment-method label {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    cursor: pointer;
    font-weight: 600;
    color: var(--text-color);
}

.payment-method i {
    font-size: 1.2rem;
    color: var(--primary-color);
}

.order-summary {
    background: var(--surface-color);
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-lg);
    position: sticky;
    top: 100px;
}

.order-summary h4 {
    color: var(--text-color);
    margin-bottom: var(--spacing-lg);
}

.order-items {
    margin-bottom: var(--spacing-lg);
}

.order-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-md);
    padding-bottom: var(--spacing-md);
    border-bottom: 1px solid var(--border-color);
}

.item-info {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.item-info img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: var(--border-radius-md);
}

.item-details h6 {
    font-size: 0.9rem;
    margin-bottom: var(--spacing-xs);
}

.item-details p {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin: 0;
}

.item-price {
    font-weight: 600;
    color: var(--primary-color);
}

.summary-totals {
    margin-bottom: var(--spacing-lg);
}

.coupon-section {
    margin-bottom: var(--spacing-lg);
}

.security-badges {
    margin-top: var(--spacing-md);
}

.security-badges small {
    color: var(--text-muted);
}

.security-badges i {
    color: var(--success-color);
    margin-right: var(--spacing-xs);
}

/* User Profile */
.profile-container {
    padding: var(--spacing-xl) 0;
}

.profile-sidebar {
    background: var(--background-color);
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 100px;
}

.profile-avatar {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.avatar-circle {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-md);
    color: white;
    font-size: 2rem;
}

.profile-avatar h5 {
    color: var(--text-color);
    margin-bottom: var(--spacing-xs);
}

.profile-menu {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.menu-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--border-radius-md);
    color: var(--text-color);
    text-decoration: none;
    transition: var(--transition-fast);
}

.menu-item:hover,
.menu-item.active {
    background: var(--primary-color);
    color: white;
}

.menu-item i {
    width: 20px;
    text-align: center;
}

.profile-content {
    padding-left: var(--spacing-lg);
}

.profile-section {
    background: var(--background-color);
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
    box-shadow: var(--shadow-sm);
}

.profile-section h4 {
    color: var(--text-color);
    margin-bottom: var(--spacing-lg);
    padding-bottom: var(--spacing-sm);
    border-bottom: 2px solid var(--primary-color);
}

.profile-form .form-control {
    margin-bottom: var(--spacing-md);
}

.stat-card {
    text-align: center;
    background: var(--gradient-primary);
    color: white;
    padding: var(--spacing-lg);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: var(--spacing-xs);
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Orders */
.orders-container {
    padding: var(--spacing-xl) 0;
}

.orders-content {
    padding-left: var(--spacing-lg);
}

.order-card {
    background: var(--background-color);
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
    box-shadow: var(--shadow-sm);
    border-left: 4px solid var(--primary-color);
}

.order-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-md);
    padding-bottom: var(--spacing-md);
    border-bottom: 1px solid var(--border-color);
}

.order-info h5 {
    color: var(--text-color);
    margin-bottom: var(--spacing-xs);
}

.order-date {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin: 0;
}

.status-badge {
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--border-radius-md);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-pending {
    background: #fff3cd;
    color: #856404;
}

.status-confirmed {
    background: #cff4fc;
    color: #055160;
}

.status-shipped {
    background: #e7f3ff;
    color: #084298;
}

.status-delivered {
    background: #d1e7dd;
    color: #0a3622;
}

.status-cancelled {
    background: #f8d7da;
    color: #721c24;
}

.order-items {
    margin-bottom: var(--spacing-md);
}

.order-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-sm);
    padding: var(--spacing-sm);
    background: var(--surface-color);
    border-radius: var(--border-radius-md);
}

.order-item-image {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: var(--border-radius-md);
}

.item-details {
    flex: 1;
}

.item-details h6 {
    font-size: 0.9rem;
    margin-bottom: var(--spacing-xs);
}

.item-meta {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin: 0;
}

.item-total {
    font-weight: 600;
    color: var(--primary-color);
}

.order-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--spacing-md);
    border-top: 1px solid var(--border-color);
}

.order-total {
    font-size: 1.2rem;
    color: var(--primary-color);
}

.order-actions {
    display: flex;
    gap: var(--spacing-sm);
}

.empty-orders {
    text-align: center;
    padding: var(--spacing-xxl);
    color: var(--text-muted);
}

.empty-icon {
    font-size: 5rem;
    margin-bottom: var(--spacing-lg);
    color: var(--border-color);
}

/* Admin Panel */
.admin-container {
    padding: var(--spacing-xl) 0;
    background: var(--surface-color);
    min-height: 100vh;
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-xl);
}

.admin-header h1 {
    color: var(--text-color);
    margin-bottom: var(--spacing-xs);
}

.admin-header p {
    color: var(--text-light);
    margin: 0;
}

.header-actions {
    display: flex;
    gap: var(--spacing-sm);
}

.stat-card {
    background: var(--background-color);
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-sm);
    border-left: 4px solid var(--primary-color);
    height: 100%;
}

.stat-card .stat-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    margin-bottom: var(--spacing-md);
}

.stat-info h3 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: var(--spacing-xs);
}

.stat-info p {
    color: var(--text-light);
    margin-bottom: var(--spacing-sm);
}

.stat-info small {
    font-size: 0.8rem;
}

.admin-card {
    background: var(--background-color);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.admin-card .card-header {
    background: var(--surface-color);
    padding: var(--spacing-md) var(--spacing-lg);
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.admin-card .card-header h5 {
    color: var(--text-color);
    margin: 0;
}

.admin-card .card-body {
    padding: var(--spacing-lg);
}

.top-products-list {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.top-product-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-sm);
    background: var(--surface-color);
    border-radius: var(--border-radius-md);
}

.product-thumb {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: var(--border-radius-md);
}

.product-info {
    flex: 1;
}

.product-info h6 {
    font-size: 0.9rem;
    margin-bottom: var(--spacing-xs);
}

.product-info p {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin: 0;
}

.product-price {
    font-weight: 600;
    color: var(--primary-color);
}

.quick-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-sm);
}

.quick-action-btn {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-md);
    background: var(--surface-color);
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius-md);
    color: var(--text-color);
    text-decoration: none;
    transition: var(--transition-fast);
}

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

.quick-action-btn i {
    color: var(--primary-color);
}

.quick-action-btn:hover i {
    color: white;
}

.admin-filters {
    background: var(--background-color);
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-sm);
}

.product-info {
    display: flex;
    flex-direction: column;
}

.product-info h6 {
    font-size: 0.9rem;
    margin-bottom: var(--spacing-xs);
}

.product-info small {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.stock-badge {
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--border-radius-md);
    font-size: 0.8rem;
    font-weight: 600;
}

.stock-good {
    background: #d1e7dd;
    color: #0a3622;
}

.stock-low {
    background: #fff3cd;
    color: #856404;
}

.stock-out {
    background: #f8d7da;
    color: #721c24;
}

.status-active {
    background: #d1e7dd;
    color: #0a3622;
}

.status-inactive {
    background: #f8d7da;
    color: #721c24;
}

.action-buttons {
    display: flex;
    gap: var(--spacing-xs);
}

.action-buttons .btn {
    padding: var(--spacing-xs) var(--spacing-sm);
}

.bulk-actions {
    background: var(--surface-color);
    padding: var(--spacing-md);
    border-radius: var(--border-radius-md);
    margin-top: var(--spacing-md);
}

.customer-info {
    display: flex;
    flex-direction: column;
}

.customer-info h6 {
    font-size: 0.9rem;
    margin-bottom: var(--spacing-xs);
}

.customer-info small {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.payment-badge {
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--border-radius-md);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.payment-cod {
    background: #fff3cd;
    color: #856404;
}

.payment-razorpay {
    background: #e7f3ff;
    color: #084298;
}

.status-select {
    min-width: 120px;
}

.user-info {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

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

.user-details {
    display: flex;
    flex-direction: column;
}

.user-details h6 {
    font-size: 0.9rem;
    margin-bottom: var(--spacing-xs);
}

.user-details small {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.role-select {
    min-width: 100px;
}

.settings-nav {
    background: var(--background-color);
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-md);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 100px;
}

.settings-nav .nav-link {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--border-radius-md);
    color: var(--text-color);
    text-decoration: none;
    transition: var(--transition-fast);
    border: none;
    background: transparent;
    width: 100%;
    text-align: left;
}

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

.settings-nav .nav-link i {
    width: 20px;
    text-align: center;
}

.payment-method-section {
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-lg);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .product-title {
        font-size: 2rem;
    }
    
    .product-info {
        padding-left: 0;
        margin-top: var(--spacing-lg);
    }
    
    .profile-content,
    .orders-content {
        padding-left: 0;
        margin-top: var(--spacing-lg);
    }
    
    .admin-header {
        flex-direction: column;
        text-align: center;
        gap: var(--spacing-md);
    }
    
    .quick-actions {
        grid-template-columns: 1fr;
    }
    
    .order-footer {
        flex-direction: column;
        gap: var(--spacing-md);
        text-align: center;
    }
    
    .action-buttons {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .bulk-actions .row {
        flex-direction: column;
        gap: var(--spacing-md);
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .product-title {
        font-size: 1.5rem;
    }
    
    .auth-card {
        padding: var(--spacing-lg);
    }
    
    .product-actions {
        flex-direction: column;
        gap: var(--spacing-md);
    }
    
    .action-buttons .btn {
        width: 100%;
        justify-content: center;
    }
    
    .order-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .order-actions .btn {
        width: 100%;
    }
}

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

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

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

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

/* Utility Classes */
.floating-animation {
    animation: float 6s ease-in-out infinite;
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

.slide-in-right {
    animation: slideInRight 0.6s ease-out;
}

.pulse-animation {
    animation: pulse 2s infinite;
}

/* Notification Styles */
.notification {
    position: fixed;
    top: 100px;
    right: 20px;
    z-index: 10000 !important;
    min-width: 300px;
    animation: slideInRight 0.3s ease-out;
}

/* Ensure notifications appear above everything */
.notification.alert {
    z-index: 10000 !important;
    position: fixed !important;
}

/* Loading Spinner */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

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

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

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--surface-color);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}

/* Focus Styles */
.form-control:focus,
.form-select:focus,
.btn:focus {
    outline: none;
    box-shadow: 0 0 0 0.2rem rgba(111, 66, 193, 0.25);
}

/* Custom Checkbox and Radio Styles */
.form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.form-check-input:focus {
    box-shadow: 0 0 0 0.2rem rgba(111, 66, 193, 0.25);
}

/* Print Styles */
@media print {
    .navbar,
    .footer,
    .floating-elements,
    .admin-header,
    .admin-filters,
    .bulk-actions {
        display: none !important;
    }
    
    .main-content {
        padding-top: 0;
    }
    
    .card-3d,
    .admin-card {
        box-shadow: none;
        border: 1px solid #ccc;
    }
}

/* FORCE WHITE TEXT ON HERO SECTIONS - HIGHEST PRIORITY */
section.products-hero h1,
section.products-hero h1 span,
section.products-hero .hero-title,
section.products-hero .hero-title span,
section.products-hero .text-gradient,
.page-header h1 {
    color: white !important;
    -webkit-text-fill-color: white !important;
    background-image: none !important;
    background: none !important;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.8) !important;
    font-weight: 700 !important;
}

section.products-hero p,
section.products-hero .hero-subtitle,
.page-header p {
    color: white !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6) !important;
}
