:root {
    --content-width: calc(min(var(--content-space), 140rem));
    --content-space: calc(var(--window-width) - 30rem);
    --window-scrollbar: calc(100vw - 100%);
    --window-width: calc(100vw - var(--window-scrollbar));
    --blueColor: #231651;
}
body {
    background: #f5f6fa;
    font-family: 'Plus Jakarta Sans', sans-serif;
    padding: 0px;
    position: relative;
    z-index: 99999999;
    --window-scrollbar: calc(100vw - 100%);
    --window-width: calc(100vw - var(--window-scrollbar));
    @media (min-width: 1400px) {
        font-size: 1rem;
    }
}

h1,
h2,
h3 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 600;
}
p {
    font-weight: 400;
}
* {
    font-family: 'Plus Jakarta Sans', sans-serif !important;
     @media (min-width: 1400px) {
        font-size: 1rem;
    }
    }
.cursor-pointer {
    cursor: pointer;
}

.card-wrapper {
    background-color: #f5f3fd;
    padding: 30px 0;
}
.top-banner {
    background: #9de0e0;
}
.search-input {
    border-radius: 6px;
    padding: 12px 50px;
    height: 100%;
    font-size: 1rem;
    @media (min-width: 1400px) {
        font-size: 1rem;
    }
    @media (max-width: 768px) {
        padding: 10px 20px;
    }
}
.search-input:focus {
    box-shadow: none;
    border: 0;
}
.custom-card {
    border-radius: 16px;
    overflow: hidden;
    transition: 0.3s;
    box-shadow: 3px 6px 15.4px #D9D9D9;
    background: #faf9fe;
}
.custom-card .card-body {
    padding: 1rem 1rem 1.5rem;
    height: 100%;
}
.custom-card .card-body .card-heading {
    font-size: 1.3rem;
    color: var(--blueColor) !important;
}
.custom-card .card-body .small {
    flex-grow: 1;
    color: var(--blueColor) !important;
    font-size: 1rem;
}
.custom-card .card-body .card-ftr-text {
    font-size: 1rem;
    bottom: 20px;
    border-top: 1px solid #ccc;
    padding-top: 15px;
    margin: 0;
    display: block;
    color: #5438dc !important;
}
.custom-card .card-body .card-ftr-text .status-txt {
    padding-left: 3px;
    color: #4f4574;
}
.custom-card .card__logo {
    background-color: #fff;
    border-radius: 8px;
    display: block;
    height: 80px !important;
    left: 1rem;
    margin-top: -3rem;
    object-fit: contain;
    padding: .9rem;
    width: 80px !important;
}
.custom-card .card-img-top {
    height: auto;
    object-fit: cover;
}
.custom-card:hover {
    transform: translateY(-6px);
}
.footer-section {
    background: #201749;
    color: #ffffff;
}
.page-link {
    border-radius: 8px;
    margin: 0px 10px;
    background: transparent;
    border: 0;
    color: #1E1E1E;
    cursor: pointer;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
}
.page-item.active .page-link,
.page-item:hover .page-link {
    background-color: #2C2C2C;
    color: #fff;
}
.page-item.disabled .page-link,
.page-item.disabled:hover .page-link {
    background-color: transparent;
    cursor: not-allowed;
    color: #212529b5;
}
.footer-heading {
    margin-bottom: 15px;
    color: #726a90;
    font-size: 1rem;
}
.footer-link {
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
}
.footer-link:hover {
    color: #ffffff;
    cursor: pointer;
}
.footer-text {
    font-size: 1rem;
    color: #fff;
}
.icon-circle {
    width: 30px;
    height: 30px;
    background: #5438DC;
    border-radius: 50%;
    font-size: 14px;
}
.social-icon {
    width: 35px;
    height: 35px;
    background: #5438DC;
    border-radius: 50%;
    transition: 0.3s;
}
.social-icon:hover {
    background: #6c5ce7;
}
.footer-bottom {
    border-top: 1px solid #D9D9D957;
}
.category-wrapper {
    padding: 20px;
    background: #9de0e0;
}
.show-all-link {
    font-size: 1rem;
    color: #3b5bdb;
    text-decoration: underline;
}
.category-slider {
    overflow-x: auto;
    scroll-behavior: smooth;
}
.category-slider::-webkit-scrollbar {
    display: none;
}
.category-item {
    flex: 0 0 auto;
    width: 130px;
    text-align: center;
    padding: 10px;
}
.category-item:hover .icon-box {
    border-color: #5438dc;
}
.category-item.active .icon-box {
    border: 2px solid #5438dc;
    box-shadow: 0 0 8px rgba(84, 56, 220, 0.4);
}
.category-item.active p {
    color: #5438dc;
    font-weight: 600;
}
.category-item p {
    font-size: 1rem;
    margin-bottom: 0;
    margin-top: 10px;
}
.category-slider.grid-view {
    flex-wrap: wrap;
    overflow: visible;
    justify-content: center;
}
@media (max-width: 992px) {
    .search-input-wrapper,
    .search-bar input {
        width: 100%;
    }
    .close-btn {
        position: absolute;
        right: 10px;
        top: 6px;
        border-left: 1px solid #ccc;
        padding-left: 7px;
    }
    .search-bar img {
        position: absolute;
        right: 40px;
        top: 8px;
        opacity: 0.5;
    }
    .search-bar .search-btn {
        display: none;
    }
    .search-bar {
        display: block;
    }
}
.category-item .icon-box {
    width: 72px;
    height: 72px;
    margin: 0 auto;
    padding: 12px;
    background: #fff;
    border-radius: 10px;
    border: 1px solid transparent;
    box-sizing: border-box;
    flex-shrink: 0;
}
.category-item .icon-box img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    padding: 0;
    background: transparent;
    border: none;
    border-radius: 0;
}
.category-header {
    height: 27px;
}
.slider-btn {
    background: white;
    border: none;
    border-radius: 10px;
}
@media (max-width: 576px) {
    .slider-btn {
        display: none;
    }
    .category-slider.grid-view .category-item {
        width: calc(33.33% - 10px);
    }
}
.search-btn {
    background: #5438DC;
    border-radius: 30px;
    color: #fff;
    max-width: fit-content;
    text-wrap-mode: nowrap;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    line-height: 100%;
    padding: 0.6rem 2.4rem;
    transition: all .3s ease-in-out;
    transition-property: background-color, border-color, color;
    font-size: 1rem;
    @media (min-width: 1400px) {
        font-size: 1rem;
    }
    @media (max-width: 768px) {
        max-width: 100% !important;
    }
}
.search-btn:hover,
.search-btn:focus,
.search-btn:active {
    background: #3921a9;
}
.header-section:after,
.header-section:before {
    align-items: center;
    border-radius: 100%;
    content: "";
    display: flex;
    height: 5.5rem;
    justify-content: center;
    position: absolute;
    width: 6.2rem;
}
.header-section:before {
    background-color: #ffe66d;
    left: -3.1rem;
    top: 70px;
}
.header-section:after {
    background-color: #5438dc;
    top: 2rem;
    right: -3.6rem;
}
.page-bg {
    background: url('../assets/images/banner-bg.jpg') no-repeat center top;
    background-size: cover;
    background-attachment: fixed;
    min-height: 100vh;
    padding: 40px 0;
}
.main-wrapper {
    max-width: 1200px;
    margin: auto;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
}
.top-space {
    display: none;
    height: 0px;
    @media (min-width: 992px) {
        height: 150px;
        display: block;
    }
}
.body-content {
    z-index: 2;
    max-width: 100%;
    margin: 0 auto;
    width: 100%;
    padding: 0;    
    
}

