:root {
    --primary-pink: #FF4D8D;
    --primary-cyan: #40E0E5;
    --primary-yellow: #FFD700;
    --primary-navy: #1A1B41;
    --white: #FFFFFF;
}

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

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--primary-navy);
}

/* Navigation and Hero Combined */
.main-nav {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 2.5rem 8%;
    background: linear-gradient(135deg, var(--primary-cyan) 0%, var(--primary-pink) 100%);
    gap: 4rem;
}

.logo-container {
    flex-shrink: 0;
}

.logo {
    height: 100px;
    width: auto;
    transition: transform 0.3s ease;
}

.hero-content {
    color: var(--white);
    text-align: left;
    max-width: 600px;
}

.hero-content h1 {
    font-size: 2.4rem;
    margin-bottom: 0.75rem;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.hero-content .subtitle {
    font-size: 1.1rem;
    margin-bottom: 1.8rem;
    opacity: 0.9;
    letter-spacing: 0.2px;
}

.cta-button {
    display: inline-block;
    padding: 0.8rem 2rem;
    background-color: var(--primary-yellow);
    color: var(--primary-navy);
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.cta-button:hover {
    transform: translateY(-2px);
    background-color: var(--white);
}

/* Shop Section */
.shop-section {
    background-color: #f8f9fa;
    padding: 3rem 0;
}

.shop-section h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--primary-navy);
    font-size: 2.5rem;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    padding: 2rem;
    grid-auto-rows: minmax(400px, auto); /* Ensure minimum row height */
}

.product-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    color: inherit;
    min-height: 400px; /* Ensure minimum card height */
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.product-image {
    position: relative;
    width: 100%;
    padding-top: 100%; /* 1:1 Aspect Ratio */
    overflow: hidden; /* Keep image scaling contained */
    flex-shrink: 0; /* Prevent image from shrinking */
    border-radius: 12px 12px 0 0; /* Round top corners to match card */
}

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

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

.product-info {
    padding: 1.5rem 1.5rem 10px 1.5rem; /* Added 10px bottom padding */
    text-align: center;
    display: flex;
    flex-direction: column;
    flex: 1; /* Take remaining space in the card */
    min-height: 160px; /* Minimum height for content */
}

.product-info h3 {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    color: var(--primary-navy);
    line-height: 1.4;
    flex: 1; /* This will take up available space and push price/button to bottom */
    text-decoration: none;
}

.price-container {
    margin-top: auto; /* This anchors the price/button to the bottom */
    text-decoration: none;
    margin-bottom: 0;
    flex-shrink: 0; /* Prevent price container from shrinking */
}

.price {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-pink);
    margin-bottom: 1rem;
    text-decoration: none;
}

.buy-button {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: var(--primary-cyan);
    color: var(--primary-navy);
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    pointer-events: none;
    margin-bottom: 0; /* Remove margin since container has padding */
}

.product-card:hover .buy-button {
    background-color: var(--primary-yellow);
    transform: translateY(-2px);
}

