﻿:root {
    --navy: #1F3A5C;
    --navy-deep: #152840;
    --paper: #F1F3F6;
    --card: #FFFFFF;
    --line: #DADFE3;
    --ink: #1B1F27;
    --ink-soft: #5B6472;
    --amber: #E8A33D;
    --amber-deep: #B87A1F;
    --green: #3F8361;
    --green-bg: #E7F2EC;
    --tab-pencils: #E8A33D;
    --tab-erasers: #D97757;
    --tab-notebooks: #2E8B7A;
    --tab-pens: #7B5EA7;
    --tab-other: #7C8896;
    --tab-books: #1F3A5C;
    --radius: 10px;
    --shadow: 0 1px 2px rgba(20,30,45,0.06), 0 6px 16px rgba(20,30,45,0.06);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Inter',sans-serif;
    background: var(--paper);
    color: var(--ink);
}

h1, h2, h3 {
    font-family: 'Fraunces',serif;
    font-weight: 600;
    margin: 0;
}

.mono {
    font-family: 'IBM Plex Mono',monospace;
}

button {
    font-family: 'Inter',sans-serif;
    cursor: pointer;
}

.screen {
    display: none;
    min-height: 100vh;
}

    .screen.active {
        display: block;
    }

.btn {
    border: none;
    border-radius: 8px;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 600;
    transition: transform .08s ease;
}

    .btn:active {
        transform: scale(0.98);
    }

.btn-primary {
    background: var(--amber);
    color: var(--navy-deep);
}

    .btn-primary:hover {
        background: var(--amber-deep);
        color: #fff;
    }

.btn-outline {
    background: transparent;
    border: 1.5px solid var(--navy);
    color: var(--navy);
}

    .btn-outline:hover {
        background: var(--navy);
        color: #fff;
    }

.btn-ghost {
    background: transparent;
    border: none;
    color: var(--navy);
    font-weight: 600;
    font-size: 13px;
}

input, select {
    width: 100%;
    padding: 11px 12px;
    border: 1.5px solid var(--line);
    border-radius: 8px;
    font-size: 14px;
    font-family: 'Inter',sans-serif;
    background: #fff;
    color: var(--ink);
}

    input:focus, select:focus {
        outline: none;
        border-color: var(--navy);
    }

label {
    display: block;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--ink-soft);
    margin-bottom: 6px;
}

/* ---------- LOGIN ---------- */
#screen-login {
    background: var(--navy-deep);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

    #screen-login.active {
        display: flex;
    }

.login-wrap {
    width: 100%;
    max-width: 380px;
}

.login-brand {
    text-align: center;
    margin-bottom: 28px;
}

    .login-brand .mark {
        width: 100px;
        height: 52px;
        border-radius: 12px;
        background: white;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto 14px;
        font-family: 'Fraunces',serif;
        font-weight: 600;
        font-size: 22px;
        color: var(--navy-deep);
    }

    .login-brand h1 {
        color: #fff;
        font-size: 22px;
    }

    .login-brand p {
        color: #9FB0C4;
        font-size: 13px;
        margin-top: 6px;
    }

.login-card {
    background: #fff;
    border-radius: 14px;
    padding: 28px 26px;
    box-shadow: var(--shadow);
}

.login-tabs {
    display: flex;
    background: var(--paper);
    border-radius: 8px;
    padding: 3px;
    margin-bottom: 20px;
}

.login-tab {
    flex: 1;
    text-align: center;
    padding: 8px;
    border: none;
    background: transparent;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--ink-soft);
}

    .login-tab.active {
        background: #fff;
        color: var(--navy);
        box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    }

.field {
    margin-bottom: 16px;
}

.login-foot {
    text-align: center;
    margin-top: 16px;
    font-size: 12.5px;
    color: var(--ink-soft);
}

.login-note {
    text-align: center;
    color: #7488A0;
    font-size: 12px;
    margin-top: 18px;
}

/* ---------- LEFT SIDE topbar---------- */

