﻿body {
    font-family: "Cairo", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    background: url('~/images/26253.png');
    background-repeat: no-repeat;
    
}

.orders-imag {
    width:90px;
    height:70px;
}


.dash-st {
    background: black;
}
.dash-cr {
    color: white;
    background: rgb(33, 34, 45);
}

.border-bottom {
    border-bottom:2px solid lightgrey;
}
input[type=text]:focus {
    border: 1px solid #808080;
}
.container1 {
    width: 97%;
    height: 80vh;
    margin: auto;
    margin-left: 0px;
    margin-right: 0px;
    padding:22px;
    margin-top:-15px;
}


.dashcontainer1 {
    width: 88%;
    /*margin: auto;*/
    margin-left: 15px;
    float: left;
    /*background-color: yellow;*/
    padding: 0px;
    box-sizing: border-box;
}

.dashcontainer1 {
    width: 85%;
    height: 80vh;
    margin: auto;
    margin-left: 0px;
    margin-right: 0px;
    padding: 22px;
    margin-top: -15px;
}

.body-container {
    display: block;
    width: 97%;
    height: 80vh;
    margin: auto;
    margin-left: auto;
    margin-right: auto;
    background: url('~/images/26253.png');
    background-repeat: no-repeat;
    overflow-x: hidden !important;
    /* background: red; rya*/
}
.grid-item {
    background-color: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(0, 0, 0, 0.8);
    padding: 5px;
    text-align: center;
}
.grid-container {
    scrollbar-width:none;
    display: grid;
    column-gap: 0px;
    grid-template-columns: auto auto auto;
    padding: 0px;
    margin-top: 0px;
    height: auto;
    grid-template: repeat(5, 1fr) / repeat(5, 1fr);
    overflow: scroll;
}
.grid-container2 {
    display: grid;
    grid-auto-flow: column; /* Arrange items in a single row */
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); /* Define column behavior */
    gap: 10px; /* Space between items */
    overflow-y: auto; /* Enable horizontal scrolling */
    white-space: nowrap; /* Prevent wrapping */
    padding: 10px; /* Optional padding */
}


.grid-item2 {
    flex: 0 0 auto; /* Prevent items from shrinking */
    background-color: white; /* Green */
    color: white;
    padding: 10px;
    border:solid 1px gray;
    text-align: center;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    min-width: 150px; /* Minimum width for items */
}



.grid-con {
    display: grid;
    grid-auto-flow: row; /* Arrange items in a single row */
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); /* Define column behavior */
    gap: 10px; /* Space between items */
    overflow-x: auto; /* Enable horizontal scrolling */
    white-space: nowrap; /* Prevent wrapping */
    padding: 10px; /* Optional padding */
}


.grid-it {
    flex: 0 0 auto; /* Prevent items from shrinking */
    background-color: white; /* Green */
    color: white;
    padding: 10px;
    border: solid 1px gray;
    text-align: center;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    min-width: 150px; /* Minimum width for items */
}

.sub-card {
    border: solid 1px #8080804c;
    border-radius: 15px;
    width: 100%;
    height:50%;
    display: inline-block;
    float: right;
    background: #fff;
    box-shadow: 0 1rem 1rem rgba(0,0,0,0.1);
}

.car-card {
    border:solid 1px #8080804c;
    border-radius:3px;
    margin: 10px;
    margin-left:50px;
    width: 99%;
    display: inline-block;
    float: right;
    background: #fff;
    box-shadow: 0 1rem 1rem rgba(0,0,0,0.1);
}
.main-screen {
    display:none;
}

.small-screen {
    display: block;
}
.logo-header {
}

.main-body {
    margin-top:100px;
}


.shop-card {
    height: 300px;
    width: 100%;
}

.detail-size {
    height: 280px;
    font-size: 11px;
}

.sizing-text {
   
}

