:root {
    --primary: #1e3a8a; /* Indigo 900 - The specific Dark Blue you liked */
    --primary-hover: #1e40af;
    --primary-gradient: linear-gradient(135deg, #1e3a8a 0%, #172554 100%);
    --bg-body: #f8fafc;
    --text-main: #1e293b;
    --text-heading: #0f172a;
    --text-muted: #64748b;
    --white: #ffffff;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --radius-md: 10px;
    --radius-lg: 20px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body,
html {
    background-color: var(--bg-body);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-main);
}

ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

a,
a:focus {
    color: var(--primary);
    text-decoration: none;
    outline: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-hover);
    text-decoration: none;
}

.inline-ul-list li {
    display: inline-block;
}

.inline-ul-list li:not(:last-child) {
    margin-right: 20px;
}

/* --- HEADER --- */
.main-header-bar {
    background-color: var(--primary);
    padding: 15px 0;
    color: var(--white);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    max-height: 38px;
    width: auto;
    filter: brightness(0) invert(1);
}

.main-nav-wrapper {
    flex: 1;
    text-align: center;
}

.main-nav {
    display: inline-flex;
    list-style: none;
    gap: 10px;
}

.main-nav>li>a {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 700;
    font-size: 14px;
    padding: 10px 18px;
    transition: var(--transition);
}

.main-nav>li:hover>a,
.main-nav>li.active>a {
    color: var(--white);
}

.header-user-profile {
    display: flex;
    align-items: center;
}

.profile-link {
    display: flex;
    align-items: center;
    gap: 12px;
}

.avatar-circle {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.2);
    object-fit: cover;
}

.profile-text .name {
    display: block;
    font-weight: 700;
    font-size: 13px;
    color: var(--white);
    line-height: 1.2;
}

.profile-text .view-profile {
    display: block;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.2;
}

.auth-buttons {
    display: flex;
    gap: 15px;
    align-items: center;
}

.auth-buttons a {
    color: var(--white);
    font-weight: 700;
    font-size: 13px;
    padding: 8px 16px;
    border-radius: 20px;
    transition: var(--transition);
}

.auth-buttons a.login-btn {
    background: rgba(255, 255, 255, 0.1);
}

.auth-buttons a.register-btn {
    background: var(--white);
    color: var(--primary);
}

.auth-buttons a:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.main-nav-container {
    display: none;
    /* Removed as it's now integrated into main-header-bar */
}

.main-nav>li {
    position: relative;
    display: inline-block;
}

.main-nav>li>a {
    display: block;
    padding: 15px 20px;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 700;
    font-size: 14px;
    transition: var(--transition);
}

.main-nav>li:hover>a {
    color: var(--white);
}

.main-nav>li ul {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    background-color: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    padding: 10px 0;
    margin: 0;
    list-style: none;
    display: none;
    /* HEAVY FIX: hide by default */
    z-index: 1000;
    text-align: left;
}

.main-nav>li:hover>ul {
    display: block;
    /* Show on hover */
}

.main-nav>li ul li a {
    display: block;
    padding: 10px 20px;
    color: var(--text-main);
    font-weight: 500;
    font-size: 13px;
    transition: var(--transition);
}

.main-nav>li ul li a:hover {
    background-color: #f8fafc;
    color: var(--primary);
}

.main-nav>li ul li a>i {
    float: right;
    margin-top: 2px;
}

/* --- HERO SECTION --- */
.search-container {
    padding: 120px 0 80px;
    background-color: var(--white);
    text-align: center;
}

.search-container.fixed-popup {
    padding: 40px 0;
}

.search-container .sc-title h2 {
    font-size: 38px;
    font-weight: 900;
    color: var(--text-heading);
    margin-bottom: 15px;
    letter-spacing: -1px;
}

.search-container .sc-title p {
    color: var(--text-muted);
    font-size: 16px;
    font-weight: 500;
}

.search-container .sc-form {
    max-width: 800px;
    margin: 40px auto 0;
}

