/* GoodDream Store - Modern Material UI Theme */

/* Color Palette - Updated to prioritize secondary color */
:root {
    --primary-color: #005280;
    --secondary-color: #8bc132;
    --secondary-light: #a8d15a;
    --secondary-dark: #7ab12a;
    --accent-color: #f3c61c;
    --bg-white: #ffffff;
    --success-color: #8bc132; /* Use secondary as success */
    --dark-color: #1a1a1a;
    --light-gray: #f8f9fa;
    --medium-gray: #6c757d;
    --border-color: #e9ecef;
    
    /* Gradients - Secondary color focused */
    --primary-gradient: linear-gradient(135deg, #005280 0%, #0066a0 100%);
    --secondary-gradient: linear-gradient(135deg, #8bc132 0%, #a8d15a 100%);
    --secondary-light-gradient: linear-gradient(135deg, #a8d15a 0%, #c4e86f 100%);
    --accent-gradient: linear-gradient(135deg, #f3c61c 0%, #f9d84a 100%);
    --success-gradient: linear-gradient(135deg, #8bc132 0%, #a8d15a 100%);
    
    /* Material Shadows */
    --shadow-1: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
    --shadow-2: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);
    --shadow-3: 0 10px 20px rgba(0,0,0,0.19), 0 6px 6px rgba(0,0,0,0.23);
    --shadow-4: 0 14px 28px rgba(0,0,0,0.25), 0 10px 10px rgba(0,0,0,0.22);
    --shadow-5: 0 19px 38px rgba(0,0,0,0.30), 0 15px 12px rgba(0,0,0,0.22);
    
    /* Border Radius */
    --radius-small: 4px;
    --radius-medium: 8px;
    --radius-large: 12px;
    --radius-xl: 16px;
    --radius-round: 50%;
    
    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0.0, 0.2, 1);
    --transition-medium: 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0.0, 0.2, 1);
}

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

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

body {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    background-color: var(--bg-white);
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    padding-top: 0; /* Remove default padding, let pages control their own spacing */
}

/* ===== HEADER STYLES ===== */
/* Top Bar */
.topbar {
    font-size: 0.85rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    position: relative;
    z-index: 1040;
    background: var(--primary-color) !important;
    color: white !important;
    padding-bottom: 10px;
}

.topbar * {
    color: white !important;
}

.social-link {
    color: rgba(255,255,255,0.8) !important;
    text-decoration: none;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
    font-size: 0.85rem;
}

.social-link:hover {
    color: white !important;
    background-color: rgba(255,255,255,0.1);
    transform: translateY(-2px);
}

/* Navigation */
.navbar {
    padding: 0.75rem 0;
    border-bottom: 1px solid #e9ecef;
    transition: all 0.3s ease;
    z-index: 1030;
    position: relative;
    background-color: white !important;
}

/* Ensure topbar is always visible above navbar */
header {
    position: relative;
}

.topbar {
    position: relative !important;
    z-index: 1040 !important;
    display: block !important;
}

/* Sticky Navbar */
.navbar-sticky {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 1030 !important;
    background-color: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px) !important;
    box-shadow: 0 2px 20px rgba(0,0,0,0.1) !important;
    border-bottom: 1px solid rgba(0,0,0,0.1) !important;
}

/* Navbar spacer for content flow */
#navbar-spacer {
    display: block;
    width: 100%;
}

.navbar-brand {
    font-weight: 700;
    text-decoration: none;
}

.navbar-logo {
    height: 45px;
    width: auto;
    object-fit: contain;
}

.navbar-logo-icon {
    font-size: 2.5rem !important;
}

.navbar-brand-text {
    font-size: 1.8rem;
    font-weight: 700;
}

/* Navigation Actions */
.navbar-actions {
    margin-left: auto;
}

.nav-action-btn {
    display: flex;
    align-items: center;
    padding: 8px 12px;
    color: #333;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s ease;
    position: relative;
    background: transparent;
    border: 1px solid transparent;
}

.nav-action-btn:hover {
    color: var(--secondary-color);
    background-color: rgba(139, 193, 50, 0.1);
    border-color: rgba(139, 193, 50, 0.2);
}

.action-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--secondary-color);
    color: white;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 10px;
    min-width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.action-label {
    font-size: 0.9rem;
    font-weight: 500;
}

/* Navigation Links */
.nav-link {
    color: #333 !important;
    font-weight: 500;
    padding: 8px 16px !important;
    transition: all 0.3s ease;
    border-radius: 6px;
    margin: 0 2px;
}

.nav-link:hover,
.nav-link.active {
    color: var(--secondary-color) !important;
    background-color: rgba(139, 193, 50, 0.1);
}

/* Dropdown Menus */
.dropdown-menu {
    border: none;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    border-radius: 8px;
    padding: 8px 0;
    margin-top: 8px;
}

.dropdown-item {
    padding: 8px 16px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.dropdown-item:hover {
    background-color: rgba(139, 193, 50, 0.1);
    color: var(--secondary-color);
}

.dropdown-item .material-icons {
    font-size: 1.1rem;
}

/* Mobile Responsiveness */
@media (max-width: 991.98px) {
    .topbar {
        padding: 0.5rem 0 1rem 0 !important; /* Added bottom padding for mobile */
    }
    
    .topbar .mb-2 {
        margin-bottom: 0.5rem !important;
    }
    
    .topbar small {
        font-size: 0.8rem;
    }
    
    .social-link {
        width: 26px;
        height: 26px;
        font-size: 0.8rem;
    }
    
    .navbar-brand-text {
        font-size: 1.5rem;
    }
    
    .navbar-logo {
        height: 38px;
    }
    
    .navbar-logo-icon {
        font-size: 2rem !important;
    }
    
    .nav-action-btn {
        padding: 8px 10px;
    }
    
    .action-badge {
        top: -3px;
        right: -3px;
        font-size: 0.65rem;
        min-width: 16px;
        height: 16px;
        padding: 1px 4px;
    }
    
    .navbar-toggler {
        border: none;
        padding: 8px;
        border-radius: 6px;
        background: rgba(0, 82, 128, 0.1);
    }
    
    .navbar-toggler:focus {
        box-shadow: none;
    }
    
    .navbar-toggler .material-icons {
        font-size: 1.4rem;
        color: var(--secondary-color);
        transition: all 0.3s ease;
    }
    
    /* Mobile Menu */
    .navbar-collapse {
        margin-top: 1rem;
        padding-top: 1rem;
        border-top: 1px solid #e9ecef;
    }
    
    .nav-link {
        margin: 2px 0;
        padding: 14px 16px !important;
        font-size: 1rem;
    }
    
    /* Hide action buttons from mobile menu collapse */
    .navbar-actions {
        position: relative;
        z-index: 1031;
    }
    
    /* Mobile topbar spacing adjustments */
    .topbar .gap-4 {
        gap: 1.5rem !important;
    }
    
    .topbar .gap-3 {
        gap: 1rem !important;
    }
    
    .topbar .gap-2 {
        gap: 0.75rem !important;
    }
}

@media (max-width: 575.98px) {
    .topbar small {
        font-size: 0.75rem;
    }
    
    .topbar .gap-4 {
        gap: 1rem !important;
    }
    
    .social-link {
        width: 24px;
        height: 24px;
        font-size: 0.75rem;
    }
    
    .navbar-brand-text {
        font-size: 1.3rem;
    }
    
    .navbar-logo {
        height: 32px;
    }
    
    .navbar-logo-icon {
        font-size: 1.8rem !important;
    }
    
    .nav-action-btn {
        padding: 6px 8px;
    }
    
    .nav-action-btn .material-icons {
        font-size: 1.2rem;
    }
    
    .action-badge {
        font-size: 0.6rem;
        min-width: 14px;
        height: 14px;
    }
}

/* Body spacing for auth pages with only navbar */
body.auth-page {
    padding-top: 0px; /* No initial padding, handled by JavaScript */
    background: linear-gradient(135deg, var(--light-gray) 0%, #f1f3f4 100%);
}

/* Homepage and other pages */
body.homepage,
body.inner-page {
    padding-top: 0px; /* No initial padding, handled by JavaScript */
}

/* Main content spacing */
main {
    position: relative;
    z-index: 1;
}

/* Additional spacing for content after header */
.content-wrapper {
    margin-top: 2rem;
}

/* Auth page specific content spacing */
.auth-page .content-wrapper {
    margin-top: 1rem;
}

/* Text Contrast Fixes */
/* Dark backgrounds - use light text */
.bg-primary, 
.bg-dark, 
.topbar, 
.mobile-topbar,
.hero-slide,
.carousel-item,
.stat-card,
.commission-card,
.floating-badge,
.product-overlay {
    color: white !important;
}

.bg-primary *, 
.bg-dark *,
.topbar *,
.mobile-topbar *,
.hero-slide *,
.carousel-item *,
.stat-card *,
.commission-card *,
.floating-badge *,
.product-overlay * {
    color: inherit;
}

/* Light backgrounds - use dark text */
.bg-white,
.bg-light, 
.navbar,
.card,
.dropdown-menu,
.product-card,
.category-card,
.feature-section {
    color: var(--dark-color) !important;
}

.bg-white *:not(.text-primary):not(.text-secondary):not(.text-accent):not(.text-danger):not(.text-white):not(.text-light):not(.badge), 
.bg-light *:not(.text-primary):not(.text-secondary):not(.text-accent):not(.text-danger):not(.text-white):not(.text-light):not(.badge),
.navbar *:not(.text-primary):not(.text-secondary):not(.text-accent):not(.text-danger):not(.text-white):not(.text-light):not(.badge),
.card *:not(.text-primary):not(.text-secondary):not(.text-accent):not(.text-danger):not(.text-white):not(.text-light):not(.badge),
.dropdown-menu *:not(.text-primary):not(.text-secondary):not(.text-accent):not(.text-danger):not(.text-white):not(.text-light):not(.badge),
.product-card *:not(.text-primary):not(.text-secondary):not(.text-accent):not(.text-danger):not(.text-white):not(.text-light):not(.badge),
.category-card *:not(.text-primary):not(.text-secondary):not(.text-accent):not(.text-danger):not(.text-white):not(.text-light):not(.badge),
.feature-section *:not(.text-primary):not(.text-secondary):not(.text-accent):not(.text-danger):not(.text-white):not(.text-light):not(.badge) {
    /* color: var(--dark-color)  ; */
	
}

/* Specific color overrides for branded elements */
.text-primary {
    color: var(--primary-color) !important;
}

.text-secondary {
    color: var(--secondary-color) !important;
}

.text-accent {
    color: var(--accent-color) !important;
}

.text-muted {
    color: var(--medium-gray) !important;
}

/* Navbar specific fixes */
.navbar .nav-link {
    color: var(--dark-color) !important;
}

.navbar .nav-link:hover {
    color: var(--primary-color) !important;
}

.navbar .navbar-brand {
    color: var(--dark-color) !important;
}

.navbar .dropdown-item {
    color: var(--dark-color) !important;
}

.navbar .dropdown-item:hover {
    color: var(--secondary-color) !important;
}

/* Button styles - Secondary color priority */
.btn-primary {
    background: var(--secondary-gradient) !important;
    border-color: var(--secondary-color) !important;
    color: white !important;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
    background: var(--secondary-dark) !important;
    border-color: var(--secondary-dark) !important;
    color: white !important;
    transform: translateY(-2px);
}

.btn-secondary {
    background: var(--secondary-gradient) !important;
    border-color: var(--secondary-color) !important;
    color: white !important;
}

.btn-secondary:hover,
.btn-secondary:focus,
.btn-secondary:active {
    background: var(--secondary-dark) !important;
    border-color: var(--secondary-dark) !important;
    color: white !important;
}

.btn-success {
    background: var(--secondary-gradient) !important;
    border-color: var(--secondary-color) !important;
    color: white !important;
}

.btn-success:hover,
.btn-success:focus,
.btn-success:active {
    background: var(--secondary-dark) !important;
    border-color: var(--secondary-dark) !important;
    color: white !important;
}

.btn-accent {
    background: var(--accent-gradient);
    border-color: var(--accent-color);
    color: var(--dark-color) !important;
}

.btn-accent:hover {
    color: var(--dark-color) !important;
}

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

.btn-outline-primary:hover,
.btn-outline-primary:focus,
.btn-outline-primary:active {
    background: var(--secondary-color) !important;
    border-color: var(--secondary-color) !important;
    color: white !important;
}

.btn-outline-success {
    color: var(--secondary-color) !important;
    border-color: var(--secondary-color) !important;
    background: transparent !important;
}

.btn-outline-success:hover,
.btn-outline-success:focus,
.btn-outline-success:active {
    background: var(--secondary-color) !important;
    border-color: var(--secondary-color) !important;
    color: white !important;
}

.btn-outline-light {
    color: rgba(255,255,255,0.9) !important;
    border-color: rgba(255,255,255,0.7);
}

.btn-outline-light:hover {
    background: rgba(255,255,255,0.1);
    color: white !important;
}

/* Top Bar - Desktop Only */
.topbar {
    background: var(--primary-gradient) !important;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    height: 50px;
}

.topbar small {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.95) !important;
}

.topbar a {
    color: rgba(255,255,255,0.9) !important;
    text-decoration: none;
    transition: all var(--transition-fast);
}

.topbar a:hover {
    color: white !important;
    transform: scale(1.1);
}

/* Mobile Topbar */
.mobile-topbar {
    margin: -12px -15px 12px -15px;
    background: var(--primary-gradient) !important;
}

.mobile-topbar small {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.9) !important;
}

