/* COMMON/BASE STYLES (All Devices) */
/* Popup card visibility and stacking */

header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: var(--color-white);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.loan-popup {
    position: absolute;
    z-index: 10000;
    /* above header */
    display: none;
    overflow: hidden;
    border-radius: 12px;
}

.json-link {
    display: none;
}

.loan-popup-inner {
    background: #fff;
    color: #1b1b1b;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.06);
    display: grid;
    grid-template-columns: 1fr 267px;
    gap: 0;
    min-width: 520px;
    /* min-width: auto; */
    max-width: 571px;
    overflow: hidden;
    pointer-events: auto;
}

/* Links-only variant (no banner image) */
.loan-popup-inner.links-only {
    grid-template-columns: 1fr;
    max-width: 280px;
}

.loan-popup-right-links {
    display: none;
}

.loan-popup-left {
    padding: 16px;
}

.loan-popup-list {
    list-style: none;
    margin: 0;
    padding: 0;
    max-height: 360px;
    overflow: auto;
}

.loan-popup-item {
    margin: 0;
}

.loan-popup-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 8px;
    color: inherit;
    text-decoration: none;
    font-weight: 500;
}

.loan-popup-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.loan-popup-right {
    padding: 16px;
    border-left: 1px solid #eee;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loan-banner {
    position: relative;
    width: 100%;
    height: 100%;
    /* min-height: 220px; */
    border-radius: 8px;
    background: linear-gradient(135deg, #f4f8ff, #e8f0ff);
    overflow: hidden;
    padding: 0;
}

.loan-banner-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #e41e26;
    color: #fff;
    padding: 10px 14px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 600;
}

.loan-banner-cta .arrow {
    transition: transform 0.2s ease;
}

.loan-banner-cta:hover .arrow {
    transform: translateX(2px);
}

.loan-banner-img {
    position: absolute;
    right: 0px;
    bottom: 8px;
    width: 120px;
    height: auto;
}

/* Container for all loan items */
.loan-items {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    padding: 10px 24px;
    background: #fff;
    /* border-bottom: 1px solid rgba(17, 17, 17, 0.08); */
    flex-wrap: wrap;
    width: 100%;
}

/* Each loan item */
.loan-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    cursor: pointer;
    white-space: nowrap;
    /* padding: 6px 8px; */
    border-radius: 6px;
    transition: background 0.2s ease, opacity 0.2s ease;
}

.loan-title:hover::after {
    transform: rotate(180deg);
    transition: transform 0.2s ease;
}

/* Title style */
.loan-title {
    font-size: 14px;
    line-height: 18px;
    letter-spacing: -0.2px;
    color: #111111;
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    font-family: var(--body-font-family-bold);
}

/* Add dropdown arrow (▼) after title */
.loan-title::after {
    content: "";
    width: 12px;
    height: 12px;
    margin-left: 4px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23111111' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    flex-shrink: 0;
    opacity: 0.9;
}

/* Description style */
.loan-desc {
    font-size: 12px;
    line-height: 14px;
    color: #6b6b6b;
    margin-top: 4px;
}

/* On hover effect */
.loan-item:hover {
    background: rgba(17, 17, 17, 0.03);
}

.loan-item:hover .loan-title {
    opacity: 0.9;
}

/* Keyboard focus support */
.loan-item:focus-within .loan-title {
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* Popup card (duplicate/optimized version) */
.loan-popup {
    position: absolute;
    left: 0;
    top: 0;
    z-index: 1000;
    display: none;
}

/* .loan-popup-inner {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 0;
    width: 680px;
    max-width: calc(100vw - 32px);
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
    overflow: hidden;
} */

.loan-popup-left {
    padding: 12px 0;
    position: relative;
    background: #fff;
}

.loan-popup-left::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 1px;
    height: 100%;
    background: rgba(17, 17, 17, 0.1);
}

.loan-popup-right {
    padding: 20px;
    background: #fff;
}

.loan-popup-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.loan-popup-item {
    margin: 0;
}

.loan-popup-link {
    color: #111111 !important;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 20px;
    text-decoration: none;
    font-size: 14px;
    border-left: 3px solid transparent;
}

.loan-popup-link:hover {
    background: none;
}

