﻿.CartPage {
    width: 100%;
    height: fit-content;
    align-content: stretch;
    display: flex;
    justify-content: center;
    min-height: fit-content;
    min-width: 300px;
}

.page-title {
    font-family: 'Quicksand', sans-serif;
    /*new*/
    font-family: 'Bebas Neue', cursive;
    font-style: italic;
    letter-spacing: 2px;
    font-size: 1.6rem;
    color: #343434;
    color: var(--theme-text-color-soft) !important;
}

.cart-page-container {
    width: 100%;
    display: flex;
    flex-grow: 1;
    max-width: 1500px;
    min-width: 300px;
    min-height: fit-content;
    height: 100%;
}



.cart-sector {
    background: var(--pads-bg-light);
    border-radius: 5px;
    align-content: stretch;
    display: flex;
    flex-direction: column;
/*    box-shadow: -3px 3px 6px 2px var(--shop-top-row-shadow);
*/    padding-bottom: 10px
}
.theme-dark .cart-sector {
    background: transparent ;
    box-shadow: none;
    color: var(--theme-text-color-soft) !important;
    border: 1px solid #9898983d;
}
.controls button{
    background: transparent;
    border: none;
    font-size: 0.8rem;
    color: var(--theme-text-color-soft) !important;
}
.controls button:hover{
    color:white !important;
}
.btn-wishlist-all span:nth-child(2) {
    margin-top:4px;
}
.btn-wishlist-all span:first-child{
    color: #ffc300;
}

.btn-remove-all span:nth-child(2) {
    margin-top: 4px;
}

.btn-remove-all span:first-child {
    color: #ff2c2c;
    color: #868686;
}

.sub-sector {
    background: #efefef;
    box-shadow: none !important;
}

.app-form-container {

}

.back-to-shop {
    min-height: 200px;
    cursor: pointer;
}

    .back-to-shop p {
        font-size: 1.1rem;
    }

.shop-link {
    font-size: 0.9rem !important;
    color: #3a74ff;
    font-weight: 600;
}

    .shop-link:hover {
        font-size: 0.97rem !important;
        transition: 0.1s;
    }

.cart-animation {
    animation: cart-spawn 0.5s ease forwards;
}

.cart-sector {
    animation: cart-spawn 0.5s ease forwards;
}

@keyframes cart-spawn {
    0% {
        opacity: 0;
        transform: translateY(-20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0px);
    }
}


.cart-item {
    overflow: hidden;
    height: fit-content;
    box-shadow: -3px 3px 6px 2px var(--shop-top-row-shadow);
    min-height: fit-content;
}
.theme-dark .cart-item {
    background: transparent;
    color: white !important;
    border: 2px solid #9898983d;
}

    .cart-item:hover {
        outline: 2px solid #5074ff;
    }

.cart-item-header {
    background: #ebebeb;
    background: none;
    border-bottom: 1px solid #e4e4e4;
    border: none;
    height: 34px;
    align-items: center;
    display: flex;
    font-weight: 600;
    font-size: 1.1rem;
    padding-top: 10px;
}
    .cart-item-header i {
/*        color: #5074ff;
*/        filter: opacity(0.5);
    }

.cart-item-img-box {
    --img-size: 80px;
    width: var(--img-size);
    height: var(--img-size);
    max-width: var(--img-size);
    max-height: var(--img-size);
    min-width: var(--img-size);
}

    .cart-item-img-box img {
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
    }



.cart-item-name {
    white-space: pre-wrap;
    display: flex;
    height: fit-content;
    word-break: break-word;
    flex-grow: 1;
    max-width: 200px !important;
    text-overflow: ellipsis;
    overflow: hidden;
    min-width: 100% !important;
}

.item-total {
    transform: scale(1.1);
    font-family: 'Montserrat', sans-serif;
}

.cart-quantity-btn {
    border: 2px solid #dedede;
    border-radius: 3px;
    height: 28px;
    width: 28px;
    font-size: 0.8rem;
}


.cart-item-amount {
    font-weight: 600;
    margin-inline: 0px;
    min-width: 35px;
    min-height: 35px;
    border: 2px solid #dedede;
    border-radius: 3px;
}

