/* ==========================================================================
   PROFI24.MD — MASTER DESIGN SYSTEM (2026 PRO MARKETPLACE)
   Desktop + Tablet + Mobile • Unified CSS Architecture
   ========================================================================== */

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

:root {
    --navy-950: #061226;
    --navy-900: #0a1b38;
    --navy-800: #102852;
    --navy-700: #17376e;
    --blue-600: #1d63ed;
    --blue-500: #2575fc;
    --sky-400: #38bdf8;
    --sky-300: #7dd3fc;
    --gold-500: #ff9900;
    --gold-400: #ffbe1a;
    --gold-grad: linear-gradient(135deg, #ffd026 0%, #ff9100 100%);
    --blue-grad: linear-gradient(135deg, #38bdf8 0%, #1d63ed 100%);
    --emerald-500: #10b981;
    --emerald-600: #059669;
    --red-500: #ef4444;
    --bg-page: #f1f5fb;
    --bg-surface: #ffffff;
    --bg-subtle: #f8fafd;
    --ink-900: #0f172a;
    --ink-700: #334155;
    --ink-500: #64748b;
    --ink-400: #94a3b8;
    --border-light: #e2e8f0;
    --border-hover: #93c5fd;
    --shadow-xs: 0 2px 6px rgba(15, 23, 42, 0.04);
    --shadow-sm: 0 6px 18px rgba(15, 23, 42, 0.06);
    --shadow-md: 0 14px 34px rgba(15, 23, 42, 0.09);
    --shadow-lg: 0 24px 56px rgba(6, 18, 38, 0.18);
    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 22px;
    --radius-xl: 30px;
    --container: 1320px;
}

*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: var(--bg-page);
    color: var(--ink-900);
    line-height: 1.5;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.18s ease, background-color 0.18s ease, border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

img {
    max-width: 100%;
    display: block;
}

button, input, select, textarea {
    font-family: inherit;
}

button {
    cursor: pointer;
}

.s24-wrap {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 20px;
}

/* ==========================================================================
   1. BRAND MARK & LOGO
   ========================================================================== */
.s24-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    flex-shrink: 0;
}

.s24-brand-emblem {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    filter: drop-shadow(0 4px 12px rgba(56, 189, 248, 0.3));
    transition: transform 0.2s ease;
}

.s24-brand:hover .s24-brand-emblem {
    transform: scale(1.05) rotate(-3deg);
}

.s24-brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.s24-brand-title {
    font-size: 22px;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.03em;
}

.s24-brand-title em {
    font-style: normal;
    color: var(--sky-400);
}

.s24-brand-sub {
    font-size: 11px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.68);
    margin-top: 2px;
}

.s24-brand.light .s24-brand-title {
    color: var(--navy-950);
}
.s24-brand.light .s24-brand-sub {
    color: var(--ink-500);
}

/* ==========================================================================
   2. HEADER & MEGA DROPDOWN
   ========================================================================== */
.s24-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: linear-gradient(90deg, #061329 0%, #0b2146 55%, #081936 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.09);
    box-shadow: 0 8px 28px rgba(4, 12, 28, 0.32);
}

.s24-header-inner {
    height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.s24-nav {
    display: flex;
    align-items: center;
    gap: 6px;
}

.s24-nav-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 15px;
    border-radius: 12px;
    color: rgba(255, 255, 255, 0.86);
    font-size: 14px;
    font-weight: 600;
    position: relative;
    white-space: nowrap;
}

.s24-nav-link:hover,
.s24-nav-link.is-active {
    background: rgba(56, 189, 248, 0.14);
    color: #ffffff;
}

.s24-nav-link.is-active {
    box-shadow: inset 0 0 0 1px rgba(56, 189, 248, 0.32);
}

.s24-nav-icon {
    font-size: 15px;
    line-height: 1;
}

/* Categories Mega Dropdown */
.s24-dropdown {
    position: relative;
}

.s24-dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    left: -40px;
    width: 620px;
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid var(--border-light);
    box-shadow: 0 24px 60px rgba(6, 18, 38, 0.25);
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all 0.2s ease;
    z-index: 1100;
}

.s24-dropdown:hover .s24-dropdown-menu,
.s24-dropdown:focus-within .s24-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.s24-mega-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

.s24-mega-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 12px;
    color: var(--ink-900);
}

.s24-mega-item:hover {
    background: #eff6ff;
    color: var(--blue-600);
}

.s24-mega-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.s24-mega-icon img {
    width: 22px;
    height: 22px;
}

.s24-mega-info strong {
    display: block;
    font-size: 13.5px;
    font-weight: 700;
}

.s24-mega-info small {
    font-size: 11.5px;
    color: var(--ink-500);
}

/* Header Right Controls */
.s24-header-right {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.s24-lang-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 11px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #ffffff;
    font-size: 12.5px;
    font-weight: 700;
}

