
/* =====================================================
   DASHTK DIGITAL HUB
   SMART STUDENTS PREMIUM CHECKOUT
   Version 2.1.0
===================================================== */

.sskit-new-checkout {
    --ss-bg: #080f24;
    --ss-panel: #111e39;
    --ss-panel-light: #182a4c;
    --ss-blue: #48baff;
    --ss-violet: #9474ff;
    --ss-gold: #ffbd59;
    --ss-white: #f5f7ff;
    --ss-muted: #a9b8d3;
    --ss-border: rgba(105, 174, 255, .20);

    width: 100%;
    min-height: 100vh;
    padding: 32px 24px 45px;
    color: var(--ss-white);
    background:
        radial-gradient(ellipse at 12% 4%, rgba(55,120,255,.18), transparent 34%),
        radial-gradient(ellipse at 90% 42%, rgba(132,76,255,.14), transparent 35%),
        var(--ss-bg);
    font-family: inherit;
    box-sizing: border-box;
    overflow: hidden;
}

.sskit-new-checkout *,
.sskit-new-checkout *::before,
.sskit-new-checkout *::after {
    box-sizing: border-box;
}

/* =====================================================
   HEADER
===================================================== */

.sskit-checkout-header {
    width: 100%;
    max-width: 1160px;
    margin: 0 auto 45px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.sskit-checkout-brand {
    display: flex;
    align-items: center;
    gap: 16px;
}

.sskit-checkout-logo {
    display: block;
    width: 155px;
    max-width: 100%;
    height: 58px;
    object-fit: contain;
    object-position: left center;
}

.sskit-brand-tagline {
    display: inline-block;
    color: var(--ss-muted);
    font-size: 11px;
    line-height: 1.6;
    font-weight: 500;
    padding-left: 15px;
    border-left: 1px solid var(--ss-border);
}

.sskit-secure-label {
    color: #b7f3d2;
    font-size: 13px;
    font-weight: 600;
    background: rgba(35,190,120,.10);
    border: 1px solid rgba(35,190,120,.28);
    padding: 11px 17px;
    border-radius: 30px;
    white-space: nowrap;
}

/* =====================================================
   HERO
===================================================== */

.sskit-checkout-hero {
    width: 100%;
    max-width: 1160px;
    margin: 0 auto 38px;
    text-align: center;
}

.sskit-eyebrow {
    color: var(--ss-blue);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2.5px;
    margin: 0 0 13px;
}

.sskit-checkout-hero h1 {
    color: var(--ss-white);
    font-size: clamp(34px, 4vw, 49px);
    line-height: 1.15;
    font-weight: 800;
    margin: 0 0 13px;
}

.sskit-checkout-hero > p:last-child {
    color: var(--ss-muted);
    font-size: 15px;
    line-height: 1.7;
    margin: 0;
}

/* =====================================================
   MAIN CHECKOUT LAYOUT
===================================================== */

.sskit-checkout-layout {
    width: 100%;
    max-width: 1160px;
    margin: 0 auto;
}

.sskit-checkout-form-area {
    width: 100%;
}

/* WooCommerce form layout */

.sskit-new-checkout form.woocommerce-checkout {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
    gap: 25px;
    align-items: start;
    margin: 0;
}

.sskit-new-checkout #customer_details {
    grid-column: 1;
    grid-row: 1;
    min-width: 0;
}

.sskit-new-checkout #order_review_heading {
    display: none !important;
}


.sskit-new-checkout #order_review {
    grid-column: 2;
    grid-row: 1 / span 3;
    min-width: 0;
    position: relative;
    align-self: stretch;
    height: auto;
    box-sizing: border-box;
}


/* =====================================================
   CONTACT DETAILS PANEL
===================================================== */

.sskit-new-checkout #customer_details .col-1,
.sskit-new-checkout #customer_details .col-2 {
    width: 100%;
    float: none;
}

.sskit-new-checkout #customer_details .col-2 {
    display: none !important;
}

.sskit-new-checkout #customer_details .woocommerce-billing-fields {
    background: linear-gradient(145deg, #152746, #101c35);
    border: 1px solid var(--ss-border);
    border-radius: 18px;
    padding: 27px;
    box-shadow: 0 15px 40px rgba(0,0,0,.20);
}

