/* V5 corrections after direct PDF comparison. */

/* Custom keeps HOME, MY ACCOUNT and HOTLINE together on the left. */
.main_content_style .top-menu-13 .top-menu-item-6 {
    margin-left: 0 !important;
}

/* Keep the logo in the same visual box as the reference header. */
.main_content_style #logo img {
    width: 205px !important;
    max-width: 205px !important;
    height: 62px !important;
    max-height: 62px !important;
    object-fit: contain !important;
    object-position: left center !important;
}

/* Never show a red zero badge. */
.main_content_style #cart .count-badge.is-zero {
    display: none !important;
}

/* Keep the target green outline and fixed banner viewport. */
.main_content_style .module-master_slider-26 {
    border: 2px solid #00834c;
    box-sizing: border-box;
}
.main_content_style .module-master_slider-26 .master-slider,
.main_content_style .module-master_slider-26 .ms-container,
.main_content_style .module-master_slider-26 .ms-view,
.main_content_style .module-master_slider-26 .ms-slide {
    height: 300px !important;
}
.main_content_style .module-master_slider-26 .ms-slide img {
    width: 100% !important;
    height: 300px !important;
    object-fit: cover !important;
}

/* Journal's global .btn rules were collapsing/hiding the order text.
   These rules deliberately have higher specificity and load last. */
.main_content_style .module-products-169 .custom_order_form {
    display: flex !important;
    align-items: stretch !important;
    justify-content: center !important;
    width: 100% !important;
    min-height: 45px !important;
    margin: 0 !important;
}

.main_content_style .module-products-169 .product-grid
.product-thumb .extra-group .custom_order_button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    max-width: 175px !important;
    min-width: 175px !important;
    height: 45px !important;
    min-height: 45px !important;
    padding: 8px 10px !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background-image: radial-gradient(
        circle farthest-corner at -1% 57.5%,
        rgba(19, 170, 82, 1) 0%,
        rgba(0, 102, 43, 1) 90%
    ) !important;
    color: #ffffff !important;
    font-family: "Hind Siliguri", sans-serif !important;
    font-size: 20px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    text-align: center !important;
    text-transform: none !important;
    box-shadow: none !important;
    cursor: pointer !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.main_content_style .module-products-169 .product-grid
.product-thumb .extra-group .custom_order_button::before {
    display: none !important;
    content: none !important;
}

.main_content_style .module-products-169 .product-grid
.product-thumb .extra-group .custom_order_button .btn-text {
    display: inline-block !important;
    position: static !important;
    width: auto !important;
    height: auto !important;
    padding: 0 !important;
    margin: 0 !important;
    color: #ffffff !important;
    font-family: "Hind Siliguri", sans-serif !important;
    font-size: 20px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    opacity: 1 !important;
    visibility: visible !important;
    overflow: visible !important;
}

/* Restore the row height seen in the target PDF. */
.main_content_style .module-products-169 .product-thumb .extra-group {
    min-height: 50px !important;
    margin-top: 5px !important;
}
.main_content_style .module-products-169 .product-thumb .extra-group > div {
    min-height: 45px !important;
    display: flex !important;
    justify-content: center !important;
    align-items: stretch !important;
}

/* Desktop: exactly five products per row. */
@media (min-width: 761px) {
    .main_content_style .module-products-169 .product-grid .product-layout:not(.swiper-slide) {
        width: 20% !important;
    }
}

/* Mobile remains two products per row. */
@media (max-width: 760px) {
    .main_content_style #logo img {
        width: 165px !important;
        max-width: 165px !important;
        height: 48px !important;
        max-height: 48px !important;
    }

    .main_content_style .module-master_slider-26 .master-slider,
    .main_content_style .module-master_slider-26 .ms-container,
    .main_content_style .module-master_slider-26 .ms-view,
    .main_content_style .module-master_slider-26 .ms-slide,
    .main_content_style .module-master_slider-26 .ms-slide img {
        height: auto !important;
    }

    .main_content_style .module-products-169 .product-grid
    .product-thumb .extra-group .custom_order_button {
        min-width: 0 !important;
        max-width: 100% !important;
        height: 38px !important;
        min-height: 38px !important;
        padding: 6px 4px !important;
        font-size: 16px !important;
    }

    .main_content_style .module-products-169 .product-grid
    .product-thumb .extra-group .custom_order_button .btn-text {
        font-size: 16px !important;
    }
}



/* ================================
   V6 Mobile UX Fix
   Desktop layout remains unchanged.
   ================================ */

.custom_mobile_menu_btn,
.custom_mobile_overlay,
.custom_mobile_drawer,
.custom_mobile_quick_cats {
    display: none;
}

