/*
=====================
    GLOBAL STYLES
=====================
*/
body {
    margin: 0;
    font-family: "Inter", Arial, sans-serif;
    background: #F6F4FF;
    color: #2E2A4A;
}

h1, h2, h3 {
    font-family: "Outfit", sans-serif;
    letter-spacing: -0.4px;
    margin: 0;
}

p {
    margin: 0;
}

img {
    max-width: 100%;
    display: block;
}

.bg-mesh {
    position: fixed;
    inset: 0;
    background: radial-gradient(circle at 20% 20%, rgba(122,90,248,0.08), transparent 40%),
                radial-gradient(circle at 80% 80%, rgba(122,90,248,0.08), transparent 40%);
    z-index: -1;
}

/*
====================
    HERO SECTION
====================
*/
.shop-hero {
    position: relative;
    height: 420px;
    overflow: hidden;
    z-index: 1;
}

.shop-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url('/img/GiftHero.png') center/cover no-repeat;
    z-index: 0;
}

.shop-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(52, 36, 154, 0.65), rgba(34, 20, 120, 0.85));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    padding: 140px 20px 0;
    text-align: center;
    color: #FFF;
}

.hero-content h1 {
    font-size: 2.6rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.hero-content p {
    font-size: 1.1rem;
    opacity: 0.9;
}

/*
======================
    MINI CATALOGUE
======================
*/
.shop-catalogue {
    position: relative;
    max-width: 1100px;
    margin: -110px auto 80px;
    padding: 40px 20px;
    background: #FFFFFF;
    border-radius: 14px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    z-index: 3;
}

.shop-catalogue h2 {
    font-size: 1.6rem;
    margin-bottom: 25px;
}

.catalogue-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

/*
====================
    PRODUCT CARD
====================
*/
.product-card {
    position: relative;
    display: flex;
    flex-direction: column;
    border-radius: 10px;
    padding: 16px;
    background: #FAFAFF;
    border: 1px solid #ECEAFA;
    transition: all 0.25s ease;
}

.product-card:hover {
    transform: translateY(-4px);
    border-color: #7A5AF8;
    box-shadow: 0 10px 24px rgba(0,0,0,0.08);
}

.product-card img {
    height: 130px;
    object-fit: contain;
    margin-bottom: 10px;
}

.product-card h3 {
    font-size: 1rem;
    margin-bottom: 4px;
}

.product-card p {
    font-size: 0.9rem;
    color: #6B6785;
    margin-bottom: 8px;
}

.price-row {
    margin-top: auto;
    display: flex;
    align-items: center;
}

.price {
    font-weight: 700;
    color: #4B3FCF;
}

.egg-watermark {
    position: absolute;
    bottom: 10px;
    right: 10px;
    width: 100px;
    opacity: 0.18;
    pointer-events: none;
    user-select: none;
    display: block;
    margin: 0;
    padding: 0;
    height: auto;
    max-height: 100px;
    object-fit: contain;
}

/*
==================
    CTA BUTTON
==================
*/
.catalogue-cta {
    text-align: center;
    margin-top: 30px;
}

.btn-catalogue {
    display: inline-block;
    padding: 12px 22px;
    background: #7A5AF8;
    color: #FFF;
    text-decoration: none;
    border-radius: 30px;
    font-size: 0.95rem;
    transition: all 0.25s ease;
}

.btn-catalogue:hover {
    background: #5E43D6;
    transform: translateY(-2px);
}

/*
================================
    WHY SHOP WITH US SECTION
================================
*/
.shop-values {
    max-width: 1100px;
    margin: 60px auto 40px;
    padding: 0 20px;
}

.shop-values h2 {
    font-size: 1.6rem;
    text-align: left;
    margin-bottom: 25px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
}

.value-item {
    background: #FFFFFF;
    border-radius: 14px;
    padding: 24px;
    text-align: center;
    border: 1px solid #ECEAFA;
    box-shadow: 0 6px 18px rgba(0,0,0,0.05);
    transition: all 0.25s ease;
}

.value-item:hover {
    transform: translateY(-4px);
    border-color: #7A5AF8;
    box-shadow: 0 12px 28px rgba(0,0,0,0.08);
}

.value-icon {
    font-size: 2rem;
    display: block;
    margin-bottom: 10px;
}

.value-item h3 {
    font-size: 1.1rem;
    margin-bottom: 6px;
    color: #2E2A4A;
}

.value-item p {
    font-size: 0.9rem;
    color: #6B6785;
}

/*
===============
    REVIEWS
===============
*/
.shop-reviews {
    max-width: 1100px;
    margin: 80px auto;
    padding: 0 20px;
}

.shop-reviews h2 {
    font-size: 1.6rem;
    margin-bottom: 25px;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

.review-card {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(8px);
    border-radius: 14px;
    padding: 24px;
    border: 1px solid rgba(122, 90, 248, 0.15);
    box-shadow: 0 6px 18px rgba(0,0,0,0.06);
    position: relative;
    transition: all 0.35s ease;
}

.review-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 4px;
    width: 100%;
    background: linear-gradient(90deg, #7A5AF8, #B39CFF);
    border-radius: 14px 14px 0 0;
    opacity: 0.9;
}

.review-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 32px rgba(0,0,0,0.12);
    border-color: rgba(122, 90, 248, 0.35);
}

.review-card p {
    font-style: italic;
    color: #4A4566;
    margin-bottom: 14px;
    line-height: 1.45;
}

.review-author {
    font-weight: 600;
    color: #2E2A4A;
    margin-bottom: 4px;
}

.review-stars {
    color: #7A5AF8;
    font-weight: 600;
    font-size: 1.3rem;
    letter-spacing: 1px;
    text-shadow: 0 0 6px rgba(122, 90, 248, 0.25);
    -webkit-font-smoothing: antialiased;
}

.reviews-cta {
    text-align: center;
    margin-top: 30px;
}

.btn-reviews {
    display: inline-block;
    padding: 12px 22px;
    background: #7A5AF8;
    color: #FFF;
    text-decoration: none;
    border-radius: 30px;
    font-size: 0.95rem;
    transition: all 0.25s ease;
}

.btn-reviews:hover {
    background: #5E43D6;
    transform: translateY(-2px);
}

/*
=========================
    NEWSLETTER SIGNUP
=========================
*/
.shop-newsletter {
    max-width: 700px;
    margin: 80px auto;
    padding: 40px 20px;
    text-align: center;
    background: #FFFFFF;
    border-radius: 14px;
    border: 1px solid #ECEAFA;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}

.shop-newsletter h2 {
    font-size: 1.6rem;
    margin-bottom: 10px;
}

.shop-newsletter p {
    font-size: 1rem;
    color: #6B6785;
    margin-bottom: 20px;
}

.newsletter-form {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

.newsletter-form input {
    padding: 12px 16px;
    border-radius: 30px;
    border: 1px solid #D8D2FF;
    font-size: 0.95rem;
    width: 260px;
}

.newsletter-form button {
    padding: 12px 22px;
    background: #7A5AF8;
    color: #FFF;
    border: none;
    border-radius: 30px;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.25s ease;
}

.newsletter-form button:hover {
    background: #5E43D6;
    transform: translateY(-2px);
}

/*
===================
    BACK TO TOP
===================
*/
#backToTopGift {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 56px;
    height: 56px;
    background: #7A5AF8;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(122, 90, 248, 0.4);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.35s ease, transform 0.35s ease, box-shadow 0.25s ease;
    z-index: 999;
    overflow: visible;
}

#backToTopGift.show {
    opacity: 1;
    transform: translateY(0);
}

#backToTopGift:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 24px rgba(122, 90, 248, 0.55);
}

