#basket h1 {
    margin-bottom: 60px;
}

#basket .list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

#basket .list .item .main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

#basket .list .item .main .image {
    width: 18%;
    border-radius: 15px;
    overflow: hidden;
}

#basket .list .item .main .image img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

#basket .details {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 65%;
}

#basket .numbers {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

#basket .price {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary);
}

#basket p {
    margin-bottom: 0;
}

#basket hr {
    margin: 5px 0;
    border: none;
    border-top: 1px solid #ddd;
}

#basket .sum {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 10px 0;
}

#basket .sum p {
    font-size: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

#basket .sum span {
    display: block;
    font-size: 18px;
    font-weight: 600;
    color: var(--primary);
}

#basket .left-side {
    display: flex;
    align-items: center;
    gap: 30px;
}

#basket .items .item .main .image {
    min-width: 160px;
    width: 160px;
    height: 160px;
    border-radius: 15px;
    overflow: hidden;
}

#basket .left-side .name {
    margin-bottom: 0;
}

#basket .right-side {
    display: flex;
    align-items: center;
    gap: 50px;
}

#basket .input {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: space-between;
    width: 130px;
    height: 42px;
    border: 1px solid var(--gray);
    border-radius: 99px;
    padding: 0 15px;
}

#basket .input button img {
    width: 20px;
}

#basket .quantity {
    font-size: 22px;
    font-weight: 600;
    color: #2F2F2F;
}

#basket .price {
    font-size: 26px;
}

#basket hr {
    margin: 20px 0;
}

#basket .sum {
    margin: 20px 0;
}

#basket .sum p {
    font-size: 26px;
}

#basket .sum span {
    font-size: 26px;
}

#basket .buttons {
    display: flex;
    width: 100%;
    justify-content: center;
    gap: 40px;
    margin-top: 50px;
}

#basket .buttons a {
    font-size: 18px;
}

#basketpage {
    padding: 8vw 0 0;
}

#basketpage .input-group-text {
    
    font-weight: 500;
}

#basketpage .form-check-input + label::before {
    border: 1px solid var(--primary);
}

#basketpage .form-check-input:checked+label::before {
    background-color: var(--primary);
}

#step, #checkoutcontent {
    margin: 0;
    padding: 0;
}

#basketcontent {
    margin-top: 0px;
    padding-top: 60px;
}

#basketpage h2 {
    font-size: 1.75rem;
    line-height: 1;
    font-weight: 600;
    margin: 0;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    text-transform: none;
    text-align: left;
}

#basketpage .primary-link {
    background-color: var(--primary);
}

#basketpage h2 .primary-link {
    text-transform: none;
}

#basketpage .secret {
    display: none;
}

#basketpage #step .breadcrumb {
    background-color: transparent;
    border-bottom: 1px solid white;
    border-radius: 0;
    padding: 0;
}

#basketpage #step .breadcrumb>li+li:before {
    content: none;
}

#basketpage #step .breadcrumb>li {
    margin: 0;
    width: 25%;
    padding: 8px 15px;
    border-bottom: 3px solid transparent;
    cursor: default;
    font-weight: 500;
}

#basketpage #step .breadcrumb>li>a {
    color: white;
    letter-spacing: 0.03em;
}

#basketpage #step .breadcrumb>.active {
    border-bottom: 5px solid white;
    font-weight: 600;
}

#basketpage #basketcontent .basket-product-list {
    background: #444444;
    border-radius: 10px;
}

#basketpage #basketcontent .basket-product-list {
    padding: 20px;
}

/* FORM */

#basketpage #basketcontent .data-content .form-group {
    position: relative;
    margin-bottom: 1.25rem;
}

#basketpage .input-group-text {
    background-color: transparent;
    color: white;
}

#basketpage .form-control {
    background-color: transparent;
    color: #fff;
    background-position: right 12px center;
    background-size: 16px;
}

#basketpage #basketcontent .data-content .form-label {
    position: absolute;
    left: 0;
    top: 10px;
    color: white;
    background-color: var(--dark);
    z-index: 10;
    transition: transform 150ms ease-out, font-size 150ms ease-out;
    pointer-events: none;
}

#basketpage #basketcontent .data-content .focused .form-label {
    transform: translateY(-125%);
    font-size: .75em;
}

