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

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: var(--background-color);
    color: var(--text-color);
    overflow-x: hidden;
    width: 100%;
    min-height: 100vh;
}

/* Updated color scheme */
:root {
    --primary-color: #6B4EFF;
    --secondary-color: #FF69B4;
    --accent-color: #FFD700;
    --background-color: #FFF0F5;
    --text-color: #333;
    --card-background: #FFFFFF;
    --container-padding: 5%;
}

/* Header and Navigation */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    background: var(--card-background);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    height: 80px;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    width: 100%;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    align-items: center;
    margin-left: 1rem;
}

.nav-link {
    font-family: 'Poppins', sans-serif;
    color: #333;
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    padding: 0.5rem 0;
    position: relative;
    transition: all 0.3s ease;
}

.nav-link:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

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

.nav-link:hover:after,
.nav-link.active:after {
    width: 100%;
}

.nav-link.active {
    color: var(--primary-color);
    font-weight: 600;
}

.search-container {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.search-box {
    display: flex;
    align-items: center;
    background: #f8f8f8;
    border-radius: 25px;
    padding: 0.5rem 1rem;
    width: 300px;
    border: 1px solid #eee;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.03);
}

.search-box:focus-within {
    border-color: var(--primary-color);
    box-shadow: 0 2px 8px rgba(107, 78, 255, 0.1);
}

.search-box input {
    border: none;
    background: none;
    outline: none;
    width: 100%;
    padding: 0.5rem;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
}

.search-btn {
    background: none;
    border: none;
    color: #666;
    cursor: pointer;
    transition: color 0.3s ease;
}

.search-btn:hover {
    color: var(--primary-color);
}

.pincode-box {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.pincode-box span {
    font-size: 10px;
    color: #666;
}

.pincode-link {
    color: #ff4b6e;
    text-decoration: none;
    font-size: 10px;
    font-family: InterSemiBold, "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.nav-icons {
    display: flex;
    align-items: center;
    gap: 1.8rem;
}

.nav-icons a {
    color: #333;
    text-decoration: none;
    position: relative;
    transition: all 0.3s ease;
}

.nav-icons a:hover {
    color: var(--primary-color);
}

.flag-icon img {
    width: 24px;
    height: auto;
    border-radius: 2px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.cart-icon, .user-icon, .wishlist-icon {
    font-size: 1.3rem;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    width: 40px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.cart-icon:hover, .user-icon:hover, .wishlist-icon:hover {
    background-color: rgba(107, 78, 255, 0.1);
}

.cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: linear-gradient(to right, var(--primary-color), #8B5CF6);
    color: white;
    font-size: 11px;
    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);
    animation: scaleIn 0.3s ease;
}

@keyframes scaleIn {
    from {
        transform: scale(0);
    }
    to {
        transform: scale(1);
    }
}

.logo {
    display: flex;
    align-items: center;
    padding: 0.5rem 0;
}

.logo img {
    height: 70px;
    width: auto;
    object-fit: contain;
}

.logo span {
    color: #ff4b6e;
}

/* Hero Section */
#hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    overflow: hidden;
    padding-top: 80px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('gift.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: brightness(1.1);
    z-index: 1;
    transform: scale(1.02); /* Slight scale to prevent white edges during scroll */
}

.timer-container {
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    animation: fadeIn 1s ease-out;
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-family: 'Playfair Display', serif;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-content h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #ffd700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #f0f0f0;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Timer Container */
.timer-container {
    position: absolute;
    top: 100px;
    right: 40px;
    z-index: 10;
}

/* Countdown Timer */
.countdown {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
    margin: 0;
}

.countdown-item {
    text-align: center;
    min-width: 85px;
    padding: 18px 12px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.countdown-item span {
    display: block;
    font-size: 2.2rem;
    font-weight: bold;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    margin-bottom: 5px;
}

.countdown-item p {
    margin: 0;
    color: white;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.95;
    font-weight: 500;
}

@media (max-width: 768px) {
    .timer-container {
        position: relative;
        top: 20px;
        right: 0;
        padding: 15px;
    }

    .countdown {
        gap: 10px;
        justify-content: center;
    }

    .countdown-item {
        min-width: 75px;
        padding: 12px;
    }

    .countdown-item span {
        font-size: 1.8rem;
    }

    .countdown-item p {
        font-size: 0.8rem;
    }
}

/* Product Grid Styles */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    margin-top: 30px;
}

.product-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    height: 100%;
    display: flex;
    flex-direction: column;
    min-height: 400px; /* Set minimum height for consistent sizing */
}

.product-card:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    transform: translateY(-3px);
}

.product-image {
    position: relative;
    padding-top: 80%;
    overflow: hidden;
    background-color: #f9f9f9;
}

.product-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
    padding: 15px;
}

.product-overlay {
    position: absolute;
    bottom: -50px;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    padding: 15px;
    transition: bottom 0.3s ease;
    text-align: center;
}

.product-card:hover .product-overlay {
    bottom: 0;
}

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

.quick-view-btn {
    background: none;
    border: none;
    color: white;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    padding: 8px 20px;
    transition: all 0.3s ease;
    letter-spacing: 1px;
}

.quick-view-btn:hover {
    color: white;
}

.product-info {
    padding: 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: space-between;
    gap: 15px;
}

.product-info h3 {
    font-size: 1.1rem;
    margin: 0;
    color: #333;
    font-weight: 500;
    height: 48px; /* Fixed height for product names */
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    line-height: 1.4;
}

.price {
    font-size: 1.1rem;
    color: #666;
    margin: 0;
    font-weight: 600;
    height: 24px; /* Fixed height for price */
    display: flex;
    align-items: center;
    justify-content: center;
}

.add-to-cart {
    background: linear-gradient(to right, #EC4899, #8B5CF6);
    color: white;
    border: none;
    border-radius: 6px;
    padding: 12px 24px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: auto; /* Pushes button to bottom of flexbox */
    width: 100%; /* Full width button */
}

.add-to-cart:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    background: linear-gradient(to right, #D53F8C, #805AD5);
}

.add-to-cart:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(236, 72, 153, 0.3);
}

.add-to-cart:active {
    transform: translateY(0);
}

.wishlist-btn {
    background: #ff4b6e;
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    font-weight: 500;
    letter-spacing: 1px;
    border-radius: 4px;
    margin-top: 10px;
}

.wishlist-btn:hover {
    background: #e91e63;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Offers Section */
#offers {
    padding: 5rem 1rem;
    background: white;
}

.offer-banner {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.offer-banner h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.offers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.offer-card {
    padding: 2rem;
    background: #f9f9f9;
    border-radius: 15px;
    transition: transform 0.3s ease;
}

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

.offer-card i {
    font-size: 2.5rem;
    color: #ff4b6e;
    margin-bottom: 1rem;
}

/* Coupon Section Styles */
.coupon-section {
    padding: 1.5rem 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    margin: 1rem 0;
}

.coupon-section h3 {
    margin-bottom: 1rem;
    font-family: 'Playfair Display', serif;
}

.coupon-input {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.coupon-input input {
    flex: 1;
    padding: 0.5rem 1rem;
    border: 1px solid #ddd;
    border-radius: 25px;
    font-size: 0.9rem;
}

.coupon-input button {
    background: #ff4b6e;
    color: white;
    border: none;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.coupon-input button:hover {
    background: #ff3356;
}

.coupon-message {
    font-size: 0.9rem;
    margin: 0.5rem 0;
    color: #4CAF50;
}

.coupon-message.error {
    color: #ff4b6e;
}

.available-coupons {
    background: #f9f9f9;
    padding: 0.5rem;
    border-radius: 6px;
    margin-top: 0.5rem;
}

.available-coupons p {
    font-weight: 500;
    margin-bottom: 0.2rem;
    color: #333;
    font-size: 0.75rem;
}

.available-coupons ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.available-coupons li {
    font-size: 0.7rem;
    color: #666;
    margin-bottom: 0.2rem;
    display: flex;
    align-items: center;
}

.available-coupons li:last-child {
    margin-bottom: 0;
}

.coupon-code {
    color: #ff4b6e;
    font-weight: 600;
    font-size: 0.75rem;
}

.coupon-section h3 {
    margin: 0 0 0.75rem 0;
    font-size: 1rem;
    color: #333;
}

.coupon-input {
    display: flex;
    gap: 0.5rem;
    margin: 0.75rem 0;
}

.coupon-input input {
    flex: 1;
    padding: 0.5rem 0.75rem;
    border: 1px solid #ddd;
    border-radius: 25px;
    font-size: 0.85rem;
}

.coupon-input button {
    background: #ff4b6e;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    cursor: pointer;
    transition: background 0.3s ease;
    font-weight: 500;
    white-space: nowrap;
    font-size: 0.85rem;
}

/* Newsletter Section */
#contact {
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)),
                url('https://img.freepik.com/free-photo/christmas-shopping-concept-with-slate-gifts_23-2147719639.jpg?t=st=1740412408~exp=1740416008~hmac=0e2f4a6ca1134cd9082424a425f789788cd006ac6600655855b1af99f60897d1&w=1800') center/cover;
    padding: 5rem 1rem;
    color: white;
}

.newsletter {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.newsletter h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

#subscribe-form {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

#subscribe-form input {
    flex: 1;
    padding: 1rem;
    border: none;
    border-radius: 25px;
    font-size: 1rem;
}

#subscribe-form button {
    background: #ff4b6e;
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 25px;
    cursor: pointer;
    transition: background 0.3s ease;
}

