/* Updated Root Variables to Match the Logo Colors */
:root {
    --primary-blue: #4338CA;
    --primary-purple: #6D28D9;
    --accent-blue: #0EA5E9;
    --accent-teal: #0D9488;
    --gradient: linear-gradient(135deg, var(--primary-blue), var(--primary-purple));
    --accent-gradient: linear-gradient(135deg, var(--accent-blue), var(--accent-teal));
    --dark-text: #212121;
    --light-text: #ffffff;
    --grey-text: #757575;
    --light-bg: #f5f5f5;
    --transition: all 0.3s ease;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Header Styles */
.navbar {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
}

/* IMPROVED LOGO STYLING */
.navbar-brand {
    padding: 0;
    margin-right: 2rem;
}

.navbar-brand svg {
    height: 70px; /* Increased from 50px */
    width: auto;
    transition: transform 0.3s ease;
}

.navbar-brand:hover svg {
    transform: scale(1.05);
}

/* Add logo container with proper spacing */
.logo-container {
    display: flex;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 8px;
    padding: 5px 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.nav-link {
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background: var(--gradient);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover:after {
    width: 80%;
}

/* Improved Icon Styling */
.nav-icons {
    display: flex;
    align-items: center;
}

.nav-icons .navbtn {
    margin-left: 10px;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    background-color: #f5f5f5;
    border: none;
    color: var(--primary-blue);
    position: relative;
}

.nav-icons .navbtn:hover {
    transform: translateY(-3px);
    background: var(--gradient);
    color: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Add badge for cart */
.nav-icons .navbtn .badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--primary-purple);
    color: white;
    font-size: 0.7rem;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

/* For mobile responsiveness */
@media (max-width: 991px) {
    .navbar-brand svg {
        height: 60px;
    }
}

@media (max-width: 767px) {
    .navbar-brand svg {
        height: 50px;
    }
    
    .nav-icons .navbtn {
        width: 36px;
        height: 36px;
        margin-left: 8px;
    }
}

.gradient-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
}

/* Hero Section */
.hero {
    background: var(--gradient);
    color: white;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.hero:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="rgba(255, 255, 255, 0.1)" d="M0,224L48,240C96,256,192,288,288,282.7C384,277,480,235,576,224C672,213,768,235,864,245.3C960,256,1056,256,1152,234.7C1248,213,1344,171,1392,149.3L1440,128L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
    background-size: cover;
    background-position: bottom;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-weight: 700;
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero-btn {
    padding: 12px 30px;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.hero-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.hero-image {
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* Category Styles */
.categories {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: var(--gradient);
}

.category-card {
    text-align: center;
    padding: 30px 20px;
    border-radius: 10px;
    background: white;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    margin-bottom: 30px;
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.category-card:before {
    content: '';
    position: absolute;
    width: 100%;
    height: 5px;
    bottom: 0;
    left: 0;
    background: var(--gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
}

.category-card:hover:before {
    transform: scaleX(1);
}

.category-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.category-title {
    font-weight: 600;
    margin-bottom: 15px;
}

/* Products Section */
.products {
    padding: 80px 0;
}

.product-card {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    margin-bottom: 30px;
    cursor: pointer;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.product-img-wrapper {
    overflow: hidden;
    position: relative;
    height: 200px;
    background-color: #f8f9fa;
}

.product-img {
    transition: transform 0.5s ease;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-card:hover .product-img {
    transform: scale(1.1);
}

.product-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 5px 10px;
    border-radius: 20px;
    background: var(--gradient);
    color: white;
    font-weight: 500;
    font-size: 0.75rem;
}

.product-body {
    padding: 20px;
}

.product-title {
    font-weight: 600;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.product-price {
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--primary-purple);
}

.product-rating {
    color: #ffc107;
    font-size: 0.9rem;
    margin-right: 5px;
}

.product-review-count {
    font-size: 0.85rem;
    color: #6c757d;
}

.btn-add-cart {
    background: var(--gradient);
    color: white;
    border: none;
    border-radius: 30px;
    padding: 8px 20px;
    font-weight: 500;
    transition: all 0.3s;
}

.btn-add-cart:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    color: white;
}

/* Product Detail Modal */
.modal-content {
    border-radius: 15px;
    border: none;
    overflow: hidden;
}

.modal-header {
    border-bottom: none;
    padding-bottom: 0;
}

.modal-body {
    padding: 20px 30px;
}

.product-detail-img {
    width: 100%;
    height: 300px;
    object-fit: contain;
    margin-bottom: 20px;
    border-radius: 10px;
    background-color: #f8f9fa;
}

.product-detail-title {
    font-weight: 700;
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.product-detail-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-purple);
    margin-bottom: 15px;
}

.product-detail-desc {
    margin-bottom: 20px;
    line-height: 1.7;
    color: #6c757d;
}

.quantity-selector {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.quantity-btn {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: #f1f1f1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
}

.quantity-btn:hover {
    background: #e0e0e0;
}

.quantity-input {
    width: 50px;
    text-align: center;
    font-weight: 600;
    border: none;
    background: transparent;
    margin: 0 10px;
}

.btn-buy-now {
    background: var(--gradient);
    color: white;
    border: none;
    border-radius: 30px;
    padding: 12px 30px;
    font-weight: 600;
    transition: all 0.3s;
    margin-right: 10px;
}

.btn-buy-now:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    color: white;
}

.btn-add-wishlist {
    border: 1px solid #dee2e6;
    background: white;
    border-radius: 30px;
    padding: 12px 30px;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-add-wishlist:hover {
    background: #f8f9fa;
    transform: translateY(-3px);
}

.product-detail-features {
    margin-top: 30px;
}

.feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.feature-icon {
    margin-right: 15px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(109, 40, 217, 0.1); /* Updated to match primary-purple */
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-purple);
    font-size: 1.2rem;
}

.back-to-products {
    display: none;
    margin-bottom: 20px;
    cursor: pointer;
    color: var(--primary-blue);
    font-weight: 500;
}

.back-to-products i {
    margin-right: 5px;
}

/* Mobile responsiveness */
@media (max-width: 767px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-image {
        margin-top: 30px;
    }

    .category-card {
        margin-bottom: 20px;
    }
}

/* Updated Second Section Colors */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: var(--light-bg);
    color: var(--dark-text);
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
    display: inline-block;
    position: relative;
    z-index: 1;
}

.section-title h2::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -10px;
    transform: translateX(-50%);
    width: 70px;
    height: 4px;
    background: var(--gradient);
    border-radius: 2px;
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    background: var(--gradient);
    color: var(--light-text);
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-purple), var(--primary-blue));
    transition: var(--transition);
    z-index: -1;
}

.btn:hover::before {
    width: 100%;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0px);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease forwards;
    opacity: 0;
}

.scale-in {
    animation: scaleIn 0.8s ease forwards;
    opacity: 0;
}

.slide-in-left {
    animation: slideInLeft 0.8s ease forwards;
    opacity: 0;
}

/* About Section */
#about {
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.about-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}

