﻿:root {
    --bg-text-outstock: rgb(0 0 0 / 30%);
    --bg-overlay: #000;
}

.con-text {
    height: 70px !important;
    font-size: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}
/* set outstock*/

.con-card-img {
    position: relative;
    opacity: 1;
}

.image-outstock {
    opacity: 1;
    display: block;
    width: 100%;
    height: auto;
    transition: .5s ease;
    backface-visibility: hidden;
    pointer-events: none;
}

.middle {
    transition: .5s ease;
    opacity: 1;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    text-align: center;
    background: var(--bg-text-outstock);
    border-radius: 30px;
}

.text {
    color: white;
    font-size: 21px;
    padding: 16px 15px;
}

.overlay {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100%;
    width: 100%;
    transition: .5s ease;
    background-color: var(--bg-overlay);
    opacity: 0.6;
}

.hidden-input {
    height: 0px;
    opacity: 0;
    width: 0;
}

.radio-container-card {
    display: block;
    position: relative;
    margin-bottom: 0px;
    font-size: 22px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.box-select-size .radio-container-card {
    display: block;
    position: relative;
    margin-bottom: 0px;
    font-size: 22px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    max-width: 33%;
    padding: 2px
}


.con-btn-size {
    display: flex;
    flex-wrap: wrap;
}


.box-select-size {
    margin-top: 2px;
    max-height: 0;
    /*transition: max-height 0.15s ease-out;*/
    overflow: hidden;
    background: #e5e5e5;
    border-radius: 0px 0px 5px 5px;
}

.select-text-outstock {
    position: absolute;
    top: 28px;
    background: #4a4a4a;
    color: #fff;
    border-radius: 4px;
    margin: auto;
    left: 0;
    right: 0;
    max-width: 45px;
    font-size: 11px;
}

.radio-container-card:hover {
    cursor: pointer
}

.inventory-highlight {
    position: absolute;
    top: 28px;
    background: #ff7337;
    color: #fff;
    border-radius: 4px;
    margin: auto;
    left: 0;
    right: 0;
    max-width: 45px;
    font-size: 11px;
}

.inventory {
    position: absolute;
    top: 28px;
    background: #333;
    color: #fff;
    border-radius: 4px;
    margin: auto;
    left: 0;
    right: 0;
    max-width: 45px;
    font-size: 11px;
}

.btn-scale {
    animation: scale 2s ease-in-out !important; /* Customize the duration and timing function as needed */
}

/*the container must be positioned relative:*/
.autocomplete {
    position: relative;
    display: inline-block;
    width: 100%;
}

    .autocomplete input[type="text"] {
        width: 100%;
        padding-right: 35px !important; /* ให้พื้นที่ด้านขวาของ input field สำหรับไอคอน */
    }

.icon-delete-input {
    position: absolute;
    top: 60%;
    right: 5px;
    transform: translateY(-50%);
    cursor: pointer;
    z-index: 1;
    color: #888;
    font-size: 16px;
}

.autocomplete-items {
    width: 100%;
    position: absolute;
    border: 1px solid #d4d4d4;
    border-bottom: none;
    border-top: none;
    /*z-index: 99;*/
    /*position the autocomplete items to be the same width as the container:*/
    top: 100%;
    left: 0;
    right: 0;
}

    .autocomplete-items div {
        padding: 10px;
        cursor: pointer;
        background-color: #fff;
        border-bottom: 1px solid #d4d4d4;
    }

        /*when hovering an item:*/
        .autocomplete-items div:hover {
            background-color: #e9e9e9;
        }

/*when navigating through the items using the arrow keys:*/
.autocomplete-active {
    background-color: DodgerBlue !important;
    color: #ffffff;
}

p {
    margin: 0;
    padding: 0;
}

.text-showShop {
    display: inline-block;
    font-size: 20px;
    color: #7B7B7B;
    /*margin-left: 10px;*/
    margin-bottom: 8px;
}

.text-display-branch {
    font-size: 20px;
    /*margin-left: 10px;*/
}

.warning {
    color: #ffc107;
}


.autocomplete .tt-menu {
    background-color: #fff !important;
    width: 100%;
    max-height: 350px;
    overflow-y: auto;
    border: 1px solid #ced4da;
    box-shadow: 2px 2px 2px 1px rgb(0 0 0 / 8%);
    /*z-index:99999 !important;*/
}

.tt-suggestion {
    border-bottom: 1px solid #dcdcdc;
    padding: 8px;
    cursor: pointer;
}

    .tt-suggestion:hover {
        background-color: #dcdcdc;
    }

.twitter-typeahead {
    width: 100%;
}

.bg-selectbranch {
    padding: 10px 1.2rem;
    background: #f3f3f3;
    border-radius: 10px 10px 0px 0px;
}



.select2.select2-container {
    width: 100% !important;
}

    .select2.select2-container .select2-selection {
        border: 1px solid #ccc !important;
        -webkit-border-radius: 3px !important;
        -moz-border-radius: 3px !important;
        height: 28px !important;
        margin-bottom: 10px !important;
        margin-bottom: 15px !important;
        outline: none !important;
        transition: all .15s ease-in-out !important;
        font-size: 12px !important;
    }

        .select2.select2-container .select2-selection .select2-selection__rendered {
            color: #333 !important;
            /*line-height: 38px;*/
            padding-right: 33px !important;
        }

        .select2.select2-container .select2-selection .select2-selection__arrow {
            /* background: #f8f8f8;
                border-left: 1px solid #ccc;*/
            -webkit-border-radius: 0 3px 3px 0 !important;
            -moz-border-radius: 0 3px 3px 0 !important;
            border-radius: 0 3px 3px 0 !important;
            height: 24.5px !important;
            width: 33px !important;
        }

    .select2.select2-container.select2-container--open .select2-selection.select2-selection--single {
        background: #f8f8f8 !important;
    }

        .select2.select2-container.select2-container--open .select2-selection.select2-selection--single .select2-selection__arrow {
            -webkit-border-radius: 0 3px 0 0 !important;
            -moz-border-radius: 0 3px 0 0 !important;
            border-radius: 0 3px 0 0 !important;
        }

.select2-container .select2-dropdown {
    background: transparent !important;
    border: none !important;
    margin-top: -5px !important;
    z-index: 4000 !important;
}

    .select2-container .select2-dropdown .select2-search {
        padding: 0;
    }

        .select2-container .select2-dropdown .select2-search input {
            display: block;
            width: 100%;
            height: calc(2.25rem + 2px);
            padding: 0.375rem 0.75rem;
            font-size: 1.3rem;
            line-height: 1.5;
            color: #495057;
            background-color: #fff;
            background-clip: padding-box;
            border: 1px solid #ced4da;
            margin-top: 4px;
            border-radius: 0.25rem;
            transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
        }

    .select2-container .select2-dropdown .select2-results {
        padding: 0 !important;
        box-shadow: 2px 2px 2px 1px rgb(0 0 0 / 8%);
    }

        .select2-container .select2-dropdown .select2-results ul {
            background: #fff !important;
            border: 1px solid #34495e !important;
        }

            .select2-container .select2-dropdown .select2-results ul li {
                padding: 4px !important;
                font-size: 18px !important;
            }

            .select2-container .select2-dropdown .select2-results ul .select2-results__option--highlighted[aria-selected] {
                background-color: #3498db !important;
            }

.btn-triger-search {
    padding: 6px 17px;
    border: solid 1px #333;
    border-radius: 26px;
}

.popover-body {
    padding: 0.5rem 0.75rem;
    color: #212529;
    width: 220px;
}

.popover-header {
    padding: 3px 0.75rem !important;
    margin-bottom: 0 !important;
    font-size: 1rem !important;
    color: inherit !important;
    background-color: #f7f7f7 !important;
    border-bottom: 1px solid #ebebeb !important;
    border-top-left-radius: calc(0.3rem - 1px) !important;
    border-top-right-radius: calc(0.3rem - 1px) !important;
    font-size: 14px !important;
}

#myProvincePopover {
    font-size: 18px;
}