.search-container input {
    background-color: var(--white);
    width: 100%;
    height: 60px;
    border-radius: 30px;
    padding: 0 40px;
    color: var(--text-main);
    border: 2px solid #f1f5f9;
    font-size: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    text-align: center;
    font-weight: 500;
}

.search-container input:focus {
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(30, 64, 175, 0.1);
    outline: none;
}

.search-container .search-input {
    position: relative;
    max-width: 700px;
    margin: 0 auto 20px;
}

.search-container .sc-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.search-container .sc-select-row {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.search-container .sc-select .category-select {
    position: relative;
    display: inline-block;
}

.search-container .sc-select .category-select>a {
    display: block;
    background-color: var(--white);
    line-height: 58px;
    padding: 0 25px;
    color: var(--text-heading);
    border: 1px solid #e2e8f0;
    border-radius: 30px;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    transition: var(--transition);
}

.search-container .sc-select .category-select>a:hover {
    background-color: #f8fafc;
    border-color: var(--primary);
}

.search-container .sc-select ul {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    border-radius: 12px !important;
    box-shadow: var(--shadow-lg) !important;
    border: 1px solid #e2e8f0 !important;
    background-color: var(--white) !important;
    padding: 10px 0 !important;
    display: none !important;
    /* FIXED: hide by default */
    z-index: 1000;
    text-align: left;
}

.search-container .sc-select .category-select:hover ul {
    display: block !important;
}

.search-container .sc-select ul li a {
    display: block;
    padding: 12px 20px !important;
    color: var(--text-main) !important;
    font-weight: 500;
}

.search-container .sc-select ul li a:hover {
    background-color: #f1f5f9 !important;
    color: var(--primary) !important;
}

.owl-widget {
    margin-bottom: 60px;
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.bottom-widgets .owl-widget {
    margin-top: 50px;
    margin-bottom: 0;
}

.owl-widget .owl-carousel {
    padding-bottom: 15px;
}

.owl-widget .owl-carousel .item {
    text-align: center;
}

.owl-widget .owl-carousel .item h4 {
    font-size: 15px;
    margin: 0;
    padding: 10px 0;
}

.owl-widget .owl-carousel .item img {
    display: block;
    background-color: #fff;
    height: 70px;
    max-width: 120px;
    margin: 0 auto;
    padding: 5px;
    border: 1px solid #f0efef;
}

.owl-widget .owl-carousel.products-carousel img {
    height: 150px;
    max-width: 130px;
}

.owl-widget>h3 {
    margin: 0 0 20px 0;
    padding-bottom: 20px;
    border-bottom: 1px solid #f0efef;
}

.owl-nav .owl-prev,
.owl-nav .owl-next {
    font-size: 40px;
    transition: all 0.15s ease;
}

.owl-nav .owl-prev,
.owl-nav .owl-next {
    position: absolute;
    opacity: 0.5;
}

.owl-dots {
    text-align: center;
}

.owl-dots .owl-dot {
    display: inline-block;
    background-color: rgba(15, 21, 26, 1);
    width: 7px;
    height: 7px;
    margin: 0 2px;
    border-radius: 50%;
    opacity: 0.5;
}

.owl-nav .owl-prev.disabled,
.owl-nav .owl-next.disabled {
    opacity: 0.1;
}

.owl-nav .owl-prev:not(.disabled):hover,
.owl-nav .owl-next:not(.disabled):hover,
.owl-dots .owl-dot.active {
    opacity: 1;
}

.owl-nav .owl-prev {
    top: 30px;
    left: -20px;
}

.owl-nav .owl-next {
    top: 30px;
    right: -20px;
}

.user-menu {
    background-color: #fff;
    padding: 15px;
    border: 1px solid #f0efef;
}

.user-menu>li:not(:last-child) {
    border-bottom: 1px solid #f0efef;
}

.user-menu li a {
    display: block;
    line-height: 40px;
}

.user-menu li.active>a {
    color: red;
}

.user-menu li a>i:first-child {
    margin-right: 5px;
    width: 15px;
}

.user-menu li a>i.fa-caret-down {
    float: right;
    display: block;
    line-height: 40px;
}

.user-menu>li ul {
    display: none;
    margin: 0 0 5px 15px;
}

.user-menu>li.active ul {
    display: block;
}

.user-menu>li ul li a {
    line-height: 30px;
}

.user-header {
    display: table;
    background-color: rgba(15, 21, 26, 0.9);
    color: #fff;
    width: 100%;
    margin-bottom: 30px;
}

.user-header>img {
    display: table-cell;
    height: 90px;
    max-width: 140px;
}

.user-header>.user-header-right {
    display: table-cell;
    vertical-align: middle;
    width: 100%;
    padding-left: 30px;
}

.user-header>.user-header-right h3 {
    margin: 0 0 10px 0;
}

.user-header>.user-header-right h5 {
    display: inline-block;
    margin: 0 10px 0 0;
}

.user-header a {
    color: #fff;
    text-transform: uppercase;
}

.user-header a:hover {
    color: #4169e1;
}

input.share-link {
    background: none;
    color: rgba(15, 21, 26, 1);
    font-size: 30px;
    text-align: center;
    border: 0;
    box-shadow: none;
}

input.share-link:focus {
    background: none;
    border: 0;
}

/* --- COUPON GRID --- */
.coupon-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 50px;
}

.list-item {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: var(--transition);
    border: none !important;
}

.list-item:hover {
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    transform: translateY(-5px);
}

.list-item-content {
    display: flex;
    flex: 1;
    min-height: 180px;
}

.list-item .left {
    flex: 0 0 160px;
    background-image: url('assets/img/card-bg.png');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    position: relative;
    overflow: hidden;
}

.list-item .left::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(30, 64, 175, 0.4); /* Subtle blue tint to keep brand consistency */
    z-index: 1;
}