.about-text {
    flex: 1;
    padding-right: 50px;
    animation-delay: 0.2s;
}

.about-text h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.about-text p {
    line-height: 1.8;
    margin-bottom: 20px;
    color: var(--grey-text);
}

.about-img {
    flex: 1;
    position: relative;
    min-width: 300px;
    animation-delay: 0.4s;
}

.about-img .shape {
    position: absolute;
    width: 350px;
    height: 350px;
    background: var(--gradient);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    animation: morphShape 8s linear infinite;
}

@keyframes morphShape {
    0%, 100% {
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    }
    25% {
        border-radius: 58% 42% 75% 25% / 76% 46% 54% 24%;
    }
    50% {
        border-radius: 50% 50% 33% 67% / 55% 27% 73% 45%;
    }
    75% {
        border-radius: 33% 67% 58% 42% / 63% 68% 32% 37%;
    }
}

.about-img .about-logo {
    position: relative;
    z-index: 2;
    width: 300px;
    height: 300px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    object-fit: contain;
    background-color: rgba(255, 255, 255, 0.9);
    padding: 20px;
    display: block;
    margin: 0 auto;
    animation: float 6s ease-in-out infinite;
}

.stats-row {
    display: flex;
    flex-wrap: wrap;
    margin-top: 50px;
    justify-content: space-between;
}

