body {
    background-color: #FFFFFF;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-height: 100vh;
    margin: 0;

    font-family: "Inter", sans-serif;
    color: white;
}

@keyframes hithere {
  30% { transform: scale(1.08); }
  40%, 60% { transform: rotate(-4deg) scale(1.08); }
  50% { transform: rotate(4deg) scale(1.08); }
  70% { transform: rotate(0deg) scale(1.08); }
  100% { transform: scale(1); }
}

p {
    color: #000000;
    margin: 1rem 0 0 1rem;
    font-size: 1rem;
}

.panelsContainer{
    position: static;
    align-self: center;
    margin-top: calc(30vh - 5rem);
    max-width: 40rem;
    width: 85%;
}

button {
    display: block;
    background: #000000;
    color: #FFFFFF;
    padding: 0.4rem 0.8rem 0.4rem 0.8rem;
    border: 0;
}

.mainPanel{
    width: 100%;
}

.title{
    color: #000000;
    font-size: 5rem;
    font-weight: bold;
    text-align: center;
}

.logo{
    max-height: 8rem;
    max-width: 20rem;
    width: 70%;
    margin-left: auto;
    margin-right: auto;
    display: block;
    margin-bottom: 3rem;
    position: relative;
}

.searchInput{
    border-style: none;
    border-radius: 2rem;
    font-size: 1.2rem;
    width: 100%;
    padding: 6px;
    padding-left: 14px;
}
.searchInput:focus{
    outline: none;
}


.startSearchBtn{
    margin: 0;
    height: 3rem;
    width: 6rem;
    font-size: 1rem;
    border-style: none;
    border-radius: 0 2rem 2rem 0;
    font-weight: bold;
    outline-color: black;
    outline-style: solid;
    outline-width: 0;
    background: #efefef;
    color: #000000;
    transition: all 0.1s linear;
}
.startSearchBtn:hover{
    outline-color: #ff9242;
    outline-width: 2px;
    color: #ffffff;
    background: #503030 !important;
    cursor: pointer;
}
.startSearchBtnSearching{
    animation: hithere 1s ease infinite;
    background-color: white;
    border: solid rgb(255 156 19) 2px;
}


.searchDiv{
    z-index: -1;
    display: flex;
    width: calc(100% - 4rem);
    border-color: #e6e6e6;
    border-style: solid;
    border-width: 2px;
    border-radius: 2rem;

    transition: all 0.2s;
    box-shadow: rgba(0, 0, 0, 0.1) 3px 15px 2rem;
    transform: translateY(-2px);
}
.searchUnfocused{
    box-shadow: rgba(0, 0, 0, 0.04) 3px 5px 0.3rem;
    transform: translateY(2px);
}
.searchUnfocused input{
    color: #C0C0C0;
    font-weight: 200;
}

