.mes-hero {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.mes-hero-content {
    height: 250px;
    grid-template-columns: 1fr .7fr;
    display: grid;
    background: #010c3a;
}

.mes-hero-content-left-box {
    background: transparent;
    position: relative;
    width: auto;
    padding: 0px;
    bottom: unset;
    right: unset;
    height: unset;
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
}

.mes-hero-content-left {
    background-image: url('../../vectors/hbg_subbanner.png');
    padding: 1rem 0rem 1rem 6rem;
    display: flex;
    background-size: 140%;
    background-position: 90% top;
}

.mes-hero-content-left-box .breadcrumb-nav {
    padding: 0px;
}

.mes-hero-content-left-box .section-title {
    letter-spacing: .2px;
}

.mes-hero-content-right {
    overflow: hidden;
    position: relative;
    height: 100%;
    width: 125%;
}

.mes-hero-content-right img {
    object-position: 0% 45%;
    width: 81%;
    height: 100%;
    object-fit: cover;
    margin-top: 0;
}

.breadcrumb-nav .breadcrumb-item a {
    color: var(--text-white) !important;
    opacity: .5;
    font-size: 14px;
}

.breadcrumb-item+.breadcrumb-item::before {
    font-size: 14px;
    color: var(--cream);
}

.breadcrumb-nav .breadcrumb-item.active {
    color: var(--text-white);
    font-size: 14px;
    opacity: 1;
}

.cart-panel {
    background: var(--cream);
    border-radius: 8px;
    box-shadow: var(--sh-sm);
    overflow: hidden;
    border: 1px solid var(--border);
}

.cart-count {
    font-size: 16px;
    font-weight: 600;
    margin-top: 5px;
}

.cart-item {
    padding: 15px;
    transition: background .15s;
    border-bottom: 1px solid var(--border);
    display: grid;
    grid-template-columns: .3fr 1fr .4fr .4fr .1fr;
    gap: 22px;
    align-items: center;
}

.cart-item .book-img img {
    width: 100px;
    border-radius: 8px;
}

.cart-item:last-child {
    border-bottom: none;
}

.cart-item.subscription {
    background: var(--cream);
    color: #000000;
}

.cart-item:not(.subscription):hover {
    background: #FAFAF8;
}

.sub-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 600;
    background: var(--gold3);
    color: #ffffff;
    border-radius: 6px;
    padding: 4px 10px;
    letter-spacing: 1px;
    margin-bottom: 6px;
    text-transform: uppercase;
}

.item-name {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 3px;
}

.item-price {
    font-size: 14px;
    font-weight: 600;
    color: var(--orange-deep);
}

.cart-item.subscription .item-name {
    color: var(--text);
}

.cart-item.subscription .item-price {
    color: var(--text3);
}

.cart-item.subscription .item-price i {
    font-size: 12px;
}

.cart-item.subscription .item-total i {
    font-size: 14px;
}


/* qty pill */
.qty-pill {
    display: inline-flex;
    align-items: center;
    border: 1.5px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
}

.qty-pill button {
    width: 36px;
    height: 38px;
    border: none;
    background: transparent;
    font-size: 16px;
    font-weight: 700;
    color: var(--text-black);
    cursor: pointer;
}

.qty-pill input {
    width: 44px;
    text-align: center;
    border: none;
    border-left: 1.5px solid var(--border);
    border-right: 1.5px solid var(--border);
    font-size: 14px;
    font-weight: 700;
    height: 38px;
    background: transparent;
    color: var(--text2);
}

.qty-pill input:focus {
    outline: none;
}

.issues-badge {
    background: var(--blue);
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-white);
    padding: 6px 18px;
    white-space: nowrap;
}

.item-total {
    font-size: 16px;
    font-weight: 700;
    color: var(--text2);
    text-align: right;
    white-space: nowrap;
}

.cart-item.subscription .item-total {
    color: var(--text2);
}