@media (max-width: 760px) {
    html.custom_exact_html,
    body.main_content_style {
        width: 100% !important;
        min-width: 0 !important;
        overflow-x: hidden !important;
        background: #eef4fb !important;
    }

    .main_content_style .site-wrapper {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        overflow-x: hidden !important;
        background: #eef4fb !important;
    }

    /* Top bar */
    .main_content_style .header-classic .top-bar {
        max-width: 100% !important;
        width: 100% !important;
        height: 36px !important;
        min-height: 36px !important;
        padding: 0 8px !important;
        background-image: linear-gradient(90deg, #0dae57 0%, #087572 100%) !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .main_content_style .top-menu-13 .j-menu {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 10px !important;
        width: auto !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .main_content_style .top-menu-13 .j-menu > li {
        margin: 0 !important;
        padding: 0 !important;
        width: auto !important;
        flex: 0 0 auto !important;
    }

    .main_content_style .top-menu-13 .j-menu > li > a {
        height: 36px !important;
        line-height: 36px !important;
        padding: 0 !important;
        font-size: 11px !important;
        font-weight: 700 !important;
        color: #ffffff !important;
        white-space: nowrap !important;
        text-transform: uppercase !important;
    }

    .main_content_style .top-menu-13 .top-menu-item-6 {
        display: none !important;
    }

    .main_content_style .top-menu-13 .top-menu-item-1 a::before {
        content: "\f015";
        font-family: FontAwesome;
        margin-right: 3px;
    }

    .main_content_style .top-menu-13 .top-menu-item-2 a::before {
        content: "\f007";
        font-family: FontAwesome;
        margin-right: 3px;
    }

    /* Main mobile header */
    .main_content_style .header-classic .mid-bar {
        width: 100% !important;
        max-width: 100% !important;
        min-height: 112px !important;
        padding: 8px 10px 10px !important;
        background: #ffffff !important;
        box-shadow: 0 2px 8px rgba(0, 0, 0, .06) !important;
        display: grid !important;
        grid-template-columns: 54px 1fr 54px !important;
        grid-template-rows: 50px 46px !important;
        column-gap: 8px !important;
        row-gap: 7px !important;
        align-items: center !important;
    }

    .custom_mobile_menu_btn {
        grid-column: 1 !important;
        grid-row: 1 !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        width: 48px !important;
        height: 48px !important;
        padding: 0 !important;
        border: 0 !important;
        background: transparent !important;
        color: #00a651 !important;
        font-family: "Hind Siliguri", sans-serif !important;
        font-weight: 700 !important;
        line-height: 1 !important;
        cursor: pointer !important;
    }

    .custom_mobile_menu_btn i {
        font-size: 26px !important;
        line-height: 24px !important;
        color: #00a651 !important;
    }

    .custom_mobile_menu_btn span {
        display: block !important;
        margin-top: 2px !important;
        font-size: 11px !important;
        color: #007544 !important;
        text-transform: uppercase !important;
    }

    .main_content_style .desktop-logo-wrapper {
        grid-column: 2 !important;
        grid-row: 1 !important;
        width: 100% !important;
        height: 50px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .main_content_style #logo {
        height: 50px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .main_content_style #logo img {
        width: auto !important;
        max-width: 180px !important;
        height: 48px !important;
        max-height: 48px !important;
        object-fit: contain !important;
        object-position: center !important;
    }

    .main_content_style .classic-cart-wrapper {
        grid-column: 3 !important;
        grid-row: 1 !important;
        width: 54px !important;
        height: 50px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .main_content_style .desktop-cart-wrapper,
    .main_content_style #cart {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 54px !important;
        height: 50px !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .main_content_style #cart .cart-heading {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 42px !important;
        height: 42px !important;
        padding: 0 !important;
        margin: 0 !important;
        background: transparent !important;
        position: relative !important;
    }

    .main_content_style #cart .fa-shopping-cart,
    .main_content_style #cart .fa-shopping-cart::before {
        font-size: 32px !important;
        color: #008a4c !important;
        line-height: 1 !important;
    }

    .main_content_style #cart .cart-label {
        display: none !important;
    }

    .main_content_style #cart .count-badge:not(.is-zero) {
        display: flex !important;
        position: absolute !important;
        top: 0 !important;
        right: -2px !important;
        min-width: 18px !important;
        height: 18px !important;
        padding: 0 4px !important;
        align-items: center !important;
        justify-content: center !important;
        background: #ed1c24 !important;
        color: #fff !important;
        border-radius: 50px !important;
        border: 2px solid #fff !important;
        font-size: 10px !important;
        font-weight: 700 !important;
        line-height: 1 !important;
    }

    .main_content_style .desktop-search-wrapper {
        grid-column: 1 / 4 !important;
        grid-row: 2 !important;
        display: block !important;
        width: 100% !important;
        height: 43px !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .main_content_style #search,
    .main_content_style #search .dropdown-menu,
    .main_content_style #search .header-search {
        display: flex !important;
        position: static !important;
        float: none !important;
        width: 100% !important;
        height: 43px !important;
        min-width: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;
        box-shadow: none !important;
        background: transparent !important;
        transform: none !important;
    }

    .main_content_style #search .search-trigger {
        display: none !important;
    }

    .main_content_style #search .search-input {
        flex: 1 1 auto !important;
        min-width: 0 !important;
        height: 43px !important;
        padding: 0 12px !important;
        border: 2px solid #009854 !important;
        border-right: 0 !important;
        border-radius: 0 !important;
        background: #ffffff !important;
        color: #222 !important;
        font-family: "Hind Siliguri", sans-serif !important;
        font-size: 14px !important;
        font-weight: 400 !important;
        outline: none !important;
        box-shadow: none !important;
    }

    .main_content_style #search .search-input::placeholder {
        color: #1c1c1c !important;
        opacity: .9 !important;
    }

    .main_content_style #search .search-button {
        flex: 0 0 44px !important;
        width: 44px !important;
        height: 43px !important;
        border: 0 !important;
        border-radius: 0 !important;
        background: #008b74 !important;
        color: #ffffff !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .main_content_style #search .search-button::before {
        content: "\f002";
        font-family: FontAwesome;
        font-size: 22px;
        color: #ffffff;
    }

    /* Hide desktop category/sidebar area on mobile and keep banner clean. */
    .main_content_style #top.top-row {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 10px 10px 0 !important;
        background: #eef4fb !important;
    }

    .main_content_style #top .grid-rows,
    .main_content_style #top .grid-row,
    .main_content_style #top .grid-cols {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .main_content_style #top .grid-col-top-1-1 {
        display: none !important;
    }

    .main_content_style #top .grid-col-top-1-2,
    .main_content_style #top .grid-col-top-1-2 .grid-items,
    .main_content_style #top .grid-col-top-1-2 .grid-item {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .main_content_style .module-master_slider-26 {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        margin: 0 0 10px !important;
        border: 2px solid #008a4c !important;
        border-radius: 2px !important;
        overflow: hidden !important;
        background: #ffffff !important;
    }

    .main_content_style .module-master_slider-26 .master-slider,
    .main_content_style .module-master_slider-26 .ms-container,
    .main_content_style .module-master_slider-26 .ms-view,
    .main_content_style .module-master_slider-26 .ms-slide,
    .main_content_style .module-master_slider-26 .ms-slide img {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        min-height: 130px !important;
        object-fit: cover !important;
    }

    /* Quick category row: main categories only, no sub-category. */
    .custom_mobile_quick_cats {
        display: flex !important;
        gap: 8px !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        padding: 8px 10px 10px !important;
        margin: 0 !important;
        background: #eef4fb !important;
        scrollbar-width: none !important;
    }

    .custom_mobile_quick_cats::-webkit-scrollbar {
        display: none !important;
    }

    .custom_mobile_quick_cats a {
        flex: 0 0 auto !important;
        display: flex !important;
        align-items: center !important;
        gap: 5px !important;
        min-height: 34px !important;
        padding: 7px 10px !important;
        border: 1px solid #d8e2e7 !important;
        border-radius: 9px !important;
        background: #ffffff !important;
        color: #1f2b34 !important;
        font-family: "Hind Siliguri", sans-serif !important;
        font-size: 13px !important;
        font-weight: 700 !important;
        text-decoration: none !important;
        box-shadow: 0 2px 5px rgba(0,0,0,.04) !important;
    }

    .custom_mobile_quick_cats a span {
        display: inline-flex !important;
        width: 15px !important;
        height: 15px !important;
        align-items: center !important;
        justify-content: center !important;
        background: #0ab35b !important;
        color: #ffffff !important;
        border-radius: 3px !important;
        font-size: 11px !important;
        line-height: 1 !important;
    }

    /* Product section */
    .main_content_style #bottom.bottom.top-row {
        background: #eef4fb !important;
        padding: 0 10px 18px !important;
        margin: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    .main_content_style #bottom .grid-rows,
    .main_content_style #bottom .grid-row,
    .main_content_style #bottom .grid-cols,
    .main_content_style #bottom .grid-col,
    .main_content_style #bottom .grid-items,
    .main_content_style #bottom .grid-item,
    .main_content_style .module-products-169,
    .main_content_style .module-products-169 .module-body,
    .main_content_style .module-products-169 .module-item {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .main_content_style .module-products-169 .module-title {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
        height: 55px !important;
        margin: 0 0 12px !important;
        padding: 0 !important;
        border-radius: 5px !important;
        background-image: radial-gradient(circle farthest-corner at 10% 20%, rgba(14,174,87,1) 0%, rgba(12,116,117,1) 90%) !important;
        color: #ffffff !important;
        font-family: "Hind Siliguri", sans-serif !important;
        font-size: 26px !important;
        font-weight: 700 !important;
        line-height: 1 !important;
        text-align: center !important;
    }

    .main_content_style .module-products-169 .module-title::after {
        content: "" !important;
        position: absolute !important;
        left: 50% !important;
        bottom: 9px !important;
        width: 70px !important;
        height: 1px !important;
        background: #ffcd08 !important;
        transform: translateX(-50%) !important;
    }

    .main_content_style .module-products-169 .product-grid {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 12px !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .main_content_style .module-products-169 .product-grid .product-layout,
    .main_content_style .module-products-169 .product-grid .product-layout:not(.swiper-slide) {
        float: none !important;
        display: block !important;
        width: auto !important;
        max-width: none !important;
        min-width: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .main_content_style .module-products-169 .product-thumb {
        display: flex !important;
        flex-direction: column !important;
        height: 100% !important;
        min-height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        border: 1px solid #e0e5e8 !important;
        border-radius: 5px !important;
        background: #ffffff !important;
        overflow: hidden !important;
        box-shadow: 0 1px 5px rgba(0,0,0,.04) !important;
    }

    .main_content_style .module-products-169 .product-thumb .image {
        display: block !important;
        position: relative !important;
        width: 100% !important;
        background: #ffffff !important;
        padding: 0 !important;
        overflow: hidden !important;
    }

    .main_content_style .module-products-169 .product-thumb .image > a,
    .main_content_style .module-products-169 .product-thumb .image > a > div {
        display: block !important;
        width: 100% !important;
        aspect-ratio: 1 / 1 !important;
        overflow: hidden !important;
        background: #ffffff !important;
    }

    .main_content_style .module-products-169 .product-thumb .image img {
        display: block !important;
        width: 100% !important;
        height: 100% !important;
        object-fit: contain !important;
        padding: 4px !important;
        margin: 0 !important;
        border-radius: 0 !important;
    }

    .main_content_style .module-products-169 .product-labels {
        position: absolute !important;
        top: 0 !important;
        right: 0 !important;
        z-index: 5 !important;
        width: 62px !important;
        height: 62px !important;
        overflow: hidden !important;
    }

    .main_content_style .module-products-169 .product-label-diagonal {
        display: block !important;
        position: absolute !important;
        top: 9px !important;
        right: -26px !important;
        width: 92px !important;
        height: 22px !important;
        transform: rotate(45deg) !important;
        background: #e60023 !important;
        color: #fff !important;
        text-align: center !important;
        border-radius: 0 !important;
    }

    .main_content_style .module-products-169 .product-label-diagonal b {
        display: block !important;
        padding: 0 !important;
        margin: 0 !important;
        height: 22px !important;
        line-height: 22px !important;
        background: transparent !important;
        color: #ffffff !important;
        font-size: 12px !important;
        font-weight: 700 !important;
        border-radius: 0 !important;
    }

    .main_content_style .module-products-169 .product-thumb .caption {
        display: flex !important;
        flex: 1 1 auto !important;
        flex-direction: column !important;
        justify-content: space-between !important;
        width: 100% !important;
        padding: 8px 6px 0 !important;
        background: #ffffff !important;
        min-height: 128px !important;
    }

    .main_content_style .module-products-169 .product-thumb .name {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        min-height: 44px !important;
        margin: 0 0 6px !important;
        overflow: hidden !important;
        text-align: center !important;
    }

    .main_content_style .module-products-169 .product-thumb .name a {
        display: -webkit-box !important;
        -webkit-line-clamp: 2 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
        color: #24313a !important;
        font-family: "Hind Siliguri", sans-serif !important;
        font-size: 12px !important;
        font-weight: 800 !important;
        line-height: 1.35 !important;
        text-align: center !important;
        text-transform: uppercase !important;
        word-break: break-word !important;
    }

    .main_content_style .module-products-169 .product-thumb .price {
        min-height: 26px !important;
        margin: 0 0 8px !important;
        text-align: center !important;
    }

    .main_content_style .module-products-169 .product-thumb .price-new {
        color: #e60000 !important;
        font-family: "Hind Siliguri", sans-serif !important;
        font-size: 17px !important;
        font-weight: 800 !important;
        line-height: 1.2 !important;
    }

    .main_content_style .module-products-169 .product-thumb .price-old {
        margin-left: 5px !important;
        color: #8e8e8e !important;
        font-size: 12px !important;
        font-weight: 500 !important;
        text-decoration: line-through !important;
        white-space: nowrap !important;
    }

    .main_content_style .module-products-169 .product-thumb .extra-group {
        width: calc(100% + 12px) !important;
        min-height: 45px !important;
        margin: auto -6px 0 !important;
        padding: 0 !important;
    }

    .main_content_style .module-products-169 .product-thumb .extra-group > div,
    .main_content_style .module-products-169 .custom_order_form {
        width: 100% !important;
        min-height: 45px !important;
        display: block !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .main_content_style .module-products-169 .product-grid
    .product-thumb .extra-group .custom_order_button {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        height: 45px !important;
        min-height: 45px !important;
        border-radius: 0 !important;
        font-size: 18px !important;
        padding: 0 4px !important;
    }

    .main_content_style .module-products-169 .product-grid
    .product-thumb .extra-group .custom_order_button .btn-text {
        font-size: 18px !important;
        line-height: 45px !important;
    }

    /* Mobile drawer */
    .custom_mobile_overlay {
        display: block !important;
        position: fixed !important;
        inset: 0 !important;
        z-index: 9998 !important;
        background: rgba(0, 0, 0, .55) !important;
        opacity: 0 !important;
        visibility: hidden !important;
        transition: opacity .22s ease, visibility .22s ease !important;
    }

    .custom_mobile_drawer {
        display: block !important;
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        z-index: 9999 !important;
        width: 82% !important;
        max-width: 315px !important;
        height: 100vh !important;
        background: #ffffff !important;
        transform: translateX(-105%) !important;
        transition: transform .25s ease !important;
        box-shadow: 8px 0 25px rgba(0,0,0,.18) !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch !important;
    }

    body.custom_drawer_open {
        overflow: hidden !important;
    }

    body.custom_drawer_open .custom_mobile_overlay {
        opacity: 1 !important;
        visibility: visible !important;
    }

    body.custom_drawer_open .custom_mobile_drawer {
        transform: translateX(0) !important;
    }

    .custom_drawer_title {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        height: 52px !important;
        padding: 0 13px !important;
        background-image: linear-gradient(90deg, #0dae57 0%, #087572 100%) !important;
        color: #ffffff !important;
        font-family: "Hind Siliguri", sans-serif !important;
        font-size: 18px !important;
        font-weight: 800 !important;
    }

    .custom_drawer_title button {
        width: 34px !important;
        height: 34px !important;
        padding: 0 !important;
        border: 0 !important;
        background: transparent !important;
        color: #ffcd08 !important;
        font-size: 32px !important;
        line-height: 32px !important;
        font-weight: 400 !important;
        cursor: pointer !important;
    }

    .custom_drawer_hotline {
        display: flex !important;
        align-items: center !important;
        gap: 8px !important;
        min-height: 52px !important;
        padding: 10px 15px !important;
        color: #e60023 !important;
        background: #ffffff !important;
        border-bottom: 1px solid #d9ece4 !important;
        font-family: "Hind Siliguri", sans-serif !important;
        font-size: 22px !important;
        font-weight: 800 !important;
        text-decoration: none !important;
    }

    .custom_drawer_hotline .hotline-icon {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 26px !important;
        height: 26px !important;
        border: 2px solid #ed1c24 !important;
        border-radius: 50% !important;
        font-size: 16px !important;
        line-height: 1 !important;
    }

    .custom_drawer_menu {
        list-style: none !important;
        margin: 0 !important;
        padding: 0 12px 20px !important;
    }

    .custom_drawer_menu li {
        margin: 0 !important;
        padding: 0 !important;
        border-bottom: 1px solid #d9ece4 !important;
    }

    .custom_drawer_menu li a {
        display: flex !important;
        align-items: center !important;
        min-height: 44px !important;
        gap: 9px !important;
        padding: 7px 0 !important;
        color: #1e2730 !important;
        text-decoration: none !important;
        font-family: "Hind Siliguri", sans-serif !important;
        font-size: 16px !important;
        font-weight: 800 !important;
    }

    .custom_drawer_menu .check {
        display: inline-flex !important;
        flex: 0 0 18px !important;
        width: 18px !important;
        height: 18px !important;
        align-items: center !important;
        justify-content: center !important;
        border-radius: 3px !important;
        background: #0ab35b !important;
        color: #ffffff !important;
        font-size: 13px !important;
        line-height: 1 !important;
        font-weight: 700 !important;
    }

    .custom_drawer_menu .text {
        flex: 1 1 auto !important;
        line-height: 1.25 !important;
    }

    .custom_drawer_menu .label {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        min-height: 18px !important;
        padding: 1px 5px !important;
        background: #ed1c24 !important;
        color: #fff !important;
        font-size: 10px !important;
        border-radius: 2px !important;
        line-height: 1 !important;
    }

    /* Footer mobile */
    .main_content_style footer {
        margin-top: 0 !important;
    }

    .main_content_style footer .grid-row-4 {
        height: auto !important;
        min-height: 54px !important;
        padding: 10px 8px !important;
    }

    .main_content_style footer .grid-row-4 .grid-cols {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 8px !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
    }
}

@media (max-width: 380px) {
    .main_content_style .module-products-169 .product-grid {
        gap: 9px !important;
    }

    .main_content_style .module-products-169 .product-thumb .name a {
        font-size: 11px !important;
    }

    .main_content_style .module-products-169 .product-thumb .price-new {
        font-size: 15px !important;
    }

    .main_content_style .module-products-169 .product-grid
    .product-thumb .extra-group .custom_order_button,
    .main_content_style .module-products-169 .product-grid
    .product-thumb .extra-group .custom_order_button .btn-text {
        font-size: 16px !important;
    }
}



/* ================================
   V7 Mobile Header + Footer Repair
   Problem found from the latest mobile PDF:
   mobile header/search/menu disappeared and footer became too tall.
   ================================ */

@media (max-width: 760px) {
    /* Keep the custom header visible even when Journal tries to switch to mobile mode. */
    html.custom_exact_html.mobile-header-active .header,
    html.custom_exact_html.mobile-header-active .header-classic,
    html.custom_exact_html.mobile-header-active .header-classic .header,
    html.custom_exact_html.phone .header,
    html.custom_exact_html.phone .header-classic,
    html.custom_exact_html.phone .header-classic .header,
    .main_content_style .header-classic,
    .main_content_style .header-classic .header,
    .main_content_style .header-classic .top-bar,
    .main_content_style .header-classic .mid-bar {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        height: auto !important;
        transform: none !important;
    }

    .main_content_style .header-classic {
        position: relative !important;
        z-index: 100 !important;
        width: 100% !important;
        max-width: 100% !important;
        background: #ffffff !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .main_content_style .header-classic .header {
        width: 100% !important;
        max-width: 100% !important;
        min-height: 148px !important;
        margin: 0 !important;
        padding: 0 !important;
        background: #ffffff !important;
        box-shadow: 0 2px 8px rgba(0,0,0,.06) !important;
    }

    .main_content_style .header-classic .top-bar {
        display: flex !important;
        height: 36px !important;
        min-height: 36px !important;
        max-height: 36px !important;
        overflow: hidden !important;
    }

    .main_content_style .header-classic .mid-bar {
        display: grid !important;
        height: 112px !important;
        min-height: 112px !important;
        max-height: 112px !important;
        overflow: visible !important;
    }

    .main_content_style .desktop-main-menu-wrapper,
    .main_content_style .mobile-main-menu-wrapper,
    .main_content_style .mobile-bar,
    .main_content_style .mobile-header {
        display: none !important;
    }

    /* Put normal page content under the visible header. */
    .main_content_style #top.top-row {
        margin-top: 0 !important;
        padding-top: 10px !important;
    }

    /* Make sure the top banner never starts above the header. */
    .main_content_style .site-wrapper > main,
    .main_content_style #main_content_area {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: visible !important;
    }

    /* Category quick chips: smaller and clean. */
    .custom_mobile_quick_cats {
        padding-top: 6px !important;
        padding-bottom: 8px !important;
        gap: 7px !important;
    }

    .custom_mobile_quick_cats a {
        min-height: 32px !important;
        padding: 6px 9px !important;
        font-size: 12px !important;
        border-radius: 8px !important;
    }

    /* Compact footer. The previous version looked like a large block on mobile. */
    .main_content_style footer {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        background: transparent !important;
    }

    .main_content_style footer .grid-rows,
    .main_content_style footer .grid-row,
    .main_content_style footer .grid-row-4 {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .main_content_style footer .grid-row-4 {
        background-image: linear-gradient(90deg, #0dae57 0%, #087572 100%) !important;
        padding: 12px 10px 13px !important;
    }

    .main_content_style footer .grid-row-4 .grid-cols {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 7px !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        align-items: center !important;
        justify-items: center !important;
        text-align: center !important;
    }

    .main_content_style footer .grid-col,
    .main_content_style footer .grid-items,
    .main_content_style footer .grid-item,
    .main_content_style footer .links-menu,
    .main_content_style footer .icons-menu {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        text-align: center !important;
    }

    .main_content_style footer ul,
    .main_content_style footer li {
        list-style: none !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .main_content_style footer .links-menu a,
    .main_content_style footer .links-menu a span {
        display: inline-block !important;
        margin: 0 !important;
        padding: 0 !important;
        background: transparent !important;
        color: #ffffff !important;
        font-family: "Hind Siliguri", sans-serif !important;
        font-size: 11px !important;
        font-weight: 700 !important;
        line-height: 1.5 !important;
        text-decoration: none !important;
        box-shadow: none !important;
        border: 0 !important;
    }

    .main_content_style footer .icons-menu ul {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 8px !important;
        margin: 2px 0 !important;
        padding: 0 !important;
    }

    .main_content_style footer .icons-menu li,
    .main_content_style footer .icons-menu a {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 30px !important;
        height: 30px !important;
        min-width: 30px !important;
        min-height: 30px !important;
        max-width: 30px !important;
        max-height: 30px !important;
        margin: 0 !important;
        padding: 0 !important;
        border-radius: 50% !important;
        overflow: hidden !important;
        text-align: center !important;
        color: #ffffff !important;
        line-height: 30px !important;
    }

    .main_content_style footer .icons-menu .links-text {
        font-size: 0 !important;
        line-height: 0 !important;
        width: 0 !important;
        height: 0 !important;
        overflow: hidden !important;
    }

    .main_content_style footer .icons-menu-item-1 a {
        background: #1d9bf0 !important;
    }

    .main_content_style footer .icons-menu-item-3 a {
        background: #e91e63 !important;
    }

    .main_content_style footer .icons-menu-item-5 a {
        background: #e60023 !important;
    }

    .main_content_style footer .icons-menu-item-1 a::before {
        content: "\f09a" !important;
        font-family: FontAwesome !important;
        font-size: 15px !important;
    }

    .main_content_style footer .icons-menu-item-3 a::before {
        content: "\f16d" !important;
        font-family: FontAwesome !important;
        font-size: 15px !important;
    }

    .main_content_style footer .icons-menu-item-5 a::before {
        content: "\f16a" !important;
        font-family: FontAwesome !important;
        font-size: 15px !important;
    }

    .main_content_style footer .links-menu-77 a,
    .main_content_style footer .links-menu-77 a span {
        background: transparent !important;
        color: #ffffff !important;
        padding: 0 !important;
        border-radius: 0 !important;
        font-size: 11px !important;
        box-shadow: none !important;
    }
}



/* =========================================================
   Product Details V11 - improved modern layout
   ========================================================= */

.main_content_style .custom_product_page,
.main_content_style .custom_product_page * {
    box-sizing: border-box;
}

.main_content_style .custom_product_page {
    width: 100%;
    background: #f4f7f8;
    font-family: "Hind Siliguri", sans-serif;
    color: #202b34;
}

.main_content_style .custom_product_wrap {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
}

.main_content_style .custom_product_breadcrumb {
    background-image: linear-gradient(90deg, #0dae57 0%, #087572 100%);
}

.main_content_style .custom_product_breadcrumb .custom_product_wrap {
    min-height: 26px;
    display: flex;
    align-items: center;
    gap: 7px;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    overflow: hidden;
}

.main_content_style .custom_product_breadcrumb a,
.main_content_style .custom_product_breadcrumb span,
.main_content_style .custom_product_breadcrumb strong {
    color: #fff;
    text-decoration: none;
    white-space: nowrap;
}

.main_content_style .custom_product_intro {
    display: grid;
    grid-template-columns: minmax(0, 450px) minmax(0, 1fr);
    gap: 24px;
    padding: 28px 0;
}

.main_content_style .custom_product_gallery_card,
.main_content_style .custom_product_summary_card {
    background: #fff;
    border: 1px solid #e3e9ed;
    box-shadow: 0 8px 24px rgba(17, 48, 62, .08);
}

.main_content_style .custom_product_gallery_card {
    padding: 14px;
}

.main_content_style .custom_product_photo_box {
    position: relative;
    min-height: 435px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #fff;
}

.main_content_style .custom_product_photo_box img {
    display: block;
    width: 100%;
    max-height: 435px;
    object-fit: contain;
}

.main_content_style .custom_product_corner_discount {
    position: absolute;
    top: 14px;
    right: -34px;
    z-index: 2;
    width: 124px;
    height: 30px;
    line-height: 30px;
    transform: rotate(45deg);
    background: #e60023;
    color: #fff;
    font-size: 14px;
    font-weight: 900;
    text-align: center;
}

.main_content_style .custom_product_summary_card {
    position: relative;
}

.main_content_style .custom_product_summary_inner {
    padding: 24px 26px;
}

.main_content_style .custom_product_name {
    margin: 0 0 10px;
    color: #1f2933;
    font-size: 22px;
    font-weight: 900;
    line-height: 1.35;
    text-transform: uppercase;
}

.main_content_style .custom_product_meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
}

.main_content_style .custom_product_meta span {
    display: inline-flex;
    align-items: center;
    min-height: 25px;
    padding: 3px 9px;
    border-radius: 50px;
    background: #edf7f2;
    color: #057347;
    font-size: 12px;
    font-weight: 800;
}

.main_content_style .custom_product_price_box {
    display: flex;
    align-items: baseline;
    gap: 12px;
    padding: 18px 0;
    border-top: 1px solid #edf1f3;
    border-bottom: 1px solid #edf1f3;
}

.main_content_style .custom_product_price_box del {
    color: #8a8f94;
    font-size: 15px;
    font-weight: 600;
}

.main_content_style .custom_product_price_box strong {
    color: #e60012;
    font-size: 30px;
    font-weight: 1000;
    line-height: 1;
}

.main_content_style .custom_buy_box {
    display: grid;
    grid-template-columns: 105px 1fr 1fr;
    gap: 10px;
    margin: 20px 0;
}

.main_content_style .custom_qty_box {
    display: grid;
    grid-template-columns: 33px 39px 33px;
    height: 44px;
    border: 1px solid #cfd7dc;
    background: #fff;
}

.main_content_style .custom_qty_box button,
.main_content_style .custom_qty_box span {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 42px;
    border: 0;
    background: #fff;
    color: #1f2933;
    font-size: 16px;
    font-weight: 900;
    line-height: 1;
}

.main_content_style .custom_qty_box button {
    cursor: pointer;
}

.main_content_style .custom_qty_box button:first-child {
    border-right: 1px solid #cfd7dc;
}

.main_content_style .custom_qty_box button:last-child {
    border-left: 1px solid #cfd7dc;
}

.main_content_style .custom_primary_order_btn {
    height: 44px;
    border: 0;
    border-radius: 4px;
    color: #fff;
    font-family: "Hind Siliguri", sans-serif;
    font-size: 17px;
    font-weight: 900;
    cursor: pointer;
    transition: transform .15s ease, box-shadow .15s ease;
}

.main_content_style .custom_primary_order_btn {
    background-image: radial-gradient(circle farthest-corner at -1% 57.5%, rgba(19,170,82,1) 0%, rgba(0,102,43,1) 90%);
}

.main_content_style .custom_secondary_cart_btn {
    background: #26323b;
}

.main_content_style .custom_primary_order_btn:hover:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(0,0,0,.13);
}

.main_content_style .custom_short_notice {
    margin: 0 0 14px;
    padding: 11px 13px;
    border-left: 4px solid #e60023;
    background: #fff6f6;
    color: #d71920;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.65;
}

.main_content_style .custom_call_panel {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px;
    min-height: 56px;
    margin-bottom: 14px;
}

.main_content_style .custom_call_panel a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #18212a;
    text-decoration: none;
}

.main_content_style .custom_call_panel img {
    max-width: 272px;
    height: auto;
}

.main_content_style .custom_call_panel span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 74px;
    height: 30px;
    border: 2px solid #f7931e;
    border-radius: 50px;
    color: #f7931e;
    font-size: 12px;
    font-weight: 900;
}

.main_content_style .custom_call_panel strong {
    color: #18212a;
    font-size: 29px;
    font-weight: 1000;
    letter-spacing: .6px;
}

.main_content_style .custom_call_second {
    font-size: 18px;
    font-weight: 800;
}

.main_content_style .custom_delivery_cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.main_content_style .custom_delivery_cards div {
    padding: 12px 13px;
    border: 1px solid #ffe08a;
    border-radius: 6px;
    background: #fffdf2;
}

.main_content_style .custom_delivery_cards span {
    display: block;
    margin-bottom: 6px;
    color: #5a6570;
    font-size: 12px;
    font-weight: 800;
}

.main_content_style .custom_delivery_cards strong {
    color: #1f2933;
    font-size: 18px;
    font-weight: 1000;
}

.main_content_style .custom_description_card {
    margin-bottom: 26px;
    background: #fff;
    border: 1px solid #e3e9ed;
    box-shadow: 0 8px 24px rgba(17, 48, 62, .06);
}

.main_content_style .custom_description_head {
    position: relative;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: radial-gradient(circle farthest-corner at 10% 20%, rgba(14,174,87,1) 0%, rgba(12,116,117,1) 90%);
    color: #fff;
    font-size: 16px;
    font-weight: 900;
}

.main_content_style .custom_description_head::after {
    content: "";
    position: absolute;
    bottom: 8px;
    left: 50%;
    width: 70px;
    height: 1px;
    transform: translateX(-50%);
    background: #ffcd08;
}

.main_content_style .custom_description_content {
    padding: 18px 18px 22px;
}

.main_content_style .custom_product_long_description {
    max-width: 850px;
    margin: 0 auto;
    color: #1f2933;
    font-size: 15px;
    line-height: 1.8;
}

.main_content_style .custom_product_long_description img,
.main_content_style .custom_description_extra_image img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 0 auto 12px;
}

.main_content_style .custom_video_box {
    margin: 0 auto 20px;
    max-width: 760px;
}

.main_content_style .custom_video_box iframe {
    width: 100%;
    min-height: 360px;
}

.main_content_style .custom_description_extra_image {
    max-width: 850px;
    margin: 0 auto;
}

.main_content_style .custom_related_products {
    margin-bottom: 35px;
}

.main_content_style .custom_related_head {
    margin: 0 0 14px;
    color: #26323b;
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
}

.main_content_style .custom_related_products_grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 18px;
}