.sskit-new-checkout #customer_details .woocommerce-billing-fields h3 {
    color: var(--ss-white);
    font-size: 21px;
    font-weight: 750;
    margin: 0 0 10px;
}

.sskit-new-checkout #customer_details .woocommerce-billing-fields::before {
    content: "01  YOUR CONTACT DETAILS";
    display: block;
    color: var(--ss-blue);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.6px;
    margin-bottom: 17px;
}

/* Form fields */

.sskit-new-checkout .form-row {
    margin: 0 0 19px !important;
    padding: 0 !important;
    width: 100% !important;
    float: none !important;
}

.sskit-new-checkout .form-row label {
    display: block;
    color: #dce8ff;
    font-size: 13px;
    font-weight: 650;
    margin-bottom: 9px;
}

.sskit-new-checkout .form-row .required {
    color: #ff8b9d;
}

.sskit-new-checkout input.input-text,
.sskit-new-checkout input[type="email"],
.sskit-new-checkout input[type="tel"],
.sskit-new-checkout input[type="text"] {
    width: 100% !important;
    height: 52px;
    background: #0b1730 !important;
    border: 1px solid rgba(117,174,255,.27) !important;
    border-radius: 10px !important;
    color: #fff !important;
    padding: 0 16px !important;
    font-size: 14px !important;
    box-shadow: none !important;
    outline: none;
    transition: border-color .2s, box-shadow .2s;
}

.sskit-new-checkout input::placeholder {
    color: #8193b2 !important;
    opacity: 1;
}

.sskit-new-checkout input.input-text:focus,
.sskit-new-checkout input[type="email"]:focus,
.sskit-new-checkout input[type="tel"]:focus {
    border-color: var(--ss-blue) !important;
    box-shadow: 0 0 0 3px rgba(72,186,255,.12) !important;
}

/* =====================================================
   ORDER SUMMARY PANEL
===================================================== */

.sskit-new-checkout #order_review {
    background: linear-gradient(145deg, #152746, #101b34);
    border: 1px solid var(--ss-border);
    border-radius: 18px;
    padding: 26px;
    box-shadow: 0 15px 40px rgba(0,0,0,.22);
}

.sskit-new-checkout #order_review::before {
    content: "YOUR ORDER SUMMARY";
    display: block;
    color: var(--ss-blue);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.7px;
    margin-bottom: 19px;
}

/* Main product visual */

.sskit-new-checkout .sskit-main-product-visual td {
    padding: 0 0 19px !important;
    border-bottom: 1px solid rgba(255,255,255,.12);
}

.sskit-main-product-card {
    display: flex;
    align-items: center;
    gap: 15px;
}

.sskit-main-product-card img {
    display: block;
    width: 105px;
    height: 105px;
    object-fit: contain;
    background: #0b1730;
    border: 1px solid var(--ss-border);
    border-radius: 12px;
    padding: 5px;
}

