:root {
    --primary-color: #10b981;
    --secondary-color: #6c757d;
    --success-color: #059669;
    --danger-color: #dc3545;
    --warning-color: #ffc107;
    --info-color: #0dcaf0;
    --light-color: #f8f9fa;
    --dark-color: #212529;
    --gradient-primary: linear-gradient(135deg, #10b981 0%, #059669 100%);
    --gradient-secondary: linear-gradient(135deg, #34d399 0%, #10b981 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.7;
    color: var(--dark-color);
    padding-top: 65px;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* ========================================
   CREATIVE SCROLLBAR
   ======================================== */

/* For Webkit browsers (Chrome, Safari, Edge) */
::-webkit-scrollbar {
    width: 12px;
    height: 12px;
}

::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 10px;
    margin: 5px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border-radius: 10px;
    border: 2px solid #f1f5f9;
    transition: all 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    border-color: #e2e8f0;
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.5);
}

::-webkit-scrollbar-thumb:active {
    background: linear-gradient(135deg, #047857 0%, #065f46 100%);
}

/* For Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: #10b981 #f1f5f9;
}

/* Custom scrollbar animation */
@keyframes scrollPulse {
    0%, 100% {
        opacity: 0.8;
    }
    50% {
        opacity: 1;
    }
}

::-webkit-scrollbar-thumb {
    animation: scrollPulse 2s ease-in-out infinite;
}

/* Horizontal scrollbar */
::-webkit-scrollbar-corner {
    background: #f1f5f9;
}

/* ========================================
   SIMPLE ANIMATED CURSOR
   ======================================== */

/* Default cursor */
* {
    cursor: default;
}

/* Links and buttons */
a, button, .btn, [role="button"], input[type="submit"], input[type="button"] {
    cursor: pointer;
    transition: transform 0.2s ease;
}

a:hover, button:hover, .btn:hover {
    transform: scale(1.02);
}

/* Text inputs */
input, textarea, select, [contenteditable="true"] {
    cursor: text;
}

/* Animated cursor effect on interactive elements */
@keyframes cursorPulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4);
    }
    50% {
        box-shadow: 0 0 0 8px rgba(16, 185, 129, 0);
    }
}

/* Pulse effect for buttons */
.btn:active, button:active, a.btn:active {
    animation: cursorPulse 0.6s ease-out;
}

/* Custom cursor trail (subtle) */
@keyframes cursorRipple {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.8;
    }
    100% {
        transform: translate(-50%, -50%) scale(3);
        opacity: 0;
    }
}

/* Particle burst animation */
@keyframes particleBurst {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) scale(0);
        opacity: 0;
    }
}

/* Cursor trail dots */
.cursor-trail {
    box-shadow: 0 0 8px rgba(16, 185, 129, 0.3);
}

/* Green accent on focus */
input:focus, textarea:focus, select:focus {
    outline: 2px solid #10b981;
    outline-offset: 2px;
    cursor: text;
}

/* Hover state for cards and clickable items */
.product-card, .category-card, .feature-card {
    transition: all 0.3s ease;
    cursor: pointer;
}

.product-card:hover, .category-card:hover, .feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.2);
}

/* Navbar Styles */
.navbar {
    padding: 0.5rem 0;
    transition: all 0.3s ease;
}

.navbar-brand {
    font-family: 'Poppins', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.navbar-brand i {
    font-size: 1.5rem;
}

.brand-name {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-link {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    padding: 0.4rem 0.8rem !important;
    font-size: 0.95rem;
    letter-spacing: -0.2px;
    transition: color 0.3s ease;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary-color) !important;
}

/* Hero Section */
.hero-section {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
    min-height: 600px;
    display: flex;
    align-items: center;
}

/* Video Background */
.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    object-fit: cover;
    object-position: center;
}

/* Video Overlay */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(236, 253, 245, 0.75) 0%, rgba(209, 250, 229, 0.8) 100%);
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-section h1 {
    font-family: 'Poppins', sans-serif;
    color: var(--dark-color);
    margin-bottom: 1.5rem;
    font-weight: 800;
    letter-spacing: -1.5px;
    line-height: 1.2;
}

.hero-section .lead {
    font-family: 'Inter', sans-serif;
    color: var(--secondary-color);
    font-size: 1.15rem;
    font-weight: 400;
    line-height: 1.8;
    letter-spacing: -0.2px;
}

/* Hero Illustration Section */
.hero-illustration {
    position: relative;
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.illustration-container {
    position: relative;
    width: 100%;
    max-width: 500px;
    animation: float 4s ease-in-out infinite;
}

.hero-svg {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(16, 185, 129, 0.2));
}

