@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Playfair+Display:ital,wght@0,400;0,700;1,400&display=swap');

:root {
    --primary: #ff7cb3;
    --primary-light: #ffd1e3;
    --primary-dark: #d8959a;
    --bg-cream: #fff9fb;
    --text-dark: #2F2A2C;
    --text-muted: #6E5A57;
    --white: #ffffff;
    --glass: rgba(255, 255, 255, 0.7);
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

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

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

h1, h2, h3, .brand-name {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

/* --- Logo --- */
.logo-container {
    display: flex;
    flex-direction: column;
    cursor: pointer;
}

.brand-logo {
    font-family: 'Great Vibes', cursive;
    font-size: 2.8rem;
    color: var(--primary);
    line-height: 0.8;
}

.brand-subtext {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 0.7rem;
    letter-spacing: 4px;
    color: var(--primary-dark);
    align-self: flex-end; /* Align to the right */
    margin-right: 5px;
}

/* --- Navigation --- */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 0.8rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--glass);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 124, 179, 0.1);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav-links li {
    position: relative;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 5px;
}

.nav-links a:hover {
    color: var(--primary);
    border-bottom: 2px solid var(--primary-dark);
}

/* Dropdown */
.dropdown-content {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    min-width: 180px;
    box-shadow: var(--shadow);
    border-radius: 12px;
    padding: 1rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    border: 1px solid rgba(255, 124, 179, 0.1);
}

.dropdown:hover .dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-content a {
    padding: 0.8rem 1.5rem;
    font-size: 0.8rem;
    border: none !important;
}

.dropdown-content a:hover {
    background: var(--bg-cream);
    color: var(--primary);
}

/* --- Mobile Filter Bar --- */
.mobile-filter-bar {
    display: none;
    background: var(--white);
    padding: 1rem 5%;
    overflow-x: auto;
    white-space: nowrap;
    position: sticky;
    top: 70px;
    z-index: 900;
    border-bottom: 1px solid #eee;
    gap: 0.8rem;
    scrollbar-width: none; /* Hide scrollbar Firefox */
}

.mobile-filter-bar::-webkit-scrollbar { display: none; }

.filter-chip {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    border-radius: 20px;
    background: var(--bg-cream);
    border: 1px solid #eee;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.filter-chip.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.cart-icon {
    position: relative;
    cursor: pointer;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -12px;
    background: var(--primary);
    color: white;
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 50%;
}

/* --- Hero Section --- */
.hero {
    height: 100vh;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    align-items: center;
    padding: 0 5% 0 10%;
    background: linear-gradient(135deg, #fff9fb 0%, #ffd1e3 100%);
    position: relative;
    overflow: hidden;
}

.hero-content {
    z-index: 2;
}

.hero h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s forwards 0.5s;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s forwards 0.7s;
}

/* Hero Collage */
.hero-collage {
    position: relative;
    height: 80%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.floating-img {
    position: absolute;
    background: var(--white);
    padding: 10px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    border-radius: 12px;
    overflow: hidden;
    animation: float 6s ease-in-out infinite;
}

.floating-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    display: block;
}

.img-1 {
    width: 250px;
    height: 350px;
    top: 10%;
    left: 10%;
    z-index: 3;
    animation-delay: 0s;
}

.img-2 {
    width: 220px;
    height: 300px;
    bottom: 15%;
    right: 5%;
    z-index: 2;
    animation-delay: -2s;
}

.img-3 {
    width: 180px;
    height: 250px;
    top: 20%;
    right: 15%;
    z-index: 1;
    animation-delay: -4s;
    opacity: 0.8;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0); }
    50% { transform: translateY(-20px) rotate(2deg); }
}

.btn-primary {
    display: inline-block;
    padding: 1.2rem 2.5rem;
    background: var(--text-dark);
    color: var(--white);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(246, 177, 166, 0.3);
}

/* --- Products --- */
.section-title {
    text-align: center;
    margin: 5rem 0 3rem;
    font-size: 2.5rem;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    padding: 0 5% 5rem;
}

.product-card {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 20px;
    transition: var(--transition);
    border: 1px solid rgba(216, 149, 154, 0.2); /* Using #d8959a with alpha */
}

.product-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(255, 124, 179, 0.15);
}

.product-img-wrapper {
    position: relative;
    width: 100%;
    margin-bottom: 1rem;
    overflow: hidden;
    border-radius: 12px;
}

