

/* ==========================================
   CSS VARIABLES
   ========================================== */
:root {
    --primary-pink: #FF6B9D;
    --primary-red: #ff3e6c;
    --secondary-color: #FFA8CC;
    --accent-color: #FFD700;
    --dark-text: #212121;
    --light-text: #666;
    --border-color: rgba(0, 0, 0, 0.1);
    --bg-gray: #F5F5F5;
    --white: #FFFFFF;
    --success-green: #10B981;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================
   RESET & BASE STYLES
   ========================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--dark-text);
    line-height: 1.5;
    overflow-x: hidden;
    font-size: 14px;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
    transition: var(--transition);
}

/* ==========================================
   HEADER - EXACT REPLICA
   ========================================== */

/* Main Header */
.main-header {
    position: sticky;
    top: 0;
    background: var(--white);
    z-index: 1000;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

/* Top Navigation Bar */
.top-nav {
    border-bottom: 1px solid var(--border-color);
    padding: 12px 0;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

/* Left Section */
.nav-left {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 0 0 auto;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    padding: 4px;
    cursor: pointer;
}

/* Logo */
.logo {
    display: flex;
    flex-direction: column;
    gap: 2px;
    text-decoration: none;
}

.logo img {
    height: 20px;
    width: auto;
}

.logo .tagline {
    font-size: 10px;
    color: rgba(0, 0, 0, 0.5);
    line-height: 1;
}

/* City Selector */
.city-selector {
    display: flex;
    align-items: center;
    gap: 6px;
    background: none;
    border: none;
    font-size: 14px;
    color: var(--dark-text);
    cursor: pointer;
    padding: 0;
    transition: color 0.2s ease;
}

.city-selector:hover {
    color: var(--primary-pink);
}

.city-selector svg:first-child {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

.city-selector svg:last-child {
    width: 10px;
    height: 6px;
    flex-shrink: 0;
}

/* Center Section */
.nav-center {
    flex: 1;
    max-width: 500px;
    display: flex;
    justify-content: center;
}

.search-bar {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: #f4f4f4;
    border: 1px solid #ebebeb;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.search-bar:hover {
    border-color: var(--primary-pink);
    background: #fafafa;
}

.search-bar svg {
    width: 18px;
    height: 18px;
    color: #666;
    opacity: 0.6;
    flex-shrink: 0;
}

.search-bar span {
    font-size: 14px;
    color: #999;
}

/* Right Section */
.nav-right {
    display: flex;
    align-items: center;
    gap: 24px;
    flex: 0 0 auto;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    text-decoration: none;
    color: var(--dark-text);
    cursor: pointer;
    transition: color 0.2s ease;
}

.nav-item:hover {
    color: var(--primary-pink);
}

.nav-item svg {
    width: 20px;
    height: 20px;
}

.nav-item span {
    font-size: 13px;
    font-weight: 400;
}

/* Cart Item */
.cart-item .icon-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-badge {
    position: absolute;
    top: -6px;
    right: -8px;
    background: var(--primary-pink);
    color: white;
    font-size: 10px;
    font-weight: 600;
    padding: 2px 5px;
    border-radius: 50%;
    min-width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

/* User Item */
.user-item {
    position: relative;
}

.user-trigger {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    cursor: pointer;
}

.user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255, 107, 157, 0.6), rgba(255, 107, 157, 0.9));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 14px;
}

.user-trigger span {
    font-size: 13px;
    color: var(--dark-text);
}

/* User Dropdown */
.user-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 8px;
    background: white;
    min-width: 160px;
    padding: 8px;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all 0.2s ease;
    z-index: 100;
}

.user-item:hover .user-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px;
    font-size: 14px;
    color: var(--dark-text);
    text-decoration: none;
    border-radius: 4px;
    transition: background 0.2s ease;
    width: 100%;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
}

.dropdown-item:hover {
    background: #f5f5f5;
}

.logout-btn {
    color: #ef4444;
}

.dropdown-item svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

/* Bottom Navigation Menu */
.bottom-nav {
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.03);
}

.menu-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
}

.menu-item {
    position: relative;
}

