@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@500;600;700;800&family=Plus+Jakarta+Sans:wght@600;700;800&family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');

/* ikman.lk Style Custom CSS */
:root {
    --ikman-teal: #0033FF;
    --ikman-teal-dark: #0026cb;
    --ikman-teal-light: #e6ecff;
    --ikman-yellow: #ffc800;
    --ikman-yellow-hover: #e6b400;
    --ikman-dark: #1e293b;
    --ikman-gray: #64748b;
    --ikman-light-gray: #f8fafc;
    --ikman-border: #e2e8f0;
}

body {
    font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: #f8fafc;
    color: var(--ikman-dark);
    line-height: 1.5;
}

a {
    color: #0033FF;
    text-decoration: none;
}
a:hover {
    color: #0033FF;
    text-decoration: underline;
}

/* Header & Navbar */
.ikman-navbar {
    background: rgba(0, 25, 128, 0.94) !important;
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
    padding: 0.75rem 0;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.35);
}

.ikman-logo {
    font-size: 1.75rem;
    font-weight: 800;
    color: #ffffff !important;
    letter-spacing: -0.5px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.ikman-logo span {
    color: #38bdf8;
}

.apple-nav-loc-btn {
    background: linear-gradient(135deg, rgba(0, 51, 255, 0.15) 0%, rgba(255, 255, 255, 0.08) 100%) !important;
    border: 1px solid rgba(0, 51, 255, 0.35) !important;
    color: #ffffff !important;
    font-weight: 600;
    font-size: 0.86rem;
    padding: 0.42rem 0.95rem;
    border-radius: 980px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 2px 10px rgba(0, 51, 255, 0.2);
}

.apple-nav-loc-btn:hover {
    background: linear-gradient(135deg, #0033FF 0%, #0055FF 100%) !important;
    border-color: rgba(255, 255, 255, 0.4) !important;
    transform: translateY(-1px);
    color: #ffffff !important;
    box-shadow: 0 6px 18px rgba(0, 51, 255, 0.45);
}

.apple-nav-link {
    color: rgba(255, 255, 255, 0.88) !important;
    font-weight: 600;
    font-size: 0.88rem;
    padding: 0.45rem 0.95rem !important;
    border-radius: 980px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
}

.apple-nav-link:hover,
.apple-nav-link:focus {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.12);
}

.btn-post-ad,
.apple-nav-post-ad {
    background: linear-gradient(135deg, #0033FF 0%, #0055FF 50%, #0088FF 100%) !important;
    color: #ffffff !important;
    font-weight: 700;
    font-size: 0.88rem;
    padding: 0.52rem 1.35rem;
    border-radius: 980px;
    border: none;
    box-shadow: 0 4px 20px rgba(0, 51, 255, 0.5);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    letter-spacing: -0.01em;
}

.btn-post-ad:hover,
.apple-nav-post-ad:hover {
    background: linear-gradient(135deg, #0033FF 0%, #0026cb 100%) !important;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(0, 113, 227, 0.55);
}

.btn-ikman-primary {
    background-color: var(--ikman-teal);
    color: #fff;
    font-weight: 600;
}
.btn-ikman-primary:hover {
    background-color: var(--ikman-teal-dark);
    color: #fff;
}

/* Hero Section */
.hero-banner {
    background: radial-gradient(circle at 50% 40%, rgba(37, 99, 235, 0.25) 0%, transparent 70%),
                linear-gradient(135deg, #0b132b 0%, #1c2b4a 50%, #0b132b 100%);
    color: white;
    padding: 3.5rem 0 4.5rem;
    position: relative;
    overflow: hidden;
}

.hero-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px);
    background-size: 24px 24px;
    pointer-events: none;
    opacity: 0.6;
}

.text-gradient-gold {
    background: linear-gradient(135deg, #ffe066 0%, #ffc800 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-search-box, 
.modern-search-box {
    background: #ffffff;
    padding: 6px 8px;
    border-radius: 50px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 15px 35px rgba(15, 23, 42, 0.14), 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.hero-search-box:focus-within, 
.modern-search-box:focus-within,
.hero-search-box:hover, 
.modern-search-box:hover {
    border-color: #3b82f6;
    box-shadow: 0 20px 45px rgba(37, 99, 235, 0.22), 0 0 0 3px rgba(59, 130, 246, 0.15);
}

.search-field-segment {
    padding: 2px 8px;
    border-radius: 30px;
    transition: background 0.2s ease;
}

.search-field-segment:hover {
    background: #f8fafc;
}

.hero-search-box .form-control, 
.hero-search-box .form-select,
.modern-search-box .form-control,
.modern-search-box .form-select {
    border: none;
    background: transparent;
    box-shadow: none;
    font-size: 0.93rem;
    font-weight: 500;
    padding: 0.55rem 0.5rem;
    color: var(--ikman-dark);
}

.hero-search-box .form-control::placeholder,
.modern-search-box .form-control::placeholder {
    color: #94a3b8;
    font-weight: 400;
}

.search-divider {
    border-right: 1px solid #e2e8f0;
}

.btn-hero-search {
    background: linear-gradient(135deg, #0033FF 0%, #0033FF 100%);
    color: #ffffff;
    font-weight: 700;
    font-size: 0.95rem;
    border-radius: 40px;
    height: 44px;
    padding: 0 1.5rem;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.35);
}

/* Modern Inline Search Bar (Ads Page Listing) */
.ad-inline-search-wrap {
    position: relative;
    background: #ffffff;
    border-radius: 50px;
    padding: 5px 6px 5px 18px;
    border: 1.5px solid #e2e8f0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.25s ease-in-out;
    display: flex;
    align-items: center;
}

.ad-inline-search-wrap:hover,
.ad-inline-search-wrap:focus-within {
    border-color: #0033FF;
    box-shadow: 0 6px 22px rgba(37, 99, 235, 0.16), 0 0 0 3px rgba(37, 99, 235, 0.1);
    transform: translateY(-1px);
}

.ad-inline-search-icon {
    font-size: 1.05rem;
    color: #3b82f6;
    margin-right: 10px;
    flex-shrink: 0;
}

.ad-inline-search-input {
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
    font-size: 0.95rem;
    font-weight: 500;
    color: #1e293b;
    padding: 0.45rem 0.2rem;
    flex-grow: 1;
}

.ad-inline-search-input::placeholder {
    color: #94a3b8;
    font-weight: 400;
}

.ad-inline-search-btn {
    background: linear-gradient(135deg, #0033FF 0%, #0033FF 100%);
    color: #ffffff !important;
    border: none;
    border-radius: 50px;
    padding: 0.55rem 1.5rem;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.3px;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
    transition: all 0.2s ease;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.ad-inline-search-btn:hover {
    background: linear-gradient(135deg, #0033FF 0%, #0026cb 100%);
    color: #ffffff !important;
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.35);
    transform: translateY(-1px);
}

.btn-hero-search:hover {
    background: linear-gradient(135deg, #0033FF 0%, #0026cb 100%);
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 8px 22px rgba(37, 99, 235, 0.5);
}

@media (max-width: 767.98px) {
    .hero-search-box, .modern-search-box {
        border-radius: 24px;
        padding: 10px;
    }
    .search-divider {
        border-right: none;
        border-bottom: 1px solid #f1f5f9;
        margin-bottom: 4px;
        padding-bottom: 4px;
    }
    .btn-hero-search {
        border-radius: 16px;
        margin-top: 4px;
    }
}

/* Category Grid */
.category-card {
    background: white;
    border: 1px solid var(--ikman-border);
    border-radius: 8px;
    padding: 1.25rem 0.8rem;
    text-align: center;
    transition: all 0.2s ease;
    display: block;
    color: var(--ikman-dark);
    height: 100%;
}
.category-card:hover {
    border-color: var(--ikman-teal);
    box-shadow: 0 6px 16px rgba(0, 152, 121, 0.12);
    text-decoration: none;
    transform: translateY(-3px);
}
.category-icon {
    width: 54px;
    height: 54px;
    background-color: var(--ikman-teal-light);
    color: var(--ikman-teal);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}
.category-title {
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
}
.category-count {
    font-size: 0.8rem;
    color: var(--ikman-gray);
}

/* Listing Cards */
.ad-card {
    background: white;
    border: 1px solid var(--ikman-border);
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 1rem;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: row;
}
.ad-card:hover {
    border-color: var(--ikman-teal);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}
.ad-card-img-wrap {
    width: 220px;
    min-width: 220px;
    height: 160px;
    position: relative;
    background-color: #eee;
    overflow: hidden;
}
.ad-card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.ad-card-body {
    padding: 1rem 1.2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.ad-card-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #212529;
    margin-bottom: 0.25rem;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
}
.ad-card-title:hover {
    color: #0033FF;
    text-decoration: underline;
}
.ad-card-meta {
    font-size: 0.83rem;
    color: var(--ikman-gray);
    margin-bottom: 0.5rem;
}
.ad-card-price {
    font-family: 'Outfit', 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--ikman-teal);
    letter-spacing: -0.02em;
}
.ad-card-badge {
    background-color: #e8f5e9;
    color: #2e7d32;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
    text-transform: uppercase;
}

/* Sidebar Filters */
.filter-card {
    background: white;
    border: 1px solid var(--ikman-border);
    border-radius: 8px;
    padding: 1.25rem;
    margin-bottom: 1.25rem;
}
.filter-title {
    font-size: 1rem;
    font-weight: 700;
    border-bottom: 2px solid var(--ikman-teal-light);
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
}
.filter-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}
.filter-list li {
    margin-bottom: 0.4rem;
}
.filter-list a {
    color: var(--ikman-dark);
    font-size: 0.9rem;
    display: flex;
    justify-content: space-between;
}
.filter-list a:hover {
    color: var(--ikman-teal);
    text-decoration: none;
}
.filter-list a.active {
    font-weight: 700;
    color: var(--ikman-teal);
}

/* Detail Page */
.detail-main-img {
    width: 100%;
    max-height: 480px;
    object-fit: contain;
    background-color: #000;
    border-radius: 8px;
}
.thumbnail-strip {
    display: flex;
    gap: 8px;
    margin-top: 10px;
    overflow-x: auto;
}
.thumbnail-item {
    width: 80px;
    height: 60px;
    border-radius: 4px;
    cursor: pointer;
    border: 2px solid transparent;
    object-fit: cover;
}
.thumbnail-item.active {
    border-color: var(--ikman-teal);
}

.seller-box {
    background: white;
    border: 1px solid var(--ikman-border);
    border-radius: 8px;
    padding: 1.5rem;
}
.phone-reveal-btn {
    background-color: #008767;
    color: white;
    font-weight: 700;
    width: 100%;
    padding: 0.8rem;
    font-size: 1.1rem;
    border-radius: 6px;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.phone-reveal-btn:hover {
    background-color: #006e54;
    color: white;
}

.safety-box {
    background: #fff8e1;
    border: 1px solid #ffe082;
    border-radius: 8px;
    padding: 1rem 1.25rem;
    font-size: 0.85rem;
    color: #5d4037;
}

/* Footer */
footer {
    background-color: #f2f4f3;
    color: #4a524f;
    padding: 3.5rem 0 1.5rem;
    margin-top: 4rem;
    font-size: 0.88rem;
    border-top: 1px solid #e0e0e0;
}
footer h6 {
    color: #2f3432;
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 1rem;
}
footer ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}
footer ul li {
    margin-bottom: 0.45rem;
}
footer a {
    color: #555e5b;
    text-decoration: none;
    transition: color 0.2s ease;
}
footer a:hover {
    color: var(--ikman-teal);
    text-decoration: underline;
}
.footer-social-icons {
    display: flex;
    gap: 12px;
    font-size: 1.1rem;
    margin-top: 0.75rem;
}
.footer-social-icons a {
    color: #2f3432;
    transition: color 0.2s ease;
}
.footer-social-icons a:hover {
    color: var(--ikman-teal);
}
.footer-bottom {
    border-top: 1px solid #dcdcdc;
    padding-top: 1.25rem;
    margin-top: 2.5rem;
}
.footer-logo {
    font-weight: 800;
    font-size: 1.25rem;
    color: #2f3432;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.footer-logo span {
    color: var(--ikman-teal);
}

/* Responsive tweaks */
@media (max-width: 768px) {
    .ad-card {
        flex-direction: column;
    }
    .ad-card-img-wrap {
        width: 100%;
        height: 200px;
    }
    .hero-search-box .search-divider {
        border-right: none;
        border-bottom: 1px solid var(--ikman-border);
        margin-bottom: 8px;
    }
}

/* ==========================================================================
   Left Side Banner Ads Column & Banner Player Styles
   ========================================================================== */
.left-banner-column {
    position: sticky;
    top: 20px;
}

.banner-player-card {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
    margin-bottom: 1.25rem;
    transition: all 0.3s ease;
}

.banner-player-header {
    background: linear-gradient(135deg, #1b2a47 0%, #009879 100%);
    color: white;
    padding: 8px 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    font-weight: 700;
}

.banner-player-body {
    position: relative;
    width: 100%;
    min-height: 260px;
    background-color: #111;
    overflow: hidden;
}

.banner-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s ease-in-out, transform 0.6s ease-in-out;
    transform: scale(0.97);
}

.banner-slide.active {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
    position: relative;
}

.banner-slide-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.banner-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(0, 0, 0, 0.75);
    color: #ffc800;
    font-size: 0.7rem;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 4px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    border: 1px solid rgba(255, 200, 0, 0.5);
    z-index: 2;
}

.banner-slide-overlay {
    background: rgba(0, 0, 0, 0.85);
    color: white;
    padding: 10px 12px;
}

.banner-slide-title {
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 4px;
    color: #ffffff;
    line-height: 1.25;
}

.banner-player-controls {
    background: #f8f9fa;
    border-top: 1px solid #eee;
    padding: 6px 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.banner-play-toggle-btn {
    border: none;
    background: var(--ikman-teal);
    color: white;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    cursor: pointer;
    transition: background 0.2s ease;
}

.banner-play-toggle-btn:hover {
    background: var(--ikman-teal-dark);
}

.banner-progress-container {
    flex-grow: 1;
    height: 4px;
    background: #e0e0e0;
    border-radius: 2px;
    margin: 0 10px;
    overflow: hidden;
}

.banner-progress-bar {
    height: 100%;
    width: 0%;
    background: var(--ikman-teal);
    transition: width 0.1s linear;
}

.banner-dots {
    display: flex;
    gap: 4px;
}

.banner-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ccc;
    cursor: pointer;
    transition: all 0.2s ease;
}

.banner-dot.active {
    background: var(--ikman-teal);
    width: 16px;
    border-radius: 4px;
}

.banner-static-card {
    background: white;
    border: 1px solid var(--ikman-border);
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 1rem;
    transition: all 0.2s ease;
}

.banner-static-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-color: var(--ikman-teal);
}

.banner-static-card img {
    width: 100%;
    height: 130px;
    object-fit: cover;
}

/* ==========================================================================
   Top Ads & Bump Ads Styling
   ========================================================================== */
.ad-card.ad-card-top {
    border: 2px solid #dec275 !important;
    background-color: #fffdf5 !important;
    box-shadow: 0 4px 14px rgba(217, 186, 102, 0.12) !important;
    position: relative;
}
.ad-card.ad-card-top:hover {
    border-color: #c9a752 !important;
    box-shadow: 0 6px 16px rgba(217, 186, 102, 0.18) !important;
}

.badge-top-ad {
    background: linear-gradient(135deg, #ffc800 0%, #ff9800 100%);
    color: #1a1a1a;
    font-weight: 800;
    font-size: 0.65rem;
    padding: 2px 7px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    letter-spacing: 0.2px;
    white-space: nowrap;
    box-shadow: 0 1px 3px rgba(0,0,0,0.12);
}

.badge-bumped-ad {
    background-color: #0288d1;
    color: #ffffff;
    font-weight: 700;
    font-size: 0.65rem;
    padding: 2px 7px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    white-space: nowrap;
}

/* Promotion Cards on Post Ad */
.promo-option-card {
    border: 2px solid var(--ikman-border);
    border-radius: 8px;
    padding: 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
    height: 100%;
}

.promo-option-card:hover {
    border-color: var(--ikman-teal);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.promo-option-card.selected {
    border-color: var(--ikman-teal);
    background-color: var(--ikman-teal-light);
}

.promo-option-card.featured-top {
    border-color: #dec275;
    background-color: #fffdf5;
}
.promo-option-card.featured-top.selected {
    border-color: #c99b42;
    background-color: #fff8e1;
}

/* Featured Ads Showcase Block in Search Listings */
.featured-ads-showcase {
    border: 2px solid #92b6df !important;
    background: transparent !important;
    background-color: transparent !important;
    border-radius: 10px;
    overflow: hidden;
}

/* ==========================================================================
   Vehicles & Property Marketplace Custom Styles
   ========================================================================== */
.hero-category-tabs {
    display: inline-flex;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    border-radius: 30px;
    padding: 4px;
    margin-bottom: 1.25rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-tab-btn {
    color: #ffffff;
    font-weight: 600;
    font-size: 0.92rem;
    padding: 6px 18px;
    border-radius: 25px;
    text-decoration: none;
    transition: all 0.25 ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.hero-tab-btn:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.2);
    text-decoration: none;
}

.hero-tab-btn.active {
    background: #ffffff;
    color: var(--ikman-dark);
    font-weight: 700;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
}

.hero-quick-pills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-top: 1.25rem;
}

.quick-pill {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    padding: 5px 14px;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.quick-pill:hover {
    background: #ffffff;
    color: var(--ikman-teal-dark);
    border-color: #ffffff;
    transform: translateY(-2px);
    text-decoration: none;
}

/* Vehicles & Property Hub Cards */
.hub-spotlight-card {
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid var(--ikman-border);
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.hub-spotlight-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.1);
    border-color: var(--ikman-teal);
}

.hub-header-vehicles {
    background: linear-gradient(135deg, #0f172a 0%, #0033FF 100%);
    color: white;
    padding: 1.5rem;
    position: relative;
}

.hub-header-property {
    background: linear-gradient(135deg, #1d3557 0%, #457b9d 100%);
    color: white;
    padding: 1.5rem;
    position: relative;
}

.hub-header-icon {
    font-size: 2.2rem;
    opacity: 0.9;
    margin-bottom: 0.5rem;
}

.hub-body {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.hub-subcategory-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 10px;
    margin-bottom: 1.25rem;
}

.hub-sub-item {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 10px 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    color: var(--ikman-dark);
    text-decoration: none;
    transition: all 0.2s ease;
}

.hub-sub-item:hover {
    background: var(--ikman-teal-light);
    border-color: var(--ikman-teal);
    color: var(--ikman-teal-dark);
    text-decoration: none;
    transform: translateY(-2px);
}

.hub-sub-item i {
    font-size: 1.3rem;
    margin-bottom: 6px;
    color: var(--ikman-teal);
}

.hub-sub-item span.title {
    font-weight: 700;
    font-size: 0.82rem;
    line-height: 1.2;
}

.hub-sub-item span.count {
    font-size: 0.72rem;
    color: var(--ikman-gray);
    margin-top: 2px;
}

/* Category Badges */
.badge-cat-vehicle {
    background-color: #e0f2fe;
    color: #0369a1;
    font-weight: 700;
    font-size: 0.75rem;
    padding: 3px 8px;
    border-radius: 4px;
}

.badge-cat-property {
    background-color: #dcfce7;
    color: #15803d;
    font-weight: 700;
    font-size: 0.75rem;
    padding: 3px 8px;
    border-radius: 4px;
}

/* Trust Card */
.trust-card {
    background: white;
    border: 1px solid var(--ikman-border);
    border-radius: 10px;
    padding: 1.5rem 1rem;
    text-align: center;
    height: 100%;
    transition: all 0.2s ease;
}

.trust-card:hover {
    box-shadow: 0 6px 16px rgba(0,0,0,0.06);
    border-color: var(--ikman-teal);
}

.trust-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--ikman-teal-light);
    color: var(--ikman-teal);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 1rem;
}

/* Brand Pills & Subcategory Explorer */
.brand-pill {
    background: #ffffff;
    border: 1px solid #d1d5db;
    border-radius: 20px;
    padding: 6px 14px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #374151;
    text-decoration: none;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.03);
}

.brand-pill:hover {
    background: var(--ikman-teal);
    color: #ffffff;
    border-color: var(--ikman-teal);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 152, 121, 0.2);
    text-decoration: none;
}

.subcat-explorer-card {
    background: #ffffff;
    border: 1px solid var(--ikman-border);
    border-radius: 10px;
    padding: 1.25rem 1rem;
    transition: all 0.25s ease;
    height: 100%;
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    color: var(--ikman-dark);
}

.subcat-explorer-card:hover {
    border-color: var(--ikman-teal);
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    transform: translateY(-3px);
    text-decoration: none;
}

/* Live Search Autocomplete Dropdown (Matching Reference Image) */
.autocomplete-dropdown {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    right: 0;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.22), 0 4px 12px rgba(0, 0, 0, 0.08);
    z-index: 1050;
    overflow: hidden;
    text-align: left;
    max-height: 420px;
    overflow-y: auto;
}

.autocomplete-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 18px;
    border-bottom: 1px solid #f1f5f9;
    color: #334155;
    text-decoration: none;
    transition: all 0.15s ease;
}

.autocomplete-item:last-child {
    border-bottom: none;
}

.autocomplete-item:hover, .autocomplete-item.active {
    background-color: #f8fafc;
    color: #0033FF;
    text-decoration: none;
}

.autocomplete-item .item-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    margin-right: 12px;
    flex-shrink: 0;
}