.mobile-topbar .social-links a {
    color: rgba(255,255,255,0.9) !important;
    font-size: 0.9rem;
}

.mobile-topbar .social-links a:hover {
    color: white !important;
}

/* Modern Navigation */
.navbar {
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-2);
    border: none;
    transition: all var(--transition-medium);
    padding: 1rem 0;
    min-height: 80px;
}

.navbar.scrolled {
    box-shadow: var(--shadow-3);
    background: rgba(255, 255, 255, 0.99) !important;
    padding: 0.75rem 0;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    transition: all var(--transition-medium);
    text-decoration: none;
}

.navbar-brand:hover {
    transform: scale(1.02);
}

.navbar-nav .nav-link {
    font-weight: 500;
    color: var(--dark-color) !important;
    padding: 0.75rem 1rem !important;
    border-radius: var(--radius-medium);
    transition: all var(--transition-medium);
    position: relative;
    margin: 0 0.25rem;
}

.navbar-nav .nav-link:hover {
    color: var(--secondary-color) !important;
    background: rgba(139, 193, 50, 0.1);
    transform: translateY(-1px);
}

.navbar-nav .nav-link.active {
    color: var(--secondary-color) !important;
    background: rgba(139, 193, 50, 0.1);
    font-weight: 600;
}

.navbar-nav .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 3px;
    background: var(--secondary-gradient);
    border-radius: 2px;
}

.navbar-toggler {
    border: none;
    padding: 0.5rem;
    border-radius: var(--radius-medium);
    transition: all var(--transition-medium);
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler:hover {
    background: rgba(0, 82, 128, 0.1);
}

/* Desktop Right Actions */
.nav-action-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-medium);
    color: var(--dark-color);
    text-decoration: none;
    transition: all var(--transition-medium);
    position: relative;
}

.nav-action-btn:hover {
    color: var(--primary-color);
    background: rgba(0, 82, 128, 0.05);
    transform: translateY(-1px);
}

.nav-action-btn i {
    font-size: 1.2rem;
}

.nav-action-btn span {
    font-size: 0.9rem;
    font-weight: 500;
}

/* Mobile Menu Links */
.mobile-menu-section {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.mobile-menu-link {
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    color: var(--dark-color);
    text-decoration: none;
    border-radius: var(--radius-medium);
    transition: all var(--transition-medium);
}

.mobile-menu-link:hover {
    background: rgba(0, 82, 128, 0.05);
    color: var(--primary-color);
}

.mobile-menu-link.text-danger:hover {
    background: rgba(220, 53, 69, 0.1);
    color: #dc3545;
}

/* Dropdown Menus */
.dropdown-menu {
    border-radius: var(--radius-medium);
    padding: 0.5rem 0;
    margin-top: 0.5rem;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-3);
}

.dropdown-item {
    padding: 0.75rem 1.25rem;
    font-weight: 500;
    transition: all var(--transition-fast);
    border-radius: 0;
    color: var(--dark-color);
	
}

.dropdown-item:hover {
    background: rgba(0, 82, 128, 0.05);
    color: var(--primary-color);
    transform: translateX(5px);
}

.dropdown-item.text-danger:hover {
    background: rgba(220, 53, 69, 0.1);
    color: #dc3545;
}

.dropdown-item i.material-icons {
    font-size: 1.2rem;
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
    body.homepage {
        padding-top: 0;
    }
    
    body.inner-page {
        padding-top: 80px;
    }
    
    .navbar {
        padding: 0.75rem 0;
        min-height: auto;
    }
}

@media (max-width: 767.98px) {
    body.inner-page {
        padding-top: 70px;
    }
    
    .navbar {
        padding: 0.5rem 0;
    }
    
    .navbar-brand {
        font-size: 1.25rem;
    }
    
    .navbar-nav .nav-link {
        text-align: left;
        margin: 0.1rem 0;
        padding: 0.5rem 1rem !important;
    }
    
    .mobile-topbar small:nth-child(2) {
        display: none;
    }
}

@media (max-width: 575.98px) {
    .mobile-topbar small:first-child {
        font-size: 0.7rem;
    }
    
    .navbar-brand span {
        font-size: 1.1rem;
    }
}

/* Hero Slider */
.hero-slider {
    position: relative;
    margin-top: 0;
    height: 300px;
    max-height: 300px;
    overflow: hidden;
}

.slide-container {
    position: relative;
    height: 300px;
    max-height: 300px;
    display: flex;
    overflow: hidden;
}

.slide-image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.slide-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-content {
    position: absolute;
    top: 0;
    left: 0;
    right: 50%;
    bottom: 0;
    z-index: 3;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
}

.slide-text-wrapper {
    color: white;
    padding: 2rem;
    max-width: 100%;
}

.slide-title {
    font-size: clamp(1.5rem, 4vw, 2.2rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.slide-subtitle {
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    line-height: 1.4;
    margin-bottom: 1.5rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.slide-buttons {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.slide-buttons .btn {
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.slide-buttons .btn-outline-light {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.slide-buttons .btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
}

.text-accent {
    color: #f3c61c !important;
    font-weight: 900;
}

/* Floating Elements */
.floating-elements {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 50%;
    z-index: 2;
    pointer-events: none;
}

.floating-element {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    animation-duration: 3s;
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;
}

.floating-element i {
    font-size: 1.5rem;
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
}

.fashion-icon {
    width: 50px;
    height: 50px;
    background: #005280;
    top: 30px;
    right: 30px;
    animation-name: bounce;
    animation-delay: 0s;
}

.discount-badge {
    width: 70px;
    height: 70px;
    background: #f3c61c;
    top: 100px;
    left: 20px;
    animation-name: float;
    animation-delay: 0.5s;
}

.discount-badge .badge-text {
    font-size: 0.7rem;
    font-weight: 800;
    color: #1a1a1a;
    text-shadow: none;
}

.trend-icon {
    width: 40px;
    height: 40px;
    background: #8bc132;
    bottom: 50px;
    right: 50px;
    animation-name: pulse;
    animation-delay: 1s;
}

.saree-icon {
    width: 55px;
    height: 55px;
    background: #005280;
    top: 40px;
    right: 25px;
    animation-name: swing;
    animation-delay: 0s;
}

.quality-badge {
    width: 80px;
    height: 80px;
    background: #f3c61c;
    top: 120px;
    left: 30px;
    animation-name: float;
    animation-delay: 0.7s;
}

.quality-badge .badge-text {
    font-size: 0.6rem;
    font-weight: 800;
    color: #1a1a1a;
    text-shadow: none;
    text-align: center;
    line-height: 1.1;
}

.star-icon {
    width: 35px;
    height: 35px;
    background: #8bc132;
    bottom: 40px;
    right: 40px;
    animation-name: rotate;
    animation-delay: 1.5s;
}

.money-icon {
    width: 60px;
    height: 60px;
    background: #005280;
    top: 35px;
    right: 35px;
    animation-name: bounce;
    animation-delay: 0s;
}

.commission-badge {
    width: 90px;
    height: 90px;
    background: #f3c61c;
    top: 110px;
    left: 25px;
    animation-name: pulse;
    animation-delay: 1s;
}

.commission-badge .badge-text {
    font-size: 0.6rem;
    font-weight: 800;
    color: #1a1a1a;
    text-shadow: none;
    text-align: center;
    line-height: 1.1;
}

.network-icon {
    width: 45px;
    height: 45px;
    background: #8bc132;
    bottom: 45px;
    right: 45px;
    animation-name: swing;
    animation-delay: 2s;
}

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

@keyframes bounce {
    0%, 100% { transform: translateY(0px) scale(1); }
    50% { transform: translateY(-15px) scale(1.05); }
}

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

@keyframes swing {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(8deg); }
    75% { transform: rotate(-8deg); }
}

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

/* Carousel Controls */
.carousel-indicators {
    bottom: 20px;
    z-index: 4;
}

.carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid white;
    background-color: rgba(255, 255, 255, 0.5);
    margin: 0 4px;
    transition: all 0.3s ease;
}

.carousel-indicators button.active {
   
    transform: scale(1.2);
}

.carousel-control-prev,
.carousel-control-next {
    width: 50px;
    opacity: 1;
    z-index: 4;
}

.carousel-control-icon {
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.carousel-control-icon:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: scale(1.1);
}

.carousel-control-icon i {
    color: white;
    font-size: 1.25rem;
}

/* Mobile Responsive for Slider */
@media (max-width: 768px) {
    /* Topbar padding for small devices */
    .topbar {
         
        min-height: 60px;
    }
    
    
    
    .hero-slider {
        height: 280px;
        max-height: 280px;
    }
    
    .slide-container {
        height: 280px;
        max-height: 280px;
    }
    
    .slide-content {
        right: 0;
        background: rgba(0, 0, 0, 0.75);
        backdrop-filter: blur(8px);
    }
    
    .slide-text-wrapper {
        padding: 1.5rem;
        text-align: center;
    }
    
    .slide-title {
        font-size: clamp(1.3rem, 5vw, 1.8rem);
        margin-bottom: 0.75rem;
    }
    
    .slide-subtitle {
        font-size: clamp(0.8rem, 3vw, 1rem);
        margin-bottom: 1rem;
    }
    
    .slide-buttons {
        justify-content: center;
        gap: 0.5rem;
    }
    
    .slide-buttons .btn {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }
    
    .floating-elements {
        width: 100%;
    }
    
    .floating-element {
        transform: scale(0.8);
    }
    
    .floating-element i {
        font-size: 1.25rem;
    }
    
    .discount-badge .badge-text,
    .quality-badge .badge-text,
    .commission-badge .badge-text {
        font-size: 0.5rem;
    }
    
    .carousel-control-icon {
        width: 35px;
        height: 35px;
    }
    
    .carousel-control-icon i {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .hero-slider {
        height: 250px;
        max-height: 250px;
    }
    
    .slide-container {
        height: 250px;
        max-height: 250px;
    }
    
    .slide-text-wrapper {
        padding: 1rem;
    }
    
    .slide-title {
        font-size: clamp(1.2rem, 6vw, 1.6rem);
    }
    
    .slide-subtitle {
        font-size: clamp(0.75rem, 4vw, 0.9rem);
    }
    
    .floating-element {
        transform: scale(0.7);
    }
    
    .slide-buttons .btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }
    
    .slide-buttons .btn .material-icons {
        font-size: 1rem;
    }
}

/* Buttons */
.btn {
    border-radius: var(--radius-medium);
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0.5px;
    transition: all var(--transition-medium);
    border: 2px solid transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

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

.btn:hover::before {
    left: 100%;
}

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

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

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

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

.btn-accent {
    background: var(--accent-gradient);
    color: var(--dark-color);
    box-shadow: var(--shadow-2);
}

.btn-accent:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-4);
    color: var(--dark-color);
}

.btn-success {
    background: var(--success-gradient);
    color: var(--dark-color);
    box-shadow: var(--shadow-2);
}

.btn-success:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-4);
    color: var(--dark-color);
}

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

