* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', 'Inter', -apple-system, sans-serif;
}

:root {
    --primary: #7c3aed;
    --primary-dark: #6d28d9;
    --primary-light: #8b5cf6;
    --secondary: #10b981;
    --accent: #f59e0b;
    --dark: #0f172a;
    --darker: #020617;
    --light: #f8fafc;
    --gray: #94a3b8;
    --dark-gray: #334155;
    --gradient: linear-gradient(135deg, #7c3aed, #8b5cf6, #10b981);
    --gradient-hover: linear-gradient(135deg, #6d28d9, #7c3aed, #059669);
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --shadow-glow: 0 0 20px rgba(124, 58, 237, 0.5);
    --shadow-glow-hover: 0 0 30px rgba(124, 58, 237, 0.8);
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    background: var(--darker);
    color: var(--light);
    overflow-x: hidden;
    position: relative;
}

/* Animated Background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 50%, rgba(124, 58, 237, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(16, 185, 129, 0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
    animation: backgroundPulse 10s ease-in-out infinite;
}

@keyframes backgroundPulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: var(--dark);
    border-left: 1px solid var(--primary);
}

::-webkit-scrollbar-thumb {
    background: var(--gradient);
    border-radius: 6px;
    transition: var(--transition);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gradient-hover);
    box-shadow: var(--shadow-glow);
}

/* Loading Animation */
.loader-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--darker);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s, visibility 0.5s;
}

.loader {
    width: 80px;
    height: 80px;
    border: 4px solid var(--primary);
    border-top-color: transparent;
    border-radius: 50%;
    animation: loaderRotate 1s linear infinite;
    position: relative;
}

.loader::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border: 4px solid transparent;
    border-top-color: var(--secondary);
    border-radius: 50%;
    animation: loaderRotate 2s linear infinite;
}

@keyframes loaderRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(2, 6, 23, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(124, 58, 237, 0.2);
    z-index: 1000;
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.header.scrolled {
    padding: 0.5rem 5%;
    background: rgba(2, 6, 23, 0.98);
    box-shadow: var(--shadow-lg);
}

.logo {
    font-size: 2.2rem;
    font-weight: 900;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-transform: uppercase;
    letter-spacing: 3px;
    position: relative;
    cursor: pointer;
    transition: var(--transition);
}

.logo:hover {
    transform: scale(1.05);
    filter: drop-shadow(var(--shadow-glow));
}

.logo::after {
    content: '™';
    font-size: 1rem;
    position: absolute;
    top: 0;
    right: -20px;
    background: var(--primary);
    color: white;
    padding: 2px 4px;
    border-radius: 4px;
    font-size: 0.6rem;
}

/* Navigation */
.nav-menu {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-item {
    position: relative;
}

.nav-link {
    color: var(--light);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0.5rem 0;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.nav-link i {
    font-size: 0.8rem;
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--primary);
}

.nav-link:hover i {
    transform: rotate(180deg);
}

/* Mega Menu */
.mega-menu {
    position: absolute;
    top: 100%;
    left: -100px;
    width: 600px;
    background: var(--dark);
    border: 1px solid var(--primary);
    border-radius: 20px;
    padding: 2rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
    box-shadow: var(--shadow-glow);
    z-index: 100;
}

.nav-item:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mega-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.mega-category h4 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.mega-category a {
    color: var(--gray);
    text-decoration: none;
    display: block;
    margin-bottom: 0.5rem;
    transition: var(--transition);
}

.mega-category a:hover {
    color: var(--primary);
    transform: translateX(5px);
}

/* Header Actions */
.header-actions {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.action-btn {
    position: relative;
    cursor: pointer;
    font-size: 1.3rem;
    color: var(--light);
    transition: var(--transition);
    background: none;
    border: none;
}

.action-btn:hover {
    color: var(--primary);
    transform: scale(1.1);
}

.badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--primary);
    color: white;
    font-size: 0.7rem;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* Currency Selector */
.currency-selector {
    display: flex;
    gap: 0.3rem;
    background: var(--dark);
    padding: 0.3rem;
    border-radius: 30px;
    border: 1px solid var(--primary);
}

.currency-option {
    padding: 0.3rem 0.8rem;
    border: none;
    background: transparent;
    color: var(--gray);
    cursor: pointer;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.8rem;
    transition: var(--transition);
}

.currency-option.active {
    background: var(--primary);
    color: white;
    box-shadow: var(--shadow-glow);
}

/* Main Content */
main {
    margin-top: 80px;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    padding: 2rem 5%;
    position: relative;
    overflow: hidden;
}

.hero::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" opacity="0.1"><path d="M10 10 L90 10 L90 90 L10 90 Z" stroke="%237c3aed" stroke-width="2" fill="none"/><path d="M20 20 L80 20 L80 80 L20 80 Z" stroke="%2310b981" stroke-width="2" fill="none"/></svg>') repeat;
    animation: moveGrid 20s linear infinite;
}

@keyframes moveGrid {
    0% { transform: translateX(0) translateY(0); }
    100% { transform: translateX(50px) translateY(50px); }
}

.hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(124, 58, 237, 0.2);
    border: 1px solid var(--primary);
    padding: 0.5rem 1rem;
    border-radius: 30px;
    margin-bottom: 2rem;
    width: fit-content;
}