.bs-popover-bottom {
    margin-top: 0.5rem;
    box-shadow: 2px 2px 2px 1px rgb(0 0 0 / 8%);
}



@keyframes scale {
    0% {
        transform: scale(1.0);
    }

    30% {
        transform: scale(1.3);
    }

    50% {
        transform: scale(1.0);
    }

    70% {
        transform: scale(1.3);
    }

    100% {
        transform: scale(1.0);
    }
}



/* new ui*/

.con-product {
    margin-bottom: 20px;
    position: sticky;
    top: 1rem;
    height: fit-content;
}

.product-display {
    display: flex;
    justify-content: center;
    padding: 20px;
    position: relative;
    margin-top: 20px;
    background: #F3F3F3;
    border-radius: 10px;
}

.product-image {
    object-fit: contain;
    width: 100%;
    max-height: 80vh;
    height: auto;
}

    .product-image.animate-scale {
        animation: scaleUp 0.7s;
    }

.skeleton-loader {
    width: 100%;
    height: 200px;
    animation: skeleton-loading 1s linear infinite alternate;
}

@keyframes skeleton-loading {
    0% {
        background-color: hsl(0deg 0% 60.00%);
    }

    100% {
        background-color: hsl(0deg 0% 80.00%);
    }
}

@keyframes scaleUp {
    0% {
        transform: scale(0.5);
        opacity: 0.1;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.color-title {
    font-size: 16px;
    margin-bottom: 15px;
}

.color-options {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 16px;
}

.btn-color-option {
    border: none;
    border-radius: 50%;
}

    .btn-color-option:focus {
        padding: 0px;
        min-width: auto;
        height: 48px;
        width: 48px;
        border-radius: 50%;
        display: flex;
        -webkit-box-align: center;
        align-items: center;
        -webkit-box-pack: center;
        justify-content: center;
        box-sizing: border-box;
        background-color: transparent;
        border: 2px solid rgb(115, 194, 58) !important;
    }

.color-option {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgb(220, 212, 202);
    opacity: 1;
    border: 2px solid rgb(245, 245, 245);
    box-shadow: rgba(0, 0, 0, 0.15) 0px 3px 6px 0px inset;
    position: relative;
    font-size: 20px;
    flex-wrap: wrap;
}

    .color-option:hover {
        cursor: pointer;
    }



.section {
    margin-top: 24px;
    padding: 24px;
    background-color: #F3F3F3;
    border-radius: 8px;
}

.option-selector {
  
    display: grid;
    grid-auto-rows: 1fr;
    gap: 24px;
    width: 100%;
    grid-template-columns: repeat(3, 1fr);
    margin-top:16px;
}

.option {
    border: 2px solid transparent;
    border-radius: 8px;
    padding: 14px 24px;
    text-align: center;
    background-color: white;
    display: flex;
    justify-content: center;
    align-items: center;
}

    .option:hover {
        cursor: pointer;
    }

    .option label {
        font-size: 24px;
        line-height: 22px;
        color: #555555;
    }

        .option label:hover {
            cursor: pointer;
        }

.disabled {
    pointer-events: none;
    background: #e1e1e1;
}



.checkbox {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 15px;
    height: 15px;
    border: 2px solid #fff;
    border-radius: 4px;
    display: flex;
    align-items: start;
    justify-content: center;
    font-weight: bold;
    color: white;
    font-size: 10px;
}



.gift-image-container {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    /*margin: 10px 0;*/
}

.gift-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.gift-name {
    text-align: center;
    line-height: 28px;
    font-size: 24px;
    font-weight: bold;
}

/*.pagination {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin-top: 15px;
}*/
/*
.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #ddd;
}

    .dot.active {
        background-color: #4CAF50;
        width: 20px;
        border-radius: 4px;
    }
*/
/* Customer Information Form Styles */
.form-section {
    background-color: #F3F3F3;
    padding: 20px;
    margin-top: 20px;
    border-radius: 12px;
}

    .form-section h3 {
        font-size: 16px;
        margin-bottom: 15px;
    }

.form-group {
    margin-bottom: 15px;
}

/*.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    position: relative;
}
*/
.form-control.error {
    border-color: #ff3b30;
}

.error-icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #ff3b30;
    font-size: 18px;
}

.password-field {
    position: relative;
}

.password-toggle {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #999;
}

.form-label {
    display: block;
    font-size: 14px;
    margin-bottom: 5px;
    color: #666;
}

.form-hint {
    font-size: 12px;
    color: #999;
    margin-top: 5px;
}

.form-divider {
    border-top: 1px dashed #ccc;
    margin: 20px 0;
}

.checkout-button {
    background-color: #1428a0;
    color: white;
    border: none;
    border-radius: 25px;
    padding: 15px 30px;
    font-size: 16px;
    font-weight: bold;
    width: 100%;
    margin-top: 20px;
    cursor: pointer;
}

    .checkout-button:hover {
        background-color: #0f1f7a;
    }


.payment-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    transform: translateY(100%);
    transition: transform 0.3s ease-in-out;
    z-index: 1000;
    background: #1f3f38;
}

    .payment-footer.show-footer {
        transform: translateY(0);
    }