@media (min-width: 992px) {
    .body-content {
        max-width: 1000px;
        padding: 0px 20px;
    }
}
@media (min-width: 1400px) {
    .body-content {
        max-width: 1450px;
        padding: 0px 20px;
    }
}
.global-branding {
    position: fixed;
    inset: 0;
    z-index: 1;
    overflow: hidden;
}
.branding {
    width: 100vw;
    height: 100%;
    object-fit: cover;
    transform: scaleX(1.4);
    @media (min-width: 1350px) {
        height: auto;
    }
}
.logo {
    height: 60px;
    margin: 0;
    width: 120px;
}
.logo img {
    height: 100%;
    max-width: 100%;
    width: auto;
}
.nav-menu {
    display: flex;
}
.menu-list {
    display: flex;
    gap: 25px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.menu-list li a {
    text-decoration: none;
    color: var(--blueColor);
    font-weight: 400;
    transition: 0.3s;
    font-size: 1rem;
}
.menu-list li a:hover {
    color: #222;
}
.hamburger {
    width: 28px;
    height: 22px;
    display: none;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
}
.hamburger span {
    display: block;
    height: 2px;
    background: #222;
    border-radius: 2px;
    transition: 0.3s;
}
.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 8px);
}
.hamburger.active span:nth-child(2) {
    opacity: 0;
}
.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -7px);
}
@media (max-width: 992px) {
    .hamburger {
        display: flex;
    }
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: #fff;
        flex-direction: column;
        padding: 60px 20px;
        transition: 0.4s ease;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    }
    .nav-menu.active {
        z-index: 9999;
        right: 0;
        overflow: auto;
    }
    .menu-list {
        flex-direction: column;
        gap: 20px;
    }
}
.menu__contacts {
    align-items: center;
    border-bottom: 1px solid #dcdae3;
    padding: .6rem 2rem;
    width: 100%;
}
.menu__contact a {
    color: var(--blueColor);
    font-size: 1rem;
    text-decoration: none;
}
.menu__contact span {
    color: var(--blueColor);
    font-size: 1rem;
}
.main-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #fff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    padding: 15px 0;
}
.main-header.hide {
    transform: translateY(-100%);
}
.main-header.show {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
.dropdown-button__button {
    background-color: #5438dc;
    border-radius: 3rem;
    color: #fff !important;
    justify-content: space-between;
    padding: .5rem 1rem;
    font-size: 1rem;
    @media (max-width: 576px) {
        width: 100%;
        text-align: center;
        display: block;
    }
}
.img-fluid {
    width: 180px;
}
.nav-menu.active .close-icon {
    top: 14px;
    right: 50px;
}
.nav-menu.active .close-icon {
    a {
        font-size: 35px;
    }
}
.search-bar {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    padding: 15px;
    display: none;
    align-items: center;
    gap: 10px;
    z-index: 999;
}
.search-bar input {
    flex: 1;
    padding: 10px 15px;
    border-radius: 8px;
    border: 1px solid #ccc;
    outline: none;
    font-size: 1rem;
    background-color: #f5f3fd;
}
.search-bar .search-btn {
    background: #5438dc;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
}
.close-btn {
    font-size: 18px;
    cursor: pointer;
}
.search-bar.active {
    display: flex;
}
@media (min-width: 992px) {
    .search-bar {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 60%;
        border-radius: 50px;
    }
    .search-icon {
        display: none;
    }
    .search-input-wrapper {
        display: flex;
        align-items: center;
        gap: 10px;
        width: 100%;
    }
}
@media (max-width: 992px) {
    .container {
        max-width: 100% !important;
    }
    .foote-img-wrapper {
        text-align: center;
    }
}

/* ========== Product Detail Modal ========== */
.product-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    justify-content: center;
    align-items: center;
    padding: 20px;
}
.product-modal-overlay.active {
    display: flex;
}
.product-modal {
    background: #fff;
    border-radius: 16px;
    max-width: 1100px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: modalSlideUp 0.3s ease;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}