.btn-outline-primary:hover {
    background: var(--secondary-gradient);
    border-color: var(--secondary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-3);
}

.btn-outline-light {
    border-color: rgba(255, 255, 255, 0.7);
    color: rgba(255, 255, 255, 0.9);
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: white;
    color: white;
    transform: translateY(-2px);
    backdrop-filter: blur(20px);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

/* Features Section */
.feature-icon {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-round);
    background: var(--primary-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all var(--transition-medium);
    box-shadow: var(--shadow-2);
}

.feature-icon:hover {
    transform: translateY(-5px) rotate(5deg);
    box-shadow: var(--shadow-4);
}

.feature-icon i {
    font-size: 2.5rem;
    color: white;
}

/* Section Titles */
.section-title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 800;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

/* Category Cards */
.category-card {
    background: white;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-2);
    transition: all var(--transition-medium);
    height: 100%;
    position: relative;
}

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

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

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

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

.category-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 82, 128, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all var(--transition-medium);
}

.category-card:hover .category-overlay {
    opacity: 1;
}

.category-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-round);
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(20px);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.category-icon i {
    font-size: 2.5rem;
    color: white;
}

.category-content {
    padding: 2rem;
    text-align: center;
}

.category-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.category-description {
    color: var(--medium-gray);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.btn-link {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: all var(--transition-medium);
}

.btn-link:hover {
    color: var(--secondary-color);
    transform: translateX(5px);
}

.btn-link i {
    font-size: 1.2rem;
    transition: transform var(--transition-medium);
}

.btn-link:hover i {
    transform: translateX(3px);
}

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

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

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

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

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

.product-badges {
    position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: 3;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.product-badge {
    padding: 0.5rem 1rem;
    border-radius: var(--radius-xl);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-featured {
    background: var(--success-gradient);
    color: var(--dark-color);
}

.badge-discount {
    background: var(--accent-gradient);
    color: var(--dark-color);
}

.product-actions {
    position: absolute;
    top: 1rem;
    right: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    opacity: 0;
    transform: translateX(20px);
    transition: all var(--transition-medium);
    z-index: 3;
}

.product-card:hover .product-actions {
    opacity: 1;
    transform: translateX(0);
}

.product-action-btn {
    width: 45px;
    height: 45px;
    border: none;
    border-radius: var(--radius-round);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-medium);
    cursor: pointer;
    box-shadow: var(--shadow-2);
}

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

.product-action-btn i {
    font-size: 1.2rem;
}

.product-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 82, 128, 0.9);
    padding: 1rem;
    transform: translateY(100%);
    transition: all var(--transition-medium);
}

.product-card:hover .product-overlay {
    transform: translateY(0);
}

.product-overlay-btn {
    color: white;
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    transition: all var(--transition-medium);
}

.product-overlay-btn:hover {
    color: var(--accent-color);
}

.product-content {
    padding: 1.5rem;
}

.product-category {
    display: flex;
    align-items: center;
    color: var(--medium-gray);
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-category i {
    font-size: 1rem;
    margin-right: 0.5rem;
}

.product-title {
    margin-bottom: 1rem;
}

.product-title a {
    color: var(--dark-color);
    text-decoration: none;
    font-weight: 600;
    line-height: 1.3;
    transition: color var(--transition-medium);
}

.product-title a:hover {
    color: var(--primary-color);
}

.product-rating {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    gap: 0.5rem;
}

.rating-stars {
    display: flex;
    gap: 0.2rem;
}

.rating-stars i {
    font-size: 1rem;
    color: #ddd;
    transition: color var(--transition-fast);
}

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

.rating-count {
    font-size: 0.9rem;
    color: var(--medium-gray);
}

.product-price {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.price-compare {
    color: var(--medium-gray);
    text-decoration: line-through;
    font-size: 0.9rem;
}

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

.product-footer {
    margin-top: auto;
}

.btn-add-cart {
    width: 100%;
    border-radius: var(--radius-medium);
    font-weight: 600;
    transition: all var(--transition-medium);
}

.btn-add-cart:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-3);
}

/* Utilities */
.gradient-text {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.hover-lift {
    transition: all var(--transition-medium);
}

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

.hover-primary:hover {
    color: var(--secondary-color) !important;
}

.bg-gradient-dark {
    background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.8) 100%);
}

.min-vh-75 {
    min-height: 75vh;
}

.rounded-xl {
    border-radius: var(--radius-xl) !important;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); }
h5 { font-size: clamp(1.1rem, 2vw, 1.25rem); }
h6 { font-size: clamp(1rem, 1.5vw, 1.1rem); }

p {
    margin-bottom: 1rem;
    color: var(--medium-gray);
    line-height: 1.7;
}

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

a:hover {
    color: var(--secondary-color);
}

/* Container and Layout */
.container-fluid {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
}

.section-padding {
    padding: 4rem 0;
}

.section-padding-sm {
    padding: 2rem 0;
}

.section-padding-lg {
    padding: 6rem 0;
}

/* Loading Overlay */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 82, 128, 0.95), rgba(139, 193, 50, 0.95));
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    color: white;
    flex-direction: column;
    gap: 1rem;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top: 4px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* Modern Navigation */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-1);
    border: none;
    transition: all var(--transition-medium);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1050;
    padding: 0.5rem 0;
}

.navbar.scrolled {
    box-shadow: var(--shadow-3);
    background: rgba(255, 255, 255, 0.98);
}

.navbar-brand {
    font-size: 1.8rem;
    font-weight: 800;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all var(--transition-medium);
}

.navbar-brand:hover {
    transform: scale(1.05);
}

.navbar-nav .nav-link {
    font-weight: 500;
    color: var(--dark-color) !important;
    margin: 0 0.5rem;
    padding: 0.5rem 1rem !important;
    border-radius: var(--radius-medium);
    transition: all var(--transition-medium);
    position: relative;
    overflow: hidden;
}

.navbar-nav .nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--secondary-gradient);
    transition: all var(--transition-medium);
    z-index: -1;
}

.navbar-nav .nav-link:hover::before,
.navbar-nav .nav-link.active::before {
    left: 0;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: white !important;
    transform: translateY(-2px);
}

.navbar-toggler {
    border: none;
    padding: 0.5rem;
    border-radius: var(--radius-medium);
    transition: all var(--transition-medium);
}

.navbar-toggler:focus {
    box-shadow: none;
}

/* Mobile Menu Icon */
.navbar-toggler-icon {
    background-image: none;
    width: 24px;
    height: 24px;
    position: relative;
}

.navbar-toggler-icon::before,
.navbar-toggler-icon::after,
.navbar-toggler-icon {
    background: var(--primary-color);
}

/* Hero Section */
.hero-section {
    background: var(--primary-gradient);
    color: white;
    padding: 8rem 0 4rem;
    position: relative;
    overflow: hidden;
    margin-top: 80px;
}

.hero-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="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

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

.hero-title {
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #ffffff 0%, #c1ff72 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-medium);
    border: none;
    transition: all var(--transition-medium);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
	color:black;
	background:green;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: all var(--transition-slow);
}

.btn:hover::before {
    left: 100%;
}

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

.btn-primary:hover {
    background: var(--primary-gradient);
    transform: translateY(-3px);
    box-shadow: var(--shadow-4);
    color: white;
}

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

.btn-secondary:hover {
    background: var(--secondary-gradient);
    transform: translateY(-3px);
    box-shadow: var(--shadow-4);
    color: white;
}

.btn-accent {
    background: var(--accent-gradient);
    color: var(--dark-color);
    box-shadow: var(--shadow-2);
}

.btn-accent:hover {
    background: var(--accent-gradient);
    transform: translateY(-3px);
    box-shadow: var(--shadow-4);
    color: var(--dark-color);
}

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

.btn-outline-primary:hover {
    background: var(--primary-gradient);
    color: white;
    transform: translateY(-3px);
    box-shadow: var(--shadow-3);
}

/* Cards */
.card {
    border: none;
    border-radius: var(--radius-large);
    overflow: hidden;
    transition: all var(--transition-medium);
    background: var(--bg-white);
    box-shadow: var(--shadow-1);
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-4);
}

.card-img-top {
    transition: all var(--transition-slow);
    object-fit: cover;
    height: 250px;
}

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

.card-body {
    padding: 1.5rem;
}

.card-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.card-text {
    color: var(--medium-gray);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Product Cards */
.product-card {
    position: relative;
    overflow: hidden;
}

.product-card .card-img-overlay {
    background: linear-gradient(to bottom, transparent 60%, rgba(0,0,0,0.7));
    opacity: 0;
    transition: all var(--transition-medium);
}

.product-card:hover .card-img-overlay {
    opacity: 1;
}

.product-actions {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    right: 1rem;
    display: flex;
    gap: 0.5rem;
    opacity: 0;
    transform: translateY(20px);
    transition: all var(--transition-medium);
}

.product-card:hover .product-actions {
    opacity: 1;
    transform: translateY(0);
}

.product-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--accent-gradient);
    color: var(--dark-color);
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-large);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

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

.product-compare-price {
    font-size: 1rem;
    color: var(--medium-gray);
    text-decoration: line-through;
    margin-left: 0.5rem;
}

/* Feature Sections */
.feature-icon {
    width: 80px;
    height: 80px;
    background: var(--secondary-gradient);
    border-radius: var(--radius-round);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    margin: 0 auto 1.5rem;
    transition: all var(--transition-medium);
    box-shadow: var(--shadow-2);
}

.feature-icon:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: var(--shadow-4);
}

/* Category Cards */
.category-card {
    background: var(--bg-white);
    border-radius: var(--radius-xl);
    padding: 2rem;
    text-align: center;
    transition: all var(--transition-medium);
    box-shadow: var(--shadow-1);
    position: relative;
    overflow: hidden;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--primary-gradient);
    opacity: 0;
    transition: all var(--transition-medium);
}