.stat-item {
    flex: 1;
    min-width: 200px;
    text-align: center;
    margin: 15px;
    padding: 30px 20px;
    background: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border-radius: 15px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    animation-delay: 0.6s;
}

.stat-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--gradient);
    transition: var(--transition);
}

.stat-item:hover::before {
    width: 100%;
    opacity: 0.1;
}

.stat-item h3 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-item p {
    font-size: 1rem;
    color: var(--grey-text);
    font-weight: 500;
}

/* Contact Section */
#contact {
    padding: 80px 0;
    background-color: white;
    position: relative;
}

.contact-shape {
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background: var(--gradient);
    opacity: 0.05;
    border-radius: 0 0 0 100%;
}

.contact-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.contact-info {
    flex: 1;
    min-width: 300px;
    animation-delay: 0.2s;
}

.contact-info p {
    line-height: 1.8;
    margin-bottom: 30px;
    color: var(--grey-text);
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
    transition: var(--transition);
}

.contact-item:hover {
    transform: translateX(10px);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    color: white;
    font-size: 1.2rem;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.contact-text h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.contact-text p {
    margin: 0;
    color: var(--grey-text);
}

.contact-form {
    flex: 1;
    min-width: 300px;
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.05);
    position: relative;
    z-index: 1;
    animation-delay: 0.4s;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--dark-text);
}

.form-control {
    width: 100%;
    padding: 15px 20px;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1rem;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(67, 56, 202, 0.1); /* Updated to primary-blue */
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.social-links {
    display: flex;
    margin-top: 30px;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--light-bg);
    color: var(--grey-text);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--gradient);
    color: white;
    transform: translateY(-5px);
}

/* Footer Section */

footer {
    background: #1E1B4B; /* Deeper blue/purple background to complement logo */
    color: white;
    padding: 70px 0 20px;
    position: relative;
    overflow: hidden;
}

.footer-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.05;
    background-image: 
        radial-gradient(circle at 20% 80%, var(--accent-blue) 0%, transparent 100%),
        radial-gradient(circle at 80% 20%, var(--primary-purple) 0%, transparent 100%);
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 50px;
    position: relative;
    z-index: 1;
}

.footer-column {
    flex: 1;
    min-width: 200px;
    margin-bottom: 30px;
    padding-right: 20px;
}

.footer-logo {
    margin-bottom: 20px;
    display: block;
}

.footer-logo img {
    height: 90px;
}

.footer-text {
    line-height: 1.8;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-title {
    font-size: 1.2rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    position: relative;
}

.footer-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background: var(--gradient);
    border-radius: 2px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
    display: block;
    position: relative;
    padding-left: 15px;
}

.footer-links a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background: var(--accent-gradient); /* Updated to accent gradient */
    border-radius: 50%;
    transition: var(--transition);
}

.footer-links a:hover {
    color: white;
    transform: translateX(5px);
}

.footer-links a:hover::before {
    width: 8px;
    height: 8px;
}

.footer-newsletter p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
    line-height: 1.8;
}

.newsletter-form {
    position: relative;
}

.newsletter-input {
    width: 100%;
    padding: 15px 20px;
    padding-right: 60px;
    border: none;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 0.9rem;
    transition: var(--transition);
}

.newsletter-input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 0 3px rgba(67, 56, 202, 0.3); /* Primary blue with opacity */
}