.autocomplete-item .item-content {
    flex-grow: 1;
    overflow: hidden;
}

.autocomplete-item .item-title {
    font-size: 0.93rem;
    font-weight: 500;
    color: #1e293b;
    line-height: 1.35;
}

.autocomplete-item .item-subtitle {
    font-size: 0.78rem;
    color: #64748b;
    margin-top: 2px;
}

.autocomplete-item .item-arrow {
    font-size: 1.05rem;
    color: #94a3b8;
    margin-left: 10px;
    transition: transform 0.2s ease, color 0.2s ease;
}

.autocomplete-item:hover .item-arrow {
    transform: translate(2px, -2px);
    color: #0033FF;
}

.autocomplete-match-highlight {
    background-color: #e0f2fe;
    color: #0369a1;
    font-weight: 700;
    border-radius: 2px;
    padding: 0 3px;
}

.autocomplete-footer {
    padding: 12px 18px;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
}

.autocomplete-footer a {
    color: #0033FF;
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
}

.autocomplete-footer a:hover {
    color: #0033FF;
    text-decoration: underline;
}


.subcat-icon-circle {
    width: 52px;
    height: 52px;
    min-width: 52px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
}

/* Modern Location Picker Modal Styling */
#locationModal .modal-content {
    border-radius: 20px;
    border: none;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
    overflow: hidden;
}