.category-card:hover::before {
    opacity: 0.05;
}

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

.category-icon {
    font-size: 3rem;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

/* Stats Section */
.stats-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-xl);
    padding: 2rem;
    text-align: center;
    color: white;
}

.stats-number {
    font-size: 3rem;
    font-weight: 900;
    background: var(--success-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

/* Forms */
.form-control {
    border: 2px solid var(--border-color);
    border-radius: var(--radius-medium);
    padding: 0.75rem 1rem;
    font-size: 1rem;
    transition: all var(--transition-medium);
    background: var(--bg-white);
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(0, 82, 128, 0.15);
    outline: none;
}

.form-floating > label {
    color: var(--medium-gray);
    font-weight: 500;
}

.form-select {
    border: 2px solid var(--border-color);
    border-radius: var(--radius-medium);
    padding: 0.75rem 1rem;
    transition: all var(--transition-medium);
}

.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(0, 82, 128, 0.15);
}

/* Tables - Using Bootstrap default styles */

/* Navbar Search */
.navbar .form-control {
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid transparent;
    border-radius: var(--radius-medium);
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

.navbar .form-control:focus {
    background: white;
    border-color: var(--primary-color);
}

.navbar .btn-outline-success {
    border: 2px solid var(--secondary-color);
    color: var(--secondary-color);
}

.navbar .btn-outline-success:hover {
    background: var(--secondary-gradient);
    border-color: var(--secondary-color);
    color: white;
}

/* Cart Badge */
.cart-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--accent-gradient);
    color: var(--dark-color);
    border-radius: var(--radius-round);
    width: 20px;
    height: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Footer */
.footer {
    background: var(--dark-color);
    color: white;
    padding: 3rem 0 1rem;
}

.footer-section h5 {
    color: white;
    margin-bottom: 1.5rem;
    position: relative;
}

.footer-section h5::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--accent-gradient);
    border-radius: var(--radius-small);
}

.footer-link {
    color: rgba(255, 255, 255, 0.7);
    transition: all var(--transition-fast);
    display: block;
    padding: 0.25rem 0;
}

.footer-link:hover {
    color: var(--secondary-color);
    transform: translateX(5px);
}

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

.social-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-gradient);
    border-radius: var(--radius-round);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    transition: all var(--transition-medium);
    box-shadow: var(--shadow-2);
}

.social-icon:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: var(--shadow-4);
    color: white;
}

/* Breadcrumb */
.breadcrumb {
    background: transparent;
    padding: 1rem 0;
    margin: 0;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: "›";
    font-weight: bold;
    color: var(--medium-gray);
}

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

/* Pagination */
.pagination .page-link {
    border: 2px solid var(--border-color);
    color: var(--primary-color);
    border-radius: var(--radius-medium);
    margin: 0 0.25rem;
    transition: all var(--transition-medium);
}

.pagination .page-link:hover {
    background: var(--primary-gradient);
    border-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.pagination .page-item.active .page-link {
    background: var(--secondary-gradient);
    border-color: var(--secondary-color);
}

/* Alerts */
.alert {
    border: none;
    border-radius: var(--radius-medium);
    box-shadow: var(--shadow-2);
    border-left: 4px solid;
}

.alert-primary {
    background: rgba(0, 82, 128, 0.1);
    color: var(--primary-color);
    border-left-color: var(--primary-color);
}

.alert-success {
    background: rgba(193, 255, 114, 0.1);
    color: #4a7c59;
    border-left-color: var(--success-color);
}

.alert-warning {
    background: rgba(243, 198, 28, 0.1);
    color: #8a6914;
    border-left-color: var(--accent-color);
}

.alert-danger {
    background: rgba(220, 53, 69, 0.1);
    color: #842029;
    border-left-color: #dc3545;
}

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

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

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

.animate-fade-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

.animate-fade-left {
    animation: fadeInLeft 0.8s ease-out forwards;
}

.animate-fade-right {
    animation: fadeInRight 0.8s ease-out forwards;
}

/* Loading States */
.loading {
    position: relative;
    overflow: hidden;
}

.loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.6), transparent);
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* SweetAlert2 Customization */
.swal2-popup {
    border-radius: var(--radius-xl) !important;
    box-shadow: var(--shadow-5) !important;
}

.swal2-confirm {
    background: var(--primary-gradient) !important;
    border-radius: var(--radius-medium) !important;
    font-weight: 600 !important;
    padding: 0.75rem 1.5rem !important;
}

.swal2-cancel {
    background: var(--medium-gray) !important;
    border-radius: var(--radius-medium) !important;
    font-weight: 600 !important;
    padding: 0.75rem 1.5rem !important;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .container-fluid {
        padding: 0 2rem;
    }
}

@media (max-width: 768px) {
    .container-fluid {
        padding: 0 1rem;
    }
    
    .section-padding {
        padding: 2rem 0;
    }
    
    .hero-section {
        padding: 6rem 0 3rem;
    }
    
    .navbar-nav .nav-link {
        margin: 0.25rem 0;
        text-align: center;
    }
    
    .feature-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .stats-number {
        font-size: 2rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .product-actions {
        position: static;
        opacity: 1;
        transform: none;
        margin-top: 1rem;
    }
}

@media (max-width: 576px) {
    html {
        font-size: 14px;
    }
    
    .hero-section {
        padding: 5rem 0 2rem;
    }
    
    .btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
    
    .card-body {
        padding: 1rem;
    }
    
    .navbar-brand {
        font-size: 1.4rem;
    }
    
    .social-icons {
        justify-content: center;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .footer,
    .btn,
    .product-actions {
        display: none !important;
    }
    
    .hero-section {
        margin-top: 0;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus Styles */
.btn:focus,
.form-control:focus,
.nav-link:focus {
    outline: 2px solid var(--secondary-color);
    outline-offset: 2px;
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    :root {
        --shadow-1: 0 2px 4px rgba(0,0,0,0.5);
        --shadow-2: 0 4px 8px rgba(0,0,0,0.5);
        --shadow-3: 0 8px 16px rgba(0,0,0,0.5);
    }
}

/* Custom Utilities */
.text-primary { color: var(--primary-color) !important; }
.text-secondary { color: var(--secondary-color) !important; }
.text-accent { color: var(--accent-color) !important; }
.bg-primary { background: var(--primary-gradient) !important; }
.bg-secondary { background: var(--secondary-gradient) !important; }
.bg-accent { background: var(--accent-gradient) !important; }
.bg-success { background: var(--success-gradient) !important; }

.border-primary { border-color: var(--primary-color) !important; }
.border-secondary { border-color: var(--secondary-color) !important; }

.shadow-1 { box-shadow: var(--shadow-1); }
.shadow-2 { box-shadow: var(--shadow-2); }
.shadow-3 { box-shadow: var(--shadow-3); }
.shadow-4 { box-shadow: var(--shadow-4); }
.shadow-5 { box-shadow: var(--shadow-5); }

/* ===== PRODUCTS PAGE STYLES ===== */
.products-section {
    background: var(--light-gray);
    min-height: 100vh;
}

.page-header {
    margin-bottom: 2rem;
}

.page-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    position: relative;
}

.page-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--accent-color);
    border-radius: 2px;
}

.filters-bar {
    border: 1px solid var(--border-color);
    transition: all var(--transition-medium);
}

.filters-bar:hover {
    box-shadow: var(--shadow-2);
}

.input-group-text {
    background: transparent;
    border-color: var(--border-color);
}

.form-control, .form-select {
    border-color: var(--border-color);
    transition: all var(--transition-fast);
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(0, 82, 128, 0.25);
}

/* Product Cards */
.products-grid .row {
    margin: 0 -15px;
}

.product-card {
    background: white;
    border-radius: var(--radius-large);
    overflow: hidden;
    transition: all var(--transition-medium);
    border: 1px solid var(--border-color);
    position: relative;
}

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

.product-image {
    position: relative;
    overflow: hidden;
    height: 250px;
    background: var(--light-gray);
}

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

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

.product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    padding: 4px 12px;
    border-radius: var(--radius-medium);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.sale-badge {
    background: var(--accent-color);
    color: var(--dark-color);
    animation: pulse-badge 2s infinite;
}

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

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all var(--transition-medium);
}

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

.product-actions {
    display: flex;
    gap: 0.5rem;
    transform: translateY(20px);
    transition: transform var(--transition-medium);
}

.product-card:hover .product-actions {
    transform: translateY(0);
}

.product-actions .btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

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

.product-info {
    padding: 1.25rem;
}