/* Floating Icon Elements */
.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
}

.float-item {
    position: absolute;
    width: 60px;
    height: 60px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.2);
    font-size: 1.8rem;
    color: var(--primary-color);
}

.float-1 {
    top: 5%;
    left: -5%;
    animation: floatItem1 4s ease-in-out infinite;
}

.float-2 {
    top: 10%;
    right: -5%;
    animation: floatItem2 5s ease-in-out infinite;
}

.float-3 {
    bottom: 30%;
    left: -8%;
    animation: floatItem3 4.5s ease-in-out infinite;
}

.float-4 {
    bottom: 10%;
    right: -8%;
    animation: floatItem4 5.5s ease-in-out infinite;
}

@keyframes floatItem1 {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    25% {
        transform: translate(10px, -15px) rotate(5deg);
    }
    50% {
        transform: translate(0, -25px) rotate(0deg);
    }
    75% {
        transform: translate(-10px, -15px) rotate(-5deg);
    }
}

@keyframes floatItem2 {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    25% {
        transform: translate(-15px, 10px) rotate(-5deg);
    }
    50% {
        transform: translate(-25px, 0) rotate(0deg);
    }
    75% {
        transform: translate(-15px, -10px) rotate(5deg);
    }
}

@keyframes floatItem3 {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    25% {
        transform: translate(15px, 10px) rotate(5deg);
    }
    50% {
        transform: translate(30px, 0) rotate(0deg);
    }
    75% {
        transform: translate(15px, -10px) rotate(-5deg);
    }
}

@keyframes floatItem4 {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    25% {
        transform: translate(-10px, -15px) rotate(-5deg);
    }
    50% {
        transform: translate(0, -30px) rotate(0deg);
    }
    75% {
        transform: translate(10px, -15px) rotate(5deg);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-15px);
    }
}

/* Features Section */
.features-section {
    background: white;
}

.feature-card {
    padding: 2rem;
    text-align: center;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
}

.feature-card h4 {
    font-family: 'Poppins', sans-serif;
    margin-bottom: 1rem;
    color: var(--dark-color);
    font-weight: 700;
    font-size: 1.25rem;
    letter-spacing: -0.5px;
}

.feature-card p {
    font-family: 'Inter', sans-serif;
    color: var(--secondary-color);
    margin-bottom: 0;
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Categories Section */
.categories-section {
    background: var(--light-color);
}

.category-card {
    background: white;
    padding: 2.5rem 1.5rem;
    border-radius: 15px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    height: 100%;
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    background: var(--gradient-primary);
}

.category-card:hover i,
.category-card:hover h5,
.category-card:hover p {
    color: white !important;
}

.category-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.category-card h5 {
    font-family: 'Poppins', sans-serif;
    margin-bottom: 0.5rem;
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: -0.3px;
    transition: all 0.3s ease;
}

/* Modern Products Section */
.products-section {
    background: white;
}

.products-header {
    margin-bottom: 2rem;
}

.products-count h5 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-color);
}

.count-number {
    color: var(--primary-color);
    font-size: 1.8rem;
}

.form-select-modern {
    font-family: 'Inter', sans-serif;
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 0.8rem 2.5rem 0.8rem 1.2rem;
    font-weight: 500;
    color: var(--dark-color);
    transition: all 0.3s ease;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%2310b981' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 16px 12px;
}

.form-select-modern:hover {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.form-select-modern:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.2);
}

/* Modern Product Card */
.product-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    height: 100%;
    position: relative;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.product-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 50px rgba(16, 185, 129, 0.2);
}

.product-card:hover::before {
    transform: scaleX(1);
}

.product-image {
    height: 280px;
    overflow: hidden;
    background: linear-gradient(135deg, #f8f9fa 0%, #ecfdf5 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.product-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40%;
    background: linear-gradient(to top, rgba(255,255,255,0.8), transparent);
    pointer-events: none;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.4s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.15) rotate(2deg);
}

.product-info {
    padding: 1.8rem;
    position: relative;
}

.product-category {
    font-family: 'Poppins', sans-serif;
    font-size: 0.75rem;
    color: var(--primary-color);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    display: inline-block;
    padding: 0.3rem 0.8rem;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 6px;
    margin-bottom: 0.8rem;
}

.product-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0.5rem 0;
    color: var(--dark-color);
    letter-spacing: -0.5px;
    line-height: 1.4;
    min-height: 2.8rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-description {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    color: #6b7280;
    margin-bottom: 1.2rem;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-price {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 1.2rem;
    padding-top: 1.2rem;
    border-top: 1px solid rgba(16, 185, 129, 0.1);
}

.price {
    font-family: 'Poppins', sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary-color);
    letter-spacing: -1px;
}