.sskit-main-product-info {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.sskit-main-product-info strong {
    color: var(--ss-white);
    font-size: 14px;
    line-height: 1.5;
}

.sskit-main-product-info span {
    color: var(--ss-muted);
    font-size: 12px;
}

/* WooCommerce order table */

.sskit-new-checkout table.shop_table {
    width: 100%;
    background: transparent !important;
    border: 0 !important;
    border-collapse: collapse;
    border-radius: 0;
    margin: 0 0 19px !important;
    color: var(--ss-white);
}

.sskit-new-checkout table.shop_table th,
.sskit-new-checkout table.shop_table td {
    background: transparent !important;
    color: var(--ss-white);
    border: 0 !important;
    border-bottom: 1px solid rgba(255,255,255,.09) !important;
    padding: 13px 0 !important;
    font-size: 13px;
    text-align: left;
}

.sskit-new-checkout table.shop_table th:last-child,
.sskit-new-checkout table.shop_table td:last-child {
    text-align: right;
}

.sskit-new-checkout table.shop_table .product-name {
    color: #e6edff;
}

.sskit-new-checkout table.shop_table .product-total,
.sskit-new-checkout table.shop_table .amount {
    color: var(--ss-blue);
    font-weight: 700;
}

.sskit-new-checkout table.shop_table tfoot th {
    color: var(--ss-muted);
    font-weight: 600;
}

.sskit-new-checkout table.shop_table tfoot .order-total th,
.sskit-new-checkout table.shop_table tfoot .order-total td {
    border-bottom: 0 !important;
    padding-top: 19px !important;
    font-size: 16px;
}

.sskit-new-checkout table.shop_table tfoot .order-total .amount {
    color: var(--ss-gold);
    font-size: 27px;
    font-weight: 800;
}

/* =====================================================
   ORDER BUMPS
===================================================== */

.sskit-bumps-section {
    grid-column: 1;
    grid-row: 2;
    background: linear-gradient(145deg, #152746, #101c35);
    border: 1px solid var(--ss-border);
    border-radius: 18px;
    padding: 24px;
    box-shadow: 0 15px 40px rgba(0,0,0,.20);
    margin-top: 0;
    margin-bottom: 0;
}

.sskit-section-heading {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    margin-bottom: 20px;
}

.sskit-step-number {
    display: flex;
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    color: var(--ss-blue);
    background: rgba(72,186,255,.12);
    border: 1px solid rgba(72,186,255,.25);
    font-size: 12px;
    font-weight: 800;
}

.sskit-section-heading h3 {
    color: var(--ss-white);
    font-size: 19px;
    line-height: 1.35;
    margin: 0 0 6px;
    font-weight: 750;
}

.sskit-section-heading p {
    color: var(--ss-muted);
    font-size: 12px;
    line-height: 1.6;
    margin: 0;
}

/* Bump cards */

.sskit-bump-card {
    display: flex;
    align-items: center;
    gap: 13px;
    width: 100%;
    position: relative;
    padding: 15px;
    margin: 0 0 13px;
    background: linear-gradient(110deg, rgba(65,145,255,.12), rgba(145,100,255,.10));
    border: 1px solid rgba(100,170,255,.30);
    border-radius: 13px;
    cursor: pointer;
    transition: border-color .2s, background .2s, transform .2s;
}

.sskit-bump-card:last-child {
    margin-bottom: 0;
}

.sskit-bump-card:hover {
    border-color: var(--ss-blue);
    background: rgba(72,186,255,.12);
    transform: translateY(-1px);
}

.sskit-bump-card:has(.sskit-bump-checkbox:checked) {
    border-color: var(--ss-blue);
    background: rgba(72,186,255,.14);
    box-shadow: 0 0 0 2px rgba(72,186,255,.08);
}

.sskit-bump-checkbox {
    flex: 0 0 19px;
    width: 19px !important;
    height: 19px !important;
    accent-color: var(--ss-blue);
    margin: 0 !important;
    cursor: pointer;
}

.sskit-bump-card img {
    display: block;
    flex: 0 0 76px;
    width: 76px;
    height: 92px;
    object-fit: contain;
    background: #0b1730;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 8px;
    padding: 3px;
}

.sskit-bump-details {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.sskit-bump-details strong {
    color: var(--ss-white);
    font-size: 13px;
    line-height: 1.45;
}

.sskit-bump-details small {
    color: var(--ss-muted);
    font-size: 11px;
    line-height: 1.5;
}

.sskit-bump-price {
    color: var(--ss-gold);
    font-size: 17px;
    font-weight: 800;
    white-space: nowrap;
}

/* =====================================================
   PAYMENT AREA
===================================================== */

.sskit-new-checkout #payment {
    background: rgba(72,186,255,.055) !important;
    border: 1px solid rgba(72,186,255,.22) !important;
    border-radius: 13px !important;
    padding: 18px !important;
    margin-top: 20px !important;
}

.sskit-new-checkout #payment ul.payment_methods {
    border-bottom: 1px solid rgba(255,255,255,.12) !important;
    padding: 0 0 14px !important;
    margin: 0 0 14px !important;
}

.sskit-new-checkout #payment ul.payment_methods li {
    color: var(--ss-white);
    font-size: 13px;
}

.sskit-new-checkout #payment .payment_box {
    color: #dce8ff !important;
    background: #172747 !important;
    border-radius: 9px !important;
    font-size: 12px;
}

