button{
    border-radius: 5px;
    justify-content: center;
    border: white solid 2px;
    font-family: MyFont;
    width: 200px;
    height: 40px;
    font-size: 18px;
    position: absolute;
    left: 10px;
    background-color: #6236d9;
    color: #ffffff;
}
.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;
    }
}
.items{
    flex: 1;
    width: 320px;
    height: 250px;
    min-height: 0;
    overflow-y: auto;
    background-color: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px #7f7fb2ff;
    transition: 1s;
    position: relative;
    display: flex;
    justify-content: flex-start;
    flex-direction: column;
    overflow-y: auto;
}
h2{
    margin: 0px 25px 0px 15px;
    font-size: 35px;
    color: #6236d9;
    border-bottom: 2px solid #000000;
}
.no_border_title{
    margin: 15px 25px 5px 15px;
    font-size: 30px;
    color: #000000;
    border-bottom: unset;
}
.store_item{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    margin: 5px 10px 5px 10px;
    /*border-bottom: 2px solid #6236d9;*/
    background: linear-gradient(to left, rgb(98 54 217 / 0.08));
    border-radius: 10px;
}

.store_product{}

.sales-chart {
    height: 215px;
    display: flex;
    align-items: flex-end;
    justify-content: space-around;
    gap: 12px;
    padding: 10px 25px;
}

.chart-column {
    height: 100%;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    gap: 8px;
}

.chart-bar {
    width: 100%;
    max-width: 42px;
    background-color: #dcd2ff;
    border-radius: 8px 8px 0 0;
    transition: 0.3s;
}

.chart-bar.active,
.chart-bar:hover {
    background-color: #6236d9;
}

.chart-column small {
    color: #77778a;
    font-size: 12px;
}

.store_items_number{
    justify-content: left;
    color: #2f853f;
    display: inline-flex;


}
.store_items_type{
    justify-content: left;
    color: #67679b;
    display: inline-flex;


}
.items:hover {
    transform: scale(1.05);
    background-color: rgb(127 127 178 / 0.15);
    box-shadow: 0 5px 25px #7f7fb2;
    cursor: pointer;
}
.store-layout {
    display: grid;
    grid-template-columns: 320px minmax(0, 1fr);
    gap: 20px;
    margin: 25px auto;
    height: 50dvh;
}

.second_content {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 320px;
    min-height: 0;
}

.third_content {
    min-width: 0;
}
.second_items {
    flex: 1;
    height: 800px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px #7f7fb2ff;
    transition: 1s;
    margin-right: 5px;
    display: flex;
}


@media (max-width: 850px) {
    .store-layout {
        grid-template-columns: 1fr;
        height: auto;
    }

    .second_content { width: 100%; }
    .items { width: 100%; min-height: 230px; flex: none; }
    .third_content { width: 100%; overflow-x: auto; }
    .second_items { min-width: 680px; height: 540px; margin-right: 0; }
}

@media (max-width: 560px) {
    h2 { font-size: 26px; }
    .store_item { font-size: 14px; }
}

/*.second_items2 {*/
/*    flex: 1;*/
/*    height: 500px;*/
/*    background-color: white;*/
/*    border-radius: 10px;*/
/*    box-shadow: 0 5px 15px #7f7fb2ff;*/
/*    transition: 1s;*/
/*}*/
.second_items:hover,
.second_items2:hover {
    transform: scale(1.02);
    background-color: rgb(127 127 178 / 0.15);
    box-shadow: 0 5px 25px #7f7fb2;
    cursor: pointer;
}

.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;
}
#iii{
    position: absolute;
    left: 230px;
    bottom: 15px;
}
@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; }

.third_content .second_items { animation-delay: 0.55s; }
.third_content .second_items2 { animation-delay: 0.65s; }

.fourth_content .items2:nth-child(1) { animation-delay: 0.75s; }
.fourth_content .items2:nth-child(2) { animation-delay: 0.75s; }
.fourth_content .items2:nth-child(3) { animation-delay: 0.75s; }
.fourth_content .items2:nth-child(4) { animation-delay: 0.75s; }

/* Responsive refinement - store */
@media (max-width: 1200px) {
    .store-layout {
        grid-template-columns: 290px minmax(0, 1fr);
        gap: 16px;
        height: auto;
        min-height: 560px;
        margin-block: 18px;
    }

    .second_content {
        width: 290px;
        gap: 16px;
    }

    .items {
        width: 100%;
        min-height: 180px;
    }

    .second_items {
        width: 100%;
        height: 100%;
        min-height: 560px;
    }
}

@media (max-width: 850px) {
    .store-layout {
        grid-template-columns: 1fr;
        min-height: 0;
        gap: 14px;
    }

    .second_content {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 12px;
    }

    .items {
        min-width: 0;
        min-height: 230px;
        height: 230px;
    }

    .third_content {
        width: 100%;
        min-width: 0;
        overflow: hidden;
    }

    .second_items {
        width: 100%;
        min-width: 0;
        min-height: 430px;
        height: 430px;
    }
}

@media (max-width: 650px) {
    .store-layout {
        margin-block: 12px;
    }

    .second_content {
        grid-template-columns: 1fr;
    }

    .items {
        min-height: 210px;
        height: 210px;
    }

    h2,
    .no_border_title {
        margin: 12px 14px 5px;
        font-size: 25px;
    }

    .third_content {
        overflow-x: auto;
    }

    .second_items {
        min-width: 500px;
        min-height: 360px;
        height: 360px;
    }

    .sales-chart {
        min-width: 470px;
        height: 270px;
        padding-inline: 12px;
    }
}

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