#basketpage #basketcontent .data-content .form-input {
    position: relative;
    padding: 12px 0px 5px 0;
    width: 100%;
    outline: 0;
    border: 0;
    border-radius: 0;
    box-shadow: 0 1px 0 0 #e5e5e5;
    transition: box-shadow 150ms ease-out;

    &:focus {
        box-shadow: 0 2px 0 0 var(--primary);
    }
}

.form-control:focus,
.form-control:focus-visible {
    box-shadow: none !important;
    border: 1px solid #ddd !important;
    outline: none;
}

/* RADIO BTNS */

#basketpage #basketcontent .data-content label.btn,
#basketpage #basketcontent .data-content label.btn:focus {
    outline: none !important;
}

#basketpage #basketcontent .data-content label.btn a:hover {
    text-decoration: none;
}

#basketpage #basketcontent .data-content label.btn .radiodesc {
    font-size: 12px;
    padding-left: 30px;
}

#basketpage #basketcontent .data-content .btn-group>.btn:first-child:not(:last-child):not(.dropdown-toggle) {
    outline: none !important;
}

#basketpage #basketcontent .data-content label.btn span,
#basketpage #basketcontent .data-content label.btn span a {
    font-size: 18px;
    outline: none !important;
    padding-left: 0;
    z-index: 2;
    width: 100%;
    white-space: normal;
    line-height: 1.5;
}

#basketpage #basketcontent .data-content label.btn input[type="radio"]~i.fa.fa-circle-o {
    color: #c8c8c8;
    display: inline;
}

#basketpage #basketcontent .data-content label.btn input[type="radio"]~i.fa.fa-dot-circle-o {
    display: none;
}

#basketpage #basketcontent .data-content label.btn input[type="radio"]:checked~i.fa.fa-circle-o {
    display: none;
}

#basketpage #basketcontent .data-content label.btn input[type="radio"]:checked~i.fa.fa-dot-circle-o {
    color: var(--primary);
    display: inline;
}

#basketpage #basketcontent .data-content label.btn:hover input[type="radio"]~i.fa {
    color: var(--primary);
}

#basketpage #basketcontent .data-content label.btn input[type="checkbox"]~i.fa.fa-square-o {
    color: #c8c8c8;
    display: inline;
}

#basketpage #basketcontent .data-content label.btn input[type="checkbox"]~i.fa.fa-check-square-o {
    display: none;
}

#basketpage #basketcontent .data-content label.btn input[type="checkbox"]:checked~i.fa.fa-square-o {
    display: none;
}

#basketpage #basketcontent .data-content label.btn input[type="checkbox"]:checked~i.fa.fa-check-square-o {
    color: var(--primary);
    display: inline;
}

#basketpage #basketcontent .data-content label.btn:hover input[type="checkbox"]~i.fa {
    color: var(--primary);
}

#basketpage #basketcontent .data-content div[data-toggle="buttons"] label.active {
    color: var(--primary);
}

#basketpage #basketcontent .data-content div[data-toggle="buttons"] label.btn {
    display: inline-block;
    padding: 10px 15px;
    margin-bottom: 10px;
    font-size: 14px;
    font-weight: normal;
    line-height: 2em;
    text-align: left;
    white-space: nowrap;
    vertical-align: top;
    cursor: pointer;
    border-radius: 8px;
    color: white;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -o-user-select: none;
    user-select: none;
    box-shadow: none !important;
    background-color: #444;
    border: 2px solid #646464;
    transition: all 0.3s;
}

#basketpage #basketcontent .data-content div[data-toggle="buttons"] label.btn:hover {
    background-color: #545454;
}

#basketpage #basketcontent .data-content div[data-toggle="buttons"] label.btn.active {
    border-color: white;
}

#basketpage #basketcontent .data-content div[data-toggle="buttons"] label.btn a {
    transition: all 0.3s;
}

#basketpage #basketcontent .data-content div[data-toggle="buttons"] label.btn.active a {
    color: white;
    font-weight: 600;
}

#basketpage #basketcontent .data-content div[data-toggle="buttons"] label.btn input {
    pointer-events: none;
    opacity: 0;
}

.addaddressformdiv {
    padding-bottom: 30px;
}

#basketpage #basketcontent .data-content div[data-toggle="buttons"] label:hover {
    color: var(--primary);
}

#basketpage #basketcontent .data-content div[data-toggle="buttons"] label:active,
div[data-toggle="buttons"] label.active {
    -webkit-box-shadow: none;
    box-shadow: none;
    outline: none;
}

