/* ============================================================
   WooCommerce Payment Method Label
   ============================================================ */
   #payment .wc_payment_method.payment_method_themio_c2c_gateway > label {
    display: inline-flex;
    justify-content: center;
    align-items: center;
}

#payment .wc_payment_method.payment_method_themio_c2c_gateway label img {
    border-radius: 5px;
    height: 35px;
}


/* ============================================================
   Wrapper
   ============================================================ */
.woocommerce-checkout #payment ul.payment_methods li .themio-c2c-wrapper ::-webkit-scrollbar       { width: 2px; }
.woocommerce-checkout #payment ul.payment_methods li .themio-c2c-wrapper ::-webkit-scrollbar-track { background: #f1f1f1; border-radius: 10px; }
.woocommerce-checkout #payment ul.payment_methods li .themio-c2c-wrapper ::-webkit-scrollbar-thumb { background: linear-gradient(180deg, #007bff, #007bff33); border-radius: 10px; }
.woocommerce-checkout #payment ul.payment_methods li .themio-c2c-wrapper ::-webkit-scrollbar-thumb:hover { background: linear-gradient(180deg, #007bff, #007bff33); }

.woocommerce-checkout #payment ul.payment_methods li .themio-c2c-wrapper .themio-c2c-description {
    margin-bottom: 15px;
    color: #666;
}


/* ============================================================
   Container
   ============================================================ */
.woocommerce-checkout #payment ul.payment_methods li .themio-c2c-wrapper .themio-c2c-container {
    display: flex;
    gap: 1px;
    height: auto;
}

/* Checkout Area */
.woocommerce-checkout #payment ul.payment_methods li .themio-c2c-wrapper .themio-c2c-container .themio-c2c-checkout-area {
    background-color: #F8F9FA;
    width: 35%;
    border-radius: 12px 0 0 12px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.08);
    padding: 10px;
}

body:not(.rtl) .woocommerce-checkout #payment ul.payment_methods li .themio-c2c-wrapper .themio-c2c-container .themio-c2c-checkout-area {
    border-radius: 0 12px 12px 0;
}

/* Card Container */
.woocommerce-checkout #payment ul.payment_methods li .themio-c2c-wrapper .themio-c2c-container .themio-c2c-card-container {
    display: flex;
    gap: 10px;
    background: #fff;
    border-radius: 0 12px 12px 0;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    overflow: hidden;
    width: 65%;
}

body:not(.rtl) .woocommerce-checkout #payment ul.payment_methods li .themio-c2c-wrapper .themio-c2c-container .themio-c2c-card-container {
    border-radius: 12px 0 0 12px;
}


/* ============================================================
   Banks List
   ============================================================ */
.woocommerce-checkout #payment ul.payment_methods li .themio-c2c-wrapper .themio-c2c-container .themio-c2c-card-container .themio-c2c-banks-list {
    background: #f8f9fa;
    padding: 20px 10px;
    border-left: 1px solid #e9ecef;
    overflow-y: scroll;
    overflow-x: hidden;
    width: 30%;
}

.woocommerce-checkout #payment ul.payment_methods li .themio-c2c-wrapper .themio-c2c-container .themio-c2c-card-container .themio-c2c-banks-list .themio-c2c-bank-item {
    display: flex;
    align-items: center;
    gap: 3px;
    padding: 10px 4px;
    margin-bottom: 10px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #fff;
    border: 2px solid transparent;
    pointer-events: auto;
}

.woocommerce-checkout #payment ul.payment_methods li .themio-c2c-wrapper .themio-c2c-container .themio-c2c-card-container .themio-c2c-banks-list .themio-c2c-bank-item:hover {
    background: #f0f0f0;
    transform: translateX(5px);
}

.woocommerce-checkout #payment ul.payment_methods li .themio-c2c-wrapper .themio-c2c-container .themio-c2c-card-container .themio-c2c-banks-list .themio-c2c-bank-item.active {
    background: #fff;
    border-color: #007bff;
    box-shadow: 0 2px 8px rgba(0,123,255,0.15);
}

