﻿/* Reset mínimo */
@import url('colors.css');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #fffaf7;
    color: #444;
}

/* HEADER */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background-color: #fff3e8;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: #f4c09d;
}

.logo-main {
    width: 250px;
    height: 250px;
    object-fit: contain;
    margin-bottom: 1.5rem;
}

.nav-links a {
    margin-left: 1.5rem;
    color: #444;
    text-decoration: none;
}

/* HERO */
.hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 3rem 2rem;
    background-color: #fefefe;
}

.hero-text h1 {
    font-size: 2.5rem;
    color: #555;
    margin-bottom: 1rem;
}

.hero-text p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.btn-primary {
    background-color: #f4c09d;
    color: white;
    padding: 0.8rem 2rem;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
}

.hero-img img {
    max-width: 400px;
    border-radius: 1rem;
}

/* FEATURES */
.features {
    display: flex;
    justify-content: space-around;
    padding: 2.5rem 1rem;
}

.feature-card {
    flex: 1;
    margin: 0 0.5rem;
    padding: 1.5rem;
    border-radius: 1rem;
    text-align: center;
}

.pink {
    background-color: #f2aaae;
    color: white;
}

.yellow {
    background-color: #ffe7c1;
    color: #444;
}

.blue {
    background-color: #d0e9e9;
    color: #444;
}

/* BEST SELLERS */
.best-sellers {
    padding: 2.5rem 1rem;
    text-align: center;
}

    .best-sellers h2 {
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 1.5rem;
}

.product-card {
    background: white;
    border-radius: 0.75rem;
    padding: 1rem;
    text-align: center;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

    .product-card img {
        max-width: 100%;
        border-radius: 0.5rem;
        margin-bottom: 0.75rem;
    }

    .product-card h4 {
        margin-bottom: 0.5rem;
        font-size: 1.1rem;
    }

    .product-card p {
        color: #777;
    }

.enproceso-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 80px);
    background-color: #fffaf7;
    padding: 2rem;
    text-align: center;
}

    .enproceso-container h2 {
        margin-top: 1.5rem;
        font-size: 2.25rem;
        color: #444;
    }

    .enproceso-container p {
        margin-top: 0.5rem;
        font-size: 1rem;
        color: #777;
    }

.circle-loader {
    width: 80px;
    height: 80px;
    border: 8px solid #d0e9e9;
    border-top-color: #f2aaae;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}
.inprocess-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    background-color: var(--color-peach-ligth);
    text-align: center;
    padding: 2rem;
    font-family: 'Segoe UI', sans-serif;
    color: #333;
}

.circle-loader {
    width: 80px;
    height: 80px;
    border: 8px solid #D0E9E9;
    border-top-color: #F2AAAE;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 1.5rem;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.inprocess-container h2 {
    font-size: 2rem;
    font-weight: bold;
    color: #F2AAAE;
    margin-bottom: 0.5rem;
}

.inprocess-container p {
    color: #D0AAD1;
    max-width: 500px;
    font-size: 1.1rem;
}

.inprocess-container footer {
    margin-top: 2rem;
    font-size: 0.9rem;
    color: #F4C09D;
}

/*Imagenes decorativas del InProces*/
/* Fondo decorativo */
#decorations-container {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.decoration {
    position: absolute;
    opacity: 0.20; /* ✅ más visible */
    z-index: 0;
    max-width: 120px;
    transition: transform 30s linear;
    user-select: none;
}
@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-10px) rotate(3deg);
    }
}