* {
    font-family: "Sora", sans-serif;
    font-optical-sizing: auto;
    font-weight: normal;
}

.checkout-modal .select-wrapper {
    position: relative;
    display: block;
}

/* The select itself */
.checkout-modal select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

/* Remove the default arrow in IE/Edge */
.checkout-modal select::-ms-expand {
    display: none;
}

.checkout-modal .select-arrow {
    /* Absolutely position the arrow on top of the select */
    position: absolute;
    top: 50%;
    right: 0.65rem;
    transform: translateY(-50%);

    /* so clicks go through to the select */
    pointer-events: none;
}

/* Use a pseudo-element for the arrow character */
.checkout-modal .select-arrow::before {
    content: '▼';
    font-size: 0.8rem;
    color: #000000a8;
    line-height: 1;
    display: inline-block;
}

.checkout-modal.show {
    z-index: 99999991;
}

.checkout-modal .modal-content {
    border-radius: 20px !important;
}

.modal-content {
    backdrop-filter: none !important;
    box-shadow: none !important;
    background: none !important;
    border-radius: 20px 20px 0 0 !important;
}

.modal-content::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-width: 1px 0px 1px 1px !important;
    border-style: solid !important;
    border-color: #E4E4E4 !important;
    background: rgba(255, 255, 255, 0.95);
    z-index: -1;
    border-radius: inherit;
    backdrop-filter: blur(10px);
}

.modal-custom-body {
    padding: 20px;
    height: 100%;
    border-radius: 15px;
}

.checkout-modal-body {
    display: flex;
    width: 100%;
    height: 100%;
    overflow: hidden;
    gap: 20px;
}

.checkout-left {
    width: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 0px 38px;
}

.checkout-left .input-group {
    display: flex;
    gap: 5px;
    background: none;
    border: 0px;
    border-radius: 0px;
}

.checkout-left .input-group .form-control {
    background: #FBFBFB;
    border: 1px solid #F3F3F3;
    border-radius: 4px;
    font-family: Sora;
    font-size: 14px;
    font-weight: 400;
    line-height: 19.81px;
    text-align: left;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;
    color: #000000
}

.checkout-left .pro-btn1 {
    font-size: 14px;
    font-weight: 400;
    line-height: 19.81px;
    text-align: center;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;
    width: 119px;
    border-radius: 4px;
}

/* Hide Scrollbar on WebKit Browsers: Chrome/Safari, etc */
.checkout-left::-webkit-scrollbar,
.checkout-right::-webkit-scrollbar,
.checkout-right .product-items::-webkit-scrollbar {
    display: none;
}

/* Hide Scrollbar on Firefox */
.checkout-left,
.checkout-right,
.checkout-right .product-items {
    scrollbar-width: none;
}

/* Hide Scrollbar on IE/Edge */
.checkout-left,
.checkout-right,
.checkout-right .product-items {
    -ms-overflow-style: none;
}

.checkout-left h2 {
    color: #000;
    font-size: 18px;
    font-weight: 700;
    line-height: 25.47px;
    text-align: center;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;
    margin: 0px;
}

.checkout-left h3 {
    font-size: 18px;
    font-weight: 400;
    line-height: 25.47px;
    text-align: left;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;
    color: #000;
    margin: 0px 0px 4px;
}

.checkout-left p {
    font-family: Sora;
    font-size: 12px;
    font-weight: 400;
    line-height: 16.98px;
    text-align: left;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;
    color: rgba(0, 0, 0, 0.8);
}

.tbd-radio,
.tbd-checkbox,
.checkout-left .payshopcheckbox {
    position: relative;
    padding-left: 31px;
    margin-bottom: 16px;
}

.tbd-radio input,
.tbd-checkbox input,
.checkout-left .payshopcheckbox input {
    opacity: 0;
    position: absolute;
}

.tbd-radio label,
.tbd-checkbox label,
.checkout-left .payshopcheckbox label {
    position: relative;
    cursor: pointer;
    margin: 0px;
}