#locationModal .modal-header {
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    padding: 1.2rem 1.5rem;
}

.location-icon-box {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background-color: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.location-list-item {
    transition: all 0.2s ease;
    border-color: #f1f5f9;
}

.location-list-item:hover {
    background-color: #f8fafc;
    padding-left: 1.25rem !important;
}

.location-list-item:hover .location-icon-box {
    background-color: #eff6ff;
    color: #0033FF;
}

.location-list-item:hover .loc-arrow {
    color: #0033FF !important;
    transform: translateX(3px);
}

/* ==========================================================================
   Modern Sidebar Filter Components (Categories, Location, Price & Condition)
   ========================================================================== */
.modern-sidebar-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 1.25rem;
    box-shadow: 0 4px 18px rgba(15, 23, 42, 0.04);
    margin-bottom: 1.25rem;
    transition: all 0.25s ease;
}

.modern-sidebar-card:hover {
    box-shadow: 0 6px 22px rgba(15, 23, 42, 0.07);
}

.modern-sidebar-title {
    font-size: 0.98rem;
    font-weight: 700;
    color: #0f172a;
    border-bottom: 2px solid #f1f5f9;
    padding-bottom: 0.75rem;
    margin-bottom: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.modern-sidebar-title .title-icon-wrap {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    margin-right: 8px;
}

/* Category & Location Modern List Items */
.modern-filter-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.modern-filter-item {
    margin-bottom: 7px;
}

.modern-filter-item:last-child {
    margin-bottom: 0;
}

.modern-filter-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.62rem 0.85rem;
    color: #334155;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 10px;
    text-decoration: none !important;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    background: #f8fafc;
    border: 1px solid #f1f5f9;
}

.modern-filter-link:hover {
    background: #eff6ff;
    color: #0033FF;
    border-color: #bfdbfe;
    transform: translateX(3px);
}

.modern-filter-link.active {
    background: #eff6ff;
    color: #0033FF !important;
    border-color: #bfdbfe;
    border-left: 4px solid #0033FF;
    box-shadow: none;
}

.modern-filter-link.active i {
    color: #0033FF !important;
}

.modern-filter-link.active .cat-count-badge {
    background-color: #dbeafe !important;
    color: #0026cb !important;
}

/* Location Specific Styles: Scrollable List with Smooth Hover */
.location-filter-scroll {
    max-height: 320px;
    overflow-y: auto;
    padding-right: 4px;
}

.location-filter-scroll::-webkit-scrollbar {
    width: 5px;
}

.location-filter-scroll::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 10px;
}

.location-filter-scroll::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 10px;
}

.location-filter-scroll::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

.modern-loc-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.52rem 0.8rem;
    color: #475569;
    font-size: 0.88rem;
    font-weight: 500;
    border-radius: 8px;
    text-decoration: none !important;
    transition: all 0.18s ease;
    margin-bottom: 4px;
}

.modern-loc-link:hover {
    background: #f1f5f9;
    color: #0033FF;
    padding-left: 1rem;
}

.modern-loc-link.active {
    background: #eff6ff;
    color: #0033FF !important;
    font-weight: 700;
    border-left: 3px solid #0033FF;
    padding-left: 0.9rem;
}

/* Subcategories Panel */
.modern-subcat-list {
    list-style: none;
    padding-left: 0.5rem;
    margin-top: 0.4rem;
    margin-bottom: 0.5rem;
    border-left: 2px solid #cbd5e1;
    margin-left: 0.85rem;
}

.modern-subcat-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.45rem 0.65rem;
    color: #475569;
    font-size: 0.86rem;
    font-weight: 500;
    border-radius: 6px;
    text-decoration: none !important;
    transition: all 0.18s ease;
}

.modern-subcat-link:hover {
    background: #f1f5f9;
    color: #0033FF;
    padding-left: 0.85rem;
}

.modern-subcat-link.active {
    color: #0033FF !important;
    font-weight: 700;
    background: #eff6ff;
    border-left: 3px solid #0033FF;
    padding-left: 0.75rem;
}

.cat-count-badge {
    font-size: 0.72rem;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 12px;
    background-color: #e2e8f0;
    color: #475569;
    transition: all 0.2s ease;
}

/* ==========================================================================
   Modern User Dashboard Styling
   ========================================================================== */