.sskit-new-checkout #payment .payment_box::before {
    border-bottom-color: #172747 !important;
}

.sskit-new-checkout #payment .place-order {
    padding: 10px 0 0 !important;
    margin: 0 !important;
}

.sskit-new-checkout #payment .place-order button#place_order {
    width: 100% !important;
    min-height: 57px;
    border: 0 !important;
    border-radius: 11px !important;
    background: linear-gradient(100deg, #188df4, #7255f5) !important;
    color: #fff !important;
    font-size: 16px !important;
    font-weight: 800 !important;
    letter-spacing: .3px;
    padding: 14px 20px !important;
    box-shadow: 0 8px 25px rgba(55,116,255,.30);
    transition: transform .2s, box-shadow .2s;
}

.sskit-new-checkout #payment .place-order button#place_order:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(55,116,255,.42);
}

/* Terms and privacy */

.sskit-new-checkout #payment .woocommerce-terms-and-conditions-wrapper,
.sskit-new-checkout #payment .woocommerce-privacy-policy-text {
    color: var(--ss-muted);
    font-size: 11px;
    line-height: 1.6;
}

.sskit-new-checkout #payment a {
    color: var(--ss-blue);
}

/* Notices and validation */

.sskit-new-checkout .woocommerce-error,
.sskit-new-checkout .woocommerce-info,
.sskit-new-checkout .woocommerce-message {
    background: #172747 !important;
    color: var(--ss-white) !important;
    border-top-color: var(--ss-blue) !important;
    border-radius: 9px;
    font-size: 13px;
}

.sskit-new-checkout .woocommerce-error li {
    color: var(--ss-white);
}

/* =====================================================
   FOOTER TRUST STRIP
===================================================== */

.sskit-checkout-footer {
    width: 100%;
    max-width: 1160px;
    margin: 42px auto 0;
    padding: 25px 10px 0;
    border-top: 1px solid rgba(255,255,255,.10);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    text-align: center;
}

.sskit-footer-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.sskit-footer-item span {
    font-size: 22px;
    margin-bottom: 3px;
}

.sskit-footer-item strong {
    color: var(--ss-white);
    font-size: 12px;
    font-weight: 700;
}

.sskit-footer-item small {
    color: var(--ss-muted);
    font-size: 10px;
    line-height: 1.5;
}

/* =====================================================
   WOOCOMMERCE LOADING / UPDATE STATE
===================================================== */

.sskit-new-checkout .blockUI.blockOverlay {
    background: rgba(8,15,36,.65) !important;
}

.sskit-new-checkout .woocommerce-checkout-review-order {
    transition: opacity .2s;
}

/* =====================================================
   TABLET
===================================================== */

@media (max-width: 900px) {

    .sskit-new-checkout form.woocommerce-checkout {
        grid-template-columns: minmax(0, 1fr);
        gap: 20px;
    }

    .sskit-new-checkout #customer_details {
        grid-column: 1;
        grid-row: 1;
    }

    .sskit-new-checkout #order_review {
        grid-column: 1;
        grid-row: 3;
        position: static;
    }

    .sskit-bumps-section {
        grid-column: 1;
        grid-row: 2;
    }

    .sskit-checkout-header,
    .sskit-checkout-hero,
    .sskit-checkout-layout,
    .sskit-checkout-footer {
        max-width: 720px;
    }

}

