@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

/*          Header          */
.header{
    display: flex;
    justify-content: space-between;
    padding: 2.5rem;
    background: linear-gradient(90deg,rgba(96, 141, 255, 1) 0%, rgba(72, 106, 192, 1) 100%);
}

.tittle>.info>h1{
    font-size: 32px;
    font-weight: 600;
    color: #fff;
}

.tittle>.info>h1>img{
    width: 50%;
}

.tittle>.info>p{
    font-size: 16px;
    font-weight: 300;
    color: #fff;
}

.items{
    padding-left: 1rem;
}

.items>ul{
    display: flex;
}

.items ul li{
    margin: 1.5rem;
    list-style: none;
}

.items ul li a{
    text-decoration: none;
    color: #fff;
    font-size: 16px;
    font-weight: 400;
    transition: color 0.3s ease;
}

.items ul li a:hover{
    color: #ffd60a;
}

.btn-burger{
    display: none;
}

.toggle-items{
    display: none;
}

/*          RESPONSIVE Header          */
@media only screen and (max-width: 768px){

    .header{
        display: inline-flex;
        width: 100%;
        justify-content: space-between;
        flex-direction: column;
    }

    .header>.tittle{
        display: flex;
        justify-content: space-between;
    }

    .items{
        display: none;
    }

    .btn-burger {
        display: flex;
        margin-top: 20px;
        color: #fff;
        font-size: 25px;
        cursor: pointer;
    }

/* Estado inicial (oculto) */
.toggle-items {
    display: none;
    flex-direction: column;
    margin-top: 15px;
    transition: max-height 0.3s ease;
}

/* Cuando está activo */
.toggle-items.active {
    display: flex;
}

.toggle-items ul {
    width: 100%;
}

.toggle-items ul li {
    margin: .5rem 0;
    padding: 10px;
    background: #4d7dad;
    border-radius: 10px;
    list-style: none;
    text-align: center;
}

.toggle-items ul li a {
    text-decoration: none;
    margin-left: 5px;
    color: #fff;
    font-size: 15px;
    font-weight: 400;
}

.toggle-items ul li a:hover {
    text-decoration: underline;
}

}


/*          Main          */
main{
    margin: 3rem 5rem;
}

.search{
    display: flex;
    flex-direction: column;
    padding: 0 5rem 0  5rem;
}

.category{
    display: flex;
    justify-content: center;
}

