/* Full-bleed width for KhabShop Footer widget inside Elementor */
.elementor .elementor-widget-khabshop_footer {
    width: 100vw !important;
    max-width: 100vw !important;
    position: relative !important;
    left: 50% !important;
    right: 50% !important;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

/* Remove extra padding Elementor may add around the widget */
.elementor .elementor-widget-khabshop_footer > .elementor-widget-container {
    padding: 0 !important;
}

/* Ensure the footer itself stretches fully and is not constrained by parent flex rules */
.elementor .elementor-widget-khabshop_footer .khabshop-footer {
    width: 100% !important;
}

/* Handle Elementor Container-based layout sections that add padding at the container level */
@supports (selector(:has(*))) {
    .elementor :is(.elementor-section, .elementor-container, .e-con):has(> .elementor-widget-khabshop_footer) {
        padding-left: 0 !important;
        padding-right: 0 !important;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }
}

/*
 * Dana Font Implementation for KhabShop Elementor Footer Widget
 * 
 * This CSS file implements the Dana Persian font with comprehensive browser support:
 * - Multiple @font-face declarations for different weights (100, 300, 400, 500, 600, 700, 800, 900)
 * - WOFF2 and WOFF formats for maximum browser compatibility
 * - Font preloading for better performance
 * - Fallback fonts for cases where Dana fails to load
 * - Persian-specific optimizations including RTL support
 * - Anti-aliasing and font smoothing for better rendering
 * 
 * Font weights available:
 * - Thin (100), Light (300), Regular (400), Medium (500)
 * - SemiBold (600), Bold (700), ExtraBold (800), Black (900)
 */

/* Dana Font @font-face declarations for cross-browser compatibility */
@font-face {
    font-family: 'Dana';
    src: url('https://cdn.jsdelivr.net/gh/rastikerdar/dana-font@v2.0.0/fonts/woff2/Dana-Thin.woff2') format('woff2'),
    url('https://cdn.jsdelivr.net/gh/rastikerdar/dana-font@v2.0.0/fonts/woff/Dana-Thin.woff') format('woff');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0600-06FF, U+FE70-FEFF, U+FB50-FDFF, U+0020-007F;
}

/* Portrait image optimization for mobile backgrounds */
@media screen and (max-width: 768px) and (orientation: portrait) {
    .khabshop-footer.mobile-bg-active[data-mobile-bg-size="cover"] {
        background-size: cover !important;
        background-position: center top !important;
    }

    .khabshop-footer.mobile-bg-active[data-mobile-bg-size="contain"] {
        background-size: contain !important;
        background-position: center center !important;
        background-color: rgba(0, 0, 0, 0.1); /* Subtle background for contain mode */
    }
}

/* Landscape orientation handling */
@media screen and (max-width: 768px) and (orientation: landscape) {
    .khabshop-footer.mobile-bg-active {
        background-position: center center !important;
    }
}

/* Very small mobile devices - force better portrait handling */
@media screen and (max-width: 480px) {
    .khabshop-footer.mobile-bg-active[data-mobile-bg-size="cover"] {
        background-size: cover !important;
        background-position: center 20% !important; /* Show more of the top of portrait images */
    }
}

@font-face {
    font-family: 'Dana';
    src: url('https://cdn.jsdelivr.net/gh/rastikerdar/dana-font@v2.0.0/fonts/woff2/Dana-Light.woff2') format('woff2'),
    url('https://cdn.jsdelivr.net/gh/rastikerdar/dana-font@v2.0.0/fonts/woff/Dana-Light.woff') format('woff');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0600-06FF, U+FE70-FEFF, U+FB50-FDFF, U+0020-007F;
}

@font-face {
    font-family: 'Dana';
    src: url('https://cdn.jsdelivr.net/gh/rastikerdar/dana-font@v2.0.0/fonts/woff2/Dana-Regular.woff2') format('woff2'),
    url('https://cdn.jsdelivr.net/gh/rastikerdar/dana-font@v2.0.0/fonts/woff/Dana-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0600-06FF, U+FE70-FEFF, U+FB50-FDFF, U+0020-007F;
}

@font-face {
    font-family: 'Dana';
    src: url('https://cdn.jsdelivr.net/gh/rastikerdar/dana-font@v2.0.0/fonts/woff2/Dana-Medium.woff2') format('woff2'),
    url('https://cdn.jsdelivr.net/gh/rastikerdar/dana-font@v2.0.0/fonts/woff/Dana-Medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0600-06FF, U+FE70-FEFF, U+FB50-FDFF, U+0020-007F;
}

@font-face {
    font-family: 'Dana';
    src: url('https://cdn.jsdelivr.net/gh/rastikerdar/dana-font@v2.0.0/fonts/woff2/Dana-SemiBold.woff2') format('woff2'),
    url('https://cdn.jsdelivr.net/gh/rastikerdar/dana-font@v2.0.0/fonts/woff/Dana-SemiBold.woff') format('woff');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0600-06FF, U+FE70-FEFF, U+FB50-FDFF, U+0020-007F;
}

@font-face {
    font-family: 'Dana';
    src: url('https://cdn.jsdelivr.net/gh/rastikerdar/dana-font@v2.0.0/fonts/woff2/Dana-Bold.woff2') format('woff2'),
    url('https://cdn.jsdelivr.net/gh/rastikerdar/dana-font@v2.0.0/fonts/woff/Dana-Bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0600-06FF, U+FE70-FEFF, U+FB50-FDFF, U+0020-007F;
}

@font-face {
    font-family: 'Dana';
    src: url('https://cdn.jsdelivr.net/gh/rastikerdar/dana-font@v2.0.0/fonts/woff2/Dana-ExtraBold.woff2') format('woff2'),
    url('https://cdn.jsdelivr.net/gh/rastikerdar/dana-font@v2.0.0/fonts/woff/Dana-ExtraBold.woff') format('woff');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0600-06FF, U+FE70-FEFF, U+FB50-FDFF, U+0020-007F;
}

@font-face {
    font-family: 'Dana';
    src: url('https://cdn.jsdelivr.net/gh/rastikerdar/dana-font@v2.0.0/fonts/woff2/Dana-Black.woff2') format('woff2'),
    url('https://cdn.jsdelivr.net/gh/rastikerdar/dana-font@v2.0.0/fonts/woff/Dana-Black.woff') format('woff');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0600-06FF, U+FE70-FEFF, U+FB50-FDFF, U+0020-007F;
}

/* Fallback @font-face for Dana font from Iranian CDN */
@font-face {
    font-family: 'Dana-Fallback';
    src: url('https://cdn.fontcdn.ir/Font/Persian/Dana/woff2/Dana-Regular.woff2') format('woff2'),
    url('https://cdn.fontcdn.ir/Font/Persian/Dana/woff/Dana-Regular.woff') format('woff'),
    url('https://cdn.fontcdn.ir/Font/Persian/Dana/ttf/Dana-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0600-06FF, U+FE70-FEFF, U+FB50-FDFF, U+0020-007F;
}

/* Dana Font Family - Applied to all text elements with fallbacks */
.khabshop-footer,
.khabshop-footer *,
.khabshop-footer input,
.khabshop-footer textarea,
.khabshop-footer button,
.khabshop-footer select {
    font-family: "Dana", "Dana-Fallback", "Vazir", "Iranian Sans", "B Nazanin", "Tahoma", "Arial", sans-serif !important;
    font-display: swap;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Persian text optimization */
.khabshop-footer {
    direction: rtl;
    text-align: right;
}

.khabshop-footer * {
    direction: inherit;
}

/* Ensure proper font loading and rendering for Persian characters */
.khabshop-footer *:lang(fa),
.khabshop-footer *[lang="fa"],
.khabshop-footer *[dir="rtl"] {
    font-family: "Dana", "Dana-Fallback", "Vazir", "Iranian Sans", "B Nazanin", "Tahoma", sans-serif !important;
    font-feature-settings: "kern" 1, "liga" 1;
    font-variant-ligatures: common-ligatures;
}

/* Specific font application for typography elements */
.khabshop-footer h1,
.khabshop-footer h2,
.khabshop-footer h3,
.khabshop-footer h4,
.khabshop-footer h5,
.khabshop-footer h6,
.khabshop-footer p,
.khabshop-footer span,
.khabshop-footer div,
.khabshop-footer a,
.khabshop-footer li,
.khabshop-footer address {
    font-family: "Dana", "Dana-Fallback", "Vazir", "Iranian Sans", "B Nazanin", "Tahoma", "Arial", sans-serif !important;
}

/* Font preload hint for better performance */
@supports (font-display: swap) {
    .khabshop-footer {
        font-display: swap;
    }
}

/* Additional font weight declarations for Dana font */
.khabshop-footer .dana-thin {
    font-weight: 100;
}

.khabshop-footer .dana-light {
    font-weight: 300;
}

.khabshop-footer .dana-regular {
    font-weight: 400;
}

.khabshop-footer .dana-medium {
    font-weight: 500;
}

.khabshop-footer .dana-semibold {
    font-weight: 600;
}

.khabshop-footer .dana-bold {
    font-weight: 700;
}

.khabshop-footer .dana-extrabold {
    font-weight: 800;
}

.khabshop-footer .dana-black {
    font-weight: 900;
}

/* Override any inherited fonts with higher specificity */
.khabshop-footer.khabshop-footer * {
    font-family: "Dana", "Dana-Fallback", "Vazir", "Iranian Sans", "B Nazanin", "Tahoma", "Arial", sans-serif !important;
}

/* Scoped styles for Khabshop Elementor Footer */
.khabshop-footer {
    position: relative;
    background: center/cover no-repeat;
    color: var(--text);
    overflow: hidden;
}


.khabshop-footer .footer-wrapper {
    position: relative;
    z-index: 5;
    padding: 4rem 5% 4rem;
}

/* NEW: Remove bottom spacing on the parent Elementor section/container when this widget is present */
@supports (selector(:has(*))) {
    .elementor :is(.elementor-section, .e-con):has(.elementor-widget-khabshop_footer) {
        margin-bottom: 0 !important;
        padding-bottom: 0 !important;
    }
}

.khabshop-footer .footer-top {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 1.5rem;
    position: relative;
}

.khabshop-footer .footer-logo {
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 5;
}

.khabshop-footer .footer-logo img {
    height: 120px;
    width: 120px;
    filter: drop-shadow(0 4px 8px rgba(255, 191, 60, 0.22));
    transition: transform 0.25s ease-out;
    will-change: transform;
}

.khabshop-footer .footer-logo:hover img {
    transform: scale(1.2);
}

.khabshop-footer .footer-slogan {
    font-size: 1.2rem;
    font-weight: 700;
    text-align: center;
    max-width: 640px;
    margin: 0 auto 2.5rem;
    color: var(--muted-text);
    position: relative;
    letter-spacing: 0.02em;
    line-height: 1.5;
}

.khabshop-footer .footer-slogan::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    margin: 1.5rem auto 0;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.khabshop-footer .quick-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.khabshop-footer .quick-link {
    position: relative;
    display: inline-block;
    padding: 0.6rem 1.2rem;
    text-decoration: none;
    color: var(--box-text);
    font-size: 0.95rem;
    font-weight: 600;
    transition: color 0.15s ease-out, background-color 0.15s ease-out;
    z-index: 1;
    border-radius: 22px;
    background: var(--glass-tint);
    border: 1px solid var(--border);
    letter-spacing: 0.01em;
    will-change: color, background-color;
}

.khabshop-footer .quick-link:hover {
    color: #fff;
    background-color: var(--accent-strong);
    border-color: var(--accent-strong);
}

.khabshop-footer .footer-middle {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 1rem;
}

.khabshop-footer .footer-section {
    flex: 1 1 250px;
    background: var(--glass-tint);
    border-radius: 18px;
    padding: 1.8rem;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    transition: transform 0.25s ease-out, background-color 0.25s ease-out, box-shadow 0.25s ease-out, border-color 0.25s ease-out;
    contain: layout paint;
    will-change: transform, background-color, box-shadow, border-color;
    position: relative;
    overflow: hidden;
    color: var(--box-text);
    display: flex;
    flex-direction: column;
}

@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
    .khabshop-footer .footer-section {
        -webkit-backdrop-filter: blur(12px) saturate(115%);
        backdrop-filter: blur(12px) saturate(115%);
    }

    .khabshop-footer .footer-section:hover {
        -webkit-backdrop-filter: blur(15px) saturate(120%);
        backdrop-filter: blur(15px) saturate(120%);
    }
}

.khabshop-footer .footer-section.footer-links-only {
    display: flex;
    flex-direction: column;
}

.khabshop-footer .footer-section.footer-links-only .footer-bottom-links {
    margin-top: auto;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.khabshop-footer .footer-section:hover {
    transform: scale(1.03) translateY(-4px);
    background: var(--glass-tint-hover);
    box-shadow: var(--shadow-hover);
    border-color: var(--border-strong);
}

/* FIXED: Heading styles - removed hardcoded color so Elementor controls work */
.khabshop-footer .footer-section h3 {
    font-size: 1.2rem;
    margin-bottom: 1.2rem;
    position: relative;
    display: inline-block;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: 0.02em;
}

.khabshop-footer .footer-section h3::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    right: 0;
    background: var(--accent);
    transition: width 0.3s ease-out;
}

.khabshop-footer .footer-section p {
    color: var(--box-muted-text);
    font-weight: 600;
    line-height: 1.6;
}

.khabshop-footer .footer-section:hover h3::after {
    width: 100%;
}

.khabshop-footer .contact-list {
    list-style: none;
    margin-bottom: 1.5rem;
}

.khabshop-footer .contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1rem;
    transition: transform 0.15s ease-out;
    will-change: transform;
}

.khabshop-footer .contact-item:hover {
    transform: translateX(-4px);
}

.khabshop-footer .contact-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(255, 217, 102, 0.18), rgba(255, 191, 60, 0.28));
    color: var(--accent-strong);
    border-radius: 50%;
    transition: background 0.15s ease-out, color 0.15s ease-out, transform 0.15s ease-out;
    border: 1px solid rgba(255, 191, 60, 0.28);
    will-change: background, color, transform;
}

.khabshop-footer .contact-item:hover .contact-icon {
    background: linear-gradient(135deg, var(--accent), var(--accent-strong));
    color: #fff;
    transform: scale(1.1);
}

.khabshop-footer .contact-info {
    font-size: 0.95rem;
    color: var(--box-text);
    font-weight: 600;
    line-height: 1.4;
}

.khabshop-footer .contact-info a {
    color: var(--box-text);
    text-decoration: none;
    transition: color 0.15s ease-out;
}

.khabshop-footer .contact-info a:hover {
    color: var(--accent-strong);
}

.khabshop-footer .social-icons-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid rgba(171, 193, 255, 0.2);
}

.khabshop-footer .features-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.khabshop-footer .feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    color: var(--box-text);
    font-weight: 700;
    transition: color 0.15s ease-out;
    letter-spacing: 0.01em;
    will-change: color;
}