.del-btn {
    width: 36px;
    height: 36px;
    border-radius: 9px;
    border: 1.5px solid var(--border);
    background: rgba(255, 255, 255, .25);
    color: var(--text2);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 15px;
    transition: background .15s;
    flex-shrink: 0;
}

.del-btn:hover {
    background: var(--white);
    color: var(--text2);
}

.cart-item:not(.subscription) .del-btn:hover {
    background: #FDECEA;
    color: #D32F2F;
    border-color: #F5C6C2;
}

/* book illustrations */
.book-illus {
    width: 58px;
    height: 74px;
    border-radius: 3px 8px 8px 3px;
    border-left: 6px solid rgba(0, 0, 0, .18);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.book-gold {
    background: linear-gradient(155deg, #D9C397, #B7975A);
}

.book-dark {
    background: linear-gradient(155deg, #3D4F6B, #1E2F4A);
}

.book-stack {
    position: relative;
    width: 68px;
    height: 70px;
    flex-shrink: 0;
}

.book-stack .s1,
.book-stack .s2,
.book-stack .s3 {
    position: absolute;
    width: 46px;
    height: 60px;
    border-radius: 2px 6px 6px 2px;
    border-left: 5px solid rgba(0, 0, 0, .15);
}

.book-stack .s1 {
    background: linear-gradient(155deg, #D9C397, #B79558);
    left: 0;
    top: 5px;
}

.book-stack .s2 {
    background: linear-gradient(155deg, #8BA4C0, #3E6090);
    left: 8px;
    top: 3px;
}

.book-stack .s3 {
    background: linear-gradient(155deg, #C0A575, #A07A3A);
    left: 16px;
    top: 0;
}

.trust-strip {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    margin-top: 24px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--text-blue);
}

.trust-item .ic {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    background: var(--gold);
    border: 1px solid var(--border2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.trust-item .ic i {
    color: var(--text-white);
    line-height: 2px;
    font-size: 15px;
}

.form-panel {
    background: var(--cream);
    border-radius: 8px;
    padding: 20px;
    border: 1px solid var(--border);
    box-shadow: var(--sh-sm);
    position: relative;
    margin-top: 70px;
}

.form-panel h5 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
}

/* membership toggle */
.member-toggle {
    display: flex;
    align-items: center;
    gap: 28px;
    background: #ffffff;
    border: 1px solid var(--border2);
    border-radius: 12px;
    padding: 13px 18px;
    margin-bottom: 20px;
}

.member-toggle .lbl {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-blue);
}

.radio-opt {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
}

.radio-opt input {
    width: 16px;
    height: 16px;
}

.member-hint {
    background: #EEF2FF;
    border: 1px solid #C7D2F8;
    border-radius: 11px;
    padding: 5px 14px;
    font-size: 13px;
    color: var(--text-blue);
    font-weight: 600;
    display: none;
    margin-bottom: 16px;
}

.addr-note {
    font-size: 12px;
    color: var(--text2);
    margin-top: 5px;
}

/* divider */
.form-divider {
    border: none;
    border-top: 1px solid var(--line);
    margin: 20px 0;
}

/* cart total bar */
.total-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
}

.total-bar .lbl {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-blue);
}

.total-bar .amt {
    font-size: 20px;
    font-weight: 600;
    color: var(--orange-deep);
}

.total-bar .amt i {
    font-size: 16px;
}

/* checkout button */
.checkout-btn {
    width: 100%;
    color: #fff;
    border: none;
    border-radius: 14px;
    font-size: 15.5px;
    font-weight: 600;
    display: flex;
    align-items: center;
    overflow: hidden;
    cursor: pointer;
    transition: background .18s;
    text-decoration: none;
    padding: 15px 0;
    background: transparent;
}

.checkout-btn form {
    width: 100%;
    border-radius: 8px;
}

.checkout-btn:hover {
    background: var(--navy-soft);
}

.checkout-btn .amt-side {
    background: var(--gold);
    padding: 15px 20px;
    font-size: 17px;
    font-weight: 600;
    white-space: nowrap;
    letter-spacing: 1px;
}

.checkout-btn .cta-side {
    flex: 1;
    display: flex;
    font-size: 16px;
    align-items: center;
    color: var(--text-white);
    background: var(--text-blue);
    justify-content: center;
    gap: 8px;
    padding: 15px 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.razorpay-payment-button {
    flex: 1;
    display: flex;
    font-size: 16px;
    align-items: center;
    color: var(--text-white);
    background: var(--text-blue);
    justify-content: center;
    gap: 8px;
    padding: 15px 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 0;
    font-weight: 700;
    width: 100%;
    border-radius: 8px;
}

.hb-pay-note {
    font-size: 12px;
    color: var(--text2);
    margin-top: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.hb-pay-note i {
    color: var(--gold);
    flex-shrink: 0;
    margin-top: 1px;
}

.dt-grid {
    background: var(--cream2);
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all .3s;
    position: relative;
}

.dt-grid:hover {
    transform: translateY(-3px);
    scale: 1.04;
}

.dt-grid .dt-grid-top {
    padding: 20px 15px 10px 15px;
    display: grid;
    grid-template-columns: 1fr .2fr;
    gap: 15px;
    height: 97px;
}

.dt-grid-top span:nth-child(1) {
    text-align: left;
    font-weight: 600;
    color: var(--text-blue);
    font-size: 16px;
}

.dt-grid-top span:nth-child(2) {
    text-align: right;
    color: var(--gold);
    font-weight: 600;
    font-size: 16px;
}

.dt-grid .dt-grid-top .dt-grid-top-l {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
}

.dt-grid .dt-grid-center .pub-body-price-box>p {
    font-size: 12px;
    text-transform: unset;
    padding: 0 15px;
    text-align: center;
    margin-bottom: 0;
    color: var(--gold);
}


.pub-body-price {
    padding: 0px 15px 5px 15px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 35px;
}

.pub-body-price-box {
    height: 70px;
}

.pub-body-price .price {
    color: var(--blue);
    font-weight: 700;
    font-size: 20px;
    line-height: normal;
}

.pub-body-price .mrp_price {
    font-weight: 700;
    font-size: 16px;
    text-decoration: line-through;
    color: var(--text3);
}

.pub-body-price .discount_rate {
    font-size: 10px;
    background: #e8f7ef;
    color: var(--text);
    padding: 0px 7px;
    border-radius: 20px;
    font-weight: 500;
    border: 1px solid var(--border);
}

.dt-grid .dt-grid-top .dt-grid-top-r span {
    font-size: 14px;
    color: var(--text2);
    padding-bottom: 0px;
}

.dt-grid .dt-grid-center {
    position: relative;
    padding: 15px 0px 40px 0px;
}

.dt-grid .dt-grid-center a {
    position: relative;
}

.dt-grid .dt-grid-center img {
    width: 75%;
    margin-left: auto;
    margin-right: auto;
    display: block;
    transition: all .3s;
    box-shadow: var(--sh-lg);
}

.dt-grid:hover .dt-grid-center a img {
    scale: 1.05;
}

.dt-grid .dt-grid-bottom {
    display: flex;
    gap: 10px;
    padding: 10px 15px 20px 15px;
    margin: 0;
    cursor: pointer;
    color: var(--gold);
    font-weight: 700;
    font-size: 14px;
    justify-content: space-between;
}

.dt-grid-bottom a:nth-child(1) {
    color: var(--gold);
    line-height: normal;
    width: max-content;
    text-align: left;
    border: 1px solid var(--gold);
    border-radius: 6px;
    transition: all .3s;
    padding: 3px 10px;
    box-shadow: var(--sh-sm);
}

.dt-grid-bottom a:nth-child(2) {
    color: var(--text-blue);
    line-height: normal;
    width: max-content;
    letter-spacing: .3px;
    text-align: right;
    transition: all .3s;
    border: 1px solid var(--text-blue);
    border-radius: 6px;
    padding: 3px 10px;
    box-shadow: var(--sh-sm);
}

.dt-grid-bottom>a:hover {
    box-shadow: var(--sh-md);
    transform: translateY(-3px);
}

.dt-grid-slider {
    background-color: var(--cream2);
}

.pub-body-price {
    padding: 0px 15px 5px 15px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 35px;
}

.hand-wishlist-btn {
    z-index: 1;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--cream);
    border: 1.5px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .08);
    position: absolute;
    top: 10px;
    right: 50px;
}

.mySwiper_recommanded_seller {
    padding: 15px 0;
}

.dt-grid:hover {
    scale: 1.02;
}

.hb_continue_shop_btn {
    font-size: 14px;
    font-weight: 700;
    color: var(--gold);
    text-decoration: none;
    border-bottom: 1px solid var(--gold3);
}

.nl-wrap {
    display: grid;
    grid-template-columns: 1fr 1px 1fr;
    background: var(--cream);
    border-radius: 15px;
    padding: 50px;
    align-items: center;
    gap: 0 56px;
}


.new_edition_tab {
    text-align: right !important;
    text-transform: uppercase;
    color: var(--gold) !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    font-style: italic;
    letter-spacing: .5px;
}

.nl-fine {
    margin-bottom: 0px;
}

.cart-item-empty {
    grid-template-columns: 1fr !important;
}

.mem_spinner_button {
    display: none;
}

.qty-pill-checkout {
    display: inline-flex;
    align-items: center;
    border: 1.5px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    width: max-content;
    margin-left: auto;
    margin-right: auto;
    justify-content: center;
}

.qty-pill-checkout span {
    width: 44px;
    text-align: center;
    border: none;
    border-left: 1.5px solid var(--border);
    border-right: 1.5px solid var(--border);
    font-size: 14px;
    font-weight: 700;
    height: 38px;
    background: transparent;
    opacity: .8;
    color: var(--text2);
    display: flex;
    align-items: center;
    justify-content: center;
}

.summary-card {
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 20px;
    position: relative;
    margin-top: 70px;
}

.summary-card h5 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
}

/* address block */
.addr-block {
    background: var(--cream2);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 16px 18px;
    margin-bottom: 22px;
}

.addr-block .name {
    font-size: 14px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 5px;
}

.addr-block i {
    width: 15px;
    color: var(--gold);
}

.addr-meta {
    font-size: 14px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 5px;
}

.addr-meta i {
    flex-shrink: 0;
    margin-top: 2px;
}

.edit-addr {
    font-size: 14px;
    font-weight: 700;
    color: var(--gold);
    text-decoration: none;
}

.edit-addr:hover {
    text-decoration: underline;
}

/* totals table */
.total-row {
    display: grid;
    justify-content: space-around;
    align-items: center;
    font-size: 14.5px;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
    grid-template-columns: 1fr .5fr;
}

.total-row:last-of-type {
    border-bottom: none;
}

.total-row .lbl {
    color: var(--text-blue);
    font-weight: 600;
    font-size: 16px;
}

.total-row .val {
    font-weight: 600;
    font-size: 16px;
    text-align: right;
    color: var(--gold);
}

.total-row .val i {
    font-size: 13px;
}

.total-row.grand {
    font-size: 17px;
    padding-top: 14px;
}

.total-row.grand .lbl {
    color: var(--text-blue);
    font-weight: 700;
    font-size: 20px;
}

.total-row.grand .val {
    color: var(--text-blue);
    font-size: 20px;
    font-weight: 700;
}

.free-tag {
    color: var(--gold);
    font-weight: 700;
}

/* warning banner */
.warn-banner {
    background: var(--cream2);
    border: 1.5px solid var(--border);
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-blue);
    padding: 11px 14px;
    margin: 16px 0;
    line-height: 1.45;
}

/* promo section */
.promo-label {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-blue);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.promo-label i {
    margin-top: 4px;
}

.promo-row {
    display: flex;
    gap: 8px;
}

.promo-input {
    flex: 1;
    border: 1.5px solid var(--border);
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 14px;
    color: var(--text-blue);
    font-family: 'Inter', sans-serif;
    background: var(--cream);
}

.promo-input:focus {
    outline: none;
    border-color: var(--gold);
}

.promo-apply {
    background: var(--gold);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-weight: 700;
    font-size: 13.5px;
    padding: 10px 20px;
    cursor: pointer;
    transition: background .18s;
}

.promo-apply:hover {
    background: var(--gold);
}

/* offers */
.offers-head {
    font-size: 13px;
    font-weight: 700;
    color: var(--gold);
    margin: 18px 0 10px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.offer-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: var(--cream);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 12px 14px;
    margin-bottom: 8px;
    cursor: pointer;
    transition: border-color .15s;
}

.offer-row:hover {
    border-color: var(--gold);
}

.offer-row input[type=radio] {
    margin-top: 5px;
    flex-shrink: 0;
    height: 15px;
    width: 15px;
}

.offer-row .code {
    font-weight: 700;
    font-size: 14px;
    color: var(--text-blue);
}

.offer-row .detail {
    font-size: 12px;
    color: var(--text2);
    margin-top: 1px;
}

.offer-save {
    margin-left: auto;
    font-size: 11.5px;
    font-weight: 700;
    background: var(--text-white);
    color: var(--gold);
    padding: 3px 8px;
    border-radius: 99px;
    white-space: nowrap;
}

.promo-msg-discount {
    font-size: 12.5px;
    margin-top: 6px;
}

.coupon_message_sm {
    font-size: 12px;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: .6px;
    color: var(--text3);
    line-height: normal;
    display: block;
}

.cart-item-checkout {
    grid-template-columns: .3fr 1fr .4fr .4fr;
}

.membership_success_message,
#promo-msg-discount {
    font-size: 13px;
    color: red;
    display: block;
}