.category-tag {
    display: inline-block;
    background: var(--light-gray);
    color: var(--medium-gray);
    padding: 2px 8px;
    border-radius: var(--radius-small);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

.product-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.product-title a {
    color: var(--dark-color);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.product-title a:hover {
    color: var(--primary-color);
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    margin-bottom: 0.75rem;
}

.product-rating .material-icons {
    font-size: 1rem;
}

.rating-count {
    font-size: 0.85rem;
    margin-left: 0.25rem;
}

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

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

.original-price {
    font-size: 1rem;
    color: var(--medium-gray);
    text-decoration: line-through;
}

/* List View */
.products-grid.list-view .row {
    flex-direction: column;
}

.products-grid.list-view .product-card {
    display: flex;
    flex-direction: row;
    margin-bottom: 1.5rem;
}

.products-grid.list-view .product-image {
    width: 200px;
    height: 150px;
    flex-shrink: 0;
}

.products-grid.list-view .product-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* View Toggle */
.view-toggle .btn {
    border-color: var(--border-color);
    color: var(--medium-gray);
}

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

/* No Products */
.no-products .material-icons {
    font-size: 5rem;
    opacity: 0.3;
}

/* Pagination */
.pagination {
    --bs-pagination-color: var(--secondary-color);
    --bs-pagination-hover-bg: var(--light-gray);
    --bs-pagination-active-bg: var(--secondary-color);
    --bs-pagination-active-border-color: var(--secondary-color);
}

.page-link {
    border-radius: var(--radius-medium);
    margin: 0 2px;
    border: 1px solid var(--border-color);
}

.page-link:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-2);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .filters-bar .row {
        gap: 1rem;
    }
    
    .filters-bar .col-md-4,
    .filters-bar .col-md-3,
    .filters-bar .col-md-2 {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .results-info {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .product-image {
        height: 220px;
    }
    
    .products-grid.list-view .product-card {
        flex-direction: column;
    }
    
    .products-grid.list-view .product-image {
        width: 100%;
        height: 200px;
    }
}

@media (max-width: 576px) {
    .page-title {
        font-size: 2rem;
    }
    
    .product-actions .btn {
        width: 36px;
        height: 36px;
    }
    
    .product-actions .btn .material-icons {
        font-size: 1.25rem;
    }
}

.rounded-custom { border-radius: var(--radius-large); }
.rounded-xl { border-radius: var(--radius-xl); }

.position-relative { position: relative; }
.position-absolute { position: absolute; }
.overflow-hidden { overflow: hidden; }

/* Gradient Text */
.gradient-text {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

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

/* Hover Effects */
.hover-lift {
    transition: all var(--transition-medium);
}

.hover-lift:hover {
    transform: translateY(-5px);
}

.hover-glow {
    transition: all var(--transition-medium);
}

.hover-glow:hover {
    box-shadow: 0 0 20px rgba(0, 82, 128, 0.3);
}

/* Image Styles */
.img-rounded {
    border-radius: var(--radius-large);
    overflow: hidden;
}

.img-hover-zoom {
    transition: all var(--transition-slow);
    overflow: hidden;
}

.img-hover-zoom img {
    transition: all var(--transition-slow);
}

.img-hover-zoom:hover img {
    transform: scale(1.1);
}

/* Testimonials */
.testimonial-card {
    background: var(--bg-white);
    border-radius: var(--radius-xl);
    padding: 2rem;
    box-shadow: var(--shadow-2);
    position: relative;
    transition: all var(--transition-medium);
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: 20px;
    font-size: 4rem;
    color: var(--accent-color);
    font-weight: bold;
    line-height: 1;
}

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

/* Newsletter */
.newsletter-section {
    background: var(--primary-gradient);
    color: white;
    padding: 3rem 0;
    position: relative;
}

.newsletter-form {
    max-width: 500px;
    margin: 0 auto;
}

/* Bootstrap Button Overrides - Force Secondary Color */
.btn-primary,
.btn.btn-primary,
button.btn-primary,
input[type="submit"].btn-primary,
.btn-success,
.btn.btn-success,
button.btn-success,
input[type="submit"].btn-success {
    background-color: var(--secondary-color) !important;
    background: var(--secondary-gradient) !important;
    border-color: var(--secondary-color) !important;
    color: white !important;
}

.btn-primary:hover,
.btn.btn-primary:hover,
button.btn-primary:hover,
input[type="submit"].btn-primary:hover,
.btn-primary:focus,
.btn.btn-primary:focus,
button.btn-primary:focus,
input[type="submit"].btn-primary:focus,
.btn-primary:active,
.btn.btn-primary:active,
button.btn-primary:active,
input[type="submit"].btn-primary:active,
.btn-success:hover,
.btn.btn-success:hover,
button.btn-success:hover,
input[type="submit"].btn-success:hover,
.btn-success:focus,
.btn.btn-success:focus,
button.btn-success:focus,
input[type="submit"].btn-success:focus,
.btn-success:active,
.btn.btn-success:active,
button.btn-success:active,
input[type="submit"].btn-success:active {
    background-color: var(--secondary-dark) !important;
    background: var(--secondary-dark) !important;
    border-color: var(--secondary-dark) !important;
    color: white !important;
    box-shadow: 0 4px 12px rgba(139, 193, 50, 0.3) !important;
}

/* Outline Button Overrides */
.btn-outline-primary,
.btn.btn-outline-primary,
button.btn-outline-primary,
.btn-outline-success,
.btn.btn-outline-success,
button.btn-outline-success {
    color: var(--secondary-color) !important;
    border-color: var(--secondary-color) !important;
    background-color: transparent !important;
}

.btn-outline-primary:hover,
.btn.btn-outline-primary:hover,
button.btn-outline-primary:hover,
.btn-outline-primary:focus,
.btn.btn-outline-primary:focus,
button.btn-outline-primary:focus,
.btn-outline-primary:active,
.btn.btn-outline-primary:active,
button.btn-outline-primary:active,
.btn-outline-success:hover,
.btn.btn-outline-success:hover,
button.btn-outline-success:hover,
.btn-outline-success:focus,
.btn.btn-outline-success:focus,
button.btn-outline-success:focus,
.btn-outline-success:active,
.btn.btn-outline-success:active,
button.btn-outline-success:active {
    background-color: var(--secondary-color) !important;
    border-color: var(--secondary-color) !important;
    color: white !important;
}

/* Badge Overrides */
.badge-primary,
.badge.badge-primary {
    background-color: var(--secondary-color) !important;
    color: white !important;
}

.badge-success,
.badge.badge-success {
    background-color: var(--secondary-color) !important;
    color: white !important;
}

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

/* Dashboard Sidebar Styles - AdminLTE Theme */
:root {
    --sidebar-width: 280px;
    --sidebar-collapsed-width: 80px;
    --sidebar-bg: #ffffff;
    --sidebar-header-bg: var(--secondary-gradient);
    --sidebar-user-bg: #f8f9fa;
    --sidebar-nav-bg: #ffffff;
    --sidebar-nav-hover: rgba(139, 193, 50, 0.1);
    --sidebar-nav-active: var(--secondary-color);
    --sidebar-text: #495057;
    --sidebar-text-muted: #6c757d;
    --sidebar-border: #e9ecef;
    --sidebar-shadow: 0 0 20px rgba(0,0,0,0.1);
}

/* Main Sidebar Container */
.dashboard-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: var(--sidebar-width);
    height: 100vh;
    background: var(--sidebar-bg);
    box-shadow: var(--sidebar-shadow);
    z-index: 1050;
    overflow-x: hidden;
    overflow-y: auto;
    transition: all 0.3s ease;
    border-right: 1px solid var(--sidebar-border);
}

/* Sidebar Scrollbar */
.dashboard-sidebar::-webkit-scrollbar {
    width: 6px;
}

.dashboard-sidebar::-webkit-scrollbar-track {
    background: transparent;
}

.dashboard-sidebar::-webkit-scrollbar-thumb {
    background: rgba(139, 193, 50, 0.3);
    border-radius: 3px;
}

.dashboard-sidebar::-webkit-scrollbar-thumb:hover {
    background: rgba(139, 193, 50, 0.5);
}

/* Sidebar Header */
.sidebar-header {
    background: var(--sidebar-header-bg);
    padding: 1rem;
    color: white;
    position: relative;
}

.sidebar-brand {
    display: flex;
    align-items: center;
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.2rem;
}

.sidebar-brand:hover {
    color: white;
    text-decoration: none;
}

.sidebar-brand-icon {
    font-size: 2rem;
    margin-right: 0.75rem;
}

.sidebar-brand-text {
    font-weight: 700;
    letter-spacing: 0.5px;
}

.sidebar-toggle {
    position: absolute;
    top: 50%;
    right: 1rem;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.25rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.sidebar-toggle:hover {
    background: rgba(255,255,255,0.1);
}

/* User Profile Section */
.sidebar-user {
    background: var(--sidebar-user-bg);
    padding: 1.5rem 1rem;
    border-bottom: 1px solid var(--sidebar-border);
    display: flex;
    align-items: center;
}

.user-avatar {
    flex-shrink: 0;
    margin-right: 1rem;
}

.user-avatar i {
    font-size: 3rem;
    color: var(--secondary-color);
}

.user-info {
    flex: 1;
    min-width: 0;
}

.user-name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--sidebar-text);
    margin: 0 0 0.25rem 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.user-id {
    font-size: 0.8rem;
    color: var(--sidebar-text-muted);
    display: block;
    margin-bottom: 0.5rem;
}

.user-status {
    margin-top: 0.5rem;
}

.status-badge {
    padding: 0.2rem 0.5rem;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
}

.status-badge.status-active {
    background: rgba(139, 193, 50, 0.1);
    color: var(--secondary-color);
}

.status-badge.status-pending {
    background: rgba(255, 193, 7, 0.1);
    color: #b8860b;
}

/* Sidebar Navigation */
.sidebar-nav {
    padding: 0;
}

.nav-sidebar {
    padding: 0;
    margin: 0;
}

.nav-sidebar .nav-item {
    margin: 0;
}

/* Navigation Headers */
.nav-header {
    padding: 1rem 1rem 0.5rem 1rem;
    margin-top: 1rem;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--sidebar-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--sidebar-border);
    margin-bottom: 0.5rem;
    padding-bottom: 0.5rem;
}

.nav-header:first-child {
    margin-top: 0;
}

.nav-header i {
    font-size: 1rem;
    margin-right: 0.5rem;
    color: var(--secondary-color);
}

/* Navigation Links */
.nav-sidebar .nav-link {
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    color: var(--sidebar-text);
    text-decoration: none;
    transition: all 0.3s ease;
    border-radius: 0;
    margin: 0 0.5rem;
    border-radius: 8px;
    position: relative;
}

.nav-sidebar .nav-link:hover {
    background: var(--sidebar-nav-hover);
    color: var(--secondary-color);
    text-decoration: none;
    transform: translateX(3px);
}

.nav-sidebar .nav-link.active {
    background: var(--sidebar-nav-active);
    color: white !important;
    font-weight: 600;
}

.nav-sidebar .nav-link.active:hover {
    background: var(--secondary-dark);
    color: white !important;
    transform: translateX(0);
}

.nav-sidebar .nav-link i {
    font-size: 1.2rem;
    margin-right: 0.75rem;
    width: 1.5rem;
    text-align: center;
    flex-shrink: 0;
}

.nav-sidebar .nav-link span {
    flex: 1;
    white-space: nowrap;
}

/* Navigation Arrows */
.nav-arrow {
    margin-left: auto !important;
    margin-right: 0 !important;
    font-size: 1rem !important;
    transition: transform 0.3s ease;
}

.nav-link.active .nav-arrow,
.nav-link[aria-expanded="true"] .nav-arrow {
    transform: rotate(90deg);
}

/* Treeview/Dropdown Navigation */
.has-treeview {
    position: relative;
}

.nav-treeview {
    display: none;
    padding-left: 0;
    margin: 0;
    background: rgba(248, 249, 250, 0.5);
    border-radius: 0 0 8px 8px;
    overflow: hidden;
}

.has-treeview.menu-open .nav-treeview {
    display: block;
}

.nav-treeview .nav-item {
    margin: 0;
}

.nav-treeview .nav-link {
    padding: 0.5rem 1rem 0.5rem 3rem;
    font-size: 0.9rem;
    margin: 0;
    border-radius: 0;
}

.nav-treeview .nav-link:hover {
    background: rgba(139, 193, 50, 0.05);
    transform: translateX(5px);
}

.nav-treeview .nav-link.active {
    background: rgba(139, 193, 50, 0.15);
    color: var(--primary-color) !important;
    border-left: 3px solid var(--secondary-color);
    font-weight: 500;
}

.nav-treeview .nav-icon {
    font-size: 1rem !important;
    margin-right: 0.75rem !important;
    opacity: 0.7;
}

/* Logout Link */
.logout-link {
    margin-top: 2rem;
    border: 1px solid #dc3545;
    color: #dc3545 !important;
}

.logout-link:hover {
    background: #dc3545 !important;
    color: white !important;
    transform: translateX(0) !important;
}

/* Dashboard Header */
.dashboard-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: white;
    border-bottom: 1px solid var(--sidebar-border);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    z-index: 1040;
    display: flex;
    align-items: center;
    padding: 0 1rem;
    transition: all 0.3s ease;
}

@media (min-width: 992px) {
    .dashboard-header {
        left: var(--sidebar-width);
    }
}

.header-left {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
}

.header-center {
    flex: 1;
    text-align: center;
}

.header-right {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
}

.header-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    text-decoration: none;
    letter-spacing: 0.5px;
}

.header-brand:hover {
    color: var(--secondary-dark);
    text-decoration: none;
}

.mobile-menu-toggle {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--sidebar-text);
    padding: 0.5rem;
    margin-right: 1rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle:hover {
    background: var(--sidebar-nav-hover);
    color: var(--secondary-color);
}

@media (min-width: 992px) {
    .mobile-menu-toggle {
        display: none;
    }
}

.profile-dropdown {
    position: relative;
}

.profile-toggle {
    display: flex;
    align-items: center;
    background: none;
    border: none;
    padding: 0.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-decoration: none;
    color: var(--sidebar-text);
}