.old-price {
    text-decoration: line-through;
    color: #9ca3af;
    font-size: 1.1rem;
    margin-left: 0.6rem;
    font-weight: 500;
}

.product-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 0.5rem 1rem;
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    z-index: 2;
}

.badge-new {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
}

.badge-sale {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
}

/* Product Card Buttons */
.product-actions-btns {
    display: flex;
    gap: 0.5rem;
}

.product-price .btn {
    padding: 0.6rem 1rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.product-price .btn:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4);
}

.product-price .btn-outline-primary:hover {
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.3);
}

/* CTA Section */
.cta-section {
    background: var(--gradient-primary);
    color: white;
}

/* Modern Filter Section */
.filter-section {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.1);
    position: sticky;
    top: 85px;
    transition: all 0.3s ease;
}

.filter-section:hover {
    box-shadow: 0 12px 40px rgba(16, 185, 129, 0.12);
}

.filter-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    color: var(--dark-color);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--primary-color);
}

.filter-title i {
    color: var(--primary-color);
    font-size: 1.5rem;
}

.filter-group {
    margin-bottom: 0;
}

/* Modern Filter Buttons */
.btn-filter {
    font-family: 'Inter', sans-serif;
    background: white;
    border: 2px solid #e5e7eb;
    color: var(--dark-color);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 1rem 1.2rem;
    border-radius: 12px;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-filter i {
    font-size: 1.3rem;
    transition: transform 0.3s ease;
}

.btn-filter span {
    flex: 1;
}

.btn-filter::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 100%;
    background: var(--gradient-primary);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.btn-filter:hover {
    border-color: var(--primary-color);
    background: rgba(16, 185, 129, 0.05);
    transform: translateX(5px);
}

.btn-filter:hover i {
    transform: scale(1.2);
}

.btn-filter.active {
    background: var(--gradient-primary);
    border-color: var(--primary-color);
    color: white;
    font-weight: 600;
    box-shadow: 0 5px 20px rgba(16, 185, 129, 0.3);
}

.btn-filter.active::before {
    transform: scaleY(1);
}

.btn-filter.active i {
    transform: scale(1.1);
}

/* Search Box */
.search-box {
    position: relative;
}

.search-box input {
    padding-right: 3rem;
    border-radius: 25px;
    border: 2px solid var(--light-color);
    transition: all 0.3s ease;
}

.search-box input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(13,110,253,.25);
}

.search-box i {
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--secondary-color);
}

/* About Page */
.about-hero {
    padding: 80px 0;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
}

.stats-section {
    background: white;
    padding: 4rem 0;
}

.stat-card {
    text-align: center;
    padding: 2rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    display: block;
}

.stat-label {
    font-size: 1.1rem;
    color: var(--secondary-color);
    margin-top: 0.5rem;
}