.main_content_style .custom_related_product_card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: #fff;
    border: 1px solid #e3e9ed;
    box-shadow: 0 5px 16px rgba(17, 48, 62, .05);
}

.main_content_style .custom_related_photo {
    position: relative;
    display: block;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #fff;
}

.main_content_style .custom_related_photo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 4px;
}

.main_content_style .custom_related_photo span {
    position: absolute;
    top: 10px;
    right: -25px;
    z-index: 2;
    width: 86px;
    height: 22px;
    line-height: 22px;
    transform: rotate(45deg);
    background: #e60023;
    color: #fff;
    font-size: 11px;
    font-weight: 900;
    text-align: center;
}

.main_content_style .custom_related_title {
    display: -webkit-box;
    min-height: 42px;
    margin: 8px 8px 5px;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: #202b34;
    font-size: 11px;
    font-weight: 900;
    line-height: 1.35;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
}

.main_content_style .custom_related_price {
    min-height: 24px;
    margin: 0 8px 8px;
    text-align: center;
}

.main_content_style .custom_related_price strong {
    color: #e60000;
    font-size: 13px;
    font-weight: 1000;
}

.main_content_style .custom_related_price del {
    margin-left: 4px;
    color: #8c8c8c;
    font-size: 10px;
}

.main_content_style .custom_related_product_card form {
    margin: auto 0 0;
}

.main_content_style .custom_related_product_card button {
    width: 100%;
    height: 40px;
    border: 0;
    background-image: radial-gradient(circle farthest-corner at -1% 57.5%, rgba(19,170,82,1) 0%, rgba(0,102,43,1) 90%);
    color: #fff;
    font-family: "Hind Siliguri", sans-serif;
    font-size: 15px;
    font-weight: 900;
    cursor: pointer;
}