.profile-toggle:hover {
    background: var(--sidebar-nav-hover);
    color: var(--secondary-color);
    text-decoration: none;
}

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

.profile-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-right: 0.5rem;
}

.profile-name {
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.2;
    margin: 0;
}

.profile-role {
    font-size: 0.75rem;
    color: var(--sidebar-text-muted);
    line-height: 1;
    margin: 0;
}

.profile-dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border: 1px solid var(--sidebar-border);
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    min-width: 220px;
    z-index: 1050;
    padding: 0.5rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    margin-top: 0.5rem;
}

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

.dropdown-header {
    padding: 0.75rem 1rem 0.5rem;
    border-bottom: 1px solid var(--sidebar-border);
    margin-bottom: 0.5rem;
}

.dropdown-user-info {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
}

.dropdown-user-avatar {
    width: 35px;
    height: 35px;
    background: var(--secondary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    margin-right: 0.75rem;
}

.dropdown-user-details h6 {
    margin: 0;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--sidebar-text);
}

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

.dropdown-item {
    display: flex;
    align-items: center;
    padding: 0.5rem 1rem;
    color: var(--sidebar-text);
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
}

.dropdown-item:hover {
    background: var(--sidebar-nav-hover);
    color: var(--secondary-color);
    text-decoration: none;
}

.dropdown-item i {
    width: 1.5rem;
    margin-right: 0.75rem;
    font-size: 1rem;
}

.dropdown-divider {
    height: 0;
    margin: 0.5rem 0;
    overflow: hidden;
    border-top: 1px solid var(--sidebar-border);
}

.logout-item {
    color: #dc3545 !important;
}

.logout-item:hover {
    background: rgba(220, 53, 69, 0.1) !important;
    color: #dc3545 !important;
}

/* Adjust main content for header */
.dashboard-content {
    margin-left: var(--sidebar-width);
    min-height: 100vh;
    padding: 75px 2rem 2rem; /* 60px header + 15px spacing */
    background: #f8f9fa;
    transition: margin-left 0.3s ease;
}

/* Mobile Styles */
@media (max-width: 991.98px) {
    /* Ensure body doesn't have extra margins/padding on mobile */
    .dashboard-body {
        padding-top: 0;
        margin-top: 0;
    }
    
    .dashboard-content {
        margin-left: 0;
        padding: 85px 1rem 1rem; /* 60px header + 25px spacing for mobile - extra space */
        margin-top: 0; /* Explicitly set to 0 */
    }
    
    .dashboard-sidebar {
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        z-index: 1055; /* Higher than header for mobile */
    }
    
    .dashboard-sidebar.show {
        transform: translateX(0);
    }
    
    /* Mobile content adjustments */
    .content-header {
        padding: 1rem;
        margin-bottom: 1rem;
        margin-top: 0; /* Ensure no extra top margin */
    }
    
    .content-header h2 {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
    }
    
    .stat-card {
        margin-bottom: 1rem;
    }
    
    /* Ensure content wrapper doesn't get hidden */
    .content-wrapper {
        margin-top: 0;
        padding-top: 0;
    }
    
    /* Mobile header brand */
    .header-brand {
        font-size: 1.1rem;
    }
    
    .profile-info {
        display: none !important;
    }
}

/* Extra small screens - phones */
@media (max-width: 575.98px) {
    .dashboard-content {
        padding: 90px 0.75rem 1rem; /* Extra padding for very small screens */
    }
    
    .content-header {
        padding: 0.75rem;
        margin-bottom: 0.75rem;
                margin-top: 75px;
    }
    
    .content-header h2 {
        font-size: 1.25rem;
    }
    
    .dashboard-header {
        height: 65px; /* Slightly taller for small screens */
    }
}

@media (max-width: 991.98px) {
    .sidebar-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.5);
        z-index: 1040;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }
    
    .sidebar-overlay.show {
        opacity: 1;
        visibility: visible;
    }
    
    .mobile-sidebar-toggle {
        position: fixed;
        top: 1rem;
        left: 1rem;
        z-index: 1030;
        background: var(--secondary-color);
        border: none;
        width: 50px;
        height: 50px;
        border-radius: 50%;
        color: white;
        font-size: 1.5rem;
        box-shadow: 0 4px 12px rgba(139, 193, 50, 0.3);
        transition: all 0.3s ease;
    }
    
    .mobile-sidebar-toggle:hover {
        background: var(--secondary-dark);
        transform: scale(1.1);
    }
}

/* Sidebar Collapsed State (for future enhancement) */
@media (min-width: 992px) {
    .sidebar-collapsed .dashboard-sidebar {
        width: var(--sidebar-collapsed-width);
    }
    
    .sidebar-collapsed .dashboard-content {
        margin-left: var(--sidebar-collapsed-width);
    }
    
    .sidebar-collapsed .sidebar-brand-text,
    .sidebar-collapsed .nav-link span,
    .sidebar-collapsed .nav-header span,
    .sidebar-collapsed .nav-arrow {
        display: none;
    }
    
    .sidebar-collapsed .user-info {
        display: none;
    }
    
    .sidebar-collapsed .nav-treeview {
        display: none !important;
    }
}

@media (max-width: 768px) {
    .dashboard-content {
        padding: 0.75rem;
    }
}

/* Animation for menu items */
.nav-sidebar .nav-item {
    animation: slideInLeft 0.3s ease forwards;
}

.nav-sidebar .nav-item:nth-child(1) { animation-delay: 0.05s; }
.nav-sidebar .nav-item:nth-child(2) { animation-delay: 0.1s; }
.nav-sidebar .nav-item:nth-child(3) { animation-delay: 0.15s; }
.nav-sidebar .nav-item:nth-child(4) { animation-delay: 0.2s; }
.nav-sidebar .nav-item:nth-child(5) { animation-delay: 0.25s; }

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

::-webkit-scrollbar-track {
    background: var(--light-gray);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-gradient);
    border-radius: var(--radius-small);
}

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

/* ========================================
   ENHANCED DASHBOARD WIDGETS & STAT CARDS
   ======================================== */

/* Beautiful Stat Cards with Animations */
.stat-card {
    position: relative;
    background: white;
    border-radius: 12px;
    padding: 1rem;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(139, 193, 50, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    cursor: pointer;
    min-height: 100px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

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

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

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(139, 193, 50, 0.15);
    border-color: var(--secondary-color);
}

/* Stat Icon Enhancements */
.stat-icon {
    position: relative;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.75rem;
    transition: all 0.4s ease;
    overflow: hidden;
}

.stat-icon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transition: all 0.6s ease;
    transform: translate(-50%, -50%);
}

.stat-card:hover .stat-icon::before {
    width: 100px;
    height: 100px;
}