.user-dash-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    box-shadow: 0 4px 18px rgba(15, 23, 42, 0.04);
    overflow: hidden;
    transition: all 0.25s ease;
}

.user-dash-card:hover {
    box-shadow: 0 6px 22px rgba(15, 23, 42, 0.07);
}

.user-avatar-circle {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0033FF 0%, #0033FF 100%);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 800;
    box-shadow: 0 6px 18px rgba(37, 99, 235, 0.25);
    margin-bottom: 0.75rem;
}

.user-dash-kpi {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 1.25rem;
    box-shadow: 0 4px 18px rgba(15, 23, 42, 0.04);
    transition: all 0.25s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.user-dash-kpi:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(15, 23, 42, 0.08);
}

.user-dash-menu .list-group-item {
    border: 1px solid #f1f5f9;
    border-radius: 10px !important;
    margin-bottom: 6px;
    padding: 0.75rem 1rem;
    font-weight: 600;
    color: #334155;
    transition: all 0.2s ease;
}

.user-dash-menu .list-group-item:hover {
    background: #eff6ff;
    color: #0033FF;
    border-color: #bfdbfe;
    transform: translateX(3px);
}

.user-dash-menu .list-group-item.active {
    background: linear-gradient(135deg, #0033FF 0%, #0033FF 100%);
    color: #ffffff !important;
    border-color: #0033FF;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.25);
}

/* Apple Design System (iOS / macOS HIG) Styling */
.post-ad-container.apple-style {
    max-width: 1140px;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI", Roboto, sans-serif;
}

.apple-page-title {
    font-size: 2.2rem;
    font-weight: 700;
    letter-spacing: -0.025em;
    color: #1d1d1f;
}

.apple-page-subtitle {
    font-size: 1.05rem;
    color: #86868b;
    font-weight: 400;
}

/* Apple Frosted Glass Card */
.apple-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: 24px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.03), 0 2px 8px rgba(0, 0, 0, 0.02);
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.apple-card:hover {
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.06), 0 4px 12px rgba(0, 0, 0, 0.03);
}

.apple-card-header {
    padding: 1.5rem 2rem;
    border-bottom: 1px solid rgba(241, 245, 249, 0.8);
    border-top-left-radius: 24px;
    border-top-right-radius: 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    background: rgba(255, 255, 255, 0.5);
}