.list-item .left .logo-badge {
    position: relative;
    z-index: 5;
    background: #fff;
    padding: 8px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 90px;
    height: 70px;
}

.list-item .left .logo-badge img {
    max-height: 50px;
    max-width: 100%;
    filter: none !important; /* Remove the invert/brightness that was causing issues */
}

/* Move the brand info into the middle area more cleanly */
.list-item .middle .brand-info a {
    color: var(--text-muted);
    font-weight: 700;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 5px;
    display: block;
}
.list-item .middle {
    flex: 1;
    padding: 25px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.badges {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
}

.badge {
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
}

.badge-new {
    background: #ecfdf5;
    color: #10b981;
}

.badge-exclusive {
    background: #fffbeb;
    color: #f59e0b;
}

.badge-verified {
    background: #eff6ff;
    color: #3b82f6;
}

.list-item .middle h3 {
    font-size: 18px;
    font-weight: 800;
    color: var(--text-heading);
    margin: 0 0 10px;
    line-height: 1.3;
}

.list-item .middle .description {
    font-size: 13px;
    color: var(--text-muted);
    margin: 0;
}

.list-item .right {
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.list-item .butt {
    background: var(--primary);
    color: var(--white) !important;
    padding: 10px 24px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 13px;
    white-space: nowrap;
    transition: var(--transition);
}

.list-item .butt:hover {
    background: var(--primary-hover);
    transform: scale(1.05);
}

.sub-info {
    background: #1e3a8a;
    /* Dark Blue time bar */
    color: var(--white);
    padding: 10px 20px;
    font-size: 11px;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
}

.sub-info i {
    font-size: 14px;
}

/* BRAND COLOR VARIETY (Preserving Image) */
.coupon-grid>.coupon:nth-of-type(6n+1) .left {
    background-color: var(--primary);
}

.coupon-grid>.coupon:nth-of-type(6n+2) .left {
    background-color: #1e3a8a;
}

.coupon-grid>.coupon:nth-of-type(6n+3) .left {
    background-color: #1e40af;
}

.coupon-grid>.coupon:nth-of-type(6n+4) .left {
    background-color: #111827;
}

.coupon-grid>.coupon:nth-of-type(6n+5) .left {
    background-color: #1e293b;
}

.coupon-grid>.coupon:nth-of-type(6n+6) .left {
    background-color: #166534;
}

/* Fix for previous edit: use proper filter syntax */
.list-item .left img {
    filter: brightness(0) invert(1) drop-shadow(0 4px 10px rgba(0,0,0,0.3));
}

/* SECTION HEADERS */
.section-title {
    font-size: 24px;
    font-weight: 800;
    color: var(--text-heading);
    margin-bottom: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 12px;
    border-bottom: 2px solid #f1f5f9;
}

.view-all-link {
    font-size: 12px;
    font-weight: 700;
    background: #f1f5f9;
    color: var(--text-muted);
    padding: 6px 15px;
    border-radius: 20px;
    transition: var(--transition);
}

.view-all-link:hover {
    background: var(--primary);
    color: var(--white);
}

.list-item .sub-info .middle .vote-buttons {
    display: none;
    /* Reference doesn't show voting */
}

.list-item .sub-info .middle .vote-buttons a.success:hover {
    color: #10b981;
    border-color: #10b981;
    background-color: #f0fdf4;
}

.list-item .sub-info .middle .vote-buttons a.failed:hover {
    color: #1e3a8a;
    border-color: #1e3a8a;
    background-color: #eff6ff;
}

.list-item .sub-info .right {
    text-align: right;
}

.list-item .sub-info .right ul {
    display: none;
}

.list-item .sub-info .right ul li,
.list-item .sub-info .right ul li a,
.item-text .info .share-links li a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #f1f5f9;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    color: var(--text-muted);
    transition: var(--transition);
}

.list-item .sub-info .right ul li a:hover,
.item-text .info .share-links li a:hover {
    background-color: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

.list-item .sub-info a.share {
    margin-left: 10px;
}

.qr-code img {
    max-height: 100px;
}

.qr-code a {
    display: block;
}

.qr-code span {
    display: block;
    font-weight: 700;
    letter-spacing: 2px;
}

.button-set {
    display: inline-flex;
    background-color: transparent;
    gap: 8px;
    margin: 20px 0;
    flex-wrap: wrap;
}

.button-set li {
    display: inline-block;
}

.button-set li a {
    display: block;
    line-height: 40px;
    padding: 0 20px;
    color: var(--primary);
    background: var(--white);
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-weight: 700;
    font-size: 13px;
    transition: var(--transition);
}

.button-set li a:hover {
    background: #f8fafc;
    border-color: var(--primary);
    transform: translateY(-2px);
}

.button-set li.selected a {
    background-color: var(--primary);
    border-color: var(--primary);
    color: var(--white);
    box-shadow: 0 4px 12px rgba(30, 64, 175, 0.2);
}

.description-links {
    margin-top: 10px;
}

.item-text {
    display: table;
    width: 100%;
}

.item-text.widget {
    padding: 0;
}

.item-text .avatar,
.item-text .info {
    display: table-cell;
    vertical-align: top;
    padding: 15px;
}

.item-text .avatar {
    width: 140px;
    text-align: center;
    padding-right: 0;
}

.item-text .avatar img {
    width: 100%;
}

.item-text .info .links-list {
    margin-top: 20px;
}

.item-text .info .links-list li:not(:last-child),
.description-links li:not(:last-child) {
    margin-bottom: 5px;
}

.item-text .info .links-list>li,
.description-links>li {
    position: relative;
    padding-left: 20px;
}

.item-text .info .links-list>li.line-after {
    padding-bottom: 10px;
    margin-bottom: 10px;
    border-bottom: 1px solid #f0efef;
}

.item-text .info .links-list li i,
.description-links li i {
    position: absolute;
    top: 2.5px;
    left: 0;
}

.item-text .info .links-list .store-hours {
    display: none;
    margin-top: 5px;
}

.item-text .info .links-list .htoday {
    color: #4169e1;
}

.item-text .info .item-share {
    line-height: 30px;
    text-align: right;
    padding-top: 15px;
    margin-top: 30px;
    border-top: 1px solid #f0efef;
}

.item-text .info .share-links,
.item-text .info .share-links li {
    display: inline-block;
}

.item-text .info .share-links {
    margin-left: 10px;
}

.item-text .code {
    text-align: center;
    margin-top: 20px;
}

.item-text .code .visit-link-msg {
    font-size: 18px;
}

.item-text .code .visit-link-msg>a {
    font-weight: 600;
}

.item-text .code .code-inner {
    position: relative;
    display: inline-block;
    border: 1px dashed #4169e1;
    padding: 5px;
    min-width: 300px;
}

.item-text .code .code-inner>i {
    position: absolute;
    top: -12px;
    left: 10%;
    line-height: auto;
    background-color: #fff;
    color: #4169e1;
    font-size: 20px;
}

.item-text .code .code-inner .code-text {
    display: table;
    width: 100%;
}

.item-text .code .code-inner .code-text h3 {
    display: table-cell;
    vertical-align: middle;
    margin: 0;
}

.item-text .code .code-inner .code-text a {
    display: table-cell;
    margin: 0;
    width: 10px;
    line-height: 35px;
}

.item-text .single-votes {
    margin: 10px 0;
    text-align: center;
}

.item-text .single-votes .single-votes-stats {
    display: inline-block;
    text-align: center;
    min-width: 300px;
    margin-bottom: 10px;
}

.item-text .single-votes .single-votes-stats .vote-line {
    display: table;
    width: 100%;
    margin-top: 5px;
}

.item-text .single-votes .single-votes-stats .vote-line div {
    display: table-cell;
    background-color: #009900;
    width: 50%;
    height: 5px;
}

.item-text .single-votes .single-votes-stats .vote-line div:last-child {
    background-color: #4169e1;
}

.item-text .single-vote {
    text-align: center;
    font-size: 14px;
    line-height: 30px;
}

.item-text .single-vote a {
    display: inline-block;
    width: 30px;
    line-height: 30px;
    height: 30px;
    font-size: 17px;
    border: 1px solid #f0efef;
    box-sizing: initial;
}

.item-text .rating {
    float: right;
    font-size: 13px;
    line-height: 33px;
}

footer.main {
    background-color: #1e3a8a;
    color: #cbd5e1;
    padding: 80px 0 40px;
    margin-top: 60px;
}

footer.main h3 {
    color: var(--white);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 25px;
}

footer.main a {
    color: #cbd5e1;
    transition: var(--transition);
}

footer.main a:hover {
    color: var(--white);
    padding-left: 5px;
}

footer.main .widget-content ul li {
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

footer.footer-bottom {
    background-color: #1a367c; /* Sligthly darker blue for contrast */
    padding: 24px 0;
    color: #64748b;
    font-size: 13px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

footer .social-links li a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.05);
    height: 40px;
    width: 40px;
    border-radius: 50%;
    color: var(--white);
    transition: var(--transition);
}

footer .social-links li a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

footer .fo-newsletter input {
    color: rgba(15, 21, 26, 1);
    border: 0;
    box-shadow: none;
}

.widget {
    background-color: var(--white);
    padding: 25px;
    margin-bottom: 25px;
    border: 1px solid #edf2f7;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.widget h2 {
    font-size: 20px;
    font-weight: 700;
    padding-bottom: 15px;
    margin: 0 0 20px 0;
    color: var(--text-heading);
    border-bottom: 2px solid #f1f5f9;
    position: relative;
}

.widget h2:after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--primary);
}