.resume-title {
    font-size: 0.9rem;
}

.cart-resume-value {
    font-size: 1.1rem;
}

.free-ship {
    color: #39c42f;
    font-weight: 500;
}

.sub-total {
    font-size: 0.9rem;
    font-family: 'Montserrat', sans-serif;
}

.price-decimal {
    margin-left: 3px;
    font-size: 0.8rem;
}

.resume-concept {
    color: #454545;

    color: var(--theme-text-soft);
    font-size: 0.9rem !important;
}


.dot-padding {
    display: flex;
    flex-grow: 1;
    border-bottom: 1px dotted #e4e4e4 !important;
    max-height: 20px;
    margin-inline: 10px;
    padding-block: 5px;
    transform: translateY(-5px);
}

.cart-header {
    display: flex;
    width: 100%;
    min-height: 10px;
    background: #1840ff;
    background: var(--app-accent) !important;
    border: none !important;

}

.cart-pay-header {
/*    background: #7de65e !important;*/

}

.discount-tag {
    font-family: 'Bai Jamjuree', sans-serif !important;
    border-radius: 5px;
}

.payments-sector {
    overflow: hidden;
}

.pay-method-container {
    background: transparent;
    border-block: 1px solid #8f8f8f30;
    height:     70px;
    min-height: 70px;
    width: 100%;
    display: flex;
}
    .pay-method-container:nth-of-type(2) {
        border-top: none !important;
    } 
    .pay-method-container:last-of-type{
        border-bottom: none;
    }
    .pay-method-container input {
        transform: scale(1);
        cursor: pointer;
    }

    .pay-method-container:hover {
        /*outline: 2px solid #5074ff;*/
        background: #e0e0e0 ;
    }
    .theme-dark .pay-method-container:hover{
        background: #424242;
    }