.woocommerce-checkout #payment ul.payment_methods li .themio-c2c-wrapper .themio-c2c-container .themio-c2c-card-container .themio-c2c-banks-list .themio-c2c-bank-item .themio-c2c-bank-logo {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.woocommerce-checkout #payment ul.payment_methods li .themio-c2c-bank-item .themio-c2c-bank-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 6px;
    max-height: 30px;
    margin: 0;
}

.woocommerce-checkout #payment ul.payment_methods li .themio-c2c-wrapper .themio-c2c-container .themio-c2c-card-container .themio-c2c-banks-list .themio-c2c-bank-item .themio-c2c-bank-name {
    font-size: 14px;
    font-weight: 600;
    color: #333;
}


/* ============================================================
   Details Panel
   ============================================================ */
.woocommerce-checkout #payment ul.payment_methods li .themio-c2c-wrapper .themio-c2c-container .themio-c2c-card-container .themio-c2c-details {
    padding: 15px;
    position: relative;
    overflow-y: scroll;
    overflow-x: hidden;
    width: 70%;
}

/* Detail Content */
.woocommerce-checkout #payment ul.payment_methods li .themio-c2c-wrapper .themio-c2c-container .themio-c2c-card-container .themio-c2c-details .themio-c2c-detail-content {
    display: none;
    animation: fadeIn 0.4s ease;
}

.woocommerce-checkout #payment ul.payment_methods li .themio-c2c-wrapper .themio-c2c-container .themio-c2c-card-container .themio-c2c-details .themio-c2c-detail-content.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Detail Header */
.woocommerce-checkout #payment ul.payment_methods li .themio-c2c-wrapper .themio-c2c-container .themio-c2c-card-container .themio-c2c-details .themio-c2c-detail-content .themio-c2c-detail-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e9ecef;
}

.woocommerce-checkout #payment ul.payment_methods li .themio-c2c-wrapper .themio-c2c-container .themio-c2c-card-container .themio-c2c-details .themio-c2c-detail-content .themio-c2c-detail-header .img-container {
    display: flex;
    align-items: center;
    justify-content: center;
}

.woocommerce-checkout #payment ul.payment_methods li .themio-c2c-wrapper .themio-c2c-container .themio-c2c-card-container .themio-c2c-details .themio-c2c-detail-content .themio-c2c-detail-header img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    border-radius: 8px;
    max-height: 40px;
    max-width: 40px;
}

.woocommerce-checkout #payment ul.payment_methods li .themio-c2c-wrapper .themio-c2c-container .themio-c2c-card-container .themio-c2c-details .themio-c2c-detail-content .themio-c2c-detail-header h4 {
    font-size: 21px;
    font-weight: 700;
    color: #333;
    margin: 0;
}

/* Detail Info Rows */
.woocommerce-checkout #payment ul.payment_methods li .themio-c2c-wrapper .themio-c2c-container .themio-c2c-card-container .themio-c2c-details .themio-c2c-detail-content .themio-c2c-detail-info {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.woocommerce-checkout #payment ul.payment_methods li .themio-c2c-wrapper .themio-c2c-container .themio-c2c-card-container .themio-c2c-details .themio-c2c-detail-content .themio-c2c-detail-info .themio-c2c-info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 8px;
    border-right: 4px solid #007bff;
}

.woocommerce-checkout #payment ul.payment_methods li .themio-c2c-wrapper .themio-c2c-container .themio-c2c-card-container .themio-c2c-details .themio-c2c-detail-content .themio-c2c-detail-info .themio-c2c-info-row .label {
    font-size: 14px;
    font-weight: 600;
    color: #666;
}