#basketpage #basketcontent .data-content .form-input.filled {
    box-shadow: 0 2px 0 0 var(--primary);
}

#basketpage #basketcontent .data-content .backlink {
    margin-top: 15px;
    font-size: 14px;
    text-decoration: underline;
}

#basketpage .addaddressformdiv .col-12 {
    padding: 0;
}

#basketpage #basketcontent .data-content .billingdatas h2 {
    margin-top: 30px;
}

#basketpage #basketcontent .data-content .billingdatas .btn-group {
    width: 100%;
}

#basketpage #basketcontent .data-content .facebookbtn {
    color: #fff;
    background: #3b5998;
    margin-top: 10px;
}

#basketpage #basketcontent .data-content .googlebtn {
    margin-top: 10px;
}

#basketpage #basketcontent .data-content .googlebtn i {
    color: #dd4b39;
}

#basketcontent .row div[role="alert"] {
    background-color: #444 !important;
    border-radius: 10px;
}

#basketpage #basketcontent .data-content .alert-success {
    border: 1px solid #d1d1d1;
    font-size: 15px;
    border-radius: 0;
    background: #f1f1f1;
    color: #000;
    margin-bottom: 5px;
}

#basketpage #basketcontent .basket-product-list .productlist-section {
    max-height: 500px;
    overflow-x: hidden;
    overflow-y: auto;
}

#basketpage #basketcontent .basket-product-list .basket-product-item {
    margin-bottom: 20px;
}

#basketpage #basketcontent .basket-product-list .basket-product-item .basketproductname {
    font-size: 15px;
    margin-bottom: 10px;
}

#basketpage #basketcontent .basket-product-list .basket-product-item .basketprice {
    font-weight: 600;
    font-size: 15px;
}

#basketpage #basketcontent .basket-product-list .price-list-section {
    border-top: 1px solid #d1d1d1;
    border-bottom: 1px solid #d1d1d1;
    padding: 23px 0 15px 0;
}

#basketpage #basketcontent .basket-product-list .price-list-section .basketitemprice {
    font-size: 15px;
    margin-bottom: 0;
}

#basketpage #basketcontent .basket-product-list .price-list-section .basketprice {
    font-weight: 600;
    font-size: 15px;
    margin-bottom: 0;
}

#basketpage #basketcontent .basket-product-list .sum-section {
    padding-top: 23px;
}

#basketpage #basketcontent .basket-product-list .sum-section .basketsumname {
    font-size: 20px;
}

#basketpage #basketcontent .basket-product-list .sum-section .basketsumprice {
    color: white;
    font-size: 20px;
    font-weight: 700;
}

#basketpage #mobile-cart .collapseheader {
    background: var(--primary);
    padding: 18px 0 10px 0;
}

#basketpage #mobile-cart .collapseheader a,
#basketpage #mobile-cart .collapseheader p {
    font-weight: 600;
    font-size: 18px;
    color: #fff;
}

#basketpage #mobile-cart .basket-product-list-mobile .basket-product-item {
    margin-bottom: 30px;
}

#basketpage #mobile-cart .basket-product-list-mobile .basket-product-item .basketproductname {
    font-size: 15px;
}

#basketpage #mobile-cart .basket-product-list-mobile .basket-product-item .basketprice {
    font-weight: 600;
    font-size: 15px;
}

#basketpage #mobile-cart .basket-product-list-mobile .price-list-section {
    border-top: 1px solid #d1d1d1;
    border-bottom: 1px solid #d1d1d1;
    padding: 23px 0 15px 0;
}

#basketpage #mobile-cart .basket-product-list-mobile .price-list-section .basketitemprice {
    font-size: 15px;
}

#basketpage #mobile-cart .basket-product-list-mobile .price-list-section .basketprice {
    font-weight: 600;
    font-size: 15px;
}

#basketpage #mobile-cart .basket-product-list-mobile .sum-section {
    padding-top: 23px;
}

#basketpage #mobile-cart .basket-product-list-mobile .sum-section .basketsumname {
    font-size: 22px;
}

#basketpage #mobile-cart .basket-product-list-mobile .sum-section .basketsumprice {
    color: white;
    font-size: 22px;
    font-weight: 600;
}

#checkoutcontent .user-datas {
    margin: 30px 0;
}