.topbar-left {
    display: flex;
    align-items: center;
    gap: 22px;
}

.topbar .header-link {
    color: #fff !important;
    text-decoration: none !important;
    font-size: 14px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 4px;
    transition: all 0.2s ease;
}

    .topbar .header-link i {
        font-size: 15px;
    }

    .topbar .header-link:hover {
        color: var(--amber) !important;
    }

        .topbar .header-link:hover i {
            color: var(--amber);
        }

/*---------------new navbar--------*/

/* New left section */ .new-header-left {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-right: auto;
}
/* New right section */

.new-header-right {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-left: auto;
}
/* Home / Help */

.new-header-link {
    color: #fff !important;
    text-decoration: none !important;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

    .new-header-link i {
        font-size: 14px;
    }

    .new-header-link:hover {
        color: var(--amber) !important;
    }
/* Username */

.new-user-greeting {
    color: #fff;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

    .new-user-greeting i {
        color: var(--amber);
        font-size: 15px;
    }

    .new-user-greeting strong {
        color: #fff;
        font-weight: 600;
    }


.new-language-dropdown {
    position: relative;
    display: inline-block;
}

.new-language-button {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff;
    border-radius: 20px;
    padding: 6px 10px;
    display: flex;
    align-items: center;
    gap: 7px;
    cursor: pointer;
}

.new-language-menu {
    display: none;
    position: absolute;
    right: 0;
    top: calc(100% + 5px);
    min-width: 140px;
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 9999;
    overflow: hidden;
}

    .new-language-menu a {
        display: flex;
        align-items: center;
        gap: 8px;
        padding: 8px 12px;
        color: #333;
        text-decoration: none;
    }

        .new-language-menu a:hover {
            background: #f5f5f5;
        }

.new-language-dropdown:hover .new-language-menu {
    display: block;
}

/* Login / Logout */

.new-header-action {
    color: #fff !important;
    text-decoration: none !important;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

    .new-header-action i {
        font-size: 14px;
    }

    .new-header-action:hover {
        color: var(--amber) !important;
    }
@media (max-width: 768px) {
    .new-header-left {
        gap: 10px;
    }

    .new-header-right {
        gap: 10px;
    }
    .new-cart-wrapper .cart-btn {
        font-size: 12px;
    }
    .new-header-link, .new-header-action, .new-user-greeting {
        font-size: 12px;
    }

        .new-header-link i, .new-header-action i, .new-user-greeting i {
            font-size: 13px;
        }
}

@media (max-width: 576px) {
    .new-header-left {
        gap: 8px;
    }

    .new-header-right {
        gap: 8px;
    }
    .new-cart-wrapper .cart-btn > span:not(.new-cart-icon):not(.cart-count) {
        display: none;
    }

    .new-cart-icon {
        font-size: 17px;
    }
    .new-header-link span, .new-header-action span, .new-user-greeting strong {
        display: none;
    }

    .new-header-link i, .new-header-action i, .new-user-greeting i {
        font-size: 16px;
    }
}

/* ---------- SHARED HEADER ---------- */
.topbar {
    background: var(--navy-deep);
    padding: 14px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 20;
}

    .topbar .brand {
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .topbar .mark {
        width: 77px;
        height: 40px;
        border-radius: 8px;
        /*background: var(--amber);*/
        display: flex;
        align-items: center;
        justify-content: center;
        font-family: 'Fraunces',serif;
        font-weight: 600;
        font-size: 14px;
        color: var(--navy-deep);
    }

    .topbar .brand-name {
        color: #fff;
        font-family: 'Fraunces',serif;
        font-size: 16px;
        font-weight: 600;
    }

    .topbar .right {
        display: flex;
        align-items: center;
        gap: 16px;
    }

.class-pill {
    background: rgba(255,255,255,0.1);
    color: #fff;
    font-size: 12.5px;
    padding: 6px 12px;
    border-radius: 20px;
    border: none;
    display: flex;
    align-items: center;
    gap: 6px;
}

.cart-btn {
    position: relative;
    background: transparent;
    border: none;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -10px;
    background: var(--amber);
    color: var(--navy-deep);
    font-size: 10.5px;
    font-weight: 700;
    min-width: 17px;
    height: 17px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
/* Cart wrapper */ .new-cart-wrapper {
    display: flex;
    align-items: center;
    position: relative;
}
    .new-cart-wrapper .cart-btn {
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        padding: 6px 4px;
        cursor: pointer;
    }
/* Cart icon */

.new-cart-icon {
    font-size: 15px;
    line-height: 1;
}
/* Existing cart-count is positioned relative to cart-btn */

.new-cart-wrapper .cart-count {
    top: -7px;
    right: -8px;
}

/* ---------- CATALOG ---------- */
.class-strip {
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 12px 24px;
    display: flex;
    gap: 8px;
    overflow-x: auto;
    position: sticky;
    top: 60px;
    z-index: 19;
}

.class-chip {
    white-space: nowrap;
    border: 1.5px solid var(--line);
    background: #fff;
    border-radius: 20px;
    padding: 7px 16px;
    font-size: 13px;
    font-weight: 600;
    color: var(--ink-soft);
}

    .class-chip.active {
        background: var(--navy);
        border-color: var(--navy);
        color: #fff;
    }

.cat-strip {
    background: var(--paper);
    padding: 14px 24px;
    display: flex;
    gap: 10px;
    overflow-x: auto;
    border-bottom: 1px solid var(--line);
}

.cat-chip {
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 8px 14px;
    font-size: 13px;
    font-weight: 600;
    color: var(--ink);
}

.cat-dot {
    width: 9px;
    height: 9px;
    border-radius: 2px;
    flex-shrink: 0;
}

.container {
    max-width: 1040px;
    margin: 0 auto;
    padding: 28px 24px 80px;
}

.section-head {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin: 36px 0 16px;
}

    .section-head:first-child {
        margin-top: 0;
    }

    .section-head h2 {
        font-size: 19px;
    }

.section-tab {
    width: 10px;
    height: 10px;
    border-radius: 2px;
}

.section-head .count {
    color: var(--ink-soft);
    font-size: 13px;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px,1fr));
    gap: 14px;
}

.card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 14px;
    display: flex;
    flex-direction: column;
}

    .card .thumb {
        width: 100%;
        aspect-ratio: 4/3;
        background: var(--paper);
        border-radius: 7px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 10px;
        font-size: 26px;
    }

    .card .title {
        font-size: 13.5px;
        font-weight: 600;
        margin-bottom: 2px;
        line-height: 1.35;
    }

    .card .price {
        font-size: 13px;
        color: var(--ink-soft);
        margin-bottom: 10px;
    }

        .card .price .mono {
            color: var(--ink);
        }

.add-btn {
    margin-top: auto;
    border-radius: 7px;
    padding: 9px;
    font-size: 12.5px;
    font-weight: 700;
    border: 1.5px solid var(--navy);
    background: #fff;
    color: var(--navy);
}

    .add-btn.added {
        background: var(--green-bg);
        border-color: var(--green);
        color: var(--green);
    }

.stepper {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1.5px solid var(--navy);
    border-radius: 7px;
    overflow: hidden;
}

    .stepper button {
        background: var(--navy);
        color: #fff;
        border: none;
        width: 30px;
        height: 32px;
        font-size: 15px;
        font-weight: 700;
    }

    .stepper span {
        font-size: 13px;
        font-weight: 700;
        font-family: 'IBM Plex Mono',monospace;
    }

/* floating cart summary bar */
.cart-bar {
    position: sticky;
    bottom: 16px;
    margin: 24px auto 0;
    max-width: 1040px;
    padding: 0 24px;
}

.cart-bar-inner {
    background: var(--navy-deep);
    border-radius: 12px;
    padding: 14px 20px;
    display: none;
    align-items: center;
    justify-content: space-between;
    box-shadow: var(--shadow);
}

    .cart-bar-inner.show {
        display: flex;
    }

    .cart-bar-inner .info {
        color: #fff;
        font-size: 13.5px;
    }

        .cart-bar-inner .info .mono {
            color: var(--amber);
            font-weight: 700;
            margin-left: 6px;
        }

/* ---------- CHECKOUT ---------- */
.page-head {
    padding: 24px 24px 0;
    max-width: 1040px;
    margin: 0 auto;
}

.breadcrumb {
    font-size: 12.5px;
    color: var(--ink-soft);
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 6px;
}

    .breadcrumb b {
        color: var(--ink);
        font-weight: 700;
    }

.steps {
    display: flex;
    gap: 8px;
    margin: 14px 0 26px;
}

.step {
    flex: 1;
    height: 4px;
    border-radius: 3px;
    background: var(--line);
}

    .step.done {
        background: var(--navy);
    }

.co-layout {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 24px;
    max-width: 1040px;
    margin: 0 auto;
    padding: 0 24px 80px;
    align-items: start;
}

@media(max-width:760px) {
    .co-layout {
        grid-template-columns: 1fr;
    }
}

.panel {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 22px;
}

    .panel + .panel {
        margin-top: 20px;
    }

    .panel h3 {
        font-size: 15px;
        margin-bottom: 16px;
    }

.row2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.line-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 9px 0;
    border-bottom: 1px solid var(--line);
    font-size: 13.5px;
}

    .line-item:last-of-type {
        border-bottom: none;
    }

    .line-item .sub {
        color: var(--ink-soft);
        font-size: 12px;
    }

.summary-row {
    display: flex;
    justify-content: space-between;
    font-size: 13.5px;
    padding: 6px 0;
    color: var(--ink-soft);
}

    .summary-row.total {
        color: var(--ink);
        font-weight: 700;
        font-size: 15px;
        border-top: 1px solid var(--line);
        margin-top: 8px;
        padding-top: 12px;
    }

.pay-methods {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 10px;
    margin-bottom: 16px;
}

.pay-opt {
    border: 1.5px solid var(--line);
    border-radius: 9px;
    padding: 14px 10px;
    text-align: center;
    background: #fff;
}

    .pay-opt .ic {
        font-size: 20px;
        margin-bottom: 6px;
    }

    .pay-opt .lbl {
        font-size: 12.5px;
        font-weight: 600;
    }

    .pay-opt.active {
        border-color: var(--navy);
        background: #EEF2F7;
    }

/* ---------- PAYMENT ---------- */
#screen-payment .container {
    max-width: 480px;
    padding-top: 48px;
}