.s24-flag-md {
    display: inline-block;
    width: 18px;
    height: 12px;
    border-radius: 2px;
    background: linear-gradient(90deg, #0046ae 0 33%, #ffd200 33% 66%, #cc092f 66% 100%);
}

.s24-icon-pill {
    position: relative;
    width: 40px;
    height: 40px;
    border-radius: 11px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
}

.s24-icon-pill:hover {
    background: rgba(255, 255, 255, 0.16);
    transform: translateY(-1px);
}

.s24-pill-count {
    position: absolute;
    top: -5px;
    right: -5px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 99px;
    background: var(--red-500);
    color: #fff;
    font-size: 10.5px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
}

.s24-account-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 7px 13px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #ffffff;
}

.s24-account-btn:hover {
    background: rgba(255, 255, 255, 0.14);
}

.s24-account-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(56, 189, 248, 0.22);
    border: 1px solid rgba(56, 189, 248, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 800;
    color: #fff;
}

.s24-account-lines {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
    text-align: left;
}

.s24-account-lines strong {
    font-size: 13px;
    font-weight: 700;
    color: #ffffff;
}

.s24-account-lines small {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.65);
}

.s24-btn-add {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 20px;
    border-radius: 13px;
    background: var(--gold-grad);
    color: #09152b !important;
    font-size: 14px;
    font-weight: 800;
    box-shadow: 0 8px 22px rgba(255, 153, 0, 0.36), inset 0 1px 0 rgba(255, 255, 255, 0.55);
    border: none;
    white-space: nowrap;
}

.s24-btn-add:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(255, 153, 0, 0.5);
    filter: brightness(1.04);
}

.s24-burger {
    display: none;
    width: 42px;
    height: 42px;
    border-radius: 11px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: #fff;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

/* Mobile Slide Drawer */
.s24-mobile-drawer {
    display: none;
    background: #081834;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 16px 20px 22px;
}

body.drawer-open .s24-mobile-drawer {
    display: block;
}

.s24-drawer-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 14px;
}

.s24-drawer-links a {
    padding: 11px 14px;
    border-radius: 11px;
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    font-size: 13.5px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ==========================================================================
   3. HOMEPAGE HERO (CHISINAU SKYLINE + CRAFTSMAN + FLOATING CARD)
   ========================================================================== */
.s24-hero {
    position: relative;
    background-color: #081938;
    background-image:
        linear-gradient(90deg, rgba(6, 19, 43, 0.95) 0%, rgba(8, 26, 58, 0.82) 45%, rgba(10, 31, 68, 0.72) 72%, rgba(7, 21, 48, 0.92) 100%),
        url('/img/hero-chisinau.jpg');
    background-size: cover;
    background-position: center;
    color: #ffffff;
    padding: 44px 0 74px;
    overflow: hidden;
}

.s24-hero::before {
    content: "";
    position: absolute;
    right: -8%;
    bottom: -25%;
    width: 560px;
    height: 560px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 153, 0, 0.18) 0%, rgba(56, 189, 248, 0.12) 45%, transparent 70%);
    pointer-events: none;
}

.s24-hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.32fr 0.68fr 0.85fr;
    align-items: center;
    gap: 20px;
}

.s24-hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 15px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(10px);
    font-size: 13px;
    font-weight: 700;
    color: #f8fafc;
    margin-bottom: 18px;
}

.s24-hero-pill span.bolt {
    color: var(--gold-400);
    font-size: 15px;
}

.s24-hero-copy h1 {
    font-size: clamp(34px, 4.1vw, 54px);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.03em;
    margin: 0 0 16px;
    color: #ffffff;
}

.s24-hero-copy h1 .accent-sky {
    color: var(--sky-400);
}

.s24-hero-sub {
    font-size: 16px;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.82);
    max-width: 560px;
    margin: 0 0 26px;
}

/* Hero Unified Pill Search Bar */
.s24-search-pill {
    display: flex;
    align-items: center;
    background: #ffffff;
    border-radius: 18px;
    padding: 6px;
    box-shadow: 0 20px 50px rgba(4, 12, 28, 0.42), 0 0 0 4px rgba(255, 255, 255, 0.12);
    max-width: 660px;
}

.s24-search-field {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 0 14px;
    flex: 1.3;
    min-width: 0;
}

.s24-search-field.city-field {
    flex: 0.85;
    border-left: 1px solid #e2e8f0;
}

.s24-search-field i {
    font-style: normal;
    color: var(--ink-400);
    font-size: 16px;
    flex-shrink: 0;
}

.s24-search-field input,
.s24-search-field select {
    width: 100%;
    border: none;
    background: transparent;
    color: var(--ink-900);
    font-size: 14.5px;
    font-weight: 600;
    height: 46px;
    outline: none;
}

.s24-search-field input::placeholder {
    color: var(--ink-400);
    font-weight: 500;
}

.s24-search-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 48px;
    padding: 0 24px;
    border-radius: 13px;
    border: none;
    background: var(--blue-grad);
    color: #ffffff;
    font-size: 14.5px;
    font-weight: 800;
    box-shadow: 0 8px 20px rgba(29, 99, 237, 0.38);
    white-space: nowrap;
}

.s24-search-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 26px rgba(29, 99, 237, 0.52);
}

