/* Critical CSS to prevent flash */
header {
    /* This will be overridden by Tailwind classes, which is what we want. */
    /* It's good to keep this as a fallback for browsers without Tailwind support or JS disabled */
    background: #f9a8d4;
    /* A light pink fallback color */
    height: 60px !important;
    min-height: 60px !important;
}

nav ul li a {
    font-size: 2.125rem !important;
    font-weight: 600 !important;
    color: #ffffff !important;
}

/* Global Styles */
:root {
    /* Light Theme (Default) */
    --bg-primary: #f9f9f9;
    --bg-gradient-from: #fff8e1;
    --bg-gradient-to: #fffde7;
    --text-primary: #333;
    --text-secondary: #555;
    --heading-color-1: #e74c3c;
    /* Vibrant red */
    --heading-color-2: #3498db;
    /* Vibrant blue */
    --heading-color-3: #2ecc71;
    /* Vibrant green */
    --heading-color-4: #9b59b6;
    /* Vibrant purple */
    --card-bg: #fff;
    --card-shadow: rgba(0, 0, 0, 0.1);
    --btn-primary: #c0392b;
    --btn-hover: #a93226;
}

[data-theme="dark"] {
    --bg-primary: #121212;
    --bg-gradient-from: #0a0a0a;
    --bg-gradient-to: #1a1a1a;
    --text-primary: #f5f5f5;
    --text-secondary: #bbb;
    --heading-color-1: #ff6b6b;
    /* Brighter red for dark mode */
    --heading-color-2: #48dbfb;
    /* Brighter blue for dark mode */
    --heading-color-3: #1dd1a1;
    /* Brighter green for dark mode */
    --heading-color-4: #c56cf0;
    /* Brighter purple for dark mode */
    --card-bg: #000000;
    /* Black cards as requested */
    --card-shadow: rgba(255, 255, 255, 0.05);
    /* Subtle light shadow for depth */
    --btn-primary: #e74c3c;
    --btn-hover: #c0392b;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    transition: background-color 0.3s ease, color 0.3s ease;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: linear-gradient(135deg, rgb(252, 231, 243) 0%, rgb(251, 207, 232) 30%, rgb(249, 168, 212) 60%, rgb(244, 114, 182) 100%);
    background-size: 400% 400%;
    animation: gradientShift 12s ease infinite;
    min-height: 100vh;
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

a {
    text-decoration: none;
    color: var(--text-primary);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.btn {
    display: inline-block;
    background-color: var(--btn-primary);
    color: #fff;
    padding: 10px 20px;
    border-radius: 4px;
    transition: background-color 0.3s ease;
    border: none;
    cursor: pointer;
    font-weight: 600;
}

.btn:hover {
    background-color: var(--btn-hover);
}


.section-title {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2.5rem;
    color: var(--heading-color-1);
    background: linear-gradient(90deg, var(--heading-color-1), var(--heading-color-2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
    display: inline-block;
    margin: 0 auto 40px;
    padding: 0 10px;
    position: relative;
    z-index: 1;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #c0392b;
}

/* Header Styles */
header {
    background: linear-gradient(90deg, #ff69b4, #ff1493, #ff69b4) !important;
    /* Fast pink gradient */
    background-size: 200% 100% !important;
    animation: gradientShift 3s ease infinite !important;
    box-shadow: 0 4px 20px rgba(255, 20, 147, 0.4) !important;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 5%;
    height: 60px;
    min-height: 60px;
    backdrop-filter: blur(10px);
}



/* Additional gradient variations for more depth */
header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg,
            rgba(254, 228, 243, 0.8),
            rgba(153, 135, 144, 0.8),
            rgba(241, 34, 65, 0.8),
            rgba(255, 20, 147, 0.8));
    z-index: -1;
}

/* Ensure immediate application of styles */
header * {
    transition: none;
}

header nav ul li a {
    transition: all 0.3s ease;
}

.logo h1 {
    font-size: 2rem;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    background: linear-gradient(45deg,
            rgb(16, 1, 9),
            rgb(255, 247, 2),
            rgb(255, 182, 193),
            rgb(67, 28, 67),
            rgb(138, 43, 226),
            rgb(67, 1, 36));
    background-size: 400% 400%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: colorShift 4s ease-in-out infinite;
    position: relative;
}

.logo h1::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;


    box-shadow: 0 2px 4px rgba(255, 255, 255, 0.3);
}

@keyframes colorShift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* Hover effect for logo */
.logo h1:hover,
.footer-logo h2:hover {
    animation: colorShift 1s ease-in-out infinite;
    transform: scale(1.05);
    transition: transform 0.3s ease;
}

nav ul {
    display: flex;
}

nav ul li {
    margin-left: 25px;
}

nav ul li a {
    font-weight: 600 !important;
    font-size: 1.125rem !important;
    position: relative;
    padding-bottom: 5px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    color: #ffffff !important;
    transition: all 0.3s ease;
}

/* Ensure navigation items are properly styled */
nav ul li a.text-lg {
    font-size: 1.125rem !important;
}

nav ul li a.font-semibold {
    font-weight: 600 !important;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, rgb(252, 231, 243), rgb(251, 207, 232));
    border-radius: 2px;
    transition: width 0.3s ease;
}

nav ul li a:hover::after {
    width: 100%;
}

/* Remove white underline from active navigation */
nav ul li a.active::after {
    width: 0;
}

nav ul li a:hover {
    transform: translateY(-2px);
    transition: transform 0.3s ease;
}

.cart a {
    font-size: 1.2rem;
    position: relative;
    transition: transform 0.3s ease;
}

.cart a:hover {
    transform: scale(1.1);
}

#cart-count {
    position: absolute;
    top: -10px;
    right: -10px;
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: #fff;
    font-size: 0.7rem;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.mobile-menu {
    font-size: 1.5rem;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.mobile-menu:hover {
    transform: scale(1.1);
}



/* Modern Hero Section */
.hero {
    min-height: 50vh;
    background: linear-gradient(135deg, #fce7f3, #fbcfe8, #f9a8d4, #f472b6);
    display: flex;
    align-items: center;
    color: #1f2937;
    padding: 2rem 0;
}

.hero-text-content {
    flex: 0 0 30%;
    max-width: 30%;
    text-align: left;
    color: #333;
    padding: 0 2rem;
}

.hero-text-content h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: #ec4899;
    /* Pink color */
}

.hero-text-content p {
    font-size: 1.25rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    color: #555;
}

.hero-text-content .btn-primary {
    display: inline-block;
    background: linear-gradient(to right, #ec4899, #f472b6);
    color: white;
    padding: 0.8rem 2rem;
    border-radius: 9999px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.hero-text-content .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.hero-main-card {
    flex: 0 0 70%;
    max-width: 50%;
    position: relative;
    width: 100%;
    height: 20%;
    /* Set full height */
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    transform: rotateY(10deg) rotateX(5deg);
    transition: transform 0.5s ease-out;
}

.hero-main-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-main-card:hover {
    transform: rotateY(0deg) rotateX(0deg);
}

.hero-main-card img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 50%;
    object-fit: cover;
    border-radius: 1.5rem;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.hero-main-card img.active {
    opacity: 1;
}

@media (max-width: 768px) {
    .hero-section {
        flex-direction: column;
        text-align: center;
        padding: 2rem 0;
    }

    .hero-text-content,
    .hero-main-card {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .hero-text-content h1 {
        font-size: 2.5rem;
    }

    .hero-text-content p {
        font-size: 1rem;
    }

    .hero-main-card {
        width: 90%;
        margin-top: 2rem;
    }
}

/* Products Section */
.products {
    padding: 80px 5%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(236, 72, 153, 0.2);
    border-bottom: 1px solid rgba(236, 72, 153, 0.2);
}

.filter-options {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.filter-btn {
    background-color: transparent;
    border: 2px solid #c0392b;
    color: #c0392b;
    padding: 8px 15px;
    margin: 0 10px 10px;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
}

.filter-btn.active,
.filter-btn:hover {
    background-color: #c0392b;
    color: #fff;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
}

.product-card {
    background: rgba(252, 231, 243, 0.8);
    backdrop-filter: blur(15px);
    border: 2px solid rgba(236, 72, 153, 0.3);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(236, 72, 153, 0.2);
    transition: transform 0.4s ease, box-shadow 0.4s ease, background-color 0.3s ease, color 0.3s ease;
}

.product-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 40px rgba(236, 72, 153, 0.35);
    background: rgba(255, 240, 250, 0.95);
    border-color: rgba(236, 72, 153, 0.5);
}

.product-image {
    height: 250px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-info {
    padding: 15px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    color: var(--text-primary);
}

.product-info h3 {
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.product-info p {
    color: var(--text-secondary);
    margin-bottom: 15px;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.product-price {
    font-weight: 700;
    color: #ec4899;
    margin-top: 5px;
    font-size: 1.1rem;
}

.add-to-cart-btn {
    background-color: #ec4899;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: auto;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.add-to-cart-btn:hover {
    background-color: #db2777;
}

/* Featured Section */
.featured {
    padding: 80px 5%;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(15px);
    border-top: 1px solid rgba(236, 72, 153, 0.2);
    border-bottom: 1px solid rgba(236, 72, 153, 0.2);
    transition: background-color 0.3s ease;
}

.featured-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Override Tailwind py-20 to make featured section more compact */
section[id="featured"] {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
}

.featured-item {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    background: rgba(252, 231, 243, 0.85);
    backdrop-filter: blur(15px);
    border: 2px solid rgba(236, 72, 153, 0.3);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(236, 72, 153, 0.2);
    transition: all 0.4s ease;
}

.featured-item:hover {
    transform: translateY(-5px) scale(1.01);
    box-shadow: 0 15px 40px rgba(236, 72, 153, 0.35);
    background: rgba(255, 240, 250, 0.95);
    border-color: rgba(236, 72, 153, 0.5);
}

.featured-item.reverse {
    flex-direction: row-reverse;
}

.featured-image {
    flex: 1;
    height: 180px;
}

.featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured-info {
    flex: 1;
    padding: 25px;
}

.featured-info h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #2c3e50;
}

.featured-info p {
    margin-bottom: 30px;
    color: #666;
    line-height: 1.8;
}

/* Responsive styles for featured section */
@media (max-width: 768px) {
    .featured-image {
        height: 150px;
    }

    .featured-info {
        padding: 20px 15px;
    }

    .featured-info h3 {
        font-size: 1.4rem;
        margin-bottom: 15px;
    }

    .featured-info p {
        margin-bottom: 20px;
        font-size: 0.9rem;
    }

    .featured-item {
        margin-bottom: 20px;
    }
}

/* About Section */
.about {
    padding: 80px 5%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(236, 72, 153, 0.2);
    border-bottom: 1px solid rgba(236, 72, 153, 0.2);
}

.about-content {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
    align-items: center;
}

.about-image {
    flex: 1;
    margin-right: 40px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px var(--card-shadow);
    transition: box-shadow 0.3s ease;
}

.about-text {
    flex: 1;
}

.about-text h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--text-primary);
    transition: color 0.3s ease;
}

.about-text p {
    margin-bottom: 20px;
    color: var(--text-secondary);
    line-height: 1.8;
    transition: color 0.3s ease;
}

/* Testimonials Section */
.testimonials {
    padding: 80px 5%;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(15px);
    border-top: 1px solid rgba(236, 72, 153, 0.2);
    border-bottom: 1px solid rgba(236, 72, 153, 0.2);
    transition: background-color 0.3s ease;
}

.testimonial-container {
    display: flex;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.testimonial {
    flex-basis: calc(33.333% - 30px);
    background: rgba(252, 231, 243, 0.85);
    backdrop-filter: blur(15px);
    border: 2px solid rgba(236, 72, 153, 0.3);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(236, 72, 153, 0.2);
    margin-bottom: 30px;
    transition: all 0.4s ease;
    color: var(--text-primary);
}

.testimonial:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 40px rgba(236, 72, 153, 0.35);
    background: rgba(255, 240, 250, 0.95);
    border-color: rgba(236, 72, 153, 0.5);
}

.testimonial-text {
    margin-bottom: 20px;
    position: relative;
}

.testimonial-text p {
    font-style: italic;
    color: #666;
    line-height: 1.8;
}

.testimonial-text::before {
    content: '\201C';
    font-size: 4rem;
    color: #c0392b;
    opacity: 0.2;
    position: absolute;
    top: -20px;
    left: -10px;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 15px;
    object-fit: cover;
}

.testimonial-author h4 {
    font-weight: 600;
    color: #2c3e50;
}

/* Contact Section */
.contact {
    padding: 80px 5%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(236, 72, 153, 0.2);
    border-bottom: 1px solid rgba(236, 72, 153, 0.2);
}

.contact-container {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
}

.testimonial {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(236, 72, 153, 0.2);
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 8px 25px rgba(236, 72, 153, 0.15);
    transition: all 0.4s ease;
}

.contact-info {
    flex: 1;
    padding: 40px;
    background: linear-gradient(135deg, rgba(44, 62, 80, 0.9), rgba(236, 72, 153, 0.8));
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    color: #fff;
}

.contact-info h3 {
    font-size: 1.8rem;
    margin-bottom: 30px;
}

.contact-info p {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}

.contact-info i {
    margin-right: 15px;
    font-size: 1.2rem;
}

.social-links {
    margin-top: 30px;
}

.social-links a {
    color: #fff;
    font-size: 1.5rem;
    margin-right: 20px;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #c0392b;
}

.contact-form {
    flex: 1;
    padding: 40px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(236, 72, 153, 0.2);
    border-radius: 16px;
    margin-left: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-primary);
    transition: color 0.3s ease;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--text-secondary);
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.form-group textarea {
    resize: vertical;
}

/* Newsletter Section */
.newsletter {
    padding: 60px 5%;
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.9), rgba(147, 51, 234, 0.9));
    backdrop-filter: blur(15px);
    color: #fff;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.newsletter-content {
    max-width: 700px;
    margin: 0 auto;
}

.newsletter h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.newsletter p {
    margin-bottom: 30px;
}

#newsletter-form {
    display: flex;
    justify-content: center;
}

#newsletter-form input {
    flex: 1;
    max-width: 400px;
    padding: 12px;
    border: none;
    border-radius: 4px 0 0 4px;
    font-size: 1rem;
}