/* Mobile */
@media (max-width: 760px) {
    .main_content_style .custom_product_page {
        background: #eef4fb;
    }

    .main_content_style .custom_product_wrap {
        max-width: 100%;
    }

    .main_content_style .custom_product_breadcrumb .custom_product_wrap {
        padding: 0 10px;
        min-height: 29px;
        font-size: 10px;
        overflow: hidden;
    }

    .main_content_style .custom_product_intro {
        display: block;
        padding: 10px;
    }

    .main_content_style .custom_product_gallery_card,
    .main_content_style .custom_product_summary_card,
    .main_content_style .custom_description_card {
        border-radius: 10px;
    }

    .main_content_style .custom_product_gallery_card {
        padding: 8px;
    }

    .main_content_style .custom_product_photo_box {
        min-height: 0;
        aspect-ratio: 1 / 1;
    }

    .main_content_style .custom_product_photo_box img {
        max-height: none;
        height: 100%;
        object-fit: contain;
    }

    .main_content_style .custom_product_summary_card {
        margin-top: 10px;
    }

    .main_content_style .custom_product_summary_inner {
        padding: 14px;
    }

    .main_content_style .custom_product_name {
        font-size: 18px;
        line-height: 1.45;
    }

    .main_content_style .custom_product_price_box {
        padding: 14px 0;
    }

    .main_content_style .custom_product_price_box strong {
        font-size: 27px;
    }

    .main_content_style .custom_buy_box {
        grid-template-columns: 104px 1fr;
        gap: 8px;
    }

    .main_content_style .custom_primary_order_btn {
        height: 46px;
        font-size: 18px;
    }

    .main_content_style .custom_qty_box {
        height: 46px;
    }

    .main_content_style .custom_qty_box button,
    .main_content_style .custom_qty_box span {
        height: 44px;
    }

    .main_content_style .custom_call_panel strong {
        font-size: 23px;
    }

    .main_content_style .custom_delivery_cards {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .main_content_style .custom_description_card {
        margin: 0 10px 18px;
        overflow: hidden;
    }

    .main_content_style .custom_description_head {
        height: 50px;
        font-size: 20px;
    }

    .main_content_style .custom_description_content {
        padding: 12px 10px 16px;
    }

    .main_content_style .custom_product_long_description {
        max-width: 100%;
        font-size: 14px;
        line-height: 1.75;
    }

    .main_content_style .custom_video_box iframe {
        min-height: 220px;
    }

    .main_content_style .custom_related_products {
        padding: 0 10px 26px;
    }

    .main_content_style .custom_related_products_grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .main_content_style .custom_related_head {
        margin: 0 0 12px;
    }

    .main_content_style .custom_related_product_card {
        border-radius: 7px;
    }

    .main_content_style .custom_related_title {
        min-height: 40px;
        font-size: 11px;
    }

    .main_content_style .custom_related_price strong {
        font-size: 15px;
    }

    .main_content_style .custom_related_product_card button {
        height: 43px;
        font-size: 16px;
    }
}



/* =========================================================
   Product Details V12 - remove add-cart + image zoom/lightbox
   ========================================================= */

.main_content_style .custom_buy_box {
    grid-template-columns: 105px minmax(180px, 260px) !important;
    justify-content: start !important;
}

.main_content_style .custom_product_photo_box {
    cursor: zoom-in !important;
}

.main_content_style .custom_product_photo_box > img {
    transition: transform .25s ease !important;
}

.main_content_style .custom_product_photo_box:hover > img {
    transform: scale(1.04) !important;
}

.main_content_style .custom_zoom_preview {
    display: none;
    position: absolute;
    top: 0;
    left: calc(100% + 18px);
    z-index: 80;
    width: 560px;
    height: 435px;
    border: 1px solid #d8dde1;
    border-radius: 4px;
    background-color: #ffffff;
    background-repeat: no-repeat;
    background-size: 210%;
    box-shadow: 0 12px 35px rgba(0, 0, 0, .18);
    pointer-events: none;
}

.main_content_style .custom_zoom_hint {
    position: absolute;
    right: 10px;
    bottom: 10px;
    z-index: 5;
    padding: 5px 8px;
    border-radius: 3px;
    background: rgba(0, 0, 0, .55);
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    opacity: 0;
    transform: translateY(4px);
    transition: opacity .2s ease, transform .2s ease;
    pointer-events: none;
}

.main_content_style .custom_product_photo_box:hover .custom_zoom_hint {
    opacity: 1;
    transform: translateY(0);
}

body.custom_lightbox_open {
    overflow: hidden !important;
}

.custom_image_lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 999999;
    background: rgba(0, 0, 0, .86);
    align-items: center;
    justify-content: center;
}

.custom_image_lightbox.is-open {
    display: flex;
}

.custom_lightbox_toolbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 42px;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    padding: 0 14px;
    background: rgba(0, 0, 0, .55);
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
}

.custom_lightbox_toolbar span {
    margin-right: auto;
}

.custom_lightbox_toolbar button {
    width: 30px;
    height: 30px;
    border: 0;
    background: transparent;
    color: #ffffff;
    font-size: 30px;
    line-height: 28px;
    font-weight: 400;
    cursor: pointer;
}

.custom_lightbox_stage {
    width: 100%;
    height: 100%;
    padding: 52px 20px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: auto;
}

.custom_lightbox_stage img {
    display: block;
    max-width: min(92vw, 960px);
    max-height: calc(100vh - 75px);
    object-fit: contain;
    border-radius: 3px;
    background: #ffffff;
    transition: transform .2s ease;
    transform-origin: center center;
}

/* Keep zoom preview inside the screen for medium desktop. */
@media (max-width: 1280px) and (min-width: 761px) {
    .main_content_style .custom_zoom_preview {
        width: 440px;
        height: 390px;
        background-size: 220%;
    }
}

@media (max-width: 760px) {
    .main_content_style .custom_buy_box {
        grid-template-columns: 104px 1fr !important;
    }

    .main_content_style .custom_product_photo_box:hover > img {
        transform: none !important;
    }

    .main_content_style .custom_zoom_preview {
        display: none !important;
    }

    .main_content_style .custom_zoom_hint {
        opacity: 1;
        transform: none;
        font-size: 10px;
    }

    .custom_lightbox_stage {
        padding: 48px 10px 10px;
    }

    .custom_lightbox_stage img {
        max-width: 96vw;
        max-height: calc(100vh - 62px);
    }
}



/* =========================================================
   Product Details V13 - direct hover zoom fix
   ========================================================= */

.main_content_style .custom_product_photo_box {
    overflow: hidden !important;
    cursor: zoom-in !important;
}

.main_content_style .custom_product_photo_box > img {
    will-change: transform, transform-origin !important;
    transition: transform .22s ease-out !important;
    transform-origin: center center !important;
}

.main_content_style .custom_product_photo_box > img.custom_is_zooming {
    transform: scale(1.75) !important;
}

.main_content_style .custom_product_photo_box:hover > img {
    transform: scale(1.75) !important;
}

/* The old external preview box is no longer needed because it was clipped by the image container. */
.main_content_style .custom_zoom_preview {
    display: none !important;
}

.main_content_style .custom_zoom_hint {
    opacity: 1 !important;
    transform: none !important;
    right: 12px !important;
    bottom: 12px !important;
    padding: 6px 9px !important;
    background: rgba(0, 0, 0, .62) !important;
    color: #ffffff !important;
    font-size: 11px !important;
    font-weight: 800 !important;
}

@media (max-width: 760px) {
    .main_content_style .custom_product_photo_box > img.custom_is_zooming,
    .main_content_style .custom_product_photo_box:hover > img {
        transform: none !important;
    }

    .main_content_style .custom_zoom_hint {
        content: none !important;
        font-size: 10px !important;
    }
}



/* =========================================================
   Registration / Checkout Page V14
   ========================================================= */

.main_content_style .custom_checkout_page,
.main_content_style .custom_checkout_page * {
    box-sizing: border-box;
}

.main_content_style .custom_checkout_page {
    width: 100%;
    min-height: 520px;
    padding: 18px 0 45px;
    background: #f4f7f8;
    font-family: "Hind Siliguri", sans-serif;
    color: #202b34;
}

.main_content_style .custom_checkout_wrap {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
}

.main_content_style .custom_checkout_notice {
    margin: 0 0 14px;
    padding: 10px 14px;
    border-top: 2px solid #0dae57;
    border-bottom: 2px solid #0dae57;
    background: #ffffff;
    color: #24313a;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.7;
}

.main_content_style .custom_checkout_notice strong,
.main_content_style .custom_checkout_notice span {
    color: #e60012;
    font-weight: 900;
}

.main_content_style .custom_checkout_grid {
    display: grid;
    grid-template-columns: minmax(0, 38%) minmax(0, 62%);
    gap: 14px;
    align-items: start;
}

.main_content_style .custom_checkout_card {
    overflow: hidden;
    border: 1px solid #e1e7eb;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 8px 24px rgba(17, 48, 62, .07);
}

.main_content_style .custom_checkout_card_head {
    padding: 14px 18px;
    border-bottom: 1px solid #e8eef1;
    background: linear-gradient(180deg, #ffffff 0%, #f6f9fa 100%);
}

.main_content_style .custom_checkout_card_head h3 {
    margin: 0;
    color: #17212b;
    font-size: 18px;
    font-weight: 900;
    line-height: 1.3;
}

.main_content_style .custom_checkout_card_head p {
    margin: 4px 0 0;
    color: #7c8892;
    font-size: 12px;
    font-weight: 700;
}

.main_content_style .custom_order_head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.main_content_style .custom_order_head p {
    margin: 0;
    min-width: 80px;
    padding: 5px 10px;
    border-radius: 50px;
    background: #edf7f2;
    color: #057347;
    text-align: center;
}

.main_content_style .custom_checkout_form {
    padding: 18px;
}

.main_content_style .custom_form_group {
    margin-bottom: 15px;
}

.main_content_style .custom_form_group label {
    display: block;
    margin-bottom: 7px;
    color: #202b34;
    font-size: 14px;
    font-weight: 900;
}

.main_content_style .custom_form_group label span {
    color: #e60012;
}

.main_content_style .custom_form_group input,
.main_content_style .custom_form_group select,
.main_content_style .custom_form_group textarea {
    width: 100%;
    min-height: 43px;
    border: 1px solid #dce4e8;
    border-radius: 6px;
    background: #ffffff;
    color: #1f2933;
    font-family: "Hind Siliguri", sans-serif;
    font-size: 14px;
    font-weight: 600;
    outline: none;
    box-shadow: none;
    transition: border-color .15s ease, box-shadow .15s ease;
}

.main_content_style .custom_form_group input,
.main_content_style .custom_form_group select {
    padding: 0 12px;
}

.main_content_style .custom_form_group textarea {
    padding: 10px 12px;
    resize: vertical;
}

.main_content_style .custom_form_group input:focus,
.main_content_style .custom_form_group select:focus,
.main_content_style .custom_form_group textarea:focus {
    border-color: #0dae57;
    box-shadow: 0 0 0 3px rgba(13, 174, 87, .12);
}

.main_content_style .custom_phone_input {
    display: flex;
    align-items: center;
    border: 1px solid #dce4e8;
    border-radius: 6px;
    background: #ffffff;
    overflow: hidden;
}

.main_content_style .custom_phone_input:focus-within {
    border-color: #0dae57;
    box-shadow: 0 0 0 3px rgba(13, 174, 87, .12);
}

.main_content_style .custom_phone_input span {
    flex: 0 0 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 43px;
    border-right: 1px solid #dce4e8;
    background: #f6f9fa;
    font-size: 15px;
}

.main_content_style .custom_phone_input input {
    border: 0 !important;
    border-radius: 0;
    box-shadow: none !important;
}

.main_content_style .custom_checkout_warning {
    margin: 2px 0 16px;
    padding: 10px 12px;
    border-left: 4px solid #e60012;
    border-radius: 4px;
    background: #fff6f6;
    color: #c40012;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.65;
}

.main_content_style .custom_confirm_order_btn {
    width: 100%;
    height: 48px;
    border: 0;
    border-radius: 6px;
    background: #e60000;
    color: #ffffff;
    font-family: "Hind Siliguri", sans-serif;
    font-size: 17px;
    font-weight: 900;
    cursor: pointer;
    box-shadow: 0 8px 18px rgba(230, 0, 0, .18);
}

.main_content_style .custom_confirm_order_btn.is-loading {
    opacity: .75;
    cursor: wait;
}

.main_content_style .custom_order_table_area {
    padding: 0 14px 0;
    overflow-x: auto;
}

.main_content_style .custom_order_table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin: 0;
}

.main_content_style .custom_order_table thead th {
    padding: 11px 8px;
    border-bottom: 1px solid #e8eef1;
    color: #5b6872;
    font-size: 12px;
    font-weight: 900;
    text-align: left;
    white-space: nowrap;
}

.main_content_style .custom_order_table tbody td {
    padding: 13px 8px;
    border-bottom: 1px solid #eef2f4;
    vertical-align: middle;
}

.main_content_style .custom_order_product {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 250px;
}

.main_content_style .custom_order_product img {
    flex: 0 0 70px;
    width: 70px;
    height: 70px;
    object-fit: contain;
    border: 1px solid #eef2f4;
    border-radius: 6px;
    background: #fff;
}

.main_content_style .custom_order_product strong {
    display: -webkit-box;
    max-width: 280px;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: #e60012;
    font-size: 13px;
    font-weight: 900;
    line-height: 1.45;
}

.main_content_style .custom_order_product span {
    display: block;
    margin-top: 4px;
    color: #7c8892;
    font-size: 12px;
    font-weight: 700;
}

.main_content_style .custom_center {
    text-align: center !important;
}

.main_content_style .custom_right {
    text-align: right !important;
}

.main_content_style .custom_cart_qty {
    display: inline-grid;
    grid-template-columns: 34px 38px 34px;
    height: 36px;
    border: 1px solid #dce4e8;
    border-radius: 5px;
    overflow: hidden;
    background: #ffffff;
}

.main_content_style .custom_cart_qty button,
.main_content_style .custom_cart_qty span {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 34px;
    border: 0;
    background: #ffffff;
    color: #202b34;
    font-size: 15px;
    font-weight: 900;
    line-height: 1;
}

.main_content_style .custom_cart_qty button {
    cursor: pointer;
    color: #ffffff;
    background: #e60000;
}

.main_content_style .custom_cart_qty button:first-child {
    background: #0dae57;
}

.main_content_style .custom_order_price {
    color: #17212b;
    font-size: 14px;
    font-weight: 900;
    white-space: nowrap;
}