/* Hero Trust Strip */
.s24-hero-trust {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 22px;
}

.s24-trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
}

.s24-trust-badge span.ico {
    width: 26px;
    height: 26px;
    border-radius: 8px;
    background: rgba(56, 189, 248, 0.16);
    border: 1px solid rgba(56, 189, 248, 0.32);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
}

/* Hero Center Craftsman Visual */
.s24-hero-person {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    position: relative;
}

.s24-hero-person img {
    width: 310px;
    max-width: 100%;
    height: 370px;
    object-fit: cover;
    object-position: top center;
    border-radius: 26px;
    mask-image: radial-gradient(ellipse 88% 90% at 50% 48%, #000 68%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 88% 90% at 50% 48%, #000 68%, transparent 100%);
    filter: drop-shadow(0 18px 36px rgba(0, 0, 0, 0.45));
}

/* Hero Right Floating Card ("Publică-ți serviciile!") */
.s24-hero-card {
    background: linear-gradient(165deg, #ffffff 0%, #f0f7ff 100%);
    color: var(--ink-900);
    border-radius: 24px;
    padding: 26px 26px 24px;
    box-shadow: 0 26px 60px rgba(4, 12, 28, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.8);
    transform: rotate(-1.2deg);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    position: relative;
}

.s24-hero-card:hover {
    transform: rotate(0deg) translateY(-4px);
}

.s24-hero-card-head {
    display: flex;
    align-items: center;
    gap: 11px;
    margin-bottom: 16px;
}

.s24-card-wrench {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: var(--blue-grad);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    box-shadow: 0 8px 18px rgba(29, 99, 237, 0.28);
}

.s24-hero-card-head h2 {
    margin: 0;
    font-size: 20px;
    font-weight: 800;
    color: var(--navy-900);
    letter-spacing: -0.02em;
}

.s24-hero-checklist {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.s24-hero-checklist li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 600;
    color: var(--ink-700);
}

.s24-hero-checklist li b {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #dbeafe;
    color: var(--blue-600);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    flex-shrink: 0;
}

.s24-hero-card-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px 18px;
    border-radius: 14px;
    background: var(--gold-grad);
    color: #09152b !important;
    font-size: 15px;
    font-weight: 800;
    box-shadow: 0 10px 24px rgba(255, 145, 0, 0.36);
}

.s24-hero-card-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(255, 145, 0, 0.48);
}

/* ==========================================================================
   4. WHITE ROUNDED MARKETPLACE SHEET & SECTIONS
   ========================================================================== */
.s24-sheet {
    position: relative;
    z-index: 5;
    margin-top: -32px;
    background: var(--bg-page);
    border-radius: 32px 32px 0 0;
    padding: 34px 0 60px;
    box-shadow: 0 -10px 30px rgba(6, 18, 38, 0.12);
}

.s24-sec-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 18px;
    flex-wrap: wrap;
}

.s24-sec-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    font-size: 21px;
    font-weight: 800;
    color: var(--navy-950);
    letter-spacing: -0.02em;
}

.s24-sec-ico {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: #dbeafe;
    color: var(--blue-600);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.s24-sec-ico.gold {
    background: #fef3c7;
    color: #d97706;
}

.s24-sec-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 13.5px;
    font-weight: 700;
    color: var(--blue-600);
}

.s24-sec-link:hover {
    gap: 8px;
    color: var(--navy-800);
}