/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 600px) {

    .sskit-new-checkout {
        padding: 22px 13px 32px;
    }

    .sskit-checkout-header {
        margin-bottom: 34px;
        align-items: center;
        gap: 12px;
    }

    .sskit-checkout-brand {
        gap: 9px;
    }

    .sskit-checkout-logo {
        width: 112px;
        height: 46px;
    }

    .sskit-brand-tagline {
        font-size: 9px;
        padding-left: 9px;
    }

    .sskit-secure-label {
        font-size: 10px;
        padding: 8px 10px;
    }

    .sskit-checkout-hero {
        margin-bottom: 27px;
    }

    .sskit-eyebrow {
        font-size: 9px;
        letter-spacing: 1.5px;
    }

    .sskit-checkout-hero h1 {
        font-size: 33px;
    }

    .sskit-checkout-hero > p:last-child {
        font-size: 13px;
    }

    .sskit-new-checkout #customer_details .woocommerce-billing-fields,
    .sskit-new-checkout #order_review,
    .sskit-bumps-section {
        padding: 19px 15px;
        border-radius: 14px;
    }

    .sskit-new-checkout #customer_details .woocommerce-billing-fields h3 {
        font-size: 19px;
    }

    .sskit-new-checkout input.input-text,
    .sskit-new-checkout input[type="email"],
    .sskit-new-checkout input[type="tel"] {
        height: 49px;
        font-size: 13px !important;
    }

    .sskit-bump-card {
        gap: 9px;
        padding: 10px;
    }

    .sskit-bump-card img {
        flex-basis: 59px;
        width: 59px;
        height: 76px;
    }

    .sskit-bump-checkbox {
        flex-basis: 17px;
        width: 17px !important;
        height: 17px !important;
    }

    .sskit-bump-details strong {
        font-size: 11px;
    }

    .sskit-bump-details small {
        font-size: 10px;
    }

    .sskit-bump-price {
        font-size: 14px;
    }

    .sskit-main-product-card img {
        width: 78px;
        height: 82px;
    }

    .sskit-main-product-info strong {
        font-size: 12px;
    }

    .sskit-new-checkout table.shop_table th,
    .sskit-new-checkout table.shop_table td {
        font-size: 11px;
    }

    .sskit-new-checkout table.shop_table tfoot .order-total .amount {
        font-size: 23px;
    }

    .sskit-new-checkout #payment {
        padding: 13px !important;
    }

    .sskit-new-checkout #payment .place-order button#place_order {
        min-height: 53px;
        font-size: 14px !important;
    }

    .sskit-checkout-footer {
        grid-template-columns: repeat(2, 1fr);
        gap: 23px 12px;
        margin-top: 30px;
        padding-top: 22px;
    }

    .sskit-footer-item strong {
        font-size: 11px;
    }

}

/* =====================================================
   SMALL MOBILE
===================================================== */

@media (max-width: 380px) {

    .sskit-checkout-logo {
        width: 95px;
    }

    .sskit-brand-tagline {
        font-size: 8px;
    }

    .sskit-secure-label {
        font-size: 9px;
        padding: 7px 8px;
    }

    .sskit-bump-card {
        gap: 7px;
        padding: 8px;
    }

    .sskit-bump-card img {
        flex-basis: 50px;
        width: 50px;
        height: 68px;
    }

    .sskit-bump-details strong {
        font-size: 10px;
    }

    .sskit-bump-price {
        font-size: 12px;
    }

}
/* Fix WooCommerce order table header */
.sskit-new-checkout .woocommerce-checkout-review-order-table thead,
.sskit-new-checkout .woocommerce-checkout-review-order-table thead tr,
.sskit-new-checkout .woocommerce-checkout-review-order-table th {
    background: #142746 !important;
    color: #ffffff !important;
    border-color: #29476d !important;
}

.sskit-new-checkout .woocommerce-checkout-review-order-table th {
    padding: 14px 12px !important;
    font-weight: 600 !important;
}

.sskit-new-checkout .woocommerce-checkout-review-order-table {
    background: transparent !important;
    border-collapse: collapse !important;
}

.sskit-new-checkout .woocommerce-checkout-review-order-table th,
.sskit-new-checkout .woocommerce-checkout-review-order-table td {
    color: #eaf2ff !important;
}
/* Hide only the WordPress title on the new checkout page */
body.page-id-1876 header.entry-header {
    display: none !important;
}
/* Improve Billing Details heading visibility */
.sskit-new-checkout .woocommerce-billing-fields > h3 {
    color: #35BFFF !important;
    font-size: 20px !important;
    font-weight: 700 !important;
    letter-spacing: 0.5px;
    border-bottom: 1px solid #29476D;
    padding-bottom: 14px;
}
/* Improve Razorpay payment label visibility */
.sskit-new-checkout #payment
.payment_method_razorpay > label {
    color: #FFFFFF !important;
    font-weight: 700 !important;
    font-size: 15px !important;
}

