.page-template-template-payment-method #content{
    background-color:#ffffff;
    width:100%;
    overflow-x:hidden;
    text-align:center;
}

.page-template-template-payment-method #payment-methods-header .about-banner{
    background-position: center right;
}

.page-template-template-payment-method #payment-methods-header{
    padding:50px auto;
}

#payment-methods-content h2, #payment-methods-content h3{
    margin-bottom: 30px;
}

#payment-methods-content h4 {
    color:#d4a552;
    margin-bottom:10px;
    font-size:24px;
}

#payment-methods-content {
    font-family: var(--global--font-secondary);
}

.page-template-template-payment-method #payment-methods-content h2{
    font-size:30px !important;
}

#payment-methods-content section{
    /* padding:50px 0; */
    padding-bottom:0;
}

.cards-container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    column-gap: 50px;
    row-gap: 30px;
    width:100%;
    padding-bottom: 20px;
    margin-bottom:10px;
    overflow-x:scroll;
    padding-right:30px;
    justify-content:center;
}

/* width */
.page-template-template-payment-method .cards-container::-webkit-scrollbar {
    height: 5px;
}

/* Track */
.cards-container::-webkit-scrollbar-track {
    display:none
}

/* Handle */
.cards-container::-webkit-scrollbar-thumb {
    background: #d4a552;
    border-radius:2px;
}

.payment-method-card{
    border-radius:30px;
    box-shadow: 2px 4px 12px rgba(0,0,0,.08);
    padding:30px;
    display: flex;
    flex-direction: column;
    background-image: url('https://watchexchange.sg/wp-content/uploads/2023/12/17049111_isometric_cube_pattern-scaled-1-scaled.jpg');
    max-width: 350px;
    flex-shrink:0;
    flex-grow:0;
}

.other-modes-card{
    justify-content:flex-end;
}

#online-banking-sec .payment-method-card:nth-child(2) img{
    width: 100px;
}

.payment-method-card img{
    width:200px;
    margin:30px auto;
}

#paynow-qr-img{
    width:200px;
}

.payment-method-card-content p{
    font-size:18px;
}

.payment-method-card table{
    text-align:left;
    font-size:14px;
}

.payment-method-card table td, #credit-card-sec .payment-method-card .payment-method-card-desc table td{
    border:none;
    padding:3px;
}

#credit-card-sec .payment-method-card .payment-method-card-desc table tr td:first-child{
    font-weight: bold;
}

#cc-surcharge-container, #cc-plan-container {
    margin-bottom:20px;
}

#cc-surcharge-container table, #cc-plan-container table {
    table-layout:fixed;
    width: 75%;
    margin: 0 auto;
}

#cc-surcharge-container table td, #cc-plan-container table td {
    text-align:center;
    border:1px solid #DEE2E6;
}

#cc-surcharge-container table td:nth-child(3) {
    width: 30%;
}

#cc-surcharge-container table td:first-child, #cc-plan-container table td:first-child{
    width: 20%;
    color: #d4a552;
}

#cc-surcharge-container table td img{
    width:100px;
}

#cc-plan-container table td img{
    width:150px;
}

.other-modes-card table {
    min-width:unset;
}

.other-modes-card table tr td{
    border:none;
    font-family: var(--mybody-font-family);
    padding:3px;
    text-align: center;
}

.other-modes-card table tr td:not(.others-surcharge-value){
    color:#d4a552;
    font-weight:bold;
}

td.others-surcharge-value, p.others-surcharge-value{
    font-size:15px;
    font-weight:bold;
}

.page-template-template-payment-method #content #payment-notes {
    text-align:left;
    display:flex;
    justify-content:center;
}

.page-template-template-payment-method #content #payment-notes .notes-container {
    max-width:800px;
}

.page-template-template-payment-method #content #payment-methods-content section:last-child{
    margin-bottom:50px;
}

#sell-watch-contact-sec {
    background-color: unset;
}

#payment-methods-content #other-methods-sec .cards-container{
    padding-right: 0;
    column-gap: 30px;
    overflow: visible;
}

#payment-methods-content #other-methods-sec .payment-method-card{
    width:23%;
    max-width: 260px;
    justify-content: center;
}

#payment-methods-content #other-methods-sec .payment-method-card img{
    width: 200px;
    margin: 10px auto;
    aspect-ratio: 9 / 5;
    object-fit: cover;
}

#payment-methods-content #other-methods-sec .payment-method-card table tbody{
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}



#payment-methods-content #other-methods-sec .payment-method-card .others-surcharge-value{
    word-break: break-all;
}