.main_content_style .custom_remove_item {
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 6px;
    background: linear-gradient(135deg, #e60000 0%, #8a0038 100%);
    color: #ffffff;
    font-size: 18px;
    font-weight: 900;
    line-height: 1;
    cursor: pointer;
}

.main_content_style .custom_order_summary {
    padding: 12px 18px 17px;
    background: #ffffff;
}

.main_content_style .custom_order_summary div {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 35px;
    padding: 8px 0;
    border-bottom: 1px solid #eef2f4;
    color: #202b34;
    font-size: 14px;
    font-weight: 800;
}

.main_content_style .custom_order_summary div:last-child {
    border-bottom: 0;
}

.main_content_style .custom_order_summary span {
    color: #34424d;
    min-width: 130px;
    text-align: right;
}

.main_content_style .custom_order_summary strong {
    min-width: 120px;
    color: #17212b;
    text-align: right;
    font-size: 15px;
    font-weight: 1000;
}

.main_content_style .custom_order_summary .custom_grand_total {
    margin-top: 4px;
    padding-top: 13px;
    border-top: 2px solid #edf1f3;
    color: #0e6f48;
}

.main_content_style .custom_order_summary .custom_grand_total strong {
    color: #0a6f42;
    font-size: 19px;
}

.main_content_style .custom_empty_cart {
    max-width: 520px;
    margin: 35px auto;
    padding: 35px 20px;
    border-radius: 10px;
    background: #ffffff;
    text-align: center;
    box-shadow: 0 8px 24px rgba(17, 48, 62, .08);
}

.main_content_style .custom_empty_cart img {
    max-width: 220px;
}

.main_content_style .custom_empty_cart h3 {
    margin: 15px 0 6px;
    color: #17212b;
    font-size: 22px;
    font-weight: 900;
}

.main_content_style .custom_empty_cart p {
    margin: 0 0 18px;
    color: #65727c;
    font-size: 14px;
    font-weight: 700;
}

.main_content_style .custom_empty_cart a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 155px;
    height: 42px;
    border-radius: 6px;
    background: #e60000;
    color: #ffffff;
    text-decoration: none;
    font-size: 15px;
    font-weight: 900;
}

