/*
    RESET 
*/


.gd-custom__cart .container  {
    padding: 0 !important;
    max-width: 100% !important;
}

.gd-custom__cart .container .row  { 
    display: block !important;
    margin: 0 !important;
}

/*
    HEADER
*/


.cart-header {
    height: 70px;
    max-width: 1460px;
    margin: 40px auto 0 auto;
    padding: 0 15px;
}

.cart-header__wrap {
    border-radius: 8px;
    box-shadow: 0px 2px 8px 0px rgba(0, 0, 0, 0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 12px;
    height: 100%;
}


.cart-header__title {
    font-size: 22px;
    font-weight: 600;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
    gap: 7px;
}


/*
    TOP MAIN
*/

.gd-cart__main {
    max-width: 1460px;
    margin: 15px auto 200px auto;
    padding: 0 15px;
}


.gd-cart__top-btn {
    border: none;
    background-color: transparent;
    display: flex;
    font-size: 14px;
    font-weight: 300;
    justify-content: start;
    align-items: center;
    gap: 7px;
}

.gd-cart__top-btn i {
    font-size: 12px;
}

.gd-cart__top-btn:hover { 
    color: #F2A900;
}



.gd-cart__quote-btn {
    background-color: #F2A900;
    border-radius: 5px;
    border: none;
    font-size: 14px;
    font-weight: 700;
    padding: 10px 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-transform: uppercase;
    transition: .1s ease-in-out;
    transition-property: invert;
    margin: 50px 0 30px 0;
    gap: 8px;
}


.gd-cart__quote-btn:hover {
    background-color: #231F20;
    color: #fff;
}

.gd-cart__quote-btn:hover img { 
    filter: invert(100%);
    transform: rotate(45deg);
}


/*
  BODY
*/


.gd-cart__wrap {
    display: flex;
    justify-content: space-between;
    align-items: start;
    gap: 100px;
}

.gd-cart__wrap .card-title,
.gd-cart__total-wrap .card-title
{
    font-size: 22px;
    font-weight: 500;
    margin: 0;
    text-transform: capitalize;
}

.gd-cart__total-wrap .card-title {
    margin-bottom: 30px;
}


.gd-cart__wrap .calculate__text {
    margin: 0;
}

.gd-cart__wrap .calculate__text a { 
    font-weight: 500;
    text-decoration: underline;
}

.gd-cart__total-sidebar {
    position: sticky;
    top: 25px;
    width: 510px;
}


.gd-cart__table-wrap {
    width: calc(100% - 580px);
}

.gd-cart__checkout-btn {
    background-color: #231f20;
    border: none;
    border-radius: 5px;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    width: 100%;
}


.gd-cart__checkout-btn:disabled {
    cursor: not-allowed;
    opacity: .5;
}

.gd-cart__checkout-btn:disabled:hover { 
    background-color: #231f20;
}

.gd-cart__checkout-btn:hover { 
    background-color: #F2A900;
}

/*
    CALCULATE   
*/

.gd-cart__table-wrap .calculate {
    margin-left: 0;
    float: none;
    width: 100%;
}

.calculate__title-wrap,
.gd-cart__top-wrap
{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}



.calculate__card {
    border: 1px solid #D9D9D9; 
    border-radius: 5px;
    padding: 50px 35px;
}

.calculate__form {
    border-bottom: 1px solid #d9d9d9;
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 20px;
    padding-bottom: 25px;
    margin-bottom: 25px;
}


.calculate__form .form-group {
    margin: 0;
}


.calculate__form-text {
    font-size: 16px;
    font-weight: 500;
    display: flex;
    justify-content: start;
    align-items: center;
    height: 40px;
}

.calculate__form input , .calculate__form select {
    border: 1px solid #D9D9D9;
    border-radius: 5px;
    font-size: 15px;
    font-weight: 400;
    height: 40px;
    width: 100%;
}

.calculate__form input  {
    padding-left: 15px;
}

.calculate__form input::placeholder {
    color: #000;
    font-size: 15px;
    font-weight: 400;
}


.gd-cart__check-btn {
    font-size: 16px;
    font-weight: 600 !important;
}

.gd-cart__check-btn:hover {
    background-color: #FFC624;
}

.gd-cart__shipping {
    margin-bottom: 25px;
}

.gd-cart__shipping:last-child {
    margin-bottom: 0;
 }

.gd-cart__shipping .gd-cart__shipping-row {
    display: flex;
    justify-content: start;
    align-items: start;
    flex-wrap: nowrap;
    gap: 15px;
    margin: 0;
}

.gd-cart__radio {
    margin-top: 5px;
}

.gd-cart__shipping-row p  { 
    margin: 0;
}


.gd-cart__shipping .gd-cart__row-text {
    color: #9B9B9B;
    font-size: 15px;
    font-weight: 300;
    margin: 10px 0 0 0;
}


.gd-cart__row-value {
    font-size: 16px;
    font-weight: 600;
    margin: 0;
}


/*
    TABLE   
*/

.gd-cart__table {
    margin-top: 80px;
}

.gd-cart__item {
    margin-bottom: 20px;
}


.gd-cart__item:last-child { 
    margin-bottom: 0;
}

.gd-cart__item-wrap {
    background-color: #fff;
    border: 1px solid #d9d9d9;
    border-radius: 5px;
    display: flex;
    justify-content: start;
    align-items: start;
    flex-wrap: nowrap;
    padding: 30px 25px;
    gap: 35px;
}


.gd-cart__item-right {
    margin-left: auto;
    display: flex;
    justify-content: end;
    align-items: start;
    flex-wrap: nowrap;
    gap: 15px;
}


.gd-cart__item-img img {
    height: auto;
    width: auto;
    max-height: 100%;
    max-width: 100px;
}

.gd-cart__item-sku {
    color: #FFC624;
    display: block;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 12px;
}


.gd-cart__item-title {
    color: #000;
    font-size: 16px;
    font-weight: 700;
}


.gd-cart__item-price {
    font-size: 22px;
    font-weight: 700;
}

.gd-cart__update-btn {
    background-color: #fff;
    border: 1px solid #d9d9d9;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 700;
    height: 45px;
    margin: 40px 0 50px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    width: 100%;
}

.gd-cart__update-btn:hover {
    background-color: #F2A900;
}

.gd-cart__shipping-message {
    width: 701px;
}

.gd-cart__shipping-message .gd-cart__shipping-title, 
.gd-cart__compliance-wrap .gd-cart__shipping-title
{
    display: block;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 24px;
}

.gd-cart__shipping-message--mobile {
    display: none;
}


.gd-cart__shipping-message p {
    font-size: 16px;
    font-weight: 400;
}


.gd-cart__compliance-wrap {
    margin-top: 15px;
    width: 100%;
}



/*
    SIDEBAR
*/ 


.gd-cart__total {
    border: 1px solid #d9d9d9;
    border-radius: 5px;
    padding: 28px 25px;
}


.gd-cart__total-wrap .gd-cart__row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 0 25px 0;
}

