.payment-option {
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    background: #fff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}
.payment-option img {
    width: 120px;
    height: 35px;
    margin-bottom: 8px;
}
.payment-option h6 {
    font-weight: 600;
    margin-bottom: 3px;
    font-size: 15px;
}
.payment-option p {
    font-size: 13px;
    color: #6b7280;
    margin: 0;
}
.payment-option.selected {
    border: 2px solid #e11d48;
    box-shadow: 0 0 10px rgba(225, 29, 72, 0.2);
}
.payment-option.selected::before {
    content: "Selected";
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: #e11d48;
    color: white;
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 10px;
    font-weight: 600;
}
.payment-option:hover {
    transform: translateY(-2px);
}

/* Table Wrapper */
.table {
    border-collapse: separate;
    border-spacing: 0 8px;
}

/* Header */
.table thead tr {
    background: #f8f9fa;
    border-radius: 10px;
}

.table thead th {
    font-weight: 600;
    letter-spacing: 0.5px;
    padding-top: 12px;
    padding-bottom: 12px;
}

/* Rows */
.table tbody tr {
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.table tbody tr td {
    padding-top: 18px !important;
    padding-bottom: 18px !important;
    vertical-align: top;
}

/* Image */
.table img {
    border-radius: 8px;
    width: 80px;
    height: 80px;
    object-fit: cover;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

/* Service Title */
.table .fw-bold.fs-6 {
    font-size: 17px !important;
    font-weight: 600 !important;
}

/* Small Text */
.table .small.text-muted {
    font-size: 13px !important;
}

/* Price and Subtotal */
.table td.text-end span,
.table td.text-end i {
    font-size: 16px;
}

.table td.text-success {
    font-size: 17px;
    font-weight: 700;
}

/* Total Rows */
.table tbody tr.bg-light {
    background: #f1f3f5 !important;
}

.table tbody tr.bg-light td {
    font-size: 16px !important;
}

.table tbody tr.bg-light.border-bottom td {
    font-size: 18px !important;
    border-bottom: 3px solid #dee2e6 !important;
}

/* Empty Cart Message */
.table tbody tr td.text-muted {
    font-size: 18px;
}

/* Badge Style */
.badge {
    padding: 6px 10px;
    font-size: 12px;
    border-radius: 5px;
}

/* Remove gap of table-light header border */
.table-light th {
    border-bottom: none !important;
}

#checkout-section {
    display: flex;
    align-items: center;        /* Vertically center */
    justify-content: center;    /* Horizontally center */
    min-height: 100vh;          /* Full viewport height */
    background: #f9fafb;        /* Soft background */
    padding: 20px;
}

.checkout-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    padding: 15px;
    width: 100%;
    /*max-width: 650px;*/           /* Center card width */
    border-top: 4px solid #e11d48;
}
.checkout-card h5 {
    font-size: 16px;
    font-weight: 600;
    color: #374151;
}

.table {
    font-size: 14px;
}
.table th {
    color: #6b7280;
}
.table td {
    vertical-align: middle;
}
.total-row td {
    background: #dcfce7;
    font-weight: 700;
}
.btn-campaign {
    background: #e11d48;
    color: white;
    border-radius: 8px;
    font-weight: 600;
    width: 100%;
    padding: 12px;
    transition: all 0.3s ease;
}
.btn-campaign:hover {
    background: #be123c;
}
.invoice-section {
    display: none;
    background: #f9fafb;
    border-radius: 8px;
    padding: 15px;
    margin-top: 10px;
    border: 1px dashed #d1d5db;
}

.extras-section {
    background: #f9fafb;
    border-radius: 10px;
    padding: 10px;
    border: 1px solid #e5e7eb;
}

.extras-title {
    font-size: 16px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 10px;
}

.custom-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
    font-size: 15px;
    color: #374151;
    cursor: pointer;
    padding: 8px 10px;
    border-radius: 8px;
    transition: background 0.2s ease;
}

.custom-checkbox:hover {
    background: #f3f4f6;
}

.custom-checkbox input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.checkmark {
    width: 18px;
    height: 18px;
    border: 2px solid #9ca3af;
    border-radius: 4px;
    transition: all 0.3s ease;
    display: inline-block;
}

.custom-checkbox input:checked ~ .checkmark {
    background-color: #e11d48;
    border-color: #e11d48;
}

.custom-checkbox input:checked ~ .checkmark::after {
    content: "";
    position: absolute;
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.invoice-section {
    display: none;
    background: #fff;
    border-radius: 8px;
    padding: 15px;
    margin-top: 10px;
    border: 1px dashed #d1d5db;
}

#gstDetails.active {
    display: block;
}

.progress {
    height: 4px;
    margin-top: 0.5rem;
}