.hero-badge span {
    color: var(--primary);
    font-weight: bold;
}

.hero h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero h1 span {
    display: block;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-size: 5rem;
}

.hero p {
    font-size: 1.2rem;
    color: var(--gray);
    margin-bottom: 2rem;
    max-width: 500px;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary);
}

.stat-label {
    color: var(--gray);
    font-size: 0.9rem;
}

.hero-image {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image img {
    max-width: 100%;
    border-radius: 30px;
    box-shadow: var(--shadow-glow);
    animation: float 6s ease-in-out infinite;
    border: 3px solid var(--primary);
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(2deg); }
}

.floating-card {
    position: absolute;
    background: var(--dark);
    border: 1px solid var(--primary);
    border-radius: 15px;
    padding: 1rem;
    box-shadow: var(--shadow-glow);
    animation: floatCard 4s ease-in-out infinite;
}

.floating-card-1 {
    top: 10%;
    left: -20px;
    animation-delay: 0s;
}

.floating-card-2 {
    bottom: 10%;
    right: -20px;
    animation-delay: 2s;
}

@keyframes floatCard {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

/* Products Section */
.products {
    padding: 5rem 5%;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.5rem;
    position: relative;
    display: inline-block;
}

.section-title::before {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--gradient);
    border-radius: 2px;
}

.section-title span {
    color: var(--primary);
}

.section-controls {
    display: flex;
    gap: 1rem;
}

.control-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--dark);
    border: 1px solid var(--primary);
    color: white;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.control-btn:hover {
    background: var(--primary);
    transform: scale(1.1);
    box-shadow: var(--shadow-glow);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.product-card {
    background: var(--dark);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(124, 58, 237, 0.2);
    transition: var(--transition);
    position: relative;
    cursor: pointer;
}

.product-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: var(--primary);
    box-shadow: var(--shadow-glow-hover);
}

.product-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--gradient);
    color: white;
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    z-index: 1;
    box-shadow: var(--shadow-glow);
}

.product-image {
    height: 350px;
    overflow: hidden;
    position: relative;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    opacity: 0;
    transition: var(--transition);
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.overlay-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: white;
    border: none;
    color: var(--primary);
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition);
    transform: translateY(20px);
}

.product-card:hover .overlay-btn {
    transform: translateY(0);
}

.overlay-btn:hover {
    background: var(--primary);
    color: white;
    transform: scale(1.1) rotate(360deg);
}

.product-info {
    padding: 1.5rem;
}

.product-category {
    color: var(--primary);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.product-title {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.product-rating {
    color: var(--accent);
    font-size: 0.9rem;
}

.product-price {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.original-price {
    font-size: 1rem;
    color: var(--gray);
    text-decoration: line-through;
}

.product-actions {
    display: flex;
    gap: 1rem;
}

.btn {
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-primary {
    background: var(--gradient);
    color: white;
    flex: 1;
    position: relative;
    overflow: hidden;
}

.btn-primary::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-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

/* Category Grid */
.categories {
    padding: 5rem 5%;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.category-card {
    position: relative;
    height: 200px;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition);
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow);
}

.category-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.category-card:hover img {
    transform: scale(1.1);
}

.category-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
    color: white;
}

.category-overlay h3 {
    font-size: 1.3rem;
    margin-bottom: 0.3rem;
}

.category-overlay p {
    color: var(--gray);
    font-size: 0.9rem;
}

/* Featured Brands */
.brands {
    padding: 5rem 5%;
    background: linear-gradient(180deg, transparent, rgba(124, 58, 237, 0.1));
}

.brand-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.brand-card {
    background: var(--dark);
    border: 1px solid var(--primary);
    border-radius: 15px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    cursor: pointer;
}

.brand-card:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-glow);
    border-color: transparent;
    background: var(--gradient);
}

.brand-card i {
    font-size: 2.5rem;
    color: var(--primary);
    transition: var(--transition);
}

.brand-card:hover i {
    color: white;
}

/* Admin Dashboard */
.admin-dashboard {
    padding: 5rem 5%;
    position: relative;
}

.dashboard-container {
    max-width: 1200px;
    margin: 0 auto;
    background: var(--dark);
    border-radius: 30px;
    padding: 3rem;
    border: 2px solid transparent;
    background: linear-gradient(var(--dark), var(--dark)) padding-box,
                var(--gradient) border-box;
    position: relative;
    overflow: hidden;
}