#checkoutcontent .user-datas .item .inner {
    padding: 20px;
    min-height: 180px;
    background-color: #444;
    border-right: 1px solid white;
}

#checkoutcontent .user-datas .item:first-child .inner {
    border-radius: 10px 0 0 10px;
}

#checkoutcontent .user-datas .item:last-child .inner {
    border-right: none;
    border-radius: 0 10px 10px 0;
}

#checkoutcontent .user-datas .item .inner h2 {
    margin: 0 0 10px 0;
    font-size: 22px;
}

#checkoutcontent .user-datas .item .inner h2 i {
    color: white;
}

#checkoutcontent .user-datas .item .inner p {
    margin: 0;
}

#checkoutcontent .user-datas .item .inner .name {
    font-weight: 600;
}

#checkoutcontent .user-datas .item .inner a {
    color: white;
}

#checkoutcontent .product-datas {
    padding: 15px;
}


#checkoutcontent .product-datas .basket-product-item {
    margin-bottom: 20px;
    padding: 0;
    font-size: 14px;
}

#checkoutcontent .product-datas .basket-product-item div {
    font-size: 14px;
}

#checkoutcontent .product-datas .basket-product-item img {
    width: 100%;
    object-fit: contain;
    object-position: 0 0;
    display: block;
}

#checkoutcontent .product-datas .basket-product-item .basketproductname {
    font-size: 18px;
    font-weight: 700;
    padding-bottom: 10px;
    border-bottom: 1px solid #cfcece;
}

#checkoutcontent .product-datas .basket-product-item span.basketkey {
    color: #999595;
}

#checkoutcontent .product-datas .basket-product-item span.basketvalue {
    font-weight: bold;
}

#checkoutcontent .product-datas .basket-product-item .basketprice {
    font-weight: 600;
    font-size: 18px;
}

#checkoutcontent .product-datas .price-list-section {
    padding: 25px 0 15px 0;
}

#checkoutcontent .product-datas .price-list-section .basketitemprice {
    font-size: 13px;
    margin-bottom: 0;
}

#checkoutcontent .product-datas .price-list-section .basketprice {
    font-weight: 600;
    font-size: 13px;
    margin-bottom: 0;
}

#checkoutcontent .product-datas .sum-section {
    padding: 20px 0;
}

#checkoutcontent .product-datas .sum-section .basketsumname {
    font-size: 20px;
}

#checkoutcontent .product-datas .sum-section .basketsumprice {
    font-size: 24px;
    font-weight: 700;
}

#checkoutcontent .checkout-finish {
    margin-bottom: 30px;
}

#checkoutcontent .checkout-finish .content-width {
    max-width: 500px;
}

#checkoutcontent .checkout-finish p,
#checkoutcontent .checkout-finish a {
    font-weight: 700;
}

#checkoutcontent .checkout-finish .btn-default {
    font-weight: 600;
    background: var(--primary);
    border: var(--primary);
    font-size: 22px;
    color: #fff;
    padding: 10px 30px;
}

.payment-option a {
    position: relative;
    height: 48px;
    margin-bottom: 10px;
    cursor: pointer;
    border-radius: 8px;
    color: white;
    background-color: #444;
    border: 2px solid #646464;
    transition: all 0.3s ease;
}

.payment-option a:hover {
    background-color: #545454;
}

.payment-option.active a {
    border-color: white;
}

.payment-option * {
    transition: all 0.3s ease;
}

.payment-option input {
    opacity: 0;
}

.payment-option span {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    color: white;
    padding: 10px 15px;
    transition: all 0.3s ease;
}

.payment-option.active * {
    font-weight: 600;
}


.payment-option .price {
    position: absolute;
    top: 0;
    right: 15px;
    height: 100%;
    display: flex;
    align-items: center;
    font-weight: 500;
}

.open-gls {
    margin: 15px auto;
}

.gls-form {
    margin: 5px auto 15px;
    padding: 14px;
    max-width: 460px !important;
    border-radius: 10px;
    box-shadow: 0 2px 14px rgba(0, 0, 0, 0.1);
    display: none;
    text-align: center;
}

.gls-form.show {
    display: block;
}

#basketpage #basketcontent .data-content .gls-form input {
    width: 0;
    height: 0;
    opacity: 0;
    padding: 0;
    pointer-events: none;
    margin-bottom: 0;
    display: block;
}

#gls-name-text {
    font-size: 1.125rem;
    margin-bottom: 0.125rem;
}