.imageSearchBtn{
    position: absolute;
    right: -4rem;
    width: 3rem;
    height: 3rem;
    border-radius: 2rem;
    margin: 0;
    padding: 0;
    background-color: transparent;

    background-image: linear-gradient(45deg, #ffe51d, #ff700d);
    padding: 2px;

    transition: all 0.1s;
    overflow: hidden;
}
.imageSearchBtn:hover{
    background-color: #FFFFFF;
    outline-style: solid;
    outline-color: black;
    outline-width: 5px;
    outline-offset: -1px;
    cursor: pointer;
}
.imageSearchBtn img{
    align-self: center;
    vertical-align: middle;
    width: 2rem;
    height: 2rem;
    background-color: #ffffff;
    border-radius: 2rem;
    padding: 5px;
}
.imageSearchBtnSearching img{
    background-color: rgb(255 156 19);
    animation: hithere 1s ease infinite;
}

.footer{
    margin-top: auto;
    max-height: 20vh;
    bottom: 0;
    left: 0;
    background-color: #4f4f4f;
    width: 100%;
    padding-top: 1rem;
    box-shadow: rgba(0, 0, 0, 0.1) 0 0 2rem;
    border-top: solid #3b3b3b 5px;
}
.footer p {
    font-size: 1rem;
    color: #ffffff;
    margin: 0 1rem 1rem 1rem;
}
.footer a{
    font-size: 1rem;
    color: #ffffff;
    text-decoration: underline;;
    margin: 0 1rem 1rem 1rem;
}

.mainContainer{
    display: flex;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
}

.sidePageContainer{
    background-color: black;
    width: 15rem;
    min-height: 100rem;
    flex-shrink: 0;

    background-color: #ffffff;
    box-shadow: rgb(0 0 0 / 16%) 0 0 2rem;
    opacity: 1;

    transition: margin-left 0.3s, opacity 0.3s;
}

.resultsContainer {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    width: calc(100% - 16rem);
    margin-top: 2rem;
    margin-bottom: 15rem;
    flex: 1;
    box-sizing: border-box;
    flex-wrap: wrap;
}

.productsGrid{
    position: relative;
    margin: 0;
    max-width: 80rem;
    width: 90%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
    gap: 1.5rem;
}

.resultsTopNav{
    position: relative;
    margin: 0;
    max-width: 80rem;
    width: 90%;
    margin-bottom: 3.5rem;
}

.productElement{
    min-width: 15rem;
    max-height: 30rem;

    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    position: relative;

    background-color: #FFFFFF;
    border-radius: 1rem;
    border-color: #efefef;
    border-width: 2px;
    border-style: solid;
    box-shadow: rgb(0 0 0 / 4%) 3px 5px 0.5rem;
    overflow: hidden;

    transition: all 0.2s;
}
.productElement:hover{
    box-shadow: rgb(0 0 0 / 25%) 3px 8px 1.5rem;
    transform: translateY(-3px);
}

.productImage{
    margin: 0;
    width: 100%;
    max-height: 50%;
    object-fit: contain;
    background-color: #EFEFEF;
    aspect-ratio: 1.5 / 1;
    border-bottom: solid #efefef 2px;
}

.productName{
    margin: 1rem;
    margin-bottom: 0.5rem;
    font-size: 1rem;
    color: black;
    font-weight: normal;
    line-height: 1.2rem;
}

.productPrice{
    margin: 1rem;
    margin-top: 0;
    margin-bottom: 0;
    font-size: 1.2rem;
    color: #ff9242;
    font-weight: bold;
}

.productSubInfos{
    margin: 1rem;
    margin-top: 0;
    margin-bottom: 0.5rem;
    font-size: .8rem;
    color: #0000009c;
    display: inline;
}

.productBuyFromAgentBtn{
    position: relative;

    height: 3rem;
    bottom: 0;

    color: #ffffff;
    font-size: 0.9rem;
    font-weight: bold;
    margin: 0rem;
    overflow: hidden;
    
    background-color: #4f4f4f;
    box-shadow: #0000002e 0 0 1rem;
    z-index: 1;

    transition: all 0.1s;
}
.productBuyFromAgentBtn:hover{
    color: #ffead7;
    outline: solid #ff9242 3px;
    cursor: pointer;
}


.searchSimiBtn{
    position: relative;

    height: 2rem;
    bottom: 0;

    color: #000000;
    font-size: 0.8rem;
    margin: 1rem;
    margin-bottom: 0.5rem;
    padding: 0;
    border-radius: 10px;
    width: 50%;
    overflow: hidden;
    
    background-color: transparent;

    transition: all 0.1s;
}
.searchSimiBtn:hover{
    background-color: #EFEFEF;
    cursor: pointer;
}

.searchProgressInfo{
    box-shadow: rgb(0 0 0 / 4%) 3px 5px 0.5rem;
    border-radius: 10rem;
    background-image: linear-gradient(45deg, #ffe51d, #ff700d);
    padding: 2px;
    position: absolute;
    top: 30%;
    left: calc(50% - 9rem);
    min-width: 18rem;
    animation: hithere 1s ease infinite;
}
.searchProgressInfo div {
    border-radius: 10rem;
    background-color: #ffffff;
    padding: 1rem;
}
.searchProgressInfo div p {
    text-align: center;
    color: #000000;
    font-size: 1rem;
    font-weight: bold;
    margin: 0;
}



.loadMoreBtn{
    width: 100%;
    height: 100%;
}
.loadMoreBtn button{
    background-color: white;
    width: 100%;
    height: 4rem;
    font-size: 1rem;
    font-weight: bold;
    color: black;

    border-radius: 1rem;
    border: solid #F0F0F0 3px;

    transition: all 0.1s;
}
.loadMoreBtn button:hover{
    background-color: #F0F0F0;
    cursor: pointer;
}

.blurBack{
    position: fixed;
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    background: rgba(0, 0, 0, 0.7);
    z-index: 2;
    width: 100%;
    height: 100%;

    transition: all 0.3s;
    visibility: hidden;
    opacity: 0%;
}

.selectAgentPanel{
    box-shadow: rgb(0 0 0 / 30%) 3px 5px 5rem;
    border-radius: 1rem;
    background-color: #ffffff;
    overflow: hidden;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    border: solid gray 1px;
    visibility: hidden;
}
.selectAgentPanel div{
    padding: 0;
    margin: 0;
    height: 25rem;
    max-width: 30rem;
    width: 22rem;
    display: flex;
    flex-direction: column;
}
.selectAgentPanel div p{
    font-size: 0.8rem;
    color: gray;
    text-align: center;
    margin: 0;
    margin-top: 2rem;
}
.selectAgentPanel h1{
    font-size: 1rem;
    font-weight: bold;
    color: white;
    padding: 1rem;
    margin: 0;
    background-color: black;
}

.agentButton{
    margin: 1rem;
    margin-bottom: 0;
    height: 2.5rem;
    color: black;
    background: white;
    border: solid #D0D0D0 1px;
    border-radius: 0.5rem;
    font-size: 1rem;
    text-align: start;
    font-weight: bold;
    font-style: italic;
    box-shadow: rgb(0 0 0 / 4%) 3px 5px 0.5rem;
    text-decoration: unset;
    align-content: center;
    padding-left: 1rem;
}
.agentButton:hover{
    cursor: pointer;
    background-color: #E0E0E0;
}

.closeWindowBtn{
    position: absolute;
    right: 10px;
    top: 10px;
    background-color: red;
    border-radius: 1rem;
    height: 25px;
    width: 25px;
    padding: 0;
    margin: 0;
    font-size: 15px;
    color: black;
}
.closeWindowBtn:hover{
    background-color: darkred;
    cursor: pointer;
}

.tagLine{
    font-weight: normal;
    font-size: 0.8rem;
    color: dimgray;
    text-align: center;
    margin: 15px;
}

.filterOptionTitle{
    font-weight: bold;
    margin-left: 2rem;
    font-size: 1rem;
    margin-bottom: 0.5rem;
    margin-top: 2rem;
}

.filterOptionBtn{
    width: calc(100% - 4rem);
    height: 2.2rem;
    border-radius: 8px;
    color: #303030;
    background-color: #0000000a;
    margin: auto;
    margin-bottom: 8px;
    font-size: 0.8rem;
}
.filterOptionBtn:hover{
    cursor: pointer;
}
.selectedFilterOptionBtn{
    border-left: solid #ff9242 8px;
    /* box-shadow: #ff6c0066 2px 3px 10px; */
}

.sidePageElementsGroup{
    width: inherit;
    margin: 0;
    padding: 0;
    position: fixed;
}

.searchingInfoPanel{
    width: calc(100% - 4rem);
    border-radius: 8px;
    border: solid #EFEFEF 2px;
    margin: auto;
    overflow: hidden;
    margin-top: 3rem;
    text-align: center;
}
.searchingInfoTxt{
    color: #000000;
    font-size: 0.8rem;
    margin: 0.5rem;
    font-weight: normal;
}

.searchingInfoImg{
    display: none;
    margin: auto;
    width: calc(100% - 4rem);
    margin-top: 10px;
    max-height: 11rem;
    max-height: 7rem;
    object-fit: cover;
    border-radius: 8px;
    /*border: solid #EFEFEF 2px;*/
}

.sidePageDeployBtn{
    background-color: #ffffff52;
    position: fixed;
    margin: 0;
    padding: 10px 20px 10px 20px;
    margin-top: calc(2rem - 1px);
    border-radius: 0 1.5rem 1.5rem 0;
    z-index: 2;
    cursor: pointer;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(5px);
    border: solid #000000 4px;
    border-left: none;
    display: none;
}
.sidePageDeployBtn i{
    font-size: 1rem;
    font-weight: bold;
    color: black;
    margin: 0;
}

.sidePageCloseBtn{
    display: none;
    background: none;
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 4;
    padding: 1rem;
    margin: 0;
    border-radius: 10px;
}
.sidePageCloseBtn:hover{
    background: #0000000F;
    cursor: pointer;
}
.sidePageCloseBtn i{
    color: black;
    font-size: 1rem;
}

@media (max-width: 50rem) {
    .sidePageContainer {
        position: fixed;
        margin-left: -15rem;
        z-index: 3;
        backdrop-filter: blur(30px);
        -webkit-backdrop-filter: blur(30px);
        background-color: #ffffffdb;
        box-shadow: rgb(0 0 0 / 60%) 0 0 3rem;
        opacity: 0;
    }
    .resultsTopNav{
        width: calc(90% - 5rem);
        margin-left: calc(5rem / 2);
    }
    .sidePageDeployBtn{
        display: block;
    }
    .sidePageCloseBtn{
        display: block;
    }
}

.workingPrincipTitle{
    font-size: 2rem;
    font-weight: 900;
    text-align: center;
    margin: 13rem 0 1.5rem 0;
}

.chinazonExplainedImg{
    width: 100%;
    border-radius: 1.5rem;
    /*box-shadow: #00000020 0 0 2rem;*/
    margin-bottom: 15rem;
}

.productFetchProgressTitle{
    text-align: center;
    margin-top: 30vh;
    color: white;
    font-size: 2rem;
    font-weight: bold;
    visibility: hidden;
    animation: hithere 1s ease infinite;
}

.cropImageInfoBtn{
    margin: auto;
    width: calc(100% - 4rem);
    margin-top: -2rem;
    height: 2rem;
    padding: 8px;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    background: rgba(0, 0, 0, 0.2);
    color: white;
    font-size: 0.8rem;
    display: none;
    border-radius: 0 0 8px 8px;

}
.cropImageInfoBtn:hover{
    background: rgba(0, 0, 0, 0.6);
    cursor: pointer;
}