/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
}

html {
    font-size: 62.5%;
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    font-size: 1.6rem;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
    overflow-x: hidden;
    touch-action: manipulation;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button, input, select, textarea {
    font-family: inherit;
    font-size: inherit;
    outline: none;
    border: none;
}

button {
    cursor: pointer;
    background: none;
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Loader */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s, visibility 0.5s;
}

.loader-content {
    text-align: center;
}

.loader-circle {
    width: 5rem;
    height: 5rem;
    border: 0.5rem solid #f3f3f3;
    border-top: 0.5rem solid #6c63ff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 2rem;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loader h2 {
    font-size: 2.4rem;
    color: #6c63ff;
}

.loader.hidden {
    opacity: 0;
    visibility: hidden;
}

/* Header */
header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
}

.logo h1 {
    font-size: 2.8rem;
    font-weight: 700;
    color: #6c63ff;
}

.desktop-nav ul {
    display: flex;
}

.desktop-nav li {
    margin-left: 3rem;
}

.desktop-nav a {
    font-size: 1.6rem;
    font-weight: 500;
    color: #333;
    transition: color 0.3s;
    position: relative;
}

.desktop-nav a:hover {
    color: #6c63ff;
}

.desktop-nav a::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 0;
    width: 0;
    height: 0.2rem;
    background-color: #6c63ff;
    transition: width 0.3s;
}

.desktop-nav a:hover::after,
.desktop-nav a.active::after {
    width: 100%;
}

.desktop-nav a.active {
    color: #6c63ff;
}

.header-actions {
    display: flex;
    align-items: center;
}

.cart-icon {
    font-size: 2rem;
    color: #333;
    margin-right: 2rem;
    cursor: pointer;
    position: relative;
}

.cart-count {
    position: absolute;
    top: -0.8rem;
    right: -0.8rem;
    background-color: #6c63ff;
    color: #fff;
    font-size: 1.2rem;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hamburger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 2.5rem;
    height: 2rem;
    cursor: pointer;
}

.bar {
    width: 100%;
    height: 0.3rem;
    background-color: #333;
    border-radius: 1rem;
    transition: all 0.3s;
}

/* Mobile Nav */
.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    height: 100%;
    background-color: #fff;
    z-index: 200;
    padding: 5rem 2rem;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    transition: right 0.3s;
    overflow-y: auto;
}

.mobile-nav.active {
    right: 0;
}

.mobile-nav ul {
    display: flex;
    flex-direction: column;
}

.mobile-nav li {
    margin-bottom: 2rem;
}

.mobile-nav a {
    font-size: 1.8rem;
    font-weight: 500;
    color: #333;
    transition: color 0.3s;
    display: block;
    padding: 1rem 0;
}

.mobile-nav a:hover,
.mobile-nav a.active {
    color: #6c63ff;
}

/* Cart Sidebar */
.cart-sidebar {
    position: fixed;
    top: 0;
    right: -100%;
    width: 35rem;
    height: 100%;
    background-color: #fff;
    z-index: 300;
    padding: 2rem;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    transition: right 0.3s;
    display: flex;
    flex-direction: column;
}

.cart-sidebar.active {
    right: 0;
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eee;
}

.cart-header h3 {
    font-size: 2rem;
    font-weight: 600;
}

.close-cart {
    font-size: 1.8rem;
    color: #333;
    cursor: pointer;
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    margin-bottom: 2rem;
}

.cart-item {
    display: flex;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #eee;
}

.cart-item-image {
    width: 8rem;
    height: 8rem;
    border-radius: 0.5rem;
    overflow: hidden;
    margin-right: 1.5rem;
}

.cart-item-details {
    flex: 1;
}

