@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

.marketSystem {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    font-family: Poppins;
    color: rgb(255, 255, 255);
    background: url(./images/bg.png) no-repeat;
    background-size: cover;
    display: none;
}

.marketSystem > .container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 5vh;
    padding: 3vh;
}

.marketSystem > .container > .title {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1vw;
}

.marketSystem > .container > .title > h1 {
    font-weight: 600;
    font-size: 3vh;
    color: rgb(86, 54, 228);
    text-shadow: 0 0 10vh;
}

.marketSystem > .container > .title > p {
    height: 5vh;
    padding: 0 1vw 0 1vw;
    background: rgba(255,255,255,0.05);
    font-size: 2vh;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 35vw;
    font-weight: 500;
}

.marketSystem > .container > .bottom {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 88%;
}

.marketSystem > .container > .bottom > .products {
    position: relative;
    height: 100%;
    overflow-y: scroll;
    width: 100%;
    direction: rtl;
    padding-left: 1vw;
}

.marketSystem > .container > .bottom > .products::-webkit-scrollbar {
    width: 2px;
    border-radius: 35vw;
    background: rgba(255,255,255,0.05);
}

.marketSystem > .container > .bottom > .products::-webkit-scrollbar-thumb { background: white }

.marketSystem > .container > .bottom > .products > .container {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    gap: 2vh;
    direction: ltr;
}

.marketSystem > .container > .bottom > .products > .container > .item {
    width: 12vw;
    height: 28vh;
    background: rgba(255,255,255,0.025);
    border-radius: 2.9vh;
    padding: 1vh;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1vh;
    align-items: flex-start;
}

.marketSystem > .container > .bottom > .products > .container > .item > .iName {
    position: relative;
    padding: 0 .8vw 0 .8vw;
    height: 3vh;
    border-radius:35vw;
    background: rgba(255,255,255,0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3vh;
    font-weight: 600;
}

.marketSystem > .container > .bottom > .products > .container > .item > img {
    width: 15vh;
    position: relative;
    display: flex;
    justify-self: center;
    align-self: center;
    transition: .5s all;
}

.marketSystem > .container > .bottom > .products > .container > .item > .btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 1.3vh;
    background: #4b00d6;
    height: 4vh;
    color: #08070c;
    font-weight: 600;
    font-size: 1.3vh;
    text-transform: uppercase;
    cursor: pointer;
    transition: .2s all;
}

.marketSystem > .container > .bottom > .products > .container > .item > .btn > h1 {
    position: absolute;
    font-size: 1.3vh;
    font-weight: 700;
    transition: .1s all;
}

.marketSystem > .container > .bottom > .products > .container > .item > .btn:hover > h1 {
    opacity: 0;
}

.marketSystem > .container > .bottom > .products > .container > .item > .btn > p {
    position: absolute;
    opacity: 0;
    font-weight: 600;
    font-size: 1.7vh;
    transition: .1s all;
}

.marketSystem > .container > .bottom > .products > .container > .item > .btn:hover > p {
    opacity: 1;
}

.marketSystem > .container > .bottom > .products > .container > .item > .btn:hover {
    background: rgb(89, 0, 255);
    box-shadow: 0 0 5vh 0 rgba(113, 36, 255, 0.15);
}

.marketSystem > .container > .bottom > .basket {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 1vh;
    align-items: flex-end;
    height: 100%;
    width: 30vw;
    justify-content: space-between;
}

.marketSystem > .container > .bottom > .basket > .container {
    position: relative;
    display: flex;
    align-items: flex-end;
    flex-direction: column;
    gap: 3vh;
    height: 100%;
    width: 100%;
}

.marketSystem > .container > .bottom > .basket > .container > .title {
    height: 4vh;
    padding: 0 1.2vw 0 1.2vw;
    background: rgba(255,255,255,0.05);
    font-size: 1.7vh;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 35vw;
    font-weight: 600;
}

.marketSystem > .container > .bottom > .basket > .container > .items {
    position: relative;
    overflow-y: scroll;
    height: 100%;
    width: 100%;
    padding-right: 1vw;
}

.marketSystem > .container > .bottom > .basket > .container > .items::-webkit-scrollbar {
    width: 1px;
    background: rgba(255,255,255,0.05);
}

.marketSystem > .container > .bottom > .basket > .container > .items::-webkit-scrollbar-thumb { background: white }

.marketSystem > .container > .bottom > .basket > .container > .items > .container {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    flex-direction: column;
    gap: 1vh;
}

.marketSystem > .container > .bottom > .basket > .container > .items > .container > .item {
    width: 100%;
    border-radius: 1.9vh;
    background: rgba(255,255,255,0.05);
    height: 7vh;
    padding: 1vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .5vw;
}

.marketSystem > .container > .bottom > .basket > .container > .items > .container > .item > .left {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1vw;
}

.marketSystem > .container > .bottom > .basket > .container > .items > .container > .item  img {
    width: 5vh;
}

.marketSystem > .container > .bottom > .basket > .container > .items > .container > .item  .iName {
    position: relative;
    padding: 0 .8vw 0 .8vw;
    height: 3vh;
    border-radius:35vw;
    background: rgba(255,255,255,0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3vh;
    font-weight: 600;
}

.marketSystem > .container > .bottom > .basket > .container > .items > .container > .item  .buttons {
    position: relative;
    display: flex;
    align-items: center;
    gap: .5vw;
}

.marketSystem > .container > .bottom > .basket > .container > .items > .container > .item  .buttons > .btn {
    width: 4.5vh;
    height: 4.5vh;
    border-radius: 1.4vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #4b00d6;
    color: #08070c;
    transition: .5s all;
    cursor: pointer;
}

.marketSystem > .container > .bottom > .basket > .container > .items > .container > .item  .buttons > .count {
    min-width: 4.5vh;
    height: 4.5vh;
    border-radius: 1.4vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.05);
    padding: 0 1vw 0 1vw;
    font-size: 1.7vh;
    font-weight: 600;
}

.marketSystem > .container > .bottom > .basket > .container > .items > .container > .item  .buttons > .btn:hover {
    background: rgb(89, 0, 255);
    box-shadow: 0 0 5vh 0 rgba(113, 36, 255, 0.15);
}

.marketSystem > .container > .bottom > .basket > .pay {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 1vh;
    width: 100%;
}

.marketSystem > .container > .bottom > .basket > .pay > .TPay {
    color: white;
    font-size: 2.5vh;
    font-weight: 600;
    transition: .5s all;
}

.marketSystem > .container > .bottom > .basket > .pay > .methods {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    height: 6vh;
}

.marketSystem > .container > .bottom > .basket > .pay > .methods > .btn {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 5px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 1.5vh;
    cursor: pointer;
    transition: .5s all;
}

.marketSystem > .container > .bottom > .basket > .pay > .methods > .cash {
    background: #4b00d6;
    color: #08070c;
    border-radius: 1.5vh;
}

.marketSystem > .container > .bottom > .basket > .pay > .methods > .cash:hover {
    background: rgb(89, 0, 255);
    box-shadow: 0 0 5vh 0 rgba(113, 36, 255, 0.15);
}

.marketSystem > .container > .bottom > .basket > .pay > .methods > .card {
    background: rgba(255,255,255,0.1);
    border-radius: 1.5vh;
}

.marketSystem > .container > .bottom > .basket > .pay > .methods > .card:hover {
    background: white;
    color: #08070c;
}