.tbd-radio label:before,
.tbd-checkbox label:before,
.checkout-left .payshopcheckbox label:before {
    content: "";
    width: 21px;
    height: 21px;
    border-radius: 4px;
    background-color: #FFFFFF;
    border: 2px solid #F1F1F1;
    position: absolute;
    top: 50%;
    transform: translate(0, -50%);
    left: -31px;
}

.tbd-radio input:checked+label:before,
.tbd-checkbox input:checked+label:before,
.checkout-left .payshopcheckbox input:checked+label:before {
    background: #3a3a3a;
    border: 4px solid #fff;
    box-shadow: 0px 0px 0px 1px #f3f3f3;
    cursor: pointer;
}

.tbd-radio label h4,
.tbd-checkbox label h4,
.checkout-left .payshopcheckbox label h4 {
    font-family: Sora;
    font-size: 14px;
    font-weight: 400;
    line-height: 19.81px;
    text-align: left;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;
    /* color: #000; */
    color: #313131;
    margin: 0 0px;
}

.tbd-radio label span,
.tbd-checkbox label span,
.checkout-left .payshopcheckbox label span {
    font-family: Sora;
    font-size: 11px;
    font-weight: 400;
    line-height: 15.57px;
    text-align: left;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;
    color: rgba(0, 0, 0, 0.66);
}

.checkout-left .payshopcheckbox .payment-details {
    width: 100%;
    margin-top: 7px;
}

.checkout-left .payshopcheckbox .payment-details>p {
    display: inline-flex;
    gap: 5px;
    margin: 0px;
    background: #3a3a3a0d;
    padding: 15px;
    border-radius: 6px;
    font-family: Sora;
    font-size: 12px;
    font-weight: 400;
    line-height: 16.98px;
    text-align: left;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;
    color: #000000cc;
    flex-direction: column;
}

.checkout-left .payshopcheckbox .payment-details p a {
    font-family: Sora;
    font-size: 11px;
    font-weight: 400;
    line-height: 15.57px;
    text-align: left;
    text-decoration-line: underline;
    text-decoration-style: solid;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;
    color: #000000cc;
}

.checkout-left .payshopcheckbox .payment-option-items-v2 {
    border-radius: 6px;
}

.checkout-left .payshopcheckbox .payment-option-items-v2 p {
    margin: 0;
}

.checkout-left .payshopcheckbox .payment-option-items-v2 ul {
    padding: inherit;
    margin: inherit;
    list-style-type: initial;
    margin-top: 0;
    padding-top: 10px;
}

.checkout-left .payshopcheckbox .payment-option-items-v2 {
    margin-top: 10px;
    border-radius: 6px;
    padding: 30px;
}

.checkout-left .payshopcheckbox .payment-option-items {
    display: flex;
    padding: 30px;
    gap: 20px;
    background-color: #fff;
    border-radius: 6px;
    margin-top: 10px;
}

