/* ===== RESET & VARIABLES ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-primary: #ffffff;
    --bg-cream: #faf7f2;
    --bg-light: #f5f0ea;
    --pink: #d6336c;
    --pink-light: #e8457a;
    --pink-dark: #c2255c;
    --pink-glow: rgba(214, 51, 108, 0.15);
    --green-whatsapp: #25D366;
    --green-whatsapp-dark: #1da851;
    --text-dark: #1a1a1a;
    --text-body: #555555;
    --text-muted: #999999;
    --border-color: #e8e4de;
    --border-light: #f0ece6;
    --transition: all 0.3s ease;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    background: var(--bg-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
}

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

img {
    max-width: 100%;
    display: block;
}

/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--bg-primary);
    border-bottom: 1px solid var(--border-light);
    transition: var(--transition);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: 4px;
    color: var(--text-dark);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--text-body);
    transition: var(--transition);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--pink);
    transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--pink);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.search-btn {
    background: none;
    border: none;
    font-size: 1.1rem;
    color: var(--text-body);
    cursor: pointer;
    transition: var(--transition);
    padding: 8px;
}

.search-btn:hover {
    color: var(--pink);
}

.nav-cta {
    background: var(--green-whatsapp);
    color: #fff;
    padding: 8px 18px;
    border-radius: 25px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-cta:hover {
    background: var(--green-whatsapp-dark);
    transform: translateY(-1px);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.4rem;
    color: var(--text-dark);
    cursor: pointer;
}

/* Search Bar */
.search-bar {
    display: none;
    background: var(--bg-cream);
    border-bottom: 1px solid var(--border-color);
    padding: 15px 0;
}

.search-bar.active {
    display: block;
}

.search-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.search-container i {
    color: var(--text-muted);
    font-size: 1rem;
}

.search-container input {
    flex: 1;
    border: none;
    background: transparent;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: var(--text-dark);
    outline: none;
}

.search-container input::placeholder {
    color: var(--text-muted);
}

.search-close {
    background: none;
    border: none;
    font-size: 1.1rem;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition);
}

.search-close:hover {
    color: var(--text-dark);
}

/* ===== HERO BANNER ===== */
.hero-banner {
    margin-top: 70px;
    background: linear-gradient(135deg, var(--bg-cream) 0%, #f8ece2 50%, #fce4ec 100%);
    padding: 60px 30px;
    text-align: center;
}

.hero-banner .hero-tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--pink);
    margin-bottom: 12px;
}

.hero-banner h1 {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.hero-banner h1 em {
    font-style: italic;
    color: var(--pink);
}

.hero-banner p {
    font-size: 1rem;
    color: var(--text-body);
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ===== FILTER BAR ===== */
.filter-bar {
    position: sticky;
    top: 70px;
    z-index: 900;
    background: var(--bg-primary);
    border-bottom: 1px solid var(--border-light);
    padding: 0 30px;
}

.filter-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.filter-tabs {
    display: flex;
    gap: 5px;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 15px 0;
}

.filter-tabs::-webkit-scrollbar {
    display: none;
}

.filter-btn {
    background: none;
    border: 1px solid transparent;
    padding: 8px 16px;
    font-family: 'Inter', sans-serif;
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--text-body);
    cursor: pointer;
    border-radius: 25px;
    white-space: nowrap;
    transition: var(--transition);
}

.filter-btn:hover {
    border-color: var(--border-color);
    color: var(--text-dark);
}

.filter-btn.active {
    background: var(--pink);
    color: #fff;
    border-color: var(--pink);
}

.filter-btn .count {
    font-size: 0.7rem;
    opacity: 0.7;
    margin-left: 3px;
}

.filter-sort select {
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    padding: 8px 14px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: var(--bg-primary);
    color: var(--text-body);
    cursor: pointer;
    outline: none;
    appearance: auto;
}

/* ===== PRODUCTS GRID ===== */
.products-section {
    padding: 40px 30px 80px;
}

.products-container {
    max-width: 1200px;
    margin: 0 auto;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.product-card {
    background: var(--bg-primary);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid var(--border-light);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.product-card.hidden {
    display: none;
}

.product-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/5;
    background: var(--bg-cream);
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.product-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--pink);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 4px;
}

.product-actions {
    position: absolute;
    top: 12px;
    right: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    opacity: 0;
    transform: translateX(10px);
    transition: var(--transition);
}

.product-card:hover .product-actions {
    opacity: 1;
    transform: translateX(0);
}

.action-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.95);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.85rem;
    color: var(--text-dark);
    transition: var(--transition);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.action-btn:hover {
    background: var(--pink);
    color: #fff;
}