.khabshop-footer .feature-item::before {
    content: '\2022';
    color: var(--accent-strong);
    font-size: 1.4rem;
    font-weight: bold;
}

.khabshop-footer .feature-item:hover {
    color: var(--accent-strong);
}

/* FIXED: Social icons layout - ensuring horizontal display */
.khabshop-footer .social-icons {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.khabshop-footer .social-icon {
    position: relative;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--glass-tint);
    color: var(--box-text);
    text-decoration: none;
    border: 1px solid var(--border);
    transition: color 0.15s ease-out, background-color 0.15s ease-out, border-color 0.15s ease-out, transform 0.15s ease-out;
    overflow: hidden;
    will-change: color, background-color, border-color, transform;
}

@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
    .khabshop-footer .social-icon {
        -webkit-backdrop-filter: blur(10px) saturate(105%);
        backdrop-filter: blur(10px) saturate(105%);
    }

    .khabshop-footer .social-icon:hover {
        -webkit-backdrop-filter: blur(15px) saturate(120%);
        backdrop-filter: blur(15px) saturate(120%);
    }
}

.khabshop-footer .social-icon:hover {
    transform: translateY(-2px) scale(1.05);
    color: #fff;
    background-color: var(--accent-strong);
    border-color: var(--accent-strong);
}