.cart-item-name {
    font-size: 1.6rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.cart-item-price {
    font-size: 1.6rem;
    font-weight: 600;
    color: #6c63ff;
    margin-bottom: 1rem;
}

.cart-item-quantity {
    display: flex;
    align-items: center;
}

.quantity-btn {
    width: 3rem;
    height: 3rem;
    background-color: #f5f5f5;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.4rem;
    cursor: pointer;
}

.quantity-input {
    width: 4rem;
    height: 3rem;
    text-align: center;
    margin: 0 1rem;
    border: 1px solid #eee;
    border-radius: 0.5rem;
}

.cart-item-remove {
    color: #ff6b6b;
    cursor: pointer;
    margin-left: 1rem;
}

.cart-footer {
    padding-top: 1.5rem;
    border-top: 1px solid #eee;
}

.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.cart-total p {
    font-size: 1.8rem;
    font-weight: 600;
}

.checkout-btn {
    width: 100%;
    padding: 1.2rem;
    background-color: #6c63ff;
    color: #fff;
    font-size: 1.6rem;
    font-weight: 500;
    border-radius: 0.5rem;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.3s;
}

.checkout-btn:hover {
    background-color: #5a52d5;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1.2rem 2.4rem;
    font-size: 1.6rem;
    font-weight: 500;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
}

.btn-primary {
    background-color: #6c63ff;
    color: #fff;
}

.btn-primary:hover {
    background-color: #5a52d5;
}

.btn-secondary {
    background-color: #f5f5f5;
    color: #333;
}

.btn-secondary:hover {
    background-color: #e0e0e0;
}

/* Hero Section */
.hero {
    padding: 8rem 0;
    background-color: #f9f9f9;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hero-text {
    flex: 1;
    padding-right: 4rem;
}

.hero-text h1 {
    font-size: 4.8rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 2rem;
    color: #333;
}

.hero-text p {
    font-size: 1.8rem;
    color: #666;
    margin-bottom: 3rem;
}

.highlight {
    color: #6c63ff;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Features Section */
.features {
    padding: 8rem 0;
    background-color: #fff;
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-header h2 {
    font-size: 3.6rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.8rem;
    color: #666;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
}

.feature-card {
    background-color: #f9f9f9;
    padding: 3rem 2rem;
    border-radius: 1rem;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    font-size: 3.6rem;
    color: #6c63ff;
    margin-bottom: 2rem;
}

.feature-card h3 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #333;
}

.feature-card p {
    font-size: 1.6rem;
    color: #666;
}

/* Trending Section */
.trending {
    padding: 8rem 0;
    background-color: #f9f9f9;
}

.trending-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-bottom: 4rem;
}

.gift-card {
    background-color: #fff;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

.gift-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.gift-card-image {
    position: relative;
    height: 20rem;
    overflow: hidden;
}

.gift-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.gift-card:hover .gift-card-image img {
    transform: scale(1.1);
}

.discount-badge {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background-color: #ff6b6b;
    color: #fff;
    font-size: 1.4rem;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
}

.gift-card-content {
    padding: 2rem;
}

.gift-card-content h3 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #333;
}

.gift-card-price {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
}

.original-price {
    font-size: 1.6rem;
    color: #999;
    text-decoration: line-through;
    margin-right: 1rem;
}

.discounted-price {
    font-size: 2rem;
    font-weight: 600;
    color: #6c63ff;
}

.add-to-cart-btn {
    width: 100%;
    padding: 1.2rem;
    background-color: #6c63ff;
    color: #fff;
    font-size: 1.6rem;
    font-weight: 500;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: background-color 0.3s;
}

.add-to-cart-btn:hover {
    background-color: #5a52d5;
}

.view-all-container {
    text-align: center;
}

/* Testimonials Section */
.testimonials {
    padding: 8rem 0;
    background-color: #fff;
}

.testimonial-slider {
    position: relative;
    max-width: 80rem;
    margin: 0 auto;
}

.testimonial-slide {
    display: none;
}

.testimonial-slide.active {
    display: block;
}

.testimonial-content {
    background-color: #f9f9f9;
    padding: 4rem;
    border-radius: 1rem;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.testimonial-rating {
    margin-bottom: 2rem;
    color: #ffc107;
    font-size: 2rem;
}

.testimonial-content p {
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 2rem;
    font-style: italic;
}

.testimonial-author h4 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
}

.testimonial-author p {
    font-size: 1.6rem;
    color: #666;
    margin-bottom: 0;
    font-style: normal;
}

.testimonial-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 3rem;
}

.testimonial-prev,
.testimonial-next {
    font-size: 1.8rem;
    color: #333;
    background-color: #f5f5f5;
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.3s;
}

.testimonial-prev:hover,
.testimonial-next:hover {
    background-color: #e0e0e0;
}

.testimonial-dots {
    display: flex;
    margin: 0 2rem;
}