.coupon-box .btn {
    background-color: var(--primary);
    color: #fff;
    border: none;
    font-size: 16px;
    border-radius: 5px;
}

@media (max-width: 767px) {

    #basket .main {
        flex-direction: column;
        gap: 20px;
    }

    #basket .left-side {
        gap: 20px;
        align-items: center;
    }

    #basket .items .item .main .image {
        width: 110px;
        height: 110px;
    }

    #basket .left-side .name {
        font-size: 16px;
    }

    #basket .right-side {
        width: 100%;
        justify-content: space-between;
    }

    #basket .right-side .input {
        width: 120px;
        height: 40px;
    }

    #basket .price {
        font-size: 16px;
    }

    #basket .items .item .main .quantity {
        font-size: 16px;
    }

    #basket .input button img {
        width: 18px;
        height: 18px;
    }

    #basket .sum {
        margin: 0;
    }

    #basket .sum p {
        font-size: 18px;
    }

    #basket .sum span {
        font-size: 18px;
    }

    #basket .buttons {
        flex-direction: column;
        gap: 20px;
        margin-top: 30px;
    }

    #basket .buttons .primary-link {
        width: 250px;
        font-size: 16px;
        margin: 0 auto;
        text-align: center;
    }

    #basket .buttons .secondary-link {
        width: 250px;
        font-size: 16px;
        margin: 0 auto;
        text-align: center;
    }

    #basketpage {
        padding: 30px 0 0;
    }

    #basketpage header {
        display: none;
    }

    #basketpage #step {
        display: none;
    }

    #basketpage #step .breadcrumb {
        display: flex;
        flex-direction: column;
        align-items: center;
        border-bottom: none;
        gap: 8px;
    }

    #basketpage #step .breadcrumb > li {
        width: 100%;
        border-bottom: 1px solid var(--primary);
    }

    #basketpage .basket-product-list {
        display: none;
    }

    #basketpage h2 {
        font-size: 1.5rem;
    }

    .addaddressformdiv {
        padding-bottom: 20px;
    }

    #basketpage #checkoutcontent {
        margin-top: 40px;
    }

    #checkoutcontent .container {
        padding: 0 15px;
    }

    #checkoutcontent .user-datas .item .inner {
        min-height: 0;
        border-right: none;
        border-bottom: 1px solid white;
    }

    #checkoutcontent .user-datas .item:first-child .inner {
        border-radius: 10px 10px 0 0;
    }

    #checkoutcontent .user-datas .item:last-child .inner {
        border-radius: 0 0 10px 10px;
        border-bottom: none;
    }

    #checkoutcontent .container {
        margin-top: 0;
    }

    #checkoutcontent .product-datas .basket-product-item {
        margin-bottom: 15px;
    }

    #checkoutcontent .product-datas .sum-section {
        padding: 0;
        margin-top: 15px;
    }

    .col-form-label {
        text-align: left !important;
    }

    #checkoutcontent .product-datas .basket-product-item .basketprice {
        font-size: 15px;
        white-space: nowrap;
    }

    #checkoutcontent .product-datas .basket-product-item .basketproductname {
        font-size: 16px;
    }

    #checkoutcontent .product-datas {
        padding-bottom: 0;
    }

    #basketpage #basketcontent .data-content label.btn span,
    #basketpage #basketcontent .data-content label.btn span a {
        font-size: 15px;
    }

}

@media (min-width: 768px) and (max-width: 1023px) {

    #basketpage {
        padding: 100px 0 0;
    }

    #basketpage #mobile-cart {
        display: none;
    }

    #checkoutcontent .user-datas .item:first-child .inner,
    #checkoutcontent .user-datas .item:last-child .inner {
        border-radius: 0;
    }

    #checkoutcontent .user-datas .item:nth-child(2) .inner {
        border-right: none;
    }

    #checkoutcontent .user-datas .item:first-child .inner,
    #checkoutcontent .user-datas .item:nth-child(2) .inner {
        border-bottom: 1px solid white;
    }
}

@media (min-width: 993px) and (max-width: 1200px) {
    #basketpage #mobile-cart {
        display: none;
    }
}

@media (min-width: 1201px) and (max-width: 1366px) {
    #basketpage #mobile-cart {
        display: none;
    }
}

@media (min-width: 1367px) {
    #basketpage #mobile-cart {
        display: none;
    }
}