#payment-methods-content #credit-card-sec .cc-desktop-view{
    overflow: auto;
}

#payment-methods-content #credit-card-sec .cc-desktop-view::-webkit-scrollbar {
  height: 6px; 
}

#payment-methods-content #credit-card-sec .cc-desktop-view::-webkit-scrollbar-track {
  background: #f3f4f6; 
}

#payment-methods-content #credit-card-sec .cc-desktop-view::-webkit-scrollbar-thumb {
  background-color: #d1d5db;
  border-radius: 10px;
}

#payment-methods-content #credit-card-sec .cc-desktop-view::-webkit-scrollbar-thumb:hover {
  background-color: #9ca3af;
}

#payment-methods-content #credit-card-sec .cc-desktop-view table{
    min-width: 800px;
}

#payment-methods-content #credit-card-sec .cc-desktop-view table td{
    /* width: 160px; */
}

#payment-methods-content #credit-card-sec .cc-desktop-view table td:first-child{
    /* width: 140px; */
}

#payment-methods-content #credit-card-sec .cc-mobile-view{
    display: none;
    overflow: visible;
    margin-bottom: 60px;
}

#payment-methods-content #credit-card-sec .cc-mobile-view .cc-mob-container{
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

#payment-methods-content #credit-card-sec .cc-mobile-view .mob-contents{
    background: rgba(212, 165, 82, 0.15);
    border-radius: 20px;
    padding: 10px 20px;
    width: calc(50% - 10px);
    max-width: 200px;
    min-height: 144px;
    box-shadow: 0px 0px 8px 2px #00000012;
}

#payment-methods-content #credit-card-sec .cc-mobile-view .cc-mob-head{
    text-align: center;
    position: relative;
    margin-bottom: 10px;
    font-size: 16px;
    font-family: var(--mybody-font-family);
    text-transform: capitalize;
}

#payment-methods-content #credit-card-sec .cc-mobile-view .cc-mob-head::after{
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    width: 100px;
    margin: auto;
    bottom: 0;
    background-color: var(--secondary-gold);
    height: 1px;
}

#payment-methods-content #credit-card-sec .cc-mobile-view .cc-mob-sub-container{
    font-size: 16px;
    font-family: var(--mybody-font-family);
    text-transform: capitalize;
    display: flex;
    flex-wrap: nowrap;
}

#payment-methods-content #credit-card-sec .cc-mobile-view .left-sec{
    flex: 2;
}

#payment-methods-content #credit-card-sec .cc-mobile-view .right-sec{
    flex: 1;
    color: #d4a552;
    font-weight: 600;
}

#payment-methods-content #credit-card-sec .cc-surcharge-desktop-view{
    overflow: auto;
}

#payment-methods-content #credit-card-sec .cc-surcharge-desktop-view::-webkit-scrollbar {
  height: 6px; /* For horizontal scrollbar */
}

#payment-methods-content #credit-card-sec .cc-surcharge-desktop-view::-webkit-scrollbar-track {
  background: #f3f4f6; /* light gray track */
}

#payment-methods-content #credit-card-sec .cc-surcharge-desktop-view::-webkit-scrollbar-thumb {
  background-color: #d1d5db;
  border-radius: 10px;
}

#payment-methods-content #credit-card-sec .cc-surcharge-desktop-view::-webkit-scrollbar-thumb:hover {
  background-color: #9ca3af;
}

#payment-methods-content #credit-card-sec .cc-surcharge-desktop-view table{
    min-width: 800px;
}

#payment-methods-content #credit-card-sec .cc-surcharge-desktop-view table td{
    /* width: 100px; */   /* add if adding more column */
}

#payment-methods-content #credit-card-sec .cc-surcharge-desktop-view table td:nth-child(3){
    width: 30%;  /* remove if adding more column */
}

#payment-methods-content #credit-card-sec .cc-surcharge-desktop-view table td:first-child{
    width: 140px;
}

#payment-methods-content #credit-card-sec .cc-surcharge-mobile-view{
    display: none;
}

#payment-methods-content #credit-card-sec .cc-surcharge-mobile-view .cc-surcharge-sub-wrp{
    display: flex;
    flex-direction: column;
    gap: 20px;
}

#payment-methods-content #credit-card-sec .cc-surcharge-mobile-view .cc_surcharge_table_data .img-sec{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

#payment-methods-content #credit-card-sec .cc-surcharge-mobile-view .cc_surcharge_table_data .img-sec img{
    width: 20%;
    object-fit: contain;
    padding: 4px;
}