.stat-icon.bg-primary {
    background: linear-gradient(135deg, var(--primary-color), #0066a3);
}

.stat-icon.bg-secondary {
    background: linear-gradient(135deg, var(--secondary-color), #7ba82d);
}

.stat-icon.bg-success {
    background: linear-gradient(135deg, #28a745, #20c997);
}

.stat-icon.bg-warning {
    background: linear-gradient(135deg, #ffc107, #fd7e14);
}

.stat-icon.bg-info {
    background: linear-gradient(135deg, #17a2b8, #6f42c1);
}

.stat-icon.bg-danger {
    background: linear-gradient(135deg, #dc3545, #e83e8c);
}

.stat-icon i {
    font-size: 1.4rem;
    color: white;
    z-index: 2;
    position: relative;
    transition: all 0.4s ease;
}

.stat-card:hover .stat-icon i {
    transform: scale(1.1) rotate(10deg);
}

/* Stat Numbers with Counter Animation */
.stat-number {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0.25rem 0;
    background:linear-gradient(293deg, #00a3ff, #9fff00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    transition: all 0.4s ease;
}

.stat-card:hover .stat-number {
    transform: scale(1.05);
    filter: brightness(1.2);
}

/* Animated Counter Effect */
@keyframes countUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.stat-number {
    animation: countUp 0.8s ease-out;
}

/* Stat Labels */
.stat-label {
    font-size: 0.8rem;
    font-weight: 500;
    color: #ffffff;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    transition: color 0.3s ease;
}

.stat-card:hover .stat-label {
    color: var(--primary-color);
}

/* Progress Indicators for Stats */
.stat-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transition: all 0.8s ease;
    border-radius: 0 0 16px 16px;
}

.stat-progress.earnings { width: 85%; }
.stat-progress.network { width: 67%; }
.stat-progress.orders { width: 45%; }
.stat-progress.monthly { width: 73%; }

/* Enhanced Widget Variations */
.widget-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(139, 193, 50, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.widget-card::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(139, 193, 50, 0.1), transparent);
    transform: rotate(45deg);
    transition: all 0.6s ease;
    opacity: 0;
}

.widget-card:hover::after {
    animation: shimmer 1.5s ease-in-out;
}

@keyframes shimmer {
    0% { transform: translateX(-100%) rotate(45deg); opacity: 0; }
    50% { opacity: 1; }
    100% { transform: translateX(100%) rotate(45deg); opacity: 0; }
}

.widget-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(139, 193, 50, 0.2);
}

/* Widget Headers */
.widget-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid rgba(139, 193, 50, 0.1);
}

.widget-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-color);
    margin: 0;
}

.widget-subtitle {
    font-size: 0.875rem;
    color: #6c757d;
    margin-top: 0.25rem;
}

/* Widget Content Animations */
.widget-content {
    position: relative;
}

.widget-item {
    padding: 0.75rem 0;
    border-bottom: 1px solid #f8f9fa;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateX(-20px);
    animation: slideInLeft 0.6s ease-out forwards;
}

.widget-item:nth-child(1) { animation-delay: 0.1s; }
.widget-item:nth-child(2) { animation-delay: 0.2s; }
.widget-item:nth-child(3) { animation-delay: 0.3s; }
.widget-item:nth-child(4) { animation-delay: 0.4s; }
.widget-item:nth-child(5) { animation-delay: 0.5s; }

@keyframes slideInLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.widget-item:hover {
    background: rgba(139, 193, 50, 0.05);
    padding-left: 1rem;
    border-left: 3px solid var(--secondary-color);
}

/* Responsive Enhancements */
@media (max-width: 991.98px) {
    .stat-card {
        padding: 0.875rem;
        min-height: 90px;
    }
    
    .stat-icon {
        width: 42px;
        height: 42px;
        margin-bottom: 0.5rem;
    }
    
    .stat-icon i {
        font-size: 1.2rem;
    }
    
    .stat-number {
        font-size: 1.3rem;
    }
}

@media (max-width: 575.98px) {
    .stat-card {
        padding: 0.75rem;
        min-height: 85px;
    }
    
    .stat-icon {
        width: 36px;
        height: 36px;
        margin-bottom: 0.4rem;
    }
    
    .stat-icon i {
        font-size: 1rem;
    }
    
    .stat-number {
        font-size: 1.2rem;
    }
    
    .widget-card {
        padding: 1.5rem;
    }
}

/* ===== PRODUCT DETAILS PAGE STYLES ===== */
.product-details-section {
    padding: 2rem 0;
    background: var(--bg-white);
}

/* Breadcrumb Styles */
.breadcrumb {
    background: transparent;
    padding: 0;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: "›";
    color: var(--medium-gray);
    font-weight: 600;
}

.breadcrumb-item a {
    color: var(--medium-gray);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.breadcrumb-item a:hover {
    color: var(--primary-color);
}

.breadcrumb-item.active {
    color: var(--dark-color);
    font-weight: 500;
}

/* Product Gallery Styles */
.product-gallery {
    position: sticky;
    top: 120px;
}

.main-image-container {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-large);
    background: var(--light-gray);
    aspect-ratio: 1;
    box-shadow: var(--shadow-2);
}

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

.main-image-container:hover .main-product-image {
    transform: scale(1.05);
}

.discount-badge-container {
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 10;
}

.discount-badge {
    background: linear-gradient(135deg, #ff4757, #ff3838);
    border-radius: 12px;
    padding: 8px 12px;
    box-shadow: 0 4px 15px rgba(255, 71, 87, 0.4);
    display: flex;
    align-items: center;
    gap: 6px;
    animation: discountPulse 3s ease-in-out infinite;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.discount-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: shimmer 2s infinite;
}

.discount-icon {
    color: #fff;
    display: flex;
    align-items: center;
    font-size: 16px;
}

.discount-text {
    color: white;
    font-weight: 700;
    display: flex;
    flex-direction: column;
    line-height: 1;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.discount-percent {
    font-size: 14px;
    letter-spacing: -0.5px;
}

.discount-label {
    font-size: 10px;
    letter-spacing: 1px;
    opacity: 0.9;
}

@keyframes discountPulse {
    0%, 100% { 
        transform: scale(1) rotate(0deg);
        box-shadow: 0 4px 15px rgba(255, 71, 87, 0.4);
    }
    50% { 
        transform: scale(1.05) rotate(1deg);
        box-shadow: 0 6px 20px rgba(255, 71, 87, 0.6);
    }
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Clean modern animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.image-zoom {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-fast);
    opacity: 0;
    transform: scale(0.8);
}

.main-image-container:hover .image-zoom {
    opacity: 1;
    transform: scale(1);
}

.image-zoom:hover {
    background: white;
    box-shadow: var(--shadow-2);
}

.thumbnail-images {
    margin-top: 1rem;
}

.thumbnail-image {
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: var(--radius-medium);
    cursor: pointer;
    transition: all var(--transition-fast);
    border: 2px solid transparent;
    opacity: 0.7;
}

.thumbnail-image:hover {
    opacity: 1;
    transform: translateY(-2px);
    box-shadow: var(--shadow-2);
}

.thumbnail-image.active {
    border-color: var(--secondary-color);
    opacity: 1;
    box-shadow: 0 0 0 3px rgba(139, 193, 50, 0.2);
}

/* Product Info Content */
.product-info-content {
    padding-left: 2rem;
}

.product-category {
    margin-bottom: 1rem;
}

.category-badge {
    background: var(--secondary-gradient);
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: var(--radius-medium);
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.featured-badge {
    background: var(--accent-gradient);
    color: var(--dark-color);
    padding: 0.4rem 0.8rem;
    border-radius: var(--radius-medium);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--dark-color);
    line-height: 1.2;
    margin-bottom: 1rem;
}

/* Rating Section */
.product-rating-section {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

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

.rating-stars .material-icons {
    font-size: 1.2rem;
    color: #ffd700;
}

.rating-stars .material-icons.outlined {
    color: #e0e0e0;
}

.rating-text {
    color: var(--medium-gray);
    font-size: 0.9rem;
}

/* Pricing Section */
.product-pricing {
    margin-bottom: 2rem;
}

.price-display {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 0.75rem;
}

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

.original-price {
    font-size: 1.3rem;
    color: var(--medium-gray);
    text-decoration: line-through;
}

.savings-amount {
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    color: white;
    padding: 0.3rem 0.6rem;
    border-radius: var(--radius-small);
    font-size: 0.85rem;
    font-weight: 600;
}

/* Product Description */
.product-description {
    margin-bottom: 2rem;
}

.product-description .lead {
    font-size: 1.1rem;
    color: var(--medium-gray);
    line-height: 1.6;
}

/* Product Variants */
.product-variants {
    margin-bottom: 2rem;
}

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

.variant-group .form-label {
    font-size: 1rem;
    color: var(--dark-color);
    margin-bottom: 0.75rem;
}

.variant-options {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.variant-option {
    position: relative;
    cursor: pointer;
    margin: 0;
}

.variant-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.variant-label {
    display: inline-block;
    padding: 0.6rem 1.2rem;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-medium);
    background: white;
    transition: all var(--transition-fast);
    font-weight: 500;
    min-width: 60px;
    text-align: center;
}

.variant-option input:checked + .variant-label {
    border-color: var(--secondary-color);
    background: var(--secondary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-2);
}

.variant-option:hover .variant-label {
    border-color: var(--secondary-color);
    transform: translateY(-1px);
}

.price-adjustment {
    font-size: 0.8rem;
    color: var(--medium-gray);
    margin-left: 0.5rem;
}

/* Purchase Section */
.purchase-section {
    background: var(--light-gray);
    padding: 2rem;
    border-radius: var(--radius-large);
    margin-bottom: 2rem;
}

.quantity-selector .form-label {
    font-size: 1rem;
    color: var(--dark-color);
    margin-bottom: 0.75rem;
}

.quantity-controls {
    display: inline-flex;
    align-items: center;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-medium);
    overflow: hidden;
    background: white;
    box-shadow: var(--shadow-1);
    transition: all var(--transition-fast);
}

.quantity-controls:focus-within {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(139, 193, 50, 0.1);
}

.quantity-btn {
    border: none;
    background: transparent;
    padding: 0.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
    width: 40px;
    height: 40px;
    border-radius: 0;
}

.quantity-btn:hover {
    background: var(--secondary-color);
    color: white;
    transform: scale(1.1);
}

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

.quantity-btn .material-icons {
    font-size: 18px;
}

.quantity-input {
    border: none;
    width: 60px;
    padding: 0.6rem 0.3rem;
    text-align: center;
    font-weight: 600;
    background: transparent;
    border-radius: 0;
    font-size: 1rem;
}

.quantity-input:focus {
    outline: none;
    box-shadow: none;
    background: rgba(139, 193, 50, 0.05);
}

/* Action Buttons */
.action-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

.action-buttons .btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.5rem;
    font-weight: 600;
    border-radius: var(--radius-medium);
    transition: all var(--transition-fast);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.action-buttons .btn-primary {
    background: var(--secondary-gradient);
    border: none;
    box-shadow: var(--shadow-2);
}

.action-buttons .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-3);
}

.action-buttons .btn-outline-secondary {
    border: 2px solid var(--border-color);
    background: white;
    color: var(--dark-color);
    padding: 0.875rem;
    width: 50px;
    height: 50px;
    justify-content: center;
}

.action-buttons .btn-outline-secondary:hover {
    border-color: var(--secondary-color);
    background: var(--secondary-color);
    color: white;
    transform: translateY(-2px);
}

/* Action Buttons */
.action-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

.action-buttons .btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.5rem;
    font-weight: 600;
    border-radius: var(--radius-medium);
    transition: all var(--transition-fast);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.action-buttons .btn-primary {
    background: var(--secondary-gradient);
    border: none;
    box-shadow: var(--shadow-2);
}

.action-buttons .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-3);
}

.action-buttons .btn-outline-secondary {
    border: 2px solid var(--border-color);
    background: white;
    color: var(--dark-color);
    padding: 0.875rem;
    width: 50px;
    height: 50px;
    justify-content: center;
}

.action-buttons .btn-outline-secondary:hover {
    border-color: var(--secondary-color);
    background: var(--secondary-color);
    color: white;
    transform: translateY(-2px);
}

/* Product Features */
.product-features {
    border-top: 1px solid var(--border-color);
    padding-top: 2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: white;
    border-radius: var(--radius-medium);
    border: 1px solid var(--border-color);
    transition: all var(--transition-fast);
    height: 100%;
}

.feature-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-2);
    border-color: var(--secondary-color);
}

.feature-item .material-icons {
    font-size: 1.5rem;
    padding: 0.5rem;
    border-radius: 50%;
    background: rgba(139, 193, 50, 0.1);
}

.feature-text h6 {
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 0.25rem;
}

.feature-text small {
    color: var(--medium-gray);
    font-size: 0.85rem;
}

/* Product Description */
.product-description {
    margin-bottom: 2rem;
}

.product-description .lead {
    font-size: 1.1rem;
    color: var(--medium-gray);
    line-height: 1.6;
}

/* Product Tabs */
.product-tabs {
    margin-top: 3rem;
}

.nav-tabs {
    border-bottom: 2px solid var(--border-color);
    margin-bottom: 2rem;
}

.nav-tabs .nav-link {
    border: none;
    border-bottom: 3px solid transparent;
    padding: 1rem 1.5rem;
    font-weight: 600;
    color: var(--medium-gray);
    transition: all var(--transition-fast);
    background: transparent;
}

.nav-tabs .nav-link:hover {
    color: var(--secondary-color);
    border-bottom-color: rgba(139, 193, 50, 0.3);
}

.nav-tabs .nav-link.active {
    color: var(--secondary-color);
    border-bottom-color: var(--secondary-color);
    background: transparent;
}

.tab-content {
    padding: 2rem 0;
}

.description-content {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--dark-color);
}

.product-tags {
    margin-top: 2rem;
}

.tag-badge {
    display: inline-block;
    background: var(--light-gray);
    color: var(--medium-gray);
    padding: 0.4rem 0.8rem;
    border-radius: var(--radius-medium);
    font-size: 0.85rem;
    margin: 0.25rem 0.5rem 0.25rem 0;
    transition: all var(--transition-fast);
}

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

/* Specifications Table - Using Bootstrap default */

/* Reviews Section */
.reviews-content {
    padding: 1rem 0;
}

.rating-overview {
    background: var(--light-gray);
    padding: 2rem;
    border-radius: var(--radius-large);
}

.overall-rating .rating-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--secondary-color);
    display: block;
}

.overall-rating .rating-stars {
    justify-content: center;
    margin: 0.5rem 0;
}

.overall-rating .rating-stars .material-icons {
    font-size: 1.5rem;
}

.rating-breakdown {
    padding: 1rem 0;
}

.rating-bar-row {
    margin-bottom: 0.75rem;
}

.rating-label {
    min-width: 60px;
    font-size: 0.9rem;
    color: var(--medium-gray);
}

.rating-bar {
    height: 8px;
    background: var(--border-color);
    border-radius: var(--radius-small);
    overflow: hidden;
}

.rating-fill {
    height: 100%;
    background: var(--secondary-gradient);
    transition: width var(--transition-medium);
}

.rating-count {
    min-width: 40px;
    text-align: right;
    font-size: 0.9rem;
    color: var(--medium-gray);
}

/* Related Products */
.related-products {
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 1px solid var(--border-color);
}

.related-products .section-title {
    font-size: 1.8rem;
    font-weight: 900;
    color: #005280 !important;
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
    letter-spacing: -0.02em;
    background: none !important;
    -webkit-background-clip: initial !important;
    -webkit-text-fill-color: #005280 !important;
    background-clip: initial !important;
    text-shadow: none !important;
}

.related-products .section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: #005280;
    border-radius: var(--radius-small);
}

/* Mobile Responsive Styles */
@media (max-width: 991.98px) {
    .product-info-content {
        padding-left: 0;
        margin-top: 2rem;
    }
    
    .product-gallery {
        position: static;
    }
    
    .product-title {
        font-size: 1.6rem;
    }
    
    .current-price {
        font-size: 1.8rem;
    }
    
    .original-price {
        font-size: 1.1rem;
    }
    
    .action-buttons {
        justify-content: space-between;
    }
    
    .action-buttons .btn-primary {
        flex: 1;
        min-width: 200px;
    }
}