/* Mobile checkout */
@media (max-width: 760px) {
    .main_content_style .custom_checkout_page {
        padding: 10px 0 25px;
        background: #eef4fb;
    }

    .main_content_style .custom_checkout_wrap {
        max-width: 100%;
        padding: 0 10px;
    }

    .main_content_style .custom_checkout_notice {
        margin-bottom: 10px;
        padding: 10px;
        font-size: 12px;
        border-radius: 6px;
    }

    .main_content_style .custom_checkout_grid {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .main_content_style .custom_order_card {
        order: 1;
    }

    .main_content_style .custom_customer_card {
        order: 2;
    }

    .main_content_style .custom_checkout_card {
        border-radius: 10px;
    }

    .main_content_style .custom_checkout_card_head {
        padding: 12px 14px;
    }

    .main_content_style .custom_checkout_card_head h3 {
        font-size: 17px;
    }

    .main_content_style .custom_checkout_form {
        padding: 14px;
    }

    .main_content_style .custom_form_group {
        margin-bottom: 13px;
    }

    .main_content_style .custom_confirm_order_btn {
        height: 50px;
        font-size: 18px;
    }

    .main_content_style .custom_order_table_area {
        padding: 0;
        overflow-x: visible;
    }

    .main_content_style .custom_order_table,
    .main_content_style .custom_order_table thead,
    .main_content_style .custom_order_table tbody,
    .main_content_style .custom_order_table tr,
    .main_content_style .custom_order_table td {
        display: block;
        width: 100%;
    }

    .main_content_style .custom_order_table thead {
        display: none;
    }

    .main_content_style .custom_order_table tbody tr {
        position: relative;
        padding: 12px 12px 12px;
        border-bottom: 1px solid #edf1f3;
    }

    .main_content_style .custom_order_table tbody td {
        padding: 0;
        border: 0;
    }

    .main_content_style .custom_order_product {
        min-width: 0;
        padding-right: 40px;
        align-items: flex-start;
    }

    .main_content_style .custom_order_product img {
        flex-basis: 76px;
        width: 76px;
        height: 76px;
    }

    .main_content_style .custom_order_product strong {
        max-width: 100%;
        font-size: 13px;
    }

    .main_content_style .custom_order_product span {
        font-size: 11px;
    }

    .main_content_style .custom_order_table td.custom_center:nth-child(2) {
        margin-top: 10px;
        text-align: left !important;
    }

    .main_content_style .custom_order_table td.custom_right {
        margin-top: 8px;
        text-align: left !important;
        font-size: 16px;
    }

    .main_content_style .custom_remove_item {
        position: absolute;
        top: 12px;
        right: 12px;
        width: 32px;
        height: 32px;
    }

    .main_content_style .custom_order_summary {
        padding: 12px 14px 15px;
        background: #fafafa;
    }

    .main_content_style .custom_order_summary div {
        justify-content: space-between;
        gap: 10px;
    }

    .main_content_style .custom_order_summary span {
        min-width: auto;
        text-align: left;
    }

    .main_content_style .custom_order_summary strong {
        min-width: auto;
    }
}



/* =========================================================
   Registration / Checkout V15 - cart action + BD mobile validation
   ========================================================= */

.main_content_style .custom_checkout_error {
    margin: 0 0 14px;
    padding: 10px 12px;
    border-left: 4px solid #e60012;
    border-radius: 5px;
    background: #fff1f1;
    color: #c90012;
    font-size: 13px;
    font-weight: 900;
    line-height: 1.55;
}

.main_content_style .custom_phone_input span {
    min-width: 50px;
    color: #202b34;
    font-size: 12px;
    font-weight: 900;
}

.main_content_style .custom_phone_input input:invalid:not(:placeholder-shown) {
    background: #fff7f7;
}

.main_content_style .custom_cart_qty button:disabled,
.main_content_style .custom_remove_item:disabled,
.main_content_style .custom_cart_qty button.is-loading,
.main_content_style .custom_remove_item.is-loading {
    opacity: .55;
    cursor: wait !important;
    pointer-events: none;
}

.main_content_style .custom_cart_qty button.is-loading::after,
.main_content_style .custom_remove_item.is-loading::after {
    content: "";
    display: inline-block;
    width: 11px;
    height: 11px;
    margin-left: 4px;
    border: 2px solid rgba(255,255,255,.5);
    border-top-color: #fff;
    border-radius: 50%;
    vertical-align: middle;
    animation: customCheckoutSpin .7s linear infinite;
}

@keyframes customCheckoutSpin {
    to {
        transform: rotate(360deg);
    }
}



/* =========================================================
   Registration / Checkout V16 - improved mobile layout
   ========================================================= */

/* Because the source order is now order-card first for mobile,
   force the correct left/right placement on desktop. */
@media (min-width: 761px) {
    .main_content_style .custom_checkout_grid {
        display: grid !important;
        grid-template-columns: minmax(0, 38%) minmax(0, 62%) !important;
        gap: 14px !important;
        align-items: start !important;
    }

    .main_content_style .custom_customer_card {
        grid-column: 1 !important;
        grid-row: 1 !important;
    }

    .main_content_style .custom_order_card {
        grid-column: 2 !important;
        grid-row: 1 !important;
    }
}

@media (max-width: 760px) {
    .main_content_style .custom_checkout_page {
        padding: 8px 0 22px !important;
        background: #eef4fb !important;
        overflow-x: hidden !important;
    }

    .main_content_style .custom_checkout_wrap {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 8px !important;
        margin: 0 !important;
    }

    .main_content_style .custom_checkout_notice {
        width: 100% !important;
        margin: 0 0 10px !important;
        padding: 10px 11px !important;
        border: 1px solid #d7efe3 !important;
        border-top: 3px solid #0dae57 !important;
        border-bottom: 3px solid #0dae57 !important;
        border-radius: 7px !important;
        background: #ffffff !important;
        font-size: 12px !important;
        line-height: 1.75 !important;
    }

    .main_content_style .custom_checkout_grid {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        max-width: 100% !important;
        gap: 12px !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .main_content_style .custom_order_card,
    .main_content_style .custom_customer_card,
    .main_content_style .custom_checkout_card {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        margin: 0 !important;
        border-radius: 10px !important;
        overflow: hidden !important;
        box-shadow: 0 6px 18px rgba(17, 48, 62, .08) !important;
    }

    .main_content_style .custom_order_card {
        order: 1 !important;
    }

    .main_content_style .custom_customer_card {
        order: 2 !important;
    }

    .main_content_style .custom_checkout_card_head {
        padding: 13px 14px !important;
    }

    .main_content_style .custom_order_head {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
    }

    .main_content_style .custom_order_head h3,
    .main_content_style .custom_checkout_card_head h3 {
        font-size: 18px !important;
        line-height: 1.3 !important;
    }

    .main_content_style .custom_order_head p {
        min-width: auto !important;
        padding: 5px 10px !important;
        font-size: 12px !important;
    }

    .main_content_style .custom_order_table_area {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
        overflow: visible !important;
    }

    .main_content_style .custom_order_table {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        table-layout: fixed !important;
        margin: 0 !important;
        border: 0 !important;
    }

    .main_content_style .custom_order_table thead {
        display: none !important;
    }

    .main_content_style .custom_order_table tbody {
        display: block !important;
        width: 100% !important;
    }

    .main_content_style .custom_order_table tbody tr {
        display: grid !important;
        grid-template-columns: 1fr auto !important;
        grid-template-areas:
            "product remove"
            "qty price" !important;
        column-gap: 10px !important;
        row-gap: 10px !important;
        width: 100% !important;
        padding: 12px !important;
        margin: 0 !important;
        border-bottom: 1px solid #edf1f3 !important;
        background: #ffffff !important;
    }

    .main_content_style .custom_order_table tbody tr:last-child {
        border-bottom: 0 !important;
    }

    .main_content_style .custom_order_table tbody td {
        display: block !important;
        width: auto !important;
        max-width: 100% !important;
        min-width: 0 !important;
        padding: 0 !important;
        border: 0 !important;
    }

    .main_content_style .custom_order_product_td {
        grid-area: product !important;
    }

    .main_content_style .custom_order_table td.custom_center:nth-child(2) {
        grid-area: qty !important;
        display: flex !important;
        align-items: center !important;
        justify-content: flex-start !important;
        margin: 0 !important;
        text-align: left !important;
    }

    .main_content_style .custom_order_table td.custom_right {
        grid-area: price !important;
        display: flex !important;
        align-items: center !important;
        justify-content: flex-end !important;
        margin: 0 !important;
        text-align: right !important;
        font-size: 17px !important;
    }

    .main_content_style .custom_order_table td.custom_center:nth-child(4) {
        grid-area: remove !important;
        display: flex !important;
        align-items: flex-start !important;
        justify-content: flex-end !important;
        text-align: right !important;
    }

    .main_content_style .custom_order_product {
        display: grid !important;
        grid-template-columns: 78px minmax(0, 1fr) !important;
        gap: 10px !important;
        align-items: center !important;
        width: 100% !important;
        min-width: 0 !important;
        padding: 0 !important;
    }

    .main_content_style .custom_order_product img {
        width: 78px !important;
        height: 78px !important;
        flex: 0 0 78px !important;
        border-radius: 8px !important;
    }

    .main_content_style .custom_order_product strong {
        max-width: 100% !important;
        min-width: 0 !important;
        color: #e60012 !important;
        font-size: 13px !important;
        line-height: 1.45 !important;
        -webkit-line-clamp: 2 !important;
    }

    .main_content_style .custom_order_product span {
        margin-top: 4px !important;
        color: #61707b !important;
        font-size: 11px !important;
        font-weight: 800 !important;
    }

    .main_content_style .custom_cart_qty {
        grid-template-columns: 40px 42px 40px !important;
        height: 40px !important;
        border-radius: 6px !important;
    }

    .main_content_style .custom_cart_qty button,
    .main_content_style .custom_cart_qty span {
        height: 38px !important;
        font-size: 17px !important;
    }

    .main_content_style .custom_remove_item {
        position: static !important;
        width: 38px !important;
        height: 38px !important;
        border-radius: 8px !important;
        font-size: 20px !important;
    }

    .main_content_style .custom_order_price {
        white-space: nowrap !important;
        color: #17212b !important;
        font-size: 17px !important;
        font-weight: 1000 !important;
    }

    .main_content_style .custom_order_summary {
        padding: 12px 14px 15px !important;
        background: #ffffff !important;
        border-top: 1px solid #edf1f3 !important;
    }

    .main_content_style .custom_order_summary div {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 10px !important;
        padding: 9px 0 !important;
    }

    .main_content_style .custom_order_summary span {
        min-width: 0 !important;
        text-align: left !important;
        font-size: 14px !important;
    }

    .main_content_style .custom_order_summary strong {
        min-width: 0 !important;
        text-align: right !important;
        font-size: 15px !important;
    }

    .main_content_style .custom_order_summary .custom_grand_total strong {
        font-size: 20px !important;
        color: #087a49 !important;
    }

    .main_content_style .custom_checkout_form {
        padding: 14px !important;
    }

    .main_content_style .custom_form_group {
        margin-bottom: 13px !important;
    }

    .main_content_style .custom_form_group label {
        font-size: 14px !important;
        margin-bottom: 7px !important;
    }

    .main_content_style .custom_form_group input,
    .main_content_style .custom_form_group select {
        height: 48px !important;
        min-height: 48px !important;
        font-size: 15px !important;
    }

    .main_content_style .custom_form_group textarea {
        min-height: 112px !important;
        font-size: 15px !important;
    }

    .main_content_style .custom_phone_input span {
        height: 48px !important;
        flex: 0 0 54px !important;
    }

    .main_content_style .custom_confirm_order_btn {
        height: 52px !important;
        font-size: 19px !important;
        border-radius: 7px !important;
    }

    .main_content_style .custom_checkout_warning {
        font-size: 12px !important;
        line-height: 1.65 !important;
        padding: 10px 12px !important;
    }
}

@media (max-width: 390px) {
    .main_content_style .custom_order_product {
        grid-template-columns: 68px minmax(0, 1fr) !important;
    }

    .main_content_style .custom_order_product img {
        width: 68px !important;
        height: 68px !important;
    }

    .main_content_style .custom_cart_qty {
        grid-template-columns: 36px 38px 36px !important;
    }

    .main_content_style .custom_cart_qty button,
    .main_content_style .custom_cart_qty span {
        font-size: 16px !important;
    }

    .main_content_style .custom_order_price {
        font-size: 15px !important;
    }
}



/* =========================================================
   Registration / Checkout V17 - mobile customer form first
   ========================================================= */

@media (max-width: 760px) {
    .main_content_style .custom_customer_card {
        order: 1 !important;
    }

    .main_content_style .custom_order_card {
        order: 2 !important;
    }
}



/* =========================================================
   Confirm / Invoice Page V18
   ========================================================= */

.main_content_style .custom_confirm_page,
.main_content_style .custom_confirm_page * {
    box-sizing: border-box;
}

.main_content_style .custom_confirm_page {
    min-height: 560px;
    padding: 24px 0 55px;
    background: #f4f7f8;
    font-family: "Hind Siliguri", sans-serif;
    color: #202b34;
}

.main_content_style .custom_confirm_wrap {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
}

.main_content_style .custom_success_box {
    display: grid;
    grid-template-columns: 68px 1fr;
    gap: 18px;
    align-items: center;
    margin-bottom: 18px;
    padding: 24px 28px;
    border-radius: 10px;
    background-image: radial-gradient(circle farthest-corner at 10% 20%, rgba(14,174,87,1) 0%, rgba(12,116,117,1) 90%);
    color: #ffffff;
    box-shadow: 0 10px 28px rgba(11, 115, 93, .2);
}

.main_content_style .custom_success_icon {
    width: 62px;
    height: 62px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, .17);
    border: 3px solid rgba(255, 255, 255, .85);
    color: #ffffff;
    font-size: 37px;
    font-weight: 900;
    line-height: 1;
}

.main_content_style .custom_success_box h1 {
    margin: 0 0 8px;
    color: #ffffff;
    font-size: 27px;
    font-weight: 900;
    line-height: 1.35;
}

.main_content_style .custom_success_box p {
    margin: 0;
    color: #ffffff;
    font-size: 18px;
    font-weight: 800;
    line-height: 1.6;
}

.main_content_style .custom_invoice_actions {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin: 0 0 18px;
}

.main_content_style .custom_invoice_actions a,
.main_content_style .custom_invoice_actions button {
    min-width: 150px;
    height: 42px;
    border: 0;
    border-radius: 6px;
    color: #ffffff;
    font-family: "Hind Siliguri", sans-serif;
    font-size: 15px;
    font-weight: 900;
    line-height: 42px;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
}

.main_content_style .custom_continue_btn {
    background: #26323b;
}

.main_content_style .custom_print_btn {
    background: #0dae57;
}

.main_content_style .custom_download_btn {
    background: linear-gradient(135deg, #e60023 0%, #8a0038 100%);
}

.main_content_style .custom_invoice_box {
    overflow: hidden;
    border: 1px solid #e1e7eb;
    border-radius: 10px;
    background: #ffffff;
    box-shadow: 0 10px 28px rgba(17, 48, 62, .08);
}

.main_content_style .custom_invoice_header {
    display: grid;
    grid-template-columns: 1fr 220px;
    gap: 18px;
    align-items: center;
    padding: 22px 24px;
    border-bottom: 1px solid #e8eef1;
    background: #ffffff;
}

.main_content_style .custom_invoice_brand {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.main_content_style .custom_invoice_brand img {
    width: 135px;
    max-height: 65px;
    object-fit: contain;
}

.main_content_style .custom_invoice_brand h2 {
    margin: 0 0 5px;
    color: #17212b;
    font-size: 22px;
    font-weight: 900;
}

.main_content_style .custom_invoice_brand p {
    margin: 0;
    color: #5a6670;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.6;
}

.main_content_style .custom_invoice_meta {
    text-align: right;
}

.main_content_style .custom_invoice_meta h3 {
    margin: 0 0 8px;
    color: #087572;
    font-size: 28px;
    font-weight: 1000;
    letter-spacing: 1px;
}

.main_content_style .custom_invoice_meta p {
    margin: 3px 0;
    color: #202b34;
    font-size: 13px;
    font-weight: 800;
}

.main_content_style .custom_customer_message {
    margin: 18px 24px 0;
    padding: 12px 14px;
    border-left: 4px solid #0dae57;
    border-radius: 6px;
    background: #f3fbf7;
    color: #26323b;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.65;
}

.main_content_style .custom_customer_message strong,
.main_content_style .custom_customer_message a {
    color: #e60023;
    font-weight: 1000;
    text-decoration: none;
}

.main_content_style .custom_invoice_mobile_title {
    display: none;
}

.main_content_style .custom_invoice_table {
    width: calc(100% - 48px);
    margin: 22px 24px 0;
    border-collapse: separate;
    border-spacing: 0;
    border: 1px solid #edf1f3;
    border-radius: 8px;
    overflow: hidden;
}

.main_content_style .custom_invoice_table th {
    padding: 12px 13px;
    background: #f6f9fa;
    border-bottom: 1px solid #edf1f3;
    color: #4e5c66;
    font-size: 13px;
    font-weight: 900;
    text-align: left;
}

.main_content_style .custom_invoice_table td {
    padding: 13px;
    border-bottom: 1px solid #edf1f3;
    color: #202b34;
    font-size: 13px;
    font-weight: 800;
    vertical-align: middle;
}

.main_content_style .custom_invoice_table tbody tr:last-child td {
    border-bottom: 0;
}

.main_content_style .custom_invoice_product {
    display: flex;
    align-items: center;
    gap: 12px;
}

.main_content_style .custom_invoice_product img {
    width: 70px;
    height: 70px;
    object-fit: contain;
    border: 1px solid #edf1f3;
    border-radius: 6px;
    background: #ffffff;
}

.main_content_style .custom_invoice_product strong {
    display: block;
    color: #17212b;
    font-size: 14px;
    font-weight: 900;
    line-height: 1.45;
}

.main_content_style .custom_invoice_product span {
    display: block;
    margin-top: 4px;
    color: #798691;
    font-size: 11px;
    font-weight: 700;
}

.main_content_style .custom_center {
    text-align: center !important;
}

.main_content_style .custom_right {
    text-align: right !important;
}

.main_content_style .custom_invoice_summary {
    width: 360px;
    margin: 18px 24px 0 auto;
    padding: 10px 0;
}

.main_content_style .custom_invoice_summary div {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding: 9px 0;
    border-bottom: 1px solid #edf1f3;
    font-size: 14px;
    font-weight: 900;
}

.main_content_style .custom_invoice_summary div:last-child {
    border-bottom: 0;
}

.main_content_style .custom_invoice_summary span {
    color: #51606b;
}

.main_content_style .custom_invoice_summary strong {
    color: #17212b;
}

.main_content_style .custom_invoice_summary .custom_invoice_grand {
    margin-top: 4px;
    padding-top: 14px;
    border-top: 2px solid #edf1f3;
}

.main_content_style .custom_invoice_summary .custom_invoice_grand strong {
    color: #0a7a49;
    font-size: 20px;
}

.main_content_style .custom_invoice_footer_note {
    margin: 15px 24px 24px;
    padding: 14px 16px;
    border-radius: 7px;
    background: #fffdf2;
    border: 1px solid #ffe08a;
}

.main_content_style .custom_invoice_footer_note p {
    margin: 0;
    color: #33414b;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.65;
}

.main_content_style .custom_invoice_signature {
    margin-top: 10px !important;
    text-align: right;
    color: #087572 !important;
}

/* Mobile POS invoice style */
@media (max-width: 760px) {
    .main_content_style .custom_confirm_page {
        padding: 10px 0 25px;
        background: #eef4fb;
    }

    .main_content_style .custom_confirm_wrap {
        max-width: 100%;
        padding: 0 10px;
    }

    .main_content_style .custom_success_box {
        grid-template-columns: 42px 1fr;
        gap: 10px;
        padding: 15px 13px;
        margin-bottom: 12px;
        border-radius: 9px;
    }

    .main_content_style .custom_success_icon {
        width: 40px;
        height: 40px;
        font-size: 24px;
        border-width: 2px;
    }

    .main_content_style .custom_success_box h1 {
        font-size: 18px;
        line-height: 1.45;
    }

    .main_content_style .custom_success_box p {
        font-size: 13px;
        line-height: 1.65;
    }

    .main_content_style .custom_invoice_actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
        margin-bottom: 12px;
    }

    .main_content_style .custom_invoice_actions a,
    .main_content_style .custom_invoice_actions button {
        min-width: 0;
        width: 100%;
        height: 40px;
        font-size: 13px;
        line-height: 40px;
        border-radius: 6px;
    }

    .main_content_style .custom_invoice_actions .custom_continue_btn {
        grid-column: 1 / 3;
    }

    .main_content_style .custom_invoice_box {
        border-radius: 10px;
        box-shadow: 0 6px 18px rgba(17, 48, 62, .08);
    }

    .main_content_style .custom_invoice_header {
        display: block;
        padding: 15px 12px;
        text-align: center;
    }

    .main_content_style .custom_invoice_brand {
        display: block;
        text-align: center;
    }

    .main_content_style .custom_invoice_brand img {
        width: 135px;
        max-height: 55px;
        margin: 0 auto 8px;
    }

    .main_content_style .custom_invoice_brand h2 {
        font-size: 18px;
    }

    .main_content_style .custom_invoice_brand p {
        font-size: 11px;
    }

    .main_content_style .custom_invoice_meta {
        margin-top: 12px;
        padding-top: 12px;
        border-top: 1px dashed #d8e0e4;
        text-align: center;
    }

    .main_content_style .custom_invoice_meta h3 {
        font-size: 22px;
    }

    .main_content_style .custom_customer_message {
        margin: 12px;
        padding: 10px 11px;
        font-size: 12px;
        line-height: 1.65;
    }

    .main_content_style .custom_invoice_mobile_title {
        display: block;
        margin: 0 12px 8px;
        color: #17212b;
        font-size: 15px;
        font-weight: 900;
    }

    .main_content_style .custom_invoice_table,
    .main_content_style .custom_invoice_table thead,
    .main_content_style .custom_invoice_table tbody,
    .main_content_style .custom_invoice_table tr,
    .main_content_style .custom_invoice_table td {
        display: block;
        width: 100%;
    }

    .main_content_style .custom_invoice_table {
        width: auto;
        margin: 0 12px;
        border-radius: 8px;
        overflow: hidden;
    }

    .main_content_style .custom_invoice_table thead {
        display: none;
    }

    .main_content_style .custom_invoice_table tbody tr {
        display: grid;
        grid-template-columns: 1fr auto;
        grid-template-areas:
            "product total"
            "qty unit";
        gap: 7px 10px;
        padding: 10px;
        border-bottom: 1px solid #edf1f3;
    }

    .main_content_style .custom_invoice_table tbody tr:last-child {
        border-bottom: 0;
    }

    .main_content_style .custom_invoice_table td {
        padding: 0;
        border: 0;
    }

    .main_content_style .custom_invoice_product_td {
        grid-area: product;
    }

    .main_content_style .custom_invoice_table td:nth-child(2) {
        grid-area: qty;
        text-align: left !important;
        color: #5b6872;
        font-size: 12px;
    }

    .main_content_style .custom_invoice_table td:nth-child(2)::before {
        content: "Qty: ";
        font-weight: 900;
    }

    .main_content_style .custom_invoice_table td:nth-child(3) {
        grid-area: unit;
        text-align: right;
        color: #5b6872;
        font-size: 12px;
    }

    .main_content_style .custom_invoice_table td:nth-child(3)::before {
        content: "Unit: ";
        font-weight: 900;
    }

    .main_content_style .custom_invoice_table td:nth-child(4) {
        grid-area: total;
        text-align: right !important;
        color: #e60012;
        font-size: 14px;
        font-weight: 1000;
        white-space: nowrap;
    }

    .main_content_style .custom_invoice_product {
        gap: 9px;
        align-items: flex-start;
    }

    .main_content_style .custom_invoice_product img {
        width: 58px;
        height: 58px;
        border-radius: 6px;
    }

    .main_content_style .custom_invoice_product strong {
        display: -webkit-box;
        max-width: 170px;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        font-size: 12px;
    }

    .main_content_style .custom_invoice_product span {
        font-size: 10px;
    }

    .main_content_style .custom_invoice_summary {
        width: auto;
        margin: 12px;
        padding: 9px 0 0;
    }

    .main_content_style .custom_invoice_summary div {
        padding: 8px 0;
        font-size: 13px;
    }

    .main_content_style .custom_invoice_summary .custom_invoice_grand strong {
        font-size: 18px;
    }

    .main_content_style .custom_invoice_footer_note {
        margin: 12px;
        padding: 11px;
    }

    .main_content_style .custom_invoice_footer_note p {
        font-size: 11px;
    }
}

/* Print / PDF */
@media print {
    body {
        background: #ffffff !important;
    }

    body * {
        visibility: hidden !important;
    }

    #customInvoiceArea,
    #customInvoiceArea * {
        visibility: visible !important;
    }

    #customInvoiceArea {
        position: absolute !important;
        left: 0 !important;
        top: 0 !important;
        width: 100% !important;
        margin: 0 !important;
        border: 0 !important;
        box-shadow: none !important;
    }

    .no-print,
    header,
    footer,
    .header-classic {
        display: none !important;
    }

    .main_content_style .custom_invoice_box {
        border: 0 !important;
        box-shadow: none !important;
    }

    @page {
        size: A4;
        margin: 10mm;
    }
}