.body-footer {
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 80px;
    background: #1f3f38;
}

.pay-button {
    background-color: #e20074;
    color: white;
    padding: 10px 25px;
    font-size: 16px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
}

.payment-footer .label {
    font-size: 14px;
    color: #555;
}

.payment-footer .amount {
    font-size: 28px;
    font-weight: bold;
    color: #38FF7EF7;
    width: 200px;
    text-align: right;
}

.pay-button {
    background-color: #e20074;
    color: white;
    padding: 10px 25px;
    font-size: 16px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
}

    .pay-button:hover {
        background-color: #c00064;
    }

.divider {
    height: 32px;
    width: 1px;
    background-color: #4AF78F33;
}

.color-radio {
    display: none;
}



.color-option-outofstock {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #838383;
    opacity: 1;
    border: 2px solid rgb(245, 245, 245);
    box-shadow: rgba(0, 0, 0, 0.15) 0px 3px 6px 0px inset;
    position: relative;
}

    .color-option-outofstock::before {
        content: '';
        position: absolute;
        width: 100%;
        height: 1.5px;
        background: lightgray;
        top: 50%;
        left: 0;
        transform: rotate(130deg) translateY(-50%);
    }




.language-dropdown {
    position: relative;
    display: inline-block;
    user-select: none;
}

.language-selector {
    display: inline-flex;
    align-items: center;
    background-color: #1f3f38;
    padding: 5px 10px;
    border-radius: 5px;
    color: white;
    cursor: pointer;
}

.flag-icon {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    margin-right: 6px;
}

.lang-code {
    font-weight: bold;
    margin-right: 6px;
    font-size: 16px;
}

.dropdown-icon {
    font-size: 16px;
}

.language-menu {
    display: none;
    position: absolute;
    background-color: #ffffff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    margin-top: 5px;
    border-radius: 5px;
    z-index: 1000;
    width: 100%;
}