.team-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.team-image {
    height: 300px;
    overflow: hidden;
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-info {
    padding: 1.5rem;
    text-align: center;
}

.team-name {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.team-position {
    color: var(--primary-color);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.team-social a {
    color: var(--secondary-color);
    font-size: 1.2rem;
    margin: 0 0.5rem;
    transition: color 0.3s ease;
}

.team-social a:hover {
    color: var(--primary-color);
}

/* Contact Page */
.contact-hero {
    padding: 80px 0;
    background: linear-gradient(135deg, #34d399 0%, #10b981 100%);
    color: white;
}

.contact-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    height: 100%;
    text-align: center;
    transition: all 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.contact-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
}

.contact-form {
    background: white;
    border-radius: 15px;
    padding: 3rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.contact-form .form-control,
.contact-form .form-select {
    border-radius: 10px;
    padding: 0.75rem 1rem;
    border: 2px solid var(--light-color);
    transition: all 0.3s ease;
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(13,110,253,.25);
}

/* Footer */
.footer {
    background: #1a1a2e;
    color: #fff;
}

.footer h5, .footer h6 {
    color: #fff;
}

.footer a {
    color: #adb5bd;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: var(--primary-color);
}

.footer ul li {
    margin-bottom: 0.5rem;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    margin-right: 0.5rem;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

.contact-info li {
    margin-bottom: 0.75rem;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.contact-info i {
    color: var(--primary-color);
    margin-top: 0.25rem;
}

/* Buttons */
.btn {
    font-family: 'Poppins', sans-serif;
    padding: 0.75rem 2rem;
    border-radius: 25px;
    font-weight: 600;
    letter-spacing: -0.2px;
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--gradient-primary);
    border: none;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(102,126,234,0.4);
}

.btn-outline-primary:hover {
    background: var(--primary-color);
    color: white;
}

/* Animations */
.fade-in {
    animation: fadeIn 1s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Product Detail Page */
.product-detail-section {
    padding: 4rem 0;
}

.product-gallery {
    position: sticky;
    top: 85px;
}

.main-image {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 15px;
    margin-bottom: 1rem;
}

.thumbnail-images {
    display: flex;
    gap: 1rem;
}

.thumbnail {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 10px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.thumbnail:hover,
.thumbnail.active {
    border-color: var(--primary-color);
}

.product-detail-info {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.quantity-selector {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.quantity-selector input {
    width: 80px;
    text-align: center;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-section {
        padding: 60px 0;
        text-align: center;
        min-height: 500px;
    }
    
    .hero-video {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }
    
    .hero-illustration {
        padding: 1rem;
        margin-top: 2rem;
    }
    
    .illustration-container {
        max-width: 350px;
    }
    
    .float-item {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
    
    /* Adjust positions for mobile */
    .float-1 {
        top: -5%;
        left: 5%;
    }
    
    .float-2 {
        top: -5%;
        right: 5%;
    }
    
    .float-3 {
        bottom: -5%;
        left: 5%;
    }
    
    .float-4 {
        bottom: -5%;
        right: 5%;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .contact-form {
        padding: 2rem 1rem;
    }
    
    .filter-section {
        position: static;
        margin-bottom: 2rem;
    }
    
    .products-count h5 {
        font-size: 1.2rem;
    }
    
    .count-number {
        font-size: 1.5rem;
    }
    
    .form-select-modern {
        padding: 0.6rem 2rem 0.6rem 1rem;
        font-size: 0.9rem;
    }
    
    .product-title {
        font-size: 1.1rem;
    }
    
    .price {
        font-size: 1.5rem;
    }
    
    .btn-filter {
        padding: 0.8rem 1rem;
        font-size: 0.9rem;
    }
}

/* Loading Animation */
.loading {
    text-align: center;
    padding: 3rem;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid var(--light-color);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Modern Pagination */
.pagination {
    margin-top: 4rem;
    gap: 0.5rem;
}

.page-link {
    border-radius: 12px;
    margin: 0;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 2px solid #e5e7eb;
    color: var(--dark-color);
    font-weight: 600;
    transition: all 0.3s ease;
}

.page-link:hover {
    background: rgba(16, 185, 129, 0.1);
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-3px);
}

.page-item.active .page-link {
    background: var(--gradient-primary);
    border: none;
    color: white;
    box-shadow: 0 5px 20px rgba(16, 185, 129, 0.3);
}

.page-item.disabled .page-link {
    background: #f9fafb;
    border-color: #e5e7eb;
    color: #d1d5db;
}

/* Typography Enhancements */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    letter-spacing: -0.5px;
}

p, span, a, li {
    font-family: 'Inter', sans-serif;
}

h2 {
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -1px;
}

h3 {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -0.8px;
}

h5 {
    font-size: 1.15rem;
    font-weight: 600;
    letter-spacing: -0.3px;
}

.lead {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    line-height: 1.8;
}

/* Additional Green Theme Overrides */
.btn-primary {
    background: var(--gradient-primary) !important;
    border: none !important;
}

.btn-primary:hover {
    background: var(--success-color) !important;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(16, 185, 129, 0.4) !important;
}

.btn-outline-primary {
    color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
}

.btn-outline-primary:hover {
    background: var(--primary-color) !important;
    color: white !important;
}

.text-primary {
    color: var(--primary-color) !important;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

.border-primary {
    border-color: var(--primary-color) !important;
}

/* Navbar toggler color */
.navbar-toggler {
    border-color: var(--primary-color);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(16, 185, 129, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Language Selector */
.language-selector {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.3rem 0.8rem !important;
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 20px;
    transition: all 0.3s ease;
    margin-left: 1rem;
}

.language-selector:hover {
    background: rgba(16, 185, 129, 0.1);
    border-color: var(--primary-color);
}

.flag-icon {
    width: 20px;
    height: 15px;
    object-fit: cover;
    border-radius: 2px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.language-selector #currentLang {
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

.language-dropdown {
    min-width: 160px;
    border-radius: 12px;
    padding: 0.5rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    border: none;
}

.language-dropdown .dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.6rem 1rem;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.language-dropdown .dropdown-item:hover {
    background: var(--gradient-primary);
    color: white;
}

.language-dropdown .dropdown-item.active {
    background: rgba(16, 185, 129, 0.1);
    color: var(--primary-color);
    font-weight: 600;
}

.language-dropdown .dropdown-item img {
    width: 24px;
    height: 18px;
}

.language-dropdown .dropdown-item span {
    font-size: 0.95rem;
}

/* Mobile language selector */
@media (max-width: 991px) {
    .language-selector {
        margin-left: 0;
        margin-top: 0.5rem;
        justify-content: center;
    }
    
    /* Thinner scrollbar on mobile */
    ::-webkit-scrollbar {
        width: 8px;
        height: 8px;
    }
}

/* ========================================
   CUSTOM SCROLLBAR FOR SPECIFIC ELEMENTS
   ======================================== */

/* Products container scrollbar */
#productsContainer::-webkit-scrollbar {
    width: 10px;
}

#productsContainer::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #34d399 0%, #10b981 100%);
    border-radius: 10px;
}

/* Filter section scrollbar */
.filter-section::-webkit-scrollbar {
    width: 6px;
}

.filter-section::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 10px;
}

/* Modal/dropdown scrollbar */
.dropdown-menu::-webkit-scrollbar {
    width: 6px;
}

.dropdown-menu::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border-radius: 10px;
}

/* ========================================
   PRODUCT DETAIL PAGE
   ======================================== */

.product-detail-section {
    padding: 120px 0 80px;
    background: #f8f9fa;
    min-height: 100vh;
}

/* Breadcrumb */
.breadcrumb {
    background: white;
    padding: 1rem 1.5rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    margin-bottom: 2rem;
}

.breadcrumb-item a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

.breadcrumb-item a:hover {
    color: var(--secondary-color);
}

.breadcrumb-item.active {
    color: #6b7280;
}

/* Product Gallery */
.product-gallery {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    position: sticky;
    top: 100px;
}

.main-image-container {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    padding: 2rem;
}

.main-product-image {
    width: 100%;
    height: auto;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.main-image-container:hover .main-product-image {
    transform: scale(1.05);
}

.product-badge-large {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 10px;
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.3);
}

.image-thumbnails {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.thumbnail-image {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 10px;
    cursor: pointer;
    border: 3px solid transparent;
    transition: all 0.3s ease;
}

.thumbnail-image:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}

.thumbnail-image.active {
    border-color: var(--primary-color);
    box-shadow: 0 5px 20px rgba(16, 185, 129, 0.3);
}

/* Product Detail Info */
.product-detail-info {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.product-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.product-category-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, #dcfce7 0%, #d1fae5 100%);
    color: var(--primary-color);
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
}

.product-stock {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
}

.product-stock.in-stock {
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
    color: #065f46;
}

.product-stock.out-of-stock {
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
    color: #991b1b;
}

.product-detail-title {
    font-family: 'Poppins', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--dark-color);
    margin-bottom: 1rem;
    letter-spacing: -1px;
    line-height: 1.2;
}

.product-rating-reviews {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.rating-stars {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.rating-stars i {
    font-size: 1.2rem;
}

.rating-number {
    font-weight: 700;
    color: var(--dark-color);
    margin-left: 0.5rem;
}

.reviews-count {
    color: #6b7280;
    font-size: 0.95rem;
}

.product-detail-price {
    margin-bottom: 2rem;
}

.current-price {
    font-family: 'Poppins', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    letter-spacing: -1px;
}

.currency {
    font-size: 1.5rem;
    color: #6b7280;
    font-weight: 600;
}

.old-price-detail {
    font-size: 1.3rem;
    color: #9ca3af;
    text-decoration: line-through;
    margin-left: 1rem;
}

.product-detail-description {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #4b5563;
    margin-bottom: 2rem;
}

/* Product Features */
.product-features {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    padding: 1.5rem;
    border-radius: 15px;
    margin-bottom: 2rem;
}

.product-features h5 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.features-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.features-list li {
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: 'Inter', sans-serif;
    color: #374151;
}

.features-list li i {
    font-size: 1.2rem;
}

/* Product Actions */
.product-actions {
    margin-bottom: 2rem;
}

.quantity-selector-detail {
    margin-bottom: 1.5rem;
}

.quantity-selector-detail label {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
    display: block;
}

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    padding: 0.5rem;
    width: fit-content;
}

.quantity-btn {
    background: var(--gradient-primary);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.quantity-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(16, 185, 129, 0.3);
}

.quantity-input {
    width: 80px;
    text-align: center;
    border: none;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--dark-color);
}

.quantity-input:focus {
    outline: none;
}

.action-buttons {
    display: flex;
    gap: 1rem;
}

.add-to-cart-btn {
    flex: 1;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 700;
}

.wishlist-btn {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.wishlist-btn.active {
    background: var(--gradient-primary);
    border-color: var(--primary-color);
    color: white;
}

.wishlist-btn i {
    transition: all 0.3s ease;
}

.wishlist-btn.active i {
    animation: heartBeat 0.5s ease;
}

@keyframes heartBeat {
    0%, 100% { transform: scale(1); }
    25% { transform: scale(1.3); }
    50% { transform: scale(1.1); }
    75% { transform: scale(1.2); }
}

/* Additional Info */
.product-additional-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    padding: 2rem 0;
    border-top: 2px solid #e5e7eb;
}

.info-item {
    display: flex;
    gap: 1rem;
}

.info-item i {
    font-size: 2rem;
    color: var(--primary-color);
}

.info-item strong {
    display: block;
    font-family: 'Poppins', sans-serif;
    color: var(--dark-color);
    margin-bottom: 0.25rem;
}

.info-item span {
    font-size: 0.9rem;
    color: #6b7280;
}

/* Product Tabs */
.product-tabs {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.product-tabs .nav-tabs {
    border-bottom: 3px solid #e5e7eb;
    margin-bottom: 2rem;
}

.product-tabs .nav-link {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    color: #6b7280;
    padding: 1rem 1.5rem;
    border: none;
    border-bottom: 3px solid transparent;
    margin-bottom: -3px;
    transition: all 0.3s ease;
}

.product-tabs .nav-link:hover {
    color: var(--primary-color);
    border-bottom-color: rgba(16, 185, 129, 0.3);
}

.product-tabs .nav-link.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
    background: none;
}

.tab-content-inner {
    padding: 1rem 0;
}

.tab-content-inner h4 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 1.5rem;
}

.tab-content-inner h5 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    color: var(--dark-color);
    margin: 1.5rem 0 1rem;
}

.tab-content-inner p, .tab-content-inner ul {
    font-family: 'Inter', sans-serif;
    color: #4b5563;
    line-height: 1.8;
}

.tab-content-inner ul {
    padding-left: 1.5rem;
}

.tab-content-inner ul li {
    margin-bottom: 0.75rem;
}

/* Composition Table */
.composition-table {
    margin-top: 1.5rem;
}

.composition-table thead {
    background: var(--gradient-primary);
    color: white;
}

.composition-table th {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    padding: 1rem;
    border: none;
}

.composition-table td {
    padding: 1rem;
    border-bottom: 1px solid #e5e7eb;
}

/* Usage Instructions */
.usage-instructions {
    display: grid;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.instruction-item {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border-radius: 15px;
    border-left: 4px solid var(--primary-color);
}

.instruction-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 50%;
    color: var(--primary-color);
    font-size: 1.8rem;
    flex-shrink: 0;
}

.instruction-content h5 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.instruction-content p {
    margin: 0;
    color: #4b5563;
}

/* Reviews */
.reviews-summary {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    padding: 2rem;
    border-radius: 15px;
    margin-bottom: 2rem;
}

.average-rating {
    text-align: center;
}

.rating-number-large {
    font-family: 'Poppins', sans-serif;
    font-size: 4rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
}

.rating-stars-large {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin: 1rem 0;
}

.rating-stars-large i {
    font-size: 1.8rem;
    color: #fbbf24;
}

.total-reviews {
    color: #6b7280;
    font-size: 1.1rem;
}

.reviews-list {
    display: grid;
    gap: 1.5rem;
}

.review-item {
    padding: 1.5rem;
    background: #f9fafb;
    border-radius: 15px;
    border-left: 4px solid var(--primary-color);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.reviewer-info strong {
    font-family: 'Poppins', sans-serif;
    color: var(--dark-color);
    display: block;
    margin-bottom: 0.5rem;
}

.review-stars {
    display: flex;
    gap: 0.25rem;
}

.review-stars i {
    font-size: 1rem;
    color: #fbbf24;
}

.review-date {
    color: #9ca3af;
    font-size: 0.9rem;
}

.review-text {
    font-family: 'Inter', sans-serif;
    color: #4b5563;
    line-height: 1.8;
    margin: 0;
}

/* Related Products */
.related-products .section-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 2rem;
}

/* Responsive */
@media (max-width: 991px) {
    .product-gallery {
        position: static;
        margin-bottom: 2rem;
    }
    
    .product-detail-title {
        font-size: 2rem;
    }
    
    .current-price {
        font-size: 2rem;
    }
    
    .action-buttons {
        flex-direction: column;
    }
    
    .wishlist-btn {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .product-detail-section {
        padding: 100px 0 60px;
    }
    
    .product-detail-title {
        font-size: 1.75rem;
    }
    
    .product-additional-info {
        grid-template-columns: 1fr;
    }
    
    .instruction-item {
        flex-direction: column;
        text-align: center;
    }
    
    .instruction-icon {
        margin: 0 auto;
    }
}

/* ========================================
   SHOPPING CART PAGE
   ======================================== */

.cart-section {
    padding: 120px 0 80px;
    background: #f8f9fa;
    min-height: 100vh;
}

/* Cart Header */
.cart-header {
    text-align: center;
    margin-bottom: 3rem;
}

.cart-header h1 {
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
    letter-spacing: -1px;
}

.cart-header i {
    color: var(--primary-color);
    margin-right: 0.5rem;
}

/* Empty Cart */
.empty-cart {
    background: white;
    padding: 4rem 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.empty-cart-icon {
    font-size: 6rem;
    color: #d1d5db;
    margin-bottom: 1.5rem;
}

.empty-cart h3 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.empty-cart p {
    color: #6b7280;
    margin-bottom: 2rem;
}

/* Cart Badge in Navbar */
.cart-badge {
    display: inline-block;
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.15rem 0.4rem;
    border-radius: 10px;
    margin-left: 0.3rem;
    vertical-align: super;
    min-width: 18px;
    text-align: center;
}

/* Cart Dropdown Preview */
.cart-dropdown-wrapper {
    position: relative;
}

.cart-dropdown-preview {
    position: absolute;
    top: 100%;
    right: 0;
    width: 380px;
    max-height: 500px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    margin-top: 0.5rem;
    overflow: hidden;
}

.cart-dropdown-wrapper:hover .cart-dropdown-preview {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.cart-dropdown-header {
    padding: 1rem 1.5rem;
    border-bottom: 2px solid #e5e7eb;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
}

.cart-dropdown-header h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    color: var(--dark-color);
    margin: 0;
}

.cart-items-total {
    font-size: 0.9rem;
    color: #6b7280;
    font-weight: 600;
}

.cart-dropdown-items {
    max-height: 300px;
    overflow-y: auto;
    padding: 0.5rem;
}

.cart-dropdown-items::-webkit-scrollbar {
    width: 6px;
}

.cart-dropdown-items::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 10px;
}

.dropdown-cart-item {
    display: flex;
    gap: 1rem;
    padding: 0.75rem;
    border-radius: 10px;
    transition: all 0.3s ease;
    margin-bottom: 0.5rem;
}

.dropdown-cart-item:hover {
    background: #f9fafb;
}

.dropdown-item-image {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    background: #f0fdf4;
    padding: 0.25rem;
    flex-shrink: 0;
}

.dropdown-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 6px;
}

.dropdown-item-info {
    flex: 1;
    min-width: 0;
}

.dropdown-item-name {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--dark-color);
    margin-bottom: 0.25rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dropdown-item-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
}

.dropdown-item-quantity {
    color: #6b7280;
}

.dropdown-item-price {
    font-weight: 700;
    color: var(--primary-color);
}

.dropdown-more-items {
    text-align: center;
    padding: 0.75rem;
    color: #6b7280;
    font-style: italic;
}

.cart-dropdown-empty {
    padding: 2rem 1rem;
    text-align: center;
}

.cart-dropdown-empty i {
    font-size: 3rem;
    color: #d1d5db;
    margin-bottom: 0.5rem;
}

.cart-dropdown-empty p {
    color: #6b7280;
    margin: 0;
    font-size: 0.9rem;
}

.cart-dropdown-footer {
    padding: 1rem 1.5rem;
    border-top: 2px solid #e5e7eb;
    background: #f9fafb;
}

.dropdown-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
}

.dropdown-total span:first-child {
    color: var(--dark-color);
}

.dropdown-total span:last-child {
    color: var(--primary-color);
}

.dropdown-actions {
    display: flex;
    gap: 0.5rem;
}

.dropdown-actions .btn {
    flex: 1;
    font-weight: 600;
    padding: 0.6rem 1rem;
}

/* Mobile Cart Dropdown */
@media (max-width: 768px) {
    .cart-dropdown-preview {
        width: 320px;
        right: -20px;
    }
}

/* Cart Items Container */
.cart-items-container {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.cart-items-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #e5e7eb;
}

.cart-items-header h5 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    color: var(--dark-color);
    margin: 0;
}

/* Cart Item */
.cart-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    border-radius: 15px;
    background: #f9fafb;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
    position: relative;
}

.cart-item:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.item-image {
    width: 100px;
    height: 100px;
    border-radius: 12px;
    overflow: hidden;
    background: white;
    padding: 0.5rem;
    flex-shrink: 0;
}

.item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.item-details {
    flex: 1;
    min-width: 0;
}

.item-name {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--dark-color);
    margin-bottom: 0.3rem;
}

.item-category {
    color: #6b7280;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.item-savings {
    display: inline-block;
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
    color: #065f46;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.item-quantity {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: white;
    padding: 0.5rem;
    border-radius: 12px;
    border: 2px solid #e5e7eb;
}

.item-quantity .quantity-btn {
    background: var(--gradient-primary);
    border: none;
    color: white;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.item-quantity .quantity-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.quantity-value {
    font-weight: 700;
    color: var(--dark-color);
    min-width: 30px;
    text-align: center;
    font-size: 1.1rem;
}

.item-price {
    text-align: right;
    min-width: 150px;
}

.price-current {
    display: block;
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    font-size: 1.3rem;
    color: var(--primary-color);
    letter-spacing: -0.5px;
}

.price-old {
    display: block;
    font-size: 1rem;
    color: #9ca3af;
    text-decoration: line-through;
    margin-top: 0.25rem;
}

.item-remove {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: white;
    border: 2px solid #fee2e2;
    color: #ef4444;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.item-remove:hover {
    background: #fee2e2;
    transform: scale(1.1);
}

/* Cart Summary */
.cart-summary {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    position: sticky;
    top: 100px;
}

.summary-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #e5e7eb;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    font-family: 'Inter', sans-serif;
    color: #4b5563;
}

.summary-item.discount-item {
    color: #059669;
    font-weight: 600;
}

.summary-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0 1rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--dark-color);
}