.pay-card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 26px;
    box-shadow: var(--shadow);
}

.pay-total {
    text-align: center;
    padding: 18px 0 22px;
    border-bottom: 1px dashed var(--line);
    margin-bottom: 20px;
}

    .pay-total .amt {
        font-family: 'Fraunces',serif;
        font-size: 34px;
        font-weight: 600;
        color: var(--navy);
    }

    .pay-total .lbl {
        font-size: 12.5px;
        color: var(--ink-soft);
        margin-top: 2px;
    }

.upi-apps {
    display: flex;
    gap: 10px;
    margin: 14px 0 20px;
}

.upi-app {
    flex: 1;
    border: 1.5px solid var(--line);
    border-radius: 9px;
    padding: 12px 6px;
    text-align: center;
    font-size: 12px;
    font-weight: 600;
    background: #fff;
}

    .upi-app.active {
        border-color: var(--navy);
        background: #EEF2F7;
    }

.secure-note {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--ink-soft);
    justify-content: center;
    margin-top: 16px;
}

/* ---------- CONFIRMATION ---------- */
#screen-confirm .container {
    max-width: 460px;
    text-align: center;
    padding-top: 70px;
}

.confirm-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--green-bg);
    color: var(--green);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    margin: 0 auto 20px;
}

.confirm-card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 20px;
    margin-top: 24px;
    text-align: left;
}