.language-option {
    display: flex;
    align-items: center;
    padding: 5px 10px;
    cursor: pointer;
    color: #000;
}

    .language-option:hover {
        background-color: #f0f0f0;
    }

.dot-loader {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 6px;
}

.dot {
    width: 10px;
    height: 10px;
    background-color: #333;
    border-radius: 50%;
    animation: blink 1.4s infinite ease-in-out both;
    transform: scale(1); /* initial scale */
}

    .dot:nth-child(1) {
        animation-delay: 0s;
    }

    .dot:nth-child(2) {
        animation-delay: 0.2s;
    }

    .dot:nth-child(3) {
        animation-delay: 0.4s;
    }

    .dot:nth-child(4) {
        animation-delay: 0.6s;
    }

    .dot:nth-child(5) {
        animation-delay: 0.8s;
    }

@keyframes blink {
    0%, 80%, 100% {
        opacity: 0;
        transform: scale(0.7);
    }

    40% {
        opacity: 1;
        transform: scale(1.3);
    }
}


.owl-carousel .item {
    background: #4dc7a0;
    padding: 40px 0;
    margin: 10px;
    color: white;
    border-radius: 10px;
    text-align: center;
    font-size: 30px;
}

.owl-stage {
    padding-left: 0px !important;
}

.wrap-summmary {
    background: #F5F5F5;
}

.title-qr {
    margin-top: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #D9D9D9;
}

#icon-inpdel-locationTax {
    position: absolute;
    top: 60%;
    right: 5px;
    transform: translateY(-50%);
    cursor: pointer;
    z-index: 1;
    color: #888;
    font-size: 16px;
}

label > img:hover {
    cursor: pointer;
}

.selected-border {
    border: 1px solid #73C23A;
}

.section-selectdatetime > .form-control-feedback {
    position: absolute;
    right: 35px;
    top: 50%;
    transform: translateY(-50%);
}

.form-control-feedback {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
}

input::-ms-reveal,
input::-ms-clear {
    display: none;
}

.focus-none:hover {
    color: #333;
}

.focus-none:focus {
    box-shadow: none !important;
}

.con-box-img.disabled, .option-selector-bundle.disabled {
    opacity: 0.6;
}

.gift-name.disabled {
    color: #333;
    background: transparent !important;
}

.control-label {
    font-weight: bold;
    font-size: 24px;
    line-height: 28px;
}

label > span.label, label.label {
    font-size: 20px;
    font-weight: bold;
    color:#555555;
}

.cancel-qrpay {
    border: 1px solid #73C23A;
    /*box-shadow: 0 2px 2px 0 rgb(0 0 0 / 20%), 0 2px 10px 0 rgb(0 0 0 / 25%);*/
    border-radius: 52px;
}

.btn-otp {
    border-radius: 50px;
    border: none;
    font-weight: bold;
    width: 100%;
    font-weight: 400;
}

.btn-otp-disable {
    background: #9D9D9D;
    color: #1E3D35;
}

.btn-otp-resend-disable {
    background: none;
    color: #9D9D9D;
    border: 1px solid #9D9D9D;
}

.btn-otp-resend-enable {
    background: none;
    color: #73C23A;
    border: 1px solid #73C23A;
}

.btn-otp-enable {
    background-color: #73C23A;
    color: #FFF;
}

.digit-input-disable {
    background-color: #F5F5F5 !important;
    color: #9D9D9D !important;
}

.digit-group {
    display: flex;
    gap: 8px;
    justify-content: center;
}

    .digit-group input {
        width: 54px;
        height: 72px;
        background-color: #EEF8E8;
        border: none;
        line-height: 50px;
        text-align: center;
        font-size: 24px;
        font-weight: 200;
        color: #000;
        margin: 0 2px;
        border-radius: 8px;
    }

        .digit-group input:focus {
            border: none;
            outline: none;
        }

            .digit-group input:focus::placeholder {
                color: transparent;
            }

        .digit-group input::placeholder {
            color: #25584F;
            font-weight: 700;
        }

    .digit-group .splitter {
        padding: 0 5px;
        color: white;
        font-size: 24px;
    }

.owl-carousel .owl-dots.disabled, .owl-carousel .owl-nav.disabled {
    display: none !important;
}

.owl-dots {
    display: block !important;
    text-align: center;
    margin-top: 10px;
}

.owl-dot span {
    width: 10px;
    height: 10px;
    margin: 5px 7px;
    background: #ccc;
    display: block;
    border-radius: 50%;
}

.bg-backsummary {
    background: #EEF8E8;
    /*padding-left: 30px;*/
}


.footer-new {
    background: #1E3D35;
    padding: 20px;
    position: fixed;
    bottom: 0;
    width: 100%
}

.login-checkmark {
    right: 13px;
    top: 18px;
    color: #73C23A;
}

.tryAgainOtp {
    font-size: 17px;
    white-space: nowrap;
    left: 0;
    right: 0;
    text-align: center;
    bottom: -25px;
}