/* Apple Squircle Icon Badges */
.apple-squircle-icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.apple-squircle-icon.icon-blue {
    background: linear-gradient(135deg, #0033FF 0%, #0026cb 100%);
    color: #ffffff;
}

.apple-squircle-icon.icon-orange {
    background: linear-gradient(135deg, #ff9500 0%, #d97706 100%);
    color: #ffffff;
}

.apple-squircle-icon.icon-green {
    background: linear-gradient(135deg, #34c759 0%, #248a3d 100%);
    color: #ffffff;
}

.apple-squircle-icon.icon-purple {
    background: linear-gradient(135deg, #af52de 0%, #8920c7 100%);
    color: #ffffff;
}

/* Apple Inputs & Selects */
.apple-card .form-control,
.apple-card .form-select {
    background: rgba(241, 245, 249, 0.7);
    border: 1.5px solid transparent;
    border-radius: 14px;
    padding: 0.8rem 1.1rem;
    font-size: 0.95rem;
    font-weight: 500;
    color: #1d1d1f;
    transition: all 0.2s ease;
}

.apple-card .form-control:focus,
.apple-card .form-select:focus {
    background: #ffffff;
    border-color: #0033FF;
    box-shadow: 0 0 0 4px rgba(0, 51, 255, 0.2);
}

/* Apple Segmented Control (Radio Group) */
.apple-segmented-control {
    background: rgba(118, 118, 128, 0.12);
    padding: 4px;
    border-radius: 14px;
    display: flex;
    gap: 4px;
}

.apple-segmented-item {
    flex: 1;
}

.apple-segmented-item input[type="radio"] {
    display: none;
}

.apple-segmented-item label {
    display: block;
    width: 100%;
    padding: 0.7rem 0.5rem;
    text-align: center;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.88rem;
    color: #515154;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    margin-bottom: 0;
}

.apple-segmented-item input[type="radio"]:checked + label {
    background: #ffffff;
    color: #1d1d1f;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.08);
}

/* Apple Drag and Drop Upload Dropzone */
.apple-upload-zone {
    border: 2px dashed #c7c7cc;
    border-radius: 20px;
    padding: 2.8rem 1.5rem;
    text-align: center;
    background: rgba(248, 250, 252, 0.6);
    cursor: pointer;
    transition: all 0.25s ease;
}

.apple-upload-zone:hover, .apple-upload-zone.dragover {
    border-color: #0033FF;
    background: rgba(239, 246, 255, 0.8);
}

.apple-upload-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #e5f1ff;
    color: #0033FF;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 1rem;
}

/* Apple Photo Thumbnails */
.apple-preview-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(226, 232, 240, 0.8);
    background: #ffffff;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
    transition: all 0.2s ease;
}

.apple-preview-card:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.apple-preview-card img {
    width: 100%;
    height: 125px;
    object-fit: cover;
}

.apple-preview-card .apple-cover-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    background: #0033FF;
    color: #ffffff;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 980px;
    letter-spacing: 0.3px;
    box-shadow: 0 2px 8px rgba(0, 51, 255, 0.35);
}

/* Apple Promotion Cards */
.apple-promo-card {
    border: 2px solid rgba(226, 232, 240, 0.8);
    border-radius: 20px;
    padding: 1.5rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    background: #ffffff;
    height: 100%;
}

.apple-promo-card:hover {
    border-color: #93c5fd;
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.apple-promo-card.selected {
    border-color: #0033FF;
    background: #f4f8ff;
    box-shadow: 0 12px 30px rgba(0, 51, 255, 0.2);
}

.apple-promo-card.promo-top.selected {
    border-color: #ff9500;
    background: #fff9f0;
    box-shadow: 0 12px 30px rgba(255, 149, 0, 0.18);
}

.apple-promo-card.promo-bump.selected {
    border-color: #34c759;
    background: #f2fcf5;
    box-shadow: 0 12px 30px rgba(52, 199, 89, 0.18);
}

/* Apple Custom Dropdown & Native Select Styling */
.apple-select-box {
    width: 100%;
    background: rgba(241, 245, 249, 0.75) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2386868b' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") no-repeat right 1.1rem center;
    background-size: 1rem;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border: 1.5px solid transparent;
    border-radius: 14px;
    padding: 0.85rem 2.8rem 0.85rem 1.1rem;
    font-size: 0.95rem;
    font-weight: 500;
    color: #1d1d1f;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.apple-select-box:hover {
    background-color: rgba(235, 241, 248, 0.9);
}

.apple-select-box:focus {
    background-color: #ffffff;
    border-color: #0033FF;
    box-shadow: 0 0 0 4px rgba(0, 51, 255, 0.2);
    outline: none;
}

.apple-select-box:disabled {
    opacity: 0.55;
    cursor: not-allowed;
    background-color: rgba(241, 245, 249, 0.5);
}

.apple-select-box option {
    background: #ffffff;
    color: #1d1d1f;
    font-size: 0.95rem;
    padding: 10px;
}

/* Apple Custom Dropdown Popover Styling */
.apple-custom-select-wrap {
    position: relative;
    z-index: 5;
}

.apple-custom-select-wrap.active-wrap {
    z-index: 2000;
}

.apple-select-btn {
    width: 100%;
    background: #f8fafc !important;
    border: 1.5px solid #cbd5e1 !important;
    border-radius: 14px;
    padding: 0.8rem 1.1rem;
    font-size: 0.95rem;
    font-weight: 500;
    color: #1d1d1f;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    text-align: left;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.apple-select-btn:hover {
    background: #ffffff !important;
    border-color: #94a3b8 !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.apple-select-btn.active,
.apple-select-btn:focus {
    background: #ffffff !important;
    border-color: #0033FF !important;
    box-shadow: 0 0 0 4px rgba(0, 51, 255, 0.2) !important;
}

.apple-select-btn.disabled {
    opacity: 0.6;
    cursor: not-allowed;
    pointer-events: none;
    background: #f1f5f9 !important;
    border-color: #e2e8f0 !important;
}

.apple-select-btn .apple-select-chevron {
    transition: transform 0.25s ease;
    font-size: 0.85rem;
    color: #86868b;
}

.apple-select-btn.active .apple-select-chevron {
    transform: rotate(180deg);
    color: #0033FF;
}

.apple-select-popover {
    position: absolute;
    left: 0;
    right: 0;
    z-index: 2100;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(30px) saturate(190%);
    -webkit-backdrop-filter: blur(30px) saturate(190%);
    border: 1px solid rgba(226, 232, 240, 0.95);
    border-radius: 18px;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.16), 0 4px 14px rgba(0, 0, 0, 0.06);
    padding: 8px;
    display: none;
    animation: applePopoverFade 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes applePopoverFade {
    from {
        opacity: 0;
        transform: scale(0.97);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.apple-select-popover.show {
    display: block;
}

.apple-select-search-box {
    padding: 4px;
    margin-bottom: 6px;
}

.apple-select-search-box input {
    width: 100%;
    background: #f1f5f9;
    border: none;
    border-radius: 10px;
    padding: 0.55rem 0.85rem;
    font-size: 0.88rem;
    color: #1d1d1f;
    outline: none;
}

.apple-select-search-box input:focus {
    background: #ffffff;
    box-shadow: 0 0 0 2px rgba(0, 113, 227, 0.3);
}

.apple-select-options-list {
    max-height: 240px;
    overflow-y: auto;
    padding-right: 2px;
}

.apple-select-options-list::-webkit-scrollbar {
    width: 6px;
}
.apple-select-options-list::-webkit-scrollbar-thumb {
    background: rgba(140, 140, 145, 0.3);
    border-radius: 10px;
}

.apple-select-option {
    padding: 0.65rem 0.85rem;
    border-radius: 10px;
    font-size: 0.92rem;
    font-weight: 500;
    color: #1d1d1f;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.15s ease;
    margin-bottom: 2px;
}

.apple-select-option:hover {
    background: #0033FF;
    color: #ffffff;
}

.apple-select-option:hover .text-muted,
.apple-select-option:hover .text-secondary {
    color: rgba(255, 255, 255, 0.8) !important;
}

.apple-select-option.selected {
    background: rgba(0, 113, 227, 0.08);
    color: #0033FF;
    font-weight: 600;
}

.apple-select-option.selected:hover {
    background: #0033FF;
    color: #ffffff;
}

.apple-select-option .check-icon {
    font-size: 0.85rem;
    color: #0033FF;
}

.apple-select-option:hover .check-icon {
    color: #ffffff;
}

/* Apple Action Pill Button */
.apple-btn-primary {
    background: #0033FF;
    color: #ffffff;
    font-weight: 600;
    font-size: 1.05rem;
    padding: 0.95rem 3rem;
    border-radius: 980px;
    border: none;
    box-shadow: 0 8px 25px rgba(0, 113, 227, 0.3);
    transition: all 0.25s cubic-bezier(0.25, 1, 0.5, 1);
}

.apple-btn-primary:hover {
    background: #0033FF;
    color: #ffffff;
    transform: scale(1.015);
    box-shadow: 0 12px 30px rgba(0, 51, 255, 0.35);
}


.post-ad-page-title {
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.5px;
}

.post-ad-stepper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    margin-bottom: 2rem;
    padding: 0 1rem;
}

.post-ad-stepper::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 15%;
    right: 15%;
    height: 3px;
    background: #e2e8f0;
    z-index: 1;
}

.stepper-item {
    position: relative;
    z-index: 2;
    text-align: center;
    background: #f8fafc;
    padding: 0 10px;
}

.stepper-circle {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #ffffff;
    border: 3px solid #cbd5e1;
    color: #64748b;
    font-weight: 700;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 6px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}

.stepper-item.active .stepper-circle {
    background: #0033FF;
    border-color: #93c5fd;
    color: #ffffff;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.18);
}

.stepper-item.completed .stepper-circle {
    background: #10b981;
    border-color: #a7f3d0;
    color: #ffffff;
}

.stepper-label {
    font-size: 0.82rem;
    font-weight: 700;
    color: #64748b;
}

.stepper-item.active .stepper-label {
    color: #1e293b;
}

/* Post Ad Step Cards */
.post-ad-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
    margin-bottom: 2rem;
    transition: all 0.25s ease;
}

.post-ad-card:hover {
    box-shadow: 0 14px 35px rgba(15, 23, 42, 0.07);
}

.post-ad-card-header {
    padding: 1.25rem 1.75rem;
    border-bottom: 1px solid #f1f5f9;
    background: #ffffff;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    display: flex;
    align-items: center;
    gap: 14px;
}

.post-ad-icon-badge {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    flex-shrink: 0;
}

.post-ad-icon-badge.bg-blue {
    background: #eff6ff;
    color: #0033FF;
}

.post-ad-icon-badge.bg-amber {
    background: #fffbeb;
    color: #d97706;
}

.post-ad-icon-badge.bg-emerald {
    background: #ecfdf5;
    color: #059669;
}

.post-ad-icon-badge.bg-purple {
    background: #faf5ff;
    color: #7c3aed;
}

/* Form inputs & Select controls */
.post-ad-card .form-control,
.post-ad-card .form-select {
    border: 1.5px solid #cbd5e1;
    border-radius: 12px;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    font-weight: 500;
    color: #1e293b;
    transition: all 0.2s ease;
}

.post-ad-card .form-control:focus,
.post-ad-card .form-select:focus {
    border-color: #0033FF;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
    background-color: #ffffff;
}

/* Item Condition Selector Buttons */
.condition-pill-group {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.condition-pill-option {
    flex: 1;
    min-width: 140px;
}

.condition-pill-option input[type="radio"] {
    display: none;
}

.condition-pill-label {
    display: block;
    padding: 0.75rem 1rem;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    text-align: center;
    font-weight: 600;
    font-size: 0.9rem;
    color: #475569;
    cursor: pointer;
    transition: all 0.2s ease;
    background: #f8fafc;
}

.condition-pill-option input[type="radio"]:checked + .condition-pill-label {
    border-color: #0033FF;
    background: #eff6ff;
    color: #0033FF;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.12);
}

/* Drag and Drop Upload Zone */
.drag-drop-zone {
    border: 2px dashed #94a3b8;
    border-radius: 16px;
    padding: 2.5rem 1.5rem;
    text-align: center;
    background: #f8fafc;
    cursor: pointer;
    transition: all 0.25s ease;
}

.drag-drop-zone:hover, .drag-drop-zone.dragover {
    border-color: #0033FF;
    background: #eff6ff;
}

/* Photo Thumbnail Preview Cards */
.preview-thumbnail-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    border: 1.5px solid #e2e8f0;
    background: #ffffff;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
    transition: transform 0.2s ease;
}

.preview-thumbnail-card:hover {
    transform: translateY(-2px);
}

.preview-thumbnail-card img {
    width: 100%;
    height: 120px;
    object-fit: cover;
}

.preview-thumbnail-card .cover-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    background: linear-gradient(135deg, #0033FF 0%, #0033FF 100%);
    color: white;
    font-size: 0.65rem;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 6px;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.preview-thumbnail-card .btn-remove-preview {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(220, 38, 38, 0.9);
    color: white;
    border: none;
    border-radius: 50%;
    width: 26px;
    height: 26px;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.preview-thumbnail-card .btn-remove-preview:hover {
    background: #dc2626;
    transform: scale(1.1);
}

/* Promotion Cards */
.promo-card {
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    padding: 1.5rem;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    background: #ffffff;
    height: 100%;
    position: relative;
}

.promo-card:hover {
    border-color: #93c5fd;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.08);
}

.promo-card.selected {
    border-color: #0033FF;
    background: #eff6ff;
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.15);
}

.promo-card.promo-top.selected {
    border-color: #eab308;
    background: #fefce8;
    box-shadow: 0 10px 30px rgba(234, 179, 8, 0.2);
}

.promo-card.promo-bump.selected {
    border-color: #06b6d4;
    background: #ecfeff;
    box-shadow: 0 10px 30px rgba(6, 182, 212, 0.2);
}

/* Submit Button Bar */
.post-ad-submit-btn {
    background: linear-gradient(135deg, #0033FF 0%, #0033FF 100%);
    color: #ffffff;
    font-weight: 800;
    font-size: 1.1rem;
    padding: 1rem 3rem;
    border-radius: 50px;
    border: none;
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.35);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.post-ad-submit-btn:hover {
    background: linear-gradient(135deg, #0033FF 0%, #0026cb 100%);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(37, 99, 235, 0.45);
}

/* Apple UI Browse Page (ads.php) Styling */
.apple-ads-page {
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI", Roboto, sans-serif;
}

.apple-search-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: 20px;
    padding: 6px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04), 0 2px 8px rgba(0, 0, 0, 0.02);
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.25s ease;
}

.apple-search-card:focus-within {
    border-color: #0033FF;
    box-shadow: 0 14px 40px rgba(0, 51, 255, 0.2);
}

.apple-search-card .form-control {
    border: none;
    background: transparent;
    font-size: 0.98rem;
    font-weight: 500;
    padding: 0.75rem 1rem;
    color: #1d1d1f;
}

.apple-search-card .form-control:focus {
    box-shadow: none;
    background: transparent;
}

.apple-search-btn {
    background: #0033FF;
    color: #ffffff;
    font-weight: 600;
    border-radius: 14px;
    padding: 0.7rem 1.8rem;
    border: none;
    transition: all 0.2s ease;
}

.apple-search-btn:hover {
    background: #0033FF;
    color: #ffffff;
    transform: scale(1.02);
}

/* Apple Sidebar Card */
.apple-sidebar-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: 20px;
    padding: 1.25rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.03);
}

.apple-sidebar-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #1d1d1f;
    letter-spacing: -0.2px;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.apple-filter-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.apple-filter-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.65rem 0.9rem;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 500;
    color: #424245;
    text-decoration: none !important;
    transition: all 0.2s ease;
    margin-bottom: 3px;
}

.apple-filter-link:hover {
    background: rgba(241, 245, 249, 0.9);
    color: #0033FF;
    transform: translateX(2px);
}