.menu-trigger {
    padding: 12px 0;
    font-size: 14px;
    font-weight: 400;
    color: var(--dark-text);
    background: none;
    border: none;
    cursor: pointer;
    transition: color 0.2s ease;
}

.menu-trigger:hover {
    color: var(--primary-pink);
}

/* Menu Dropdown */
.menu-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 0;
    background: white;
    min-width: 200px;
    padding: 12px 16px;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all 0.2s ease;
    z-index: 100;
}

.menu-item:hover .menu-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.menu-dropdown a {
    display: block;
    padding: 6px 0;
    font-size: 13px;
    color: var(--light-text);
    text-decoration: none;
    transition: all 0.2s ease;
}

.menu-dropdown a:hover {
    color: var(--primary-pink);
    transform: translateX(4px);
}

/* ==========================================
   MOBILE MENU OVERLAY
   ========================================== */

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu {
    position: absolute;
    top: 0;
    left: 0;
    width: 80%;
    max-width: 300px;
    height: 100%;
    background: white;
    padding: 24px;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
}

.mobile-menu-overlay.active .mobile-menu {
    transform: translateX(0);
}

.mobile-menu-close {
    font-size: 32px;
    color: var(--dark-text);
    background: none;
    border: none;
    cursor: pointer;
    margin-bottom: 24px;
    padding: 0;
    line-height: 1;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.mobile-nav a {
    font-size: 16px;
    font-weight: 500;
    color: var(--dark-text);
    text-decoration: none;
    transition: color 0.2s ease;
}

.mobile-nav a:hover {
    color: var(--primary-pink);
}

/* ==========================================
   HERO CAROUSEL
   ========================================== */

.hero-carousel {
    position: relative;
    width: 100%;
    height: 150px;
    overflow: hidden;
    background: var(--white);
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease;
}

.carousel-slide.active {
    opacity: 1;
    visibility: visible;
}

.carousel-slide a {
    display: block;
    width: 100%;
    height: 100%;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Hide carousel navigation buttons */
.carousel-btn {
    display: none;
}

/* Carousel dots/indicators at bottom */
.carousel-dots {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    z-index: 10;
    padding: 0.5rem 1rem;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 20px;
    backdrop-filter: blur(4px);
}

.carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    padding: 0;
}

.carousel-dot:hover {
    background: rgba(255, 255, 255, 0.8);
}

.carousel-dot.active {
    background: white;
    width: 28px;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* ==========================================
   MAIN CONTENT
   ========================================== */

.main-content {
    max-width: 1280px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

/* Section Headings */
.section-heading {
    text-align: center;
    font-size: 1.625rem;
    font-weight: 700;
    color: var(--dark-text);
    margin-bottom: 0.35rem;
}

.section-subheading {
    text-align: center;
    font-size: 13px;
    color: var(--light-text);
    margin-bottom: 1.5rem;
}

/* Categories Section - FIXED SIZING */
.categories-section {
    margin-bottom: 3rem;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1.5rem;
    margin-top: 1.25rem;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.category-card {
    text-align: center;
    transition: var(--transition);
}

.category-card:hover {
    transform: translateY(-3px);
}

.category-img-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    aspect-ratio: 1;
    max-width: 180px;
    margin: 0 auto;
}

.category-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.category-name {
    margin-top: 0.6rem;
    font-weight: 600;
    font-size: 14px;
    color: var(--dark-text);
}

/* Products Section */
.products-section {
    margin-bottom: 3rem;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
}

.section-title {
    font-size: 1.25rem;
    font-weight: 700;
}

.view-all-link {
    color: var(--primary-pink);
    font-weight: 600;
    font-size: 13px;
    text-decoration: underline;
}

.view-all-link:hover {
    color: var(--primary-red);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1rem;
}

.product-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 3px 14px rgba(0, 0, 0, 0.08);
}

.product-img-wrapper {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    background: #fafafa;
}

.product-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-rating {
    position: absolute;
    bottom: 0.4rem;
    right: 0.4rem;
    background: rgba(255, 255, 255, 0.95);
    padding: 0.2rem 0.45rem;
    border-radius: 5px;
    font-size: 11px;
    font-weight: 500;
}

.rating-value {
    color: var(--dark-text);
}

.rating-count {
    color: var(--light-text);
    font-size: 10px;
}

.product-info {
    padding: 0.75rem;
}

.product-name {
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 0.45rem;
    line-height: 1.3;
    color: var(--dark-text);
}

.product-price {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    flex-wrap: wrap;
}

.current-price {
    font-size: 0.938rem;
    font-weight: 700;
    color: var(--primary-pink);
}

.original-price {
    font-size: 12px;
    color: var(--light-text);
    text-decoration: line-through;
}

.discount {
    background: var(--success-green);
    color: white;
    font-size: 10px;
    padding: 0.125rem 0.35rem;
    border-radius: 3px;
    font-weight: 600;
}

/* Kids Themes */
.kids-themes-section,
.wedding-collection-section {
    margin-bottom: 3rem;
}

.themes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 1rem;
    margin-top: 1.25rem;
}

.theme-card {
    text-align: center;
    transition: var(--transition);
}

.theme-card:hover {
    transform: translateY(-3px);
}

.theme-img-wrapper.round {
    border-radius: 50%;
    overflow: hidden;
    aspect-ratio: 1;
}

.theme-img-wrapper.round img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.theme-name {
    margin-top: 0.5rem;
    font-weight: 600;
    font-size: 13px;
}

/* Reviews Section */
.reviews-section {
    margin-bottom: 3rem;
}

.reviews-carousel {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1rem;
    margin-top: 1.25rem;
}

.review-card {
    background: white;
    padding: 1.125rem;
    border-radius: 8px;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.05);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.75rem;
}