.woocommerce-checkout #payment ul.payment_methods li .themio-c2c-wrapper .themio-c2c-container .themio-c2c-card-container .themio-c2c-details .themio-c2c-detail-content .themio-c2c-detail-info .themio-c2c-info-row .content-area {
    display: flex;
    justify-content: end;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.woocommerce-checkout #payment ul.payment_methods li .themio-c2c-wrapper .themio-c2c-container .themio-c2c-card-container .themio-c2c-details .themio-c2c-detail-content .themio-c2c-detail-info .themio-c2c-info-row .content-area .value {
    font-size: 16px;
    font-weight: 500;
    color: #333;
}

.woocommerce-checkout #payment ul.payment_methods li .themio-c2c-wrapper .themio-c2c-container .themio-c2c-card-container .themio-c2c-details .themio-c2c-detail-content .themio-c2c-detail-info .themio-c2c-info-row .content-area .action-area {
    display: flex;
    gap: 5px;
}

.woocommerce-checkout #payment ul.payment_methods li .themio-c2c-wrapper .themio-c2c-container .themio-c2c-card-container .themio-c2c-details .themio-c2c-detail-content .themio-c2c-detail-info .themio-c2c-info-row .content-area .action-area button.themio-c2c-copy,
.woocommerce-checkout #payment ul.payment_methods li .themio-c2c-wrapper .themio-c2c-container .themio-c2c-card-container .themio-c2c-details .themio-c2c-detail-content .themio-c2c-detail-info .themio-c2c-info-row .content-area .action-area button.themio-c2c-qrcode {
    border: none;
    color: #fff;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 7px;
    margin: 0;
    pointer-events: auto;
    width: 35px;
    height: 35px;
    min-height: 35px;
}

.woocommerce-checkout #payment ul.payment_methods li .themio-c2c-wrapper .themio-c2c-container .themio-c2c-card-container .themio-c2c-details .themio-c2c-detail-content .themio-c2c-detail-info .themio-c2c-info-row .content-area .action-area button.themio-c2c-copy {
    background: #007bff;
}

.woocommerce-checkout #payment ul.payment_methods li .themio-c2c-wrapper .themio-c2c-container .themio-c2c-card-container .themio-c2c-details .themio-c2c-detail-content .themio-c2c-detail-info .themio-c2c-info-row .content-area .action-area button.themio-c2c-copy:hover {
    background: #0056b3;
    transform: scale(1.05);
}

.woocommerce-checkout #payment ul.payment_methods li .themio-c2c-wrapper .themio-c2c-container .themio-c2c-card-container .themio-c2c-details .themio-c2c-detail-content .themio-c2c-detail-info .themio-c2c-info-row .content-area .action-area button.themio-c2c-copy.copied {
    background: #28a745;
}

.woocommerce-checkout #payment ul.payment_methods li .themio-c2c-wrapper .themio-c2c-container .themio-c2c-card-container .themio-c2c-details .themio-c2c-detail-content .themio-c2c-detail-info .themio-c2c-info-row .content-area .action-area button.themio-c2c-qrcode {
    background: #000;
}


/* ============================================================
   QR Code Overlay
   ============================================================ */
.woocommerce-checkout #payment ul.payment_methods li .themio-c2c-wrapper .themio-c2c-qrcode-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.85);
    backdrop-filter: blur(8px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.woocommerce-checkout #payment ul.payment_methods li .themio-c2c-wrapper .themio-c2c-qrcode-overlay.show {
    opacity: 1;
    visibility: visible;
}

.woocommerce-checkout #payment ul.payment_methods li .themio-c2c-wrapper .themio-c2c-qrcode-overlay .themio-c2c-qrcode-box {
    background: #fff;
    padding: 25px 0;
    border-radius: 20px;
    text-align: center;
    position: relative;
    max-width: 320px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    transform: scale(0.7) translateY(-20px);
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease;
}

.woocommerce-checkout #payment ul.payment_methods li .themio-c2c-wrapper .themio-c2c-qrcode-overlay.show .themio-c2c-qrcode-box {
    transform: scale(1) translateY(0);
    opacity: 1;
}

