.container-products {
    background-image: url("https://jikiu.pe/images/logo/jikiu-blue-50.webp"), url("https://jikiu.pe/images/backgrounds/background-products.webp");
    background-size: 300px auto, cover;
    background-position: 0 calc(50% + 50px), center;
    background-repeat: no-repeat, no-repeat;
}

.contain-products {
    width: 90%;
    margin: 0 auto;
    max-width: 1200px;
    padding: 150px 0 30px;
}

.title-products {
    color: var(--blue-low-color);
    text-align: center;
}

.title-products span {
    color: var(--red-color);
}

.container-form {
    font-family: var(--font-text-bold);
}

.options {
    display: flex;
    margin-top: 40px;
    gap: 1rem;
}

.option {
    display: inline-flex;
    background-color: var(--blue-low-color);
    color: white;
    border: none;
    padding: 12px 20px;
    cursor: pointer;
    border-radius: 5px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
}

.disabled-button {
    background-color: #fff;
    border: 1px solid var(--blue-low-color);
    color: var(--blue-low-color);
    font-weight: 500;
}

.container-form {
    margin-top: 40px;
}


.location-form {
    display: none;
    width: 100%;
    gap: 1rem;
}

.location-form.active {
    display: flex;
}

.form-1 input {
    width: 85%;
    color: #727272;
    border: 1px solid #ccc;
    padding: 12px 28px;
    border-radius: 5px;
}

.form-1 .search-location {
    width: 15%;
    background-color: var(--blue-low-color);
    color: white;
    border: none;
    padding: 12px 20px;
    cursor: pointer;
    border-radius: 5px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
}


.form-1 input:focus,
.form-2 select:focus {
    border: 1px solid var(--blue-low-color);
    /* Azul */
    outline: none;
    /* Elimina el contorno predeterminado del navegador */
    box-shadow: 0 0 5px var(--blue-low-color);
    /* Agrega un efecto de sombra */
    transition: border .4s, box-shadow 0.3s;
    /* Animación suave */
}

.form-2 select {
    width: 28.3%;
    color: #727272;
    border: 1px solid #ccc;
    padding: 12px 28px;
    border-radius: 5px;
    padding-right: 35px;
    /* Más espacio a la derecha */
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="18" height="18"><path fill="%230762C8" d="M7 10l5 5 5-5z"/></svg>');
    /* Flecha SVG */
    background-position: right 10px center;
    background-repeat: no-repeat;
    background-size: 20px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

.form-2 .search-location {
    width: 15%;
    background-color: var(--blue-low-color);
    color: white;
    border: none;
    padding: 12px 20px;
    cursor: pointer;
    border-radius: 5px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
}


.form-2 input:focus {
    border: 1px solid var(--blue-low-color);
    /* Azul */
    outline: none;
    /* Elimina el contorno predeterminado del navegador */
    box-shadow: 0 0 5px var(--blue-low-color);
    /* Agrega un efecto de sombra */
    transition: border .4s, box-shadow 0.3s;
    /* Animación suave */
}


.products {
    /* display: flex;
    gap: 1rem;
    flex-wrap: wrap; */
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.3rem;
    /* align-items: center;
    justify-content: center; */
}


.product {
    position: relative;
    display: block;
    background-color: var(--white-color);
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
    padding: 20px 25px;
    max-width: 275px;
    width: 100%;
    text-decoration: none;
    overflow: hidden;
    border: 1px solid #ccc;
    transition: transform 0.2s ease-in;
}

.product::after {
    content: "";
    position: absolute;
    width: 40px;
    height: 40px;
    background-color: var(--red-color);
    top: 0;
    /* Ajusta la posición */
    right: 10%;
    clip-path: polygon(100% 30%, 50% 60%, 0 30%, 0 0, 100% 0);
}

.product:hover {
    transform: scale(105%);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.card h2 {
    font-size: var(--font-size-lg);
    color: var(--blue-low-color);
    margin-bottom: 15px;
    font-family: var(--font-main);
    font-weight: 500;
}

.content {
    margin-top: 15px;
}

.content p {
    border-top: 1px solid rgba(7, 97, 200, 0.6);
    padding-top: 20px;
    font-size: var(--font-size-base);
    font-weight: 700;
    color: var(--text-gray-color);
    text-align: center;
}

.content span {
    display: block;
    color: var(--blue-low-color);
    font-size: var(--font-size-sm);
    margin-top: 15px;
    text-align: right;
    font-weight: 500;
}

.photo {
    display: flex;
    justify-content: center;
    align-items: center;
}

.card img {
    width: 170px;
    height: 180px;
    margin-bottom: 8px;
}

.pagination-container {
    margin-top: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-text-bold);
    color: var(--text-gray-color);
    font-size: var(--font-size-base);
}

.pagination a {
    text-decoration: none;
    background-color: var(--blue-low-color);
    color: white;
    border: none;
    padding: 12px 10px;
    cursor: pointer;
    border-radius: 5px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
}

.pagination select {
    color: #727272;
    border: 1px solid #ccc;
    padding: 12px 8px;
    border-radius: 5px;
    padding-right: 22px;
    /* Flecha SVG */
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="18" height="18"><path fill="%230762C8" d="M7 10l5 5 5-5z"/></svg>');
    background-position: right 5px center;
    background-repeat: no-repeat;
    background-size: 20px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.05);
}

.pagination select:focus {
    border: 1px solid var(--blue-low-color);
    /* Azul */
    outline: none;
    /* Elimina el contorno predeterminado del navegador */
    box-shadow: 0 0 5px var(--blue-low-color);
    /* Agrega un efecto de sombra */
    transition: border .4s, box-shadow 0.3s;
    /* Animación suave */
}

.pagination span.disabled {
    padding: 12px 10px;
    outline: 1px solid #ddd;
    border-radius: 4px;
    background-color: #fff;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.05);
}


@media (max-width: 1025px) {
    .form-1 input {
        width: 80%;
    }

    .form-1 .search-location {
        width: 20%;
    }
}

@media (max-width: 720px) {}

@media (max-width:525px) {

    .options {
        display: flex;
        justify-content: center;
    }

    .form-2 {
        flex-wrap: wrap;
    }

    .form-2 select {
        width: 30%;
    }

    .form-2 .search-location {
        width: 98%;
    }

    .pagination-container {
        justify-content: center;
        flex-wrap: wrap;
        gap: 1rem;
    }

    .product{
        max-width: 100%;
    }
}



@media (max-width:420px) {
    .form-1 input {
        width: 70%;
    }

    .form-1 .search-location {
        width: 30%;
    }
}