#newsletter-form .btn {
    border-radius: 0 4px 4px 0;
    padding: 0 20px;
    background-color: #2c3e50;
}

#newsletter-form .btn:hover {
    background-color: #1a252f;
}

/* Footer */
footer {
    background: linear-gradient(135deg, rgba(44, 62, 80, 0.95), rgba(236, 72, 153, 0.9));
    backdrop-filter: blur(15px);
    color: #fff;
    padding: 60px 5% 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.footer-logo {
    flex-basis: 30%;
}

.footer-logo h2 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    background: linear-gradient(45deg,
            rgb(255, 20, 147),
            rgb(255, 105, 180),
            rgb(255, 182, 193),
            rgb(255, 0, 255),
            rgb(138, 255, 255),
            rgb(255, 20, 147));
    background-size: 400% 400%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: colorShift 4s ease-in-out infinite;
    position: relative;
}

.footer-logo h2::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, rgb(255, 255, 255), rgb(255, 255, 255));
    border-radius: 2px;
    box-shadow: 0 2px 4px rgba(255, 255, 255, 0.3);
}

.footer-logo p {
    color: #bbb;
}

.footer-links {
    flex-basis: 20%;
}

.footer-links h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-links h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: #c0392b;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: #bbb;
    transition: color 0.3s ease;
}

