.secction-shop {
    width: 100%;
    display: flex;
    justify-content: center;
}

.secction-shop .content {
    width: 100%;
    display: flex;
    max-width: 1350px;
    flex-direction: column;
}

.list-products {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 20px;
    gap: 20px;
}

.header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header .results {
    text-align: center;
    padding: 5px;
}

.search-content {
    flex: 1;
    height: 40px;
    margin: 5px 50px 5px 5px;
    border: 2px solid var(--grey40);
    border-radius: 5px;
    background-color: var(--white);
}

.search-content input {
    width: 100%;
    height: 100%;
    border: none;
    outline: none;
    font-size: 16px;
    border-radius: 5px;
}

.sort-content {
    flex: 1;
    height: 40px;
    margin: 5px 5px 5px 50px;
    border: 2px solid var(--grey40);
    border-radius: 5px;
    background-color: var(--white);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sort {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    display: inline-block;
    text-align: center;
}

.custom-select {
    position: relative;
    display: inline-block;
    cursor: pointer;
}

.selected-option {
    padding: 5px 30px 5px 5px;
    font-size: 16px;
    background: transparent;
    user-select: none;
}

.custom-select::after {
    content: '▼';
    position: absolute;
    top: 50%;
    right: 5px;
    transform: translateY(-50%);
    pointer-events: none;
}

.options {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    list-style-type: none;
    padding: 0;
    margin: 0;
    background-color: transparent;
    z-index: 1;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.options li {
    padding: 5px 10px;
    cursor: pointer;
    background-color: #fff;
}

.options li:hover {
    background-color: #f2f2f2;
}

/* Sort options animation */
@keyframes slideIn {
    from {
        transform: translateY(-10px) scaleY(0);
        opacity: 0;
    }

    to {
        transform: translateY(0) scaleY(1);
        opacity: 1;
    }
}

.options {
    transform-origin: top;
    animation: slideIn 0.3s;
}

.list-products .item-product {
    width: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 420px;
    position: relative;
    padding: 20px;
}

.list-products .item-product {
    text-decoration: none;
    color: inherit;
}

.list-products .item-product:focus {
    outline: none;
}

.list-products .image {
    width: 100%;
    height: 240px;
    position: relative;
    cursor: pointer;
    overflow: hidden;
    border-top-right-radius: 8px;
    border-top-left-radius: 8px;
}

.list-products .image img {
    width: 100%;
    height: 100%;
    -webkit-transition: all 300ms ease;
    -o-transition: all 300ms ease;
    transition: all 300ms ease;
}

.list-products .image:hover img {
    -webkit-transform: scale(1.05);
    -ms-transform: scale(1.05);
    transform: scale(1.05);
}

.list-products .image:hover:before {
    opacity: 1;
}

.list-products .image:before {
    content: "";
    background: rgba(0, 0, 0, 0.5);
    position: absolute;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    cursor: pointer;
    -webkit-transition: all 300ms ease;
    -o-transition: all 300ms ease;
    transition: all 300ms ease;
    z-index: 1;
    opacity: 0;
}

.list-products .price {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background-color: white;
    border-radius: 50%;
    position: absolute;
    top: 60%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    white-space: nowrap;
}

.list-products .price span {
    font-family: 'Satisfy';
    font-size: 26px;
    font-weight: 700;
    color: var(--rosewood);
}

.list-products ._text {
    background-color: var(--white);
    width: 100%;
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 10px, 5px, 10px, 5px;
    border-bottom-right-radius: 8px;
    border-bottom-left-radius: 8px;
}

.list-products ._text h3 {
    width: 100%;
    height: 80px;
    font-family: 'Poppins', sans-serif;
    font-size: 20px;
    font-weight: 500;
    line-height: 25px;
    z-index: 3;
    text-align: center;
    padding: 0 5px 0 5px;
    overflow: hidden;
    text-overflow: ellipsis;
    color: var(--darkBlue);
}

.list-products .cont {
    width: 200px;
    height: 40px;
    overflow: hidden;
}

.list-products .cont button {
    width: 200px;
    height: 40px;
    font-size: 20px;
    border: none;
    border-radius: 6px;
    color: white;
    background-color: var(--lightPink);
    cursor: pointer;
}

.list-products .brillo {
    transform: skewX(-10deg);
    background: transparent;
    opacity: .5;
    width: 60px;
    height: 40px;
    position: relative;
    top: -40px;
    left: -60px;
    transition: all .3s linear;
}

.list-products .cont:hover .brillo {
    transform: translateX(280px);
    background: var(--white-50);
    transition: all .3s linear;
}


@media screen and (max-width: 900px) {

    .list-products .header {
        flex-direction: column;
    }

    .search-content,
    .sort-content {
        margin: 0;
    }
}

/* Base styles for pagination */
.custom-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 1rem 0;
    font-family: Arial, sans-serif;
    font-size: 18px;
}

/* Styles for pagination links */
.custom-pagination a.custom-link,
.custom-pagination a.custom-prev-link,
.custom-pagination a.custom-next-link {
    display: inline-block;
    padding: 0.5rem 1rem;
    margin: 0 0.25rem;
    text-decoration: none;
    color: var(--black);
    border: 1px solid var(--grey40);
    border-radius: 5px;
    transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out;
}

/* Styles for active and disabled pagination links */
.custom-pagination span.custom-active-link,
.custom-pagination span.custom-disabled-link {
    display: inline-block;
    padding: 0.5rem 1rem;
    margin: 0 0.25rem;
    color: var(--black);
    border: 1px solid var(--grey40);
    border-radius: 5px;
}

/* Style for active pagination link */
.custom-pagination span.custom-active-link {
    font-weight: bold;
    color: var(--rosewood);
    border-color: var(--rosewood);
}

/* Styles for pagination links on hover */
.custom-pagination a.custom-link:hover,
.custom-pagination a.custom-prev-link:hover,
.custom-pagination a.custom-next-link:hover {
    background-color: var(--rosewood);
    color: var(--white);
    border-color: var(--rosewood);
}