.widget_newsletter>.text,
.widget_suggest>.text,
.widget_contact>.text {
    margin-bottom: 15px;
}

.widget_categories li a,
.widget_coupons li a,
.widget_pages li a,
.widget_products li a,
.widget_stores li a,
.widget_users li {
    display: block;
    padding: 4px 0;
}

.widget_coupons_v2 li,
.widget_stores_v2 li,
.widget_history_v2 li,
.widget_products_v2 li {
    display: inline-block;
    width: 50%;
    text-align: center;
    margin-bottom: 10px;
}

.widget_coupons_v2 li img,
.widget_stores_v2 li img,
.widget_history_v2 li img,
.widget_products_v2 li img {
    display: block;
    height: 70px;
    max-width: 120px;
    margin: 0 auto 5px auto;
}

.widget_products_v2 li img {
    height: 70px;
    max-width: 70px;
}

.widget_reviews li:not(:last-child) {
    margin-bottom: 10px;
}

.widget_reviews li:after {
    clear: both;
    display: table;
    content: " ";
}

.widget_reviews li>img {
    float: left;
    width: 30px;
    height: 30px;
    margin-right: 10px;
}

.widget_reviews li div p {
    margin-top: 5px;
}

.widget .letters {
    text-align: center;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    padding: 10px 0;
}