.footer-links ul li a:hover {
    color: #fff;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #bbb;
    font-size: 0.9rem;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.7);
}

.modal-content {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(236, 72, 153, 0.2);
    color: var(--text-primary);
    margin: 5% auto;
    padding: 30px;
    border-radius: 20px;
    max-width: 900px;
    width: 90%;
    position: relative;
    animation: modalopen 0.5s;
    box-shadow: 0 20px 50px rgba(236, 72, 153, 0.3);
    transition: all 0.3s ease;
}

@keyframes modalopen {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2rem;
    color: #333;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-modal:hover {
    color: #c0392b;
}

.modal-product {
    display: flex;
    align-items: flex-start;
}

.modal-product-image {
    flex: 1;
    margin-right: 30px;
}

.modal-product-info {
    flex: 1;
}

.modal-product-info h2 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: #2c3e50;
}

.modal-product-price {
    font-size: 1.5rem;
    color: #c0392b;
    font-weight: 700;
    margin-bottom: 20px;
    display: block;
}

.modal-product-description {
    margin-bottom: 30px;
    line-height: 1.8;
    color: #666;
}

.product-quantity {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
}

.quantity-label {
    margin-right: 15px;
    font-weight: 600;
}

.quantity-controls {
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 4px;
    overflow: hidden;
}