.summary-total span:last-child {
    color: var(--primary-color);
}

/* Promo Code */
.promo-code-section {
    margin: 1.5rem 0;
    padding: 1.5rem;
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border-radius: 15px;
}

.promo-code-section h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.promo-input-group {
    display: flex;
    gap: 0.5rem;
}

.promo-input-group .form-control {
    border: 2px solid #d1d5db;
    border-radius: 10px;
    padding: 0.75rem 1rem;
    font-family: 'Inter', sans-serif;
}

.promo-input-group .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.promo-message {
    display: block;
    margin-top: 0.75rem;
    font-size: 0.9rem;
    font-weight: 600;
}

.promo-message.success {
    color: #059669;
}

.promo-message.error {
    color: #dc2626;
}

/* Checkout Button */
.checkout-btn {
    margin-top: 1.5rem;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 700;
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.3);
}

.checkout-btn:hover {
    box-shadow: 0 12px 30px rgba(16, 185, 129, 0.4);
    transform: translateY(-2px);
}

/* Security Info */
.security-info {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 2px solid #e5e7eb;
}

.security-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0;
    color: #6b7280;
    font-size: 0.9rem;
}

.security-item i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

/* Payment Methods */
.payment-methods {
    background: white;
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    margin-top: 1.5rem;
}