#backToTopGift svg {
    animation: giftBounce 2s ease-in-out infinite;
    transform-origin: center bottom;
}

@keyframes giftBounce {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-4px); }
}

/*
===================
    CONFETTI
===================
*/
.confetti-wrap {
    display: none;
}

/*
================
    SPARKLES
================
*/
.sparkles {
    position: absolute;
    top: -14px;
    display: flex;
    gap: 6px;
}

.sparkles span {
    width: 4px;
    height: 4px;
    background: #FFF;
    border-radius: 50%;
    opacity: 0;
    animation: sparkleFloat 2s infinite ease-in-out;
}

.sparkles span:nth-child(2) {
    animation-delay: 0.4s;
}

.sparkles span:nth-child(3) {
    animation-delay: 0.8s;
}

/*
=================
    ANIMATION
=================
*/
@keyframes confettiPop {
    0% {
        transform: translate(-50%, -50%) rotate(0deg) scale(1);
        opacity: 1;
    }
    70% {
        opacity: 0.9;
    }
    100% {
        transform: translate(calc(-50% + var(--tx)), calc(-50% + var(--ty))) rotate(360deg) scale(0.4);
        opacity: 0;
    }
}

@keyframes sparkleFloat {
    0% { transform: translateY(0) scale(0.5); opacity: 0; }
    30% { opacity: 1; }
    60% { transform: translateY(-10px) scale(1); opacity: 0.8; }
    100% { transform: translateY(-18px) scale(0.6); opacity: 0; }
}


/*
======================================
    RESPONSIVE CODE (SMALL MOBILE)
======================================
*/
@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.6rem;
    }

    .hero-content p {
        font-size: 0.95rem;
    }

    .product-card img {
        height: 110px;
    }
}

/*
================================
    RESPONSIVE CODE (MOBILE)
================================
*/
@media (max-width: 768px) {
    .hero-content {
        padding-top: 120px;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .shop-catalogue {
        margin-top: -60px;
        padding: 30px 15px;
    }

    .catalogue-grid {
        gap: 15px;
    }
}

/*
================================
    RESPONSIVE CODE (TABLET)
================================
*/
@media (min-width: 769px) and (max-width: 1024px) {
    .shop-hero {
        height: 360px;
    }

    .hero-content {
        padding-top: 120px;
        max-width: 700px;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .shop-catalogue {
        margin: -60px auto 70px;
        padding: 30px 25px;
        max-width: 900px;
    }

    .catalogue-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }

    .product-card {
        padding: 14px;
    }

    .product-card img {
        height: 120px;
    }

    .btn-catalogue {
        padding: 11px 20px;
        font-size: 0.9rem;
    }

    .shop-reviews {
        max-width: 900px;
    }

    .reviews-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }

    .review-card {
        padding: 20px;
    }
}