.removemem-button {
    font-weight: 600;
    font-size: 13px;
    background: var(--cream2);
    padding: 2px 8px;
    color: var(--text);
    letter-spacing: .3px;
    line-height: normal;
}

.removemem-button i {
    font-size: 10px;
}

.removemem-button:hover {
    background: var(--gold3);
    color: var(--white);
}


.cart_heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

@media only screen and (min-width: 1551px) and (max-width: 1930px) {}

@media only screen and (min-width: 1300px) and (max-width: 1550px) {}

@media only screen and (min-width: 1340px) and (max-width: 1518px) {
    .sub-badge {
        font-size: 10px;
    }

    .dt-grid .dt-grid-top {
        height: auto;
    }

    .checkout-btn .amt-side {
        font-size: 16px;
    }
}

@media only screen and (min-width: 1025px) and (max-width: 1299px) {}

@media only screen and (min-width: 769px) and (max-width: 1024px) {

    .member-toggle .lbl,
    .radio-opt,
    #custdetails .form-label,
    #custdetails .form-control,
    #custdetails .form-select,
    .dt-grid-top span:nth-child(1) {
        font-size: 14px;
    }

    #custdetails .form-label {
        margin-bottom: 3px;
    }

    .pub-body-price .price {
        font-size: 16px;
    }

    .mes-hero-content-left {
        padding: 1rem 0rem 1rem 3rem !important;
    }

}

@media only screen and (max-width: 768px) {

    .checkout-btn .amt-side {
        font-size: 16px;
    }
}

@media only screen and (max-width: 540px) {
    .cart_heading {
        gap: 1rem;
    }

    .hb_continue_shop_btn {
        font-size: 10px;
    }

    .cart-item {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
        gap: 12px;
    }

    .item-name {
        font-size: 14px;
    }

    .dt-grid .dt-grid-center img {
        width: 55%;
    }

    .cart-item .book-img img {
        width: 70px;
    }

    .qty-pill-checkout {
        width: auto;
        margin-left: unset;
    }

    .total-row.grand .val {
        font-size: 18px;
    }

    .removemem-button {
        text-align: left;
    }

}