* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --pink: #ff6b9d;
    --pink-light: #ffd1dc;
    --pink-dark: #e84a7f;
    --purple: #9b59b6;
    --purple-light: #d4a5e8;
    --teal: #1abc9c;
    --cream: #fff9f5;
    --text: #4a4a4a;
    --white: #ffffff;
}

body {
    font-family: 'Quicksand', sans-serif;
    background: linear-gradient(135deg, var(--cream) 0%, var(--pink-light) 100%);
    color: var(--text);
    min-height: 100vh;
}

/* Header */
header {
    background: linear-gradient(135deg, var(--pink) 0%, var(--purple) 100%);
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 20px rgba(155, 89, 182, 0.3);
}

.logo {
    font-family: 'Pacifico', cursive;
    font-size: 3rem;
    color: var(--white);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
    margin-bottom: 0.5rem;
}

.tagline {
    color: var(--pink-light);
    font-size: 1.2rem;
    font-weight: 500;
}

/* Hero Section */
.hero {
    background: var(--white);
    margin: 2rem auto;
    max-width: 900px;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 10px 40px rgba(155, 89, 182, 0.15);
    border: 3px solid var(--pink-light);
}

.hero-content h2 {
    font-family: 'Pacifico', cursive;
    color: var(--pink);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.hero-content p {
    line-height: 1.8;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.hero-content .highlight {
    background: linear-gradient(135deg, var(--pink-light) 0%, var(--purple-light) 100%);
    padding: 1rem 1.5rem;
    border-radius: 15px;
    font-weight: 600;
    color: var(--purple);
    text-align: center;
}

/* Cart Summary */
.cart-summary {
    position: sticky;
    top: 0;
    background: var(--white);
    padding: 1rem 2rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    z-index: 100;
    display: none;
}

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

.cart-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 2rem;
}

.cart-icon {
    position: relative;
    color: var(--pink);
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--purple);
    color: white;
    font-size: 0.75rem;
    font-weight: bold;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-total {
    font-weight: 600;
    font-size: 1.2rem;
    color: var(--purple);
}

.checkout-btn {
    background: linear-gradient(135deg, var(--pink) 0%, var(--pink-dark) 100%);
    color: white;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 25px;
    font-family: 'Quicksand', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.checkout-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(232, 74, 127, 0.4);
}

/* Products Section */
main {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
}

.products h2 {
    font-family: 'Pacifico', cursive;
    color: var(--pink);
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 0.5rem;
}

.price-info {
    text-align: center;
    color: var(--purple);
    font-weight: 600;
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.product-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(155, 89, 182, 0.15);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 2px solid transparent;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(155, 89, 182, 0.25);
    border-color: var(--pink-light);
}

.product-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
}

.product-info {
    padding: 1.5rem;
    text-align: center;
}

.product-name {
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.product-price {
    color: var(--pink);
    font-weight: 700;
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.quantity-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.qty-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid var(--pink);
    background: var(--white);
    color: var(--pink);
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s;
}

.qty-btn:hover {
    background: var(--pink);
    color: var(--white);
}

.quantity {
    font-size: 1.2rem;
    font-weight: 600;
    min-width: 30px;
    text-align: center;
}

.add-btn {
    width: 100%;
    margin-top: 1rem;
    padding: 0.75rem;
    background: linear-gradient(135deg, var(--teal) 0%, #16a085 100%);
    color: white;
    border: none;
    border-radius: 25px;
    font-family: 'Quicksand', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.add-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(26, 188, 156, 0.4);
}

.add-btn.added {
    background: linear-gradient(135deg, var(--purple) 0%, #8e44ad 100%);
}

/* Wholesale Section */
.wholesale {
    background: linear-gradient(135deg, var(--purple) 0%, var(--pink) 100%);
    padding: 3rem 2rem;
    text-align: center;
    margin-top: 3rem;
}

.wholesale h2 {
    font-family: 'Pacifico', cursive;
    color: var(--white);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.wholesale p {
    color: var(--pink-light);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.wholesale-btn {
    display: inline-block;
    background: var(--white);
    color: var(--purple);
    padding: 1rem 2rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.2s, box-shadow 0.2s;
}

.wholesale-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(255, 255, 255, 0.3);
}

/* Footer */
footer {
    background: var(--text);
    padding: 2rem;
    text-align: center;
}

.footer-content p {
    color: var(--pink-light);
    margin-bottom: 0.5rem;
}

.footer-note {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Responsive */
@media (max-width: 768px) {
    .logo {
        font-size: 2rem;
    }

    .hero {
        margin: 1rem;
        padding: 1.5rem;
    }

    .hero-content h2 {
        font-size: 1.5rem;
    }

    .cart-content {
        gap: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        gap: 1.5rem;
    }
}

/* Success/Error Messages */
.message {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 1rem 2rem;
    border-radius: 10px;
    color: white;
    font-weight: 600;
    z-index: 1000;
    animation: slideIn 0.3s ease;
}

.message.success {
    background: var(--teal);
}

.message.error {
    background: var(--pink-dark);
}

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