.reviewer-info {
    flex: 1;
}

.reviewer-name {
    font-weight: 600;
    font-size: 13px;
    color: var(--dark-text);
}

.reviewer-city {
    font-size: 11px;
    color: var(--light-text);
    margin-top: 2px;
}

.review-rating {
    background: var(--accent-color);
    padding: 0.15rem 0.55rem;
    border-radius: 14px;
    font-weight: 600;
    font-size: 11px;
}

.review-text {
    color: var(--light-text);
    font-size: 12px;
    line-height: 1.5;
}

/* FAQ Section */
.faq-section {
    margin-bottom: 3rem;
}

.faq-container {
    max-width: 700px;
    margin: 1.25rem auto 0;
}

.faq-item {
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 0.75rem;
}

.faq-question {
    width: 100%;
    text-align: left;
    padding: 1rem 0;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    background: none;
    border: none;
    color: var(--dark-text);
}

.faq-question:hover {
    color: var(--primary-pink);
}

.faq-icon {
    font-size: 1.25rem;
    transition: transform 0.3s ease;
    line-height: 1;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 180px;
    padding-bottom: 0.75rem;
}

.faq-answer p {
    font-size: 12px;
    color: var(--light-text);
    line-height: 1.6;
}

/* SEO Content */
.seo-content {
    margin-bottom: 3rem;
    line-height: 1.65;
}

.seo-content h2 {
    margin: 1.5rem 0 0.75rem;
    font-size: 1.25rem;
    color: var(--dark-text);
}

.seo-content h3 {
    margin: 1.125rem 0 0.55rem;
    font-size: 1.063rem;
    color: var(--dark-text);
}

.seo-content p {
    margin-bottom: 0.75rem;
    color: var(--light-text);
    font-size: 13px;
}

.seo-content a {
    color: var(--primary-pink);
    text-decoration: underline;
}

.seo-content a:hover {
    color: var(--primary-red);
}

.seo-content strong {
    color: var(--dark-text);
    font-weight: 600;
}

/* ==========================================
   FOOTER
   ========================================== */

.footer {
    background: var(--bg-gray);
    padding: 2rem 0 0.875rem;
    border-top: 1px solid var(--border-color);
}

.footer-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1.5rem;
}

.footer-section {
    display: flex;
    flex-direction: column;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    text-decoration: none;
    margin-bottom: 0.75rem;
}

.footer-logo img {
    height: 18px;
    width: auto;
}

.footer-tagline {
    font-size: 10px;
    color: var(--light-text);
    display: block;
}