.gd-cart__total-wrap .gd-cart__row:last-child {
    margin: 0;
}

.gd-cart__total-wrap .gd-cart__row-text {
    font-size: 15px;
    font-weight: 400;
}

.gd-cart__total-wrap .gd-cart__row-value {
    font-size: 15px;
    font-weight: 600;
}


.gd-cart__row--discount {
    border-top: 1px solid #d9d9d9;
    margin-top: 30px;
    padding-top: 30px;

}


.gd-cart__row--discount .title {
    font-size: 15px;
    font-weight: 600;
}
.gd-cart__row--discount .subtext {
    font-size: 15px;
    font-weight: 500;
}


.gd-cart__grand-total {
    background-color: #F6F6F6;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 55px;
    padding: 0 25px;
    margin: 15px 0; 
}


.gd-cart__total-title {
    font-size: 18px;
    font-weight: 600;
    margin: 0;
}


/*
    BREAKPOINTS
*/

@media (max-width: 1024px) {


    .gd-cart__wrap {
        display: block;
    }

    .gd-cart__total-sidebar,
    .gd-cart__table-wrap
    {
    width: 100%;
    }

    .calculate__title-wrap {
        display: block;
    }

    
    .gd-cart__item-wrap {
        padding: 15px;
    }

    .calculate__form {
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px; 
    }


    .calculate__card {
        padding: 15px;
        gap: 15px;
    }

    .gd-cart__item-img img {
        max-width: 50px;
    }


    .gd-cart__item-sku {
        font-size: 12px;
    }


    .gd-cart__item-title {
        font-size: 14px;
    }


    .gd-cart__item-price {
        font-size: 18px;
    }




    .gd-cart__total {
        padding: 15px;
    }

    .gd-cart__grand-total {
        padding: 0 15px;
    }


    .gd-cart__shipping-message {
        width: 100%;
    }


    .gd-cart__shipping-message--desktop {
        display: none !important;
    }

    .gd-cart__shipping-message--mobile { 
        display: block !important;
        margin-top: 50px;
    }

}