.newsletter-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.newsletter-btn {
    position: absolute;
    right: 5px;
    top: 5px;
    width: 45px;
    height: 45px;
    background: var(--gradient);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-btn:hover {
    transform: scale(1.1);
    background: var(--accent-gradient); /* Change to accent gradient on hover */
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.footer-bottom a {
    color: var(--accent-blue); /* Updated to accent blue */
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.footer-bottom a:hover {
    color: var(--accent-teal); /* Transition to accent teal on hover */
}

/* Back to top button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
    background: var(--accent-gradient); /* Change to accent gradient on hover */
}

/* Cart Drawer Styles - Updated to match logo color scheme */
.cart-drawer {
    position: fixed;
    top: 0;
    right: -350px;
    width: 350px;
    height: 100vh;
    background-color: #fff;
    box-shadow: -2px 0 15px rgba(67, 56, 202, 0.15); /* Shadow matching primary blue */
    z-index: 1050;
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
}

.cart-drawer.open {
    right: 0;
}

.cart-drawer-header {
    padding: 18px;
    border-bottom: 1px solid #E9E9FF; /* Light purple tint */
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--gradient); /* Using the primary gradient */
    color: white;
}

.cart-drawer-header h4 {
    margin: 0;
    font-weight: 600;
}

.btn-close-drawer {
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    color: white;
    transition: var(--transition);
}

.btn-close-drawer:hover {
    transform: rotate(90deg);
}

.cart-drawer-content {
    flex: 1;
    overflow-y: auto;
    padding: 15px;
}

.empty-cart-message {
    text-align: center;
    padding: 40px 0;
    color: #6B7280; /* Gray color */
    font-style: italic;
}

.cart-drawer-footer {
    padding: 18px;
    border-top: 1px solid #E9E9FF; /* Light purple tint */
    background-color: #F7F7FF; /* Very light purple background */
}

.cart-total {
    display: flex;
    justify-content: space-between;
    font-weight: 600;
    margin-bottom: 15px;
    font-size: 18px;
    color: var(--primary-purple); /* Using primary purple for total text */
}

.cart-actions {
    display: flex;
    gap: 10px;
}

.cart-actions .btn {
    flex: 1;
    border-radius: 8px;
    padding: 12px;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.cart-actions .btn-checkout {
    background: var(--gradient);
    color: white;
}

.cart-actions .btn-checkout:hover {
    box-shadow: 0 5px 15px rgba(67, 56, 202, 0.3);
    transform: translateY(-3px);
}

.cart-actions .btn-continue {
    background: white;
    color: var(--primary-blue);
    border: 1px solid #E9E9FF;
}

.cart-actions .btn-continue:hover {
    background: #F7F7FF;
    color: var(--primary-purple);
}

.cart-item {
    display: flex;
    padding: 15px 0;
    border-bottom: 1px solid #E9E9FF; /* Light purple tint */
}

.cart-item-image {
    width: 80px;
    height: 80px;
    object-fit: cover;
    margin-right: 15px;
    border-radius: 8px;
    border: 1px solid #E9E9FF;
}

.cart-item-details {
    flex: 1;
}

.cart-item-title {
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--dark-text);
}

.cart-item-price {
    margin-bottom: 5px;
    color: var(--primary-purple); /* Primary purple for price */
    font-weight: 500;
}

.cart-item-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
}

.cart-item-quantity {
    display: flex;
    align-items: center;
}

.quantity-btn {
    width: 28px;
    height: 28px;
    border: 1px solid #E9E9FF;
    background: white;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: var(--transition);
    color: var(--primary-blue);
    border-radius: 4px;
}

.quantity-btn:hover {
    background: var(--gradient);
    color: white;
    border-color: var(--primary-blue);
}

.quantity-input {
    width: 40px;
    text-align: center;
    border: 1px solid #E9E9FF;
    border-left: none;
    border-right: none;
    height: 28px;
    font-weight: 600;
    color: var(--dark-text);
}

.cart-item-remove {
    color: #DC2626; /* Red color */
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px 10px;
    font-size: 14px;
    transition: var(--transition);
    border-radius: 4px;
}

.cart-item-remove:hover {
    background: #FEE2E2; /* Light red background */
    color: #B91C1C; /* Darker red text */
}

.drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1049;
    display: none;
    backdrop-filter: blur(3px); /* Slight blur effect */
}

.drawer-overlay.open {
    display: block;
}