.testimonial-dot {
    width: 1.2rem;
    height: 1.2rem;
    border-radius: 50%;
    background-color: #ddd;
    margin: 0 0.5rem;
    cursor: pointer;
    transition: background-color 0.3s;
}

.testimonial-dot.active {
    background-color: #6c63ff;
}

/* Newsletter Section */
.newsletter {
    padding: 6rem 0;
    background-color: #6c63ff;
}

.newsletter-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.newsletter-text {
    flex: 1;
    padding-right: 4rem;
}

.newsletter-text h2 {
    font-size: 3.6rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1rem;
}

.newsletter-text p {
    font-size: 1.8rem;
    color: rgba(255, 255, 255, 0.8);
}

.newsletter-form {
    flex: 1;
    display: flex;
}

.newsletter-form input {
    flex: 1;
    padding: 1.5rem 2rem;
    border-radius: 0.5rem 0 0 0.5rem;
    font-size: 1.6rem;
}

.newsletter-form button {
    padding: 1.5rem 3rem;
    border-radius: 0 0.5rem 0.5rem 0;
    background-color: #333;
}

.newsletter-form button:hover {
    background-color: #222;
}

/* Footer */
footer {
    background-color: #333;
    color: #fff;
    padding: 6rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 3fr 2fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-logo h2 {
    font-size: 2.8rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1rem;
}

.footer-logo p {
    font-size: 1.6rem;
    color: rgba(255, 255, 255, 0.7);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-links-column h3 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 2rem;
}

.footer-links-column ul li {
    margin-bottom: 1rem;
}

.footer-links-column ul li a {
    font-size: 1.6rem;
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s;
}

.footer-links-column ul li a:hover {
    color: #fff;
}

.footer-contact h3 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 2rem;
}

.footer-contact p {
    font-size: 1.6rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.5rem;
}

.footer-contact p i {
    margin-right: 1rem;
}

.social-icons {
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
}

.social-icons a {
    width: 4rem;
    height: 4rem;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.8rem;
    color: #fff;
    transition: background-color 0.3s;
}