.title-timer {
    white-space: nowrap;
}

.tryAgainOtp i {
    font-size: 16px;
}

.custom-checkbox.disabled {
    pointer-events: none;
    background: unset;
}

.modal.modal-responsive .modal-dialog {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin: 0;
    width: 100%;
}

.icon-close {
    display: none;
}

.text-gray {
    color: #7B7B7B;
}

.text-light-gray {
    color: #9D9D9D;
}

.title-header-page {
    font-size: 40px;
    line-height: 40px;
    font-weight: bold;
    letter-spacing: 0px !important;
}

legend.head-fieldset {
    width: auto;
    font-size: 20px;
    padding: 0px 4px;
    margin-left: -7px;
    color: #9D9D9D
}

.wrap-fieldset {
    border: 1px solid #9D9D9D !important;
    padding: 0em 16px 16px 16px !important;
    margin: 18px 0 !important;
    border-radius: 8px !important;
}

.head-text-value {
    color: #7B7B7B;
    word-wrap: break-word;
    word-break: break-all;
    font-size: 20px;
    line-height: 20px;
}

.text-value {
    font-weight: bold;
    word-wrap: break-word;
    word-break: break-all;
    font-size: 24px;
    line-height: 28px;
}

.config-detail-thankyou {
    font-size: 24px;
    line-height: 28px;
}

.title-deatil-thankyou {
    font-weight: bold;
    color: #1E3D35;
    font-size: 32px;
    line-height: 32px;
}

.txt-ol-li {
    margin-top: 20px;
    font-size: 20px;
    line-height: 22px;
}

.text-detail {
    font-size: 24px;
    line-height: 28px;
    margin-bottom:24px;
}



.text-selectpayment {
    margin-bottom: 0px;
    font-weight: bold;
    font-size: 32px;
    line-height: 32px;
}

.text-detailpayment {
    font-size: 24px;
    line-height: 28px;
    color: #555555;
}

.collapse-container {
    border: 1px solid #ccc;
    border-radius: 8px;
    margin: 20px auto;
    background: #fff;
}

.collapse-header {
    padding: 24px 40px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #262626;
}

.collapse-content {
    padding: 15px;
    color: #555;
    font-size: 16px;
    line-height: 18px;
    display: none;
    border-top: 1px solid #e0e0e0;
}

.arrow {
    transition: transform 0.3s ease;
}

    .arrow.rotate {
        transform: rotate(180deg);
    }

.highlight {
    color: #4caf50;
}

.payment-method-card:hover {
    cursor: pointer;
}

.section-paymentid {
    font-size: 24px;
    line-height: 28px;
}


.countdown-box {
    display: flex;
    gap: 0; /* ไม่มีช่องว่างระหว่างกล่อง เพื่อให้แนบกันแบบภาพ */
    justify-content: center;
    align-items: center;
    margin-top: 24px;
    overflow: hidden;
}