@media (max-width:800px) {


    .grid-con {
        display: grid;
        grid-auto-flow: row; /* Arrange items in a single row */
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); /* Define column behavior */
        gap: 10px; /* Space between items */
        overflow-x: auto; /* Enable horizontal scrolling */
        white-space: nowrap; /* Prevent wrapping */
        padding: 10px; /* Optional padding */
    }


    .grid-it {
        flex: 0 0 auto; /* Prevent items from shrinking */
        background-color: white; /* Green */
        color: white;
        padding: 10px;
        border: solid 1px gray;
        text-align: center;
        border-radius: 5px;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
        min-width: 250px; /* Minimum width for items */
    }
    .grid-container {
        scrollbar-width: none;
        display: grid;
        column-gap: 0px;
        grid-template-columns: auto auto auto;
        padding: 0px;
        margin-top: 0px;
        height: auto;
        grid-template: repeat(2, 1fr) / repeat(2, 1fr);
        overflow: scroll;
    }
    .grid-container2 {
        scrollbar-width: none;
        display: grid;
        column-gap: 0px;
        grid-template-columns: auto auto auto;
        padding: 0px;
        margin-top: 0px;
        height: auto;
        grid-template: repeat(auto-fill, minmax(150px, 1fr));
        gap: 10px;
        overflow: scroll;
    }

    .detail-size {
        height: 200px;
        font-size: 11px;
    }
   
}


@media (max-width:700px) {


    .grid-con {
        display: grid;
        grid-auto-flow: row; /* Arrange items in a single row */
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); /* Define column behavior */
        gap: 10px; /* Space between items */
        overflow-x: auto; /* Enable horizontal scrolling */
        white-space: nowrap; /* Prevent wrapping */
        padding: 10px; /* Optional padding */
    }


    .grid-it {
        flex: 0 0 auto; /* Prevent items from shrinking */
        background-color: white; /* Green */
        color: white;
        padding: 10px;
        border: solid 1px gray;
        text-align: center;
        border-radius: 5px;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
        min-width: 250px; /* Minimum width for items */
    }
    .grid-container {
        scrollbar-width: none;
        display: grid;
        column-gap: 0px;
        grid-template-columns: auto auto auto;
        padding: 0px;
        margin-top: 0px;
        height: auto;
        grid-template: repeat(2, 1fr) / repeat(2, 1fr);
        overflow: scroll;
    }
    .grid-container2 {
        scrollbar-width: none;
        display: grid;
        column-gap: 0px;
        grid-template-columns: auto auto auto;
        padding: 0px;
        margin-top: 0px;
        height: auto;
        grid-template: repeat(auto-fill, minmax(150px, 1fr));
        gap: 10px;
        overflow: scroll;
    }

    .sizing-text {
        width: 200px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .detail-size {
        height: 180px;
        font-size: 11px;
    }

    .main-screen {
        display: block;
    }

    .small-screen {
        display: none;
    }

    .logo-header {
        visibility: hidden;
    }

    .main-body {
        margin-top: 100px;
    }

    .container1 {
        width: 100%;
        height: 80vh;
        margin: auto;
        margin-left: 0px;
        margin-right: 0px;
        padding: 22px;
        margin-top: -40px;
    }

    .shop-card {
    }

    .full-card {
        width: 100%;
    }

    .bottom-bar {
        position: absolute;
        bottom: 0px;
        width: 90%;
        max-width: 100%;
        height: 100px;
        box-sizing: border-box;
        overflow-x: hidden;
        margin-left: -18px;
        z-index: 1000;
    }


    .card2 {
        width: 100%;
        max-width: 750px; /* Optional: limit the max width */
        margin: 0px auto; /* Center the card on the page */
        padding: 0px;
        background-color: #fff;
        border-radius: 8px;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }

    .bottom-bar2 {
        position: absolute;
        bottom: 0px;
        width: 110%;
        max-width: 100%;
        height: 70px;
        box-sizing: border-box;
        overflow: hidden;
        overflow-y: hidden;
        overflow-x: hidden;
        margin-left: -19px;
        z-index: 1000;
    }
}