.woocommerce-checkout #payment ul.payment_methods li .themio-c2c-wrapper .themio-c2c-qrcode-overlay .themio-c2c-qrcode-box .close-btn {
    position: absolute;
    right: 15px;
    top: 10px;
    font-size: 28px;
    cursor: pointer;
    color: #999;
    transition: color 0.2s ease, transform 0.2s ease;
    line-height: 1;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.woocommerce-checkout #payment ul.payment_methods li .themio-c2c-wrapper .themio-c2c-qrcode-overlay .themio-c2c-qrcode-box .close-btn:hover {
    color: #333;
    background: #f5f5f5;
    transform: rotate(90deg);
}

.woocommerce-checkout #payment ul.payment_methods li .themio-c2c-wrapper .themio-c2c-qrcode-overlay .themio-c2c-qrcode-box #themio-c2c-qrcode-output {
    display: inline-block;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 16px;
    margin-bottom: 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.woocommerce-checkout #payment ul.payment_methods li .themio-c2c-wrapper .themio-c2c-qrcode-overlay .themio-c2c-qrcode-box #themio-c2c-qrcode-output img {
    display: block;
    border-radius: 8px;
    max-height: 100%;
}

.woocommerce-checkout #payment ul.payment_methods li .themio-c2c-wrapper .themio-c2c-qrcode-overlay .themio-c2c-qrcode-box .qr-label {
    margin-top: 0;
    font-size: 13px;
    word-break: break-all;
    color: #666;
    background: #f8f9fa;
    padding: 12px 16px;
    border-radius: 10px;
    line-height: 1.6;
    text-align: center;
}

/* ============================================================
   Checkout fields
   ============================================================ */

.themio-c2c-container .themio-c2c-payment-form {
    padding: 20px 0;
}

.themio-c2c-container .themio-c2c-group-fields {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.woocommerce-checkout #payment ul.payment_methods li .themio-c2c-wrapper .themio-c2c-container .themio-c2c-payment-form .themio-c2c-group-fields .themio-c2c-form-field {
    width: 50%;
}

.woocommerce-checkout #payment ul.payment_methods li .themio-c2c-container .themio-c2c-form-field label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    line-height: 1;
}

.woocommerce-checkout #payment ul.payment_methods li .themio-c2c-container .themio-c2c-form-field input#themio_c2c_card_holder,
.woocommerce-checkout #payment ul.payment_methods li .themio-c2c-container .themio-c2c-form-field input#themio_c2c_tracking_code {
    width: 100%;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    width: 100%;
    height: 35px;
    margin: 0;
    background-color: #FFFFFF;
}

.woocommerce-checkout #payment ul.payment_methods li .themio-c2c-wrapper .themio-c2c-container .themio-c2c-form-field label small {
    padding-right: 3px;
}

.woocommerce-checkout #payment ul.payment_methods li .themio-c2c-wrapper .themio-c2c-form-field .required {
    color: #e74c3c;
}

.woocommerce-checkout #payment ul.payment_methods li .themio-c2c-wrapper .themio-c2c-images-container {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 10px;
}

.woocommerce-checkout #payment ul.payment_methods li .themio-c2c-wrapper .themio-c2c-image-upload {
    position: relative;
    width: 100px;
    height: 100px;
    border: 2px dashed #ddd;
    border-radius: 8px;
    overflow: hidden;
}

.woocommerce-checkout #payment ul.payment_methods li .themio-c2c-image-upload.not-accepted {
    border: 2px dashed red;
}

.woocommerce-checkout #payment ul.payment_methods li .themio-c2c-image-upload.not-accepted .themio-c2c-upload-status .check {
    display: none;
}

.woocommerce-checkout #payment ul.payment_methods li .themio-c2c-image-upload:not(.not-accepted) .themio-c2c-image-preview .size-error {
    display: none;
}

.woocommerce-checkout #payment ul.payment_methods li .themio-c2c-wrapper .themio-c2c-file-input {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    z-index: 2;
}