.time-box {
    background-image: linear-gradient(#58A89F, #43978E);
    padding: 14px 24px;
    color: white;
    text-align: center;
    min-width: 70px;
    border-right: 1px solid #9EC7C2; /* เส้นแบ่ง */
}

    .time-box .num {
        font-size: 62px;
        font-weight: bold;
        display: block;
        color: #EBEBEB;
    }



/* กรณีพิเศษ: กล่องแรก */
.countdown-box .time-box:first-child {
    border-radius: 12px 0 0 12px;
}

/* กล่องสุดท้าย */
.countdown-box .time-box:last-child {
    border-radius: 0 12px 12px 0;
    border-right: none; /* ไม่ให้มีเส้นขวา */
}

.text-daytime {
    font-size: 20px;
    opacity: 48%
}

.img-Aunjai {
    max-width: 320px;
}

.box-selectdate {
    margin-top: 24px;
}


.image-aunjai {
    width: 350px;
    object-fit: contain;
}
.image-thankyou {
    position: sticky;
    top: 100px;
    bottom: 100px;
}

.con-servicedatetime {
    display: grid;
    grid-auto-rows: 1fr;
    gap: 24px;
    width: 100%;
    grid-template-columns: repeat(2, 1fr);
}
.warp-input {
    display: grid;
    grid-auto-rows: 1fr;
    gap: 16px 8px;
    width: 100%;
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: auto;
}
input {
    font-size: 24px !important;
}
.margin-top-thankyou{
    margin-top:40px
}
.btn-canclepayment-error {
    border-radius: 50px;
    font-weight: bold;
    color: #fff;
    background-color: #73C23A;
    padding: 16px 40px;
    text-align: center;
}
.btn-canclepayment-error:hover{
    color: #fff;
    text-decoration: none;
}
.wrap-thankyou {
    padding-top: 40px;
}
.btnSubmitFooter {
    border-radius: 50px;
    padding: 8px 24px;
    background: #73C23A;
    border: none;
    font-size: 24px;
    color: #fff;
    font-weight: 700;
}
.btnSubmitFooter:hover{
    cursor:pointer;
}
.title-price {
    font-size: 40px;
    line-height:40px;
    letter-spacing: 0px !important;
}
.title-price2 {
    font-size: 32px;
    line-height: 32px;
    letter-spacing: 0px !important;
}
.margin-top-price {
    margin-top: 32px
}
.eventnone{
    pointer-events:none;
}
.detail-summary {
    font-size: 24px;
    line-height: 28px;
    color: #7B7B7B;
}
.container-mascot {
    text-align: center;
    padding: 40px 20px;
}


.mascot {
    width: 320px;
    object-fit: contain;
}

.subtitle-box {
    margin-top: 55px;
}

.subtitle {
    font-weight: bold;
    font-size: 40px;
    color: #73C23A;
    line-height: 40px;
}

.text-subtiltleTH {
    font-weight: normal;
    font-size: 40px;
    color: #555555;
    line-height: 40px;
}

.subtitle-en {
    font-weight: bold;
    margin-top: 40px;
    font-size: 32px;
    color: #555555;
}

.text-subtiltleEN {
    font-size: 32px;
    color: #555555;
    line-height: 32px;
    font-weight: normal;
}

.d-mobile {
    display: none;
}

.text-countdown {
    font-weight: normal;
    font-size: 32px;
    line-height: 32px;
}
.btn-canclepayment {
    border-radius: 50px;
    padding: 16px 40px;
    width: 100%;
    border: 1px #73C23A solid;
    color: #73C23A;
    background: #ffffff;
    font-weight: bold;
    font-size: 24px;
}
.btn-canclepayment:hover {
    cursor:pointer;
}
.btn-submitpayment {
    border-radius: 50px;
    padding: 16px 40px;
    width: 100%;
    border: 1px #73C23A solid;
    color: #ffffff;
    background: #73C23A;
    font-weight: bold;
    font-size: 24px;
}
    .btn-submitpayment:hover {
        cursor: pointer;
    }
.modal-submitpayment{
    padding:56px;
}
@media (max-width: 574px) {
    .modal-submitpayment {
        padding: 30px;
    }
    .subtitle-box {
        margin-top: 24px;
    }

    .subtitle {
        font-size: 32px;
        line-height: 32px;
    }

    .subtitle-en-box {
        font-weight: bold;
        margin-top: 24px;
    }

    .subtitle-en {
        font-weight: bold;
        font-size: 20px;
        line-height: 24px;
    }

    .mascot {
        width: 220px !important;
    }

    .d-mobile-show {
        display: block;
    }

    .text-subtiltleTH {
        font-size: 26px;
        line-height: 24px;
        font-weight: normal;
    }

    .text-subtiltleEN {
        font-weight: normal;
        font-size: 20px;
        line-height: 24px;
    }

    .text-countdown {
        font-size: 20px;
        line-height: 24px;
    }


    .detail-summary {
        font-size: 18px;
        line-height: 16px;
    }

    .margin-top-price {
        margin-top: 24px
    }

    .title-price {
        font-size: 28px;
        line-height: 28px;
    }

    .title-price2 {
        font-size: 24px;
    }

    .btnSubmitFooter {
        width: 100%;
    }

    .btn-canclepayment-error {
        width: 100%;
    }

    .margin-top-thankyou {
        margin-top: 32px
    }

    .warp-input > * {
        grid-column: span 2;
    }

    .warp-input.tax > *:nth-child(1),
    .warp-input.tax > *:nth-child(2) {
        grid-column: span 1;
    }


    input {
        font-size: 20px !important;
    }

    .payment-footer .amount {
        font-size: 32px;
    }

    .con-servicedatetime {
        gap: 8px;
    }

    .top-mouile-0 {
        margin-top: 0;
    }

    .text-detail-qr {
        font-size: 20px;
        padding: 16px;
    }

    .img-containner img {
        width: 80px !important;
        height: auto;
    }

    .title-header-page {
        font-size: 32px;
        line-height: 32px;
        font-weight: bold;
    }

    .image-aunjai {
        width: 170px !important;
    }
    /*@media only screen and (max-width: 490px) {*/
    .d-none-mobile {
        display: none;
    }

    .img-Aunjai {
        max-width: 260px;
    }

    .autocomplete .tt-menu {
        max-height: 350px !important;
    }

    .text-footer {
        text-align: center;
    }

    .text-selectpayment {
        font-size: 24px;
        line-height: 26px;
    }

    .text-detailpayment {
        font-size: 16px;
        line-height: 18px;
    }

    .collapse-content {
        font-size: 24px;
        display: none;
        line-height: 28px;
    }

    legend.head-fieldset {
        width: auto;
        font-size: 14px;
        padding: 0px 4px;
    }

    .head-text-value {
        font-size: 16px;
    }

    .text-value {
        font-size: 20px;
        line-height: 24px;
    }

    .config-detail-thankyou {
        line-height: 22px;
        font-size: 20px;
    }

    .title-deatil-thankyou {
        font-size: 28px;
        line-height: 28px;
    }

    .text-detail {
        font-size: 20px;
        line-height: 22px;
        margin-bottom: 16px;
    }

    .section {
        padding: 16px;
        margin-top: 12px;
    }

    .option {
        padding: 12px 8px;
    }

        .option label {
            font-size: 20px;
            line-height: 18px;
            color: #555555
        }

    label > span.label, label.label {
        font-size: 16px;
    }

    .gift-name {
        text-align: center;
        line-height: 24px;
        font-size: 20px;
    }



    .product-display {
        padding: 0px
    }

    .modal.modal-responsive .modal-dialog {
        top: auto;
        bottom: 0;
        left: 0;
        right: 0;
        transform: none;
        width: 100%;
        margin: 0;
    }

    .collapse-header {
        padding: 16px 20px;
        font-size: 24px;
    }

    .option-selector {
        gap: 12px;
        margin-top: 8px;
    }

    .color-options {
        margin-top: 8px;
    }

    .icon-close {
        display: block;
        text-align: right;
        padding: 5px 10px;
    }

    .m-xs-0 {
        margin-left: 0px;
        margin-right: 0px;
    }

    .pl-xs-3 {
        padding-left: 1rem;
    }

    .container.price {
        padding-right: 1rem;
        padding-left: 1rem;
    }

    .wrap-summmary {
        padding-top: 24px !important;
        padding-right: 1rem;
        padding-left: 1rem;
    }

    .wrap-thankyou {
        padding-top: 32px;
    }

    .bg-backsummary {
        background: #EEF8E8;
        padding-left: 0px;
    }

    #showShop {
        font-size: 16px;
        line-height: 18px;
    }

    .text-display-branch {
        font-size: 16px;
        line-height: 18px;
    }

    .box-selectdate {
        margin-top: 8px;
    }

    .form-control {
        padding: 14px 16px !important;
    }
}