.product-info {
    padding: 18px;
}

.product-category {
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--pink);
    display: block;
    margin-bottom: 6px;
}

.product-info h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 6px;
}

.product-desc {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 14px;
}

.product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 14px;
    border-top: 1px solid var(--border-light);
}

.product-price {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-dark);
}

.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--green-whatsapp);
    color: #fff;
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.whatsapp-btn:hover {
    background: var(--green-whatsapp-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.whatsapp-btn i {
    font-size: 1rem;
}

/* No Results */
.no-results {
    text-align: center;
    padding: 80px 20px;
    color: var(--text-muted);
}

.no-results i {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--border-color);
}

.no-results h3 {
    font-size: 1.3rem;
    margin-bottom: 8px;
    color: var(--text-body);
}

/* ===== WHATSAPP FLOATING ===== */
.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 60px;
    height: 60px;
    background: var(--green-whatsapp);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.8rem;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: var(--transition);
    animation: pulse-wa 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

@keyframes pulse-wa {
    0%, 100% { box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4); }
    50% { box-shadow: 0 4px 25px rgba(37, 211, 102, 0.6); }
}

/* ===== FOOTER ===== */
.footer {
    background: var(--text-dark);
    color: #ccc;
    padding: 60px 30px 0;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: 4px;
    color: #fff;
    display: inline-block;
    margin-bottom: 15px;
}

.footer-desc {
    font-size: 0.85rem;
    line-height: 1.7;
    color: #aaa;
    margin-bottom: 20px;
}

.footer-socials {
    display: flex;
    gap: 12px;
}

.footer-socials a {
    width: 38px;
    height: 38px;
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #aaa;
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-socials a:hover {
    border-color: var(--pink);
    color: var(--pink);
}

.footer-col h4 {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: #fff;
    margin-bottom: 20px;
}

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

.footer-col ul li {
    margin-bottom: 10px;
    font-size: 0.85rem;
    color: #aaa;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-col ul li i {
    font-size: 0.85rem;
    color: var(--pink);
}

.footer-col ul a {
    color: #aaa;
    transition: var(--transition);
}

.footer-col ul a:hover {
    color: var(--pink);
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: #777;
}

/* ===== ANIMATIONS ===== */
.fade-in {
    opacity: 0;
    transform: translateY(25px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
}

@media (max-width: 900px) {
    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--bg-primary);
        flex-direction: column;
        padding: 20px 30px;
        gap: 15px;
        border-bottom: 1px solid var(--border-light);
        display: none;
        box-shadow: var(--shadow-md);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-right {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

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

    .filter-container {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    .filter-tabs {
        padding: 10px 0;
    }

    .filter-sort {
        padding-bottom: 10px;
    }

    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
}

@media (max-width: 600px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .product-info {
        padding: 12px;
    }

    .product-info h3 {
        font-size: 0.95rem;
    }

    .product-desc {
        display: none;
    }

    .product-price {
        font-size: 1rem;
    }

    .whatsapp-btn {
        padding: 6px 12px;
        font-size: 0.7rem;
    }

    .whatsapp-btn span {
        display: none;
    }

    .hero-banner {
        padding: 40px 20px;
    }

    .hero-banner h1 {
        font-size: 1.6rem;
    }

    .hero-banner p {
        font-size: 0.85rem;
    }

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

    .whatsapp-float {
        width: 52px;
        height: 52px;
        font-size: 1.5rem;
        bottom: 20px;
        right: 20px;
    }
}

@media (max-width: 400px) {
    .products-grid {
        grid-template-columns: 1fr;
    }

    .product-footer {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    .whatsapp-btn {
        justify-content: center;
    }
}
