/* Global Styles */
:root {
    --primary-blue: #0066FF;
    /* Matches the vibrant blue buttons */
    --primary-yellow: #FFD700;
    /* Matches the yellow accents/cards */
    --text-dark: #1A1A1A;
    --text-gray: #666666;
    --bg-light: #F8F9FA;
    --white: #FFFFFF;
    --border-radius: 16px;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    --transition: all 0.3s ease;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    background-color: var(--white);
    color: var(--text-dark);
    line-height: 1.6;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}


.categories-grid img {
    width: 100%;
    border-radius: 10px;
}

/* Button & Utilities */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 24px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    margin-top: 10px;
    margin-bottom: 20px;
}

.btn-primary {
    background-color: var(--primary-blue);
    color: var(--white);
}

.btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

.btn-blue {
    background-color: var(--primary-blue);
    color: var(--white);
    width: fit-content;
}

.btn-blue:hover {
    background-color: #0052cc;
}

.btn-yellow {
    background-color: var(--primary-yellow);
    color: var(--text-dark);
}

.btn-white {
    background-color: var(--white);
    color: var(--text-dark);
}

.highlight-blue {
    color: var(--primary-blue);
}

/* 1. Header Styles */
.site-header {
    background: var(--white);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.top-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
    gap: 20px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-dark);
    flex-shrink: 0;
}

.logo-text {
    letter-spacing: -0.5px;
}



.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.action-item {
    font-size: 0.9rem;
    color: var(--text-dark);
    font-weight: 500;
    display: none;
    /* Hidden on small screens initially */
}

.icon-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #eee;
    color: var(--text-dark);
    transition: var(--transition);
}

.icon-btn:hover {
    background: var(--bg-light);
}

.login-btn {
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
}

/* Navigation */
/* Navigation */
.main-nav {
    flex: 1;
    display: flex;
    justify-content: center;
    /* margin: 0 20px; */
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-list::-webkit-scrollbar {
    display: none;
}

.nav-link {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-gray);
    transition: var(--transition);
}

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

.nav-pill {
    padding: 6px 16px;
    border-radius: 20px;
    font-weight: 500;
    font-size: 0.9rem;
    transition: var(--transition);
    border: 1px solid transparent;
}

.nav-pill.active {
    background: var(--bg-light);
    color: var(--text-dark);
    border-color: #eee;
    font-weight: 700;
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 2px;
    background: var(--text-dark);
    transition: var(--transition);
}

/* 2. Hero Section */
.hero-section {
    padding: 40px 0;
    background: var(--bg-light);
    /* Soft background behind hero area essentially */
    margin-bottom: 60px;
    border-radius: 0 0 30px 30px;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    align-items: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    color: var(--text-dark);
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-gray);
    max-width: 500px;
}

.hero-cards {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}

.promo-card {
    flex: 1;
    padding: 20px;
    border-radius: var(--border-radius);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 180px;
    position: relative;
    overflow: hidden;
}

.card-yellow {
    background-color: var(--primary-yellow);
}

.card-white {
    background-color: white;
    box-shadow: var(--shadow);
}

.promo-card h3 {
    font-size: 1.25rem;
    line-height: 1.3;
    margin-bottom: 10px;
    font-weight: 800;
}

.promo-card p {
    font-size: 0.85rem;
    margin-bottom: 15px;
    opacity: 0.8;
}

.badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--primary-yellow);
    padding: 4px 8px;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 4px;
}

.hero-image-wrapper {
    position: relative;
    height: 100%;
    min-height: 500px;
    border-radius: var(--border-radius);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #FFD700;
    /* Fallback visually for the girl bg */
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 3. Categories Section */
.categories-section {
    margin-bottom: 200px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 30px;
}

.section-header h2 {
    font-size: 1.8rem;
    font-weight: 700;
}

.view-all {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--primary-blue);
    font-weight: 600;
    font-size: 0.9rem;
}

.categories-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 24px;
    height: 500px;
    /* Fixed height for the grid layout */
}

.cat-card {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    padding: 25px;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}

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

.large {
    height: 100%;
}

.dark-card {
    background-color: #111;
    color: white;
}

.yellow-card {
    background-color: var(--primary-yellow);
    color: var(--text-dark);
}

.cat-stack {
    display: flex;
    flex-direction: column;
    gap: 24px;
    height: 100%;
}

.light-card {
    background-color: white;
    border: 1px solid #eee;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
}