.quantity-btn {
    background-color: #f1f1f1;
    border: none;
    padding: 8px 12px;
    cursor: pointer;
    font-size: 1.2rem;
}

.quantity-input {
    width: 50px;
    text-align: center;
    border: none;
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
    padding: 8px 0;
    font-size: 1rem;
}

.add-to-cart-btn {
    display: block;
    width: 100%;
    padding: 12px;
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.product-meta {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #ddd;
}

.meta-item {
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.meta-label {
    font-weight: 600;
    color: #2c3e50;
    margin-right: 10px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .featured-item {
        flex-direction: column;
    }

    .featured-item.reverse {
        flex-direction: column;
    }

    .featured-image {
        width: 100%;
        height: 100%;
    }

    .about-content {
        flex-direction: column;
    }

    .about-image {
        margin-right: 0;
        margin-bottom: 30px;
        width: 100%;
    }

    .testimonial {
        flex-basis: calc(50% - 20px);
    }

    .contact-container {
        flex-direction: column;
    }

    .modal-product {
        flex-direction: column;
    }

    .modal-product-image {
        margin-right: 0;
        margin-bottom: 30px;
        width: 100%;
    }
}

@media (max-width: 768px) {
    header {
        padding: 15px 3%;
        background: linear-gradient(90deg, #fbbf24, #ec4899, #f59e0b, #f97316) !important;
        background-size: 400% 400% !important;
        animation: gradientShift 6s ease infinite !important;
        z-index: 10000 !important;
        position: relative !important;
    }

    /* Ensure mobile nav items are properly styled */
    nav ul li a {
        font-size: 1.125rem !important;
        font-weight: 600 !important;
        color: #ffffff !important;
    }

    nav ul {
        flex-direction: row;
        align-items: center;
    }

    nav ul li {
        margin: 0 0 0 20px;
    }

    .mobile-menu {
        z-index: 1002;
    }

    .hero h2 {
        font-size: 2.2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .testimonial {
        flex-basis: 100%;
    }

    .footer-logo,
    .footer-links {
        flex-basis: 100%;
        margin-bottom: 30px;
    }

    #newsletter-form {
        flex-direction: column;
    }

    #newsletter-form input {
        max-width: 100%;
        border-radius: 4px;
        margin-bottom: 10px;
    }

    #newsletter-form .btn {
        border-radius: 4px;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .hero {
        height: 60vh;
    }

    .hero h2 {
        font-size: 1.8rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .product-grid {
        grid-template-columns: 1fr;
    }

    .featured-info,
    .contact-info,
    .contact-form {
        margin-right: 20px;
    }
}

/* Hero Card and Carousel Styles */
.hero-card {
    position: relative;
    overflow: hidden;
}

.hero-card:hover {
    transform: rotate(0deg) scale(1.02);
}

/* Carousel Styles */
.carousel-container {
    position: relative;
}

.carousel-slides {
    display: flex;
    transition: transform 0.7s ease-in-out;
}

.carousel-slide {
    min-width: 100%;
    flex-shrink: 0;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
    padding: 10px;
}

.carousel-slide img:hover {
    transform: scale(1.05);
}

/* Carousel Navigation */
.carousel-prev,
.carousel-next {
    transition: all 0.3s ease;
}

.carousel-prev:hover,
.carousel-next:hover {
    background: white !important;
    transform: translateY(-50%) scale(1.1);
}

/* Carousel Indicators */
.carousel-indicators {
    z-index: 20;
}

.carousel-indicator {
    transition: all 0.3s ease;
}

.carousel-indicator.active {
    background: white !important;
    transform: scale(1.2);
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .hero-card {
        transform: rotate(0deg) !important;
    }

    .lg\:w-3\/10 {
        width: 100%;
    }

    .lg\:w-7\/10 {
        width: 100%;
    }
}

/* Mobile Navigation Styles - Disabled to avoid conflicts */
.mobile-nav-disabled {
    position: fixed;
    top: 64px;
    /* Height of header */
    left: 0;
    width: 100%;
    background: linear-gradient(135deg, rgb(255, 20, 147), rgb(255, 105, 180), rgb(255, 182, 193));
    box-shadow: 0 4px 20px rgba(255, 20, 147, 0.4);
    transform: translateY(-100%);
    transition: transform 0.3s ease;
    z-index: 40;
}

.mobile-nav ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.mobile-nav .nav-link {
    display: block;
    padding: 1rem 1.5rem;
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.125rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.mobile-nav .nav-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
}

.mobile-nav .nav-link.active {
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
}

/* Mobile Hero Section Improvements */
@media (max-width: 768px) {
    .hero {
        min-height: 100vh;
        padding: 1rem 0;
    }

    .hero h1 {
        font-size: 2.5rem;
        line-height: 1.2;
    }

    .hero p {
        font-size: 1rem;
        line-height: 1.6;
    }

    .hero .space-y-6>div {
        margin-bottom: 1.5rem;
    }

    .hero-card {
        margin-top: 2rem;
        transform: none !important;
    }

    .carousel-prev,
    .carousel-next {
        width: 2.5rem;
        height: 2.5rem;
    }

    .carousel-indicators {
        bottom: 0.5rem;
    }

    .carousel-indicator {
        width: 0.5rem;
        height: 0.5rem;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 0.9rem;
    }

    .hero .flex.space-x-4 {
        flex-direction: column;
        gap: 1rem;
    }

    .hero .flex.space-x-4>div {
        text-align: center;
    }
}

/* Collection Section Animations and Enhancements */
@keyframes gradient-shift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

@keyframes fade-in {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slide-up {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes stagger-in {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.9);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes shimmer {
    0% {
        background-position: -200% center;
    }

    100% {
        background-position: 200% center;
    }
}

.animate-gradient-shift {
    background-size: 400% 400%;
    animation: gradient-shift 3s ease infinite;
}

.animate-fade-in {
    animation: fade-in 0.8s ease-out forwards;
}

.animate-slide-up {
    animation: slide-up 0.6s ease-out forwards;
}

.animate-stagger-in {
    animation: stagger-in 0.8s ease-out forwards;
}

.animate-stagger-in>* {
    animation-delay: calc(var(--i, 0) * 0.1s);
}

.animate-float {
    animation: float 3s ease-in-out infinite;
}

/* Enhanced Collection Section Styling */
#collection {
    position: relative;
    background: linear-gradient(135deg, #fce7f3, #f3e8ff, #fce7f3);
    background-size: 400% 400%;
    animation: gradient-shift 8s ease infinite;
}

#collection::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(236, 72, 153, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(147, 51, 234, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

/* Enhanced Category Filter Buttons */
.category-filter {
    position: relative;
    overflow: hidden;
}

.category-filter::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.category-filter:hover::before {
    left: 100%;
}

.category-filter.active {
    background: linear-gradient(45deg, #ec4899, #8b5cf6, #ec4899);
    background-size: 400% 400%;
    animation: gradient-shift 2s ease infinite;
}

/* Enhanced Search Bar */
#jewelry-search:focus {
    transform: scale(1.02);
    box-shadow: 0 20px 40px rgba(236, 72, 153, 0.2);
}

/* Floating Animation for Background Elements */
.absolute.animate-pulse {
    animation: float 4s ease-in-out infinite;
}

.absolute.animate-bounce {
    animation: float 5s ease-in-out infinite reverse;
}

.absolute.animate-ping {
    animation: float 3s ease-in-out infinite;
}

/* Enhanced Product Cards in Collection */
.jewelry-card {
    background: rgba(252, 231, 243, 0.85);
    backdrop-filter: blur(15px);
    border: 2px solid rgba(236, 72, 153, 0.3);
    border-radius: 20px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    position: relative;
}

/* Price disclaimer animation */
.price-disclaimer {
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

.price-disclaimer::before {
    content: "*Prices may vary as per current market rates";
    position: absolute;
    top: 0;
    left: 100%;
    color: rgb(212, 175, 55);
    font-size: 0.75rem;
    font-style: italic;
    animation: scrollDisclaimer 8s linear infinite;
    white-space: nowrap;
    font-weight: 500;
}

@keyframes scrollDisclaimer {
    0% {
        left: 100%;
    }

    100% {
        left: -100%;
    }
}

/* Pause animation on hover */
.jewelry-card:hover .price-disclaimer::before {
    animation-play-state: paused;
}

.jewelry-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 25px 50px rgba(236, 72, 153, 0.4);
    background: rgba(255, 240, 250, 0.95);
    border-color: rgba(236, 72, 153, 0.6);
}

.jewelry-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.05), rgba(147, 51, 234, 0.05));
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.jewelry-card:hover::before {
    opacity: 1;
}

/* Enhanced Heart Animation */
.jewelry-card .fa-heart {
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.jewelry-card .fa-heart:hover {
    transform: scale(1.3);
    color: #ec4899 !important;
}

/* Enhanced Load More Button */
#load-more {
    background: linear-gradient(45deg, #ec4899, #8b5cf6);
    background-size: 400% 400%;
    animation: gradient-shift 3s ease infinite;
    position: relative;
    overflow: hidden;
}

#load-more::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.6s;
}

#load-more:hover::before {
    left: 100%;
}

/* Responsive Enhancements - Collection Section Only */
@media (max-width: 768px) {

    /* Collection Section Specific Styles */
    #collection .category-filter {
        font-size: 0.9rem;
        padding: 0.75rem 1.5rem;
        margin-bottom: 0.5rem;
    }

    #collection h2 {
        font-size: 2.5rem;
    }

    #collection .jewelry-card:hover {
        transform: translateY(-6px) scale(1.01);
    }

    /* Mobile Search Improvements - Collection Only */
    #collection #jewelry-search {
        padding: 0.75rem 5rem 0.75rem 2.5rem !important;
        font-size: 0.9rem !important;
    }

    #collection #jewelry-search+button {
        padding: 0.5rem 0.75rem !important;
        font-size: 0.8rem !important;
        right: 0.25rem !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
    }

    #collection .fas.fa-search {
        left: 0.75rem !important;
        font-size: 0.9rem !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
    }

    /* Category Filters Mobile Layout - Collection Only */
    #collection .flex.flex-wrap.justify-center.gap-4.mb-16 {
        gap: 0.5rem !important;
        margin-bottom: 2rem !important;
        padding: 0 1rem;
    }

    /* Collection Section Mobile Padding - Restore to original */

    #collection .container {
        padding: 0 !important;
    }

    /* Collection Header Mobile */
    #collection h2 {
        font-size: 2rem !important;
        margin-bottom: 1rem !important;
    }

    #collection p {
        font-size: 1rem !important;
        padding: 0 1rem !important;
    }

    /* Search Container Mobile - Collection Only */
    #collection .max-w-2xl.mx-auto.mb-12 {
        margin-bottom: 2rem !important;
        padding: 0 1rem !important;
    }
}