/* =========================================================
   Confirm / Invoice Page V19 - remove company title, logo above address
   ========================================================= */

.main_content_style .custom_invoice_brand {
    display: block !important;
    text-align: left !important;
}

.main_content_style .custom_invoice_brand img {
    display: block !important;
    width: 150px !important;
    max-width: 100% !important;
    max-height: 68px !important;
    margin: 0 0 10px 0 !important;
    object-fit: contain !important;
}

.main_content_style .custom_invoice_brand_info {
    display: block !important;
}

.main_content_style .custom_invoice_brand_info p {
    margin: 0 !important;
    color: #5a6670 !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    line-height: 1.7 !important;
}

@media (max-width: 760px) {
    .main_content_style .custom_invoice_brand {
        text-align: center !important;
    }

    .main_content_style .custom_invoice_brand img {
        margin: 0 auto 8px !important;
    }

    .main_content_style .custom_invoice_brand_info p {
        font-size: 11px !important;
    }
}



/* =========================================================
   V22 Smart Professional Footer
   Mobile friendly + logo inspired teal/orange theme
   ========================================================= */

.main_content_style {
    --custom_footer_teal: #149fa4;
    --custom_footer_deep: #0b6972;
    --custom_footer_green: #12a46b;
    --custom_footer_orange: #f39b22;
    --custom_footer_text: #eafcff;
    --custom_footer_muted: rgba(234, 252, 255, .78);
}

.main_content_style footer .grid-rows,
.main_content_style footer .grid-row,
.main_content_style footer .grid-cols,
.main_content_style footer .grid-col,
.main_content_style footer .grid-items,
.main_content_style footer .grid-item,
.main_content_style footer .links-menu,
.main_content_style footer .icons-menu {
    display: none !important;
}

.main_content_style .custom_professional_footer,
.main_content_style .custom_professional_footer * {
    box-sizing: border-box;
}

.main_content_style .custom_professional_footer {
    position: relative;
    margin-top: 34px;
    overflow: hidden;
    background:
        radial-gradient(circle at 12% 0%, rgba(255,255,255,.18) 0%, transparent 24%),
        radial-gradient(circle at 88% 20%, rgba(243,155,34,.22) 0%, transparent 28%),
        linear-gradient(135deg, var(--custom_footer_deep) 0%, var(--custom_footer_teal) 52%, var(--custom_footer_green) 100%);
    color: var(--custom_footer_text);
    font-family: "Hind Siliguri", sans-serif;
}

.main_content_style .custom_footer_wave {
    height: 5px;
    background: linear-gradient(90deg, var(--custom_footer_orange) 0%, #ffe1a6 45%, var(--custom_footer_orange) 100%);
}

.main_content_style .custom_footer_container {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 18px;
}

.main_content_style .custom_footer_main {
    display: grid;
    grid-template-columns: 1.35fr .85fr 1.1fr .95fr;
    gap: 24px;
    padding: 34px 0 26px;
}

.main_content_style .custom_footer_logo_area {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    min-height: 60px;
    padding: 8px 12px;
    border-radius: 14px;
    background: rgba(255,255,255,.95);
    box-shadow: 0 10px 25px rgba(0,0,0,.13);
    text-decoration: none;
}

.main_content_style .custom_footer_logo_area img {
    display: block;
    width: auto;
    max-width: 185px;
    height: 48px;
    object-fit: contain;
}

.main_content_style .custom_footer_brand_box p,
.main_content_style .custom_footer_social_card p {
    margin: 16px 0 0;
    max-width: 330px;
    color: var(--custom_footer_muted);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.85;
}

.main_content_style .custom_footer_badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 17px;
}

.main_content_style .custom_footer_badges span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 30px;
    padding: 5px 10px;
    border-radius: 999px;
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.16);
    color: #ffffff;
    font-size: 12px;
    font-weight: 900;
}

.main_content_style .custom_footer_badges i {
    color: #ffd999;
}

.main_content_style .custom_footer_card h4 {
    position: relative;
    margin: 5px 0 18px;
    color: #ffffff;
    font-size: 18px;
    font-weight: 900;
    line-height: 1.2;
}

.main_content_style .custom_footer_card h4::after {
    content: "";
    display: block;
    width: 42px;
    height: 3px;
    margin-top: 9px;
    border-radius: 3px;
    background: var(--custom_footer_orange);
}

.main_content_style .custom_footer_menu,
.main_content_style .custom_footer_contact {
    margin: 0;
    padding: 0;
    list-style: none;
}

.main_content_style .custom_footer_menu li,
.main_content_style .custom_footer_contact li {
    margin: 0 0 11px;
}

.main_content_style .custom_footer_menu a,
.main_content_style .custom_footer_contact a,
.main_content_style .custom_footer_contact span {
    color: var(--custom_footer_muted);
    text-decoration: none;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.65;
    transition: all .18s ease;
}

.main_content_style .custom_footer_menu a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.main_content_style .custom_footer_menu a i {
    color: #ffd999;
    font-size: 15px;
}

.main_content_style .custom_footer_menu a:hover,
.main_content_style .custom_footer_contact a:hover {
    color: #ffffff;
    transform: translateX(3px);
}

.main_content_style .custom_footer_contact li {
    display: grid;
    grid-template-columns: 32px 1fr;
    align-items: flex-start;
    gap: 8px;
}

.main_content_style .custom_footer_contact li > i {
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255,255,255,.13);
    color: #ffd999;
    font-size: 14px;
}

.main_content_style .custom_footer_social_links {
    display: flex;
    align-items: center;
    gap: 11px;
    margin-top: 16px;
}

.main_content_style .custom_footer_social_links a {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255,255,255,.14);
    border: 1px solid rgba(255,255,255,.18);
    color: #ffffff;
    font-size: 18px;
    text-decoration: none;
    transition: all .18s ease;
}

.main_content_style .custom_footer_social_links a:hover {
    transform: translateY(-3px);
    background: var(--custom_footer_orange);
    box-shadow: 0 12px 20px rgba(0,0,0,.16);
}

.main_content_style .custom_footer_call_btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 145px;
    height: 40px;
    margin-top: 18px;
    padding: 0 16px;
    border-radius: 999px;
    background: #ffffff;
    color: var(--custom_footer_deep);
    text-decoration: none;
    font-size: 14px;
    font-weight: 900;
    box-shadow: 0 10px 22px rgba(0,0,0,.14);
    transition: all .18s ease;
}

.main_content_style .custom_footer_call_btn:hover {
    transform: translateY(-2px);
    color: #ffffff;
    background: var(--custom_footer_orange);
}

.main_content_style .custom_footer_bottom_bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 16px 0 18px;
    border-top: 1px solid rgba(255,255,255,.15);
    flex-direction: column;
}

.main_content_style .custom_footer_copyright,
.main_content_style .custom_footer_developer {
    color: rgba(255,255,255,.92);
    font-size: 14px;
    font-weight: 900;
    line-height: 1.5;
}

.main_content_style .custom_footer_developer a {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 2px 10px;
    border-radius: 999px;
    background: rgba(255,255,255,.13);
    color: #fff5d6;
    text-decoration: none;
    font-weight: 900;
}

/* Tablet */
@media (max-width: 991px) {
    .main_content_style .custom_footer_main {
        grid-template-columns: 1fr 1fr;
        gap: 24px 20px;
    }
}

/* Mobile */
@media (max-width: 760px) {
    .main_content_style .custom_professional_footer {
        margin-top: 18px !important;
        border-radius: 18px 18px 0 0;
    }

    .main_content_style .custom_footer_container {
        padding: 0 14px;
    }

    .main_content_style .custom_footer_main {
        display: grid;
        grid-template-columns: 1fr;
        gap: 18px;
        padding: 24px 0 18px;
        text-align: center;
    }

    .main_content_style .custom_footer_logo_area {
        justify-content: center;
        margin: 0 auto;
        min-height: 58px;
        padding: 8px 13px;
    }

    .main_content_style .custom_footer_logo_area img {
        max-width: 170px;
        height: 45px;
    }

    .main_content_style .custom_footer_brand_box p,
    .main_content_style .custom_footer_social_card p {
        margin-left: auto;
        margin-right: auto;
        font-size: 13px;
        line-height: 1.75;
    }

    .main_content_style .custom_footer_badges {
        justify-content: center;
    }

    .main_content_style .custom_footer_card {
        padding: 16px 13px;
        border-radius: 16px;
        background: rgba(255,255,255,.08);
        border: 1px solid rgba(255,255,255,.11);
    }

    .main_content_style .custom_footer_card h4 {
        margin: 0 0 14px;
        font-size: 17px;
    }

    .main_content_style .custom_footer_card h4::after {
        margin-left: auto;
        margin-right: auto;
    }

    .main_content_style .custom_footer_menu li,
    .main_content_style .custom_footer_contact li {
        margin-bottom: 9px;
    }

    .main_content_style .custom_footer_menu a,
    .main_content_style .custom_footer_contact a,
    .main_content_style .custom_footer_contact span {
        font-size: 13px;
    }

    .main_content_style .custom_footer_contact li {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
    }

    .main_content_style .custom_footer_contact li > i {
        width: 28px;
        height: 28px;
        flex: 0 0 28px;
    }

    .main_content_style .custom_footer_social_links {
        justify-content: center;
    }

    .main_content_style .custom_footer_social_links a {
        width: 40px;
        height: 40px;
        font-size: 17px;
    }

    .main_content_style .custom_footer_call_btn {
        width: 100%;
        max-width: 230px;
        margin-left: auto;
        margin-right: auto;
    }

    .main_content_style .custom_footer_bottom_bar {
        flex-direction: column;
        gap: 9px;
        text-align: center;
        padding: 14px 0 17px;
    }

    .main_content_style .custom_footer_copyright,
    .main_content_style .custom_footer_developer {
        font-size: 12px;
    }
}



/* =========================================================
   V23 Mobile Footer Color Fix
   Fix: old mobile footer rules used background: transparent !important,
   so the smart footer became pale and white text was unreadable.
   This block must stay at the END of custom_style.css.
   ========================================================= */