.checkout-left .payment-option-items .deposit {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.checkout-left .payment-option-items .deposit h5 {
    font-family: Sora;
    font-size: 12px;
    font-weight: 700;
    line-height: 16.98px;
    text-align: left;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;
    color: #000;
    margin: 0px;
}

.checkout-left .payment-option-items .deposit p {
    font-family: Sora;
    font-size: 12px;
    font-weight: 400;
    line-height: 16.98px;
    text-align: left;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;
    color: #000;
    margin: 0px;
}

.checkout-left .payment-option-items .deposit .icon-list {
    display: flex;
    gap: 10px;
    align-content: center;
    font-family: Sora;
    font-size: 12px;
    font-weight: 400;
    line-height: 16.98px;
    text-align: left;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;
    color: #000;
    margin-top: 10px;
}

.checkout-left .payment-option-items .deposit .icon-list svg {
    width: 31px;
    flex: 0 0 31px;
}

.checkout-left .form-group label,
.checkout-modal .field-hear_about_us>span:first-of-type {
    font-family: Sora;
    font-size: 12px;
    font-weight: 500;
    line-height: 16.98px;
    text-align: left;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;
    color: #000000a8;
    margin: 0px 0px 5px;
}

.checkout-left .form-control {
    border: 1px solid #f3f3f3;
    background: #ffffff;
    padding: 10px 11px 10px 11px;
    gap: 10px;
    border-radius: 4px;
    font-family: Sora;
    font-size: 14px;
    font-weight: 400;
    line-height: 19.81px;
    text-align: left;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;
    color: #000000;
    height: initial;
    margin-bottom: initial;
}

.checkboxes {
    position: relative;
}

.checkboxes input {
    opacity: 0;
    position: absolute;
}

.checkboxes label {
    position: relative;
    cursor: pointer;
    margin: 0px;
    display: inline-flex;
    font-family: Sora;
    font-size: 14px;
    font-weight: 400;
    line-height: 19.81px;
    text-align: left;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;
    color: #000;
    padding-left: 30px;
    margin-bottom: 20px;
}

.checkboxes a {
    font-family: Sora;
    font-size: 14px;
    font-weight: 500;
    line-height: 19.81px;
    text-align: left;
    text-decoration-line: underline;
    text-decoration-style: solid;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;
    color: #000;
}

.checkboxes label:before {
    content: "";
    width: 21px;
    height: 21px;
    border-radius: 4px;
    background-color: #fff;
    border: 1px solid #f3f3f3;
    position: absolute;
    top: 50%;
    transform: translate(0, -50%);
    left: 0px;
}

.checkboxes input:checked+label:before {
    background: #3a3a3a;
    border: 4px solid #fff;
    box-shadow: 0px 0px 0px 1px #f3f3f3;
}

.promo-wrapper input {
    border-top-right-radius: 0px !important;
    border-bottom-right-radius: 0px !important;
}

.checkout-left .btn-custom {
    position: sticky;
    bottom: 1px;
    background: #000;
    color: #fff;
    font-family: Sora;
    font-size: 14px;
    font-weight: 400;
    padding: 15px 0;
    border-radius: 4px;
    line-height: 19.81px;
    text-align: center;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;
    width: 100%;
}

.checkout-right {
    width: 100%;
    overflow: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
    height: 100%;
}

.checkout-right .carousel {
    width: 100%;
    display: flex;
    overflow: hidden;
    flex-direction: column;
    height: 100%;
    gap: 20px;
}

.checkout-right .carousel .carousel-inner {
    min-height: 300px;
    height: 100%;
    border-radius: 12px;
    overflow: hidden;
}

.checkout-right .carousel .carousel-inner .carousel-item {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    overflow: hidden;
}

.checkout-right .carousel img {
    height: 100%;
    width: 100%;
    max-width: unset;
    border-radius: 12px;
    object-fit: cover;
}

.checkout-right .product-items {
    display: flex;
    flex-direction: column;
    padding: 15px 25px 15px 25px;
    gap: 10px;
    border-radius: 8px;
    background-color: #fff;
    overflow-y: auto;
}

.checkout-right .product-items .item-list {
    display: flex;
    align-items: center;
    width: 100%;
    gap: 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid #f3f3f3;
}

.checkout-right .product-items .item-list .dot {
    display: inline-flex;
    width: 6px;
    height: 6px;
    border-radius: 6px;
    flex: 0 0 6px;
    background: #eeeeee;
    cursor: pointer;
}

.checkout-right .product-items .item-list h3 {
    font-family: Sora;
    font-size: 16px;
    font-weight: 600;
    line-height: 22.64px;
    text-align: left;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;
    margin: 0px;
    color: rgba(0, 0, 0, 0.8);
    word-break: break-word;
}

.checkout-right .product-items .item-list .price-remove {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 5px;
    margin-left: auto;
}

.checkout-right .product-items .item-list .price-remove span {
    font-family: Sora;
    font-size: 15px;
    font-weight: 400;
    line-height: 21.23px;
    text-align: left;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;
    color: #000;
}

.checkout-right .product-items .item-list .price-remove a {
    font-family: Sora;
    font-size: 10px;
    font-weight: 400;
    line-height: 14.15px;
    text-align: left;
    text-decoration-line: underline;
    text-decoration-style: solid;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;
    color: rgba(0, 0, 0, 0.8);
}

.checkout-right .product-items .item-list input:checked+.dot {
    background: #5a3e67;
}

.checkout-right .product-items .item-list input:checked+.dot+a h3 {
    color: #000;
}

.checkout-right .total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-left: 22px;
}