.category>p{
    margin-right: 2rem;
    margin-top: 7px;
    font-size: 16px;
    background: -webkit-linear-gradient(#6388ff, #3956b3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.input_search{
    display: flex;
    justify-content: center;
    margin-top: 15px;
}

.input_search>input{
    width: 25rem;
    padding: 8px;
    border: solid;
    border-radius: 10px;
    border-color: #4F75EF;
}

.category>form>select{
    width: 7rem;
    padding: 8px;
    margin-right: 15px;
    border: solid;
    border-radius: 10px;
    border-color: #4F75EF;
}

.category>form>button{
    color: #fff;
    padding: 10px 20px 10px 20px;
    border: none;
    border-radius: 12px;
    background: #5D79BF;
}

.category>form>button:hover{
    background: rgb(55, 88, 196);
    cursor: pointer;
}

@media (max-width: 900px) {
    main{
        margin: 3rem 0;
    }
}





/* ===== Sección Dress ===== */
.dress {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 40px;
    margin: 3rem 5rem;
}

/* Card */
.dress-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.dress-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

/* Imagen */
.dress-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

/* Contenido */
.dress-card .contenido {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.dress-card .contenido h2 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #222;
}

.dress-card .contenido p {
    font-size: 0.95rem;
    color: #555;
    margin-bottom: 12px;
    line-height: 1.4;
}

.dress-card .precio {
    font-size: 1.3rem;
    font-weight: bold;
    color: #007acc;
    margin-top: auto;
}

/* Sección de talles */
.dress-card .talles {
    margin-top: 12px;
    font-size: 0.9rem;
    color: #333;
}

.dress-card .talles span {
    display: inline-block;
    margin-right: 8px;
    margin-top: 6px;
    padding: 6px 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 500;
    background: #f5f5f5;
    color: #444;
    transition: background 0.3s ease, border-color 0.3s ease;
}

.dress-card .talles span:hover {
    background: #e9f3ff;
    border-color: #007acc;
    color: #007acc;
}


/* Footer con botones */
.dress-card .footer-card {
    border-top: 1px solid #e5e5e5;
    background: #f9f9f9;
    padding: 15px;
    display: flex;
    gap: 10px;
    justify-content: space-between;
    flex-wrap: wrap;
}

/* Botón azul "Ver más" */
.btn-vermas {
    flex: 1;
    text-align: center;
    background: #007acc;
    color: #fff;
    padding: 10px 0;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.3s ease, transform 0.2s ease;
}

.btn-vermas:hover {
    background: #005f99;
    transform: translateY(-2px);
}

/* Botón verde "WhatsApp" */
.btn-whatsapp {
    flex: 1;
    text-align: center;
    background: #25D366;
    color: #fff;
    padding: 10px 0;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.3s ease, transform 0.2s ease;
}

.btn-whatsapp:hover {
    background: #1ebe5b;
    transform: translateY(-2px);
}

/* Responsive: márgenes más chicos */
@media (max-width: 900px) {
    .dress {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        margin: 2rem 1.5rem;
        gap: 20px;
    }
}



/* ===== FOOTER ===== */
.footer {
    background: linear-gradient(90deg,rgb(37, 85, 207) 0%, rgba(72, 106, 192, 1) 100%);
    color: #fff;
    padding: 40px 20px 20px 20px;
    margin-top: 50px;
}

.footer-container {
    max-width: 1200px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 40px;
}

/* Info a la izquierda */
.footer-info {
    flex: 1;
}

.footer-info h3 {
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 10px;
}

.footer-info p {
    font-size: 0.95rem;
    opacity: 0.9;
    line-height: 1.6;
}

/* Links a la derecha */
.footer-links {
    flex: 1;
    text-align: right;
}

.footer-links h4 {
    font-size: 1.1rem;
    margin-bottom: 12px;
    color: #ffff;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links ul li {
    margin-bottom: 8px;
}

.footer-links ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.footer-links ul li a:hover {
    color: #ffd60a;
}

/* Copy */
.footer-copy {
    text-align: center;
    margin-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.2);
    padding-top: 15px;
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Responsive */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        display: flex;
        text-align: center;
        /* justify-content: center; */
        align-content: center;
    }
    .footer-links {
        text-align: center;
    }
}



/* ===== CONTACTO ===== */
.contacto {
    max-width: 1100px;
    margin: 3rem auto;
    padding: 0 20px;
    text-align: center;
}

.contacto h1 {
    font-size: 2rem;
    margin-bottom: 10px;
    color: #007acc;
}

.contacto .intro {
    font-size: 1rem;
    margin-bottom: 40px;
    color: #555;
}

.contacto-container {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
}

.contacto-info, .contacto-form {
    flex: 1;
    min-width: 300px;
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    text-align: left;
}

.contacto-info h2,
.contacto-form h2 {
    color: #007acc;
    margin-bottom: 15px;
}

.contacto-info p {
    margin-bottom: 12px;
    font-size: 0.95rem;
}

.contacto-form form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contacto-form input,
.contacto-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 0.95rem;
}

.contacto-form textarea {
    min-height: 120px;
    resize: vertical;
}

.contacto-form button {
    background: #007acc;
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    padding: 12px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.contacto-form button:hover {
    background: #005f99;
}

.talle-item {
    display: inline-block;
    background: #0077b6;
    color: white;
    padding: 5px 10px;
    border-radius: 8px;
    margin: 3px;
    font-size: 0.9rem;
    font-weight: 600;
}