.product-img {
    width: 100%;
    aspect-ratio: 3/4;
    background: #fdf2f0;
    object-fit: cover;
    display: block;
    transition: var(--transition);
}

.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(5px);
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-dark);
    z-index: 10;
    opacity: 0;
    transition: var(--transition);
}

.product-img-wrapper:hover .carousel-arrow {
    opacity: 1;
}

.arrow-left { left: 10px; }
.arrow-right { right: 10px; }

.carousel-arrow:hover {
    background: var(--white);
    color: var(--primary);
}

.carousel-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 10;
}

.dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(0,0,0,0.2);
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background: var(--primary);
    transform: scale(1.3);
}

.variation-section {
    margin-bottom: 1.2rem;
}

.variation-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    display: block;
}

.chip-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.chip {
    padding: 0.4rem 0.8rem;
    border: 1px solid #eee;
    background: var(--white);
    font-size: 0.8rem;
    border-radius: 6px;
    cursor: pointer;
    transition: var(--transition);
}

.chip:hover {
    border-color: var(--primary-light);
}

.chip.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.color-dot {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 1px solid #eee;
    cursor: pointer;
    transition: var(--transition);
}

.color-dot.active {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

.product-info h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.product-price {
    color: var(--primary-dark);
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

/* --- Cart Modal --- */
.cart-modal {
    position: fixed;
    top: 0;
    right: -100%;
    width: 400px;
    height: 100vh;
    background: var(--white);
    z-index: 2000;
    padding: 2rem;
    box-shadow: -10px 0 50px rgba(0,0,0,0.1);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.cart-modal.active {
    right: 0;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0,0,0,0.2);
    backdrop-filter: blur(5px);
    z-index: 1500;
    display: none;
}

.overlay.active {
    display: block;
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eee;
}

.cart-items {
    flex-grow: 1;
    overflow-y: auto;
}

.cart-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.cart-item img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 8px;
}

.cart-footer {
    padding-top: 2rem;
    border-top: 1px solid #eee;
}

.total-row {
    display: flex;
    justify-content: space-between;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

/* --- Animations --- */
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Nosotros Section --- */
#nosotros {
    padding: 8rem 5%;
    background: var(--bg-cream);
}

.nosotros-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 5rem;
    align-items: center;
}

.nosotros-img {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.nosotros-img img {
    width: 100%;
    display: block;
    transition: var(--transition);
}

.nosotros-img:hover img {
    transform: scale(1.05);
}

.section-subtitle {
    display: block;
    text-transform: uppercase;
    color: var(--primary);
    font-weight: 700;
    letter-spacing: 3px;
    font-size: 0.8rem;
    margin-bottom: 1rem;
}

.nosotros-text h2 {
    font-size: 3rem;
    margin-bottom: 2rem;
    line-height: 1.2;
}

.nosotros-text p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    text-align: justify;
}

.nosotros-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    text-align: center;
}

.feature-item ion-icon {
    font-size: 2rem;
    color: var(--primary);
}

.feature-item span {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

@media (max-width: 768px) {
    .nosotros-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .nosotros-text h2 {
        font-size: 2.2rem;
    }
    .nosotros-features {
        grid-template-columns: 1fr;
    }
}

/* --- Contact Section --- */
#contacto {
    padding: 8rem 5%;
    background: var(--white);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-info p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.method {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.method ion-icon {
    font-size: 1.5rem;
    color: var(--primary);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.input-group label {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-dark);
}

.input-group input, .input-group textarea {
    padding: 1rem;
    border: 1px solid #eee;
    border-radius: 8px;
    font-family: inherit;
    transition: var(--transition);
    background: var(--bg-cream);
}

.input-group input:focus, .input-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(255, 124, 179, 0.1);
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 { font-size: 3rem; }
    .nav-links { display: none; }
    .cart-modal { width: 100%; }
    .contact-container { grid-template-columns: 1fr; gap: 3rem; }
    .mobile-filter-bar { display: flex; }
    nav { padding: 1rem 5%; }
    .whatsapp-float { bottom: 20px; right: 20px; width: 50px; height: 50px; font-size: 25px; }
}

/* --- WhatsApp Float --- */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background-color: #128c7e;
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

.whatsapp-float a {
    color: white;
    display: flex;
}

@keyframes pulse {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { transform: scale(1.05); box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