.social-icons a:hover {
    background-color: #6c63ff;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Responsive Styles */
@media (max-width: 1200px) {
    html {
        font-size: 60%;
    }
}

@media (max-width: 992px) {
    html {
        font-size: 58%;
    }

    .hero-content {
        flex-direction: column;
    }

    .hero-text {
        padding-right: 0;
        margin-bottom: 4rem;
        text-align: center;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-image {
        justify-content: center;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .trending-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .newsletter-content {
        flex-direction: column;
        text-align: center;
    }

    .newsletter-text {
        padding-right: 0;
        margin-bottom: 3rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .footer-logo, .footer-contact {
        text-align: center;
    }

    .social-icons {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 56%;
    }

    .desktop-nav {
        display: none;
    }

    .hamburger-menu {
        display: flex;
    }

    .hamburger-menu.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger-menu.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger-menu.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .trending-cards {
        grid-template-columns: 1fr;
    }

    .cart-sidebar {
        width: 100%;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-form input {
        border-radius: 0.5rem;
        margin-bottom: 1.5rem;
    }

    .newsletter-form button {
        border-radius: 0.5rem;
    }

    .footer-links {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 576px) {
    html {
        font-size: 54%;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .hero-text h1 {
        font-size: 3.6rem;
    }

    .section-header h2 {
        font-size: 3rem;
    }
}


/* Toast Notification */
.toast {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #6c63ff;
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.3s ease;
}

.toast.show {
    transform: translateY(0);
    opacity: 1;
}

/* Cart Sidebar */
.cart-sidebar {
    position: fixed;
    top: 0;
    right: -400px;
    width: 380px;
    height: 100vh;
    background-color: #fff;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
}

.cart-sidebar.active {
    right: 0;
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #eee;
}

.cart-header h3 {
    font-size: 1.8rem;
    font-weight: 600;
    margin: 0;
}

.close-cart {
    background: none;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: #666;
    transition: color 0.3s;
}

.close-cart:hover {
    color: #6c63ff;
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.empty-cart {
    text-align: center;
    padding: 40px 0;
    color: #999;
    font-size: 1.6rem;
}

.cart-item {
    display: flex;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
    position: relative;
}

.cart-item-image {
    width: 80px;
    height: 50px;
    margin-right: 15px;
    border-radius: 8px;
    overflow: hidden;
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-item-details {
    flex: 1;
}

.cart-item-details h4 {
    font-size: 1.4rem;
    margin: 0 0 5px;
    font-weight: 500;
}

.cart-item-price {
    font-size: 1.6rem;
    font-weight: 600;
    color: #6c63ff;
    margin-bottom: 8px;
}

.cart-item-quantity {
    display: flex;
    align-items: center;
}

.quantity-btn {
    width: 30px;
    height: 30px;
    border: 1px solid #ddd;
    background: #f5f5f5;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.4rem;
    transition: all 0.3s;
}

.quantity-btn:hover {
    background: #eee;
    color: white;
    border-color: #6c63ff;
}

.cart-item-quantity span {
    margin: 0 10px;
    font-size: 1.4rem;
}

.remove-item {
    position: absolute;
    top: 15px;
    right: 0;
    background: none;
    border: none;
    color: #999;
    cursor: pointer;
    font-size: 1.4rem;
    transition: color 0.3s;
}

.remove-item:hover {
    color: #ff6b6b;
}

.cart-footer {
    padding: 20px;
    border-top: 1px solid #eee;
}

.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    font-size: 1.6rem;
}

.cart-total p {
    margin: 0;
    font-weight: 600;
}

.cart-total span {
    font-size: 2rem;
    color: #6c63ff;
    font-weight: 700;
}

.checkout-btn {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #6c63ff 0%, #5a52d5 100%);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1.6rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.checkout-btn:hover {
    background: linear-gradient(135deg, #5a52d5 0%, #4c46c7 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(108, 99, 255, 0.3);
}

/* Admin Loader */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.3s ease;
}

.loader-content {
    text-align: center;
}

.loader-circle {
    width: 50px;
    height: 50px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #6c63ff;
    border-radius: 50%;
    margin: 0 auto 20px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loader h2 {
    font-size: 2.4rem;
    color: #6c63ff;
    font-weight: 700;
}

/* Cart Animation Improvements */
.animate-bounce {
    animation: bounce 0.6s ease-in-out;
}

@keyframes bounce {
    0%, 20%, 53%, 80%, 100% {
        transform: translate3d(0,0,0);
    }
    40%, 43% {
        transform: translate3d(0,-8px,0);
    }
    70% {
        transform: translate3d(0,-4px,0);
    }
    90% {
        transform: translate3d(0,-2px,0);
    }
}

/* Add to Cart Button States */
.add-to-cart-btn {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.add-to-cart-btn.success {
    background-color: #28a745 !important;
    transform: scale(0.95);
}

.add-to-cart-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.add-to-cart-btn .btn-text {
    transition: all 0.3s ease;
}

.add-to-cart-btn .btn-icon {
    transition: all 0.3s ease;
}

/* Cart Item Improvements */
.cart-item {
    transition: all 0.3s ease;
}

.cart-item:hover {
    background-color: #f8f9fa;
}

.quantity-display {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 30px;
    font-weight: 600;
    color: #333;
}

.quantity-btn {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 1px solid #ddd;
    background: #f8f9fa;
    color: #333;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quantity-btn:hover {
    background: #6c63ff;
    color: white;
    border-color: #6c63ff;
}

.cart-item-remove {
    background: none;
    border: none;
    color: #dc3545;
    cursor: pointer;
    padding: 5px;
    border-radius: 3px;
    transition: all 0.2s ease;
}

.cart-item-remove:hover {
    background-color: #dc3545;
    color: white;
}

/* Empty Cart State */
.empty-cart {
    text-align: center;
    padding: 40px 20px;
    color: #6c757d;
    font-size: 1.6rem;
}

/* Cart Loading State */
.cart-loading {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px;
}

.cart-loading::after {
    content: '';
    width: 20px;
    height: 20px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #6c63ff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Responsive Cart Improvements */
@media (max-width: 768px) {
    .cart-sidebar {
        width: 100%;
        right: -100%;
    }
    
    .cart-item {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .cart-item-image {
        width: 100%;
        height: 120px;
        margin-bottom: 10px;
    }
    
    .cart-item-quantity {
        justify-content: space-between;
        width: 100%;
        margin-top: 10px;
    }
}