.main_content_style footer.custom_professional_footer {
    background:
        radial-gradient(circle at 16% 0%, rgba(255, 255, 255, .12) 0%, transparent 22%),
        radial-gradient(circle at 86% 10%, rgba(245, 154, 35, .28) 0%, transparent 28%),
        linear-gradient(135deg, #063f48 0%, #08767d 46%, #0d9a91 100%) !important;
    color: #ffffff !important;
}

.main_content_style footer.custom_professional_footer .custom_footer_wave {
    background: linear-gradient(90deg, #f39b22 0%, #ffd28a 48%, #f39b22 100%) !important;
}

.main_content_style footer.custom_professional_footer .custom_footer_logo_area {
    background: #ffffff !important;
    box-shadow: 0 12px 26px rgba(0, 0, 0, .22) !important;
}

.main_content_style footer.custom_professional_footer .custom_footer_brand_box p,
.main_content_style footer.custom_professional_footer .custom_footer_social_card p,
.main_content_style footer.custom_professional_footer .custom_footer_menu a,
.main_content_style footer.custom_professional_footer .custom_footer_contact a,
.main_content_style footer.custom_professional_footer .custom_footer_contact span {
    color: rgba(255, 255, 255, .94) !important;
}

.main_content_style footer.custom_professional_footer .custom_footer_card h4 {
    color: #ffffff !important;
    text-shadow: 0 1px 2px rgba(0,0,0,.18) !important;
}

.main_content_style footer.custom_professional_footer .custom_footer_card h4::after {
    background: #f39b22 !important;
}

.main_content_style footer.custom_professional_footer .custom_footer_badges span,
.main_content_style footer.custom_professional_footer .custom_footer_card {
    background: rgba(0, 52, 58, .26) !important;
    border-color: rgba(255, 255, 255, .18) !important;
    padding:10px 20px;
}

.main_content_style footer.custom_professional_footer .custom_footer_contact li > i,
.main_content_style footer.custom_professional_footer .custom_footer_social_links a {
    background: rgba(255, 255, 255, .16) !important;
    color: #ffffff !important;
    border-color: rgba(255, 255, 255, .22) !important;
}

.main_content_style footer.custom_professional_footer .custom_footer_menu a i,
.main_content_style footer.custom_professional_footer .custom_footer_badges i,
.main_content_style footer.custom_professional_footer .custom_footer_contact li > i {
    color: #ffd18a !important;
}

.main_content_style footer.custom_professional_footer .custom_footer_call_btn {
    background: #ffffff !important;
    color: #00646b !important;
    box-shadow: 0 12px 24px rgba(0, 0, 0, .22) !important;
}

.main_content_style footer.custom_professional_footer .custom_footer_call_btn i {
    color: #00646b !important;
}

.main_content_style footer.custom_professional_footer .custom_footer_bottom_bar {
    border-top-color: rgba(255, 255, 255, .2) !important;
}

.main_content_style footer.custom_professional_footer .custom_footer_copyright,
.main_content_style footer.custom_professional_footer .custom_footer_developer {
    color: rgba(255, 255, 255, .96) !important;
}

.main_content_style footer.custom_professional_footer .custom_footer_developer a {
    color: #ffffff !important;
    background: rgba(243, 155, 34, .32) !important;
    border: 1px solid rgba(255, 209, 138, .38) !important;
}

/* Mobile-specific stronger override */
@media (max-width: 760px) {
    .main_content_style footer.custom_professional_footer {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        margin-top: 18px !important;
        padding: 0 !important;
        border-radius: 18px 18px 0 0 !important;
        background:
            radial-gradient(circle at 18% 0%, rgba(255, 255, 255, .13) 0%, transparent 24%),
            radial-gradient(circle at 92% 12%, rgba(245, 154, 35, .30) 0%, transparent 30%),
            linear-gradient(160deg, #053942 0%, #086f78 50%, #0b9188 100%) !important;
        box-shadow: 0 -12px 26px rgba(5, 45, 55, .15) !important;
    }

    .main_content_style footer.custom_professional_footer .custom_footer_container {
        padding: 0 14px !important;
    }

    .main_content_style footer.custom_professional_footer .custom_footer_main {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 15px !important;
        padding: 24px 0 18px !important;
        text-align: center !important;
    }

    .main_content_style footer.custom_professional_footer .custom_footer_brand_box,
    .main_content_style footer.custom_professional_footer .custom_footer_card {
        width: 100% !important;
        max-width: 100% !important;
    }

    .main_content_style footer.custom_professional_footer .custom_footer_card {
        padding: 16px 13px !important;
        border-radius: 16px !important;
        background: rgba(0, 45, 55, .34) !important;
        border: 1px solid rgba(255, 255, 255, .18) !important;
        box-shadow: 0 8px 18px rgba(0, 0, 0, .10) !important;
        backdrop-filter: none !important;
    }

    .main_content_style footer.custom_professional_footer .custom_footer_logo_area {
        display: inline-flex !important;
        justify-content: center !important;
        margin: 0 auto !important;
        min-height: 58px !important;
        padding: 8px 14px !important;
        border-radius: 13px !important;
        background: #ffffff !important;
        box-shadow: 0 11px 24px rgba(0, 0, 0, .22) !important;
    }

    .main_content_style footer.custom_professional_footer .custom_footer_logo_area img {
        max-width: 170px !important;
        height: 45px !important;
    }

    .main_content_style footer.custom_professional_footer .custom_footer_brand_box p,
    .main_content_style footer.custom_professional_footer .custom_footer_social_card p {
        margin-left: auto !important;
        margin-right: auto !important;
        color: rgba(255, 255, 255, .95) !important;
        font-size: 13px !important;
        line-height: 1.75 !important;
    }

    .main_content_style footer.custom_professional_footer .custom_footer_badges {
        justify-content: center !important;
        gap: 7px !important;
    }

    .main_content_style footer.custom_professional_footer .custom_footer_badges span {
        color: #ffffff !important;
        background: rgba(255, 255, 255, .13) !important;
        border: 1px solid rgba(255, 255, 255, .19) !important;
    }

    .main_content_style footer.custom_professional_footer .custom_footer_card h4 {
        margin: 0 0 14px !important;
        color: #ffffff !important;
        font-size: 17px !important;
        font-weight: 900 !important;
        opacity: 1 !important;
    }

    .main_content_style footer.custom_professional_footer .custom_footer_card h4::after {
        margin-left: auto !important;
        margin-right: auto !important;
        background: #f39b22 !important;
    }

    .main_content_style footer.custom_professional_footer .custom_footer_menu a,
    .main_content_style footer.custom_professional_footer .custom_footer_contact a,
    .main_content_style footer.custom_professional_footer .custom_footer_contact span {
        color: rgba(255, 255, 255, .95) !important;
        font-size: 13px !important;
        font-weight: 800 !important;
        opacity: 1 !important;
    }

    .main_content_style footer.custom_professional_footer .custom_footer_contact li {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 8px !important;
    }

    .main_content_style footer.custom_professional_footer .custom_footer_contact li > i {
        width: 28px !important;
        height: 28px !important;
        flex: 0 0 28px !important;
        color: #ffd18a !important;
        background: rgba(255, 255, 255, .15) !important;
    }

    .main_content_style footer.custom_professional_footer .custom_footer_social_links {
        justify-content: center !important;
    }

    .main_content_style footer.custom_professional_footer .custom_footer_social_links a {
        width: 40px !important;
        height: 40px !important;
        color: #ffffff !important;
        background: rgba(255, 255, 255, .15) !important;
        border: 1px solid rgba(255, 255, 255, .22) !important;
        opacity: 1 !important;
    }

    .main_content_style footer.custom_professional_footer .custom_footer_call_btn {
        width: 100% !important;
        max-width: 230px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        background: #ffffff !important;
        color: #00646b !important;
        font-weight: 900 !important;
    }

    .main_content_style footer.custom_professional_footer .custom_footer_bottom_bar {
        flex-direction: column !important;
        gap: 8px !important;
        text-align: center !important;
        padding: 14px 0 17px !important;
        border-top: 1px solid rgba(255, 255, 255, .20) !important;
    }

    .main_content_style footer.custom_professional_footer .custom_footer_copyright,
    .main_content_style footer.custom_professional_footer .custom_footer_developer {
        color: rgba(255, 255, 255, .96) !important;
        font-size: 12px !important;
        opacity: 1 !important;
    }

    .main_content_style footer.custom_professional_footer .custom_footer_developer a {
        color: #ffffff !important;
        background: rgba(243, 155, 34, .34) !important;
    }
}



/* =========================================================
   Product Category Page V24
   Professional category grid + mobile friendly cards
   ========================================================= */

.main_content_style .custom_category_page,
.main_content_style .custom_category_page * {
    box-sizing: border-box;
}

.main_content_style .custom_category_page {
    width: 100%;
    padding: 20px 0 42px;
    background: #f4f8fb;
    font-family: "Hind Siliguri", sans-serif;
    color: #1f2e38;
}

.main_content_style .custom_category_wrap {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
}

.main_content_style .custom_category_header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
    padding: 18px 20px;
    border-radius: 12px;
    background: radial-gradient(circle at 8% 0%, rgba(255,255,255,.28) 0%, transparent 28%),
                linear-gradient(135deg, #0b6972 0%, #149fa4 55%, #12a46b 100%);
    box-shadow: 0 10px 26px rgba(17, 48, 62, .10);
}

.main_content_style .custom_category_breadcrumb {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 6px;
    color: rgba(255,255,255,.85);
    font-size: 12px;
    font-weight: 800;
}

.main_content_style .custom_category_breadcrumb a,
.main_content_style .custom_category_breadcrumb span,
.main_content_style .custom_category_breadcrumb strong {
    color: rgba(255,255,255,.92);
    text-decoration: none;
}

.main_content_style .custom_category_header h1 {
    margin: 0;
    color: #ffffff;
    font-size: 28px;
    font-weight: 900;
    line-height: 1.25;
}

.main_content_style .custom_category_header p {
    margin: 7px 0 0;
    color: rgba(255,255,255,.88);
    font-size: 14px;
    font-weight: 700;
}

.main_content_style .custom_category_count {
    flex: 0 0 auto;
    min-width: 105px;
    min-height: 74px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: rgba(255,255,255,.14);
    border: 1px solid rgba(255,255,255,.18);
    color: #ffffff;
}

.main_content_style .custom_category_count strong {
    display: block;
    font-size: 26px;
    font-weight: 1000;
    line-height: 1;
}

.main_content_style .custom_category_count span {
    display: block;
    margin-top: 4px;
    font-size: 12px;
    font-weight: 900;
    opacity: .92;
}

.main_content_style .custom_category_grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 18px;
}

.main_content_style .custom_category_product_card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    border: 1px solid #e4ebef;
    border-radius: 10px;
    background: #ffffff;
    box-shadow: 0 6px 18px rgba(17, 48, 62, .06);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.main_content_style .custom_category_product_card:hover {
    transform: translateY(-3px);
    border-color: rgba(20, 159, 164, .34);
    box-shadow: 0 12px 26px rgba(17, 48, 62, .12);
}

.main_content_style .custom_category_product_image {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #ffffff;
    text-decoration: none;
}

.main_content_style .custom_category_product_image img {
    display: block;
    width: 100%;
    height: 100%;
    padding: 7px;
    object-fit: contain;
    transition: transform .22s ease;
}

.main_content_style .custom_category_product_card:hover .custom_category_product_image img {
    transform: scale(1.05);
}

.main_content_style .custom_category_discount {
    position: absolute;
    top: 10px;
    right: -27px;
    z-index: 3;
    width: 92px;
    height: 23px;
    line-height: 23px;
    transform: rotate(45deg);
    background: #e60023;
    color: #ffffff;
    text-align: center;
    font-size: 12px;
    font-weight: 900;
}

.main_content_style .custom_category_product_body {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    padding: 10px 9px 0;
    text-align: center;
}

.main_content_style .custom_category_product_name {
    display: -webkit-box;
    min-height: 40px;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: #1f2e38;
    font-size: 12px;
    font-weight: 900;
    line-height: 1.45;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
}

.main_content_style .custom_category_product_name:hover {
    color: #0b6972;
}

.main_content_style .custom_category_price {
    min-height: 28px;
    margin: 8px 0 10px;
    display: flex;
    align-items: baseline;
    justify-content: center;
    flex-wrap: wrap;
    gap: 5px;
}

.main_content_style .custom_category_price strong {
    color: #e60012;
    font-size: 16px;
    font-weight: 1000;
    line-height: 1.2;
}

.main_content_style .custom_category_price del {
    color: #89939b;
    font-size: 11px;
    font-weight: 700;
}

.main_content_style .custom_category_order_form {
    margin: auto -9px 0;
}

.main_content_style .custom_category_order_btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 42px;
    border: 0;
    border-radius: 0;
    background: linear-gradient(135deg, #149fa4 0%, #0b6972 100%);
    color: #ffffff;
    font-family: "Hind Siliguri", sans-serif;
    font-size: 16px;
    font-weight: 900;
    cursor: pointer;
    transition: background .18s ease;
}

.main_content_style .custom_category_order_btn:hover {
    background: linear-gradient(135deg, #f39b22 0%, #e67f00 100%);
}

.main_content_style .custom_category_empty {
    padding: 42px 20px;
    border-radius: 12px;
    background: #ffffff;
    text-align: center;
    box-shadow: 0 6px 18px rgba(17, 48, 62, .06);
}

.main_content_style .custom_category_empty h3 {
    margin: 0 0 8px;
    color: #1f2e38;
    font-size: 22px;
    font-weight: 900;
}

.main_content_style .custom_category_empty p {
    margin: 0 0 18px;
    color: #64717b;
    font-size: 14px;
    font-weight: 700;
}

.main_content_style .custom_category_empty a,
.main_content_style .custom_category_more_btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 160px;
    height: 42px;
    padding: 0 18px;
    border: 0;
    border-radius: 999px;
    background: #149fa4;
    color: #ffffff;
    text-decoration: none;
    font-size: 15px;
    font-weight: 900;
    cursor: pointer;
}

.main_content_style .custom_category_more_area {
    margin-top: 24px;
    text-align: center;
}

@media (max-width: 1100px) {
    .main_content_style .custom_category_wrap {
        padding-left: 14px;
        padding-right: 14px;
    }

    .main_content_style .custom_category_grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 15px;
    }
}

@media (max-width: 900px) {
    .main_content_style .custom_category_grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .main_content_style .custom_category_page {
        padding: 10px 0 24px;
        background: #eef4fb;
    }

    .main_content_style .custom_category_wrap {
        max-width: 100%;
        padding-left: 10px;
        padding-right: 10px;
    }

    .main_content_style .custom_category_header {
        display: block;
        margin-bottom: 12px;
        padding: 14px;
        border-radius: 10px;
    }

    .main_content_style .custom_category_breadcrumb {
        font-size: 11px;
        margin-bottom: 5px;
    }

    .main_content_style .custom_category_header h1 {
        font-size: 22px;
    }

    .main_content_style .custom_category_header p {
        font-size: 12px;
        line-height: 1.55;
    }

    .main_content_style .custom_category_count {
        width: 94px;
        min-width: 94px;
        min-height: 52px;
        margin-top: 12px;
        border-radius: 12px;
    }

    .main_content_style .custom_category_count strong {
        font-size: 20px;
    }

    .main_content_style .custom_category_count span {
        font-size: 10px;
    }

    .main_content_style .custom_category_grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 11px;
    }

    .main_content_style .custom_category_product_card {
        border-radius: 8px;
        box-shadow: 0 3px 12px rgba(17, 48, 62, .06);
    }

    .main_content_style .custom_category_product_image img {
        padding: 5px;
    }

    .main_content_style .custom_category_product_body {
        padding: 8px 6px 0;
    }

    .main_content_style .custom_category_product_name {
        min-height: 38px;
        font-size: 11px;
        line-height: 1.35;
    }

    .main_content_style .custom_category_price {
        min-height: 25px;
        margin: 7px 0 8px;
    }

    .main_content_style .custom_category_price strong {
        font-size: 15px;
    }

    .main_content_style .custom_category_price del {
        font-size: 10px;
    }

    .main_content_style .custom_category_order_form {
        margin-left: -6px;
        margin-right: -6px;
    }

    .main_content_style .custom_category_order_btn {
        height: 40px;
        font-size: 16px;
    }

    .main_content_style .custom_category_discount {
        top: 8px;
        right: -28px;
        width: 88px;
        height: 22px;
        line-height: 22px;
        font-size: 11px;
    }
}

@media (max-width: 370px) {
    .main_content_style .custom_category_grid {
        gap: 9px;
    }

    .main_content_style .custom_category_product_name {
        font-size: 10px;
    }

    .main_content_style .custom_category_price strong {
        font-size: 14px;
    }
}






