.dashboard-container::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, var(--primary), var(--secondary), var(--accent), var(--primary));
    animation: rotate 10s linear infinite;
    opacity: 0.1;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.dashboard-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.dashboard-header i {
    font-size: 2.5rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.dashboard-header h2 {
    font-size: 2rem;
}

.dashboard-header h2 span {
    color: var(--primary);
}

.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.stat-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 1.5rem;
    border: 1px solid rgba(124, 58, 237, 0.2);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--gradient);
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: var(--shadow-glow);
}

.stat-icon {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.stat-value {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 0.3rem;
}

.stat-label {
    color: var(--gray);
}

.stat-change {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    background: rgba(16, 185, 129, 0.1);
    color: var(--secondary);
    font-size: 0.8rem;
}

.contract-section {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 20px;
    padding: 2rem;
    border: 1px dashed var(--primary);
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
    backdrop-filter: blur(10px);
}

.contract-address {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--darker);
    padding: 1rem;
    border-radius: 10px;
    margin-bottom: 1rem;
}

.contract-address code {
    color: var(--primary);
    font-size: 0.9rem;
    word-break: break-all;
}

.contract-details {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    text-align: center;
}

.detail-item {
    padding: 0.5rem;
}

.detail-label {
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 0.3rem;
}

.detail-value {
    font-weight: bold;
    color: var(--primary);
}

.admin-btn {
    width: 100%;
    padding: 1rem;
    background: var(--gradient);
    border: none;
    border-radius: 30px;
    color: white;
    font-weight: bold;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.admin-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;
}

.admin-btn:hover::before {
    left: 100%;
}

.admin-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

/* Cart Modal */
.cart-modal {
    position: fixed;
    top: 0;
    right: -500px;
    width: 450px;
    height: 100vh;
    background: var(--dark);
    border-left: 2px solid var(--primary);
    z-index: 2000;
    transition: var(--transition);
    padding: 2rem;
    overflow-y: auto;
    box-shadow: var(--shadow-lg);
}

.cart-modal.active {
    right: 0;
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(124, 58, 237, 0.2);
}

.cart-header h3 {
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cart-header h3 i {
    color: var(--primary);
}

.close-cart {
    background: none;
    border: none;
    color: var(--light);
    font-size: 2rem;
    cursor: pointer;
    transition: var(--transition);
}

.close-cart:hover {
    color: var(--primary);
    transform: rotate(90deg);
}

.cart-items {
    margin-bottom: 2rem;
}

.cart-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    border: 1px solid rgba(124, 58, 237, 0.2);
    position: relative;
}

.cart-item-image {
    width: 80px;
    height: 80px;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--primary);
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-item-details {
    flex: 1;
}

.cart-item-title {
    font-weight: bold;
    margin-bottom: 0.3rem;
    font-size: 1rem;
}

