/* ── Variables — TradeHub global B2B palette (navy + royal blue + bronze) ──
   Aligned with the mobile design tokens (AppColors.ink900 / accent600 /
   info600 / trust500 / seal500). Premium financial / trade-center feel:
   deep navy anchor, royal-blue accent for action, bronze seal cue for the
   audit/verification surfaces. The previous Abşeron orange/maroon is gone. */
:root {
    --th-primary: #1E40AF;          /* royal corporate blue (accent600) */
    --th-primary-dark: #0B1F33;     /* deep navy anchor (ink900) */
    --th-primary-light: #DBEAFE;    /* soft blue tint (blue-100) */
    --th-primary-50:  #EFF6FF;      /* lightest blue backdrop (blue-50) */
    --th-primary-100: #DBEAFE;      /* blue-100 backdrop */
    --th-secondary: #2563EB;        /* royal sapphire (accent500) */
    --th-secondary-dark: #1E5A8A;   /* deep sapphire (info600) */
    --th-accent: #B08D57;           /* bronze seal cue (audit / premium) */
    --th-gradient-warm: linear-gradient(135deg, #0B1F33 0%, #14253D 50%, #1E40AF 100%);
    --th-gradient-sunset: linear-gradient(135deg, #1E40AF 0%, #2563EB 50%, #1E5A8A 100%);
    --th-gradient-glow: linear-gradient(135deg, #2563EB 0%, #1E40AF 100%);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: #1e293b;
}

/* ── Navbar ───────────────────────────────────── */
.th-navbar {
    background: linear-gradient(90deg, #0B1F33 0%, #1E40AF 100%);
    box-shadow: 0 2px 12px rgba(11,31,51,0.40);
}

.th-navbar .navbar-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.1rem;
    letter-spacing: -0.01em;
}

.th-navbar .nav-link { color: rgba(255,255,255,0.88) !important; font-size: 0.875rem; font-weight: 500; }
.th-navbar .nav-link:hover,
.th-navbar .nav-link.active { color: #fff !important; }

/* Keep each nav label on a single line — longer translations (RU "Розничные
   продавцы", AZ "Soraq Kitabçası") used to wrap to two lines and misalign the
   bar. Combined with navbar-expand-xl (collapses to a clean dropdown below
   1200px) this removes the layout shift across all 5 languages. */
.th-navbar .navbar-nav .nav-link { white-space: nowrap; }
@media (min-width: 1200px) {
    .th-navbar .navbar-nav .nav-link { padding-left: 0.55rem; padding-right: 0.55rem; }
    .th-navbar form[role="search"] .input-group { width: 170px; }
}
/* In the collapsed (hamburger) menu give the search / actions a little breathing
   room so they stack cleanly under the links. */
@media (max-width: 1199.98px) {
    .th-navbar .navbar-collapse { padding-top: 0.5rem; }
    .th-navbar form[role="search"] { margin: 0.25rem 0 0.5rem !important; }
    .th-navbar form[role="search"] .input-group { width: 100%; }
    .th-navbar .dropdown.me-2 { margin-bottom: 0.5rem; }
}

.th-navbar .form-control {
    background: rgba(255,255,255,0.12);
    border-color: rgba(255,255,255,0.25);
    color: #fff;
    font-size: 0.875rem;
}
.th-navbar .form-control::placeholder { color: rgba(255,255,255,0.55); }
.th-navbar .form-control:focus {
    background: rgba(255,255,255,0.18);
    border-color: rgba(255,255,255,0.5);
    color: #fff;
    box-shadow: none;
}

/* ── Hero ─────────────────────────────────────── */
.th-hero {
    background: linear-gradient(150deg, #0B1F33 0%, #14253D 50%, #1E40AF 100%);
    min-height: 340px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.th-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.th-hero h1,
.th-hero p { text-shadow: 0 1px 4px rgba(0,0,0,0.25); position: relative; }

.text-white-75 { color: rgba(255,255,255,0.82) !important; }

.th-hero .form-control {
    border: none;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    font-size: 1rem;
    padding: 0.75rem 1rem;
}

.th-hero .btn-light {
    border: none;
    background: #fff;
    color: var(--th-primary);
    font-weight: 600;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.th-hero .btn-light:hover {
    background: #f1f5f9;
    color: var(--th-primary-dark);
}

/* ── Stats Bar ────────────────────────────────── */
.th-stats-bar {
    background: #fff;
    border-bottom: 1px solid #f1f5f9;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.th-stat-item {
    text-align: center;
    padding: 1.25rem 2rem;
    border-right: 1px solid #f1f5f9;
}

.th-stat-item:last-child { border-right: none; }

.th-stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--th-primary);
    line-height: 1;
}

.th-stat-label {
    font-size: 0.8rem;
    color: #64748b;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 0.25rem;
}

/* ── Section headers ──────────────────────────── */
.th-section-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0f172a;
    position: relative;
    padding-left: 0.875rem;
}

.th-section-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.15em;
    bottom: 0.15em;
    width: 4px;
    border-radius: 2px;
    background: var(--th-primary);
}

/* ── Industry grid ────────────────────────────── */
.th-industry-card {
    background: #fff;
    border: 1px solid #f1f5f9;
    border-radius: 1rem;
    padding: 1.4rem 1rem 1.2rem;
    text-align: center;
    text-decoration: none;
    color: #1e293b;
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.7rem;
    position: relative;
    overflow: hidden;
    isolation: isolate;
}
/* subtle radial glow that intensifies on hover */
.th-industry-card::before {
    content: '';
    position: absolute;
    inset: -1px;
    background: radial-gradient(ellipse at top, rgba(232,93,28,0.08), transparent 70%);
    opacity: 0;
    transition: opacity 0.22s ease;
    z-index: -1;
}
.th-industry-card:hover {
    border-color: transparent;
    color: #5a1e16;
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(232,93,28,0.22);
    text-decoration: none;
}
.th-industry-card:hover::before { opacity: 1; }

.th-industry-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
    color: var(--th-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.65rem;
    transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
    box-shadow: inset 0 0 0 1px rgba(232,93,28,0.10);
}

.th-industry-card:hover .th-industry-icon {
    background: var(--th-gradient-sunset);
    color: #fff;
    transform: scale(1.08) rotate(-6deg);
    box-shadow: 0 10px 26px rgba(232,93,28,0.45);
}

.th-industry-name {
    font-size: 0.875rem;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.005em;
}

.th-industry-count {
    display: inline-flex;
    align-items: baseline;
    gap: 0.3rem;
    margin-top: 0.5rem;
    padding: 0.25rem 0.7rem;
    border-radius: 999px;
    background: var(--th-primary-50);
    color: var(--th-primary);
    font-size: 0.78rem;
    font-weight: 500;
    transition: background 0.2s, color 0.2s, transform 0.2s;
}
.th-industry-count strong { font-weight: 800; font-size: 0.92rem; }
.th-industry-count-label {
    font-size: 0.68rem;
    text-transform: lowercase;
    opacity: 0.85;
}
.th-industry-card:hover .th-industry-count {
    background: var(--th-primary);
    color: #fff;
    transform: translateY(-1px);
}

/* color-rotation per card so the grid feels lively (subtle, only on hover) */
.th-industry-card:nth-child(5n+2):hover .th-industry-icon {
    background: linear-gradient(135deg, #5a1e16, #c2410c);
}
.th-industry-card:nth-child(5n+3):hover .th-industry-icon {
    background: linear-gradient(135deg, #f59e0b, #c2410c);
}
.th-industry-card:nth-child(5n+4):hover .th-industry-icon {
    background: linear-gradient(135deg, #7c3aed, #a855f7);
}
.th-industry-card:nth-child(5n+5):hover .th-industry-icon {
    background: linear-gradient(135deg, #0e7490, #0891b2);
}

/* Dedicated background for industries section */
.th-industries-section {
    background:
        radial-gradient(ellipse at top left,  rgba(232,93,28,0.06), transparent 60%),
        radial-gradient(ellipse at bottom right, rgba(124,58,237,0.05), transparent 60%),
        #fafafa;
    position: relative;
}
.th-industries-section::before,
.th-industries-section::after {
    content: '';
    position: absolute;
    left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #e2e8f0, transparent);
}
.th-industries-section::before { top: 0; }
.th-industries-section::after  { bottom: 0; }

.th-eyebrow {
    display: inline-block;
    background: var(--th-primary-100);
    color: var(--th-primary);
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* ── Buttons ──────────────────────────────────── */
.th-btn-primary {
    background: var(--th-primary);
    border-color: var(--th-primary);
    color: #fff;
    font-weight: 600;
}
.th-btn-primary:hover {
    background: var(--th-primary-dark);
    border-color: var(--th-primary-dark);
    color: #fff;
}

.btn-outline-primary {
    color: var(--th-primary);
    border-color: var(--th-primary);
}
.btn-outline-primary:hover {
    background: var(--th-primary);
    border-color: var(--th-primary);
    color: #fff;
}

.th-text-primary { color: var(--th-primary) !important; }

/* ── Category pills ───────────────────────────── */
.btn-outline-secondary.rounded-pill:hover,
.btn-outline-secondary.rounded-pill.active {
    background: var(--th-primary);
    border-color: var(--th-primary);
    color: #fff;
}

/* ── Category Badge ───────────────────────────── */
.th-badge-category {
    background: #fff7ed;
    color: var(--th-primary);
    font-weight: 500;
    font-size: 0.72rem;
    border-radius: 4px;
}

/* ── Company Card ─────────────────────────────── */
.company-card {
    background: #fff;
    border-radius: 0.875rem;
    overflow: hidden;
    box-shadow: 0 1px 6px rgba(0,0,0,0.07);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.company-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(185,28,28,0.12);
}

.company-card-cover {
    height: 110px;
    background: linear-gradient(135deg, var(--th-primary), #c2410c);
    position: relative;
}

.company-card-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.company-card-cover-placeholder {
    width: 100%;
    height: 100%;
}

.company-card-body {
    padding: 0 1rem 1rem;
    position: relative;
}

.company-logo-wrap {
    margin-top: -28px;
    margin-bottom: 0.5rem;
}

.company-logo {
    width: 56px;
    height: 56px;
    border-radius: 10px;
    border: 3px solid #fff;
    object-fit: cover;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.company-logo-placeholder {
    width: 56px;
    height: 56px;
    border-radius: 10px;
    border: 3px solid #fff;
    background: linear-gradient(135deg, var(--th-primary), #c2410c);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.company-card-contacts {
    display: flex;
    gap: 0.4rem;
}

.contact-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    font-size: 0.9rem;
    cursor: pointer;
}

.contact-wa    { background: #dcfce7; color: #16a34a; }
.contact-tg    { background: #dbeafe; color: #2563eb; }
.contact-phone { background: #f1f5f9; color: #475569; }

/* ── Contact buttons on detail page ──────────── */
.contact-btn { font-weight: 500; }

/* ── Why Us section ───────────────────────────── */
.th-why-card {
    background: #fff;
    border-radius: 1rem;
    padding: 2rem 1.5rem;
    text-align: center;
    border: 1px solid #f1f5f9;
    height: 100%;
    transition: box-shadow 0.18s ease;
}

.th-why-card:hover {
    box-shadow: 0 8px 24px rgba(185,28,28,0.1);
}

.th-why-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: #fff7ed;
    color: var(--th-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

/* ── CTA section — navy → royal blue, aligned with navbar/hero.
   The final CTA is the bridge between the warm body content above and the
   dark footer below; matching the navbar gradient closes the visual loop. */
.th-cta {
    background:
        radial-gradient(ellipse 900px 500px at 15% 0%, rgba(37, 99, 235, 0.45), transparent 60%),
        radial-gradient(ellipse 700px 400px at 100% 100%, rgba(176, 141, 87, 0.18), transparent 60%),
        linear-gradient(135deg, #0B1F33 0%, #1E40AF 55%, #1E5A8A 100%);
    position: relative;
    overflow: hidden;
}

.th-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

/* ── Footer — deepest navy of the page, continues the CTA gradient downward.
   Link + section-title accents use the soft blue tint so nothing reads as
   leftover Abşeron warm orange. */
.th-footer {
    background: linear-gradient(180deg, #06101F 0%, #0B1F33 100%);
    color: #94A3B8;
}

.th-footer a {
    color: #93C5FD;
    text-decoration: none;
}

.th-footer a:hover {
    color: #DBEAFE;
    text-decoration: underline;
}

.th-footer-brand {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
}

/* Logo pill on the dark footer — same treatment as navbar brand */
.th-footer-logo {
    display: inline-flex;
    align-items: center;
    background: #fff;
    border-radius: 0.55rem;
    padding: 0.25rem 0.6rem;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
    flex-shrink: 0;
}
.th-footer-logo img { display: block; max-height: 36px; }

.th-footer-section-title {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #93C5FD;
    margin-bottom: 0.75rem;
}

.th-footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    color: #64748B;
    font-size: 0.8rem;
}

.th-footer-contact i { color: #93C5FD !important; }

/* ── Mobile app download CTA — premium phone mockup + store badges.
   Sits between the FAQ and the final brand CTA, on the same navy family so
   the page closes as a single coherent dark block (CTA → app CTA → footer). */
.th-app-cta {
    position: relative;
    overflow: hidden;
    padding: clamp(3rem, 6vw, 5rem) 0;
    background:
        radial-gradient(ellipse 700px 400px at 100% 0%, rgba(176, 141, 87, 0.18), transparent 60%),
        radial-gradient(ellipse 800px 500px at 0% 100%, rgba(37, 99, 235, 0.32), transparent 60%),
        linear-gradient(135deg, #0B1F33 0%, #122B4A 60%, #1E3A8A 100%);
    color: #fff;
}
.th-app-cta-bg {
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(ellipse at center, black 25%, transparent 80%);
    pointer-events: none;
}
.th-label-on-dark {
    display: inline-block;
    padding: 0.32rem 0.7rem;
    color: #fff;
    background: rgba(176, 141, 87, 0.32);
    border: 1px solid rgba(219, 197, 156, 0.55);
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    text-shadow: 0 1px 0 rgba(0,0,0,0.18);
}
.th-app-cta .text-white-75 { color: rgba(255,255,255,0.78); }

.th-app-features { display: flex; flex-direction: column; gap: 0.85rem; }
.th-app-features li {
    display: flex; align-items: center; gap: 0.75rem;
    font-size: 1.02rem; color: rgba(255,255,255,0.92);
}
.th-app-feature-icon {
    width: 38px; height: 38px; flex: 0 0 38px;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(37,99,235,0.32), rgba(176,141,87,0.22));
    color: #DBEAFE;
    font-size: 1rem;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.10);
}

/* Store badges — dark pill, two-line "Download on the / App Store" pattern */
.th-store-btn {
    display: inline-flex; align-items: center; gap: 0.75rem;
    padding: 0.55rem 1.1rem 0.6rem;
    background: #000;
    color: #fff;
    border-radius: 12px;
    text-decoration: none;
    border: 1px solid rgba(255,255,255,0.18);
    box-shadow: 0 6px 20px rgba(0,0,0,0.35);
    transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
    min-width: 188px;
}
.th-store-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(0,0,0,0.45); color:#fff; background:#0B0B0B; }
.th-store-btn:focus-visible { outline: 2px solid #93C5FD; outline-offset: 3px; }
.th-store-btn i { font-size: 1.75rem; line-height: 1; }
.th-store-btn-text { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.1; }
.th-store-btn-text small { font-size: 0.68rem; opacity: 0.78; letter-spacing: 0.02em; text-transform: none; }
.th-store-btn-text strong { font-size: 1.05rem; font-weight: 600; letter-spacing: 0.01em; }
.th-store-btn.is-disabled { opacity: 0.78; cursor: not-allowed; }
.th-store-btn.is-disabled:hover { transform: none; box-shadow: 0 6px 20px rgba(0,0,0,0.35); }

/* ── Phone mockup — 3D perspective bezel + notch around a REAL screenshot
   of the live mobile app's Firmalar landing. The bezel tilts in 3D so it
   reads as a physical device shot, not a flat screen. The screen image
   gets a subtle glare overlay for the same reason.
   The CSS-faked screen variants below (.th-phone-screen, .th-phone-appbar,
   …) are kept for backward-compat / older snapshots but no longer used
   on the home CTA. */
.th-phone-mock {
    display: inline-block;
    position: relative;
    padding: 1.5rem;
    /* perspective creates a true 3D plane for child transforms */
    perspective: 1400px;
    transform-style: preserve-3d;
}
.th-phone-frame {
    width: 290px;
    height: 600px;
    background: linear-gradient(180deg, #1a1a1a 0%, #0a0a0a 100%);
    border-radius: 44px;
    padding: 10px;
    position: relative;
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow:
        inset 0 0 0 2px #2a2a2a,
        inset 0 0 0 4px #0a0a0a,
        /* Soft ambient ring */
        0 0 40px rgba(37, 99, 235, 0.25),
        /* Deep cast shadow that anchors the tilt + adds dimensionality */
        -20px 40px 80px -10px rgba(11, 31, 51, 0.55),
        /* Subtle bottom-right secondary shadow (warm ambient bounce) */
        30px 60px 100px -30px rgba(30, 64, 175, 0.35);
    /* 3D tilt: slight yaw + minor pitch so the device feels physical.
       Origin top-center keeps the bottom corner pushed back giving a
       camera-from-front-left perspective. */
    transform: rotateY(-13deg) rotateX(4deg) rotateZ(-1deg);
    transform-origin: 50% 30%;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.th-phone-mock:hover .th-phone-frame {
    /* Subtle straighten on hover — gives a sense of interactivity for
       desktop visitors who mouse over. Mobile users won't see this. */
    transform: rotateY(-6deg) rotateX(2deg) rotateZ(0);
}
/* Specular glare — diagonal sheen across the screen, reading as light
   reflecting off glass. Sits ABOVE the screenshot, pointer-events: none
   so it never blocks interaction. */
.th-phone-frame::after {
    content: '';
    position: absolute;
    inset: 10px;
    border-radius: 34px;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.18) 0%,
        rgba(255, 255, 255, 0.04) 25%,
        transparent 45%,
        transparent 100%
    );
    pointer-events: none;
    z-index: 4;
}
.th-phone-notch {
    position: absolute;
    top: 14px; left: 50%; transform: translateX(-50%);
    width: 110px; height: 26px;
    background: #000;
    border-radius: 14px;
    z-index: 3;
}
/* Real app screenshot inside the bezel — cropped to the inner-screen
   radius so the navy app-bar of the screenshot bleeds into the notch
   area cleanly. object-fit cover keeps the aspect ratio without
   letterboxing across different uploads. */
.th-phone-shot {
    width: 100%;
    height: 100%;
    border-radius: 34px;
    object-fit: cover;
    display: block;
    background: #F1F5F9;
}
.th-phone-screen {
    width: 100%; height: 100%;
    background: #F1F5F9;
    border-radius: 34px;
    display: flex; flex-direction: column;
    position: relative;
    overflow: hidden;
}
.th-phone-status {
    display: flex; justify-content: space-between; align-items: center;
    padding: 8px 18px 4px;
    font-size: 0.7rem;
    font-weight: 600;
    color: #fff;
    background: #0B1F33;
}
.th-phone-status i { font-size: 0.72rem; margin-left: 2px; }

/* App-bar (navy → royal blue gradient) */
.th-phone-appbar {
    background: linear-gradient(135deg, #0B1F33, #1E40AF);
    color: #fff;
    padding: 22px 14px 14px;
    display: flex; align-items: center; justify-content: space-between;
    gap: 0.5rem;
}
.th-phone-appbar > strong { font-size: 1.05rem; font-weight: 700; letter-spacing: -0.01em; }
.th-phone-appbar-actions { display: flex; align-items: center; gap: 0.4rem; }
.th-phone-lang-pill {
    display: inline-flex; align-items: center; gap: 0.25rem;
    background: rgba(255,255,255,0.16);
    border-radius: 999px;
    padding: 0.25rem 0.5rem 0.25rem 0.45rem;
    font-size: 0.7rem; font-weight: 700;
}
.th-phone-lang-pill i { font-size: 0.7rem; }
.th-phone-lang-flag { font-size: 0.8rem; line-height: 1; }
.th-phone-bookmark { font-size: 1.05rem; color: #fff; opacity: 0.92; }

/* Body */
.th-phone-body {
    flex: 1;
    padding: 12px 12px 8px;
    display: flex; flex-direction: column;
    gap: 10px;
    overflow: hidden;
}
.th-phone-search {
    display: flex; align-items: center; gap: 0.55rem;
    background: #fff;
    border: 1px solid #E2E8F0;
    border-radius: 10px;
    padding: 0.55rem 0.7rem;
    color: #64748B;
    font-size: 0.72rem;
}
.th-phone-search i { font-size: 0.85rem; color: #1E40AF; }

.th-phone-kpi-card {
    background: #fff;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    padding: 0.7rem 0.4rem;
    display: flex; align-items: center; justify-content: space-around;
    box-shadow: 0 2px 8px rgba(11, 31, 51, 0.05);
}
.th-phone-kpi-item { display: flex; flex-direction: column; align-items: center; gap: 0.1rem; flex: 1; min-width: 0; }
.th-phone-kpi-num { font-size: 1.25rem; font-weight: 800; line-height: 1; letter-spacing: -0.02em; }
.th-phone-kpi-lbl { font-size: 0.62rem; color: #64748B; font-weight: 600; white-space: nowrap; }
.th-phone-kpi-sep { width: 1px; height: 26px; background: #E2E8F0; flex: 0 0 1px; }

.th-phone-sectors-title {
    font-size: 0.6rem;
    color: #64748B;
    font-weight: 700;
    letter-spacing: 0.14em;
    margin-top: 2px;
}
.th-phone-sectors-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}
.th-phone-sector {
    position: relative;
    border-radius: 12px;
    padding: 0.6rem 0.65rem 0.55rem;
    color: #fff;
    display: flex; flex-direction: column; gap: 0.15rem;
    overflow: hidden;
    min-height: 70px;
    animation: thPhoneCardIn 0.55s ease both;
}
.th-phone-sector i {
    font-size: 1rem;
    background: rgba(255,255,255,0.18);
    width: 26px; height: 26px;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 7px;
    margin-bottom: 0.15rem;
}
.th-phone-sector strong { font-size: 0.72rem; font-weight: 700; line-height: 1.1; }
.th-phone-sector small { font-size: 0.58rem; opacity: 0.85; }
.th-ps-1 { background: linear-gradient(135deg, #1E40AF, #2563EB); animation-delay: 0.10s; }
.th-ps-2 { background: linear-gradient(135deg, #0E7C66, #14B8A6); animation-delay: 0.20s; }
.th-ps-3 { background: linear-gradient(135deg, #6D28D9, #8B5CF6); animation-delay: 0.30s; }
.th-ps-4 { background: linear-gradient(135deg, #B45309, #D97706); animation-delay: 0.40s; }

/* Bottom-nav — Firmalar / Kampanyalar / Sanal Fuar / Merkez */
.th-phone-nav {
    background: #fff;
    border-top: 1px solid #E2E8F0;
    padding: 8px 6px 10px;
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 2px;
}
.th-phone-nav-item {
    display: flex; flex-direction: column; align-items: center; gap: 2px;
    color: #94A3B8;
    font-size: 0.58rem;
    font-weight: 600;
    padding: 0.2rem 0;
}
.th-phone-nav-item i { font-size: 0.95rem; }
.th-phone-nav-item span { line-height: 1; white-space: nowrap; }
.th-phone-nav-item.is-active {
    color: #1E40AF;
    font-weight: 800;
}
.th-phone-nav-item.is-active i {
    background: #DBEAFE;
    width: 38px; height: 22px;
    border-radius: 11px;
    color: #1E40AF;
}

@keyframes thPhoneCardIn {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}

@media (max-width: 575.98px) {
    .th-phone-frame { width: 260px; height: 540px; }
    .th-store-btn { min-width: 0; flex: 1 1 calc(50% - 0.75rem); justify-content: center; }
}

/* ── Language dropdown ────────────────────────── */
.lang-flag {
    font-size: 1rem;
    line-height: 1;
}

/* ── Carousel campaign ────────────────────────── */
.th-campaign-badge {
    background: linear-gradient(90deg, var(--th-secondary), var(--th-accent));
    color: #fff;
    font-weight: 600;
    font-size: 0.75rem;
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
}

/* ─────────────────────────────────────────────────
   PUBLIC PAGES (Companies / Campaigns / Detail)
   ───────────────────────────────────────────────── */

/* Page header — same dark anchor + accent system as the homepage slider.
   Default = brand orange accent (Companies / Directory).
   Modifier classes downstream let other pages swap the accent (emerald
   for wholesale, violet for insight, amber for campaigns).

   Height policy: every header (regardless of the inline py-4/py-5 quirks
   the views ship with) anchors to the same min-height so Wholesalers,
   Retailers, Campaigns, Directory and Companies all read as the same
   "shelf" across the site. */
.th-page-header,
.th-dir-hero {
    min-height: 180px;                /* compact, consistent across all pages */
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* Same dark anchor + brand-orange accent across every public list page.
       Modifier classes (-wholesale, -retail, .th-campaigns-header) override
       only the radial accent layer, not the slate base. */
    background:
        radial-gradient(ellipse at 80% 25%, rgba(234,88,12,0.50) 0%, transparent 55%),
        linear-gradient(135deg, #1e293b 0%, #0f172a 60%, #1c1917 100%);
    color: #fff;
    position: relative;
    overflow: hidden;
}
@@media (max-width: 767.98px) {
    .th-page-header,
    .th-dir-hero { min-height: 150px; }
}

/* Standard page title — every public list page (Companies, Directory,
   Wholesalers, Retailers, Campaigns) uses this exact class so the title
   height + weight + colour land identically. View files reference it
   directly, dropping any Bootstrap .h3/.display-5 size variance. */
.th-page-title {
    font-size: clamp(1.6rem, 2.4vw, 2.1rem);
    font-weight: 800;
    line-height: 1.2;
    color: #fff;
    margin: 0 0 0.35rem;
    letter-spacing: -0.01em;
}
.th-page-subtitle {
    color: rgba(255,255,255,0.85);
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
    max-width: 60ch;
}
/* Marketplace variants — pick the accent that matches the audience */
.th-page-header-wholesale {
    background:
        radial-gradient(ellipse at 80% 25%, rgba(16,185,129,0.45) 0%, transparent 55%),
        linear-gradient(135deg, #0c1d2e 0%, #0f172a 60%, #042f2e 100%);
}
.th-page-header-retail {
    background:
        radial-gradient(ellipse at 80% 25%, rgba(234,88,12,0.50) 0%, transparent 55%),
        linear-gradient(135deg, #1e293b 0%, #0f172a 60%, #1c1917 100%);
}
.th-page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.th-page-header > .container { position: relative; }
.th-page-header .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,0.5); }
.th-page-header .breadcrumb-item.active { color: #fff !important; }

.th-search-form {
    width: 100%;
    max-width: 380px;
}

/* Filter sidebar */
.th-filter-card {
    background: #fff;
    border-radius: 0.875rem;
    padding: 1.25rem;
    border: 1px solid #f1f5f9;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.th-filter-label {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #94a3b8;
    margin-bottom: 0.5rem;
}
.th-filter-list {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.th-filter-item {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.5rem 0.625rem;
    border-radius: 0.5rem;
    color: #475569;
    font-size: 0.875rem;
    text-decoration: none;
    transition: all 0.12s;
    border: 1px solid transparent;
}
.th-filter-item:hover {
    background: #fff7ed;
    color: var(--th-primary);
}
.th-filter-item.active {
    background: var(--th-primary);
    color: #fff;
    font-weight: 500;
}
.th-filter-icon {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    background: #f1f5f9;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    flex-shrink: 0;
}
.th-filter-item.active .th-filter-icon {
    background: rgba(255,255,255,0.2);
}
.th-filter-item:hover:not(.active) .th-filter-icon {
    background: var(--th-primary);
    color: #fff;
}

/* Filter chips (active filters display) */
.th-filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    background: var(--th-primary-100);
    color: var(--th-primary);
    padding: 0.3rem 0.4rem 0.3rem 0.7rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 600;
    border: 1px solid var(--th-primary-light);
    transition: background 0.15s, border-color 0.15s;
}
.th-filter-chip:hover { background: #ffd8b3; }
.th-filter-chip a {
    color: var(--th-primary);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    width: 22px;
    height: 22px;
    background: rgba(255,255,255,0.6);
    transition: background 0.15s, color 0.15s, transform 0.15s;
}
.th-filter-chip a:hover {
    background: var(--th-primary);
    color: #fff;
    transform: rotate(90deg);
}
.th-filter-chip a:focus-visible {
    outline: 2px solid var(--th-primary);
    outline-offset: 2px;
}

/* "Clear all" pill — appears when 2+ filters active */
.th-filter-chip-clear {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    background: #1e293b;
    color: #fff;
    padding: 0.3rem 0.85rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid #1e293b;
    transition: background 0.15s, color 0.15s;
}
.th-filter-chip-clear:hover { background: #0f172a; color: #fff; }

/* ─────────────────────────────────────────────────────────────────────
   Directory (Companies/Index) redesign
   ───────────────────────────────────────────────────────────────────── */

/* (.th-dir-hero base styles defined above with .th-page-header — duplicate removed.) */
.th-dir-hero-pattern {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255,255,255,0.10) 1px, transparent 1px);
    background-size: 18px 18px;
    opacity: 0.55;
    pointer-events: none;
}
.th-dir-hero .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,0.5); }
.th-dir-hero .breadcrumb-item.active { color: #fff !important; }
.th-dir-hero .breadcrumb-item a { color: rgba(255,255,255,0.8); }

.th-dir-hero-content {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.25rem;
    margin-bottom: 1.5rem;
}
.th-dir-hero-text { flex: 1 1 360px; min-width: 0; }
.th-dir-hero-title {
    margin: 0 0 0.4rem 0;
    font-weight: 800;
    font-size: clamp(1.6rem, 2.4vw, 2.2rem);
    color: #fff;
    letter-spacing: -0.01em;
}
.th-dir-hero-subtitle {
    margin: 0;
    color: rgba(255,255,255,0.85);
    font-size: 0.95rem;
    max-width: 56ch;
    line-height: 1.55;
}

.th-dir-search {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #fff;
    border-radius: 14px;
    padding: 0.4rem 0.4rem 0.4rem 0.95rem;
    width: min(440px, 100%);
    box-shadow: 0 12px 28px rgba(0,0,0,0.18);
    flex-shrink: 0;
}
.th-dir-search-icon {
    color: var(--th-primary);
    font-size: 1rem;
    display: inline-flex;
}
.th-dir-search-input {
    flex: 1;
    border: 0;
    background: transparent;
    outline: none;
    color: #0f172a;
    padding: 0.5rem 0;
    font-size: 0.95rem;
}
.th-dir-search-input::placeholder { color: #94a3b8; }
.th-dir-search-btn {
    background: var(--th-primary);
    color: #fff;
    border: 0;
    border-radius: 10px;
    padding: 0.55rem 1rem;
    font-weight: 600;
    font-size: 0.875rem;
    transition: background 0.15s ease;
}
.th-dir-search-btn:hover { background: #c2410c; }

.th-dir-kpis {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 0.75rem;
    margin-top: 0.5rem;
}
.th-dir-kpi {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(255,255,255,0.10);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 12px;
    padding: 0.7rem 0.95rem;
}
.th-dir-kpi-icon {
    width: 36px;
    height: 36px;
    border-radius: 9px;
    background: rgba(255,255,255,0.18);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    flex-shrink: 0;
}
.th-dir-kpi-text { line-height: 1.15; }
.th-dir-kpi-num {
    font-weight: 800;
    font-size: 1.15rem;
    color: #fff;
}
.th-dir-kpi-lbl {
    font-size: 0.72rem;
    color: rgba(255,255,255,0.78);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* Quick category chip row */
.th-dir-chips-wrap {
    background: #fff;
    border-bottom: 1px solid #f1f5f9;
}
.th-dir-chips-row {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    padding: 0.85rem 0;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}
.th-dir-chips-row::-webkit-scrollbar { display: none; }
.th-dir-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.5rem 0.95rem;
    border-radius: 999px;
    background: #f8fafc;
    border: 1px solid transparent;
    color: #475569;
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}
.th-dir-chip:hover {
    background: #fff7ed;
    color: var(--th-primary);
    border-color: #fed7aa;
}
.th-dir-chip.is-active {
    background: var(--th-primary);
    color: #fff;
    box-shadow: 0 6px 16px rgba(234, 88, 12, 0.25);
}
.th-dir-chip-count {
    background: rgba(15, 23, 42, 0.06);
    color: #64748b;
    padding: 0.05rem 0.5rem;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 700;
    min-width: 22px;
    text-align: center;
}
.th-dir-chip:hover .th-dir-chip-count {
    background: #fed7aa;
    color: var(--th-primary);
}
.th-dir-chip.is-active .th-dir-chip-count {
    background: rgba(255,255,255,0.25);
    color: #fff;
}

/* Filter sidebar count badge */
.th-filter-count {
    background: #f1f5f9;
    color: #64748b;
    padding: 0 0.5rem;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 700;
    min-width: 26px;
    text-align: center;
    line-height: 1.5;
}
.th-filter-item.active .th-filter-count {
    background: rgba(255,255,255,0.22);
    color: #fff;
}
.th-filter-item:hover:not(.active) .th-filter-count {
    background: #fed7aa;
    color: var(--th-primary);
}

/* Toolbar (count · sort · view-toggle) */
.th-dir-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    flex-wrap: wrap;
    padding: 0.75rem 1rem;
    background: #fff;
    border: 1px solid #f1f5f9;
    border-radius: 12px;
}
.th-dir-toolbar-count {
    color: #64748b;
    font-size: 0.85rem;
    font-weight: 500;
}
.th-dir-toolbar-actions {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}
.th-dir-sort .form-select {
    border-radius: 8px;
    border-color: #e2e8f0;
    color: #334155;
    font-weight: 500;
    width: auto;
    min-width: 160px;
}
.th-dir-sort .form-select:focus {
    border-color: var(--th-primary);
    box-shadow: 0 0 0 0.15rem rgba(234, 88, 12, 0.18);
}
.th-dir-view-toggle {
    display: inline-flex;
    background: #f1f5f9;
    border-radius: 8px;
    padding: 3px;
    gap: 2px;
}
.th-dir-view-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 6px;
    color: #64748b;
    text-decoration: none;
    transition: background 0.15s, color 0.15s;
}
.th-dir-view-btn:hover { color: var(--th-primary); }
.th-dir-view-btn.is-active {
    background: #fff;
    color: var(--th-primary);
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

/* List view rows */
.th-dir-list {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}
.th-dir-list-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.85rem 1rem;
    background: #fff;
    border: 1px solid #f1f5f9;
    border-radius: 12px;
    color: inherit;
    text-decoration: none;
    transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}
.th-dir-list-item:hover {
    border-color: #fed7aa;
    box-shadow: 0 12px 28px rgba(234, 88, 12, 0.10);
    transform: translateY(-1px);
    color: inherit;
}
.th-dir-list-item.is-featured {
    border-color: #fdba74;
    box-shadow: inset 0 0 0 1px #fdba74;
}
.th-dir-list-logo {
    width: 56px;
    height: 56px;
    border-radius: 10px;
    background: #f8fafc;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
    border: 1px solid #f1f5f9;
}
.th-dir-list-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.th-dir-list-logo-initial {
    color: var(--th-primary);
    font-weight: 700;
    font-size: 1.4rem;
}
.th-dir-list-main {
    flex: 1;
    min-width: 0;
}
.th-dir-list-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 0.2rem;
}
.th-dir-list-title h3 {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
    color: #0f172a;
}
.th-dir-list-flag { font-size: 0.65rem; padding: 0.15rem 0.5rem; }
.th-dir-list-desc {
    margin: 0 0 0.35rem 0;
    color: #64748b;
    font-size: 0.85rem;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.th-dir-list-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}
.th-dir-list-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.15rem 0.55rem;
    border-radius: 6px;
    background: #f8fafc;
    color: #475569;
    font-size: 0.75rem;
    font-weight: 500;
}
.th-dir-list-tag-stall { background: #fff7ed; color: var(--th-primary); }
.th-dir-list-tag-meta { background: transparent; color: #94a3b8; padding-left: 0; padding-right: 0; }
.th-dir-list-actions {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    flex-shrink: 0;
}
.th-dir-list-go {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #fff7ed;
    color: var(--th-primary);
    font-size: 1rem;
    margin-left: 0.25rem;
    transition: background 0.15s, color 0.15s;
}
.th-dir-list-item:hover .th-dir-list-go {
    background: var(--th-primary);
    color: #fff;
}

@media (max-width: 575.98px) {
    .th-dir-list-item { flex-wrap: wrap; }
    .th-dir-list-actions { width: 100%; justify-content: flex-end; }
}

/* Refined empty state */
.th-dir-empty .th-empty-icon {
    background: linear-gradient(135deg, #fff7ed, #fed7aa);
    color: var(--th-primary);
}

/* Empty state */
.th-empty-state {
    text-align: center;
    padding: 4rem 1rem;
    background: #fff;
    border-radius: 1rem;
    border: 1px dashed #e2e8f0;
}
.th-empty-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    background: #fff7ed;
    color: var(--th-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 1rem;
}

/* ─────────────────────────────────────────────────
   CAMPAIGNS PAGE
   ───────────────────────────────────────────────── */
.th-campaigns-header {
    /* Campaigns = amber accent on the same dark anchor — distinguishable
       from the default page header without breaking palette consistency. */
    background:
        radial-gradient(ellipse at 80% 25%, rgba(245,158,11,0.55) 0%, transparent 55%),
        linear-gradient(135deg, #1e293b 0%, #0f172a 60%, #1c1917 100%);
}
.th-campaign-hero {
    background: #fff;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    border: 1px solid #f1f5f9;
    min-height: 320px;
}
.th-campaign-hero-img {
    background-size: cover;
    background-position: center;
    background-color: #fff7ed;
    position: relative;
    min-height: 280px;
}
.th-campaign-hero-placeholder {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--th-primary), var(--th-secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.5);
    font-size: 5rem;
}
.th-campaign-hero-badges {
    position: absolute;
    top: 1rem;
    left: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.th-campaign-hero-body {
    padding: 2rem 1.5rem;
    display: flex;
    align-items: center;
}

.th-campaign-badge-featured {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(90deg, var(--th-secondary), var(--th-accent));
    color: #fff;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    box-shadow: 0 2px 8px rgba(217,119,6,0.3);
}

/* Compact badges shown in card BODY (not over banner image) */
.th-campaign-tag {
    display: inline-flex;
    align-items: center;
    padding: 0.22rem 0.6rem;
    border-radius: 999px;
    font-size: 0.66rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    white-space: nowrap;
    line-height: 1.2;
}
.th-campaign-tag-featured {
    background: linear-gradient(90deg, var(--th-secondary), var(--th-accent));
    color: #5a1e16;
    box-shadow: 0 2px 6px rgba(245,158,11,0.25);
}
.th-campaign-tag-urgent {
    background: var(--th-primary);
    color: #fff;
    animation: pulse-urgent 2s infinite;
}
.th-campaign-tag-new {
    background: #dcfce7;
    color: #166534;
    border: 1px solid #86efac;
}
.th-campaign-badge-urgent {
    display: inline-flex;
    align-items: center;
    background: var(--th-primary);
    color: #fff;
    padding: 0.3rem 0.7rem;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    animation: pulse-urgent 2s infinite;
}
.th-campaign-badge-new {
    display: inline-flex;
    align-items: center;
    background: #16a34a;
    color: #fff;
    padding: 0.3rem 0.7rem;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
@keyframes pulse-urgent {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.th-campaign-card {
    background: #fff;
    border-radius: 0.875rem;
    overflow: hidden;
    border: 1px solid #f1f5f9;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
    display: flex;
    flex-direction: column;
}
.th-campaign-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(185,28,28,0.12);
}
.th-campaign-card-img {
    position: relative;
    height: 180px;
    overflow: hidden;
    background: #f1f5f9;
}
.th-campaign-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.th-campaign-card-placeholder {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 80% 20%, rgba(255,255,255,0.18), transparent 55%),
        linear-gradient(135deg, var(--th-primary) 0%, #c2410c 55%, var(--th-secondary) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.92);
    overflow: hidden;
}
.th-campaign-card-placeholder::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255,255,255,0.13) 1px, transparent 1px);
    background-size: 14px 14px;
    opacity: 0.6;
    pointer-events: none;
}
.th-campaign-card-ph-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.55rem;
    padding: 0.75rem;
    text-align: center;
}
.th-campaign-card-ph-logo {
    width: 64px;
    height: 64px;
    border-radius: 14px;
    background: rgba(255,255,255,0.95);
    border: 2px solid rgba(255,255,255,0.6);
    box-shadow: 0 8px 22px rgba(0,0,0,0.18);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.th-campaign-card-ph-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.th-campaign-card-ph-logo-initial {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--th-primary);
}
.th-campaign-card-ph-icon {
    font-size: 2.4rem;
    color: rgba(255,255,255,0.92);
}
.th-campaign-card-ph-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.25rem 0.7rem;
    background: rgba(255,255,255,0.18);
    border: 1px solid rgba(255,255,255,0.28);
    border-radius: 999px;
    color: #fff;
    font-size: 0.72rem;
    font-weight: 600;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    max-width: 90%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Company chip overlaid on the campaign card image — makes ownership obvious */
.th-campaign-card-co-chip {
    position: absolute;
    top: 0.6rem;
    right: 0.6rem;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.25rem 0.55rem 0.25rem 0.3rem;
    background: rgba(255,255,255,0.96);
    border-radius: 999px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    max-width: calc(100% - 1.2rem);
}
.th-campaign-card-co-chip img,
.th-campaign-card-co-chip .th-campaign-card-co-chip-initial {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}
.th-campaign-card-co-chip .th-campaign-card-co-chip-initial {
    background: var(--th-primary);
    color: #fff;
    font-weight: 700;
    font-size: 0.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.th-campaign-card-co-chip span {
    font-size: 0.78rem;
    font-weight: 600;
    color: #0f172a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 130px;
}
.th-campaign-card-badges {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    display: flex;
    gap: 0.4rem;
    flex-wrap: wrap;
}
.th-campaign-card-body {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.th-campaign-card-desc {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex-grow: 1;
}

/* ─────────────────────────────────────────────────
   COMPANY DETAIL
   ───────────────────────────────────────────────── */
.th-detail-cover {
    background: linear-gradient(135deg, #5a1e16 0%, #e85d1c 100%);
    background-size: cover;
    background-position: center;
    color: #fff;
    min-height: 100px;
}
.th-detail-cover .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,0.5); }

.th-company-header {
    background: #fff;
    border-radius: 1rem;
    padding: 1.5rem;
    margin-top: -2rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    position: relative;
    z-index: 5;
    border: 1px solid #f1f5f9;
}
.th-company-logo {
    width: 88px;
    height: 88px;
    border-radius: 16px;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.th-company-logo img,
.th-company-logo-placeholder {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.th-company-logo-placeholder {
    background: linear-gradient(135deg, var(--th-primary), var(--th-secondary));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
}
.th-detail-tag {
    display: inline-flex;
    align-items: center;
    background: #fff7ed;
    color: var(--th-primary);
    padding: 0.2rem 0.6rem;
    border-radius: 6px;
    font-size: 0.72rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.12s;
}
.th-detail-tag:hover {
    background: var(--th-primary);
    color: #fff;
}
.th-badge-verified {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #fef3c7;
    color: #d97706;
    font-size: 0.85rem;
}
.th-badge-verified-blue {
    background: #dbeafe;
    color: #2563eb;
}

/* Tabs */
.th-tabs {
    border-bottom: 2px solid #f1f5f9;
    padding-bottom: 0;
    gap: 0.25rem;
    flex-wrap: wrap;
}
.th-tabs .nav-link {
    color: #64748b;
    background: transparent;
    border-radius: 0.5rem 0.5rem 0 0;
    padding: 0.6rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
}
.th-tabs .nav-link:hover {
    color: var(--th-primary);
    background: #fff7ed;
}
.th-tabs .nav-link.active {
    color: var(--th-primary) !important;
    background: transparent !important;
    border-bottom: 2px solid var(--th-primary);
    font-weight: 600;
}
.th-tab-count {
    display: inline-block;
    background: #f1f5f9;
    color: #64748b;
    padding: 0 0.4rem;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 600;
    margin-left: 0.25rem;
}
.th-tabs .nav-link.active .th-tab-count {
    background: var(--th-primary);
    color: #fff;
}

/* Sticky in-page section nav (Detail page) */
.th-section-nav {
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom: 1px solid #f1f5f9;
    margin-bottom: 1.25rem;
    z-index: 1020;
    top: 64px;
}
.th-section-nav-inner {
    display: flex;
    gap: 0.4rem;
    overflow-x: auto;
    scrollbar-width: none;
    padding: 0.65rem 0;
    -webkit-overflow-scrolling: touch;
}
.th-section-nav-inner::-webkit-scrollbar { display: none; }
.th-section-nav-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 0.95rem;
    background: #f8fafc;
    border: 1px solid transparent;
    border-radius: 999px;
    color: #475569;
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}
.th-section-nav-link:hover {
    background: #fff7ed;
    color: var(--th-primary);
}
.th-section-nav-link.is-active {
    background: var(--th-primary);
    color: #fff;
    box-shadow: 0 4px 12px rgba(234, 88, 12, 0.25);
}
.th-section-nav-link.is-active .th-tab-count {
    background: rgba(255, 255, 255, 0.25);
    color: #fff;
}
.th-detail-section {
    scroll-margin-top: 130px;
    margin-bottom: 1.75rem;
}
.th-section-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #f1f5f9;
}
.th-section-header .th-section-icon {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff7ed;
    color: var(--th-primary);
    border-radius: 0.6rem;
    font-size: 1.05rem;
    flex-shrink: 0;
}
.th-section-header h4 {
    margin: 0;
    font-weight: 700;
    font-size: 1.1rem;
    color: #0f172a;
}
.th-section-header .th-section-meta {
    margin-left: auto;
    font-size: 0.8rem;
    color: #94a3b8;
    font-weight: 500;
}

/* Content cards */
.th-content-card {
    background: #fff;
    border-radius: 0.875rem;
    padding: 1.5rem;
    border: 1px solid #f1f5f9;
}

/* Copy-share button — branded outline (matches --th-primary). */
.th-btn-copy {
    background: #fff;
    color: var(--th-primary);
    border: 1px solid var(--th-primary);
    font-weight: 600;
}
.th-btn-copy:hover { background: var(--th-primary); color: #fff; }
.th-btn-copy:focus-visible {
    box-shadow: 0 0 0 3px rgba(185, 28, 28, 0.25);
}

/* Map embed under address — medium height, polished. */
.th-map-embed {
    height: 240px;
    background: #f1f5f9;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
}
@media (min-width: 992px) {
    .th-map-embed { height: 220px; }
}

/* Info tile (in About tab) */
.th-info-tile {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: #f8fafc;
    border-radius: 0.625rem;
    padding: 0.875rem 1rem;
    height: 100%;
}
.th-info-tile > i {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: #fff7ed;
    color: var(--th-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1rem;
}
.th-info-tile-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #94a3b8;
    font-weight: 600;
}
.th-info-tile-value {
    font-size: 0.9rem;
    color: #1e293b;
    font-weight: 600;
}

/* Product card */
.th-product-card {
    background: #fff;
    border-radius: 0.75rem;
    overflow: hidden;
    border: 1px solid #f1f5f9;
    transition: box-shadow 0.18s;
}
.th-product-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}
.th-product-card-img {
    height: 160px;
    overflow: hidden;
    background: #f1f5f9;
    position: relative;
    display: block;
}
.th-product-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.25s ease;
}
/* Clickable variant: the <a> wrapper carries this class. Subtle zoom on hover
   tells the user the image is interactive (vs. the static text below). */
a.th-product-card-img { cursor: zoom-in; }
a.th-product-card-img:hover img { transform: scale(1.04); }
.th-product-zoom-overlay {
    position: absolute;
    top: 8px; right: 8px;
    width: 30px; height: 30px;
    display: inline-flex;
    align-items: center; justify-content: center;
    background: rgba(15, 23, 42, 0.55);
    color: #fff;
    border-radius: 50%;
    font-size: 0.85rem;
    opacity: 0;
    transition: opacity 0.18s;
    pointer-events: none;
}
a.th-product-card-img:hover .th-product-zoom-overlay { opacity: 1; }
.th-product-card-img-placeholder {
    background: linear-gradient(135deg, #fff7ed, #fce7f3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--th-primary);
    font-size: 2.5rem;
    opacity: 0.6;
}
.th-product-card-body {
    padding: 0.875rem;
}
.th-product-desc {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.th-product-price {
    display: inline-block;
    color: var(--th-primary);
    font-weight: 700;
    font-size: 0.95rem;
}

/* Catalog thumb */
.th-catalog-thumb {
    display: block;
    position: relative;
    border-radius: 0.625rem;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: #f1f5f9;
}
.th-catalog-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.25s;
}
.th-catalog-thumb-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.45);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    opacity: 0;
    transition: opacity 0.18s;
}
.th-catalog-thumb:hover img {
    transform: scale(1.05);
}
.th-catalog-thumb:hover .th-catalog-thumb-overlay {
    opacity: 1;
}

/* Contact card */
.th-contact-card {
    background: #fff;
    border-radius: 0.875rem;
    padding: 1.25rem;
    border: 1px solid #f1f5f9;
    box-shadow: 0 4px 16px rgba(0,0,0,0.05);
}
.th-contact-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: 0.625rem;
    font-weight: 600;
    text-decoration: none;
    margin-bottom: 0.5rem;
    transition: transform 0.12s, opacity 0.12s;
    color: #fff;
}
.th-contact-btn:hover {
    transform: translateY(-1px);
    opacity: 0.92;
    color: #fff;
}
.th-contact-btn > i:first-child {
    font-size: 1.2rem;
    flex-shrink: 0;
}
.th-contact-btn > span:nth-child(2) {
    font-size: 0.9rem;
}
.th-contact-whatsapp { background: #16a34a; }
.th-contact-telegram { background: #2563eb; }
.th-contact-phone   { background: #f97316; }   /* orange — "call now" CTA */
.th-contact-phone:hover  { background: #ea580c; color: #fff; }
.th-contact-email   { background: #475569; }   /* slate — formal email */
.th-contact-email:hover  { background: #334155; color: #fff; }

.text-white-75 { color: rgba(255,255,255,0.85) !important; }
.min-width-0 { min-width: 0; }

/* Social presence chips */
.th-social-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 0.85rem;
    border-radius: 0.5rem;
    background: #f8fafc;
    color: #475569;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid #e2e8f0;
    transition: all 0.15s;
}
.th-social-link:hover { transform: translateY(-1px); }
.th-social-link i { font-size: 1rem; }
.th-social-linkedin   { color: #0a66c2; }
.th-social-linkedin:hover  { background: #0a66c2; color: #fff; border-color: #0a66c2; }
.th-social-facebook   { color: #1877f2; }
.th-social-facebook:hover  { background: #1877f2; color: #fff; border-color: #1877f2; }
.th-social-instagram  { color: #e4405f; }
.th-social-instagram:hover { background: linear-gradient(135deg, #e4405f, #fd1d1d, #f77737); color: #fff; border-color: transparent; }

/* PDF document card */
.th-doc-card {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    padding: 0.875rem 1rem;
    background: #fff;
    border: 1px solid #f1f5f9;
    border-radius: 0.625rem;
    text-decoration: none;
    color: #1e293b;
    transition: all 0.15s;
}
.th-doc-card:hover {
    border-color: var(--th-primary);
    background: #fff5f5;
    color: #1e293b;
    box-shadow: 0 4px 16px rgba(185,28,28,0.08);
}
.th-doc-icon {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    background: #fff7ed;
    color: #dc2626;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}
.th-doc-action {
    color: #94a3b8;
    transition: transform 0.15s, color 0.15s;
}
.th-doc-card:hover .th-doc-action {
    color: var(--th-primary);
    transform: translateX(3px);
}

/* Section subtitle in About tab */
.th-section-subtitle {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #94a3b8;
    font-weight: 700;
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #f1f5f9;
}
.th-section-subtitle i {
    color: var(--th-primary);
}

/* Hero v2 — taller, with floating cards */
.th-hero-tall { min-height: 480px; }
.th-hero-tall .display-4 { font-size: 2.85rem; }
@media (min-width: 992px) { .th-hero-tall .display-4 { font-size: 3.4rem; } }

.th-hero-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(255,255,255,0.18);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.25);
    color: #fff;
    padding: 0.4rem 0.95rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.th-hero-card-stack { position: relative; height: 320px; }
.th-hero-card {
    position: absolute;
    background: #fff;
    padding: 0.875rem 1.125rem;
    border-radius: 0.75rem;
    box-shadow: 0 12px 40px rgba(0,0,0,0.18);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    width: 240px;
}
.th-hero-card > i { font-size: 1.5rem; flex-shrink: 0; }
.th-hero-card-1 { top: 20px;  left: 20px;  animation: th-float 5s ease-in-out infinite; }
.th-hero-card-2 { top: 130px; right: 0;    animation: th-float 5s ease-in-out infinite 1.5s; }
.th-hero-card-3 { bottom: 20px; left: 80px; animation: th-float 5s ease-in-out infinite 3s; }
@keyframes th-float {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-8px); }
}

/* Center-aligned section title */
.th-section-title-center {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0f172a;
    position: relative;
    display: inline-block;
}
.th-section-title-center::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: var(--th-primary);
    border-radius: 999px;
}

/* Active campaigns hero card (clickable to company) */
.th-camp-hero {
    position: relative;
    display: block;
    border-radius: 1rem;
    overflow: hidden;
    height: 100%;
    min-height: 360px;
    text-decoration: none;
    box-shadow: 0 8px 30px rgba(185,28,28,0.15);
    transition: transform 0.18s, box-shadow 0.18s;
}
.th-camp-hero:hover { transform: translateY(-3px); box-shadow: 0 14px 40px rgba(185,28,28,0.22); }
.th-camp-hero-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.th-camp-hero-img-ph {
    background: linear-gradient(135deg, #5a1e16, #e85d1c, #c2410c);
}
.th-camp-hero-overlay {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.75rem;
    background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.6) 60%, rgba(0,0,0,0.85) 100%);
}

/* ── New split campaign hero — image left, info right (no text overlap) ── */
.th-camp-hero-split {
    display: grid;
    grid-template-columns: 1fr;
    background: #fff;
    box-shadow: 0 8px 30px rgba(15, 23, 42, 0.08);
    color: inherit;
}
@media (min-width: 768px) {
    .th-camp-hero-split { grid-template-columns: minmax(0, 0.95fr) minmax(0, 1fr); }
}
.th-camp-hero-split:hover { box-shadow: 0 18px 48px rgba(232, 93, 28, 0.20); }

.th-camp-hero-media {
    position: relative;
    overflow: hidden;
    min-height: 240px;
}
@media (min-width: 768px) {
    .th-camp-hero-media { min-height: 100%; }
}
.th-camp-hero-split .th-camp-hero-img {
    position: relative;
    inset: auto;
    width: 100%;
    height: 100%;
    min-height: 240px;
    object-fit: cover;
    display: block;
}
.th-camp-hero-split .th-camp-hero-img-ph {
    width: 100%;
    height: 100%;
    min-height: 240px;
    background: var(--th-gradient-warm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.4);
    font-size: 4rem;
}
.th-camp-hero-ribbon {
    position: absolute;
    top: 14px; left: 14px;
    display: inline-flex;
    align-items: center;
    background: linear-gradient(90deg, var(--th-secondary), var(--th-accent));
    color: #5a1e16;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
    z-index: 2;
}

.th-camp-hero-panel {
    padding: 1.5rem 1.6rem;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    min-width: 0;
}
.th-camp-hero-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.th-camp-hero-tags:empty { display: none; }
.th-camp-hero-title {
    font-size: clamp(1.15rem, 2vw, 1.55rem);
    font-weight: 800;
    color: #0f172a;
    margin: 0;
    line-height: 1.2;
    letter-spacing: -0.01em;
}
.th-camp-hero-desc {
    color: #475569;
    font-size: 0.92rem;
    line-height: 1.55;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.th-camp-hero-dates {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: var(--th-primary-50);
    color: #5a1e16;
    padding: 0.45rem 0.8rem;
    border-radius: 0.55rem;
    font-size: 0.82rem;
    align-self: flex-start;
    border: 1px solid var(--th-primary-light);
}
.th-camp-hero-dates i { color: var(--th-primary); }

.th-camp-hero-footer {
    margin-top: auto;
    padding-top: 0.75rem;
    border-top: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    flex-wrap: wrap;
}
.th-camp-hero-company {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    min-width: 0;
    flex: 1;
}
.th-camp-hero-company img,
.th-camp-hero-company-initial {
    width: 38px; height: 38px;
    border-radius: 10px;
    object-fit: cover;
    flex-shrink: 0;
    background: var(--th-gradient-sunset);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.1rem;
    border: 2px solid #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* Side mini campaign card */
.th-camp-mini {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    padding: 0.75rem 0.875rem;
    background: #fff;
    border: 1px solid #f1f5f9;
    border-radius: 0.75rem;
    text-decoration: none;
    transition: all 0.15s;
}
.th-camp-mini:hover { border-color: var(--th-primary); transform: translateX(3px); box-shadow: 0 4px 16px rgba(185,28,28,0.08); color: inherit; }
.th-camp-mini-img {
    width: 80px;
    height: 70px;
    border-radius: 0.5rem;
    object-fit: cover;
    flex-shrink: 0;
}
.th-camp-mini-img-ph {
    background: linear-gradient(135deg, var(--th-primary), var(--th-secondary));
    color: rgba(255,255,255,0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}
.th-camp-more {
    display: block;
    padding: 0.875rem;
    background: #fff7ed;
    border: 1.5px dashed var(--th-primary);
    border-radius: 0.75rem;
    color: var(--th-primary);
    font-weight: 600;
    text-decoration: none;
    transition: background 0.15s;
}
.th-camp-more:hover { background: var(--th-primary); color: #fff; }

/* Static (non-clickable) variants for company-less campaigns */
.th-camp-hero-static { cursor: default; }
.th-camp-hero-static:hover { transform: none; box-shadow: 0 8px 30px rgba(185,28,28,0.15); }

.th-camp-mini-static { cursor: default; color: #1e293b; }
.th-camp-mini-static:hover { transform: none; border-color: #f1f5f9; box-shadow: none; }

.th-campaign-card-static { display: block; cursor: default; }
.th-campaign-card-static:hover .th-campaign-card { transform: none; box-shadow: 0 1px 3px rgba(0,0,0,0.04); }

/* Campaign card date row */
.th-campaign-date-row {
    background: #fff7ed;
    color: #1e293b;
    padding: 0.4rem 0.7rem;
    border-radius: 0.5rem;
    font-size: 0.78rem;
    border: 1px solid #fed7aa;
}

/* Branded logo pill in dark navbar */
.th-brand-pill {
    display: inline-flex;
    align-items: center;
    background: #fff;
    border-radius: 0.6rem;
    padding: 0.25rem 0.65rem;
    box-shadow: 0 6px 20px rgba(90, 30, 22, 0.25);
}
.th-brand-pill img { display: block; max-height: 40px; }
.th-brand-link:hover .th-brand-pill { box-shadow: 0 8px 28px rgba(90, 30, 22, 0.35); }

/* ────────────────────────────────────────────────────────────
   Hero Carousel — multi-slide, vibrant, full-bleed
   ──────────────────────────────────────────────────────────── */
.th-hero-carousel { position: relative; }
.th-hero-carousel .carousel-item { transition: opacity 0.7s ease-in-out; }
.th-hero-carousel .carousel-indicators { margin-bottom: 1.25rem; z-index: 5; }
.th-hero-carousel .carousel-indicators [data-bs-target] {
    width: 32px; height: 4px; border-radius: 4px;
    background: rgba(255,255,255,0.45);
    border: 0;
    transition: all 0.25s;
}
.th-hero-carousel .carousel-indicators .active {
    background: #fff;
    width: 48px;
    box-shadow: 0 0 12px rgba(255,255,255,0.6);
}
.th-hero-carousel .carousel-control-prev,
.th-hero-carousel .carousel-control-next {
    width: 6%;
    opacity: 0.5;
    transition: opacity 0.2s;
}
.th-hero-carousel .carousel-control-prev:hover,
.th-hero-carousel .carousel-control-next:hover { opacity: 1; }

.th-slide {
    position: relative;
    overflow: hidden;
    min-height: 520px;
    display: flex;
    align-items: center;
}
/* Designer pass — premium B2B palette, dark anchor → single vibrant accent.
   Each slide opens with the same near-black slate so the carousel feels
   coherent; the right edge introduces ONE saturated colour per mood:

     Slide 1  brand    → warm orange (Discover & Search)
     Slide 2  trust    → emerald     (Verified suppliers, no commission)
     Slide 3  insight  → violet      (Smart matchmaking)

   Less saturation = less visual fatigue, more "Stripe / Linear" feel. */
/* ── Section spotlights ──────────────────────────────────────────────
   Two homepage sections lift off the white wall with the SAME palette
   the rest of the site uses: neutral slate base + a single brand-coloured
   accent line on top. No saturated gradients — keeps the page coherent
   with the slider's dark-anchor / single-accent system. */
.th-section-recommendations {
    position: relative; overflow: hidden;
    background: linear-gradient(180deg, #f8fafc 0%, #fff 70%);
    border-top: 1px solid rgba(234,88,12,0.45);    /* hairline brand accent */
    border-bottom: 1px solid #e2e8f0;
}
.th-section-recent {
    position: relative; overflow: hidden;
    background: linear-gradient(180deg, #f8fafc 0%, #fff 70%);
    border-top: 1px solid rgba(8,145,178,0.45);    /* hairline teal accent */
    border-bottom: 1px solid #e2e8f0;
}

/* Decorative blobs — kept very faint so they read as light, not as colour blocks */
.th-section-deco-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(110px);
    opacity: 0.18;
    pointer-events: none;
    z-index: 0;
}
.th-deco-orange {
    width: 420px; height: 420px;
    top: -160px; right: -100px;
    background: radial-gradient(circle, #fb923c 0%, transparent 70%);
}
.th-deco-teal {
    width: 460px; height: 460px;
    bottom: -200px; left: -120px;
    background: radial-gradient(circle, #0891b2 0%, transparent 70%);
}
.th-section-deco-grid {
    position: absolute; inset: 0;
    z-index: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(15,23,42,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(15,23,42,0.03) 1px, transparent 1px);
    background-size: 36px 36px;
    mask-image: radial-gradient(ellipse 60% 50% at 50% 40%, #000 20%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse 60% 50% at 50% 40%, #000 20%, transparent 75%);
}

/* Faster slide fade — Bootstrap default is ~0.6s, drop to 0.35s so the
   carousel feels snappy at the new 4.5s interval without losing the
   smooth cross-fade. */
.th-hero-carousel .carousel-fade .carousel-item {
    transition: opacity 0.35s ease-in-out;
}

/* Designer pass v3 — premium B2B corporate gradients aligned with the mobile
   system palette (ink900 #0B1F33 → accent600 #1E40AF). Every slide anchors on
   the same deep navy → royal-blue gradient so the brand reads as one global
   trade-center, not three separate themes. A single restrained accent per
   slide differentiates them without breaking cohesion:

     Slide 1  Global   → sapphire + azure accents (corporate blue trio)
     Slide 2  Trust    → teal accents (verification cue from the registry palette)
     Slide 3  Markets  → gold/copper accents (premium audit seal cue) */
.th-slide-1 {
    background:
        radial-gradient(ellipse 60% 50% at 15% 25%, rgba(37,99,235,0.55) 0%, transparent 60%),
        radial-gradient(ellipse 55% 45% at 85% 70%, rgba(30,90,138,0.50) 0%, transparent 65%),
        radial-gradient(ellipse 40% 35% at 50% 100%, rgba(56,135,255,0.28) 0%, transparent 70%),
        linear-gradient(135deg, #0B1F33 0%, #0F2742 50%, #1E40AF 100%);
}
.th-slide-2 {
    background:
        radial-gradient(ellipse 55% 45% at 20% 30%, rgba(19,138,110,0.52) 0%, transparent 60%),
        radial-gradient(ellipse 50% 40% at 85% 75%, rgba(30,64,175,0.48) 0%, transparent 65%),
        radial-gradient(ellipse 40% 35% at 60% 5%, rgba(15,107,87,0.30) 0%, transparent 70%),
        linear-gradient(135deg, #0B1F33 0%, #0E2A3E 50%, #0F4F4A 100%);
}
.th-slide-3 {
    background:
        radial-gradient(ellipse 55% 45% at 18% 28%, rgba(176,141,87,0.50) 0%, transparent 60%),
        radial-gradient(ellipse 50% 40% at 82% 75%, rgba(30,64,175,0.50) 0%, transparent 65%),
        radial-gradient(ellipse 40% 35% at 55% 100%, rgba(138,109,63,0.34) 0%, transparent 70%),
        linear-gradient(135deg, #0B1F33 0%, #14253D 50%, #2A2042 100%);
}

/* Subtle slow drift — only an extra blob orbits, text + cards stay still.
   Reduce-motion friendly via media query. */
.th-slide-1::after,
.th-slide-2::after,
.th-slide-3::after {
    content: '';
    position: absolute;
    width: 60%; height: 60%;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.28;
    pointer-events: none;
    top: 20%; left: 30%;
    animation: th-mesh-drift 18s ease-in-out infinite alternate;
    z-index: 0;
}
.th-slide-1::after { background: radial-gradient(circle, rgba(37,99,235,0.55), transparent 70%); }
.th-slide-2::after { background: radial-gradient(circle, rgba(19,138,110,0.55), transparent 70%); }
.th-slide-3::after { background: radial-gradient(circle, rgba(176,141,87,0.55), transparent 70%); }

@keyframes th-mesh-drift {
    0%   { transform: translate(0,    0)    scale(1);   }
    50%  { transform: translate(-8%, -6%)   scale(1.15);}
    100% { transform: translate(6%,  10%)   scale(0.92);}
}

@media (prefers-reduced-motion: reduce) {
    .th-slide-1::after,
    .th-slide-2::after,
    .th-slide-3::after { animation: none; }
}

/* decorative "blobs" (radial gradients) for depth */
.th-slide-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    pointer-events: none;
}
.th-slide-blob-a {
    width: 480px; height: 480px;
    top: -180px; right: -120px;
    background: radial-gradient(circle, rgba(255,255,255,0.35), transparent 70%);
}
.th-slide-blob-b {
    width: 380px; height: 380px;
    bottom: -160px; left: -120px;
    background: radial-gradient(circle, rgba(0,0,0,0.25), transparent 70%);
}

.th-hero-title {
    line-height: 1.05;
    text-shadow: 0 2px 12px rgba(0,0,0,0.25);
    font-size: clamp(2.2rem, 5vw, 3.6rem);
}
.th-hero-search .form-control:focus { box-shadow: none; }

.th-trend-link {
    color: rgba(255,255,255,0.9);
    text-decoration: none;
    padding: 0.15rem 0.55rem;
    border-radius: 999px;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.2);
    transition: all 0.15s;
}
.th-trend-link:hover { background: rgba(255,255,255,0.22); color: #fff; }

.th-lang-chip {
    display: inline-flex;
    align-items: center;
    background: rgba(255,255,255,0.18);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255,255,255,0.3);
    color: #fff;
    padding: 0.4rem 0.85rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.85rem;
}

/* Slide 2 — trust orb visual */
.th-trust-orb-wrap {
    position: relative;
    width: 360px; height: 360px;
    margin: 0 auto;
}
.th-trust-orb {
    position: absolute;
    inset: 90px;
    background: radial-gradient(circle at 30% 30%, #fff, #fdba74 70%);
    border-radius: 50%;
    box-shadow: 0 25px 80px rgba(0,0,0,0.35), 0 0 60px rgba(251,146,60,0.5);
    display: flex; align-items: center; justify-content: center;
    color: var(--th-primary);
    font-size: 5rem;
}
.th-trust-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px dashed rgba(255,255,255,0.3);
    animation: th-spin 20s linear infinite;
}
.th-trust-ring-2 {
    inset: 40px;
    border-style: solid;
    border-color: rgba(255,255,255,0.18);
    animation-direction: reverse;
    animation-duration: 30s;
}
@keyframes th-spin {
    from { transform: rotate(0); }
    to   { transform: rotate(360deg); }
}
.th-trust-chip {
    position: absolute;
    background: #fff;
    color: #1e293b;
    padding: 0.4rem 0.8rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 600;
    box-shadow: 0 8px 24px rgba(0,0,0,0.18);
    white-space: nowrap;
}
.th-trust-chip-1 { top: 20px;  left: 0;   animation: th-float 5s ease-in-out infinite; }
.th-trust-chip-2 { top: 100px; right: 0;  animation: th-float 5s ease-in-out infinite 1s; }
.th-trust-chip-3 { bottom: 80px; left: 10px; animation: th-float 5s ease-in-out infinite 2s; }
.th-trust-chip-4 { bottom: 10px; right: 30px; animation: th-float 5s ease-in-out infinite 3s; }

/* Slide 3 — animated globe */
.th-globe-wrap {
    position: relative;
    width: 320px; height: 320px;
    margin: 0 auto;
    display: flex; align-items: center; justify-content: center;
}
.th-globe-icon {
    font-size: 12rem;
    color: rgba(255,255,255,0.85);
    filter: drop-shadow(0 8px 32px rgba(0,0,0,0.25));
    animation: th-spin 22s linear infinite;
}
.th-globe-pulse {
    position: absolute;
    inset: 30px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,0.5), transparent 60%);
    animation: th-pulse 3s ease-in-out infinite;
}
@keyframes th-pulse {
    0%, 100% { transform: scale(0.95); opacity: 0.6; }
    50%      { transform: scale(1.1);  opacity: 1; }
}

/* ────────────────────────────────────────────────────────────
   KPI Section — animated count-up cards
   ──────────────────────────────────────────────────────────── */
.th-kpi-section {
    margin-top: -42px;
    padding: 0 0 2.25rem;
    position: relative;
    z-index: 6;
}
.th-kpi-card {
    background: #fff;
    border-radius: 0.85rem;
    padding: 0.9rem 1rem;
    box-shadow: 0 12px 36px rgba(15, 23, 42, 0.08);
    transition: transform 0.22s, box-shadow 0.22s;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 0.85rem;
    border-left: 3px solid transparent;
}
.th-kpi-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 48px rgba(232,93,28,0.16);
}

.th-kpi-card-1 { border-left-color: var(--th-primary); }
.th-kpi-card-2 { border-left-color: var(--th-secondary-dark); }
.th-kpi-card-3 { border-left-color: #c2410c; }
.th-kpi-card-4 { border-left-color: #7c3aed; }

.th-kpi-icon {
    width: 42px; height: 42px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center; justify-content: center;
    font-size: 1.15rem;
    color: #fff;
    flex-shrink: 0;
    box-shadow: 0 4px 14px rgba(0,0,0,0.10);
}
.th-kpi-card-1 .th-kpi-icon { background: var(--th-gradient-sunset); }
.th-kpi-card-2 .th-kpi-icon { background: linear-gradient(135deg, #5a1e16, #c2410c); }
.th-kpi-card-3 .th-kpi-icon { background: linear-gradient(135deg, #f97316, #c2410c); }
.th-kpi-card-4 .th-kpi-icon { background: linear-gradient(135deg, #7c3aed, #a855f7); }

.th-kpi-text { min-width: 0; flex: 1; line-height: 1.1; }
.th-kpi-value {
    font-size: clamp(1.25rem, 2.4vw, 1.6rem);
    font-weight: 800;
    color: #0f172a;
    line-height: 1.05;
    margin-bottom: 0.1rem;
    font-variant-numeric: tabular-nums;
}
.th-kpi-label {
    color: #64748b;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Mobile tweaks */
@media (max-width: 768px) {
    .th-slide { min-height: 460px; }
    .th-kpi-section { margin-top: -28px; }
    .th-kpi-card { padding: 0.7rem 0.75rem; gap: 0.6rem; }
    .th-kpi-icon { width: 36px; height: 36px; font-size: 1rem; border-radius: 9px; }
    .th-kpi-value { font-size: 1.15rem; }
    .th-kpi-label { font-size: 0.65rem; }
    .th-hero-carousel .carousel-control-prev,
    .th-hero-carousel .carousel-control-next { display: none; }
}

/* ════════════════════════════════════════════════════════════════════
   COMPANY DETAIL — Hero, Quick-stats strip, Contact-card v2
   ════════════════════════════════════════════════════════════════════ */

/* ── HERO ─────────────────────────────────────────────
   Branded hero with optional cover image + gradient overlay,
   logo, name + badges, tags, and primary action column. */
.th-detail-hero {
    position: relative;
    overflow: hidden;
    color: #fff;
    background: linear-gradient(135deg, #5a1e16 0%, #c2410c 55%, #ea580c 100%);
}
.th-detail-hero.has-cover { background: #2a0e08; }
.th-detail-hero-bg {
    position: absolute; inset: 0;
    background-image: var(--th-cover);
    background-size: cover;
    background-position: center;
    transform: scale(1.05);
    filter: brightness(0.65) saturate(1.05);
    z-index: 0;
}
.th-detail-hero::before {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(135deg,
        rgba(90,30,22,0.72) 0%,
        rgba(194,65,12,0.55) 55%,
        rgba(234,88,12,0.42) 100%);
    z-index: 1;
}
.th-detail-hero.has-cover::before {
    background: linear-gradient(180deg,
        rgba(15,12,10,0.55) 0%,
        rgba(15,12,10,0.78) 100%);
}
.th-detail-hero-strip {
    position: absolute; top: 0; left: 0; right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--th-primary, #ea580c), #fbbf24, var(--th-primary, #ea580c));
    background-size: 200% 100%;
    animation: th-co-strip-flow 6s linear infinite;
    z-index: 4;
}
.th-detail-hero-content { position: relative; z-index: 2; }
.th-detail-hero .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,0.55); }

.th-detail-hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    align-items: center;
}
@media (min-width: 992px) {
    .th-detail-hero-grid { grid-template-columns: minmax(0, 1fr) 240px; gap: 2rem; }
}

.th-detail-hero-left {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
    min-width: 0;
}
.th-detail-hero-logo {
    flex-shrink: 0;
    width: 110px; height: 110px;
    border-radius: 22px;
    background: #fff;
    border: 4px solid rgba(255,255,255,0.25);
    overflow: hidden;
    display: inline-flex; align-items: center; justify-content: center;
    box-shadow: 0 18px 44px rgba(0,0,0,0.36), 0 0 0 1px rgba(255,255,255,0.18) inset;
}
@media (min-width: 768px) {
    .th-detail-hero-logo { width: 130px; height: 130px; border-radius: 24px; }
}
.th-detail-hero-logo img { width: 100%; height: 100%; object-fit: contain; padding: 8px; }
.th-detail-hero-logo-initial {
    width: 100%; height: 100%;
    background: linear-gradient(135deg, #f97316, #c2410c);
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 3.2rem; font-weight: 800;
}

.th-detail-hero-info { flex: 1; min-width: 0; }
.th-detail-hero-title-row {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex-wrap: wrap;
    margin-bottom: 0.55rem;
}
.th-detail-hero-name {
    font-size: 1.7rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.15;
    color: #fff;
    margin: 0;
    text-shadow: 0 2px 14px rgba(0,0,0,0.35);
}
@media (min-width: 768px) { .th-detail-hero-name { font-size: 2.25rem; } }
@media (min-width: 1200px) { .th-detail-hero-name { font-size: 2.5rem; } }

.th-detail-hero-badges { display: inline-flex; gap: 0.35rem; flex-wrap: wrap; }
.th-detail-hero-badge {
    display: inline-flex; align-items: center; gap: 0.3rem;
    padding: 0.32rem 0.7rem;
    background: rgba(255,255,255,0.95);
    color: #5a1e16;
    border-radius: 999px;
    font-size: 0.66rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 4px 12px rgba(0,0,0,0.18);
    line-height: 1;
}
.th-detail-hero-badge.verified { color: #1d4ed8; }
.th-detail-hero-badge.featured {
    background: linear-gradient(90deg, #f59e0b, #fbbf24);
    color: #5a1e16;
    border: 1px solid rgba(255,255,255,0.45);
}
.th-detail-hero-badge i { font-size: 0.78rem; }

.th-detail-hero-tags {
    display: flex; flex-wrap: wrap; gap: 0.4rem;
    margin: 0.55rem 0 0.85rem;
}
.th-detail-hero-tag {
    display: inline-flex; align-items: center; gap: 0.35rem;
    padding: 0.34rem 0.8rem;
    background: rgba(255,255,255,0.16);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.28);
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 600;
    text-decoration: none;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: background 0.18s ease, transform 0.18s ease;
    line-height: 1.2;
}
.th-detail-hero-tag:hover {
    background: rgba(255,255,255,0.32);
    color: #fff;
    transform: translateY(-1px);
}
.th-detail-hero-tag strong { color: #fff; font-weight: 800; margin-left: 0.15rem; }

.th-detail-hero-tagline {
    font-size: 0.94rem;
    color: rgba(255,255,255,0.92);
    line-height: 1.55;
    margin: 0;
    max-width: 64ch;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-shadow: 0 1px 8px rgba(0,0,0,0.25);
}

/* Action column — primary CTAs (WA, Phone, Directions, Share). */
.th-detail-hero-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem;
}
@media (min-width: 992px) {
    .th-detail-hero-actions { grid-template-columns: 1fr; }
}
.th-detail-hero-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.78rem 1.1rem;
    border-radius: 12px;
    font-size: 0.94rem;
    font-weight: 700;
    text-decoration: none;
    color: #fff;
    border: 0;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
    box-shadow: 0 6px 18px rgba(0,0,0,0.22);
    text-shadow: 0 1px 2px rgba(0,0,0,0.12);
    line-height: 1.1;
}
.th-detail-hero-cta:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(0,0,0,0.28);
}
.th-detail-hero-cta i { font-size: 1.1rem; }
.th-detail-hero-cta-wa  { background: #16a34a; }
.th-detail-hero-cta-wa:hover  { background: #15803d; }
.th-detail-hero-cta-ph  { background: #f97316; }
.th-detail-hero-cta-ph:hover  { background: #ea580c; }
.th-detail-hero-cta-dir {
    background: rgba(255,255,255,0.96);
    color: #5a1e16;
    text-shadow: none;
}
.th-detail-hero-cta-dir:hover { background: #fff; color: #5a1e16; }
.th-detail-hero-cta-share {
    background: rgba(255,255,255,0.18);
    border: 1px solid rgba(255,255,255,0.34);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.th-detail-hero-cta-share:hover { background: rgba(255,255,255,0.30); }

/* RFQ — primary action, distinct gold gradient so it stands out from green/orange channel CTAs */
.th-detail-hero-cta-rfq {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: #5a1e16;
    box-shadow: 0 6px 18px rgba(245,158,11,0.40);
    text-shadow: none;
    border: 1px solid rgba(255,255,255,0.55);
    font-weight: 800;
}
.th-detail-hero-cta-rfq:hover { background: linear-gradient(135deg, #f59e0b, #d97706); color: #5a1e16; }

/* ── QUICK STATS STRIP — surfaces founded/employees/markets/certs etc. */
.th-detail-stats {
    background: linear-gradient(180deg, #EFF6FF 0%, #ffffff 100%);
    border-bottom: 1px solid #f1f5f9;
    padding: 1.25rem 0;
}
.th-detail-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 0.75rem;
}

.th-detail-stat {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.85rem 0.95rem;
    background: #fff;
    border: 1px solid #BFDBFE;
    border-radius: 12px;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
    min-width: 0;
}
.th-detail-stat:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(30, 64, 175, 0.18);
    border-color: var(--th-primary, #1E40AF);
}
.th-detail-stat-icon {
    width: 38px; height: 38px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--th-primary, #1E40AF), #1E5A8A);
    color: #fff;
    display: inline-flex;
    align-items: center; justify-content: center;
    font-size: 1.05rem;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(30, 64, 175, 0.30);
}
.th-detail-stat-text {
    display: flex;
    flex-direction: column;
    min-width: 0;
    flex: 1;
}
/* Allow multi-line values — production strings like "7-15 iş günü
   (8-25 takvim günü)" and "50 kg / 100 adet" must wrap, not ellipsize. */
.th-detail-stat-value {
    font-size: 0.98rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.2;
    letter-spacing: -0.01em;
    white-space: normal;
    word-break: break-word;
    overflow-wrap: anywhere;
}
.th-detail-stat-label {
    font-size: 0.66rem;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 700;
    margin-top: 2px;
    white-space: normal;
}

/* ── CONTACT CARD V2 — info-rich, click-to-act rows. */
.th-contact-card-v2 {
    background: #fff;
    border-radius: 1rem;
    padding: 1.1rem;
    border: 1px solid #f1f5f9;
    box-shadow: 0 4px 16px rgba(0,0,0,0.05);
    overflow: hidden;
    position: relative;
}
.th-contact-card-v2::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--th-primary, #ea580c), #fbbf24, var(--th-primary, #ea580c));
    background-size: 200% 100%;
    animation: th-co-strip-flow 6s linear infinite;
}
.th-contact-card-v2-head {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    margin-bottom: 0.85rem;
    padding-top: 0.25rem;
}
.th-contact-card-v2-icon {
    width: 36px; height: 36px;
    border-radius: 10px;
    background: linear-gradient(135deg, #fff7ed, #fed7aa);
    color: var(--th-primary, #ea580c);
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
    border: 1px solid #fed7aa;
}
.th-contact-card-v2-head h6 { font-size: 0.95rem; color: #0f172a; }
.th-contact-card-v2-head small { color: #64748b; font-size: 0.74rem; }

.th-contact-rows {
    display: flex; flex-direction: column;
    gap: 0.4rem;
    margin-bottom: 0.85rem;
}
.th-contact-row {
    display: flex; align-items: center; gap: 0.75rem;
    padding: 0.6rem 0.7rem;
    background: #fafafa;
    border: 1px solid #f1f5f9;
    border-radius: 10px;
    text-decoration: none;
    color: inherit;
    transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}
.th-contact-row:hover {
    background: #fff7ed;
    border-color: #fed7aa;
    transform: translateY(-1px);
    color: inherit;
}
.th-contact-row-icon {
    width: 36px; height: 36px;
    border-radius: 9px;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 1rem;
    color: #fff;
    flex-shrink: 0;
}
.th-contact-row-icon-wa   { background: #16a34a; }
.th-contact-row-icon-tg   { background: #2563eb; }
.th-contact-row-icon-ph   { background: #f97316; }
.th-contact-row-icon-mail { background: #475569; }
.th-contact-row-icon-web  { background: #7c3aed; }
.th-contact-row-text {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
}
.th-contact-row-label {
    font-size: 0.7rem;
    color: #64748b;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.th-contact-row-value {
    font-size: 0.86rem;
    color: #0f172a;
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.th-contact-row-arrow {
    color: #cbd5e1;
    font-size: 0.85rem;
    transition: transform 0.18s ease, color 0.18s ease;
    flex-shrink: 0;
}
.th-contact-row:hover .th-contact-row-arrow {
    color: var(--th-primary, #ea580c);
    transform: translate(2px, -2px);
}

.th-contact-card-v2-footer {
    display: flex;
    gap: 0.5rem;
    padding-top: 0.85rem;
    border-top: 1px dashed #e2e8f0;
}
.th-contact-card-v2-action {
    flex: 1;
    display: inline-flex;
    align-items: center; justify-content: center;
    gap: 0.35rem;
    padding: 0.55rem 0.7rem;
    background: #fff;
    border: 1px solid var(--th-primary, #ea580c);
    color: var(--th-primary, #ea580c);
    border-radius: 8px;
    font-size: 0.78rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.18s ease, color 0.18s ease;
}
.th-contact-card-v2-action:hover {
    background: var(--th-primary, #ea580c);
    color: #fff;
}
.th-contact-card-v2-action i { font-size: 0.88rem; }

/* Mobile tweaks for hero/stats/contact card. */
@media (max-width: 767px) {
    .th-detail-hero-content { padding: 1rem 0 1.5rem; }
    .th-detail-hero-left { gap: 0.85rem; flex-direction: column; }
    .th-detail-hero-logo { width: 90px; height: 90px; border-radius: 18px; }
    .th-detail-hero-logo-initial { font-size: 2.6rem; }
    .th-detail-hero-name { font-size: 1.5rem; }
    .th-detail-hero-tagline { font-size: 0.88rem; }
    .th-detail-stats { padding: 0.85rem 0; }
    .th-detail-stat { padding: 0.65rem 0.75rem; }
    .th-detail-stat-icon { width: 32px; height: 32px; font-size: 0.92rem; }
    .th-detail-stat-value { font-size: 0.95rem; }
    .th-contact-card-v2 { padding: 0.95rem; }
    .th-contact-row-icon { width: 32px; height: 32px; font-size: 0.92rem; }
}

/* ── CATALOG LIGHTBOX — full-bleed dark backdrop + nav arrows + counter ── */
.th-lightbox .modal-dialog { max-width: min(96vw, 1280px); }
.th-lightbox .modal-content { background: transparent; }
.th-lightbox-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0.5rem;
    color: #fff;
}
.th-lightbox-counter {
    background: rgba(0,0,0,0.55);
    color: #fff;
    padding: 0.25rem 0.65rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}
.th-lightbox-caption {
    flex: 1;
    color: rgba(255,255,255,0.92);
    font-size: 0.88rem;
    text-shadow: 0 1px 4px rgba(0,0,0,0.6);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.th-lightbox-close {
    width: 36px; height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.18);
    border: 1px solid rgba(255,255,255,0.28);
    color: #fff;
    display: inline-flex; align-items: center; justify-content: center;
    cursor: pointer;
    font-size: 1rem;
    transition: background 0.18s ease, transform 0.18s ease;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    flex-shrink: 0;
}
.th-lightbox-close:hover { background: rgba(255,255,255,0.32); transform: scale(1.05); }

.th-lightbox-stage {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 50vh;
    padding: 0 60px;        /* leave room for the side nav buttons */
    user-select: none;
    -webkit-user-select: none;
}
@media (max-width: 575px) {
    .th-lightbox-stage { padding: 0 8px; }
}
.th-lightbox-img-wrap {
    max-width: 100%;
    max-height: calc(100vh - 140px);   /* viewport - header - margin */
    overflow: auto;                    /* scroll inside the wrap if image is huge */
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgba(0,0,0,0.32);
    box-shadow: 0 24px 64px rgba(0,0,0,0.55);
}
.th-lightbox-img {
    display: block;
    max-width: 100%;
    max-height: calc(100vh - 140px);
    width: auto; height: auto;
    object-fit: contain;
    border-radius: 8px;
}
.th-lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px; height: 48px;
    border-radius: 50%;
    background: rgba(255,255,255,0.18);
    border: 1px solid rgba(255,255,255,0.28);
    color: #fff;
    display: inline-flex; align-items: center; justify-content: center;
    cursor: pointer;
    font-size: 1.4rem;
    transition: background 0.18s ease, transform 0.18s ease;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 10;
}
.th-lightbox-nav:hover {
    background: rgba(255,255,255,0.32);
    transform: translateY(-50%) scale(1.08);
}
.th-lightbox-prev { left: 6px; }
.th-lightbox-next { right: 6px; }
@media (min-width: 768px) {
    .th-lightbox-nav { width: 54px; height: 54px; font-size: 1.6rem; }
    .th-lightbox-prev { left: 4px; }
    .th-lightbox-next { right: 4px; }
}
/* Slightly darker backdrop for a true gallery feel. */
.th-lightbox.modal { backdrop-filter: blur(2px); }
.th-lightbox + .modal-backdrop.show { opacity: 0.85; background: #0a0a0a; }

/* ════════════════════════════════════════════════════════════════════
   TRUST SCORE — Compact badge (cards/lists) + Full breakdown panel (detail)
   ════════════════════════════════════════════════════════════════════ */
.th-trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.3rem 0.65rem;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    font-size: 0.74rem;
    font-weight: 700;
    line-height: 1;
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.th-trust-badge:hover {
    box-shadow: 0 4px 10px rgba(15,23,42,0.08);
}
.th-trust-stars {
    display: inline-flex;
    gap: 1px;
    font-size: 0.78rem;
    line-height: 1;
}
.th-trust-stars .bi-star-fill { color: #f59e0b; }
.th-trust-stars .bi-star      { color: #cbd5e1; }
.th-trust-score-num {
    font-weight: 800;
    color: #0f172a;
    font-variant-numeric: tabular-nums;
}
.th-trust-tier {
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    font-size: 0.62rem;
    letter-spacing: 0.05em;
}

/* Tier-coloured borders/fills */
.th-trust-excellent { border-color: #16a34a; }
.th-trust-excellent .th-trust-tier  { color: #16a34a; }
.th-trust-good      { border-color: #2563eb; }
.th-trust-good      .th-trust-tier  { color: #2563eb; }
.th-trust-fair      { border-color: #f59e0b; }
.th-trust-fair      .th-trust-tier  { color: #b45309; }
.th-trust-poor      { border-color: #dc2626; }
.th-trust-poor      .th-trust-tier  { color: #b91c1c; }
.th-trust-new       { border-color: #cbd5e1; }
.th-trust-new       .th-trust-tier  { color: #64748b; }

/* ── Full breakdown panel (Company Detail page) ── */
.th-trust-panel {
    background: #fff;
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    padding: 1.1rem 1.25rem;
    margin: 1rem 0 0.5rem;
    box-shadow: 0 4px 12px rgba(15,23,42,0.04);
}
.th-trust-panel.th-trust-excellent { border-color: rgba(22,163,74,0.55);  background: linear-gradient(180deg, #ffffff 0%, #f0fdf4 100%); }
.th-trust-panel.th-trust-good      { border-color: rgba(37,99,235,0.45);  background: linear-gradient(180deg, #ffffff 0%, #eff6ff 100%); }
.th-trust-panel.th-trust-fair      { border-color: rgba(245,158,11,0.55); background: linear-gradient(180deg, #ffffff 0%, #fffbeb 100%); }
.th-trust-panel.th-trust-poor      { border-color: rgba(220,38,38,0.55);  background: linear-gradient(180deg, #ffffff 0%, #fef2f2 100%); }

.th-trust-panel-header {
    display: flex; justify-content: space-between; align-items: center;
    flex-wrap: wrap; gap: 0.75rem;
    margin-bottom: 0.95rem;
    padding-bottom: 0.85rem;
    border-bottom: 1px solid #f1f5f9;
}
.th-trust-panel-headline {
    display: flex; align-items: center; gap: 0.55rem;
    font-size: 1rem; font-weight: 800; color: #0f172a;
    letter-spacing: -0.01em;
}
.th-trust-panel-headline i { color: var(--th-primary, #ea580c); font-size: 1.2rem; }

.th-trust-panel-score {
    display: inline-flex; align-items: baseline; gap: 0.3rem;
}
.th-trust-panel-num { font-size: 2rem; font-weight: 800; color: #0f172a; line-height: 1; letter-spacing: -0.02em; }
.th-trust-panel-out { font-size: 0.9rem; color: #94a3b8; font-weight: 600; }
.th-trust-panel-tier {
    margin-left: 0.6rem;
    padding: 0.22rem 0.65rem;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: #f1f5f9;
    color: #475569;
}
.th-trust-panel.th-trust-excellent .th-trust-panel-tier { background: #16a34a; color: #fff; }
.th-trust-panel.th-trust-good      .th-trust-panel-tier { background: #2563eb; color: #fff; }
.th-trust-panel.th-trust-fair      .th-trust-panel-tier { background: #f59e0b; color: #5a1e16; }
.th-trust-panel.th-trust-poor      .th-trust-panel-tier { background: #dc2626; color: #fff; }

.th-trust-bars {
    list-style: none; padding: 0; margin: 0;
    display: grid; gap: 0.7rem;
}
.th-trust-bar-item { display: grid; gap: 0.3rem; }
.th-trust-bar-label {
    display: flex; align-items: center; gap: 0.5rem;
    font-size: 0.84rem; font-weight: 600; color: #334155;
}
.th-trust-bar-label i { color: var(--th-primary, #ea580c); font-size: 0.95rem; }
.th-trust-bar-num {
    margin-left: auto;
    font-size: 0.74rem; font-weight: 800;
    color: #0f172a;
    font-variant-numeric: tabular-nums;
    background: #f1f5f9;
    padding: 0.16rem 0.55rem;
    border-radius: 999px;
}
.th-trust-bar-track {
    width: 100%; height: 8px;
    background: #f1f5f9; border-radius: 4px; overflow: hidden;
}
.th-trust-bar-fill {
    height: 100%;
    border-radius: 4px;
    transition: width 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.th-trust-bar-profile     { background: linear-gradient(90deg, #f97316, #ea580c); }
.th-trust-bar-verify      { background: linear-gradient(90deg, #2563eb, #1d4ed8); }
.th-trust-bar-response    { background: linear-gradient(90deg, #f59e0b, #d97706); }
.th-trust-bar-conversion  { background: linear-gradient(90deg, #16a34a, #15803d); }

.th-trust-panel-footer {
    display: flex; flex-wrap: wrap; gap: 0.85rem;
    margin-top: 0.95rem; padding-top: 0.85rem;
    border-top: 1px dashed #e2e8f0;
    font-size: 0.78rem; color: #475569;
}
.th-trust-panel-footer i { color: var(--th-primary, #ea580c); }

@media (max-width: 575.98px) {
    .th-trust-panel { padding: 0.95rem; }
    .th-trust-panel-num { font-size: 1.6rem; }
    .th-trust-panel-tier { display: block; margin: 0.4rem 0 0; }
}

/* ── Toast (used by thShare and other quick confirmations) ── */
.th-toast {
    position: fixed;
    top: 24px;
    left: 50%;
    transform: translate(-50%, -20px);
    z-index: 2000;
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.7rem 1.15rem;
    background: #16a34a;
    color: #fff;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 700;
    box-shadow: 0 12px 32px rgba(22,163,74,0.32), 0 4px 10px rgba(0,0,0,0.18);
    opacity: 0;
    transition: opacity 0.25s ease, transform 0.25s ease;
    pointer-events: none;
}
.th-toast.is-visible { opacity: 1; transform: translate(-50%, 0); }
.th-toast i { font-size: 1.1rem; }