.widget .letters li {
    display: inline-block;
}

.widget .letters li a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 8px;
    background-color: var(--white);
    color: var(--text-muted);
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    font-weight: 800;
    font-size: 12px;
    transition: var(--transition);
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

.widget .letters li a:hover {
    background-color: var(--primary);
    border-color: var(--primary);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(30, 64, 175, 0.2);
}

.widget .letters li.selected a {
    background-color: var(--primary);
    border-color: var(--primary);
    color: var(--white);
    box-shadow: 0 4px 10px rgba(30, 64, 175, 0.25);
}

.widget .letters li a[data-attr="all"],
.widget .letters li a[data-attr="0-9"] {
    min-width: 50px;
}

.site-languages.inline-ul-list li {
    margin-right: 5px;
}

.site-languages li img {
    max-width: 19px;
}

.site-languages li:hover img {
    opacity: 10;
}

.pages-nav {
    font-size: 14px;
    margin-top: 20px;
}

.pages-nav>span {
    margin-right: 20px;
}

.pages-nav .num {
    float: right;
}

.tooltip {
    min-width: 100px;
}

#map_wrapper.widget {
    padding: 10px;
}

#map_wrapper {
    height: 400px;
    margin-bottom: 15px;
}

#map_canvas {
    width: 100%;
    height: 100%;
}