.apple-filter-link.active {
    background: #eff6ff;
    color: #0033FF !important;
    font-weight: 700;
    border: 1px solid rgba(0, 113, 227, 0.18);
    box-shadow: none;
}

.apple-filter-link.active i {
    color: #0033FF !important;
}

.apple-filter-link.active .apple-count-pill {
    background: #dbeafe;
    color: #0033FF;
    font-weight: 700;
}

.apple-count-pill {
    background: rgba(142, 142, 147, 0.12);
    color: #6e6e73;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 980px;
}

/* Apple Ad Listing Card */
.apple-ad-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: 20px;
    margin-bottom: 1.25rem;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.03);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: row;
}

@media (max-width: 576px) {
    .apple-ad-card {
        flex-direction: column;
    }
}

.apple-ad-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.08);
    border-color: #93c5fd;
}

.apple-ad-card.top-ad {
    border: 1px solid #fcd34d;
    background: #fffefb;
    box-shadow: 0 4px 16px rgba(245, 158, 11, 0.08);
}

.apple-ad-img-wrap {
    width: 175px;
    height: 155px;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}

@media (max-width: 576px) {
    .apple-ad-img-wrap {
        width: 100%;
        height: 190px;
    }
}

.apple-ad-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.apple-ad-card:hover .apple-ad-img-wrap img {
    transform: scale(1.05);
}

.apple-top-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #d97706;
    font-size: 0.66rem;
    font-weight: 700;
    padding: 2.5px 8px;
    border-radius: 980px;
    border: 1px solid rgba(251, 191, 36, 0.45);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    z-index: 5;
}

.apple-bump-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #16a34a;
    font-size: 0.66rem;
    font-weight: 700;
    padding: 2.5px 8px;
    border-radius: 980px;
    border: 1px solid rgba(74, 222, 128, 0.45);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    z-index: 5;
}

.apple-ad-body {
    padding: 1.1rem 1.25rem;
    flex-grow: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.apple-ad-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #1d1d1f;
    text-decoration: none !important;
    line-height: 1.35;
    transition: color 0.2s ease;
}

.apple-ad-title:hover {
    color: #0033FF;
}

.apple-ad-price {
    font-family: 'Outfit', 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    font-size: 1.25rem;
    font-weight: 700;
    color: #0033FF;
    letter-spacing: -0.02em;
}

/* Apple UI Ad Detail Page (ad-detail.php) Styling */
.apple-detail-container {
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI", Roboto, sans-serif;
}

.apple-gallery-box {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: 24px;
    padding: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    margin-bottom: 2rem;
}

.apple-main-img-wrap {
    background: #0f172a;
    border-radius: 18px;
    overflow: hidden;
    padding: 1rem;
    text-align: center;
    max-height: 480px;
}

.apple-main-img-wrap img {
    max-height: 440px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    border-radius: 12px;
}

.apple-thumbnail-strip {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 1rem 0 0.5rem;
}

.apple-thumbnail-item {
    width: 76px;
    height: 60px;
    object-fit: cover;
    border-radius: 12px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.2s ease;
    opacity: 0.7;
}

.apple-thumbnail-item:hover,
.apple-thumbnail-item.active {
    border-color: #0033FF;
    opacity: 1;
    transform: scale(1.04);
}

.apple-spec-pill {
    background: rgba(241, 245, 249, 0.75);
    border-radius: 14px;
    padding: 1rem 1.25rem;
    transition: all 0.2s ease;
}

.apple-phone-btn {
    background: linear-gradient(135deg, #34c759 0%, #248a3d 100%);
    color: #ffffff;
    font-weight: 700;
    font-size: 1.1rem;
    width: 100%;
    padding: 0.95rem 1.5rem;
    border-radius: 980px;
    border: none;
    box-shadow: 0 8px 25px rgba(52, 199, 89, 0.35);
    transition: all 0.25s cubic-bezier(0.25, 1, 0.5, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.apple-phone-btn:hover {
    background: linear-gradient(135deg, #248a3d 0%, #1e7031 100%);
    color: #ffffff;
    transform: scale(1.015);
    box-shadow: 0 12px 30px rgba(52, 199, 89, 0.45);
}

/* Apple UI Home Page (index.php) Styling */
.apple-home-hero {
    background: radial-gradient(circle at 50% 25%, #0044ff 0%, #0033FF 45%, #0022bb 85%, #001980 100%);
    padding: 4.5rem 0 5.5rem;
    position: relative;
    overflow: hidden;
}

.apple-home-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("../images/colombo_skyline_hero.svg");
    background-repeat: repeat-x;
    background-position: bottom center;
    background-size: contain;
    opacity: 0.18;
    pointer-events: none;
}

.apple-hero-pill-badge {
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.32) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    color: #ffffff;
    font-size: 0.82rem;
    font-weight: 700;
    padding: 0.52rem 1.3rem;
    border-radius: 980px;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.apple-hero-search-wrap {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 24px;
    padding: 8px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
    max-width: 780px;
    margin: 0 auto;
}

.apple-hero-search-wrap .form-control,
.apple-hero-search-wrap .form-select {
    border: none;
    background: transparent;
    font-size: 0.95rem;
    font-weight: 500;
    color: #1d1d1f;
}

.apple-hero-search-wrap .form-control:focus,
.apple-hero-search-wrap .form-select:focus {
    box-shadow: none;
    background: transparent;
}

.apple-trending-pill {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, rgba(0, 51, 255, 0.18) 100%);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: #ffffff !important;
    font-size: 0.82rem;
    font-weight: 600;
    padding: 0.42rem 1.05rem;
    border-radius: 980px;
    text-decoration: none !important;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.apple-trending-pill:hover {
    background: linear-gradient(135deg, #0033FF 0%, #0066FF 100%);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 51, 255, 0.45);
}

.apple-hub-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.04);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    height: 100%;
}

.apple-hub-card:hover {
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.08);
    transform: translateY(-3px);
}

.apple-hub-header {
    padding: 2rem 2rem 1.5rem;
    color: #ffffff;
}

.apple-hub-header.header-vehicles,
.apple-hub-header.header-property {
    background: linear-gradient(135deg, #0033FF 0%, #0026cb 100%);
}

.apple-hub-body {
    padding: 1.75rem 2rem;
}

.apple-sub-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 1.5rem;
}

@media (max-width: 576px) {
    .apple-sub-grid {
        grid-template-columns: 1fr;
    }
}

.apple-sub-item {
    background: rgba(241, 245, 249, 0.7);
    border: 1px solid rgba(226, 232, 240, 0.7);
    border-radius: 16px;
    padding: 1rem;
    text-decoration: none !important;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 12px;
}

.apple-sub-item:hover {
    background: #ffffff;
    border-color: #0033FF;
    box-shadow: 0 6px 18px rgba(0, 113, 227, 0.12);
    transform: translateY(-2px);
}

.apple-sub-item .sub-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: #ffffff;
    color: #0033FF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.apple-sub-item .sub-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #1d1d1f;
    display: block;
}

.apple-sub-item .sub-desc {
    font-size: 0.78rem;
    color: #86868b;
    display: block;
}







/* ==========================================================================
   Apple Form Controls & Specification Card Styles (LankaDerana UI)
   ========================================================================== */

/* Spec Card Container */
.apple-category-spec-box {
    background: #ffffff !important;
    border: 1px solid rgba(226, 232, 240, 0.9) !important;
    border-radius: 20px !important;
    padding: 1.75rem !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03), 0 1px 4px rgba(0, 0, 0, 0.02) !important;
    transition: all 0.25s ease;
}

/* Apple Field Labels */
.apple-post-card .form-label,
.apple-category-spec-box .form-label {
    font-size: 0.88rem !important;
    font-weight: 600 !important;
    color: #475569 !important;
    margin-bottom: 0.4rem !important;
}