.khabshop-footer .footer-bottom {
    position: relative;
    border-top: 1px solid var(--border);
    padding: 0.75rem 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
}

.khabshop-footer .copyright {
    flex: 1;
    text-align: center;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.khabshop-footer .copyright a {
    color: var(--accent);
    text-decoration: none;
    transition: color 0.15s ease-out;
    font-weight: 600;
}

.khabshop-footer .copyright a:hover {
    color: var(--accent-strong);
}

.khabshop-footer .footer-bottom-links {
    display: flex;
    gap: 1.25rem;
}

.khabshop-footer .footer-bottom-link {
    color: var(--box-text);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    transition: color 0.15s ease-out;
    position: relative;
}

.khabshop-footer .footer-bottom-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -2px;
    right: 0;
    background: var(--accent);
    transition: width 0.25s ease-out;
}

.khabshop-footer .footer-bottom-link:hover {
    color: var(--accent);
}

.khabshop-footer .footer-bottom-link:hover::after {
    width: 100%;
}

@media (max-width: 992px) {
    .khabshop-footer .footer-middle {
        justify-content: center;
    }

    .khabshop-footer .footer-section {
        flex: 1 1 300px;
        max-width: 450px;
    }

    /* Features list displays in 2 columns on mobile */
    .khabshop-footer .features-list {
        grid-template-columns: repeat(2, 1fr);
    }

    .khabshop-footer .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .khabshop-footer .footer-bottom-links, .khabshop-footer .social-icons {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .khabshop-footer .features-list {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.75rem;
    }

    .khabshop-footer .feature-item {
        font-size: 0.85rem;
    }
}

@media (max-width: 600px) {
    .khabshop-footer .footer-section .features-list,
    .elementor-widget-khabshop_footer .khabshop-footer .features-list {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 0.75rem !important;
    }

    .khabshop-footer .footer-section .feature-item,
    .elementor-widget-khabshop_footer .khabshop-footer .feature-item {
        font-size: 0.8rem;
        gap: 8px;
    }
}

@media (max-width: 480px) {
    .khabshop-footer .features-list,
    .khabshop-footer .footer-section .features-list,
    .elementor-widget-khabshop_footer .khabshop-footer .features-list {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 0.5rem !important;
    }

    .khabshop-footer .feature-item,
    .khabshop-footer .footer-section .feature-item {
        font-size: 0.75rem !important;
        gap: 6px;
    }
}

.khabshop-footer .visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

@media (prefers-reduced-motion: reduce) {
    .khabshop-footer *, .khabshop-footer *::before, .khabshop-footer *::after {
        animation-duration: 0.01s !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01s !important;
        scroll-behavior: auto !important;
    }

    .khabshop-footer .footer-section:hover {
        transform: none !important;
    }
}

@media (hover: none) and (pointer: coarse) {
    .khabshop-footer .footer-section:hover,
    .khabshop-footer .contact-item:hover,
    .khabshop-footer .feature-item:hover,
    .khabshop-footer .social-icon:hover,
    .khabshop-footer .quick-link:hover,
    .khabshop-footer .footer-logo:hover img {
        transform: none;
        background-color: initial;
        color: initial;
        border-color: initial;
        box-shadow: initial;
    }
}

.khabshop-footer .footer-logo img,
.khabshop-footer .quick-link,
.khabshop-footer .footer-section,
.khabshop-footer .contact-item,
.khabshop-footer .contact-icon,
.khabshop-footer .social-icon {
    transform: translateZ(0);
    backface-visibility: hidden;
}

:root {
    --text: #e6eeff;
    --muted-text: #c4d0ff;
    --heading: #ffffff;
    --accent: #ffd966;
    --accent-strong: #ffbf3c;
    --surface: rgba(21, 32, 72, 0.55);
    --surface-hover: rgba(26, 40, 88, 0.65);
    --border: rgba(152, 179, 255, 0.18);
    --border-strong: rgba(152, 179, 255, 0.35);
    --shadow: 0 8px 16px rgba(8, 12, 28, 0.35);
    --shadow-hover: 0 16px 32px rgba(8, 12, 28, 0.5);
    --glass-tint: rgba(21, 32, 72, 0.45);
    --glass-tint-hover: rgba(26, 40, 88, 0.55);
    --glass-blur: blur(12px);
    --glass-blur-hover: blur(15px);
    --box-text: #e8edff;
    --box-muted-text: #c4d2ff;
    --box-heading: #ffffff;
}

/* ICON CONFLICT FIXES - Higher specificity selectors to prevent conflicts */

/* Contact icons with higher specificity */
.khabshop-footer .footer-section .contact-icon,
.elementor-widget-khabshop_footer .khabshop-footer .contact-icon {
    width: 32px !important;
    height: 32px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: linear-gradient(135deg, rgba(255, 217, 102, 0.18), rgba(255, 191, 60, 0.28)) !important;
    color: var(--accent-strong) !important;
    border-radius: 50% !important;
    transition: background 0.15s ease-out, color 0.15s ease-out, transform 0.15s ease-out;
    border: 1px solid rgba(255, 191, 60, 0.28) !important;
    will-change: background, color, transform;
    position: relative;
    z-index: 10;
}

/* Contact icon Font Awesome icons with higher specificity */
.khabshop-footer .footer-section .contact-icon i,
.elementor-widget-khabshop_footer .khabshop-footer .contact-icon i {
    font-family: "Font Awesome 6 Free", "Font Awesome 5 Free", "FontAwesome", "Font Awesome" !important;
    font-style: normal !important;
    font-variant: normal !important;
    text-rendering: auto !important;
    line-height: 1 !important;
    font-size: 16px !important;
    display: inline-block !important;
    font-weight: 900 !important;
    color: inherit !important;
}

/* Social icons container with higher specificity */
.khabshop-footer .footer-section .social-icons-container,
.elementor-widget-khabshop_footer .khabshop-footer .social-icons-container {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid rgba(171, 193, 255, 0.2);
}

/* Social icons layout with higher specificity */
.khabshop-footer .footer-section .social-icons,
.elementor-widget-khabshop_footer .khabshop-footer .social-icons {
    display: flex !important;
    flex-direction: row !important;
    gap: 1rem !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    align-items: center !important;
}

/* Individual social icon with higher specificity */
.khabshop-footer .footer-section .social-icon,
.elementor-widget-khabshop_footer .khabshop-footer .social-icon {
    position: relative !important;
    width: 42px !important;
    height: 42px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 50% !important;
    background: var(--glass-tint) !important;
    color: var(--box-text) !important;
    text-decoration: none !important;
    border: 1px solid var(--border) !important;
    transition: color 0.15s ease-out, background-color 0.15s ease-out, border-color 0.15s ease-out, transform 0.15s ease-out;
    overflow: hidden;
    will-change: color, background-color, border-color, transform;
    z-index: 10;
}

/* Social icon Font Awesome icons with higher specificity */
.khabshop-footer .footer-section .social-icon i,
.elementor-widget-khabshop_footer .khabshop-footer .social-icon i,
.khabshop-footer .footer-section .social-icon i[class*="fa-"],
.elementor-widget-khabshop_footer .khabshop-footer .social-icon i[class*="fa-"] {
    font-family: "Font Awesome 6 Brands", "Font Awesome 6 Free", "Font Awesome 5 Brands", "Font Awesome 5 Free", "FontAwesome", "Font Awesome" !important;
    font-style: normal !important;
    font-variant: normal !important;
    text-rendering: auto !important;
    line-height: 1 !important;
    font-size: 20px !important;
    display: inline-block !important;
    font-weight: 400 !important;
    color: inherit !important;
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    vertical-align: baseline !important;
    text-align: center !important;
}

/* Force Font Awesome brand icons font-weight */
.khabshop-footer .footer-section .social-icon i[class*="fab"],
.elementor-widget-khabshop_footer .khabshop-footer .social-icon i[class*="fab"] {
    font-weight: 400 !important;
}

/* Force Font Awesome solid icons font-weight */
.khabshop-footer .footer-section .contact-icon i[class*="fas"],
.elementor-widget-khabshop_footer .khabshop-footer .contact-icon i[class*="fas"] {
    font-weight: 900 !important;
}

/* Force Font Awesome solid icons font-weight */
.khabshop-footer .footer-section .contact-icon i[class*="fas"],
.elementor-widget-khabshop_footer .khabshop-footer .contact-icon i[class*="fas"] {
    font-weight: 900 !important;
}

/* ADDITIONAL DEFENSIVE CSS - Prevent theme/plugin conflicts */

/* Reset any inherited styles that might interfere */
.khabshop-footer .social-icon *,
.khabshop-footer .contact-icon *,
.elementor-widget-khabshop_footer .khabshop-footer .social-icon *,
.elementor-widget-khabshop_footer .khabshop-footer .contact-icon * {
    box-sizing: border-box !important;
}

/* Ensure icons don't get hidden by display:none rules */
.khabshop-footer .social-icon,
.khabshop-footer .contact-icon,
.khabshop-footer .social-icon i,
.khabshop-footer .contact-icon i,
.elementor-widget-khabshop_footer .khabshop-footer .social-icon,
.elementor-widget-khabshop_footer .khabshop-footer .contact-icon,
.elementor-widget-khabshop_footer .khabshop-footer .social-icon i,
.elementor-widget-khabshop_footer .khabshop-footer .contact-icon i {
    visibility: visible !important;
    opacity: 1 !important;
    display: flex !important;
}

/* Fix for pseudo-elements that might interfere */
.khabshop-footer .social-icon::before,
.khabshop-footer .social-icon::after,
.khabshop-footer .contact-icon::before,
.khabshop-footer .contact-icon::after {
    content: none !important;
}

/* Ensure Font Awesome CSS properties aren't overridden */
.khabshop-footer i[class^="fa-"],
.khabshop-footer i[class*=" fa-"],
.elementor-widget-khabshop_footer i[class^="fa-"],
.elementor-widget-khabshop_footer i[class*=" fa-"] {
    speak: never !important;
    font-style: normal !important;
    font-weight: normal !important;
    font-variant: normal !important;
    text-transform: none !important;
    line-height: 1 !important;
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
    display: inline-block !important;
    text-rendering: auto !important;
}

/* Specific platform icon mappings to ensure they render */
.khabshop-footer .social-icon[data-platform="instagram"] i::before,
.elementor-widget-khabshop_footer .social-icon[data-platform="instagram"] i::before {
    content: "\f16d" !important; /* Instagram icon */
}

.khabshop-footer .social-icon[data-platform="telegram"] i::before,
.elementor-widget-khabshop_footer .social-icon[data-platform="telegram"] i::before {
    content: "\f2c6" !important; /* Telegram icon */
}

.khabshop-footer .social-icon[data-platform="twitter"] i::before,
.elementor-widget-khabshop_footer .social-icon[data-platform="twitter"] i::before {
    content: "\f099" !important; /* Twitter icon */
}

.khabshop-footer .social-icon[data-platform="youtube"] i::before,
.elementor-widget-khabshop_footer .social-icon[data-platform="youtube"] i::before {
    content: "\f167" !important; /* YouTube icon */
}

/* Contact icon mappings */
.khabshop-footer .contact-icon i.fa-map-marker-alt::before,
.elementor-widget-khabshop_footer .contact-icon i.fa-map-marker-alt::before {
    content: "\f3c5" !important; /* Map marker icon */
}

.khabshop-footer .contact-icon i.fa-phone-alt::before,
.elementor-widget-khabshop_footer .contact-icon i.fa-phone-alt::before {
    content: "\f879" !important; /* Phone icon */
}

.khabshop-footer .contact-icon i.fa-envelope::before,
.elementor-widget-khabshop_footer .contact-icon i.fa-envelope::before {
    content: "\f0e0" !important; /* Envelope icon */
}

/* Updated CSS for new unique class names */

/* KhabShop contact icons with unique class names */
.khabshop-contact-icon,
.khabshop-footer .khabshop-contact-icon,
.elementor-widget-khabshop_footer .khabshop-contact-icon {
    width: 32px !important;
    height: 32px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: linear-gradient(135deg, rgba(255, 217, 102, 0.18), rgba(255, 191, 60, 0.28)) !important;
    color: var(--accent-strong) !important;
    border-radius: 50% !important;
    border: 1px solid rgba(255, 191, 60, 0.28) !important;
    position: relative;
    z-index: 10;
}

/* KhabShop social icons container with unique class names */
.khabshop-social-container,
.khabshop-footer .khabshop-social-container,
.elementor-widget-khabshop_footer .khabshop-social-container {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid rgba(171, 193, 255, 0.2);
}

/* KhabShop social icons layout with unique class names */
.khabshop-social-icons,
.khabshop-footer .khabshop-social-icons,
.elementor-widget-khabshop_footer .khabshop-social-icons {
    display: flex !important;
    flex-direction: row !important;
    gap: 1rem !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    align-items: center !important;
}

/* KhabShop individual social icons with unique class names */
.khabshop-social-icon,
.khabshop-footer .khabshop-social-icon,
.elementor-widget-khabshop_footer .khabshop-social-icon {
    position: relative !important;
    width: 42px !important;
    height: 42px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 50% !important;
    background: var(--glass-tint) !important;
    color: var(--box-text) !important;
    text-decoration: none !important;
    border: 1px solid var(--border) !important;
    overflow: hidden;
    z-index: 10;
}

/* KhabShop icon Font Awesome styles with unique class names */
.khabshop-icon,
.khabshop-social-fa-icon,
.khabshop-footer .khabshop-icon,
.khabshop-footer .khabshop-social-fa-icon,
.elementor-widget-khabshop_footer .khabshop-icon,
.elementor-widget-khabshop_footer .khabshop-social-fa-icon {
    font-family: "Font Awesome 6 Free", "Font Awesome 6 Brands", "Font Awesome 5 Free", "Font Awesome 5 Brands", "FontAwesome" !important;
    font-style: normal !important;
    font-variant: normal !important;
    text-rendering: auto !important;
    line-height: 1 !important;
    display: inline-block !important;
    color: inherit !important;
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    vertical-align: baseline !important;
    text-align: center !important;
    font-size: inherit !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* FINAL OVERRIDE: Force 2-column features list on mobile with maximum specificity */
@media screen and (max-width: 768px) {
    .khabshop-footer ul.features-list,
    .khabshop-footer .footer-section ul.features-list,
    .elementor-widget-khabshop_footer .khabshop-footer ul.features-list,
    .elementor-widget-khabshop_footer .khabshop-footer .footer-section ul.features-list {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        grid-template-rows: auto !important;
        gap: 0.75rem !important;
        list-style: none !important;
    }

    /* Mobile background image optimization for portrait aspect ratio */
    .khabshop-footer[data-bg-mobile]:not([data-bg-mobile=""]) {
        background-size: cover !important;
        background-position: center top !important;
        background-repeat: no-repeat !important;
    }

    /* Alternative approach: contain for portrait images to show full image */
    .khabshop-footer.portrait-bg[data-bg-mobile]:not([data-bg-mobile=""]) {
        background-size: contain !important;
        background-position: center top !important;
        background-repeat: no-repeat !important;
    }

    /* Mobile-specific background sizing based on user selection */
    .khabshop-footer[data-mobile-bg-size="contain"] {
        background-size: contain !important;
    }

    .khabshop-footer[data-mobile-bg-size="cover"] {
        background-size: cover !important;
    }

    .khabshop-footer[data-mobile-bg-size="auto"] {
        background-size: auto !important;
    }

    /* Mobile-specific background positioning */
    .khabshop-footer[data-mobile-bg-position="center-top"] {
        background-position: center top !important;
    }

    .khabshop-footer[data-mobile-bg-position="center-center"] {
        background-position: center center !important;
    }

    .khabshop-footer[data-mobile-bg-position="center-bottom"] {
        background-position: center bottom !important;
    }

    .khabshop-footer[data-mobile-bg-position="left-top"] {
        background-position: left top !important;
    }

    .khabshop-footer[data-mobile-bg-position="right-top"] {
        background-position: right top !important;
    }
}