.woocommerce-checkout #payment ul.payment_methods li .themio-c2c-wrapper .themio-c2c-upload-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: #999;
    text-align: center;
    padding: 10px;
}

.woocommerce-checkout #payment ul.payment_methods li .themio-c2c-wrapper .themio-c2c-upload-placeholder svg {
    margin-bottom: 8px;
}

.woocommerce-checkout #payment ul.payment_methods li .themio-c2c-wrapper .themio-c2c-upload-placeholder span {
    font-size: 12px;
}

.woocommerce-checkout #payment ul.payment_methods li .themio-c2c-wrapper .themio-c2c-image-preview {
    position: relative;
    width: 100%;
    height: 100%;
}

.woocommerce-checkout #payment ul.payment_methods li .themio-c2c-wrapper .themio-c2c-image-preview span.size-error {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: red;
    font-weight: bold;
    font-size: 0.8rem;
}

.woocommerce-checkout #payment ul.payment_methods li .themio-c2c-image-preview img {
    width: 100%;
    height: 100%;
    margin: 0;
    object-fit: cover;
}

.woocommerce-checkout #payment ul.payment_methods li .themio-c2c-wrapper .themio-c2c-image-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.woocommerce-checkout #payment ul.payment_methods li .themio-c2c-wrapper .themio-c2c-remove-image[type='button'] {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 22px;
    height: 22px;
    background: rgba(231, 76, 60, 0.9);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    line-height: 0;
    z-index: 3;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    margin: 0;
}

.woocommerce-checkout #payment ul.payment_methods li .themio-c2c-wrapper .themio-c2c-remove-image[type='button'] svg {
    width: 13px;
}

.woocommerce-checkout #payment ul.payment_methods li .themio-c2c-wrapper .themio-c2c-add-image[type=button] {
    padding: 5px 10px;
    background: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
}

.woocommerce-checkout #payment ul.payment_methods li .themio-c2c-wrapper .themio-c2c-add-image[type=button]:hover {
    background: #0056b3;
    color: #FFFFFF;
}

.woocommerce-checkout #payment ul.payment_methods li .themio-c2c-wrapper .themio-c2c-image-upload {
    position: relative;
}

.woocommerce-checkout #payment ul.payment_methods li .themio-c2c-wrapper .themio-c2c-upload-status {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: rgba(255,255,255,0.6);
    opacity: 0;
    pointer-events: none;
    transition: 0.2s ease;
}

.woocommerce-checkout #payment ul.payment_methods li .themio-c2c-wrapper .themio-c2c-image-upload.is-loading .themio-c2c-upload-status {
    opacity: 1;
}

.woocommerce-checkout #payment ul.payment_methods li .themio-c2c-wrapper .themio-c2c-upload-status .spinner {
    width: 26px;
    height: 26px;
    border: 3px solid #ccc;
    border-top-color: #2f7ef7;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

.woocommerce-checkout #payment ul.payment_methods li .themio-c2c-wrapper .themio-c2c-image-upload.is-done .themio-c2c-upload-status {
    opacity: 1;
}

.woocommerce-checkout #payment ul.payment_methods li .themio-c2c-wrapper .themio-c2c-image-upload.is-done .spinner {
    display: none;
}

.woocommerce-checkout #payment ul.payment_methods li .themio-c2c-wrapper .themio-c2c-upload-status .check {
    width: 30px;
    height: 30px;
    background: #28a745;
    color: #fff;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.woocommerce-checkout #payment ul.payment_methods li .themio-c2c-wrapper .themio-c2c-image-upload.is-done .check {
    display: inline-flex;
}

.woocommerce-checkout #payment ul.payment_methods li .themio-c2c-wrapper .themio-c2c-image-upload.is-done .check svg {
    width: 18px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.woocommerce-checkout #payment ul.payment_methods li .themio-c2c-wrapper.single-col .themio-c2c-container {
    flex-direction: column;
    height: initial;
}