.cat-labels {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.pill {
    background: rgba(255, 255, 255, 0.2);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    backdrop-filter: blur(5px);
}

.white-pill {
    background: white;
}

.floating-btn {
    margin-top: auto;
    width: 100%;
    text-align: center;
}

.cat-img-placeholder,
.basket-img-placeholder {
    flex: 1;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    margin: 10px 0;
}

.cat-mini-img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 12px;
}

.people-img-group {
    display: flex;
}

.people-img-group img {
    border-radius: 50%;
    border: 3px solid white;
    margin-left: -15px;
}

.people-img-group img:first-child {
    margin-left: 0;
}

/* 4. Products Section */
.products-section {
    margin-bottom: 80px;
}

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

.product-card {
    background: white;
    border: 1px solid #eee;
    border-radius: var(--border-radius);
    padding: 20px;
    transition: var(--transition);
    position: relative;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    box-shadow: var(--shadow);
    border-color: transparent;
}

.card-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}

.badge-yellow {
    background: #FFF9C4;
    /* lighter yellow */
    color: #F57F17;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
}

.card-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.icon-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #f5f5f5;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.icon-circle:hover {
    background: var(--text-dark);
    color: white;
}

.product-img {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.product-img img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

.product-details h3 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 25px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;

    height: 42px;
    /* Force height for alignment */
}

.price {
    color: var(--primary-blue);
    font-weight: 700;
    font-size: 1.1rem;
    display: block;
    margin-bottom: 5px;
}

.full-width {
    width: 100%;
}

/* 5. Slider Section */
.slider-section {
    margin-bottom: 80px;
    position: relative;
}

.section-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 30px;
    text-align: center;
}

.slider-container {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius);
    height: 400px;
}

.slider-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    height: 100%;
}

.slide {
    min-width: 100%;
    height: 100%;
    position: relative;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-content {
    position: absolute;
    bottom: 40px;
    left: 40px;
    background: rgba(255, 255, 255, 0.9);
    padding: 20px;
    border-radius: 12px;
    max-width: 300px;
    backdrop-filter: blur(5px);
}

.slide-content h3 {
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    z-index: 10;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
}

.prev-btn {
    left: 0px;
}

.next-btn {
    right: 0px;
}

/* 6. Reviews Section */
.reviews-section {
    margin-bottom: 80px;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-bottom: 30px;
}

.review-card {
    background: var(--bg-light);
    padding: 30px;
    border-radius: var(--border-radius);
    border: 1px solid #f0f0f0;
}

.review-header {
    display: flex;
    gap: 15px;
    align-items: center;
    margin-bottom: 15px;
}

.avatar {
    width: 50px;
    height: 50px;
    background: var(--primary-blue);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.stars {
    color: #FFD700;
}

.review-text {
    font-style: italic;
    color: var(--text-gray);
    font-size: 0.9rem;
}

.hidden-review {
    display: none;
}

.reviews-footer {
    text-align: center;
}

.site-footer {
    text-align: center;
    padding: 40px 0;
    border-top: 1px solid #eee;
    color: var(--text-gray);
}

/* RESPONSIVE BREAKPOINTS (Mobile First adaptation applied above largely, tweaking layout) */

@media (max-width: 1024px) {
    .promo-card {
        min-height: auto;
    }
}

@media (max-width: 900px) {
    .categories-grid {
        grid-template-columns: 1fr;
        height: auto;
    }

    .cat-stack {
        flex-direction: row;
        gap: 20px;
    }

    .cat-card.large {
        height: 500px;
    }
}

@media (max-width: 768px) {
    .site-header .top-bar {
        height: 60px;
    }

    .header-actions .action-item {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .main-nav {
        display: none;
        /* Hide standard nav on mobile */
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        background: white;
        padding: 20px;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
        z-index: 999;
    }

    .main-nav.open {
        display: block;
    }

    .nav-list {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
        overflow: visible;
        white-space: normal;
    }

    .hero-container {
        grid-template-columns: 1fr;
    }

    .hero-image-wrapper {
        min-height: 300px;
        order: -1;
        /* Image on top on mobile often used or keep text top */
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .cat-stack {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .hero-cards {
        flex-direction: column;
    }

    .slider-container {
        height: 300px;
    }

    .slide-content {
        left: 20px;
        bottom: 20px;
        right: 20px;
    }

    .hero-title {
        font-size: 1.8rem;
    }
}