/* Apple Inputs & Textareas */
.apple-post-card .form-control,
.apple-post-card .form-select,
.apple-category-spec-box .form-control,
.apple-category-spec-box .form-select {
    background-color: #f8fafc !important;
    border: 1.5px solid #cbd5e1 !important;
    border-radius: 12px !important;
    padding: 0.75rem 1rem !important;
    font-size: 0.95rem !important;
    font-weight: 500 !important;
    color: #1d1d1f !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02) !important;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.apple-post-card .form-control:hover,
.apple-post-card .form-select:hover,
.apple-category-spec-box .form-control:hover,
.apple-category-spec-box .form-select:hover {
    background-color: #ffffff !important;
    border-color: #94a3b8 !important;
}

.apple-post-card .form-control::placeholder,
.apple-category-spec-box .form-control::placeholder {
    color: #94a3b8 !important;
    font-weight: 400 !important;
}

.apple-post-card .form-control:focus,
.apple-post-card .form-select:focus,
.apple-category-spec-box .form-control:focus,
.apple-category-spec-box .form-select:focus {
    background-color: #ffffff !important;
    border-color: #0033FF !important;
    box-shadow: 0 0 0 4px rgba(0, 51, 255, 0.2) !important;
    outline: none !important;
}

/* Apple Native Select dropdown styling */
.apple-category-spec-box select.form-select,
.apple-post-card select.form-select {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%3c64748b' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e") !important;
    background-repeat: no-repeat !important;
    background-position: right 1rem center !important;
    background-size: 14px 12px !important;
    padding-right: 2.5rem !important;
    cursor: pointer !important;
}

/* Apple Segmented Control Bar (Condition / Transmission / Fuel / etc.) */
.apple-segmented-control {
    display: flex;
    background: #f1f5f9;
    padding: 4px;
    border-radius: 14px;
    gap: 4px;
    width: 100%;
    border: 1px solid #e2e8f0;
}

.apple-segmented-control .form-check {
    flex: 1;
    margin: 0 !important;
    padding: 0 !important;
    text-align: center;
}

.apple-segmented-control .form-check-input {
    display: none !important;
}

.apple-segmented-control .form-check-label {
    display: block;
    width: 100%;
    padding: 0.6rem 0.85rem;
    border-radius: 10px;
    font-size: 0.88rem;
    font-weight: 600;
    color: #64748b;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    margin: 0;
    user-select: none;
    text-align: center;
}

.apple-segmented-control .form-check-input:checked + .form-check-label {
    background: #ffffff;
    color: #0033FF;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(0, 0, 0, 0.04);
    font-weight: 700;
}

/* Apple Feature Pill Chips (Checkboxes) */
.apple-feature-chips-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.apple-feature-chip-item {
    margin: 0;
}

.apple-feature-chip-item input[type="checkbox"] {
    display: none;
}

.apple-feature-chip-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0.55rem 1.1rem;
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 980px;
    font-size: 0.88rem;
    font-weight: 600;
    color: #475569;
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
}

.apple-feature-chip-label:hover {
    border-color: #cbd5e1;
    background: #ffffff;
}

.apple-feature-chip-item input[type="checkbox"]:checked + .apple-feature-chip-label {
    background: rgba(0, 113, 227, 0.08);
    border-color: #0033FF;
    color: #0033FF;
    font-weight: 700;
}

/* Apple Price Input Group */
.apple-input-group {
    background: #fbfbfd;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.2s ease;
}

.apple-input-group:focus-within {
    border-color: #0033FF;
    box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.14);
    background: #ffffff;
}

.apple-input-group .input-group-text {
    border: none;
    background: transparent;
}

.apple-input-group .form-control {
    border: none !important;
    box-shadow: none !important;
    background: transparent !important;
}

/* Apple Submit Button Styling */
.apple-submit-btn {
    background: linear-gradient(135deg, #0033FF 0%, #0026cb 100%);
    color: #ffffff;
    font-size: 1.05rem;
    font-weight: 700;
    padding: 0.85rem 2.2rem;
    border: none;
    border-radius: 980px;
    box-shadow: 0 8px 22px rgba(0, 113, 227, 0.32);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    text-decoration: none;
    letter-spacing: -0.01em;
}

.apple-submit-btn:hover {
    background: linear-gradient(135deg, #0033FF 0%, #0026cb 100%);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(0, 113, 227, 0.45);
}

.apple-submit-btn:active {
    transform: translateY(0);
    box-shadow: 0 4px 14px rgba(0, 113, 227, 0.3);
}

.apple-submit-btn i {
    font-size: 1.05rem;
    transition: transform 0.2s ease;
}

.apple-submit-btn:hover i {
    transform: translateX(3px) translateY(-1px);
}

/* Apple Phone Card & Input Spacing Styles */
.apple-phone-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 1.25rem 1.5rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
}

.apple-phone-card .phone-number-row {
    padding: 0.65rem 0.25rem;
    border-bottom: 1px solid #f1f5f9;
    gap: 0.85rem;
}

.apple-phone-card .phone-number-row:last-child {
    border-bottom: 1px solid #f1f5f9;
}

.apple-phone-card .apple-phone-input,
.apple-card .apple-phone-input,
.apple-card input.apple-phone-input {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
    padding: 0.4rem 0.25rem !important;
    font-size: 1.05rem !important;
    font-weight: 700 !important;
    color: #1e293b !important;
    letter-spacing: 0.5px;
    border-radius: 0 !important;
}

.apple-phone-card .apple-phone-input:focus,
.apple-card .apple-phone-input:focus,
.apple-card input.apple-phone-input:focus {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    color: #0033FF !important;
}

.apple-phone-card .verified-icon {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.apple-phone-card .remove-phone-btn {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.15s ease;
}

.apple-phone-card .remove-phone-btn:hover {
    transform: scale(1.1);
}

/* Unified Marketplace Master Card Wrapper */
.apple-unified-marketplace-card {
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

.apple-unified-marketplace-card .apple-sidebar-card {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    padding: 0 !important;
    margin-bottom: 0 !important;
}

@media (min-width: 992px) {
    .apple-unified-marketplace-card .border-start-lg {
        border-left: 1px solid #f1f5f9 !important;
    }
    .apple-unified-marketplace-card .border-end-lg {
        border-right: 1px solid #f1f5f9 !important;
    }
}

/* Apple Active Filter Chips Bar */
.apple-active-filters-bar {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 980px;
    padding: 0.4rem 0.85rem;
    margin-bottom: 1.5rem !important;
}

.apple-filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #ffffff;
    border: 1.5px solid #cbd5e1;
    border-radius: 980px;
    padding: 0.35rem 0.8rem;
    font-size: 0.83rem;
    font-weight: 500;
    color: #475569;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    transition: all 0.2s ease;
}

.apple-filter-chip:hover {
    border-color: #94a3b8;
    background: #ffffff;
}

.apple-filter-chip strong {
    color: #0f172a;
    font-weight: 700;
}

.apple-filter-chip .chip-remove-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #e2e8f0;
    color: #64748b;
    font-size: 0.68rem;
    margin-left: 2px;
    text-decoration: none !important;
    transition: all 0.15s ease;
}

.apple-filter-chip .chip-remove-btn:hover {
    background: #ef4444;
    color: #ffffff;
}

/* Apple Home Hero Banner with Transparent Colombo Skyline Vector */
.apple-home-hero {
    background: radial-gradient(circle at 50% 25%, #0044ff 0%, #0033FF 45%, #0022bb 85%, #001980 100%) !important;
    position: relative;
    overflow: hidden;
    padding: 4.5rem 0 6.5rem;
}

.apple-home-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 280px;
    background-image: url('../images/colombo_skyline_hero.svg');
    background-repeat: repeat-x;
    background-position: center bottom;
    background-size: 1400px 280px;
    pointer-events: none;
    z-index: 1;
    opacity: 0.50;
}




/* Apple UI Auth Pages (login.php & register.php) */
.apple-auth-wrap {
    min-height: 75vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2.5rem 0;
}

.apple-auth-card {
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05), 0 4px 15px rgba(0, 0, 0, 0.02);
    overflow: hidden;
    padding: 2.5rem;
}

.apple-auth-header {
    text-align: center;
    margin-bottom: 2rem;
}

.apple-auth-header .auth-badge {
    width: 64px;
    height: 64px;
    border-radius: 20px;
    background: #eff6ff;
    color: #0033FF;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.65rem;
    margin-bottom: 1rem;
    box-shadow: 0 8px 20px rgba(0, 113, 227, 0.12);
}

.apple-auth-header h3 {
    font-size: 1.65rem;
    font-weight: 800;
    color: #1d1d1f;
    letter-spacing: -0.02em;
    margin-bottom: 0.35rem;
}

.apple-auth-header p {
    color: #86868b;
    font-size: 0.92rem;
    font-weight: 500;
}

.apple-input-box {
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 14px;
    padding: 2px 12px;
    transition: all 0.2s ease;
}

.apple-input-box:focus-within {
    border-color: #0033FF;
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.12);
}

.apple-input-box .form-control {
    border: none !important;
    box-shadow: none !important;
    background: transparent !important;
    font-size: 0.95rem;
    font-weight: 500;
    color: #1d1d1f;
    padding: 0.65rem 0.5rem;
}