.cart-item-price {
    color: var(--primary);
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.cart-item-quantity {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.quantity-btn {
    width: 25px;
    height: 25px;
    border-radius: 5px;
    background: var(--primary);
    border: none;
    color: white;
    cursor: pointer;
    transition: var(--transition);
}

.quantity-btn:hover {
    background: var(--primary-dark);
    transform: scale(1.1);
}

.remove-item {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    color: var(--gray);
    cursor: pointer;
    transition: var(--transition);
}

.remove-item:hover {
    color: var(--primary);
    transform: scale(1.2);
}

.cart-footer {
    position: sticky;
    bottom: 0;
    background: var(--dark);
    padding-top: 1rem;
    border-top: 1px solid rgba(124, 58, 237, 0.2);
}

.cart-total {
    display: flex;
    justify-content: space-between;
    font-size: 1.3rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.cart-total span:last-child {
    color: var(--primary);
}

.checkout-btn {
    width: 100%;
    padding: 1rem;
    background: var(--gradient);
    border: none;
    border-radius: 30px;
    color: white;
    font-weight: bold;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.checkout-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

/* WhatsApp Button */
.whatsapp-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #25D366, #128C7E);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2.5rem;
    text-decoration: none;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.5);
    transition: var(--transition);
    z-index: 1000;
    border: 3px solid white;
    animation: whatsappPulse 2s infinite;
}

@keyframes whatsappPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.whatsapp-btn:hover {
    transform: scale(1.2) rotate(5deg);
    box-shadow: 0 10px 40px #25D366;
}

/* Chat Bot */
.chat-bot {
    position: fixed;
    bottom: 120px;
    right: 30px;
    width: 380px;
    background: var(--dark);
    border-radius: 20px;
    border: 2px solid var(--primary);
    box-shadow: var(--shadow-glow-hover);
    z-index: 999;
    display: none;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.chat-bot.active {
    display: flex;
    flex-direction: column;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.chat-header {
    background: var(--gradient);
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-header-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.chat-header-info i {
    font-size: 1.5rem;
    color: white;
}

.chat-header-info h4 {
    color: white;
    font-size: 1rem;
}

.chat-header-info p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.8rem;
}

.chat-close {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
}

.chat-close:hover {
    transform: rotate(90deg);
}

.chat-messages {
    height: 350px;
    padding: 1rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.message {
    max-width: 80%;
    padding: 0.8rem 1rem;
    border-radius: 15px;
    margin-bottom: 0.5rem;
    animation: messagePop 0.3s ease;
}

@keyframes messagePop {
    from { opacity: 0; transform: scale(0.8); }
    to { opacity: 1; transform: scale(1); }
}

.message.bot {
    background: rgba(124, 58, 237, 0.1);
    border: 1px solid var(--primary);
    align-self: flex-start;
    border-bottom-left-radius: 5px;
}

.message.user {
    background: var(--gradient);
    color: white;
    align-self: flex-end;
    border-bottom-right-radius: 5px;
}

.message-time {
    font-size: 0.6rem;
    opacity: 0.7;
    margin-top: 0.3rem;
}

.chat-input {
    padding: 1rem;
    border-top: 1px solid rgba(124, 58, 237, 0.2);
    display: flex;
    gap: 0.5rem;
    background: var(--darker);
}

.chat-input input {
    flex: 1;
    padding: 0.8rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--primary);
    border-radius: 25px;
    color: white;
    outline: none;
    transition: var(--transition);
}

.chat-input input:focus {
    border-color: var(--primary-light);
    box-shadow: var(--shadow-glow);
}

.chat-input button {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--gradient);
    border: none;
    color: white;
    cursor: pointer;
    transition: var(--transition);
}

.chat-input button:hover {
    transform: scale(1.1) rotate(360deg);
    box-shadow: var(--shadow-glow);
}

.chat-toggle {
    position: fixed;
    bottom: 120px;
    right: 120px;
    background: var(--gradient);
    border: none;
    color: white;
    padding: 1rem 2rem;
    border-radius: 30px;
    font-weight: bold;
    cursor: pointer;
    box-shadow: var(--shadow-glow);
    z-index: 998;
    transition: var(--transition);
    border: 2px solid white;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.chat-toggle:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-glow-hover);
}

.chat-toggle i {
    font-size: 1.2rem;
}

/* Footer */
.footer {
    background: var(--dark);
    padding: 5rem 5% 1rem;
    border-top: 1px solid rgba(124, 58, 237, 0.2);
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 2fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-section h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.footer-section h3 span {
    color: var(--primary);
}

.footer-section p {
    color: var(--gray);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: var(--transition);
    border: 1px solid var(--primary);
}

.social-link:hover {
    background: var(--gradient);
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow);
}

.footer-section h4 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.8rem;
}

.footer-section ul li a {
    color: var(--gray);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: var(--primary);
    transform: translateX(5px);
    display: inline-block;
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
}

.newsletter-form input {
    flex: 1;
    padding: 0.8rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--primary);
    border-radius: 25px;
    color: white;
    outline: none;
}

.newsletter-form button {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--gradient);
    border: none;
    color: white;
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-form button:hover {
    transform: scale(1.1) rotate(360deg);
    box-shadow: var(--shadow-glow);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(124, 58, 237, 0.2);
    color: var(--gray);
}

.payment-methods {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 1rem;
}

.payment-methods i {
    font-size: 2rem;
    color: var(--gray);
    transition: var(--transition);
}

.payment-methods i:hover {
    color: var(--primary);
    transform: scale(1.2);
}

/* Quick View Modal */
.quick-view-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    width: 90%;
    max-width: 1000px;
    background: var(--dark);
    border: 2px solid var(--primary);
    border-radius: 30px;
    padding: 2rem;
    z-index: 3000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-glow-hover);
}

.quick-view-modal.active {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 2999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.quick-view-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.quick-view-image img {
    width: 100%;
    border-radius: 20px;
    border: 2px solid var(--primary);
}

.quick-view-details h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.quick-view-price {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.quick-view-description {
    color: var(--gray);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.quick-view-actions {
    display: flex;
    gap: 1rem;
}

.close-modal {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    transition: var(--transition);
}

.close-modal:hover {
    color: var(--primary);
    transform: rotate(90deg);
}

/* Responsive */
@media (max-width: 1200px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .category-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .brand-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero h1 span {
        font-size: 3rem;
    }
    
    .nav-menu {
        display: none;
    }
    
    .cart-modal {
        width: 100%;
    }
    
    .category-grid {
        grid-template-columns: 1fr;
    }
    
    .brand-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .quick-view-content {
        grid-template-columns: 1fr;
    }
}