.push-container {
    position: relative;
    min-height: 80vh;
}

.push-left,
.push-right {
    position: absolute;
    max-height: 80vh;
    overflow: auto;
}

.push-left {
    left: 0;
}

.push-right {
    right: 0;
}

#search-popup {
    display: none;
    position: fixed;
    background-color: rgba(15, 23, 42, 0.98);
    backdrop-filter: blur(12px);
    width: 100%;
    height: 100%;
    z-index: 999999;
    color: var(--white);
}

#search-popup .sc-title h2 {
    color: var(--white) !important;
}

#search-popup .close-search-popup {
    color: var(--white);
    font-size: 32px;
    opacity: 0.6;
    transition: var(--transition);
}

#search-popup .close-search-popup:hover {
    opacity: 1;
    transform: rotate(90deg);
}

.question {
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
}

.question:not(:last-child) {
    margin-bottom: 12px;
}

.question > a {
    display: block;
    background-color: #fff;
    color: var(--text-heading);
    padding: 15px 20px;
    font-size: 15px;
    font-weight: 700;
    transition: var(--transition);
}

.question > a:hover {
    background-color: #f8fafc;
    color: var(--primary);
}

.question>.answer {
    display: none;
    padding: 10px;
}

.list-item:hover {
    box-shadow: 1px 15px 24px rgba(0, 0, 0, 0.12);
}

[data-copy-this]+input {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    width: 0.1px;
    height: 0.1px;
    padding: 0;
    margin: 0;
    border: 0;
    box-shadow: none;
    outline: none;
}

[data-copy-this]+input:focus {
    border: 0;
}

.mmenu {
    position: relative;
    display: none;
    width: 45px;
    height: 30px;
    margin: 12.5px auto 10px 10px;
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
    -webkit-transition: .5s ease-in-out;
    -moz-transition: .5s ease-in-out;
    -o-transition: .5s ease-in-out;
    transition: .5s ease-in-out;
    cursor: pointer;
}

.mmenu span {
    display: block;
    position: absolute;
    height: 6px;
    width: 100%;
    background-color: rgba(15, 21, 26, 0.9);
    opacity: 1;
    left: 0;
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
    -webkit-transition: .25s ease-in-out;
    -moz-transition: .25s ease-in-out;
    -o-transition: .25s ease-in-out;
    transition: .25s ease-in-out;
}