/*----cart-popup--------*/
/* =========================================
   Cart Popup
   ========================================= */

.cart-popup {
    width: 100%;
    max-width: 520px;
    margin: 0 auto;
    background: #fff;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    box-sizing: border-box;
}

    /* Alerts */
    .cart-popup .alert {
        border-radius: 6px;
        margin-bottom: 15px;
        padding: 12px 15px;
        font-size: 14px;
    }

        .cart-popup .alert strong {
            font-weight: 600;
        }

/* Cart Summary */
.cart-summary {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 7px;
    padding: 12px 15px;
    margin-bottom: 15px;
    font-size: 14px;
}

    .cart-summary .badge {
        font-size: 13px;
        padding: 5px 9px;
        margin-left: 4px;
    }

/* Loading Overlay */
.cart-loading {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.75);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    color: #333;
    font-size: 14px;
}

    .cart-loading .spinner-border {
        width: 3rem;
        height: 3rem;
        margin-bottom: 8px;
    }

/* Final Total Section */
.cart-final-total {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: 10px 0 0;
    margin: 0;
}

    .cart-final-total hr {
        width: 100%;
        margin: 10px 0;
        border-top: 1px solid #eee;
    }

    .cart-final-total .cart-note {
        display: block;
        font-size: 12px;
        line-height: 1.5;
        margin-bottom: 12px;
        color: #dc3545;
        font-weight: bold;
    }