.checkout-right .total h3 {
    font-family: Sora;
    font-size: 18px;
    font-weight: 700;
    line-height: 25.47px;
    text-align: left;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;
    margin: 0px;
    color: #000;
    word-break: break-word;
}

.checkout-right .total .price {
    font-family: Sora;
    font-size: 16px;
    font-weight: 700;
    line-height: 22.64px;
    text-align: right;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;
    color: #000;
}

.header-mobile {
    width: 100%;
    display: none;
    align-items: center;
    padding: 30px 0;
}

.header-mobile a {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    font-family: Sora;
    font-size: 10px;
    font-weight: 400;
    line-height: 14.15px;
    text-align: left;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;
    color: #000000;
}

.header-mobile a img {
    width: 9px;
    height: 11px;
    transform: rotate(180deg);
}

.header-mobile img.logo-img {
    margin-left: auto;
    margin-right: auto;
}

.header-total {
    display: none;
    align-items: center;
}

.header-total h3 {
    font-family: Sora;
    font-size: 15px;
    font-weight: 400;
    line-height: 21.23px;
    text-align: left;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;
    color: #000000;
    margin: 0px;
}

.header-total .linefull {
    width: 100%;
    height: 1px;
    background: #e4e4e4;
    margin: 0px 20px;
}

.header-total .totalamount {
    font-family: Sora;
    font-size: 15px;
    font-weight: 600;
    line-height: 21.23px;
    text-align: left;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;
    color: #000000;
    margin-right: 10px;
    white-space: nowrap;
}

.header-total .totalitems {
    display: inline-flex;
    gap: 10px;
    white-space: nowrap;
    font-family: Sora;
    font-size: 15px;
    font-weight: 400;
    line-height: 21.23px;
    text-align: left;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;
    color: #000000;
}

.checkout-modal a:hover {
    color: initial;
}

.mobile-price {
    display: none;
}

@media (max-width: 1199px) {

    .checkout-left,
    .checkout-right .product-items {
        padding: 15px 15px;
    }
}