@media (max-width: 480px) {
    /* Collection Section Specific Styles - Extra Small Mobile - Restore to original */

    #collection .category-filter {
        font-size: 0.8rem;
        padding: 0.5rem 1rem;
        margin: 0.25rem;
    }

    #collection h2 {
        font-size: 1.75rem !important;
    }

    /* Extra Small Mobile Search - Collection Only */
    #collection #jewelry-search {
        padding: 0.65rem 4rem 0.65rem 2rem !important;
        font-size: 0.85rem !important;
    }

    #collection #jewelry-search+button {
        padding: 0.4rem 0.6rem !important;
        font-size: 0.75rem !important;
        right: 0.2rem !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
    }

    #collection #jewelry-search+button .fas.fa-sparkles {
        display: none !important;
    }

    #collection .fas.fa-search {
        left: 0.6rem !important;
        font-size: 0.8rem !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
    }

    /* Category filters in smaller rows - Collection Only */
    #collection .flex.flex-wrap.justify-center.gap-4.mb-16 {
        gap: 0.25rem !important;
    }

    /* Mobile Collection Grid */
    #collection #jewelry-grid {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
        padding: 0 1rem !important;
    }

    /* Mobile Collection Header Badge */
    #collection .inline-block.mb-4.px-6.py-2 {
        font-size: 0.8rem !important;
        padding: 0.5rem 1rem !important;
    }
}