/* Checkout Button */
.cart-checkout-btn {
    width: 100%;
    border: 0;
    border-radius: 6px;
    padding: 11px 15px;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.2s ease;
}

    .cart-checkout-btn:not(:disabled):hover {
        transform: translateY(-1px);
        box-shadow: 0 4px 12px rgba(0, 123, 255, 0.25);
    }

    .cart-checkout-btn:disabled {
        cursor: not-allowed;
        opacity: 0.6;
    }


/* =========================================
   Bootstrap Modal
   ========================================= */

.cart-modal-dialog {
    max-width: 540px;
    margin: 1.75rem auto;
}

.cart-modal-content {
    border: 0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.cart-modal-header {
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
}

.cart-modal-body {
    padding: 20px;
}

.cart-modal-footer {
    padding: 12px 20px;
    border-top: 1px solid #eee;
}


/* =========================================
   Mobile Responsive
   ========================================= */

@media (max-width: 576px) {

    .cart-popup {
        max-width: 95%;
        padding: 15px;
        border-radius: 8px;
    }

        .cart-popup .alert {
            font-size: 13px;
            padding: 10px 12px;
        }

    .cart-summary {
        font-size: 13px;
        padding: 10px 12px;
    }

    .cart-checkout-btn {
        padding: 10px;
        font-size: 14px;
    }

    .cart-modal-dialog {
        width: calc(100% - 20px);
        margin: 10px auto;
    }

    .cart-modal-body {
        padding: 15px;
    }

    .cart-modal-header {
        padding: 12px 15px;
    }
}
/*---------title mousehove show full--------*/
/*.book-title {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    overflow-wrap: break-word;
    word-break: break-word;
    width: 100%;
    cursor: pointer;
    line-height: 1.4;
}

    .book-title:hover,
    .book-title.expanded {
        display: block;
        -webkit-line-clamp: unset;
        overflow: visible;
        white-space: normal;
    }*/

.book-title {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    width: 100%;
    cursor: pointer;
    line-height: 1.4;
    overflow-wrap: anywhere;
    word-break: normal;
}

    .book-title.expanded {
        display: block;
        -webkit-line-clamp: unset;
        overflow: visible;
        white-space: normal;
    }
/*-------shipping------------*/
.freeze-screen {
    opacity: .5;
    pointer-events: none;
    overflow: hidden;
}

/* Terms text uniform size */
#inlineTermsBody, #myModal .modal-body {
    font-size: 13px;
}

    #inlineTermsBody h3, #myModal .modal-body h3 {
        font-size: 13px;
        font-weight: 700;
        margin: 12px 0 6px;
    }

/* ===== Brand color ===== */
.bg-brand {
    background-color: #4dbdc6 !important;
}

