.search_input{
    border-radius: 5px;
    display: flex;
    justify-content: left;
    margin: 10px;
    border: #6236d9;
    font-family: MyFont;
    width: 200px;
    height: 40px;
    border: none;
    outline: none;
    font-size: 18px;
    position: absolute;
    left: 10px;
    background-color: #ffffff;
    color: #6236d9;
}
.product-button{
     border-radius: 5px;
     justify-content: center;
     border: white solid 2px;
     font-family: MyFont;
     width: 200px;
     height: 40px;
     font-size: 18px;
     position: absolute;
     right: 20px;
     background-color: #6236d9;
     color: #ffffff;
    #iiii{
        position: absolute;
        right: 15px;
        top: 10px;
    }
 }
#ii{
    position: absolute;
    left: 230px;
    bottom: 15px;
}


.items{
    width: 320px;
    height: 190px;
    background-color: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px #7f7fb2ff;
    transition: 1s;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;


    .button{
        border: none;
        outline: none;
        background-color: #6236d9;
        position: absolute;
        bottom: 0px;
        width: 100%;
        color: white;
        border-radius: 0 0 15px 15px;
    }
}

.items:hover{
    transform: scale(1.05);
    background-color: rgb(255 255 255);
    box-shadow: 0 5px 25px #7f7fb2;
    cursor: pointer;
    }
.second_content{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin: 25px auto;
    max-width: 1750px;
}
footer{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    max-width: 1750px;
    height: 50px;
    padding-top: 120px;
}
.pagination{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin: 10px 0;
}
.page_number{
    background-color: #6236d9;
    color: white;
    width: 50px;
    height: 30px;
    border-radius: 5px;
    border: none;
    outline: none;
    font-size: 14px;
    transition: 0.7s;
}
.page_number:hover{
    background-color: white;
    color: #6236d9;
}


@keyframes fadeUp {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}
.main_content h1 {
    animation: fadeUp 0.55s ease-out both;
}
.items,
.second_items,
.second_items2,
.items2 {
    opacity: 0;
    animation: fadeUp 0.6s ease-out forwards;
}
.second_content .items:nth-child(1) { animation-delay: 0.15s; }
.second_content .items:nth-child(2) { animation-delay: 0.25s; }
.second_content .items:nth-child(3) { animation-delay: 0.35s; }
.second_content .items:nth-child(4) { animation-delay: 0.45s; }
.second_content .items:nth-child(5) { animation-delay: 0.55s; }
.second_content .items:nth-child(6) { animation-delay: 0.65s; }
.second_content .items:nth-child(7) { animation-delay: 0.75s; }
.second_content .items:nth-child(8) { animation-delay: 0.85s; }
.second_content .items:nth-child(9) { animation-delay: 0.95s; }
.second_content .items:nth-child(10) { animation-delay: 1.05s; }
.second_content .items:nth-child(11) { animation-delay: 1.15s; }
.second_content .items:nth-child(12) { animation-delay: 1.25s; }
.second_content .items:nth-child(13) { animation-delay: 1.35s; }

@media (max-width: 900px) {
    .second_content {
        gap: 12px;
    }

    .items {
        width: auto;
        flex: 1 1 calc(50% - 12px);
    }

    footer {
        height: auto;
        padding-top: 35px;
    }

    .pagination {
        flex-wrap: wrap;
    }
}

@media (max-width: 560px) {
    .items {
        flex-basis: 100%;
    }

    .page_number {
        width: 40px;
    }
}



.product-info h3 {
    margin: 0 0 5 8px;
    color: #6236d9;
}

/* Responsive refinement - products */
@media (max-width: 1200px) {
    .second_content {
        display: grid;
        grid-template-columns: repeat(3, minmax(220px, 1fr));
        align-items: stretch;
    }

    .items {
        width: 100%;
        min-width: 0;
    }
}

@media (max-width: 850px) {
    .second_content {
        grid-template-columns: repeat(2, minmax(200px, 1fr));
        margin-block: 18px;
    }
}

@media (max-width: 520px) {
    .second_content {
        grid-template-columns: 1fr;
        gap: 12px;
        margin-block: 12px;
    }

    .items {
        min-height: 175px;
        height: auto;
    }

    .items .button {
        min-height: 40px;
        font-size: 15px;
    }

    footer {
        padding-top: 18px;
    }

    .pagination {
        gap: 6px;
    }

    .page_number {
        width: 38px;
        height: 36px;
    }
}

@media (hover: none) {
    .items:hover {
        transform: none;
    }
}