.cart-icon-container {
    display: flex;
    max-width: 48px;
    max-height: 48px;
    width: 100px;
    margin-inline: 10px;
}

    .cart-icon-container img {
        display: flex;
        max-width: 100%;
        max-height: 100%;
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

.payment-disabled * {
    filter: grayscale(1);
}

.payment-disabled span {
    color: #7e7e7e;
}

.payment-description {
    font-size: 1.0rem;
}

.required-animation {
    --outline-color: #5074ff;
    --outline-color: #ffc300;
    outline: 3px solid var(--outline-color);
    animation: required 1s 3 forwards;
}

.conflict-outline {
    --outline-color: #ffc300;
    outline: 3px solid var(--outline-color);
}

@keyframes required {
    0% {
        outline: 3px solid var(--outline-color);
        outline-color: transparent;
    }

    90% {
        outline-color: var(--outline-color);
    }

    100% {
        outline-color: transparent;
    }
}

.cart-stock-warning {
    position: relative;
    margin-left: 10px;
    color: #f52619;
    font-size: 1.2rem;
}

@media ALL and (min-width: 768px ) {
    .quantity-tag {
        position: absolute;
        bottom: 42px !important;
    }
}

.quantity-tag {
    position: absolute;
    bottom: -22px;
    font-size: 0.7rem;
    height: 16px;
    font-weight: 600;
    padding-inline: 10px;
    background: #e9e9e9;
    border-radius: 2px;
    left: 20px;
    color: var(--theme-text-color-soft-light) !important;
}

.stock-warning-prop {
    position: absolute;
    min-width: fit-content;
    white-space: nowrap;
    background: #eaeaea;
    border-radius: 10px;
    padding-inline: 10px;
    padding-block: 3px;
    right: -140px;
    top: -25px;
    opacity: 0;
    transition: opacity 0.4s;
}

.stock-warning-sub {
    bottom: -25px;
    align-content: center;
    text-align: center;
    border-radius: 5px;
    padding-inline: 10px;
    left: -10px;
    padding-block: 1px;
    position: absolute;
    color: #ea2c2c;
    font-weight: 600;
    font-size: 0.8rem;
    background: #e9e9e9;
}

.fade-warning {
    animation: fadeoutwarning 5s ease forwards !important;
}


.address {
    min-height: 85px !important;
    display: flex;
    height: 120px;
    
}

    .address span {
        
        font-weight: 600;
        font-size: 1.1rem;
    }

        .address span:hover {
            color: black;
        }

@keyframes fadeoutwarning {
    0% {
        transition: opacity 1s;
        opacity: 1;
    }

    75% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}


.address-modal {
    z-index: 2;
    background: #0000009b;
}

    .address-modal .cart-sector {
        box-shadow: none;
    }
.theme-dark .address-modal .cart-sector {
    background: #2a2a2a ;
    color: var(--theme-text-color-soft-dark);
}
.address-picker {
    flex-grow: 1;
    flex-shrink: 0;
    display:flex;
    flex-direction: column;
    max-width: 95vw;
    width: 400px;
}

    .address-picker  input[type="radio"] {
        transform: scale(0.6);
        margin: 0px !important;
    }
.radio-container {
    margin-right: 0px !important;
    width: 30px !important;
    max-width: 30px !important;
    height: 25px;
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: center;
}

.address-modal input {
}

.address-text {
    margin-left: 10px;
    width: 100%;
    font-size: 0.9rem;
    color: #606060;
    font-weight: 600;

}

@media ALL and (max-width: 400px){

    .address-text {
        font-size: 0.7rem;
    }
}

.pcbuild-icon {
}

    .pcbuild-icon .page-title {
        font-weight: 600 !important;
    }

    .pcbuild-icon img {
        width: 60px;
        margin-inline: 30px;
    }

.pre-build-requested {
    outline: 3px solid #28a745;
}

.prebuild-description {
    font-size: 1rem;
}

.prebuild-header {
    background: #28a745 !important;
    background: linear-gradient( 90deg,#5244ff ,#ffffff) !important;
}
.import-card-sector .cart-header {
    background: linear-gradient( 90deg,#ff4d09,#ffffff) !important;
}
.prebuild-btn {
    height: 60px;
}

#continue-reservation {
    height: 45px;
    font-size: 1.1rem;
    font-family: 'Bai Jamjuree', sans-serif;
}


.installments {
}
.installment-item{
    height: 40px;
    display: flex;
    align-items: center;
    font-size: 0.9rem;
    padding-inline: 14px;
    position: relative;
}
.installment-item input{

}
    .installment-item label {
        top: 3px;
        left: 0px;
        position: absolute;
        width: 100%;
        height: 85%;
        border-radius: 4px;
        cursor: pointer;
    }
        .installment-item label:hover {
            background: #8f8f8f4e;
        }
    .installment-item:hover {
    }
.installment-item:not(:last-of-type) {
/*    border-bottom: 1px solid #9292924b;
*/}
.btn-container {
    background: white;
    padding: 10px !important;
    border-radius: 0px 0px 4px 4px;
}
.btn-pay {
    width: 100%;
    height: 70px;
    font-size: 1.3rem;
    letter-spacing: 0px;
    margin: 0px !important;
}
#cardPaymentBrick_container {
    margin-bottom: 0px !important;
}
    #cardPaymentBrick_container form {
        border-radius: 3px !important;
        border-radius: 4px 4px 0px 0px !important;
        height: 100%;
        margin-bottom: 0px !important;
    }
#cardPaymentBrick_container form > div > div:not(:first-child){
    margin-bottom: 10px;

}

    #cardPaymentBrick_container div, #cardPaymentBrick_container input {
        border-radius: 3px !important;
    }


.go-back{
    width: 95px;
    min-height: 90px;
    max-width: 90px;
    cursor:pointer;
    width: 100%;
    transition: 0.1s;
    position: relative;
}

@media ALL and (max-width: 575px){
    .go-back{
        max-width: 100%;
    }
}

/*label {
    text-align: center;
    font-size: 0.7rem;
    position: absolute;
    bottom: 7px;
    color: #b7b7b7;
}*/


.go-back:hover{
    filter:brightness(0.96);
    color: var(--app-accent);
}

.cart-resume-item {
    width: 100%;
    height: 90px;
    display: flex;
}

    .cart-resume-item img {
        display: flex;
        object-fit: contain;
        max-height: 100%;
        height: 100%;
        width: fit-content;
    }