/* Improve Razorpay payment description */
.sskit-new-checkout
.payment_method_razorpay .payment_box {
    color: #EAF2FF !important;
    background: #142746 !important;
}
/* Razorpay - additional secure payment label */
.sskit-new-checkout #payment
.payment_method_razorpay > label::after {
    content: "🔒 Secure Payment via Razorpay";
    display: block;
    color: #FFFFFF;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.3px;
    margin-top: 8px;
    margin-left: 30px;
    line-height: 1.5;
}

/* Cyan accent for payment security text */
.sskit-new-checkout #payment
.payment_method_razorpay > label::after {
    text-shadow: 0 0 8px rgba(53, 191, 255, 0.25);
}
/* Bright orange study booster heading */
.sskit-new-checkout .sskit-section-heading h3 {
    color: #FF9D24 !important;
    font-size: 21px !important;
    font-weight: 800 !important;
    text-shadow: 0 0 10px rgba(255, 157, 36, 0.30);
}


/* =========================================
   AUTOMATIC ORANGE STUDY BOOSTER GLOW
========================================= */

/* Remove mouse zoom effect */
.sskit-new-checkout .sskit-bump-card:hover {
    transform: none !important;
}

/* Smooth transitions */
.sskit-new-checkout .sskit-bump-card {
    animation: sskitOrangePulse 3s ease-in-out infinite;
    transition: border-color 0.3s ease, background 0.3s ease;
}

/* Alternate the glow between the two cards */
.sskit-new-checkout .sskit-bump-card:nth-of-type(2) {
    animation-delay: 1.5s;
}

/* Automatic orange glow */
@keyframes sskitOrangePulse {
    0%, 100% {
        border-color: #31558A;
        box-shadow: 0 0 0 rgba(255, 157, 36, 0);
    }

    40% {
        border-color: #FF9D24;
        box-shadow:
            0 0 8px rgba(255, 157, 36, 0.35),
            0 0 18px rgba(255, 157, 36, 0.18);
    }

    60% {
        border-color: #FFB347;
        box-shadow:
            0 0 14px rgba(255, 157, 36, 0.5),
            0 0 25px rgba(255, 157, 36, 0.25);
    }
}

/* Keep selected cards visibly highlighted */
.sskit-new-checkout .sskit-bump-card:has(.sskit-bump-checkbox:checked) {
    border-color: #35BFFF;
    box-shadow: 0 0 15px rgba(53, 191, 255, 0.3);
}

/* Respect reduced-motion preferences */
@media (prefers-reduced-motion: reduce) {
    .sskit-new-checkout .sskit-bump-card {
        animation: none !important;
    }
}


/* =========================================
   RAZORPAY TRUST CARD - COMPACT FIX
========================================= */

.sskit-new-checkout .sskit-razorpay-trust-card {
    display: block !important;
    width: 100% !important;
    min-height: 0 !important;
    height: auto !important;
    box-sizing: border-box !important;
    background: #FFFFFF !important;
    border: 2px solid #2688E8 !important;
    border-radius: 13px !important;
    padding: 16px 14px !important;
margin: 8px 0 0 !important;
    box-shadow: 0 5px 18px rgba(38, 136, 232, 0.12);
}

.sskit-new-checkout .sskit-razorpay-logo-panel {
    display: block !important;
    text-align: center !important;
    padding: 0 !important;
}

.sskit-new-checkout .sskit-razorpay-trust-logo {
    display: block !important;
    width: 110px !important;
    height: 32px !important;
    max-width: 110px !important;
    object-fit: contain !important;
    margin: 0 auto 5px !important;
}

.sskit-new-checkout .sskit-razorpay-logo-panel h3 {
    color: #123B70 !important;
    font-size: 15px !important;
    font-weight: 800 !important;
    line-height: 1.4 !important;
    margin: 3px 0 !important;
}

.sskit-new-checkout .sskit-razorpay-logo-panel p {
    color: #475569 !important;
    font-size: 11px !important;
    line-height: 1.4 !important;
    margin: 0 !important;
}

@media (max-width: 767px) {
    .sskit-new-checkout .sskit-razorpay-trust-card {
        margin-top: 10px !important;
    }
}