.woocommerce-checkout #payment ul.payment_methods li .themio-c2c-wrapper.single-col .themio-c2c-container .themio-c2c-card-container {
    border-radius: 12px 12px 0 0;
    width: 100%;
    flex-direction: column;
}

.woocommerce-checkout #payment ul.payment_methods li .themio-c2c-wrapper.single-col .themio-c2c-container .themio-c2c-card-container .themio-c2c-banks-list {
    overflow: hidden;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.woocommerce-checkout #payment ul.payment_methods li .themio-c2c-wrapper.single-col .themio-c2c-container .themio-c2c-card-container .themio-c2c-banks-list .themio-c2c-bank-item {
    gap: 3px;
    padding: 4px;
    margin-bottom: 0;
    border-radius: 5px;
}

.woocommerce-checkout #payment ul.payment_methods li .themio-c2c-wrapper.single-col .themio-c2c-container .themio-c2c-card-container .themio-c2c-details {
    padding: 10px;
    overflow: hidden;
    width: 100%;
}

.woocommerce-checkout #payment ul.payment_methods li .themio-c2c-wrapper.single-col .themio-c2c-container .themio-c2c-card-container .themio-c2c-details .themio-c2c-detail-content .themio-c2c-detail-header {
    display: none;
}

.woocommerce-checkout #payment ul.payment_methods li .themio-c2c-wrapper.single-col .themio-c2c-container .themio-c2c-checkout-area {
    width: 100%;
    border-radius: 0 0 8px 8px;
}

.woocommerce-checkout #payment ul.payment_methods li .themio-c2c-wrapper.single-col .themio-c2c-container .themio-c2c-card-container .themio-c2c-details .themio-c2c-detail-content .themio-c2c-detail-info .themio-c2c-info-row .content-area .value {
    word-break: break-all;
}

/* ============================================================
   Responsive Ã¢â‚¬â€ max-width: 768px
   ============================================================ */
@media (max-width: 768px) {

    .woocommerce-checkout #payment ul.payment_methods li .themio-c2c-wrapper  .themio-c2c-container {
        flex-direction: column;
        height: initial;
    }

    .woocommerce-checkout #payment ul.payment_methods li .themio-c2c-wrapper  .themio-c2c-container .themio-c2c-card-container {
        border-radius: 12px 12px 0 0;
        width: 100%;
        flex-direction: column;
    }

    .woocommerce-checkout #payment ul.payment_methods li .themio-c2c-wrapper  .themio-c2c-container .themio-c2c-card-container .themio-c2c-banks-list {
        overflow: hidden;
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        gap: 5px;
    }

    .woocommerce-checkout #payment ul.payment_methods li .themio-c2c-wrapper  .themio-c2c-container .themio-c2c-card-container .themio-c2c-banks-list .themio-c2c-bank-item {
        gap: 3px;
        padding: 4px;
        margin-bottom: 0;
        border-radius: 5px;
    }

    .woocommerce-checkout #payment ul.payment_methods li .themio-c2c-wrapper  .themio-c2c-container .themio-c2c-card-container .themio-c2c-details {
        padding: 10px;
        overflow: hidden;
        width: 100%;
    }

    .woocommerce-checkout #payment ul.payment_methods li .themio-c2c-wrapper  .themio-c2c-container .themio-c2c-card-container .themio-c2c-details .themio-c2c-detail-content .themio-c2c-detail-header {
        display: none;
    }

    .woocommerce-checkout #payment ul.payment_methods li .themio-c2c-wrapper  .themio-c2c-container .themio-c2c-checkout-area {
        width: 100%;
        border-radius: 0 0 8px 8px;
    }

    .woocommerce-checkout #payment ul.payment_methods li .themio-c2c-wrapper  .themio-c2c-container .themio-c2c-card-container .themio-c2c-details .themio-c2c-detail-content .themio-c2c-detail-info .themio-c2c-info-row .content-area .value {
        word-break: break-all;
    }
}