@keyframes modalSlideUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.modal-close {
    position: absolute;
    top: 12px;
    right: 16px;
    background: none;
    border: none;
    font-size: 28px;
    color: #666;
    cursor: pointer;
    z-index: 10;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: 0.2s;
}
.modal-close:hover {
    background: #f0f0f0;
    color: #222;
}
.modal-body {
    display: flex;
    gap: 0;
}
.modal-left {
    flex: 0 0 340px;
    padding: 30px 25px;
    border-right: 1px solid #eee;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.modal-product-image {
    width: 180px;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    background: #f9f9f9;
    border-radius: 12px;
    padding: 15px;
}
.modal-product-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}
.modal-denomination-section {
    width: 100%;
    margin-bottom: 20px;
}
.denomination-label {
    font-size: 0.8rem;
    font-weight: 700;
    color: #888;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
    text-transform: uppercase;
}
.denomination-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}
.denomination-btn {
    padding: 10px 8px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    background: #fff;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    transition: 0.2s;
    text-align: center;
    line-height: 1.3;
}
.denomination-btn:hover {
    border-color: #5438dc;
    color: #5438dc;
}
.denomination-btn.selected {
    background: #5438dc;
    color: #fff;
    border-color: #5438dc;
}
.denomination-btn .discounted-price {
    display: block;
    font-size: 0.78rem;
    font-weight: 400;
    color: #4caf50;
    margin-top: 2px;
}
.denomination-btn.selected .discounted-price {
    color: #a5d6a7;
}
.modal-user-details {
    width: 100%;
    margin-bottom: 16px;
}
.user-details-label {
    font-size: 0.8rem;
    font-weight: 700;
    color: #888;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
    margin-left : 64px;
}
.modal-input-group {
    display: flex;
    align-items: center;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 0 12px;
    margin-bottom: 10px;
    background: #fff;
    transition: border-color 0.2s;
}
.modal-input-group:focus-within {
    border-color: #5438dc;
}
.input-icon {
    font-size: 0.85rem;
    margin-right: 10px;
    opacity: 0.6;
}
.modal-input-group input {
    flex: 1;
    border: none;
    outline: none;
    padding: 12px 0;
    font-size: 0.9rem;
    color: #333;
    background: transparent;
}
.modal-input-group input::placeholder {
    color: #aaa;
}
.modal-input-group.input-error {
    border-color: #e53935;
}
.input-error-msg {
    display: block;
    font-size: 0.75rem;
    color: #e53935;
    margin: -6px 0 8px 14px;
}
.modal-total-section {
    width: 100%;
    display: none;
    align-items: center;
    justify-content: space-between;
    padding: 12px 14px;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    margin-bottom: 16px;
    background: #fafafa;
}
.modal-total-section.visible {
    display: flex;
}
.total-info {
    display: flex;
    flex-direction: column;
}
.total-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #333;
}
.total-savings {
    font-size: 0.78rem;
    color: #4caf50;
    font-weight: 500;
}
.total-amount {
    font-size: 1.4rem;
    font-weight: 700;
    color: #333;
}
.modal-proceed-btn {
    width: 100%;
    padding: 14px;
    background: #5438dc;
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s;
}
.modal-proceed-btn:hover:not(:disabled) {
    background: #3f2bb5;
}
.modal-proceed-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}
.modal-isic-verify {
    width: 100%;
    margin-bottom: 16px;
}
.modal-verify-btn {
    width: 100%;
    padding: 12px;
    background: #5438dc;
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s;
    margin-top: 4px;
}
.modal-verify-btn:hover:not(:disabled) {
    background: #3f2bb5;
}
.modal-verify-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}
.modal-isic-msg {
    font-size: 0.8rem;
    margin: 8px 0 4px;
    min-height: 18px;
}
.modal-isic-msg.success {
    color: #2e7d32;
}
.modal-isic-msg.error {
    color: #e53935;
}
.modal-purchase-section {
    width: 100%;
}
.modal-verified-badge {
    font-size: 0.78rem;
    color: #2e7d32;
    background: #e8f5e9;
    padding: 8px 12px;
    border-radius: 8px;
    margin-bottom: 14px;
    line-height: 1.4;
    word-break: break-word;
}
.modal-right {
    flex: 1;
    padding: 30px 25px;
    overflow-y: auto;
}
.modal-banner {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 16px;
    background: #f5f3fd;
}
.modal-banner img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}
.modal-product-name {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--blueColor);
    margin-bottom: 16px;
}
.modal-description-section {
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 16px;
    margin-bottom: 16px;
}
.modal-section-title {
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}
.modal-description {
    font-size: 0.9rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 8px;
    max-height: 80px;
    overflow: hidden;
    transition: max-height 0.3s ease;
}
.modal-description p:last-child {
    margin-bottom: 0;
}
.card-short-desc {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.modal-description.expanded {
    max-height: none;
}
.modal-view-more {
    font-size: 0.85rem;
    color: #45b6e8;
    text-decoration: none;
    font-weight: 500;
}
.modal-view-more:hover {
    color: #3aa0d0;
}
.modal-tabs {
    border: 1px solid #eee;
    border-radius: 10px;
    overflow: hidden;
}
.modal-tab-headers {
    display: flex;
    border-bottom: 1px solid #eee;
}
.modal-tab-btn {
    flex: 1;
    padding: 12px;
    background: #f9f9f9;
    border: none;
    font-size: 0.9rem;
    font-weight: 500;
    color: #666;
    cursor: pointer;
    transition: 0.2s;
}
.modal-tab-btn.active {
    background: #fff;
    color: #5438dc;
    border-bottom: 2px solid #5438dc;
}
.modal-tab-btn:hover:not(.active) {
    background: #f0f0f0;
}
.modal-tab-content {
    padding: 16px;
    font-size: 0.85rem;
    color: #555;
    line-height: 1.7;
    max-height: 250px;
    overflow-y: auto;
}
.modal-tab-content ul {
    padding-left: 20px;
}
.modal-tab-content li {
    margin-bottom: 6px;
}

@media (max-width: 768px) {
    .product-modal {
        max-height: 95vh;
        border-radius: 12px;
    }
    .modal-body {
        flex-direction: column;
    }
    .modal-left {
        flex: none;
        border-right: none;
        border-bottom: 1px solid #eee;
        padding: 20px;
    }
    .modal-product-image {
        width: 120px;
        height: 120px;
    }
    .modal-right {
        padding: 20px;
    }
}

/* ========== Payment status overlay ========== */
.payment-status-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 100000;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(4px);
    justify-content: center;
    align-items: center;
    padding: 20px;
}
.payment-status-overlay.active {
    display: flex;
}
.payment-status-card {
    background: #fff;
    border-radius: 16px;
    max-width: 440px;
    width: 100%;
    padding: 36px 32px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
    animation: modalSlideUp 0.3s ease;
}
.payment-state {
    display: block;
}
.payment-spinner {
    width: 48px;
    height: 48px;
    border: 4px solid #e8e4f8;
    border-top-color: #5438dc;
    border-radius: 50%;
    margin: 0 auto 20px;
    animation: paymentSpin 0.9s linear infinite;
}
@keyframes paymentSpin {
    to { transform: rotate(360deg); }
}
.payment-success-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    background: #e8f5e9;
    color: #2e7d32;
    font-size: 32px;
    font-weight: 700;
    line-height: 64px;
    border-radius: 50%;
}
.payment-timeout-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    background: #fff3e0;
    color: #e65100;
    font-size: 28px;
    font-weight: 700;
    line-height: 64px;
    border-radius: 50%;
}
.payment-status-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--blueColor);
    margin-bottom: 12px;
}
.payment-status-text {
    font-size: 0.95rem;
    color: #444;
    line-height: 1.6;
    margin-bottom: 8px;
}
.payment-status-subtext {
    font-size: 0.88rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 16px;
}
.payment-timer-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 16px;
    margin-bottom: 4px;
}
.payment-timer {
    font-size: 1.75rem;
    font-weight: 700;
    color: #5438dc;
    margin-bottom: 12px;
}
.payment-ref {
    font-size: 0.8rem;
    color: #888;
    margin-top: 8px;
}
.payment-done-btn {
    margin-top: 8px;
    padding: 12px 28px;
    background: #5438dc;
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}
.payment-done-btn:hover {
    background: #3f2bb5;
}