/* =====================================================
   FINAL CHECKOUT COLUMN ALIGNMENT
   Desktop: align payment panel with study boosters
===================================================== */

@media (min-width: 901px) {

    /* Main WooCommerce checkout grid */
    .sskit-new-checkout form.woocommerce-checkout {
        display: grid !important;
        grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr) !important;
        grid-template-rows: auto auto !important;
        column-gap: 25px !important;
        row-gap: 25px !important;
        align-items: stretch !important;
    }

    /* Contact details - left, first row */
    .sskit-new-checkout #customer_details {
        grid-column: 1 !important;
        grid-row: 1 !important;
        align-self: start !important;
    }

    /* Study boosters - left, second row */
    .sskit-new-checkout .sskit-bumps-section {
        grid-column: 1 !important;
        grid-row: 2 !important;
        margin-top: 0 !important;
        margin-bottom: 0 !important;
        align-self: stretch !important;
    }

    /* Main order and payment panel - right, both rows */
    .sskit-new-checkout #order_review {
        grid-column: 2 !important;
        grid-row: 1 / span 2 !important;
        position: relative !important;
        top: auto !important;
        align-self: stretch !important;
        height: auto !important;
        min-width: 0 !important;
        box-sizing: border-box !important;

        display: flex !important;
        flex-direction: column !important;
    }

    /* Keep payment section at the bottom of the panel */
    .sskit-new-checkout #payment {
        margin-top: auto !important;
    }

    /* Razorpay trust card below Place Order */
    .sskit-new-checkout .sskit-razorpay-trust-card {
        width: 100% !important;
        height: auto !important;
        min-height: 105px !important;
        box-sizing: border-box !important;
        margin: 10px 0 0 !important;
        padding: 16px 14px !important;
    }
}

/* =====================================================
   TABLET AND MOBILE - NORMAL STACKED LAYOUT
===================================================== */

@media (max-width: 900px) {

    .sskit-new-checkout form.woocommerce-checkout {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) !important;
        grid-template-rows: auto !important;
        gap: 20px !important;
        align-items: start !important;
    }

    .sskit-new-checkout #customer_details {
        grid-column: 1 !important;
        grid-row: 1 !important;
    }

    .sskit-new-checkout .sskit-bumps-section {
        grid-column: 1 !important;
        grid-row: 2 !important;
        margin-top: 0 !important;
    }

    .sskit-new-checkout #order_review {
        grid-column: 1 !important;
        grid-row: 3 !important;
        position: static !important;
        display: block !important;
        height: auto !important;
    }

    .sskit-new-checkout #payment {
        margin-top: 20px !important;
    }

    .sskit-new-checkout .sskit-razorpay-trust-card {
        min-height: 105px !important;
        margin-top: 10px !important;
    }
}

/* =========================================
   FINAL PAYMENT SPACING AND RAZORPAY CARD
========================================= */

/* Remove the large empty gap above payment methods */
@media (min-width: 901px) {

    .sskit-new-checkout #payment {
        margin-top: 18px !important;
        flex: 0 0 auto !important;
        align-self: stretch !important;
    }

}

/* Keep normal spacing on tablet and mobile */
@media (max-width: 900px) {

    .sskit-new-checkout #payment {
        margin-top: 20px !important;
    }

}

/* Expand the white Razorpay trust card */
.sskit-new-checkout .sskit-razorpay-trust-card {
    display: block !important;
    width: 100% !important;
    min-height: 145px !important;
    height: auto !important;
    padding: 24px 18px !important;
    margin: 12px 0 0 !important;
    box-sizing: border-box !important;
}

/* Increase Razorpay logo size */
.sskit-new-checkout .sskit-razorpay-trust-logo {
    width: 125px !important;
    max-width: 125px !important;
    height: 38px !important;
    margin: 0 auto 9px !important;
}

/* Improve trust card heading */
.sskit-new-checkout .sskit-razorpay-logo-panel h3 {
    font-size: 17px !important;
    line-height: 1.5 !important;
    margin: 7px 0 !important;
}

/* Improve trust card description */
.sskit-new-checkout .sskit-razorpay-logo-panel p {
    font-size: 12px !important;
    line-height: 1.6 !important;
    margin: 4px 0 0 !important;
}