/* Cart Icon Styles */
.cart-container {
    position: relative;
    display: flex;
    align-items: center;
    cursor: pointer;
    margin-left: 1rem;
    transition: all 0.3s ease;
}

.cart-container:hover {
    transform: translateY(-2px);
}

.cart-icon {
    font-size: 1.2rem;
    color: #fff;
    transition: all 0.3s ease;
}

.cart-container:hover .cart-icon {
    color: #f4c2c2;
    text-shadow: 0 0 10px rgba(244, 114, 182, 0.5);
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: linear-gradient(135deg, #ec4899, #8b5cf6);
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 0.7rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    animation: cartPulse 2s infinite;
}

@keyframes cartPulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

@keyframes animate-bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-4px);
    }
}

.animate-bounce {
    animation: animate-bounce 0.5s ease-in-out;
}

/* Cart Side Panel */
.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.cart-overlay.show {
    opacity: 1;
    visibility: visible;
}

.cart-side-panel {
    position: fixed;
    top: 80px;
    /* Start below navbar */
    right: 0;
    width: 400px;
    height: calc(100% - 80px);
    /* Adjust height to account for navbar */
    background: rgb(249, 168, 212);
    z-index: 999;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
}

.cart-side-panel.show {
    transform: translateX(0);
}

.cart-panel-header {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 30px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    position: relative;
    min-height: 100px;
}