@media (max-width: 800px) {

    .product-display {
        background: transparent !important;
    }


    .product-image {
        object-fit: contain;
        width: 100%;
        height: auto !important;
        max-height: 60vh !important;
    }

    .login-description > div > ol > li > br {
        display: none;
    }
}

/*@media (max-width: 830px) {
    .banks-container {
        width: 100%;
        align-items: center;
        padding: 16px;
    }

    .bank-list {
        gap: 8px;
    }

    .banks-logo-box {
        width: 36px;
        height: 36px;
    }
}
@media (min-width: 830px) {
    .bank-list {
        gap: 18px;
    }
    .banks-logo-box {
        width: 50px;
        height: 50px;
    }
    .banks-container {
        width: auto;
        padding: 24px;
    }
}*/
@media (min-width: 768px) {
    .top-mouile-0 {
        margin-top: 55px;
    }
    .qrDetailLogin-large{
        display :flex;
    }
    .login-description {
        font-size: 24px;
        position: initial;
        bottom: unset;
        line-height: 28px;
    }
    .btnRequestOTP {
        padding: 16px 40px;
        font-size : 24px;
        width: 168px;
        height: 56px;
    }
    .login-description {
        margin-left: -68px;
        padding: 40px 56px;
        margin-top : 108px;
    }


    .phoneTitle {
        font-size: 20px;
    }

    .loginMainTitle {
        font-size: 40px;
        line-height : 40px
    }

    .loginSubTitle {
        font-size: 24px;
        line-height: 28px;
        margin-top: 8px;
    }

    .qrDetailTitle {
        font-size: 1.75rem
    }

    .qrDetailvalue {
        font-size: 1.5rem
    }
    /*  .wrap-summmary {
        padding: 2rem 7rem 7rem 7rem;
        background: #F5F5F5
    }*/

    /*  .wrap-summmary {
        padding: 0px 15rem;
    }*/
    .title-qr {
        margin-top: 0rem !important;
        font-size : 32px;
    }

    .bank-list {
        gap: 18px;
    }

    .banks-logo-box {
        width: 50px;
        height: 50px;
    }

    .banks-container {
        width: auto;
        padding: 16px;
        align-items: initial;
    }

    .otpExpiryNotice {
        font-size: 20px;
    }

    .otpNotReceivedPrompt {
        font-size: 24px;
    }

    .qr-title-1 {
        font-size: 40px;
    }

    .qr-title-2 {
        font-size: 32px;
    }

    .qr-title-3 {
        font-size: 24px;
    }
    .login-panel {
        gap: 40px;
        padding: 29px 56px 56px 56px;
    }
    .qrDetailLogin-moblie {
        display: none;
    }
}