@media (max-width: 900px) {
    .checkout-left h3 {
        border-top: 1px solid #E4E4E4;
        padding-top: 30px;
        margin-top: 30px;
    }

    .checkout-modal {
        padding: 0 !important;
    }

    .checkout-modal .modal-dialog {
        margin: 0px !important;
        padding: 0px !important;
        height: 100% !important;
        max-height: 100%;
    }

    .checkout-modal .modal-dialog .modal-content {
        border: 0px !important
    }

    .modal-custom-body {
        padding: 0px;
    }

    .checkout-modal-body {
        padding: 20px;
    }

    .header-mobile {
        display: flex;
    }

    .checkout-modal-body {
        flex-direction: column;
        overflow: auto;
    }

    .checkout-left {
        order: 2;
        height: auto;
        overflow: visible;
    }

    .mobile-price {
        display: flex;
        flex-direction: column;
        margin: 30px 0;
        gap: 5px;
    }

    .mobile-price .total {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .mobile-price .total h3 {
        font-size: 14px;
        font-weight: 700;
        line-height: 19.81px;
        text-align: left;
        text-decoration-skip-ink: none;
        color: #000000;
        margin: 0px;
        padding: 0px;
        border: 0px;
    }

    .mobile-price .total .price {
        font-family: Sora;
        font-size: 14px;
        font-weight: 400;
        line-height: 19.81px;
        text-align: right;
        text-underline-position: from-font;
        text-decoration-skip-ink: none;
        color: #000000
    }

    .checkout-left h2 {
        display: none;
    }

    .checkout-right {
        order: 1;
        height: auto;
        overflow: visible;
        flex-direction: column-reverse;
    }

    .checkout-right .product-items .item-list h3 {
        font-family: Sora;
        font-size: 14px;
        font-weight: 700;
        line-height: 19.81px;
        text-align: left;
        text-underline-position: from-font;
        text-decoration-skip-ink: none;
    }

    .checkout-right .product-items .item-list .price-remove span {
        font-family: Sora;
        font-size: 15px;
        font-weight: 400;
        line-height: 21.23px;
        text-align: left;
        text-underline-position: from-font;
        text-decoration-skip-ink: none;
    }

    .checkout-right .total {
        display: none;
    }

    .checkout-right .product-image img {
        height: auto;
        width: 100%;
    }

    .checkout-right .carousel .carousel-inner {
        height: 150px;
        min-height: 150px;
        margin: 20px 0;
    }

    .header-total {
        display: flex;
    }

    .hitachi-payment .hitachi-payment-ul h3 {
        width: 100%;
        padding: 0px;
        margin: 0px;
        border: 0px;
    }

    .hitachi-payment ul.hitachi-payment-ul li .detail .detail-dis {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .hitachi-payment ul.hitachi-payment-ul li .detail .detail-dis span,
    .hitachi-payment ul.hitachi-payment-ul li .detail .detail-dis strong {
        width: auto !important;
        text-align: right;
        color: #2e2e2e;
        font-size: 16px;
        font-weight: 700;
    }
}

@media (max-width: 767px) {
    .checkboxes a {
        font-size: 12px;
    }

    .checkboxes label {
        font-size: 12px;
    }

    .modal-dialog {
        max-width: 100% !important;
    }
}

@media (max-width:575px) {
    .checkout-left .payshopcheckbox .payment-option-items {
        flex-direction: column;
    }

    .checkout-modal-body {
        border-top: 10px solid #84B6CE;
    }
}

@media (min-width:576px) {
    .modal-dialog-scrollable {
        max-height: 100% !important;
    }
}

@media (min-width: 768px) {
    .modal.show .modal-dialog {
        margin: 0px auto !important;
    }

    .modal-dialog-scrollable .modal-content {
        max-height: 80vh !important;
    }
}

@media (min-width: 768px) and (max-width:1023px) {
    .modal.show .modal-dialog {
        max-width: 90% !important;
    }
}

.tdb-checkout-meta {
    position: absolute;
    left: -9999px;
    visibility: hidden;
}

/* Quantity Design */
.checkout-quantity-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 12px 0;
    gap: 8px;
}
.checkout-qty-btn {
    width: 36px;
    height: 36px;
    border: 1px solid #ccc;
    background-color: #fff;
    color: #333;
    font-size: 20px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
}
.checkout-qty-btn:hover {
    background-color: #f0f0f0;
}
.checkout-qty-input {
    width: 50px;
    height: 36px;
    text-align: center;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 6px;
}

/* checkout items, subtotal, total */
.item-list {
	display: flex;
	align-items: flex-start;
	justify-content: flex-start;
	gap: 10px;
	padding: 10px 0;
	border-bottom: 1px solid #eee;
}

.product-column {
	width: 45%; /* Adjust as needed */
}

.quantity-column {
	width: 25%;
	display: flex;
	align-items: center;
}

.price-column {
	width: 20%;
	text-align: right;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
}

.checkout-quantity-wrapper {
	display: flex;
	align-items: center;
	gap: 5px;
}

.checkout-qty-input {
	width: 50px;
	text-align: center;
}

.price-amount {
	font-weight: bold;
	font-size: 16px;
}

.price-column a {
	font-size: 12px;
	color: red;
	text-decoration: underline;
}

input.form-control, input.form-control:not(#checkout-modal input.form-control):focus, button, button:focus, .navbar-toggler, .navbar-toggler:focus {
    border: 1px solid #ccc;
}

/* New Checkout Design Css */
.payment-methods {
  border: 1px solid #eee;
  border-radius: 6px;
  background: #fff;
  padding: 0;
}
.payshopcheckbox.paymentType{
    padding-left: 45px;
    margin-bottom: 0PX;
}
.payshopcheckbox.paymentType label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  cursor: pointer;
  width: 100%;
}
.payment-info {
  display: flex;
  align-items: center;
  gap: 8px; /* space between title & deposit text */
}