/* Categories Colorful Cards Row */
.s24-cats-grid {
    display: grid;
    grid-template-columns: repeat(9, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 28px;
}

.s24-cat-card {
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: 18px;
    padding: 16px 10px 14px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    box-shadow: var(--shadow-xs);
}

.s24-cat-card:hover {
    transform: translateY(-5px);
    border-color: var(--border-hover);
    box-shadow: var(--shadow-md);
}

.s24-cat-bubble {
    width: 54px;
    height: 54px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    background: linear-gradient(145deg, #eff6ff, #dbeafe);
}

.s24-cat-card:nth-child(3n+1) .s24-cat-bubble { background: linear-gradient(145deg, #fef3c7, #fde68a); }
.s24-cat-card:nth-child(3n+2) .s24-cat-bubble { background: linear-gradient(145deg, #e0f2fe, #bae6fd); }
.s24-cat-card:nth-child(3n+3) .s24-cat-bubble { background: linear-gradient(145deg, #dcfce7, #bbf7d0); }
.s24-cat-card:nth-child(4n) .s24-cat-bubble { background: linear-gradient(145deg, #fce7f3, #fbcfe8); }

.s24-cat-bubble img {
    width: 30px;
    height: 30px;
    object-fit: contain;
}

.s24-cat-name {
    font-size: 13px;
    font-weight: 800;
    color: var(--navy-950);
    line-height: 1.25;
    margin-bottom: 6px;
}

.s24-cat-count {
    font-size: 11.5px;
    font-weight: 600;
    color: var(--ink-500);
}

/* ==========================================================================
   5. PANORAMIC FEATURE BANNER ("TOP Construcții & Renovări")
   ========================================================================== */
.s24-promo-banner {
    position: relative;
    border-radius: 22px;
    overflow: hidden;
    background-color: #081936;
    background-image:
        linear-gradient(90deg, rgba(8, 25, 54, 0.35) 0%, rgba(8, 25, 54, 0.88) 32%, rgba(9, 28, 62, 0.96) 65%, rgba(6, 19, 43, 0.98) 100%),
        url('/img/promo-constructii.jpg');
    background-size: cover;
    background-position: left center;
    padding: 26px 32px;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 32px;
    box-shadow: 0 16px 38px rgba(8, 25, 54, 0.22);
}

.s24-promo-left {
    padding-left: 18%;
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.s24-promo-headline {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.s24-promo-title-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.s24-badge-top {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 8px;
    background: var(--gold-grad);
    color: #09152b;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.s24-promo-title-row h3 {
    margin: 0;
    font-size: 25px;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.s24-promo-sub {
    font-size: 13.5px;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

.s24-promo-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 10px 20px;
    border-radius: 999px;
    background: #ffffff;
    color: var(--navy-950) !important;
    font-size: 13.5px;
    font-weight: 800;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.s24-promo-btn:hover {
    transform: translateY(-2px);
    background: var(--gold-400);
}

.s24-promo-pillars {
    display: flex;
    align-items: center;
    gap: 22px;
    flex-shrink: 0;
}

.s24-pillar {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-left: 22px;
    border-left: 1px solid rgba(255, 255, 255, 0.14);
}

.s24-pillar:first-child {
    border-left: none;
    padding-left: 0;
}

.s24-pillar-ico {
    font-size: 22px;
    color: var(--gold-400);
    margin-bottom: 4px;
}

.s24-pillar small {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.72);
}

.s24-pillar strong {
    font-size: 11.5px;
    font-weight: 800;
    letter-spacing: 0.03em;
}

/* ==========================================================================
   6. SPLIT SHOWCASE: ANUNȚURI TOP (LEFT) + ANUNȚURI RECENTE (RIGHT)
   ========================================================================== */
.s24-showcase-split {
    display: grid;
    grid-template-columns: 1fr 370px;
    gap: 24px;
    align-items: start;
    margin-bottom: 36px;
}

.s24-top-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

/* Universal Modern Ad Card */
.s24-ad-card {
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: 18px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-xs);
    position: relative;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.s24-ad-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--border-hover);
}

.s24-ad-thumb {
    position: relative;
    aspect-ratio: 16 / 10.5;
    background: linear-gradient(135deg, #0f2547, #1e3a6d);
    overflow: hidden;
}

.s24-ad-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.s24-ad-card:hover .s24-ad-thumb img {
    transform: scale(1.05);
}

.s24-thumb-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.75);
    font-weight: 800;
    font-size: 20px;
    letter-spacing: -0.03em;
    background: linear-gradient(135deg, #0d2247, #1d4ed8);
}

.s24-card-badges {
    position: absolute;
    top: 10px;
    left: 10px;
    display: flex;
    gap: 6px;
    z-index: 2;
}

.s24-pill-top {
    background: var(--gold-grad);
    color: #09152b;
    font-size: 10.5px;
    font-weight: 900;
    padding: 3px 9px;
    border-radius: 7px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.s24-pill-verified {
    background: rgba(16, 185, 129, 0.95);
    color: #ffffff;
    font-size: 10.5px;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 7px;
}

.s24-fav-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 3;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.45);
    background: rgba(15, 23, 42, 0.42);
    backdrop-filter: blur(6px);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: all 0.18s ease;
}

.s24-fav-btn:hover,
.s24-fav-btn.is-fav {
    background: #ffffff;
    color: var(--red-500);
    transform: scale(1.08);
}

.s24-ad-body {
    padding: 13px 14px 14px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.s24-ad-cat {
    font-size: 11px;
    font-weight: 700;
    color: var(--blue-600);
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin-bottom: 4px;
}

.s24-ad-title {
    margin: 0 0 8px;
    font-size: 14.5px;
    font-weight: 800;
    color: var(--navy-950);
    line-height: 1.32;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.s24-ad-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    font-size: 12px;
    color: var(--ink-500);
    margin-top: auto;
    padding-bottom: 9px;
}

.s24-ad-rating {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-weight: 700;
    color: var(--ink-900);
}

.s24-ad-rating i {
    font-style: normal;
    color: #f59e0b;
}

.s24-ad-rating small {
    color: var(--ink-400);
    font-weight: 500;
}

.s24-ad-price {
    padding-top: 9px;
    border-top: 1px solid #f1f5f9;
    font-size: 15.5px;
    font-weight: 800;
    color: var(--navy-950);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.s24-ad-price strong {
    color: var(--blue-600);
}

/* Right Compact Recent Feed (Exact Mockup Style) */
.s24-recent-stack {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.s24-recent-item {
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: 16px;
    padding: 10px 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: var(--shadow-xs);
}

.s24-recent-item:hover {
    border-color: var(--border-hover);
    transform: translateX(3px);
    box-shadow: var(--shadow-sm);
}

.s24-recent-thumb {
    width: 68px;
    height: 54px;
    border-radius: 11px;
    overflow: hidden;
    flex-shrink: 0;
    background: var(--navy-800);
}

.s24-recent-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.s24-recent-info {
    flex: 1;
    min-width: 0;
}

.s24-recent-info h4 {
    margin: 0 0 4px;
    font-size: 13.5px;
    font-weight: 700;
    color: var(--navy-950);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.s24-recent-sub {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11.5px;
    color: var(--ink-500);
}

.s24-recent-arrow {
    color: var(--ink-400);
    font-weight: 800;
    font-size: 16px;
}

/* ==========================================================================
   7. FULL MARKETPLACE CATALOG + FILTER BAR + GRID/LIST VIEW
   ========================================================================== */
.s24-filter-bar {
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: 20px;
    padding: 16px 18px;
    margin-bottom: 22px;
    box-shadow: var(--shadow-xs);
}

.s24-filter-row {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 0.7fr 0.7fr 0.9fr auto;
    gap: 10px;
    align-items: center;
}

.s24-input,
.s24-select,
.s24-textarea {
    width: 100%;
    padding: 11px 14px;
    border-radius: 12px;
    border: 1.5px solid var(--border-light);
    background: var(--bg-subtle);
    color: var(--ink-900);
    font-size: 13.5px;
    font-weight: 600;
    outline: none;
    transition: border-color 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
}

.s24-input:focus,
.s24-select:focus,
.s24-textarea:focus {
    background: #ffffff;
    border-color: var(--blue-600);
    box-shadow: 0 0 0 4px rgba(29, 99, 237, 0.12);
}

.s24-filter-checks {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #f1f5f9;
}

.s24-check-label {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 13px;
    font-weight: 600;
    color: var(--ink-700);
    cursor: pointer;
}

.s24-check-label input {
    width: 16px;
    height: 16px;
    accent-color: var(--blue-600);
}

.s24-view-switch {
    display: inline-flex;
    background: #f1f5f9;
    padding: 3px;
    border-radius: 10px;
    gap: 3px;
}

.s24-view-btn {
    border: none;
    background: transparent;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 12.5px;
    font-weight: 700;
    color: var(--ink-500);
}

.s24-view-btn.active {
    background: #ffffff;
    color: var(--navy-950);
    box-shadow: var(--shadow-xs);
}

.s24-catalog-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.s24-catalog-grid.list-mode {
    grid-template-columns: 1fr;
}

.s24-catalog-grid.list-mode .s24-ad-card {
    flex-direction: row;
    align-items: stretch;
}

.s24-catalog-grid.list-mode .s24-ad-thumb {
    width: 240px;
    aspect-ratio: auto;
    min-height: 165px;
    flex-shrink: 0;
}

/* ==========================================================================
   8. CATEGORY PAGE, LISTING DETAIL, REVIEWS & PROVIDER PROFILE
   ========================================================================== */
.s24-breadcrumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--ink-500);
    padding: 18px 0 14px;
    flex-wrap: wrap;
}

.s24-breadcrumbs a {
    color: var(--blue-600);
}

.s24-breadcrumbs a:hover {
    text-decoration: underline;
}

.s24-page-banner {
    background: linear-gradient(125deg, #071630 0%, #102a58 60%, #173d7a 100%);
    border-radius: 24px;
    padding: 32px 36px;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 24px;
    box-shadow: var(--shadow-md);
    flex-wrap: wrap;
}

.s24-page-banner h1 {
    margin: 6px 0 8px;
    font-size: clamp(26px, 3.2vw, 38px);
    font-weight: 800;
    letter-spacing: -0.02em;
}

.s24-page-banner p {
    margin: 0;
    color: rgba(255, 255, 255, 0.8);
    max-width: 640px;
    font-size: 15px;
}

.s24-city-chips {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    background: #ffffff;
    padding: 14px 18px;
    border-radius: 18px;
    border: 1px solid var(--border-light);
    margin-bottom: 22px;
}

.s24-chip {
    padding: 7px 14px;
    border-radius: 999px;
    background: #f1f5f9;
    color: var(--ink-700);
    font-size: 13px;
    font-weight: 700;
}

.s24-chip:hover {
    background: #dbeafe;
    color: var(--blue-600);
}

.s24-chip.is-active {
    background: var(--blue-600);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(29, 99, 237, 0.3);
}

/* Listing Detail 2-Column Layout */
.s24-detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 380px;
    gap: 26px;
    align-items: start;
    padding-bottom: 60px;
}

.s24-card-box {
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: 22px;
    padding: 26px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 22px;
}

.s24-gallery-stage {
    position: relative;
    height: 460px;
    border-radius: 18px;
    overflow: hidden;
    background: #08162e;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: zoom-in;
}

.s24-gallery-stage img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.s24-gallery-thumbs {
    display: flex;
    gap: 10px;
    margin-top: 12px;
    overflow-x: auto;
    padding-bottom: 4px;
}

.s24-g-thumb {
    width: 86px;
    height: 64px;
    border-radius: 11px;
    overflow: hidden;
    border: 2.5px solid transparent;
    opacity: 0.68;
    cursor: pointer;
    flex-shrink: 0;
}

.s24-g-thumb.active,
.s24-g-thumb:hover {
    border-color: var(--blue-600);
    opacity: 1;
}

.s24-g-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.s24-sticky-aside {
    position: sticky;
    top: 92px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.s24-price-hero {
    font-size: 32px;
    font-weight: 900;
    color: var(--blue-600);
    letter-spacing: -0.03em;
    line-height: 1.1;
}

.s24-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: 13px;
    border: 1px solid transparent;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    text-align: center;
}

.s24-btn-primary {
    background: var(--blue-grad);
    color: #ffffff !important;
    box-shadow: 0 8px 20px rgba(29, 99, 237, 0.28);
}

.s24-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(29, 99, 237, 0.4);
}

.s24-btn-gold {
    background: var(--gold-grad);
    color: #09152b !important;
    box-shadow: 0 8px 20px rgba(255, 153, 0, 0.3);
}

.s24-btn-whatsapp {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: #ffffff !important;
    box-shadow: 0 8px 20px rgba(22, 163, 74, 0.28);
}

.s24-btn-whatsapp:hover {
    transform: translateY(-2px);
    filter: brightness(1.04);
}

.s24-btn-outline {
    background: #ffffff;
    border-color: var(--border-light);
    color: var(--ink-900);
}

.s24-btn-outline:hover {
    border-color: var(--blue-600);
    color: var(--blue-600);
    background: #eff6ff;
}

.s24-btn-danger {
    background: #fef2f2;
    border-color: #fecaca;
    color: #dc2626;
}

.s24-btn-danger:hover {
    background: #ef4444;
    color: #ffffff;
}

/* ==========================================================================
   9. USER CABINET (/cont/*) & PRICING & AUTH
   ========================================================================== */
.s24-cabinet-layout {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 24px;
    align-items: start;
    padding: 28px 0 64px;
}

.s24-cabinet-nav {
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: 22px;
    padding: 20px;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 94px;
}

.s24-cabinet-user {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 16px;
    margin-bottom: 14px;
    border-bottom: 1px solid #f1f5f9;
}

.s24-cab-avatar {
    width: 48px;
    height: 48px;
    border-radius: 15px;
    background: var(--blue-grad);
    color: #ffffff;
    font-size: 20px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.s24-cab-menu {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.s24-cab-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 11px 14px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
    color: var(--ink-700);
}

.s24-cab-link:hover {
    background: #f1f5f9;
    color: var(--blue-600);
}

.s24-cab-link.active {
    background: #eff6ff;
    color: var(--blue-600);
    box-shadow: inset 0 0 0 1px #bfdbfe;
}

.s24-kpi-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 22px;
}

.s24-kpi-box {
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: 18px;
    padding: 20px;
    box-shadow: var(--shadow-xs);
}

.s24-kpi-box .val {
    font-size: 30px;
    font-weight: 800;
    color: var(--navy-950);
    line-height: 1.1;
    margin: 6px 0 4px;
}

.s24-kpi-box .lbl {
    font-size: 12.5px;
    font-weight: 600;
    color: var(--ink-500);
}

/* Alerts */
.s24-alert {
    padding: 14px 18px;
    border-radius: 14px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.s24-alert.ok {
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #065f46;
}

.s24-alert.err {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
}

/* Pagination */
.s24-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.s24-page-btn {
    padding: 9px 16px;
    border-radius: 11px;
    background: #ffffff;
    border: 1px solid var(--border-light);
    font-size: 13.5px;
    font-weight: 700;
    color: var(--ink-900);
}

.s24-page-btn:hover {
    border-color: var(--blue-600);
    color: var(--blue-600);
}

/* ==========================================================================
   10. ROYAL FOOTER & MOBILE BOTTOM BAR
   ========================================================================== */
.s24-footer {
    background: linear-gradient(180deg, #07152e 0%, #040d1d 100%);
    color: rgba(255, 255, 255, 0.82);
    padding: 56px 0 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.s24-footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 32px;
    padding-bottom: 36px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.s24-footer-col h4 {
    color: #ffffff;
    font-size: 15px;
    font-weight: 800;
    margin: 0 0 14px;
}

.s24-footer-links {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.s24-footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 13.5px;
    font-weight: 500;
}

.s24-footer-links a:hover {
    color: var(--sky-400);
    transform: translateX(3px);
}

.s24-footer-bottom {
    padding-top: 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 14px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.55);
}

/* Mobile Bottom App Navigation */
.s24-mobile-bar {
    display: none;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    height: 66px;
    background: rgba(7, 20, 43, 0.96);
    backdrop-filter: blur(14px);
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    z-index: 1200;
    justify-content: space-around;
    align-items: center;
    padding: 0 6px;
}

.s24-mob-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 10.5px;
    font-weight: 700;
    flex: 1;
}

.s24-mob-item.active,
.s24-mob-item:hover {
    color: var(--sky-400);
}

.s24-mob-item .ico {
    font-size: 19px;
    line-height: 1;
}

.s24-mob-fab {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--gold-grad);
    color: #09152b;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 900;
    margin-top: -22px;
    border: 3px solid #07142b;
    box-shadow: 0 8px 20px rgba(255, 153, 0, 0.45);
}

/* Lightbox Modal */
.s24-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(4, 10, 22, 0.92);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.s24-lightbox.open {
    display: flex;
}

.s24-lightbox img {
    max-width: 92vw;
    max-height: 88vh;
    border-radius: 14px;
    object-fit: contain;
}

.s24-lightbox-close {
    position: absolute;
    top: 20px;
    right: 24px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    font-size: 22px;
}

/* ==========================================================================
   11. RESPONSIVE BREAKPOINTS (LAPTOP, TABLET, MOBILE)
   ========================================================================== */
@media (max-width: 1200px) {
    .s24-cats-grid {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
    .s24-hero-grid {
        grid-template-columns: 1.2fr 0.8fr;
    }
    .s24-hero-person {
        display: none;
    }
    .s24-showcase-split {
        grid-template-columns: 1fr;
    }
    .s24-promo-left {
        padding-left: 0;
    }
    .s24-filter-row {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 980px) {
    .s24-nav,
    .s24-lang-pill,
    .s24-account-lines {
        display: none;
    }
    .s24-burger {
        display: inline-flex;
    }
    .s24-hero-grid {
        grid-template-columns: 1fr;
        gap: 26px;
    }
    .s24-hero-card {
        transform: none;
        max-width: 520px;
    }
    .s24-top-grid,
    .s24-catalog-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .s24-promo-banner {
        flex-direction: column;
        align-items: flex-start;
    }
    .s24-detail-layout,
    .s24-cabinet-layout {
        grid-template-columns: 1fr;
    }
    .s24-cabinet-nav {
        position: static;
    }
    .s24-kpi-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .s24-footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    body {
        padding-bottom: 70px;
    }
    .s24-mobile-bar {
        display: flex;
    }
    .s24-header-inner {
        height: 66px;
    }
    .s24-brand-sub,
    .s24-btn-add {
        display: none;
    }
    .s24-hero {
        padding: 28px 0 56px;
    }
    .s24-search-pill {
        flex-direction: column;
        align-items: stretch;
        gap: 6px;
        padding: 10px;
    }
    .s24-search-field.city-field {
        border-left: none;
        border-top: 1px solid #e2e8f0;
    }
    .s24-search-submit {
        width: 100%;
    }
    .s24-cats-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 9px;
    }
    .s24-top-grid,
    .s24-catalog-grid,
    .s24-filter-row {
        grid-template-columns: 1fr;
    }
    .s24-catalog-grid.list-mode .s24-ad-card {
        flex-direction: column;
    }
    .s24-catalog-grid.list-mode .s24-ad-thumb {
        width: 100%;
    }
    .s24-gallery-stage {
        height: 290px;
    }
    .s24-promo-pillars {
        width: 100%;
        justify-content: space-between;
        gap: 10px;
    }
    .s24-footer-grid {
        grid-template-columns: 1fr;
    }
}


/* =========================================================================
   TRILINGUAL LANGUAGE SWITCHER (RO / RU / EN) & 3-TAB AD EDITOR
   ========================================================================= */
.s24-lang-switcher {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    padding: 3px;
    gap: 2px;
}

.s24-lang-opt {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 5px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.72);
    text-decoration: none;
    transition: all 0.16s ease;
    line-height: 1;
}

.s24-lang-opt:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.12);
}

.s24-lang-opt.is-active {
    background: var(--sky-400, #38bdf8);
    color: #07152e;
    box-shadow: 0 2px 8px rgba(56, 189, 248, 0.35);
}

.s24-i18n-editor {
    background: #f8fafd;
    border: 1.5px solid #dbe6f5;
    border-radius: 18px;
    padding: 18px;
}

.s24-i18n-tabs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e2e8f0;
}

.s24-i18n-tab {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 16px;
    border-radius: 12px;
    border: 1px solid #cbd5e1;
    background: #ffffff;
    color: var(--navy-950);
    font-size: 13.5px;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.16s ease;
}

.s24-i18n-tab:hover {
    border-color: var(--blue-600);
}

.s24-i18n-tab.is-active {
    background: linear-gradient(135deg, #0b234a, #1d63ed);
    color: #ffffff;
    border-color: transparent;
    box-shadow: 0 6px 16px rgba(29, 99, 237, 0.25);
}

.s24-i18n-check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    font-size: 11px;
    font-weight: 900;
    background: rgba(148, 163, 184, 0.22);
    color: #94a3b8;
}

.s24-i18n-check.is-filled {
    background: #10b981;
    color: #ffffff;
}

/* ==========================================================================
   14. PROFI24 SMART CHIPS, TRUST BADGES & 1-CLICK QUICK FILTERS
   ========================================================================== */
.s24-smart-box {
    background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
    border: 1.5px solid #dbeafe;
    border-radius: 18px;
    padding: 18px 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.s24-smart-box-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
}

.s24-smart-box-title {
    margin: 0;
    font-size: 15px;
    font-weight: 800;
    color: var(--navy-950);
    display: flex;
    align-items: center;
    gap: 8px;
}

.s24-smart-box-sub {
    font-size: 12.5px;
    color: var(--ink-500);
    font-weight: 600;
}

.s24-smart-group-label {
    display: block;
    font-size: 12.5px;
    font-weight: 800;
    color: var(--ink-700);
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin-bottom: 8px;
}

.s24-smart-chip-group {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.s24-smart-pill {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 14px;
    border-radius: 999px;
    border: 1.5px solid #cbd5e1;
    background: #ffffff;
    color: var(--navy-950);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    user-select: none;
    transition: all 0.16s ease;
    line-height: 1.2;
}

.s24-smart-pill:hover {
    border-color: var(--blue-600);
    background: #eff6ff;
    transform: translateY(-1px);
}

.s24-smart-pill input[type="checkbox"],
.s24-smart-pill input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
    pointer-events: none;
}

.s24-smart-pill:has(input:checked),
.s24-smart-pill.is-active {
    background: linear-gradient(135deg, #0b234a, #1d63ed);
    color: #ffffff;
    border-color: transparent;
    box-shadow: 0 6px 14px rgba(29, 99, 237, 0.24);
}

.s24-smart-pill.pill-urgent:has(input:checked),
.s24-smart-pill.pill-urgent.is-active {
    background: linear-gradient(135deg, #d97706, #f59e0b);
    color: #09152b;
    box-shadow: 0 6px 14px rgba(245, 158, 11, 0.28);
}

.s24-smart-pill.pill-trust:has(input:checked),
.s24-smart-pill.pill-trust.is-active {
    background: linear-gradient(135deg, #059669, #10b981);
    color: #ffffff;
    box-shadow: 0 6px 14px rgba(16, 185, 129, 0.26);
}

/* Quick 1-click Filter Chips Strip in Search & Category pages */
.s24-quick-filters {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #f1f5f9;
}

.s24-qchip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 7px 13px;
    border-radius: 999px;
    border: 1.5px solid #e2e8f0;
    background: #f8fafc;
    color: var(--navy-950);
    font-size: 12.5px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.15s ease;
    text-decoration: none;
}

.s24-qchip:hover {
    border-color: var(--blue-600);
    background: #eff6ff;
    color: var(--blue-600);
}

.s24-qchip.is-active {
    background: linear-gradient(135deg, #0b234a, #1d63ed);
    color: #ffffff !important;
    border-color: transparent;
    box-shadow: 0 4px 12px rgba(29, 99, 237, 0.22);
}

.s24-qchip.qchip-urgent.is-active {
    background: linear-gradient(135deg, #d97706, #f59e0b);
    color: #09152b !important;
}

.s24-qchip.qchip-trust.is-active {
    background: linear-gradient(135deg, #059669, #10b981);
    color: #ffffff !important;
}

.s24-spec-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    padding: 12px 16px;
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: 16px;
    box-shadow: var(--shadow-xs);
}

/* Compact Mini-Badges inside Ad Cards */
.s24-card-smart-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin: 0 0 8px;
}

.s24-mini-badge {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 2px 7px;
    border-radius: 6px;
    font-size: 10.5px;
    font-weight: 800;
    line-height: 1.35;
    background: #eff6ff;
    color: #1d4ed8;
    border: 1px solid #dbeafe;
}

.s24-mini-badge.is-urgent {
    background: #fffbeb;
    color: #b45309;
    border-color: #fde68a;
}

.s24-mini-badge.is-trust {
    background: #ecfdf5;
    color: #047857;
    border-color: #a7f3d0;
}

.s24-mini-badge.is-company {
    background: #f5f3ff;
    color: #6d28d9;
    border-color: #ddd6fe;
}

/* Listing Detail Page: Advantages & Specializations Block */
.s24-advantages-block {
    background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
    border: 1.5px solid #dbeafe;
    border-radius: 18px;
    padding: 18px 20px;
    margin-bottom: 24px;
}

.s24-adv-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.s24-adv-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 13px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 800;
    background: #ffffff;
    color: var(--navy-950);
    border: 1.5px solid #cbd5e1;
    box-shadow: var(--shadow-xs);
}

.s24-adv-pill.is-urgent {
    background: #fffbeb;
    border-color: #f59e0b;
    color: #92400e;
}

.s24-adv-pill.is-trust {
    background: #ecfdf5;
    border-color: #10b981;
    color: #065f46;
}

.s24-adv-pill.is-pro {
    background: #eff6ff;
    border-color: #60a5fa;
    color: #1e40af;
}

@media (max-width: 768px) {
    .s24-smart-box {
        padding: 14px;
    }
    .s24-smart-pill {
        padding: 8px 12px;
        font-size: 12.5px;
    }
    .s24-price-grid-4 {
        grid-template-columns: 1fr 1fr !important;
    }
}