.cart-panel-header h3 {
    position: absolute;
    top: 18px;
    margin: 0;
    font-size: 1.1rem;
    font-weight: 700;
    color: rgb(84, 81, 79);
    /* grey-700 */
    display: flex;
    align-items: center;
    gap: 10px;
}

.cart-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: linear-gradient(135deg, #ec4899, #8b5cf6);
    border: none;
    font-size: 1.2rem;
    color: white;
    cursor: pointer;
    padding: 6px;
    border-radius: 50%;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    font-weight: bold;
    z-index: 1001;
}

.cart-close:hover {
    background: linear-gradient(135deg, #db2777, #7c3aed);
    color: white;
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(236, 72, 153, 0.3);
}

/* Fallback if FontAwesome doesn't load */
.cart-close .fas::before {
    content: "×";
}

.cart-close:hover .fas::before {
    content: "×";
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.4) transparent;
}

.cart-items::-webkit-scrollbar {
    width: 6px;
}

.cart-items::-webkit-scrollbar-track {
    background: transparent;
}

.cart-items::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.4);
    border-radius: 3px;
}

.cart-items::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.6);
}

.empty-cart {
    text-align: center;
    padding: 40px 20px;
    color: rgb(55, 65, 81);
    /* grey-700 */
}

.empty-cart-icon {
    font-size: 3rem;
    color: rgb(107, 114, 128);
    /* grey-500 for icon */
    margin-bottom: 15px;
}

.empty-cart p {
    margin: 15px 0;
    font-size: 1rem;
    font-weight: 500;
    color: rgb(55, 65, 81);
    /* grey-700 */
}