#payment-methods-content #credit-card-sec .cc-surcharge-mobile-view .content-sec{
    display: flex;
    justify-content: center;
    font-size: 16px;
    /* color: #d4a552; */
    font-weight: 600;
    font-family: var(--mybody-font-family);
}

#payment-methods-content #credit-card-sec .cc-surcharge-mobile-view .content-wrp{
    display: flex;
    gap: 6px;
    padding: 0 6px;

}

#payment-methods-content .sell-watch-contact-sec{
    padding-bottom: 50px;
}

#payment-methods-content .sell-watch-contact-sec .sell-watch-contact-cont{
    display: flex;
    justify-content: center;
}

#payment-methods-content #online-banking-sec .cards-container {
    overflow: unset !important;
}
#payment-methods-content #payment-notes li{
    line-height: 1.5;
    font-size: 16px;
}
@media screen and (max-width:1024px){
    /* Hide scrollbar for Chrome, Safari and Opera */
    .cards-container::-webkit-scrollbar {
    display: none;
    }

    /* Hide scrollbar for IE, Edge and Firefox */
    .cards-container {
    -ms-overflow-style: none;  /* IE and Edge  */
    scrollbar-width: none; /*  Firefox  */
    }
    
    #other-methods-sec .cards-container{
        justify-content:flex-start;
    }
    #payment-methods-content #other-methods-sec .cards-container {
        justify-content: center;
    }
}

@media screen and (max-width:767px){
    .page-template-template-payment-method #payment-methods-header .about-banner{
        box-shadow:inset 0 0 0 50vw #00000080;
    }

    .page-template-template-payment-method #content .auto-container{
        width:100% !important;
    }

    #payment-methods-content h4{
        font-size: 18px;
    }

    #payment-methods-content p, #payment-methods-content table td{
        font-size:14px;
    }

    .cards-container {
        flex-wrap:wrap;
        padding: 0;
    }

    .payment-method-card {
        padding:20px;
        margin-top:20px;
    }

    .payment-method-card img{
        margin:0 auto;
    }

    #online-banking-sec .payment-method-card img{
        margin:10px auto;
    }

    #cc-surcharge-container table {
        width: 100%;
    }

    #cc-plan-container table {
        width:800px;
    }

    #cc-plan-container{
        overflow-x:auto;
    }

    .payment-method-card {
        width:230px;
    }

    #online-banking-sec .payment-method-card{
        width:280px;
    }

    #cc-surcharge-container table td:first-child{
        width: 30%;
    }

    .payment-method-card table, #credit-card-sec .payment-method-card .payment-method-card-desc table{
        table-layout:fixed;
    }

    #other-methods-sec .cards-container{
        justify-content:center;
    }
    #payment-methods-content #other-methods-sec .cards-container{
        gap: 20px;
    }
    #payment-methods-content #other-methods-sec .payment-method-card{
        /* width:40%; */
        width: calc(50% - 10px);
        max-width: 220px;
        margin-top: 0;
    }

    #payment-methods-content #credit-card-sec .cc-desktop-view{
        display: none;
    }

    #payment-methods-content #credit-card-sec .cc-mobile-view{
        display: block;
    }

    #payment-methods-content #credit-card-sec .cc-surcharge-desktop-view{
        display: none;
    }

    #payment-methods-content #credit-card-sec .cc-surcharge-mobile-view{
        display: block;
    }

    #payment-methods-content .sell-watch-contact-sec .sell-watch-contact-cont h3{
        white-space: nowrap;
    }
}
@media screen and (max-width: 480px) {

    #payment-methods-content #other-methods-sec .payment-method-card{
        padding: 16px;
    }
    #payment-methods-content #other-methods-sec .payment-method-card img{
        margin: 4px auto;
    }

    #payment-methods-content #credit-card-sec .cc-mobile-view .cc-mob-container{
        /* gap: 10px; */
        flex-direction: column;
        align-items: center;
    }

    #payment-methods-content #credit-card-sec .cc-mobile-view .mob-contents{
        width: calc(100%);
        max-width: 220px;
        padding: 10px 26px;
    }

    #payment-methods-content #credit-card-sec .cc-surcharge-mobile-view .cc_surcharge_table_data .img-sec img{
        width: 25%;
    }

    #payment-methods-content .sell-watch-contact-sec .sell-watch-contact-cont h3{
        white-space: nowrap;
    }


}

@media screen and (max-width: 380px) {

    #payment-methods-content .sell-watch-contact-sec .sell-watch-contact-cont h3{
            font-size: 8px !important;
    }

}