@media (max-width: 767.98px) {
    .product-details-section {
        padding: 1rem 0;
    }
    
    /* Mobile Image Modal */
    #imageModal .modal-content {
        padding: 0.5rem;
        margin: 0.5rem;
    }
    
    #imageModal .modal-body {
        min-height: 50vh;
    }
    
    #modalImage {
        max-height: 70vh;
        border-radius: 4px;
    }
    
    #imageModal .btn-close {
        font-size: 1.2rem;
        width: 40px;
        height: 40px;
    }
    
    .main-image-container {
        aspect-ratio: 1;
        margin-bottom: 1rem;
    }
    
    .thumbnail-images .col-3 {
        flex: 0 0 auto;
        width: 20%;
    }
    
    .product-title {
        font-size: 1.4rem;
        margin-bottom: 0.75rem;
    }
    
    .product-rating-section {
        margin-bottom: 1rem;
    }
    
    .product-pricing {
        margin-bottom: 1.5rem;
    }
    
    .current-price {
        font-size: 1.6rem;
    }
    
    .purchase-section {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .variant-options {
        gap: 0.5rem;
    }
    
    .variant-label {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
    
    .action-buttons {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .action-buttons .btn {
        width: 100%;
        justify-content: center;
    }
    
    .action-buttons .btn-outline-secondary {
        width: 100%;
        height: auto;
        padding: 0.875rem 1.5rem;
    }
    
    .feature-item {
        padding: 0.75rem;
        margin-bottom: 0.75rem;
    }
    
    .feature-item .material-icons {
        font-size: 1.2rem;
    }
    
    .nav-tabs .nav-link {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }
    
    .overall-rating .rating-number {
        font-size: 2.5rem;
    }
    
    .rating-breakdown {
        margin-top: 1.5rem;
    }
}

@media (max-width: 575.98px) {
    .breadcrumb {
        font-size: 0.8rem;
        margin-bottom: 1rem;
    }
    
    .related-products .section-title {
        font-size: 1.5rem;
        font-weight: 900;
        color: #005280 !important;
    }
    
    .related-products .product-title a {
        font-size: 0.9rem;
        font-weight: 700;
        color: #005280;
    }
    
    .related-products .current-price {
        font-size: 1rem;
    }
    
    .related-products .rating-stars .material-icons {
        color: #ffd700 !important;
    }
    
    .related-products .product-card h5 a {
        color: #005280 !important;
        font-weight: 700 !important;
    }
    
    .related-products .product-card .rating-stars .material-icons {
        color: #ffd700 !important;
    }
    
    .related-products .product-card .rating-stars .material-icons.outlined {
        color: #e0e0e0 !important;
    }
    
    .product-category {
        margin-bottom: 0.75rem;
    }
    
    .category-badge,
    .featured-badge {
        font-size: 0.75rem;
        padding: 0.3rem 0.6rem;
    }
    
    .discount-badge {
        padding: 6px 8px;
        border-radius: 8px;
    }
    
    .discount-percent {
        font-size: 12px;
    }
    
    .discount-label {
        font-size: 8px;
    }
    
    .discount-icon .material-icons {
        font-size: 14px;
    }
    
    .product-title {
        font-size: 1.2rem;
        line-height: 1.3;
    }
    
    .rating-stars .material-icons {
        font-size: 1rem;
    }
    
    .rating-text {
        font-size: 0.8rem;
    }
    
    .current-price {
        font-size: 1.4rem;
    }
    
    .original-price {
        font-size: 1rem;
    }
    
    .savings-amount {
        font-size: 0.75rem;
        padding: 0.25rem 0.5rem;
    }
    
    .product-description .lead {
        font-size: 1rem;
    }
    
    .purchase-section {
        padding: 1rem;
    }
    
    .quantity-selector .d-flex {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 0.75rem;
    }
    
    .quantity-controls {
        align-self: stretch;
        justify-content: center;
    }
    
    .quantity-input {
        width: 80px;
    }
    
    .action-buttons .btn {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }
    
    .feature-item {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
        padding: 1rem 0.75rem;
    }
    
    .nav-tabs {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .nav-tabs .nav-link {
        white-space: nowrap;
        padding: 0.75rem;
        font-size: 0.85rem;
    }
    
    .specifications-content .table td {
        padding: 0.75rem;
        font-size: 0.9rem;
    }
    
    .overall-rating {
        padding: 1.5rem;
    }
    
    .overall-rating .rating-number {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.4rem;
        margin-bottom: 1.5rem;
    }
}

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

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

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

.product-gallery {
    animation: fadeInLeft 0.6s ease-out;
}

.product-info-content {
    animation: fadeInRight 0.6s ease-out 0.2s both;
}

.product-tabs {
    animation: fadeInUp 0.6s ease-out 0.4s both;
}

.related-products {
    animation: fadeInUp 0.6s ease-out 0.6s both;
}

.feature-item {
    animation: fadeInUp 0.6s ease-out both;
}

.feature-item:nth-child(1) { animation-delay: 0.1s; }
.feature-item:nth-child(2) { animation-delay: 0.2s; }
.feature-item:nth-child(3) { animation-delay: 0.3s; }
.feature-item:nth-child(4) { animation-delay: 0.4s; }

/* Image Modal Styles */
#imageModal .modal-content {
    background: rgba(0, 0, 0, 0.95) !important;
    border: none !important;
    box-shadow: none !important;
    padding: 1rem;
}

#imageModal .modal-header {
    padding: 0;
    margin-bottom: 1rem;
    border: none;
}

#imageModal .btn-close {
    filter: invert(1);
    opacity: 0.8;
    font-size: 1.4rem;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

#imageModal .btn-close:hover {
    opacity: 1;
    transform: scale(1.1);
    background: rgba(255, 255, 255, 0.2);
}

#imageModal .modal-body {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
}

#modalImage {
    transition: all var(--transition-medium);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    border-radius: 8px;
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
}

/* Loading States */
.btn:disabled {
    opacity: 0.8;
    cursor: not-allowed;
}

.btn .material-icons {
    transition: all var(--transition-fast);
}

/* Notification Styles */
.alert {
    border: none;
    box-shadow: var(--shadow-3);
    border-radius: var(--radius-medium);
}

.alert-success {
    background: var(--secondary-gradient);
    color: white;
}

.alert-info {
    background: var(--primary-gradient);
    color: white;
}

.alert-danger {
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    color: white;
}

/* Hover Effects for Product Cards */
.related-products .product-card {
    transition: all var(--transition-medium);
}

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

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

/* Sticky Buy Section for Mobile */
@media (max-width: 767.98px) {
    .mobile-buy-sticky {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: white;
        padding: 1rem;
        border-top: 1px solid var(--border-color);
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
        z-index: 1000;
        display: flex;
        gap: 1rem;
        align-items: center;
    }
    
    .mobile-buy-sticky .current-price {
        font-size: 1.2rem;
        font-weight: 700;
        color: var(--secondary-color);
        margin: 0;
    }
    
    .mobile-buy-sticky .btn {
        flex: 1;
        margin: 0;
    }
    
    /* Add padding to body to prevent content being hidden behind sticky bar */
    body.product-details-page {
        padding-bottom: 80px;
    }
}

/* Enhanced Zoom Effect */
.main-image-container {
    cursor: zoom-in;
}

.main-image-container:hover {
    cursor: zoom-in;
}

/* Smooth transitions for all interactive elements */
.variant-option,
.quantity-controls button,
.action-buttons .btn,
.thumbnail-image,
.nav-tabs .nav-link,
.tag-badge {
    transition: all var(--transition-fast);
}

/* Focus states for accessibility */
.variant-option:focus-within .variant-label {
    box-shadow: 0 0 0 3px rgba(139, 193, 50, 0.3);
}

.quantity-controls input:focus {
    box-shadow: inset 0 0 0 2px var(--secondary-color);
}

.btn:focus {
    box-shadow: 0 0 0 3px rgba(139, 193, 50, 0.3);
}

/* Enhanced typography */
.product-title {
    letter-spacing: -0.02em;
}

.current-price {
    letter-spacing: -0.01em;
}

/* Better spacing for content sections */
.product-info-content > * + * {
    margin-top: 1.5rem;
}

@media (max-width: 767.98px) {
    .product-info-content > * + * {
        margin-top: 1rem;
    }
}

/* Enhanced Related Products */
.related-products .product-card {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-large);
    overflow: hidden;
    background: white;
    height: 100%;
}

.related-products .product-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1;
}

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

.related-products .product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition-fast);
}

.related-products .product-card:hover .product-overlay {
    opacity: 1;
}

.related-products .product-actions {
    display: flex;
    gap: 0.5rem;
}

.related-products .product-info {
    padding: 1.25rem;
}

.related-products .product-title a {
    color: #005280 !important;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color var(--transition-fast);
}

.related-products .product-title a:hover {
    color: var(--secondary-color) !important;
    text-decoration: underline;
}

.related-products .product-rating {
    margin-bottom: 0.75rem;
}

.related-products .rating-stars {
    display: flex;
    gap: 2px;
}

.related-products .rating-stars .material-icons {
    color: #ffd700 !important;
    font-size: 0.9rem !important;
}

.related-products .rating-stars .material-icons.outlined {
    color: #e0e0e0 !important;
}

.related-products .product-price {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.related-products .current-price {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--secondary-color) !important;
}

.related-products .original-price {
    font-size: 0.9rem;
    color: var(--medium-gray);
    text-decoration: line-through;
}

/* Image loading placeholder */
.product-image img {
    background: var(--light-gray);
}

/* Skeleton loading animation */
@keyframes skeleton-loading {
    0% {
        background-color: hsl(200, 20%, 80%);
    }
    100% {
        background-color: hsl(200, 20%, 95%);
    }
}

.skeleton {
    animation: skeleton-loading 1s linear infinite alternate;
    border-radius: var(--radius-small);
}

/* Loading state for images */
.product-image img[src=""],
.product-image img:not([src]) {
    background: linear-gradient(-90deg, #f0f0f0 0%, #e0e0e0 50%, #f0f0f0 100%);
    background-size: 400% 400%;
    animation: skeleton-loading 1.5s ease-in-out infinite;
}

/* Error state for images */
.product-image img[src*="placeholder"] {
    background: var(--light-gray);
    padding: 2rem;
    opacity: 0.6;
}

/* Fallback for missing images */
.product-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--light-gray) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ccc'%3E%3Cpath d='M21 19V5c0-1.1-.9-2-2-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2zM8.5 13.5l2.5 3.01L14.5 12l4.5 6H5l3.5-4.5z'/%3E%3C/svg%3E") center/50px no-repeat;
    z-index: -1;
}

/* Custom scrollbar for thumbnail container on mobile */
@media (max-width: 575.98px) {
    .thumbnail-images .row {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
        scrollbar-color: var(--secondary-color) var(--light-gray);
    }
    
    .thumbnail-images .row::-webkit-scrollbar {
        height: 6px;
    }
    
    .thumbnail-images .row::-webkit-scrollbar-track {
        background: var(--light-gray);
        border-radius: 3px;
    }
    
    .thumbnail-images .row::-webkit-scrollbar-thumb {
        background: var(--secondary-color);
        border-radius: 3px;
    }
    
    .thumbnail-images .col-3 {
        flex: 0 0 80px;
        max-width: 80px;
    }
}