.btn-shop {
    display: inline-block;
    background: linear-gradient(135deg, #ec4899, #8b5cf6);
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-shop:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(236, 72, 153, 0.3);
}

.cart-item {
    display: flex;
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid rgba(244, 114, 182, 0.1);
    transition: all 0.3s ease;
}

.cart-item:hover {
    background: rgba(255, 255, 255, 0.2);
    padding: 20px 15px;
    margin: 0 -15px;
    border-radius: 10px;
    backdrop-filter: blur(5px);
}

.cart-item-image {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.cart-item-details {
    flex: 1;
}

.cart-item-name {
    font-weight: 600;
    font-size: 0.9rem;
    color: rgb(55, 65, 81);
    /* grey-700 */
    margin-bottom: 5px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.product-code {
    background: rgba(55, 65, 81, 0.1);
    color: rgb(55, 65, 81);
    /* grey-700 */
    font-family: 'Courier New', monospace;
    font-size: 0.7rem;
    font-weight: bold;
    padding: 2px 6px;
    border-radius: 4px;
    border: 1px solid rgba(55, 65, 81, 0.2);
}

.cart-item-price {
    color: rgb(55, 65, 81);
    /* grey-700 */
    font-weight: 700;
    font-size: 0.95rem;
    background: rgba(55, 65, 81, 0.1);
    padding: 2px 8px;
    border-radius: 12px;
    display: inline-block;
}

.cart-item-quantity {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 5px;
}

.quantity-btn {
    background: linear-gradient(135deg, #ec4899, #8b5cf6);
    color: white;
    border: none;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.quantity-btn:hover {
    transform: scale(1.1);
}

.quantity-number {
    font-weight: 600;
    min-width: 20px;
    text-align: center;
}

.remove-item {
    background: none;
    border: none;
    color: #ff4757;
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.remove-item:hover {
    background: rgba(255, 71, 87, 0.1);
    transform: scale(1.1);
}

.cart-footer {
    padding: 30px;
    border-top: 2px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    margin-top: auto;
}

.cart-total {
    text-align: center;
    margin-bottom: 15px;
    font-size: 1.1rem;
    color: rgb(55, 65, 81);
    /* grey-700 */
}

.cart-total strong {
    color: rgb(55, 65, 81);
    /* grey-700 */
    font-size: 1.4rem;
    background: rgba(55, 65, 81, 0.1);
    padding: 4px 12px;
    border-radius: 20px;
    display: inline-block;
}

.cart-actions {
    display: flex;
    gap: 10px;
}

.btn-checkout,
.btn-clear-cart {
    flex: 1;
    padding: 12px 15px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.btn-checkout {
    background: linear-gradient(135deg, #ec4899, #8b5cf6);
    color: white;
}

.btn-checkout:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(236, 72, 153, 0.3);
}

.btn-clear-cart {
    background: #ff4757;
    color: white;
}

.btn-clear-cart:hover {
    background: #ff3742;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 71, 87, 0.3);
}

/* Mobile Cart Side Panel */
@media (max-width: 768px) {
    .cart-side-panel {
        width: 100%;
        max-width: 100vw;
    }

    .cart-panel-header {
        padding: 20px;
    }

    .cart-panel-header h3 {
        font-size: 1.2rem;
    }

    .cart-items {
        padding: 15px;
    }

    .cart-item {
        gap: 15px;
        padding: 15px 0;
    }

    .cart-item-image {
        width: 70px;
        height: 70px;
    }

    .cart-footer {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .cart-panel-header h3 {
        font-size: 1.1rem;
    }

    .cart-item {
        gap: 12px;
        padding: 12px 0;
    }

    .cart-item-image {
        width: 60px;
        height: 60px;
    }

    .cart-item-name {
        font-size: 0.85rem;
    }

    .cart-item-price {
        font-size: 0.85rem;
    }

    .quantity-btn {
        width: 22px;
        height: 22px;
        font-size: 0.7rem;
    }

    .btn-checkout,
    .btn-clear-cart {
        padding: 10px 12px;
        font-size: 0.85rem;
    }
}

/* Mobile Cart Icon */
@media (max-width: 1024px) {
    .cart-container {
        margin-left: 0.5rem;
    }

    .cart-icon {
        font-size: 1.1rem;
    }

    .cart-count {
        width: 18px;
        height: 18px;
        font-size: 0.65rem;
        top: -7px;
        right: -7px;
    }
}

/* Toast Notification Styles */
/* Toast Notification Styles */
.notification {
    position: fixed !important;
    top: 20px !important;
    left: 50% !important;
    transform: translateX(-50%) translateY(-100px) !important;
    background: linear-gradient(135deg, #ec4899 0%, #db2777 100%) !important;
    color: white !important;
    padding: 6px 16px !important;
    /* Extremely minimal padding */
    border-radius: 50px !important;
    box-shadow: 0 4px 15px rgba(236, 72, 153, 0.4) !important;
    font-weight: 500 !important;
    font-size: 13px !important;
    line-height: 1 !important;
    /* Force single line height */
    z-index: 99999 !important;
    opacity: 0 !important;
    transition: all 0.4s ease-out !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    width: auto !important;
    height: auto !important;
    /* Force auto height */
    min-height: 0 !important;
    /* Reset any legacy min-height */
    max-height: 40px !important;
    /* Strict limit */
    max-width: fit-content !important;
    /* Fit to text only */
    white-space: nowrap !important;
    overflow: hidden !important;
    /* Clip if too long */
}

.notification.show {
    transform: translateX(-50%) translateY(0) !important;
    opacity: 1 !important;
}

.notification::before {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    background: rgba(255, 255, 255, 0.2);
    width: 18px;
    /* Tiny icon container */
    height: 18px;
    /* Tiny icon container */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 9px;
    /* Tiny icon */
    flex-shrink: 0 !important;
}

html {
    scroll-behavior: smooth;
}

/* Preloader */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
}

.loader {
    width: 50px;
    height: 50px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid #ec4899;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.loader-text {
    margin-top: 20px;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.5rem;
    background: linear-gradient(90deg, #ec4899, #8b5cf6);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: pulse 2s infinite ease-in-out;
}

@keyframes pulse {
    0% {
        opacity: 0.6;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0.6;
    }
}