.text-brand {
    color: #00695c !important; /* Updated to match new theme */
}

.text-on-brand {
    color: #0f172a !important;
}

.bg-soft {
    background-color: #f3fafb;
}

/* ===== EQUAL HEIGHT ROW ===== */
.row.equal-height {
    display: flex !important;
    flex-wrap: wrap;
}

    .row.equal-height > [class*="col-"] {
        display: flex;
        flex-direction: column;
    }

/* ===== Card styling ===== */
.checkout-card {
    background: #ffffff;
    border-radius: 16px; /* More curved radius */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border: 1px solid #d0d7de; /* Outer border */
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    height: 100%; /* Full height match */
}

/* Order Summary Card - specific styling */
.order-summary-card {
    border: 2px solid #e8e8e8 !important; /* Thicker border for order summary */
    border-radius: 16px !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.checkout-card-header {
    padding: 20px 24px;
    border-bottom: 1px solid #e8e8e8;
    flex-shrink: 0;
}

.checkout-card-body {
    padding: 24px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

/* ===== Order summary ===== */
.order-summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0;
    border-bottom: none !important; /* Line removed */
}

    .order-summary-item:last-child {
        border-bottom: none !important;
    }

.order-summary-label {
    font-size: 14px;
    color: #57606a;
    font-weight: 500;
}

.order-summary-value {
    font-size: 14px;
    color: #24292f;
    font-weight: 600;
}

.order-total {
    background: #f6f8fa;
    border-radius: 12px;
    padding: 16px;
    margin-top: 8px;
    border: 1px solid #e8e8e8;
}

.order-total-label {
    font-size: 16px;
    font-weight: 700;
    color: #24292f;
}

.order-total-value {
    font-size: 18px;
    font-weight: 700;
    color: #00695c;
}

/* ===== Badge ===== */
.badge-custom {
    background: #e8e8e8; /* Extra grey color */
    color: #57606a;
    padding: 6px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

/* ===== Checkout button container ===== */
.checkout-btn-container {
    margin-top: 20px;
    margin-bottom: auto; /* Pushes security badges to bottom if needed */
}

.btn-checkout {
    width: 100%;
    padding: 14px;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 45px; /* More curved button */
}

    .btn-checkout i {
        margin-right: 8px;
    }

/* ===== Brand button ===== */
.btn-brand {
    background-color: #00695c;
    border-color: #00695c;
    color: #ffffff;
    font-weight: 600;
    padding: 12px 24px;
    border-radius: 25px; /* More curved button */
    transition: all 0.3s ease;
}

    .btn-brand:hover, .btn-brand:focus, .btn-brand:active {
        background-color: #004d40;
        border-color: #004d40;
        color: #ffffff;
        transform: translateY(-1px);
        box-shadow: 0 4px 12px rgba(0, 105, 92, 0.3);
    }

/* ===== Security badges ===== */
.security-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    background: #f6f8fa;
    border-radius: 8px;
    margin-top: 16px;
    font-size: 13px;
    color: #57606a;
}

    .security-badge i {
        margin-right: 8px;
        color: #00695c;
    }

/* ===== Section title ===== */
.section-title {
    font-size: 18px;
    font-weight: 700;
    color: #24292f;
}
/* ===== Checkout button container ===== */
/* ===== Checkout button container ===== */
.checkout-btn-container {
    margin-top: 20px;
    margin-bottom: 8px;
}

.btn-checkout {
    width: 100%;
    padding: 14px;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px; /* Professional rounded corners */
}

    .btn-checkout i {
        margin-right: 8px;
    }

/* ===== Brand button ===== */
.btn-brand {
    background-color: #E8A33D; /* New Primary Color */
    border-color: #E8A33D;
    color: #ffffff;
    font-weight: 600;
    padding: 12px 24px;
    border-radius: 10px; /* Professional rounded corners */
    transition: all 0.3s ease;
}

    .btn-brand:hover, .btn-brand:focus, .btn-brand:active {
        background-color: #B87A1F; /* New Hover Color */
        border-color: #B87A1F;
        color: #ffffff;
        transform: translateY(-1px);
        box-shadow: 0 4px 12px rgba(232, 163, 61, 0.4); /* Matching shadow */
    }

/* ===== Security badges ===== */
.security-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    background: #f6f8fa;
    border-radius: 8px;
    margin-top: 8px; /* Reduced from 16px to 8px */
    font-size: 13px;
    color: #57606a;
}

    .security-badge i {
        margin-right: 8px;
        color: #00695c;
    }