.apple-auth-btn {
    background: linear-gradient(135deg, #0033FF 0%, #0026cb 100%);
    color: #ffffff;
    font-size: 1rem;
    font-weight: 700;
    padding: 0.85rem 1.5rem;
    border: none;
    border-radius: 14px;
    width: 100%;
    box-shadow: 0 8px 20px rgba(0, 113, 227, 0.3);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.apple-auth-btn:hover {
    background: linear-gradient(135deg, #0033FF 0%, #0026cb 100%);
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 12px 25px rgba(0, 51, 255, 0.35);
}


/* ==========================================================================
   #0033FF Theme Global Overrides
   ========================================================================== */
:root {
    --apple-blue: #0033FF;
    --apple-blue-hover: #0026cb;
}

.btn-primary, .btn-ikman-primary, .apple-btn-primary {
    background-color: #0033FF !important;
    border-color: #0033FF !important;
    color: #ffffff !important;
}
.btn-primary:hover, .btn-ikman-primary:hover, .apple-btn-primary:hover {
    background-color: #0026cb !important;
    border-color: #0026cb !important;
    color: #ffffff !important;
}

.text-primary {
    color: #0033FF !important;
}

.bg-primary {
    background-color: #0033FF !important;
}

.badge.bg-primary {
    background-color: #0033FF !important;
}

/* ==========================================
   HOMEPAGE REDESIGN (REF UI MATCH)
   ========================================== */
.ikman-navbar {
    background: #0b1329 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0.65rem 0;
}

.btn-yellow-post-ad {
    background-color: #ffc107 !important;
    color: #000000 !important;
    font-weight: 800 !important;
    font-size: 0.85rem !important;
    padding: 0.55rem 1.25rem !important;
    border-radius: 6px !important;
    border: none !important;
    transition: all 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    box-shadow: 0 4px 12px rgba(255, 193, 7, 0.3);
}
.btn-yellow-post-ad:hover {
    background-color: #ffcd39 !important;
    color: #000000 !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(255, 193, 7, 0.4);
}

.apple-home-hero {
    background: radial-gradient(circle at 50% 30%, #152244 0%, #0a1128 80%), #0a1128 !important;
    padding: 3.5rem 0 4.5rem;
    position: relative;
    overflow: hidden;
}

.apple-home-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1px);
    background-size: 24px 24px;
    opacity: 0.7;
    pointer-events: none;
}

.hero-highlight-yellow {
    color: #ffc800 !important;
    font-weight: 800;
}

.hero-white-yellow-gradient {
    background: linear-gradient(135deg, #ffffff 0%, #fff199 45%, #ffc800 85%, #ffb700 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
    filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.3));
    white-space: nowrap;
    font-size: clamp(1.25rem, 3.5vw, 2.6rem);
}

.apple-hero-pill-badge {
    background: rgba(180, 130, 20, 0.25);
    border: 1px solid rgba(255, 193, 7, 0.45);
    color: #ffc800;
    font-size: 0.76rem;
    font-weight: 700;
    padding: 0.38rem 1.1rem;
    border-radius: 50px;
    display: inline-block;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.search-bar-pill-form {
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35) !important;
}

@media (min-width: 992px) {
    .border-end-lg {
        border-right: 1px solid #e2e8f0 !important;
    }
}

.apple-trending-pill {
    background: rgba(30, 41, 59, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #ffffff !important;
    font-size: 0.82rem;
    font-weight: 600;
    padding: 0.38rem 0.95rem;
    border-radius: 50px;
    text-decoration: none !important;
    transition: all 0.2s ease;
    backdrop-filter: blur(10px);
}
.apple-trending-pill:hover {
    background: rgba(51, 65, 85, 0.85);
    border-color: rgba(255, 255, 255, 0.35);
    color: #ffffff !important;
    transform: translateY(-1px);
}

/* Hub Spotlight Cards */
.hub-card {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.hub-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.08) !important;
}

.hub-header-vehicles {
    background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 100%);
}

.hub-header-property {
    background: linear-gradient(135deg, #1e3a8a 0%, #0f766e 100%);
}

.hub-sub-box {
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    transition: all 0.2s ease;
}
.hub-sub-box:hover {
    background-color: #ffffff;
    border-color: #2563eb;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.12);
    transform: translateY(-1px);
}

.hub-sub-box .sub-title {
    font-size: 0.95rem;
}
.hub-sub-box .sub-desc {
    font-size: 0.78rem;
}

/* ==========================================
   ADS PAGE COLOR THEME MATCHING HOMEPAGE
   ========================================== */
.apple-unified-marketplace-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    box-shadow: 0 10px 35px rgba(15, 23, 42, 0.05);
}

.apple-sidebar-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}

.apple-sidebar-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #0b1329;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.85rem;
}

.apple-filter-list {
    list-style: none;
    padding-left: 0;
}

.apple-filter-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.45rem 0.75rem;
    color: #334155 !important;
    font-size: 0.88rem;
    font-weight: 600;
    border-radius: 10px;
    text-decoration: none !important;
    transition: all 0.2s ease;
}

.apple-filter-link:hover {
    background: #f1f5f9;
    color: #0038ff !important;
}

.apple-filter-link.active {
    background: #0038ff !important;
    color: #ffffff !important;
}

.apple-filter-link.active i {
    color: #ffffff !important;
}

.apple-count-pill {
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.15rem 0.55rem;
    border-radius: 50px;
    background: #f1f5f9;
    color: #64748b;
}

.apple-filter-link.active .apple-count-pill {
    background: rgba(255, 255, 255, 0.25);
    color: #ffffff;
}

.apple-search-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 50px;
    display: flex;
    align-items: center;
    padding: 0.25rem 0.25rem 0.25rem 1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.apple-search-card .form-control {
    border: none;
    background: transparent;
    box-shadow: none;
    font-size: 0.92rem;
}

.apple-search-btn {
    background: #0038ff !important;
    color: #ffffff !important;
    font-weight: 700;
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    border: none;
    transition: all 0.2s ease;
}

.apple-search-btn:hover {
    background: #002ecb !important;
    color: #ffffff !important;
}

/* Ikman Style Ad Listing Rows (Matching User Reference Image) */
.apple-ad-card {
    background: #ffffff;
    border: none;
    border-bottom: 1px solid #e5e7eb;
    border-radius: 0;
    padding: 0.85rem 0.25rem;
    margin-bottom: 0;
    display: flex;
    flex-direction: row;
    gap: 0.85rem;
    align-items: flex-start;
    transition: background-color 0.15s ease;
    position: relative;
    overflow: hidden;
}

.apple-ad-card:hover {
    background-color: #f8fafc;
}

/* Ikman Style Top Ads (Promoted Gold Box matching reference screenshot) */
.apple-ad-card.top-ad {
    background: #fffdf2 !important;
    border: 1.5px solid #f59e0b !important;
    border-radius: 8px !important;
    margin-top: 0.5rem;
    margin-bottom: 0.75rem;
    padding: 0.85rem;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.08);
}

.apple-ad-card.top-ad:hover {
    background-color: #fff9e6 !important;
}

.ikman-top-ribbon-badge {
    position: absolute;
    bottom: 8px;
    right: 12px;
    width: 22px;
    height: 22px;
    background: #e11d48;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 800;
    box-shadow: 0 2px 5px rgba(225, 29, 72, 0.3);
    z-index: 5;
}

.ikman-top-ribbon-badge::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 6px solid #e11d48;
}

.apple-ad-img-wrap {
    width: 140px;
    height: 100px;
    flex-shrink: 0;
    border-radius: 3px;
    overflow: hidden;
    position: relative !important;
    background: #f1f5f9;
}

/* Minimal Tags */
.simple-tag {
    position: absolute !important;
    top: 4px !important;
    left: 4px !important;
    font-size: 0.55rem;
    font-weight: 700;
    padding: 0.12rem 0.4rem;
    border-radius: 3px;
    z-index: 5;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
    line-height: 1;
}

.simple-tag.tag-top {
    background: #ffc107 !important;
    color: #000000 !important;
}

.simple-tag.tag-featured {
    background: #ef4444 !important;
    color: #ffffff !important;
}

.simple-tag.tag-bumped {
    background: #10b981 !important;
    color: #ffffff !important;
}

.apple-ad-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.2s ease;
}

.apple-ad-card:hover .apple-ad-img-wrap img {
    transform: scale(1.03);
}

.apple-ad-body {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding-top: 0;
    margin-top: -3px;
    padding-right: 0.25rem;
    position: relative;
    overflow: hidden;
}

.apple-ad-title {
    font-size: 0.98rem;
    font-weight: 700;
    color: #111827;
    text-decoration: none !important;
    line-height: 1.25;
    margin-top: 0;
    padding-top: 0;
    margin-bottom: 2px;
}

.apple-ad-title:hover {
    color: #008767;
}

.ikman-specs-text,
.apple-card-specs-line {
    font-size: 0.84rem !important;
    color: #4b5563 !important;
    margin-top: 1px !important;
    margin-bottom: 3px !important;
    font-weight: 400 !important;
}

.ikman-badges-line {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 2px;
    margin-bottom: 3px;
}

.ikman-badge-member {
    background: #ffc107;
    color: #000000;
    font-size: 0.6rem;
    font-weight: 800;
    padding: 1px 5px;
    border-radius: 3px;
    letter-spacing: 0.3px;
    display: inline-flex;
    align-items: center;
    line-height: 1.2;
}

.ikman-badge-verified {
    color: #0284c7;
    font-size: 0.7rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    line-height: 1.2;
}

.ikman-loc-cat-line {
    font-size: 0.84rem;
    color: #6b7280;
    margin-bottom: 3px;
}

.apple-ad-price {
    font-size: 1.05rem;
    font-weight: 700;
    color: #008767 !important;
    letter-spacing: -0.01em;
}

.ikman-time-stamp {
    position: absolute;
    bottom: 2px;
    right: 2px;
    font-size: 0.78rem;
    color: #9ca3af;
    font-weight: 400;
}

.apple-filter-chip {
    background: #f0f4ff;
    border: 1px solid #c7d2fe;
    color: #0038ff;
    font-size: 0.82rem;
    font-weight: 600;
    padding: 0.3rem 0.75rem;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.chip-remove-btn {
    color: #64748b;
    margin-left: 4px;
    text-decoration: none !important;
}

.chip-remove-btn:hover {
    color: #ef4444;
}