@media (max-width: 768px) {
    .login-description {
        font-size: 16px;
        padding: 24px 16px 8px 16px;
        left: -24px;
        margin: 0 auto;
        width: 350px !important;
        line-height: 18px;
        margin-top: calc(50vh - 200px);
    }
    
    .qrDetailLogin-moblie {
        display: none;
    }
    .btnRequestOTP {
        padding: 8px 16px;
        width: auto;
        font-size: 20px;
        height: 53px;
    }
    .title-qr {
        font-size: 24px;
    }

    .loginMainTitle {
        font-size: 32px;
        line-height:32px;
        
    }

    .loginSubTitle {
        font-size: 20px;
        line-height:22px;
    }

    .phoneTitle {
        font-size: 16px;
    }

    .qrDetailTitle {
        font-size: 1.25rem
    }

    .qrDetailvalue {
        font-size: 1.25rem
    }

    .f-18 {
        font-size: 18px !important;
    }

    .bank-list {
        gap: 8px;
    }

    .banks-logo-box {
        width: 36px;
        height: 36px;
    }

    .banks-container {
        width: 100%;
        padding: 16px;
        align-items: center;
        margin: 0 auto;
    }

    .otpExpiryNotice {
        font-size: 16px;
    }

    .otpNotReceivedPrompt {
        font-size: 20px;
    }

    .qr-title-1 {
        font-size: 32px;
    }

    .qr-title-2 {
        font-size: 24px;
    }

    .qr-title-3 {
        font-size: 20px;
    }
    .login-panel {
        gap: 0px;
        padding: 0px;
    }
    .login-title {
        padding: 24px 16px 8px 16px;
    }
    .login-section{
        padding : 1rem;
    }
}
@media (min-width: 577px) {
    .login-description-contrainner-lg {
        display: flex;
    }

    .login-description-contrainner-sm {
        display: none;
    }
}
@media (max-width: 576px) {
    .login-description-contrainner-lg{
        display:none;
    }
    .login-description-contrainner-sm{
        display:flex;
    }
}
 .login-wrapper {
        gap: 24px;
    }
@media (min-width: 1000px) and (max-width: 1200px) {
    /* .wrap-summmary {
        padding: 2rem 10rem 5rem 10rem;
        background: #F5F5F5
    }*/
    .option-selector {
        gap: 24px;
    }

    
}

@media (min-width:1200px) {

    .wrap-summmary {
        padding-right: 20rem;
        padding-left: 20rem;
    }
}

@media (max-width:1200px) {

    .qrdetailWarp {
        max-width: 50%;
        flex: 0 0 50%;
    }

        .qrdetailWarp:nth-child(3) {
            margin-top: 1rem !important;
        }
}

.bank-list {
    flex-wrap: wrap;
}

.login-description {
    color: #7B7B7B;
}
.login-description-sm {
    font-size: 16px;
    padding: 24px 16px 8px 16px;
    left: -29px;
    margin: 0 auto;
    width: 350px !important;
    color: #7B7B7B;
}

.login-description-contrainner-sm {
    left: 1rem;
    align-items : center; 
}

.loginSubTitle {
    color: #7B7B7B;
    margin-top : 0.5rem;
}
.phoneTitle {
    color: #555555;
}


.flex-gap-8 {
    gap: 8px;
}
.login-wrapper{
   z-index:2;
}
.banks-container {
    gap: 16px;
    border-radius: 8px;
    background-color: #f5f5f5;
}

.banks-logo-box {
    border-radius: 12px;
    background-repeat: no-repeat, repeat;
    background-size: cover;
    gap: 10px;
}

    .banks-logo-box img {
        border-radius: 12px;
        width: 100%;
    }

.qr-download {
    cursor: pointer;
}

.justify-item-center {
    justify-items: center;
}

.otp-header {
    padding-bottom: 24px;
}
.qr-container {
    overflow-y: scroll;
    -webkit-overflow-scrolling: touch;
}
.qr-container::-webkit-scrollbar {
    display: none; /* ซ่อน scrollbar */
}
.ResendOtp-Disabled {
    pointer-events: none !important;
    color: gray !important;
    text-decoration: none !important;
    cursor: not-allowed !important;
    opacity: 0.6 !important;
}

.ResendOtp {
    color: #73C23A;
    cursor: pointer;
    opacity: 1;
}

    .ResendOtp:hover {
        text-decoration: underline;
    }

.otp-title {
    margin-top: 10px;
}

.btnRequestOTP {
    opacity:1;
    font-weight : 700;
}
.btnRequestOTP:disabled {
    opacity: 1;
}
.banner-radius img {
    border-radius: 16px;
}

.qrDetailLogin-moblie {
    bottom: 80px;
    width: 100%;
    font-size: 16px;
    color: #7B7B7B;
    left: -8px;
    line-height: 18px;
}
@media (max-height: 611px) {
    .login-description-contrainner-sm {
        position : relative;
        z-index:1;
    }
    .login-description-sm-en {
        line-height: 16px;
        bottom: 140px;
    }

    .login-description-sm-th {
        line-height: 18px;
        bottom: 140px;
    }
}
@media (max-height: 668px) {
    .login-description-sm-en {
        line-height: 16px;
        bottom: 140px !important;
        position : relative !important;

    }
}
@media (min-height: 611px) {
    .login-description-contrainner-sm {
        position: absolute;
        z-index: 1;
    }

    .login-description-sm-en {
        line-height: 16px;
        bottom: 47px;
    }

    .login-description-sm-th {
        line-height: 18px;
        bottom: 60px;
    }
}
/*.login-description-contrainner-lg {
    display: flex;
}

.login-description-contrainner-sm {
    display: none;
}*/