/* Order summary details wrapper - greyish background */
.order-summary-details {
    background: #f6f8fa;
    border-radius: 12px;
    padding: 16px;
    border: 1px solid #e8e8e8;
    margin-bottom: 16px;
}

    .order-summary-details .order-summary-item {
        padding: 12px 0;
    }

    .order-summary-details .order-total {
        background: #ffffff;
        margin-top: 8px;
        border-radius: 8px;
        padding: 14px 16px;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
        border: 1px solid #e8e8e8;
    }

.order-total-label {
    font-size: 16px;
    font-weight: 700;
    color: #24292f;
}

.order-total-value {
    font-size: 18px;
    font-weight: 700;
    color: #00695c;
}
/* ===== Security badges ===== */
/* ===== Security badges ===== */
.security-badge {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start; /* Yeh ensure karta hai ki content left se start ho, center nahi hoga */
    padding: 10px 12px;
    background: transparent; /* Background color hata diya */
    border: 1px solid #e0e0e0; /* Light border add kar diya */
    border-radius: 8px;
    margin-top: 8px;
    font-size: 13px;
    color: #57606a;
    text-align: left;
    line-height: 1.4;
}

    .security-badge i {
        margin-right: 8px;
        color: #00695c;
        flex-shrink: 0; /* Icon ka size fix rahega */
        font-size: 16px;
        margin-top: 1px;
    }

    .security-badge span {
        display: block;
        text-align: left;
    }

/* ===== Privacy footer ===== */
.privacy-footer {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start; /* Yeh ensure karta hai ki content left se start ho */
    padding: 10px 12px;
    margin-top: 12px;
    font-size: 12px;
    color: #6a737d;
    text-align: left;
    line-height: 1.4;
    background: transparent; /* Background color hata diya */
    border: 1px solid #e0e0e0; /* Light border add kar diya */
    border-radius: 8px;
}

    .privacy-footer i {
        margin-right: 8px;
        color: #00695c;
        flex-shrink: 0;
        font-size: 16px;
        margin-top: 1px;
    }

    .privacy-footer span {
        display: block;
        text-align: left;
    }

/* ===== Order summary ===== */
.order-summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: none !important;
}

    .order-summary-item:last-child {
        border-bottom: none !important;
    }

.order-summary-label {
    font-size: 14px;
    color: #57606a;
    font-weight: 500;
    text-align: left;
}

.order-summary-value {
    font-size: 14px;
    color: #24292f;
    font-weight: 600;
    text-align: right;
    white-space: nowrap;
}

.order-total {
    background: #ffffff;
    border-radius: 8px;
    padding: 14px 16px;
    margin-top: 8px;
    border: 1px solid #e8e8e8;
}

.order-total-label {
    font-size: 16px;
    font-weight: 700;
    color: #24292f;
    text-align: left;
}

.order-total-value {
    font-size: 18px;
    font-weight: 700;
    color: #00695c;
    text-align: right;
    white-space: nowrap;
}

/* Order summary details wrapper - greyish background */
.order-summary-details {
    background: #f6f8fa;
    border-radius: 12px;
    padding: 16px;
    border: 1px solid #e8e8e8;
    margin-bottom: 16px;
}

    .order-summary-details .order-summary-item {
        padding: 12px 0;
    }

    .order-summary-details .order-total {
        background: #ffffff;
        margin-top: 8px;
        border-radius: 8px;
        padding: 14px 16px;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
        border: 1px solid #e8e8e8;
    }