.mmenu span:nth-child(1) {
    top: 0px;
    -webkit-transform-origin: left center;
    -moz-transform-origin: left center;
    -o-transform-origin: left center;
    transform-origin: left center;
}

.mmenu span:nth-child(2) {
    top: 12px;
    -webkit-transform-origin: left center;
    -moz-transform-origin: left center;
    -o-transform-origin: left center;
    transform-origin: left center;
}

.mmenu span:nth-child(3) {
    top: 24px;
    -webkit-transform-origin: left center;
    -moz-transform-origin: left center;
    -o-transform-origin: left center;
    transform-origin: left center;
}

.mmenu.open span:nth-child(1) {
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg);
    top: -4px;
    left: 8px;
}

.mmenu.open span:nth-child(2) {
    width: 0%;
    opacity: 0;
}

.mmenu.open span:nth-child(3) {
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    transform: rotate(-45deg);
    top: 28px;
    left: 8px;
}

.mobile-nav>div {
    display: inline-block;
}

.mobile-nav .mobile-nav-links {
    float: right;
    margin: 5px 10px 0 0;
}

.mobile-nav .mobile-nav-links img {
    float: left;
    max-height: 45px;
    max-width: 60px;
}

.mobile-nav .mobile-nav-links a.button {
    display: inline-block;
    background-color: rgba(15, 21, 26, 0.9);
    line-height: 45px;
    width: 45px;
    color: #fff;
    text-align: center;
}

.mobile-nav .mobile-nav-links a.button:hover {
    background-color: var(--primary);
}

.mobile-nav .mobile-nav-links a.button>i.fa {
    font-size: 20px;
}

.search-input input::-webkit-input-placeholder {
    opacity: 1;
    color: #fff;
}

.search-input input::-moz-placeholder {
    opacity: 1;
    color: #fff;
}

.search-input input:-ms-input-placeholder {
    opacity: 1;
    color: #fff;
}

.search-input input:-moz-placeholder {
    opacity: 1;
    color: #fff;
}

.check_coupon_code_form .button-info {
    margin-bottom: 15px;
}

/* NEW DESIGN COMPONENTS */

.widget-featured-stores {
    background: transparent;
    padding: 0;
    box-shadow: none;
    margin-bottom: 60px;
}

.widget-featured-stores .owl-item .item {
    background: var(--white);
    border-radius: 12px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    transition: var(--transition);
    border: 1px solid #f1f5f9;
    margin: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 140px;
}

.widget-featured-stores .owl-item .item:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
    transform: translateY(-5px);
}

.widget-featured-stores .owl-item .item img {
    max-height: 50px;
    width: auto !important;
    margin-bottom: 15px;
}

.widget-featured-stores .owl-item .item h4 {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-heading);
    margin: 0;
}

.owl-nav button {
    background: var(--white) !important;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    box-shadow: var(--shadow-md);
    color: var(--primary) !important;
    font-size: 20px !important;
}

.widget-featured-coupons h3,
.widget-featured-stores h3,
.container h2.section-title {
    font-size: 26px;
    font-weight: 800;
    margin-bottom: 30px;
    color: var(--text-heading);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    padding-bottom: 12px;
    border-bottom: 2px solid #f1f5f9;
}

.widget-featured-coupons h3:after,
.widget-featured-stores h3:after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 60px;
    height: 2px;
    background: var(--primary);
}

.view-all-link {
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
    background: #f1f5f9;
    padding: 6px 16px;
    border-radius: 20px;
    transition: var(--transition);
}

.view-all-link:hover {
    background: var(--primary);
    color: var(--white);
}

/* MOBILE VIEW & THEME MANDATORY */

@media only screen and (max-width : 992px) {

    .push-left,
    .push-right {
        position: relative;
    }

}

@media only screen and (max-width : 768px) {

    .icon-button {
        margin-left: 0;
        margin-bottom: 5px;
    }

    .icon-button span {
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
        width: 200px;
    }

    .mobile_view {
        display: none;
    }

}