.footer-description {
    font-size: 12px;
    color: var(--light-text);
    line-height: 1.5;
}

.footer-heading {
    font-size: 0.938rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--dark-text);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.35rem;
}

.footer-links a {
    font-size: 12px;
    color: var(--light-text);
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: var(--primary-pink);
}

.footer-divider {
    border: none;
    border-top: 1px solid var(--border-color);
    margin: 1.25rem 0 0.875rem;
}

.footer-bottom {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0.75rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.copyright {
    font-size: 12px;
    color: var(--light-text);
}

.social-links {
    display: flex;
    gap: 0.75rem;
}

.social-links a {
    opacity: 0.7;
    transition: opacity 0.2s ease;
}

.social-links a:hover {
    opacity: 1;
}

.social-links img {
    width: 18px;
    height: 18px;
}

/* ==========================================
   WHATSAPP FLOAT BUTTON
   ========================================== */

.whatsapp-float {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    width: 52px;
    height: 52px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.12);
    z-index: 999;
    transition: transform 0.2s ease;
}

.whatsapp-float:hover {
    transform: scale(1.06);
}

.whatsapp-float svg {
    width: 28px;
    height: 28px;
}

/* ==========================================
   UTILITY CLASSES
   ========================================== */

.hidden {
    display: none !important;
}

.block {
    display: block !important;
}

.flex {
    display: flex !important;
}

/* ==========================================
   RESPONSIVE DESIGN
   ========================================== */

/* Tablet and Below */
@media (max-width: 1024px) {
    .bottom-nav {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block !important;
    }
    
    .nav-container {
        gap: 12px;
    }
    
    .menu-container {
        gap: 24px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .top-nav {
        padding: 8px 0;
    }
    
    .nav-container {
        padding: 0 12px;
        gap: 8px;
    }
    
    .nav-left {
        gap: 12px;
    }
    
    .logo img {
        height: 18px;
    }
    
    .logo .tagline {
        font-size: 9px;
    }
    
    /* Hide elements on mobile */
    .city-selector,
    .nav-center {
        display: none !important;
    }
    
    .nav-right {
        gap: 16px;
    }
    
    .nav-right .nav-item:first-child {
        display: none;
    }
    
    /* Smaller sizes */
    .nav-item svg {
        width: 18px;
        height: 18px;
    }
    
    .nav-item span {
        font-size: 11px;
    }
    
    .user-avatar {
        width: 28px;
        height: 28px;
        font-size: 12px;
    }
    
    .cart-badge {
        top: -4px;
        right: -6px;
        font-size: 9px;
        min-width: 14px;
        height: 14px;
    }
    
    /* Carousel */
    .hero-carousel {
        height: 160px;
    }
    
    .carousel-btn {
        width: 36px;
        height: 36px;
        font-size: 1.25rem;
    }
    
    .carousel-btn.prev {
        left: 0.75rem;
    }
    
    .carousel-btn.next {
        right: 0.75rem;
    }
    
    /* Content */
    .main-content {
        padding: 1.5rem 0.75rem;
    }
    
    .section-heading {
        font-size: 1.375rem;
    }
    
    .categories-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.75rem;
    }
    
    .category-img-wrapper {
        max-width: 100%;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
    
    .themes-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.75rem;
    }
    
    .reviews-carousel {
        grid-template-columns: 1fr;
    }
    
    /* Footer */
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .nav-right {
        gap: 12px;
    }
    
    .logo img {
        height: 16px;
    }
    
    .hero-carousel {
        height: 100px;
    }
    
    .section-heading {
        font-size: 1.125rem;
    }
    
    .categories-grid,
    .themes-grid {
        gap: 0.5rem;
    }
    
    .category-name,
    .theme-name {
        font-size: 11px;
    }
    
    .whatsapp-float {
        width: 48px;
        height: 48px;
        bottom: 1rem;
        right: 1rem;
    }
}

/* Large Desktop */
@media (min-width: 1400px) {
    .nav-container,
    .menu-container {
        max-width: 1400px;
    }
}

/* Desktop Only */
@media (min-width: 769px) {
    .mobile-menu-btn {
        display: none !important;
    }
}