/* Footer */
footer {
    background-color: var(--primary-navy);
    color: var(--white);
    padding: 3rem 5% 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo-img {
    height: 50px;
    width: auto;
}

.footer-links ul {
    list-style: none;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .main-nav {
        flex-direction: column;
        text-align: center;
        padding: 2rem 5%;
        gap: 1.5rem;
    }

    .logo-container {
        margin-right: 0;
    }

    .hero-content {
        text-align: center;
    }

    .logo {
        height: 80px;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content .subtitle {
        font-size: 1rem;
    }
    
    /* Mobile product card adjustments */
    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 1.5rem;
        padding: 1rem;
        grid-auto-rows: minmax(350px, auto); /* Smaller minimum height for mobile */
    }
    
    .product-card {
        min-height: 350px; /* Smaller minimum height for mobile */
    }
    
    .product-info {
        padding: 1rem 1rem 10px 1rem; /* 10px bottom padding for mobile */
        min-height: 140px;
        flex: 1; /* Take remaining space in mobile too */
    }
    
    .product-info h3 {
        font-size: 1rem;
        margin-bottom: 0.5rem;
        line-height: 1.3;
        flex: 1; /* Keep flexible spacing on mobile */
    }
    
    .price {
        font-size: 1.1rem;
        margin-bottom: 0.75rem;
    }
    
    .buy-button {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
        margin-bottom: 0; /* Remove margin since container has padding */
    }
}

/* Additional Product Card Styles */
.sale-badge, .shipping-badge {
    position: absolute;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

.sale-badge {
    top: 10px;
    left: 10px;
    background-color: var(--primary-pink);
    color: var(--white);
}

.shipping-badge {
    top: 10px;
    right: 10px;
    background-color: var(--primary-cyan);
    color: var(--primary-navy);
}

.description {
    font-size: 0.9rem;
    color: #666;
    margin: 0.5rem 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.original-price {
    text-decoration: line-through;
    color: #999;
    margin-right: 0.5rem;
}

.sale-price {
    color: var(--primary-pink);
    font-weight: 600;
}

.rating {
    margin: 0.5rem 0;
}

.stars {
    color: var(--primary-yellow);
    letter-spacing: 2px;
}

.review-count {
    color: #666;
    font-size: 0.9rem;
    margin-left: 0.5rem;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 0.5rem 0;
}

.tag {
    background-color: #f0f0f0;
    padding: 0.2rem 0.6rem;
    border-radius: 12px;
    font-size: 0.8rem;
    color: #666;
}

.buy-button[disabled] {
    background-color: #ccc;
    cursor: not-allowed;
}

.breadcrumb {
    padding: 1rem 2rem;
    background: #f8f9fa;
}

.breadcrumb ol {
    list-style: none;
    display: flex;
    gap: 0.5rem;
}

.breadcrumb li:not(:last-child):after {
    content: "/";
    margin-left: 0.5rem;
    color: #666;
}

.breadcrumb a {
    color: var(--primary-navy);
    text-decoration: none;
}

.breadcrumb a:hover {
    color: var(--primary-pink);
}

/* Add a new style to prevent text decoration inheritance */
.product-card a {
    text-decoration: none;
}

.product-card a:hover {
    text-decoration: none;
}

/* Shop Sections Styling */
.shop-sections {
    padding: 2rem 5%;
}

.product-section {
    margin-bottom: 3rem;
}

.product-section:last-child {
    margin-bottom: 0;
}

.section-title {
    font-size: 2rem;
    color: var(--primary-navy);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    border-bottom: 3px solid var(--primary-cyan);
    padding-bottom: 0.5rem;
}

.featured-section .section-title {
    color: var(--primary-pink);
    border-bottom-color: var(--primary-pink);
}

.item-count {
    font-size: 1rem;
    color: #666;
    font-weight: normal;
    margin-left: auto;
}

/* Featured Items Styling */
.featured-item {
    position: relative;
    border: 2px solid var(--primary-pink);
    box-shadow: 0 4px 8px rgba(232, 67, 147, 0.2);
}

.featured-item:hover {
    border-color: var(--primary-pink);
    box-shadow: 0 8px 16px rgba(232, 67, 147, 0.3);
}

.featured-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: linear-gradient(135deg, var(--primary-pink), #ff6b9d);
    color: var(--white);
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 2;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.featured-section {
    background: linear-gradient(135deg, #fff5f8, #fef7f9);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid rgba(232, 67, 147, 0.1);
    margin-bottom: 3rem;
}

/* Section Navigation */
.section-nav {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    padding: 1rem 5%;
    background: #f8f9fa;
    border-radius: 8px;
}

.section-nav-item {
    padding: 0.5rem 1rem;
    background: var(--white);
    border: 1px solid #ddd;
    border-radius: 20px;
    color: var(--primary-navy);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.section-nav-item:hover,
.section-nav-item.active {
    background: var(--primary-cyan);
    border-color: var(--primary-cyan);
    color: var(--primary-navy);
}

.section-nav-item.featured {
    background: var(--primary-pink);
    color: var(--white);
    border-color: var(--primary-pink);
}

.section-nav-item.featured:hover {
    background: #d63384;
    border-color: #d63384;
}

/* Responsive Sections */
@media (max-width: 768px) {
    .shop-sections {
        padding: 1rem 3%;
    }
    
    .section-title {
        font-size: 1.5rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .item-count {
        margin-left: 0;
    }
    
    .featured-section {
        padding: 1rem;
        margin-bottom: 2rem;
    }
    
    .section-nav {
        padding: 1rem 3%;
    }
    
    .featured-badge {
        font-size: 0.7rem;
        padding: 0.3rem 0.6rem;
    }
} 