.loan-popup-icon {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.loan-popup-right {
    padding: 12px;
}

.loan-banner {
    position: relative;
    background: linear-gradient(24.77deg, #4e0004 14.08%, #8e0006 67.23%);
    max-width: 240px;
    min-width: 240px;
    border-radius: 12px;
    overflow: hidden;
}

.loan-banner-title {
    color: #fff;
    font-weight: 800;
    font-size: 16px;
    line-height: 22px;
    max-width: 80%;
    padding: 16px;
    font-family: var(--body-font-family-semibold);
}

.loan-banner-cta {
    display: inline-block;
    margin-top: 10px;
    padding: 8px 12px;
    background: linear-gradient(270deg, #e5461c 0%, #ee6f32 100%);
    font-family: var(--body-font-family-semibold);
    border-radius: 0 8px 0 0;
    color: #fff;
    text-decoration: underline;
    font-weight: 700;
    font-size: 12px;
}

.loan-banner-cta .arrow {
    margin-left: 6px;
}

.loan-banner-img {
    position: absolute;
    right: 0px;
    bottom: 0;
    /* height: 90%; */
    /* max-height: 110px; */
}

/* ICICI Home Finance Header Styles */
.default-content-wrapper.header-first-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    background-color: #ffffff;
    border-bottom: 1px solid #e5e5e5;
    margin: 0 auto;
    /* max-width: 1248px; */
    min-height: 70px;
}

.default-content-wrapper.header-second-section {
    border-radius: 12px;
    display: block;
    /* max-width: 1248px; */
    margin: 0 auto;
    justify-content: space-between;
    display: flex;
    box-shadow: 0px 4px 20px 0px rgba(17, 17, 17, 0.06);
}

/* Header items general styling */
.header-first-item {
    margin: 0;
    display: flex;
    align-items: center;
}

.header-first-item a {
    margin: 0 8px;
    color: rgba(17, 17, 17, 1);
    font-family: var(--body-font-family-semibold);
}

/* New left/right containers */
.header-first-left {
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: 308px;
}

.header-first-right {
    display: flex;
    align-items: center;
    gap: 8px;
}

.header-first-right .header-subheader-wrap .header-first-item:first-child a {
    display: flex;
    align-items: center;
}

.header-first-right .header-subheader-wrap .header-first-item:first-child a:after {
    /* content: ""; */
    width: 12px;
    height: 12px;
    margin-left: 4px;
    /* background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23111111' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); */
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    flex-shrink: 0;
    opacity: 0.9;
}

.header-first-right .header-subheader-wrap .subheader-dropdown {
    margin: 0;
    display: flex;
    align-items: center;
}

.header-first-right .header-subheader-wrap .subheader-dropdown .header-first-item::after {
    content: "";
    width: 12px;
    height: 12px;
    margin-left: 4px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23111111' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    flex-shrink: 0;
    opacity: 0.9;
}

.header-first-right .header-subheader-wrap .subheader-dropdown .header-first-item:hover::after {
    transform: rotate(180deg);
    transition: transform 0.2s ease;
}

.header-first-right .header-subheader-wrap .subheader-dropdown .header_portal_btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-first-right .header-subheader-wrap .subheader-dropdown .header_portal_btn::before {
    content: "";
    width: 13px;
    height: 14px;
    margin-left: 4px;
    background-image: url("/icons/user.svg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;

    position: absolute;
    flex-shrink: 0;
    opacity: 0.9;
    left: 18px;
}

.header-first-right .header-subheader-wrap .subheader-dropdown .header_portal_btn::after {
    content: "";
    width: 14px;
    height: 14px;
    margin-left: 4px;
    /* background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23111111' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain; */
    /* Use the SVG as a mask */
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat center;
    -webkit-mask-size: contain;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat center;
    mask-size: contain;

    /* Set the icon color here */
    background-color: #fff;
    position: absolute;
    flex-shrink: 0;
    opacity: 0.9;
    right: 20px;
}

.loan-popup.subheader-menu .loan-popup-inner {
    grid-template-columns: unset;
    min-width: 250px;
    max-width: unset;
}

.loan-popup.subheader-menu .loan-popup-inner .loan-popup-list-subheader {
    padding: 0;
}

.header-first-right .header-subheader-wrap .subheader-dropdown .header_portal_btn:hover::after {
    transform: rotate(180deg);
    transition: transform 0.2s ease;
}

.header-first-right .header-subheader-wrap .header-first-item:first-child a:hover:after {
    transform: rotate(180deg);
    transition: transform 0.2s ease;
}

.header-first-right .button-container a {
    color: rgba(17, 17, 17, 1);
    font-family: var(--body-font-family-semibold);
    font-size: 16px;
    text-decoration: none;
}

.header-first-right .button-container:first-child a {
    padding-right: 38px;
}

.header-first-right .button-container:first-child a:after {
    content: "";
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
    width: 6px;
    height: 6px;
    border-right: 2px solid rgba(17, 17, 17, 1);
    border-bottom: 2px solid rgba(17, 17, 17, 1);
    background: transparent;
}

/* Logo styling */
.header-first-icon {
    height: auto;
    /* max-height: 28px; */
    max-width: 80%;
    width: 100%;
}

/* Navigation links container it is not used anywhere is header*/
/* .button-container {
    display: inline-flex;
} */

/* Navigation links styling */
.header-first-link {
    text-decoration: none;
    color: #333333;
    font-family: var(--body-font-family);
    font-size: 14px;
    font-weight: 500;
    padding: 8px 13px;
    border-radius: 4px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.header-first-link:hover {
    color: #ff6600;
    background-color: #f8f9fa;
}

/* Search icon styling */
.header-first-item img[alt="searchicon"] {
    cursor: pointer;
    padding: 6px;
    border-radius: 50%;
    transition: background-color 0.3s ease;
    max-height: 36px;
    scale: 1.4;
}

.header-first-item img[alt="searchicon"]:hover {
    background-color: #f0f0f0;
}

/* View Application button specific styling */
.header-first-item:last-child .header-first-link {
    background-color: #ff6600;
    color: white;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 6px;
}

.header-first-item:last-child .header-first-link:hover {
    background-color: #e55a00;
    color: white;
}

/* Hamburger */
.header-hamburger {
    display: none;
    height: 36px;
    border: none;
    background: transparent;
    border-radius: 8px;
    align-items: center;
    justify-content: center;
    gap: 4px;
    cursor: pointer;
    z-index: 10001;
}

.header-hamburger svg {
    width: 22px;
    height: 23px;
}

.header-hamburger span {
    display: block;
    width: 18px;
    height: 2px;
    background: #111;
    border-radius: 2px;
}

/* Mobile drawer base styles */
.no-scroll {
    overflow: hidden;
}

.mobile-nav {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    display: none;
    z-index: 10000;
}

.mobile-nav.open {
    display: block;
}

.mobile-nav-panel {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    right: 0;
    margin-left: 0;
    display: grid;
    grid-template-columns: 84px 1fr;
    background: #f7f7f7;
}

.mobile-nav-left {
    background: linear-gradient(180deg, #fff, #ffe9df);
    padding: 10px 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    overflow: auto;
    scrollbar-width: none;
}

.mobile-nav-menu {
    font-size: 12px;
    letter-spacing: 1px;
    color: #666;
    padding: 8px 12px;
}

.mobile-nav-cats {
    list-style: none;
    margin: 0;
    padding: 0 0 70px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    overflow-y: auto;
    scrollbar-width: none;
    flex: 1;
    min-height: 0;
}

.mobile-cat {
    position: relative;
}

.mobile-cat-btn {
    width: 100%;
    border: none;
    background: transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px 6px;
    cursor: pointer;
}

.mobile-cat .icon {
    width: 40px;
    height: 40px;
    /* border-radius: 12px; */
    /* background: #ffefe7; */
    display: flex;
    align-items: center;
    justify-content: center;
    /* box-shadow: inset 0 0 0 1px #ffd5c3; */
}

.mobile-cat .label {
    font-size: 11px;
    color: #333;
    margin-top: 6px;
    text-align: center;
}

.mobile-cat.active::before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    bottom: 8px;
    width: 4px;
    background: #e04624;
    border-radius: 0 4px 4px 0;
}

.mobile-nav-right {
    background: #fff;
    padding: 12px;
    overflow: auto;
}

.mobile-nav-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0px 2px 12px;
}

.mobile-nav-title {
    font-weight: 700;
    color: #111;
}

.mobile-nav-close {
    border: none;
    background: #fff;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
}

.mobile-tiles {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.mobile-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #f6f7f9;
    border-radius: 12px;
    padding: 16px 10px;
    text-decoration: none;
    color: #111;
    font-weight: 600;
}

.mobile-tile .tile-icon {
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.mobile-tile .tile-icon img {
    max-width: 100%;
    max-height: 100%;
}

.mobile-tile .tile-label {
    font-size: 12px;
    text-align: center;
}

.mobile-banner {
    margin-top: 12px;
    background: linear-gradient(135deg, #b31e0f 0%, #e04624 100%);
    border-radius: 12px;
    padding: 14px;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.mobile-banner-title {
    font-weight: 800;
    font-size: 14px;
    line-height: 1.3;
    max-width: 60%;
}

.mobile-banner-cta {
    display: inline-block;
    margin-top: 10px;
    padding: 8px 12px;
    background: #ff934a;
    border-radius: 999px;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    font-size: 12px;
}

.mobile-banner-img {
    position: absolute;
    right: 6px;
    bottom: 0;
    width: 110px;
    height: auto;
}

/* Search overlay styles */
.header-desk-search,
.mobile-search {
    position: absolute;
    top: 8px;
    right: 46%;
    width: 45%;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-search {
    position: fixed;
    left: 0;
    top: 0;
    height: 100vh;
    width: 100vw;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.6);
    /* z-index: 10001; */
}

.header-desk-search form.geo {
    max-width: 720px;
    width: 100%;
    display: flex;
    gap: 8px;
    align-items: center;
}

.header-desk-search .search-tab,
.mobile-search .searchInput {
    width: 100%;
    padding: 8px 15px;
    border-radius: 30px;
    border: 1px solid #ddd;
    font-size: 13px;
    left: 0;
    position: relative;
    padding-left: 40px;

}

/* #form-mob {
    width: 600px;
    position: absolute;
    left: 50%;
    top: 25%;
    transform: translate(-50%, 0);
} */

.mobile-search-container{
        /* width: 1000px; */
    width: 860px;
    position: absolute;
    left: 50%;
    top: 15%;
    transform: translate(-50%, 0);
    padding: 16px 0;
    background: #ffffff;
    border-radius: 5px;
}
.mobile-search-container a {
    color: black;
}


.header-dropdown .select-wrapper {
    position: relative;
}


.header-desk-search .close-search,
.mobile-search .close-search {
    /* position: absolute;
    top: 8px; */
    right: 25px;
    font-size: 22px;
    cursor: pointer;
    z-index: 10002;
    margin-top: -6px;
}

/* overlay-div should cover everything and sit below the last-two buttons */
/* .header-desk-search .overlay-div {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(255, 255, 255, 0);
    z-index: 10000;
} */

#form-mob {
    /* width: 1000px;
    position: absolute;
    left: 50%;
    top: 25%;
    transform: translate(-50%, 0); */
    width: 100%;
    display: flex;
    gap: 24px;
    align-items: center;
    padding: 0px 20px 15px;
    border-bottom: 1px solid #1111111F;
}

.search-input-wrap{
    width: 100%;
}
.search-input-wrap .voice-search-icon{
    position: absolute;
    margin-top: 8px;
    margin-left: -39px;
    border-left: 1px #11111133 solid;
    /* padding-left: 8px; */
    width: 21px;
    height: 16px;
    padding-left: 3px;
}
.search-input-wrap .search-icon{
    position: absolute;
    z-index: 10001;
    margin-top: 9px;
    margin-left: 13px;
    width: 14px;
}

/* ========== ADD ALL THESE STYLES HERE ========== */
/* Voice Search Styles */
.voice-search-icon {
    cursor: pointer;
    transition: all 0.3s ease;
}

.voice-search-icon:hover {
    transform: scale(1.1);
}

.voice-search-icon.listening {
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.6;
        transform: scale(1.15);
    }
}

.voice-search-icon:active {
    transform: scale(0.95);
}

.voice-search-icon:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Voice Recording Overlay - dims background */
.voice-recording-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.7);
    z-index: 10004;
    display: none;
}

.voice-recording-overlay.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Voice Recording Indicator */
.voice-recording-indicator {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 24px 40px;
    border-radius: 12px;
    z-index: 10005;
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.voice-recording-indicator.active {
    display: flex;
    animation: scaleIn 0.3s ease;
}

@keyframes scaleIn {
    from {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 0;
    }
    to {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
}

.voice-recording-pulse {
    width: 60px;
    height: 60px;
    background: #e41e26;
    border-radius: 50%;
    animation: recordPulse 1.5s infinite;
}

@keyframes recordPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
        box-shadow: 0 0 0 0 rgba(228, 30, 38, 0.7);
    }
    50% {
        transform: scale(1.2);
        opacity: 0.7;
        box-shadow: 0 0 0 20px rgba(228, 30, 38, 0);
    }
}

.voice-recording-text {
    font-size: 16px;
    font-weight: 600;
}

.search-suggestions-and-banner{
    display: flex;
    /* margin-top: 24px; */
    margin-top: 15px;
}

.search-info-section{
    /* margin-top: 24px; */
    width: 100%;
    max-width: 664px;
}
.most-searched-suggestions{
   /* padding: 0px 20px 20px; */
   padding: 0px 16px 14px;
    border-bottom: 1px #11111133 solid;

}
.search-sec-heading{
    font-size: 16px;
    font-family: 'mulish-semibold';
    margin-bottom: 16px;
}

.suggestions-list{
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.suggestions-title{
    padding: 4px 20px;
    font-size: 12px;
        font-family: 'mulish-semibold';
        border: 1px solid #1111111F;
        border-radius: 6px;
        cursor: pointer;

}

.top-products-cards{
    /* padding: 20px 22px; */
    padding: 12px 16px;
    border-bottom: 1px #11111133 solid;
}

.tp-card{
    width: 100%;
    display: flex;
    /* padding: 14px; */
    padding: 10px 14px;
    border-radius: 4px;
    max-width: 194px;
    background: #1111110A;
    gap: 16px;
    /* margin-bottom: 16px; */
    align-items: center;
}

.tp-card-content{
    display: flex;
    flex-direction: column;
    line-height: 18px;
    gap:6px;
}

.tp-card-cta{
    font-size: 12px;
    cursor: pointer;
}

.tp-card-cta span{
    margin-left: 3px;
}
.tp-cards-list{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 16px;
}
.tp-card-title{
    font-size: 14px;
    font-weight: 600;
    font-family: 'mulish-semibold';
    width: max-content;
}

.product-card-image{
    width: 26px;
    height: 26px;
}

.looking-for-help-suggestions{
    padding: 10px 16px 0px;
}

.looking-for-help-suggestions-list{
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.looking-for-help-title{
    /* padding: 12px; */
    padding: 6px 15px;
    font-size: 14px;
        font-family: 'mulish-semibold';
        border: 1px solid #1111111F;
        border-radius: 4px;
        cursor: pointer;
}

.looking-for-help-title span {
    margin-left: 3px;
}

.search-banner-redirection-section{
    padding-right: 24px;
}

.search-banner-image{
    width: 260px;
    height: 290px;
    cursor: pointer;
}
 .search-results{
        display: block;
    /* height: 230px; */
    /* max-height: 300px; */
    overflow: scroll;
    padding-left: 20px;
 }
    .search-results::-webkit-scrollbar {
  display: none;
}

.no-result-div2{
    font-size: 12px;
}


/* Keep-visible ensures the element sits above the overlay */
.keep-visible {
    position: relative;
    z-index: 10003 !important;
}

/* When search-open, dim the subheader except keep-visible buttons (handled inline via visibility) */
body.search-open .header-subheader-wrap {
    opacity: 0.98;
    position: relative;
}

.hide-icon {
    display: none !important;
}

.header-desk-search form.geo {
    /* position: relative; */
    /* z-index: 10002; */
    /* input above overlay */
}

.mask-body {
    overflow: hidden;
}

.mask-body:after {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    background: rgba(31, 45, 61, 0.3);
    cursor: pointer;
}

.header-dropdown select {
    height: 40px;
    color: rgba(17, 17, 17, 0.6);
    appearance: none;
    /* remove default arrow */
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 100%;
    padding: 10px 40px 10px 12px;
    /* leave space for arrow */
    border: 1px solid #ccc;
    border-radius: 8px;
    background-color: #fff;
    font-size: 14px;
    cursor: pointer;
}

.header-dropdown .select-wrapper {
    position: relative;
}

.header-dropdown .select-wrapper:after {
    content: "";
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
    width: 16px;
    height: 12px;
    background: url('/icons/dropdown-arrow.png') no-repeat center;
    background-size: 16px;
    pointer-events: none;
}

/* TABLET STYLES (max-width: 1024px) */

@media (max-width: 1024px) {
    .loan-popup-inner {
        grid-template-columns: 1fr;
        min-width: min(92vw, 640px);
    }

    .loan-popup-right {
        border-left: none;
        border-top: 1px solid #eee;
    }

    .loan-items {
        gap: 0px;
        padding: 10px 16px;
    }

    .loan-title {
        font-size: 14px;
        line-height: 17px;
    }

    .loan-desc {
        font-size: 12px;
    }

    .default-content-wrapper.header-first-section {
        padding: 8px 16px;
        gap: 10px;
        border: 0;
        min-height: 60px;
    }

    .header-first-link {
        font-size: 13px;
        padding: 6px 12px;
    }

    .header-first-item:last-child .header-first-link {
        padding: 8px 16px;
    }

    .header-desk-search .close-search,
    .mobile-search .close-search {
        right: 66px;
        top: 2px;
    }

    #form-mob {
        /* width: 82.5vw; */
        top: 25%;
    }

    .search-results {
        top: calc(25% + 44px);
    }

    .tp-cards-list {
        grid-template-columns: 1fr 1fr
    }

    .mobile-search-container {
        /* width: 1000px; */
        width: 690px;
        overflow: auto;
    }
}

@media (min-width: 820px) {
    .hidden-desktop {
        display: none !important;
    }

    .mobile-nav {
        display: none !important;
    }
}

.default-content-wrapper.header-third-section {
    display: none !important;
}

.hidden-mobile {
    display: none !important;
}

/* Subheader Button */
.subheader-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    /* space between icon/text/arrow */
    padding: 10px 18px;
    border-radius: 6px;
    background: linear-gradient(90deg, #f46b45 0%, #eea849 100%);
    color: #fff;
    font-family: "Helvetica Neue LT", Arial, sans-serif;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: background 0.3s ease;
}

.subheader-btn:hover,
.subheader-btn:focus {
    background: linear-gradient(90deg, #e55a34 0%, #e7993a 100%);
    text-decoration: none;
}

.subheader-btn:active {
    background: linear-gradient(90deg, #cc4c29 0%, #d98730 100%);
}

.subheader-btn .icon {
    font-size: 16px;
    /* if using icon font */
    display: inline-block;
}

.subheader-btn .arrow {
    margin-left: 6px;
    font-size: 12px;
    display: inline-block;
}

/* Optional: white-outline style for secondary button (like View Application) */
.subheader-btn--secondary {
    background: #fff5f2;
    color: #222;
    border: 1px solid #e0cfc9;
}

.subheader-btn--secondary:hover {
    background: #ffece6;
}

.subheader-link+.subheader-link {
    position: relative;
}

.subheader-link+.subheader-link::before {
    content: "";
    position: absolute;
    left: -20px;
    /* half of the gap */
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 16px;
    background: #ccc;
}

.header-subheader-wrap {
    display: flex;
    gap: 23px;
    /* links ke beech ka gap */
    justify-content: center;
    padding: 10px 0;
    align-items: center;
}

.header-subheader-wrap .header_track_btn a {
    backdrop-filter: blur(20px);
    background: rgba(240, 76, 35, 0.08);
    border: 1px solid rgba(17, 17, 17, 0.12);
    color: rgba(17, 17, 17, 1);
    border-radius: 8px;
    font-family: var(--body-font-family);
    font-size: 14px;
    font-weight: 700;
}

.header-subheader-wrap .header_portal_btn a.subheader-btn {
    display: inline-block;
    padding: 10px 20px 10px 20px;
    font-family: var(--body-font-family);
    font-size: 14px;
    font-weight: 600;
    color: var(--color-white);
    text-decoration: none;
    border: 1px solid transparent;
    border-radius: 8px;
    background: linear-gradient(to right, #f06523, #e64e0e);
    border: 1px solid transparent;
    background-origin: border-box;
    background-clip: padding-box, border-box;
    transition: all 0.3s ease;
    text-align: center;
    min-width: 164px;
    position: relative;
}

.header-subheader-wrap .header_portal_btn {
    display: inline-block;
    padding: 10px 20px 10px 20px;
    font-family: var(--body-font-family);
    font-size: 14px;
    font-weight: 600;
    color: var(--color-white);
    text-decoration: none;
    border: 1px solid transparent;
    border-radius: 8px;
    background: linear-gradient(to right, #f06523, #e64e0e);
    border: 1px solid transparent;
    background-origin: border-box;
    background-clip: padding-box, border-box;
    transition: all 0.3s ease;
    text-align: center;
    min-width: 164px;
    position: relative;
}

.subheader-link {
    font-size: 16px;
    font-weight: 500;
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

.subheader-link:hover {
    text-decoration: none;
}

@media (max-width: 820px) {
    .header-subheader-wrap {
        gap: 10px;
    }

    .header_search_logo::before {
        width: 25px;
        height: 25px;
    }

    .header-subheader-wrap .header_track_btn a {
        font-size: 12px;
    }

    .default-content-wrapper.header-first-section {
        border-bottom: 2px solid rgba(226, 226, 226, 1);
    }

    .header-subheader-wrap .header_track_btn a {
        padding: 8px 12px;
    }

    .header-first-left {
        gap: 5px;
    }

    .header_portal_btn,
    .header_link {
        display: none !important;
    }

    .header-first-icon {
        width: 200px;
        height: 100px;
    }
}

.header_search_logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s;
}

.header_search_logo::before {
    content: "";
    width: 36px;
    height: 36px;
    background: url("/icons/header-search.svg") no-repeat center/contain;
}

.header_search_logo:hover {
    background: #e0e0e0;
}

.highlight-term {
    background-color: #b31e0f;
}

.search-result-item a {
    color: #111 !important;
    font-weight: 700;
    cursor: pointer;
}

.search-result-description {
    color: #6b6b6b;
    font-size: 13px;
    line-height: 18px;
}

/* .search-results {
    width: 600px;
    min-height: 150px;
    padding: 8px 0px;
    background: white;
    margin: auto;
    border-radius: 12px;
    position: fixed;
    /* fixed instead of relative 
    top: calc(25% + 45px);
    left: 50%;
    transform: translate(-50%, 0%);
    -webkit-transition: opacity 0.3s;
    -o-transition: opacity 0.3s;
    transition: opacity 0.3s;
    -webkit-transition-delay: 0.21s;
    -o-transition-delay: 0.21s;
    transition-delay: 0.21s;
    z-index: 10000;
    border: 1px solid rgba(17, 17, 17, 0.12);
    overflow-x: auto;
    max-height: 260px;
    scrollbar-width: none;
    box-shadow: 0px 4px 16px 0px rgba(0, 0, 0, 0.05);
} */

/* .search-results:before {
    background: #FFF;
    -webkit-box-shadow: none;
    box-shadow: none;
    content: "";
    display: block;
    height: 16px;
    width: 16px;
    left: 20px;
    position: absolute;
    bottom: 100%;
    -webkit-transform: rotate(-45deg) translateY(1rem);
    -ms-transform: rotate(-45deg) translateY(1rem);
    transform: rotate(-45deg) translateY(1rem);
    z-index: -5;
    border-radius: 0.2rem;
} */

.search-result-item {
    padding: 8px 0;
    color: rgba(17, 17, 17, 1);
    font-weight: 500;
    opacity: 0.8;
    font-size: 16px;
    line-height: 120%;
    display: flex;
    align-items: center;
    gap: 8px;
}

.search-result-item a {
    color: #111 !important;
    font-weight: 700;
    cursor: pointer;
    flex: 1;
}

.search-result-item .search-arrow-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.search-result-item:hover {
    background: rgba(151, 41, 30, 0.08);
}

.search-no-results strong{
    color: #E5461C;
    text-decoration: underline;
    font-family: var(--body-font-family);
}

.search-no-results{
    background: #1111110A;
    border-radius: 10px;
    padding: 5px 10px;
    width: 97%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.search-error-title{
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 16px;
    font-family: var(--body-font-family);
}

@media (max-width: 820px) {
    .default-content-wrapper.header-second-section {
        display: none !important;
    }

    .search-result-item {
        padding: 8px 24px;
    }

    /* .mobile-nav-close {} */

    .mobile-nav-right {
        padding-left: 0;
    }

    .mobile-nav-title {
        font-size: 16px;
        font-family: var(--body-font-family-semibold);
        padding-left: 20px;
    }

    .mobile-cat.active::before {
        background: rgba(167, 14, 21, 1);
        width: 2px;
        top: 0;
        bottom: 0;
    }

    .search-results:before {
        content: none;
    }

    .mobile-nav-left {
        padding: 0;
    }

    .header-first-item {
        width: 150px;
    }

    .mobile-nav-cats .mobile-cat.active .mobile-cat-btn {
        background: #fff;
    }

    .header-first-item .header-first-icon {
        width: 100%;
        height: auto;
        max-width: 100%;
    }

    .mobile-banner {
        margin-top: 10px;
        background: linear-gradient(24.77deg, #4e0004 14.08%, #8e0006 67.23%);
        border-radius: 12px;
        overflow: hidden;
        padding: 0;
    }

    .mobile-nav-menu {
        background: rgba(240, 76, 35, 0.08);
        font-size: 10px;
        font-family: var(--body-font-family-semibold);
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .mobile-banner-cta {
        display: inline-block;
        margin-top: 10px;
        padding: 2px 24px;
        background: linear-gradient(270deg, #e5461c 0%, #ee6f32 100%);
        font-family: var(--body-font-family-semibold);
        border-radius: 0 8px 0 0;
        color: #fff;
        font-weight: 700;
        font-size: 12px;
        position: relative;
    }

    /* a.mobile-banner-cta:after {
        position: absolute;
        content: "";
        border-bottom: 1px solid #fff;
        bottom: 9px;
        width: 52%;
        left: 23px;
    } */

    .mobile-banner-cta a {
        padding-left: 4px;
    }

    .mobile-banner-title {
        padding: 16px;
    }

    .header-hamburger {
        display: inline-flex;
    }

    .header-first-right .header-subheader-wrap .header-first-item {
        display: none;
    }

    .mobile-nav-right .mobile-nav-content {
        background: rgba(246, 246, 246, 1);
        height: 100%;
        padding: 15px;
        /* allow the right panel to scroll independently of the page */
        overflow: auto;
        -webkit-overflow-scrolling: touch;
        /* momentum scrolling on iOS */
        max-height: 100vh;
    }

    .mobile-nav-right .mobile-nav-content .mobile-tiles .mobile-tile:first-child {
        border: 1px solid rgba(17, 17, 17, 0.2);
    }

    .mobile-nav-right .mobile-nav-content .mobile-tile {
        background: rgba(255, 255, 255, 1);
        box-shadow: 0px 4px 16px 0px rgba(0, 0, 0, 0.05);
    }

    .mobile-tiles {
        gap: 10px;
    }

    .mobile-tile {
        padding: 10px;
    }

    .mobile-tile .tile-label {
        font-size: 14px;
        color: rgba(17, 17, 17, 1);
        line-height: 120%;
        font-weight: normal;
    }

    .mobile-tile .tile-icon {
        width: 40px;
        height: 40px;
    }

    .mobile-cat .label {
        font-size: 12px;
        line-height: 120%;
    }

    .mobile-cat .icon {
        width: 34px;
        height: 32px;
    }

    /* .search-results {
        width: 85%;
        max-width: 680px;
        min-height: 150px;
        background: white;
        margin: auto;
        border-radius: 0.375rem;
        position: fixed;
        left: 50%;
        transform: translateX(-50%);
        z-index: 100005;
    } */
}

@media (max-width: 767px) {

    .header-desk-search .search-tab,
    .mobile-search .searchInput {
        width: 100%;
        left: unset;
    }

    .header-desk-search .close-search,
    .mobile-search .close-search {
        right: 12px;
        top: 4px;
    }

    .search-results {
        top: calc(25% + 44px);
    }


    .search-suggestions-and-banner {
        flex-direction: column;
    }
}

/* Journey Header Styles */
.icici-journey-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background: white;
    width: 100%;
    gap: 10px;
}

.header-center-journey {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header-dropdown {
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 0px 12px;
}

.header-dropdown img {
    width: 16px;
    height: 16px;
}

.header-dropdown select {
    border: 1px solid #ddd;
    border: none;
    border-radius: 4px;
    /* padding: 8px 12px; */
    font-size: 14px;
    background: white;
    cursor: pointer;
}

.help-link-journey {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #333;
}

.help-content-journey {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: rgba(0, 68, 124, 1);
}

.help-content-journey img {
    width: 20px;
    height: 20px;
}

.user-profile-journey {
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
}

.user-avatar-wrapper {
    /* position: relative; */
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* .avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
} */
.avatar {
    filter: brightness(30%) saturate(100%);
    width: 14px;
    height: 14px;
    margin-top: 2px;
    display: block;

}

.user-dropdown-journey {
    position: absolute;
    top: 29px;
    right: -12px;
    background: white;
    /* border: 1px solid #ddd; */
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    margin: 0;
    padding: 0;
    min-width: 230px;
    display: none;
    z-index: 1000;
    list-style: none !important;
    padding-left: 0 !important;
}


.user-dropdown-journey.show {
    display: block;
}

.user-dropdown-journey li {
    padding: 0;
    margin: 0 !important;
}

.user-dropdown-journey li.menu-label {
    padding: 10px 15px 10px 20px;
    display: flex;
        border-bottom: 1px solid #eee;
    align-items: center;
}

.user-dropdown-journey li.menu-label::before {
    content: "";
    display: block;
    background: url(/icons/call-icon-.svg) no-repeat center;
    margin-right: 8px;
        filter: brightness(30%) saturate(100%);
    width: 15px;
    height: 15px;
    background-size: contain;
}

.user-dropdown-journey a {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 10px 15px 10px 20px;
    text-decoration: none;
    color: #333;
    border-bottom: 1px solid #eee;
    font-size: 14px;
    font-family: var(--body-font-family-semibold);
}

.user-dropdown-journey a[data-action="logout"] .menu-icon {
    /* filter: unset; */
}

.user-dropdown-journey a .menu-icon {
    filter: brightness(30%) saturate(100%);
    width: 14px;
    height: 14px;
}

.user-dropdown-journey a:hover {
    background: #f5f5f5;
}

.username-journey {
    font-weight: 600;
    color: #333;
}

.journey-logout-icon {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.logout-btn-journey {
    border: none;
    background: none;
    cursor: pointer;
}

.logout-btn-journey:hover {
    transform: scale(1.05);
    opacity: 0.9;
}

.logout-btn-journey:active {
    transform: scale(0.85);
    opacity: 0.7;
}

.logout-module-journey {
    position: relative;
}

.logout-module-journey::after {
    content: "Logout";
    position: absolute;
    bottom: -35px;
    /* adjust as needed */
    left: 50%;
    transform: translateX(-50%);
    padding: 6px 10px;
    background: #000;
    color: #fff;
    font-size: 12px;
    border-radius: 4px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease;
}

.logout-text {
    position: absolute;
    top: 0px;
    border: 1px solid #ddd;
    right: -22px;
    background: white;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.logout-module-journey:hover::after {
    opacity: 1;
}


@media(max-width: 767px) {

    .header-desk-search .search-tab,
    .mobile-search .searchInput {
        width: 100%;
        left: unset;
    }

    .header-desk-search .close-search,
    .mobile-search .close-search {
        right: 12px;
        top: 4px;
    }

    #form-mob {
        width: 100%;
        /* top: 25%; */
    }

    .search-results {
        top: calc(25% + 44px)
    }

    .icici-journey-header {
        padding: 0;
    }

    .header-dropdown select option[disabled][selected] {
        display: none;
    }

    .username-journey {
        font-size: 10px;
        line-height: 1.5;
    }


 .header-dropdown .select-wrapper:after {
        right: 32px;
    }

    .header-dropdown select{
        opacity: 0;
    }

    .header-dropdown{
        max-width: 62px;
    }

    .user-dropdown-journey {
        right: -15px;
    }

            .mobile-search-container{
        top: 8%;
        width: 334px;
        max-height: 85vh;
        overflow: scroll;
        scrollbar-width: none;
    }
    .suggestions-title {
        padding: 1px 16px;
    }

     .tp-cards-list {
        grid-template-columns: 1fr 1fr
    }

     .search-banner-redirection-section {
        align-items: center;
        justify-content: center;
        display: flex;
        margin-top: 20px;
    }

     .search-banner-image {
        width: 233px;
        height: 207px;
        cursor: pointer;
        object-fit: contain;
    }

    .tp-card-content{
        gap: 0;
    }

    .tp-card{
        padding: 4px 10px;
    }
    .tp-card-title{
        font-size: 11px;
    }
    .tp-card-cta{
        font-size: 9px;
        cursor: pointer;
    }
}

.header-flex-journey {
    display: flex;
    flex-direction: row-reverse;
    gap: 20px;
}