.fit-img {
}


.material-symbols-outlined{

}

.info-sector .cart-item-header {
    background: var(--app-accent) !important;
    align-items: center;
    display:flex;
    margin-top: -0px;
    padding-top: 2px;
    
    overflow: hidden;
    height: 30px;
    font-size: 0.8rem;
}
.info-sector {
    padding-bottom: 0px;
    overflow: hidden;
    filter: opacity(0);
    animation: fade-in-tip 0.9s ease forwards !important;
}

.info-sector .address-text{
    color:white;
}

@keyframes fade-in-tip{
    0%{
        filter: opacity(0);
    }

    100% {
        filter: opacity(1);
    }
}


.cart-combo-item {
    outline: 3px solid red;
    border-radius: 0px;
    margin-top: 45px !important;
    position:relative;
    overflow: visible;
}

.combo-ribbon {
    position: absolute;
    display:flex;
    align-items: center;
    --height: 35px;
    border-radius: 12px 12px 0 0;
    padding-inline: 15px;
    top: calc(var(--height) * -1 - 2px);
    left: -2px;
    width: 200px;
    height: var(--height);
    clip-path: polygon(4% 0, 96% 0, 100% 100%, 0% 100%);
}

    .combo-ribbon > div {
        font-family: 'Bebas Neue', cursive;
        letter-spacing: 1px;
        font-style: italic;
        font-size: 1.3rem;
        color: white;
    }

.cart-combo-img-box {
    --img-size: 80px !important;
    background: #eeeeee;
    background: var(--theme-bg);
    max-width: var(--img-size);
    min-width: var(--img-size);
    min-height: var(--img-size);
    height: var(--img-size);
    border-radius: 50%;
    padding: 3%;
    box-shadow: 0px 0px 8px #00000040;
    margin-left: -20px;
    z-index: 0;
    transition: transform 0.1s ease;
}
.cart-combo-img-box:hover{
    outline: 2px solid #1e29ff;
    cursor: pointer;
    z-index: 1;
    transform: scale(1.5);
}

@media ALL and (max-width: 400px) {
    .cart-combo-img-box {
        --img-size: 60px !important;
    }
}

.cart-combo-img-box img {
    min-width: 100%;
    min-height: 100%;
    object-fit: contain;
}

.original-price {
    color: #6f6f6f;
    bottom: -10px;
    right: 6px;
    font-size: 0.7rem;
    position:absolute;
    text-decoration: line-through;
}







.pricings {
    border: 1px solid #adadad3e;
    border: 1px solid #939393;
    /*  padding-block: 15px;*/
    border-radius: 9px;
    width: 100%;
    overflow: hidden;
}

.price-row {
    padding-inline: 15px;
    display: flex;
    align-items: start;
    flex-grow: 1;
    flex-shrink: 1;
    font-size: 0.9rem;
    flex-wrap: nowrap;
    padding-block: 10px;
    max-height: fit-content;
}

.price-row {
    border-bottom: 1px solid #c6c6c6;
}

    .price-row:last-of-type {
        border-bottom: 0px !important;
    }

    .price-row:hover {
        background: #c6c6c6 !important;
        cursor: pointer;
    }
    .theme-dark .price-row:hover{
        background: #9b9b9b1b !important;
    }

.pay-method {
    margin-left: 15px;
    display: flex;
    font-family: "Ubuntu", sans-serif;
    font-size: 1.1rem;
    display: flex;
    gap: 10px;
    align-items: center;
}

.sale-price {
}

.height-cap-row {
    min-height: 50px !important;
    max-height: fit-content;
}

.price-row {
}

.price-sep {
    width: 100%;
    display: flex;
    border-top: 1px solid #7676761e;
    margin-block: 7px;
    display: none;
}

.getnet-logo {
    max-height: 100%;
    display: flex;
    max-height: 50px;
}

    .getnet-logo img {
        object-fit: contain;
        max-height: 100%;
    }

.card-logos {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
}

    .card-logos img {
        max-height: 32px;
    }