.card {
    border-radius: 10px;
}
.table {
    margin-bottom: 0;
}
.table td, .table th {
    vertical-align: middle;
}
.table thead th {
    font-weight: 600;
    border-bottom: 2px solid #dee2e6;
}
.table-hover tbody tr:hover {
    background-color: #f9fafb;
}
.fw-semibold {
    font-weight: 600 !important;
}

.gst-card {
    border-radius: 10px;
    border: 1px solid #dee2e6;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: 0.3s;
}
.gst-card:hover {
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
}
.gst-icon {
    font-size: 35px;
    color: #0d6efd;
}
.gst-label {
    color: #6c757d;
    font-size: 14px;
    margin-bottom: 2px;
}
.gst-value {
    font-weight: 600;
    font-size: 16px;
    color: #212529;
}

    /* Intl Tel Input fix */
.iti {
    width: 100% !important;   /* Full width */
}

.iti input {
    width: 100% !important;
    /*padding-left: 52px !important;*/  /* space for flag */
    padding-right: 10px !important; /* no huge padding */
    box-sizing: border-box;
    height: 45px;  /* uniform height with other fields */
    line-height: 1.5;
    font-size: 16px;
}

@media screen and (max-width: 600px) {
    .iti--allow-dropdown input,
    .iti--allow-dropdown input[type=text],
    .iti--allow-dropdown input[type=tel],
    .iti--separate-dial-code input,
    .iti--separate-dial-code input[type=text],
    .iti--separate-dial-code input[type=tel] {
        padding-right: 2.5rem !important;  /* fixed 200px hata diya */
        padding-left: 52px; 
        margin-left: 0; 
        box-sizing: border-box; /* ensure padding doesnâ€™t push text out */
    }
}
.input-with-link {
    position: relative;
    margin-bottom: 5px;
}

.input-with-link input {
    padding-right: 90px;
}

/* Position the Send OTP link */
.input-with-link a {
    position: absolute;
    right: 15px;
    top: 35%;
    transform: translateY(-50%);
    font-size: 0.875rem;
    font-weight: 600;
    color: #d12727 !important;
    text-decoration: none;
    cursor: pointer;
    white-space: nowrap;
}

/* Add underline on hover */
.input-with-link a:hover {
    text-decoration: underline;
}

/* Keep error text below and aligned properly */
.input-with-link small.text-danger {
    display: block;
    /*min-height: 18px;*/ /* reserves space even if hidden */
    /* margin-top: 4px; */
    font-size: 0.8rem;
    line-height: 1;
}
.input-with-link a.disabled {
    pointer-events: none;
    opacity: 0.6;
}

#qrcode {
    padding: 15px;
    border-radius: 10px;
    background: #fff;
    width: fit-content;
    margin: auto;
    box-shadow: 0 6px 18px rgba(0,0,0,0.1);
}

.section-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #444;
}

.inflanar-form-input input,
.inflanar-form-input .ecom-wc__form-input {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #ced4da;
    border-radius: 6px;
}

/* =========================
   MOBILE (≤ 480px)
   ========================= */
@media (max-width: 480px) {
    #checkout-section {
        padding: 20px 10px 99px 10px;
    }

    .checkout-card h5 {
        font-size: 12px;
    }
    .payment-option {
        padding: 6px;
    }
    .payment-option img {
        width: 120px;
        height: 25px;
        margin-bottom: 5px;
    }

    .payment-option p {
        font-size: 12px;
    }

    .inflanar-form-input input{
        padding: 8px 8px;
        height: 40px;
    }

    .input-with-link a {
        top: 53%;
    }

    .table img {
        height: unset; 
    }

    .table .fw-bold.fs-6 {
        font-size: 12px !important;
    }

    .table .small.text-muted {
        font-size: 10px !important;
    }

    .table .display-contents{
        display: contents;
    }
    .badge {
        padding: 5px 5px;
        font-size: 10px;
    }

    .table td.text-end span, .table td.text-end i, .table td.text-success {
        font-size: 11px;
    }

    .table tbody tr.bg-light td {
        font-size: 13px !important;
    }

    .table tbody tr.bg-light.border-bottom td, .table td.total-price span {
        font-size: 15px !important;
    }
}

/* =========================
   TABLET (481px – 768px)
   ========================= */
@media (min-width: 481px) and (max-width: 768px) {
    #checkout-section {
        padding: 50px 0px 100px 0px;
    }
}

/* =========================
   SMALL LAPTOP (769px – 1024px)
   ========================= */
@media (min-width: 769px) and (max-width: 1024px) {
    #checkout-section {
        padding: 50px 0px 100px 0px;
    }
}

/* =========================
   DESKTOP (1025px – 1200px)
   ========================= */
@media (min-width: 1025px) and (max-width: 1200px) {
    #checkout-section {
        padding: 50px 0px 100px 0px;
    }
}

/* =========================
   LARGE / XL SCREENS (≥ 1201px)
   ========================= */
@media (min-width: 1201px) {
    #checkout-section {
        padding: 50px 0px 100px 0px;
    }
}