.payment-methods h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.payment-icons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.payment-icon {
    width: 60px;
    height: 45px;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.payment-icon:hover {
    border-color: var(--primary-color);
    background: #f0fdf4;
    transform: translateY(-3px);
}

/* Continue Shopping */
.continue-shopping {
    margin-top: 2rem;
    text-align: center;
}

/* Recommended Products */
.recommended-products {
    margin-top: 4rem;
}

.recommended-products .section-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    color: var(--dark-color);
    text-align: center;
    margin-bottom: 2rem;
}

/* Cart Notification */
.cart-notification {
    position: fixed;
    top: 100px;
    right: -400px;
    background: white;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    gap: 1rem;
    z-index: 10000;
    transition: all 0.3s ease;
    min-width: 300px;
}

.cart-notification.show {
    right: 20px;
}

.cart-notification i {
    font-size: 1.5rem;
}

.cart-notification.success i {
    color: #10b981;
}

.cart-notification.error i {
    color: #ef4444;
}

.cart-notification.info i {
    color: #3b82f6;
}

.cart-notification.warning i {
    color: #f59e0b;
}

.cart-notification span {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    color: var(--dark-color);
}

/* Responsive Cart */
@media (max-width: 991px) {
    .cart-summary {
        position: static;
        margin-top: 2rem;
    }
}

@media (max-width: 768px) {
    .cart-section {
        padding: 100px 0 60px;
    }
    
    .cart-item {
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    .item-image {
        width: 80px;
        height: 80px;
    }
    
    .item-details {
        flex: 1 1 100%;
        order: 3;
    }
    
    .item-quantity {
        order: 2;
    }
    
    .item-price {
        order: 1;
        text-align: left;
        min-width: auto;
    }
    
    .item-remove {
        top: 0.5rem;
        right: 0.5rem;
        width: 32px;
        height: 32px;
    }
    
    .cart-notification {
        min-width: 250px;
    }
    
    .cart-notification.show {
        right: 10px;
    }
}