#subscribe-form button:hover {
    background: #ff3356;
}

/* Cart Modal */
.cart-modal {
    position: fixed;
    top: 0;
    right: -400px;
    width: 350px;
    height: 100vh;
    background-color: white;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: right 0.3s ease;
    padding: 20px;
    display: none;
    flex-direction: column;
}

.cart-modal.active {
    right: 0;
    display: flex;
}

.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
    display: none;
}

.cart-overlay.active {
    display: block;
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.cart-title {
    font-size: 1.2rem;
    font-weight: 600;
}

.close-cart {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #666;
}

.close-cart:hover {
    color: #333;
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    margin-bottom: 20px;
}

.cart-item {
    display: flex;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
    position: relative;
    transition: all 0.3s ease;
}

.cart-item-image {
    width: 70px;
    height: 70px;
    border-radius: 6px;
    overflow: hidden;
    margin-right: 15px;
    flex-shrink: 0;
}

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

.cart-item-details {
    flex: 1;
}

.cart-item-details h3 {
    font-size: 0.95rem;
    margin: 0;
    color: #333;
}

.cart-item-details .points {
    font-size: 0.9rem;
    color: #EC4899;
    margin: 5px 0 0;
    font-weight: 600;
}

.remove-from-cart {
    background: none;
    border: none;
    color: #999;
    cursor: pointer;
    font-size: 1.1rem;
    padding: 5px;
    margin-left: 5px;
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    transition: color 0.2s ease;
}

.remove-from-cart:hover {
    color: #ff3860;
}

/* Animation for cart items */
.cart-item-appear {
    animation: slideInRight 0.3s ease forwards;
}

.cart-item-remove {
    animation: slideOutRight 0.3s ease forwards;
}

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

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

.empty-cart {
    text-align: center;
    padding: 30px 0;
    color: #888;
}

.empty-cart i {
    font-size: 3rem;
    color: #ddd;
    margin-bottom: 15px;
}

.empty-cart p {
    margin: 0;
    font-size: 1.1rem;
}

.empty-cart small {
    font-size: 0.9rem;
}

.cart-footer {
    border-top: 1px solid #eee;
    padding-top: 15px;
}

.cart-total {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-weight: 600;
}

.checkout-btn {
    width: 100%;
    padding: 12px;
    background: linear-gradient(to right, #EC4899, #8B5CF6);
    color: white;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.checkout-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Notification Styles */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: linear-gradient(to right, #EC4899, #8B5CF6);
    color: white;
    padding: 1rem 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 2000;
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Update Cancel Button Styles */
.cancel-btn {
    background: #f8f9fa;
    color: #666;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 12px;
    cursor: pointer;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    min-width: 120px;
    justify-content: center;
}

.cancel-btn:hover {
    background: #e9ecef;
    transform: translateY(-2px);
}

.cancel-btn i {
    font-size: 1.1rem;
}

/* Update Form Message Styles */
.form-message {
    color: #666;
    margin: 0.5rem 0;
    min-height: 20px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.form-message.error {
    color: #ff3b3b;
}

/* Cart Badge */
.cart-icon {
    position: relative;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #EC4899;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
}

/* Footer */
.site-footer {
    background-color: #f8f2fa;
    padding: 60px 40px 20px;
    color: #333;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    margin-bottom: 40px;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-logo img {
    height: 50px;
    margin-bottom: 15px;
}

.footer-tagline {
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 10px;
    color: #333;
}

.footer-description {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.5;
}

.footer-section h3 {
    color: #333;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section ul li a {
    color: #666;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    border-top: 1px solid #e0e0e0;
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.copyright {
    color: #666;
    font-size: 0.9rem;
}

.foxbox-link {
    color: #454242;
    text-decoration: none;
}

.foxbox-link:hover {
    text-decoration: underline;
}

.payment-methods {
    display: flex;
    gap: 20px;
    align-items: center;
}

.payment-methods img {
    height: 45px;
    opacity: 0.85;
    transition: all 0.3s ease;
    filter: grayscale(0.2);
}

.payment-methods img:hover {
    opacity: 1;
    transform: translateY(-2px);
    filter: grayscale(0);
}

@media (max-width: 768px) {
    .payment-methods {
        gap: 15px;
    }

    .payment-methods img {
        height: 40px;
    }
}

@media (max-width: 480px) {
    .payment-methods img {
        height: 35px;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content h2 {
        font-size: 1.5rem;
    }
    
    .countdown {
        gap: 1rem;
    }
    
    .countdown-item {
        min-width: 70px;
    }
    
    .countdown-item span {
        font-size: 1.8rem;
    }
    
    #subscribe-form {
        flex-direction: column;
    }
    
    .nav-links {
        display: none;
    }
}

@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: 1fr;
        padding: 0 1rem;
    }
}

/* User Account Popup */
.user-popup {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    width: 300px;
    background: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    padding: 24px;
    margin-top: 12px;
    z-index: 1000;
}

.user-popup.active {
    display: block;
}

.user-popup h2 {
    font-family: InterSemiBold, "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 24px;
    color: #333;
    margin: 0 0 8px 0;
}

.user-popup p {
    font-family: InterSemiBold, "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 14px;
    color: #666;
    margin: 0 0 24px 0;
}

.user-popup-buttons {
    display: flex;
    gap: 12px;
}

.signup-btn, .login-btn {
    font-family: InterSemiBold, "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 14px;
    padding: 12px 24px;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.signup-btn {
    background: #9747FF;
    color: white;
    flex: 1;
}

.signup-btn:hover {
    background: #8035FF;
}

.login-btn {
    background: white;
    color: #333;
    border: 1px solid #ddd;
    flex: 1;
}

.login-btn:hover {
    background: #f5f5f5;
}

/* Modal z-index hierarchy */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.email-modal {
    z-index: 1100;
}

.quick-view-modal {
    z-index: 1000;
}

/* Checkout Page Styles */
.checkout-container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 2rem;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.checkout-header {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #f0f0f0;
}

.checkout-header h1 {
    font-size: 2rem;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.back-to-shop {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--secondary-color);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.back-to-shop:hover {
    background: #ff2e88;
    transform: translateX(-5px);
}

.checkout-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 2rem;
}

.checkout-form-section {
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 12px;
}

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

.form-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    color: #333;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    background: white;
    outline: none;
    box-shadow: 0 0 0 4px rgba(255, 75, 140, 0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.place-order-btn {
    width: 100%;
    padding: 1rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.place-order-btn:hover {
    background: #ff2e88;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 75, 140, 0.3);
}

.order-summary-section {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    overflow: hidden;
}

.order-summary-header {
    padding: 1.5rem;
    background: #f8f9fa;
    border-bottom: 2px solid #f0f0f0;
}

.order-summary-header h2 {
    margin: 0;
    color: #333;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.order-items {
    padding: 1.5rem;
    max-height: 400px;
    overflow-y: auto;
}

.order-item {
    display: flex;
    align-items: center;
    padding: 1rem;
    border-bottom: 1px solid #f0f0f0;
}

.order-item img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    margin-right: 1rem;
}

.order-item-details {
    flex-grow: 1;
}

.order-item-details h4 {
    margin: 0 0 0.5rem 0;
    color: #333;
}

.order-item-price {
    font-weight: 600;
    color: var(--primary-color);
}

.order-total {
    padding: 1.5rem;
    background: #f8f9fa;
    border-top: 2px solid #f0f0f0;
}

.subtotal,
.shipping,
.total {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
}

.total {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 2px solid #e0e0e0;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color);
}

.amount {
    font-weight: 600;
}

/* Responsive Design */
@media (max-width: 768px) {
    .checkout-content {
        grid-template-columns: 1fr;
    }
    
    .checkout-container {
        padding: 1rem;
        margin: 1rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
}

/* Payment Method Styles */
.payment-method {
    margin: 2rem 0;
}

.payment-options {
    background: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 1rem;
    transition: all 0.3s ease;
}

.payment-options:hover {
    border-color: var(--primary-color);
}

.payment-option {
    display: flex;
    align-items: center;
    padding: 1rem;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.payment-option:hover {
    background: #f8f9fa;
}

.payment-option input[type="radio"] {
    width: 20px;
    height: 20px;
    margin-right: 15px;
    accent-color: var(--primary-color);
}

.payment-option-content {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-grow: 1;
}

.payment-option-content i {
    font-size: 1.5rem;
    color: var(--primary-color);
    width: 30px;
    text-align: center;
}

.payment-text {
    display: flex;
    flex-direction: column;
}

.payment-text span {
    font-weight: 500;
    color: #333;
}

.payment-text small {
    color: #666;
    font-size: 0.85rem;
    margin-top: 2px;
}

.cod-fee {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    color: #666;
    font-size: 0.9rem;
}

.cod-fee .amount {
    color: #ff4444;
}

.total {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 2px solid #e0e0e0;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color);
}

.total .amount {
    font-size: 1.3rem;
}

/* Make order summary section sticky */
.order-summary-section {
    position: sticky;
    top: 20px;
    max-height: calc(100vh - 40px);
    overflow-y: auto;
}

/* Email Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    width: 90%;
    max-width: 400px;
    position: relative;
}

.modal-header {
    margin-bottom: 1.5rem;
    text-align: center;
}

.modal-header h2 {
    font-family: 'Playfair Display', serif;
    color: #333;
    margin: 0;
}

.modal-body {
    text-align: center;
}

.modal-body p {
    margin-bottom: 1.5rem;
    color: #666;
}

#emailForm {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

#userEmail {
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 16px;
    width: 100%;
}

.submit-btn {
    padding: 12px;
    background: linear-gradient(to right, #EC4899, #8B5CF6);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.submit-btn:hover {
    transform: translateY(-2px);
}

/* Toast Container Styles */
.toast-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
}

.toast {
    background: white;
    color: #333;
    padding: 12px 24px;
    border-radius: 8px;
    margin: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    max-width: 300px;
    animation: toastSlideIn 0.3s ease forwards;
    border-left: 4px solid;
}

.toast.success {
    border-left-color: #4CAF50;
}

.toast.error {
    border-left-color: #f44336;
}

.toast i {
    font-size: 1.2rem;
}

.toast.success i {
    color: #4CAF50;
}

.toast.error i {
    color: #f44336;
}

@keyframes toastSlideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes toastSlideOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

/* Quick View Modal Styles */
.quick-view-modal {
    z-index: 1000;
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease-out;
    padding: 20px;
    overflow-y: auto;
}

.quick-view-content {
    position: relative;
    width: 90%;
    max-width: 1000px;
    margin: 40px auto;
    background-color: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    animation: slideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    max-height: 85vh;
}

.quick-view-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    color: #666;
    cursor: pointer;
    z-index: 10;
    transition: all 0.2s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: #f5f5f5;
}

.quick-view-close:hover {
    background-color: #f0f0f0;
    color: #EC4899;
    transform: rotate(90deg);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

.quick-view-row {
    display: flex;
    flex-direction: row;
    height: 100%;
    max-height: 85vh;
}

.quick-view-image-container {
    flex: 0 0 45%;
    padding: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: #f9f9f9;
    border-right: 1px solid #f0f0f0;
}

#quick-view-image {
    max-width: 100%;
    max-height: 350px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.quick-view-image-container:hover #quick-view-image {
    transform: scale(1.05);
}

.quick-view-details {
    flex: 0 0 55%;
    padding: 35px 40px;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    max-height: 85vh;
}

#quick-view-title {
    font-size: 28px;
    font-weight: 600;
    color: #333;
    margin: 0 0 15px;
    font-family: 'Poppins', sans-serif;
    line-height: 1.3;
}

.quick-view-price {
    font-size: 20px;
    font-weight: 600;
    color: #8B5CF6;
    margin-bottom: 20px;
    font-family: 'Poppins', sans-serif;
    display: inline-block;
    padding: 5px 15px;
    background: rgba(139, 92, 246, 0.1);
    border-radius: 20px;
}

.product-availability {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 25px;
    padding: 12px 18px;
    background: #f0fff4;
    border-radius: 8px;
    border: 1px solid #d0f0d9;
    font-family: 'Poppins', sans-serif;
    width: fit-content;
}

.availability-icon {
    color: #38a169;
    font-size: 18px;
}

.availability-text {
    color: #2f855a;
    font-weight: 500;
    font-size: 14px;
}

#quick-view-add-to-cart {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(to right, #EC4899, #8B5CF6);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 14px 24px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
    margin-bottom: 30px;
    box-shadow: 0 4px 10px rgba(139, 92, 246, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 300px;
}

#quick-view-add-to-cart:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(139, 92, 246, 0.3);
    background: linear-gradient(to right, #D53F8C, #805AD5);
}

.tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
    font-family: 'Poppins', sans-serif;
}

.tab-btn {
    background: #f8f9fa;
    border: none;
    padding: 10px 18px;
    font-size: 14px;
    cursor: pointer;
    border-radius: 6px;
    color: #555;
    transition: all 0.3s ease;
    font-weight: 500;
    position: relative;
    font-family: 'Poppins', sans-serif;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.tab-btn:hover {
    background: #f1f3f5;
    color: #333;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.06);
}

.tab-btn.active {
    background: #8B5CF6;
    color: white;
    box-shadow: 0 2px 6px rgba(139, 92, 246, 0.2);
}

.tab-content {
    background: #f9f9f9;
    border-radius: 12px;
    padding: 20px;
    min-height: 120px;
    max-height: 180px;
    overflow-y: auto;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.05);
    border: 1px solid #f0f0f0;
    scrollbar-width: thin;
    scrollbar-color: #c4b5fd #f5f5f5;
    margin-bottom: 15px;
}

/* Scrollbar styling for Webkit browsers */
.tab-content::-webkit-scrollbar {
    width: 4px;
}

.tab-content::-webkit-scrollbar-track {
    background: #f5f5f5;
    border-radius: 10px;
}

.tab-content::-webkit-scrollbar-thumb {
    background: #c4b5fd;
    border-radius: 10px;
}

.tab-content::-webkit-scrollbar-thumb:hover {
    background: #a78bfa;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

#quick-view-description,
#quick-view-specification,
#quick-view-shipping {
    font-size: 14px;
    line-height: 1.6;
    color: #444;
    font-family: 'Poppins', sans-serif;
    letter-spacing: 0.2px;
}

/* Responsive Styles for Quick View Modal */
@media (max-width: 768px) {
    .quick-view-row {
        flex-direction: column;
    }
    
    .quick-view-image-container {
        flex: none;
        width: 100%;
        border-right: none;
        border-bottom: 1px solid #f0f0f0;
        padding: 20px;
    }
    
    .quick-view-details {
        flex: none;
        width: 100%;
        padding: 25px;
    }
    
    #quick-view-title {
        font-size: 24px;
    }
    
    .quick-view-price {
        font-size: 18px;
    }
    
    .tabs {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .tab-btn {
        flex: 1 1 auto;
        min-width: 100px;
        text-align: center;
        padding: 10px 15px;
    }
    
    #quick-view-add-to-cart {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .quick-view-content {
        width: 95%;
        margin: 20px auto;
    }
    
    .tab-btn {
        padding: 8px 12px;
        font-size: 13px;
    }
    
    #quick-view-title {
        font-size: 22px;
        margin-bottom: 12px;
    }
}

/* Login Modal Styles */
.login-modal {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    width: 90%;
    max-width: 400px;
    text-align: center;
    position: relative;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transform: translateY(-20px);
    opacity: 0;
    transition: all 0.3s ease;
}

.login-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.email-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(45deg, #8B5CF6, #EC4899);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.email-icon i {
    font-size: 2rem;
    color: white;
}

.login-container h2 {
    font-size: 2rem;
    color: #333;
    margin: 0;
}

.login-container .subtitle {
    color: #666;
    margin: 0;
    font-size: 1rem;
}

.login-form {
    width: 100%;
}

.form-group {
    margin-bottom: 1.5rem;
    position: relative;
}

.form-group input {
    width: 100%;
    padding: 1rem 1.2rem;
    border: 2px solid #eee;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.form-group input:focus {
    border-color: #8B5CF6;
    background: white;
    outline: none;
    box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.1);
}

.form-group input.error {
    border-color: #ff3b3b;
    background: #fff8f8;
}

.button-group {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.continue-btn {
    background: linear-gradient(45deg, #8B5CF6, #EC4899);
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 12px;
    cursor: pointer;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    font-weight: 500;
}

.continue-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.2);
}

.cancel-btn {
    background: #f5f5f5;
    color: #666;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 12px;
    cursor: pointer;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.cancel-btn:hover {
    background: #ebebeb;
    transform: translateY(-2px);
}

.form-message {
    color: #666;
    margin: 0.5rem 0;
    min-height: 20px;
    display: block;
}

.error-message {
    color: #ff3b3b;
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    overflow-y: auto;
    padding: 20px;
}

.modal.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.modal.active .login-modal {
    transform: translateY(0);
    opacity: 1;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

/* Order Summary Styles */
.order-summary {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.order-summary h2 {
    color: #333;
    margin-bottom: 20px;
    font-size: 1.5em;
}

.order-item {
    display: flex;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.order-item-image {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 4px;
    margin-right: 15px;
}

.order-item-details {
    flex: 1;
}

.order-item-details h3 {
    margin: 0 0 5px 0;
    color: #333;
    font-size: 1.1em;
}

.order-item-details .points {
    color: #666;
    font-size: 0.9em;
}

.order-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 2px solid #eee;
}

.order-total h3 {
    margin: 0;
    color: #333;
}

.total-points {
    font-size: 1.2em;
    font-weight: bold;
    color: #e91e63;
    margin: 0;
}

/* Cart Styles */
.cart-container {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100vh;
    background: white;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease-in-out;
    z-index: 1000;
    display: flex;
    flex-direction: column;
}

.cart-container.open {
    right: 0;
}

.cart-header {
    padding: 1.5rem;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f8f9fa;
}

.cart-header h2 {
    margin: 0;
    color: #333;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cart-header h2 i {
    color: #e91e63;
}

.close-cart {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #666;
    padding: 0.5rem;
    transition: color 0.3s;
}

.close-cart:hover {
    color: #e91e63;
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem;
}

.empty-cart {
    text-align: center;
    padding: 2rem;
    color: #666;
}

.empty-cart i {
    font-size: 3rem;
    color: #ddd;
    margin-bottom: 1rem;
}

.empty-cart p {
    margin: 0.5rem 0;
    font-size: 1.1rem;
}

.empty-cart small {
    color: #999;
}

.cart-item {
    display: flex;
    align-items: center;
    padding: 1rem;
    background: white;
    border-radius: 12px;
    margin-bottom: 1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    transform-origin: right;
    position: relative;
}

.cart-item-appear {
    animation: slideIn 0.3s ease-out;
}

.cart-item-remove {
    animation: slideOut 0.3s ease-in forwards;
}

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

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

.cart-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.cart-item-image {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    margin-right: 1rem;
}

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

.cart-item-details {
    flex: 1;
    padding-right: 1rem;
}

.cart-item-details h3 {
    font-size: 0.95rem;
    margin: 0 0 0.5rem 0;
    color: #333;
}

.cart-item-details .points {
    margin: 0;
    color: #e91e63;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cart-item-details .points i {
    font-size: 0.9rem;
}

.remove-from-cart {
    background: none;
    border: none;
    color: #999;
    cursor: pointer;
    padding: 0.5rem;
    font-size: 1rem;
    transition: all 0.3s;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.remove-from-cart:hover {
    background: #fff1f3;
    color: #e91e63;
}

.cart-footer {
    padding: 1.5rem;
    border-top: 1px solid #eee;
    background: white;
}

.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.cart-total span {
    color: #333;
    font-weight: 500;
}

.cart-total .total-points {
    color: #e91e63;
    font-size: 1.2rem;
    font-weight: 600;
}

.checkout-btn {
    width: 100%;
    padding: 1rem;
    background: #e91e63;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.checkout-btn:hover {
    background: #d81557;
    transform: translateY(-2px);
}

.checkout-btn:active {
    transform: translateY(0);
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #e91e63;
    color: white;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: bold;
    animation: bounce 0.5s cubic-bezier(0.36, 0, 0.66, -0.56) alternate;
}

@keyframes bounce {
    0% {
        transform: scale(0);
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
    }
}

.cart-total span {
    color: #333;
    font-weight: 500;
}

.cart-total .total-points {
    color: #e91e63;
    font-size: 1.2rem;
    font-weight: 600;
}

.checkout-btn {
    width: 100%;
    padding: 1rem;
    background: #e91e63;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.checkout-btn:hover {
    background: #d81557;
    transform: translateY(-2px);
}

.checkout-btn:active {
    transform: translateY(0);
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #e91e63;
    color: white;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: bold;
    animation: bounce 0.5s cubic-bezier(0.36, 0, 0.66, -0.56) alternate;
}

@keyframes bounce {
    0% {
        transform: scale(0);
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
    }
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .product-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .search-box {
        width: 200px;
    }
    
    .nav-links {
        gap: 1rem;
    }
    
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    header {
        flex-direction: column;
        height: auto;
        padding: 1rem 0;
    }
    
    nav {
        flex-direction: column;
        gap: 1rem;
    }
    
    .search-container {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .pincode-box {
        align-items: center;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .product-grid {
        grid-template-columns: 1fr;
    }
    
    .countdown-item {
        padding: 0.5rem;
    }
    
    .countdown-item span {
        font-size: 1.5rem;
    }
    
    .nav-icons {
        margin-top: 1rem;
    }
}

#collection {
    padding: 120px 1rem 5rem 1rem;
}

#collection h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 2.2rem;
    font-weight: 600;
    color: #333;
    margin: 40px 0 20px;
}

/* Base responsive properties for root */
:root {
    --container-padding: 5%;
}

/* Common responsive adjustments for all devices */
body {
    overflow-x: hidden;
    width: 100%;
    min-height: 100vh;
}

/* Improved header responsiveness */
@media (max-width: 992px) {
    .nav-links {
        gap: 1.5rem;
    }
    
    .search-container {
        gap: 1rem;
    }
    
    .search-box {
        max-width: 200px;
    }
}

@media (max-width: 768px) {
    header {
        flex-direction: column;
        height: auto;
        padding: 1rem 0;
        position: relative;
    }
    
    nav {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
    }
    
    .nav-links {
        justify-content: center;
        width: 100%;
        margin-bottom: 0.5rem;
    }
    
    .search-container {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        width: 100%;
    }
    
    .search-box {
        max-width: 90%;
        width: 90%;
    }
    
    .pincode-box {
        align-items: center;
        margin-top: 0.5rem;
    }
    
    .nav-icons {
        margin-top: 1rem;
        justify-content: center;
        width: 100%;
    }
    
    /* Hero section adjustments */
    #hero {
        height: auto;
        min-height: 80vh;
        padding-top: 60px;
        padding-bottom: 40px;
    }
    
    .hero-background {
        background-position: center 30%;
    }
    
    .timer-container {
        width: 90%;
        margin: 0 auto;
    }
    
    .countdown {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }
    
    .countdown-item {
        min-width: 65px;
        padding: 8px;
    }
    
    .countdown-item span {
        font-size: 1.5rem;
    }
    
    /* Product grid adjustments */
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        padding: 0 var(--container-padding);
    }
    
    /* Section spacing */
    section {
        padding: 60px var(--container-padding);
    }
    
    #collection {
        padding-top: 80px;
    }
}

@media (max-width: 480px) {
    /* Extra small device adjustments */
    .nav-links {
        gap: 0.8rem;
    }
    
    .nav-link {
        font-size: 0.9rem;
    }
    
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .countdown-item {
        min-width: 60px;
        padding: 6px;
    }
    
    .countdown-item span {
        font-size: 1.3rem;
    }
    
    .countdown-item p {
        font-size: 0.7rem;
    }
    
    /* Single column product grid for very small devices */
    .product-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .product-card {
        max-width: 280px;
        margin: 0 auto;
    }
    
    /* Button size adjustments */
    .btn {
        padding: 8px 15px;
        font-size: 0.9rem;
    }
    
    /* Modal adjustments for product details */
    .modal-content {
        width: 95%;
        max-height: 85vh;
        overflow-y: auto;
    }
    
    .modal-tabs {
        flex-direction: column;
    }
}

/* Touch-friendly improvements for mobile */
@media (hover: none) {
    .nav-link, .btn, .product-card, .tab-btn {
        -webkit-tap-highlight-color: transparent;
    }
    
    .product-card:active {
        transform: scale(0.98);
    }
    
    .btn:active {
        transform: translateY(1px);
    }
}
