/* =========================================================================
   Homepage 3 (Dynamic) — [home3-*] shortcode blocks
   Scoped entirely under `.toptan-home3`; safe to load globally. Brand colours
   come from the theme's admin palette (--fbl-* / theme options) so brand
   changes propagate; hex fallbacks match the original design mockups. The very
   dark marketing bands use fixed near-black teal tones by design.
   ========================================================================= */

.toptan-home3 {
    --t3-bg: var(--fbl-bg, #F6F8F7);
    --t3-surface: var(--fbl-surface, #ffffff);
    --t3-ink: var(--fbl-ink, #1A2321);
    --t3-ink-2: var(--fbl-ink-2, #4C5A56);
    --t3-muted: var(--fbl-ink-3, #7D8A86);
    --t3-border: var(--fbl-border, #E2E8E6);
    --t3-border-strong: var(--fbl-border-strong, #C9D3D0);
    --t3-brand: var(--fbl-brand, #115E59);
    --t3-brand-deep: var(--fbl-brand-deep, #0D4A46);
    --t3-tint: color-mix(in srgb, var(--t3-brand) 8%, #fff);
    --t3-teal: #7FD1C4;
    --t3-green: #4ADE80;
    --t3-green-deep: var(--fbl-success, #2E6B34);
    --t3-gold: var(--fbl-amber, #B8862B);
    --t3-gold-fg: #E7C878;
    --t3-gold-ink: #8A6A1F;
    --t3-gold-hover: color-mix(in srgb, var(--t3-gold) 84%, #000);
    --t3-danger: #B3382D;

    /* fixed near-black bands (design intent) */
    --t3-dark: #0B1614;
    --t3-dark-2: #0E1B19;
    --t3-dark-3: #12201E;
    --t3-dark-panel-1: #123A35;
    --t3-dark-panel-2: #0E1F1C;

    /* on-dark text */
    --t3-on-dark: #DCEAE8;
    --t3-on-dark-2: #B7C9C5;
    --t3-on-dark-3: #8FB0AB;
    --t3-hair: rgba(255, 255, 255, 0.10);
    --t3-hair-2: rgba(255, 255, 255, 0.06);
    --t3-glass: rgba(255, 255, 255, 0.05);

    --t3-mono: 'IBM Plex Mono', ui-monospace, 'SF Mono', monospace;
    --t3-container: 1280px;

    background: var(--t3-bg);
    color: var(--t3-ink);
    font-family: var(--fbl-font, 'IBM Plex Sans', sans-serif);
}

.toptan-home3 a { text-decoration: none; }
.toptan-home3 *, .toptan-home3 *::before, .toptan-home3 *::after { box-sizing: border-box; }

/* ---- Keyframes ---------------------------------------------------------- */
@keyframes th3ML { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
@keyframes th3MR { 0% { transform: translateX(-50%); } 100% { transform: translateX(0); } }
@keyframes th3Float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes th3Pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .4; transform: scale(.75); } }
@keyframes th3Spin { to { transform: rotate(360deg); } }
@keyframes th3Sheen { 0% { background-position: -200% 0; } 100% { background-position: 200% 0; } }

/* ---- Layout primitives -------------------------------------------------- */
.toptan-home3 .th3-container {
    max-width: var(--t3-container);
    margin: 0 auto;
    padding-left: 40px;
    padding-right: 40px;
}
.toptan-home3 .th3-section { padding-top: 56px; padding-bottom: 56px; }

.toptan-home3 .th3-section-head {
    display: flex;
    align-items: flex-end;
    gap: 16px;
    margin-bottom: 22px;
}
.toptan-home3 .th3-section-head--center { justify-content: center; text-align: center; margin-bottom: 30px; }
.toptan-home3 .th3-h2 {
    font-size: 27px;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin: 0;
    color: var(--t3-ink);
    line-height: 1.15;
}
.toptan-home3 .th3-h2--light { color: #fff; }
.toptan-home3 .th3-h2--center { text-align: center; }
.toptan-home3 .th3-section-sub { font-size: 14px; color: var(--t3-muted); margin: 6px 0 0; }
.toptan-home3 .th3-section-sub--light { color: var(--t3-on-dark-3); }
.toptan-home3 .th3-link {
    margin-left: auto;
    font-size: 13px;
    font-weight: 600;
    color: var(--t3-brand);
    white-space: nowrap;
}
.toptan-home3 .th3-link:hover { color: var(--t3-brand-deep); }
.toptan-home3 .th3-link--teal { color: var(--t3-teal); }
.toptan-home3 .th3-link--teal:hover { color: #fff; }

/* ---- Badges + dots ------------------------------------------------------ */
.toptan-home3 .th3-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    border-radius: 999px;
    padding: 6px 14px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
}
.toptan-home3 .th3-badge--light { background: rgba(95,168,159,0.14); border: 1px solid rgba(95,168,159,0.30); color: var(--t3-teal); }
.toptan-home3 .th3-badge--soft { background: var(--t3-tint); color: var(--t3-brand); }
.toptan-home3 .th3-badge--live { background: rgba(74,222,128,0.14); color: var(--t3-green); }
.toptan-home3 .th3-badge--gold { background: rgba(184,134,43,0.20); color: var(--t3-gold-fg); border: 1px solid rgba(184,134,43,0.40); }

.toptan-home3 .th3-pulse-dot { width: 7px; height: 7px; border-radius: 999px; background: var(--t3-teal); flex: none; animation: th3Pulse 1.8s infinite; }
.toptan-home3 .th3-pulse-dot--green { background: var(--t3-green); }
.toptan-home3 .th3-pulse-dot--red { background: #E7534B; }

/* ---- Buttons ------------------------------------------------------------ */
.toptan-home3 .th3-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    padding: 13px 24px;
    font-size: 14px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    border: 1px solid transparent;
    transition: background .15s ease, color .15s ease, border-color .15s ease, transform .15s ease;
    line-height: 1.2;
    text-align: center;
}
.toptan-home3 .th3-btn--primary { background: var(--t3-brand); color: #fff; }
.toptan-home3 .th3-btn--primary:hover { background: var(--t3-brand-deep); color: #fff; }
.toptan-home3 .th3-btn--light { background: #fff; color: var(--t3-brand); }
.toptan-home3 .th3-btn--light:hover { background: var(--t3-tint); color: var(--t3-brand); }
.toptan-home3 .th3-btn--glass { background: rgba(255,255,255,0.10); color: #fff; border-color: rgba(255,255,255,0.30); }
.toptan-home3 .th3-btn--glass:hover { background: rgba(255,255,255,0.18); color: #fff; }
.toptan-home3 .th3-btn--gold { background: var(--t3-gold); color: #fff; }
.toptan-home3 .th3-btn--gold:hover { background: var(--t3-gold-hover); color: #fff; }
.toptan-home3 .th3-btn--tint { background: var(--t3-tint); color: var(--t3-brand); }
.toptan-home3 .th3-btn--tint:hover { background: color-mix(in srgb, var(--t3-brand) 16%, #fff); }

/* ---- Decorative gradients ----------------------------------------------- */
.toptan-home3 .th3-grad--0 { background-image: linear-gradient(135deg, #123A35, #1c5a52); }
.toptan-home3 .th3-grad--1 { background-image: linear-gradient(135deg, #4a3b2f, #6b5642); }
.toptan-home3 .th3-grad--2 { background-image: linear-gradient(135deg, #2b3a52, #42597e); }
.toptan-home3 .th3-grad--3 { background-image: linear-gradient(135deg, #3a2f2a, #5c4a42); }

/* ---- Marquee ------------------------------------------------------------ */
.toptan-home3 .th3-marquee { overflow: hidden; white-space: nowrap; }
.toptan-home3 .th3-marquee-track { display: inline-flex; gap: 12px; padding: 0 6px; will-change: transform; }
.toptan-home3 .th3-marquee-track--left { animation: th3ML 40s linear infinite; }
.toptan-home3 .th3-marquee-track--right { animation: th3MR 44s linear infinite; }
.toptan-home3 .th3-marquee-track--slow { animation-duration: 60s; }
.toptan-home3 .th3-marquee:hover .th3-marquee-track { animation-play-state: paused; }

/* =========================================================================
   HERO
   ========================================================================= */
.toptan-home3 .th3-hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(1100px 520px at 78% -8%, rgba(17,94,89,0.55), transparent 60%),
        radial-gradient(760px 420px at 6% 12%, rgba(184,134,43,0.16), transparent 60%),
        var(--t3-dark);
}
.toptan-home3 .th3-hero-grid {
    position: absolute; inset: 0; z-index: 0;
    background-image: linear-gradient(rgba(127,209,196,0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(127,209,196,0.06) 1px, transparent 1px);
    background-size: 46px 46px;
    -webkit-mask-image: radial-gradient(circle at 60% 30%, #000, transparent 72%);
    mask-image: radial-gradient(circle at 60% 30%, #000, transparent 72%);
}
.toptan-home3 .th3-hero-orb {
    position: absolute; top: -120px; right: -80px; width: 360px; height: 360px;
    border-radius: 999px; border: 1px dashed rgba(127,209,196,0.25);
    animation: th3Spin 40s linear infinite; z-index: 0;
}
.toptan-home3 .th3-hero-inner {
    position: relative; z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
    gap: 44px;
    align-items: center;
    padding-top: 62px;
    padding-bottom: 30px;
}
.toptan-home3 .th3-hero-title {
    font-size: 54px;
    line-height: 1.04;
    font-weight: 700;
    color: #fff;
    margin: 18px 0 0;
    letter-spacing: -0.03em;
    text-wrap: balance;
}
.toptan-home3 .th3-sheen {
    background: linear-gradient(90deg, #7FD1C4, #E7C878, #7FD1C4);
    background-size: 200% auto;
    -webkit-background-clip: text; background-clip: text; color: transparent;
    animation: th3Sheen 6s linear infinite;
}
.toptan-home3 .th3-hero-sub { font-size: 16.5px; line-height: 1.6; color: var(--t3-on-dark-2); margin: 18px 0 0; max-width: 500px; }

.toptan-home3 .th3-hero-search {
    display: flex; background: #fff; border-radius: 13px; padding: 7px; margin-top: 24px; max-width: 520px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.4);
}
.toptan-home3 .th3-hero-search input { flex: 1; min-width: 0; border: none; outline: none; font-size: 15px; font-family: inherit; padding: 13px 16px; background: transparent; color: var(--t3-ink); }
.toptan-home3 .th3-hero-search button { background: var(--t3-brand); color: #fff; border: none; border-radius: 9px; padding: 0 26px; font-size: 15px; font-weight: 600; font-family: inherit; cursor: pointer; }
.toptan-home3 .th3-hero-search button:hover { background: var(--t3-brand-deep); }

.toptan-home3 .th3-hero-actions { display: none; gap: 9px; margin-top: 22px; }
.toptan-home3 .th3-hero-actions .th3-btn { flex: 1; }

.toptan-home3 .th3-hero-trending { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; align-items: center; }
.toptan-home3 .th3-hero-trending-label { font-size: 12px; color: #7D9591; }
.toptan-home3 .th3-chip { background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.14); color: var(--t3-on-dark); border-radius: 999px; padding: 5px 13px; font-size: 12px; font-weight: 500; }
.toptan-home3 .th3-chip:hover { background: rgba(255,255,255,0.16); color: #fff; }

/* hero counters */
.toptan-home3 .th3-hero-counters {
    position: relative; z-index: 1;
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
    padding-top: 12px; padding-bottom: 44px;
}
.toptan-home3 .th3-hero-counter { background: var(--t3-glass); border: 1px solid var(--t3-hair); border-radius: 14px; padding: 16px 18px; }
.toptan-home3 .th3-hero-counter-num { font-size: 26px; font-weight: 700; color: #fff; }
.toptan-home3 .th3-hero-counter-label { font-size: 11.5px; color: var(--t3-on-dark-3); margin-top: 4px; line-height: 1.3; }

/* hero demo panel */
.toptan-home3 .th3-hero-panel-wrap { position: relative; }
.toptan-home3 .th3-hero-panel {
    position: relative; border-radius: 20px; overflow: hidden; border: 1px solid rgba(255,255,255,0.12);
    background: linear-gradient(135deg, var(--t3-dark-panel-1), var(--t3-dark-panel-2));
    aspect-ratio: 4 / 3; box-shadow: 0 30px 70px rgba(0,0,0,0.5);
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
}
.toptan-home3 .th3-hero-panel::before {
    content: ""; position: absolute; inset: 0;
    background-image: repeating-linear-gradient(45deg, rgba(255,255,255,0.03), rgba(255,255,255,0.03) 16px, transparent 16px, transparent 32px);
}
.toptan-home3 .th3-hero-play {
    position: relative; width: 76px; height: 76px; border-radius: 999px;
    background: rgba(255,255,255,0.14); border: 1px solid rgba(255,255,255,0.3);
    display: flex; align-items: center; justify-content: center; font-size: 24px; color: #fff;
}
.toptan-home3 .th3-hero-panel-label { position: relative; font-size: 13px; color: var(--t3-on-dark); font-weight: 600; }
.toptan-home3 .th3-hero-panel-tag { position: absolute; top: 14px; left: 14px; display: inline-flex; align-items: center; gap: 6px; background: rgba(11,22,20,0.6); color: #fff; border-radius: 999px; padding: 5px 11px; font-size: 11px; font-weight: 600; z-index: 2; }
.toptan-home3 .th3-hero-float { position: absolute; background: #fff; border-radius: 14px; box-shadow: 0 20px 50px rgba(0,0,0,0.35); animation: th3Float 6s ease-in-out infinite; }
.toptan-home3 .th3-hero-float--quote { bottom: -22px; left: -18px; width: 220px; padding: 13px 15px; }
.toptan-home3 .th3-hero-float--escrow { top: -16px; right: -14px; padding: 11px 14px; animation-delay: -2.5s; }
.toptan-home3 .th3-hero-float-head { display: flex; align-items: center; gap: 7px; font-size: 11.5px; font-weight: 700; color: var(--t3-ink); }
.toptan-home3 .th3-hero-float-dot { width: 8px; height: 8px; border-radius: 999px; background: var(--t3-green-deep); flex: none; }
.toptan-home3 .th3-hero-float-text { font-size: 11px; color: var(--t3-ink-2); margin-top: 6px; line-height: 1.4; }
.toptan-home3 .th3-hero-float-mini { font-size: 10.5px; color: var(--t3-muted); }
.toptan-home3 .th3-hero-float-big { font-size: 16px; font-weight: 700; font-family: var(--t3-mono); color: var(--t3-ink); }

/* =========================================================================
   CATEGORY MARQUEE
   ========================================================================= */
.toptan-home3 .th3-catmarq { background: var(--t3-dark-2); padding: 30px 0; border-top: 1px solid var(--t3-hair-2); border-bottom: 1px solid var(--t3-hair-2); }
.toptan-home3 .th3-catmarq-head { margin-bottom: 16px; }
.toptan-home3 .th3-catmarq-title { font-size: 15px; font-weight: 700; color: #fff; margin: 0; letter-spacing: 0.02em; }
.toptan-home3 .th3-marquee--second { margin-top: 12px; }
.toptan-home3 .th3-catpill {
    flex: none; display: inline-flex; align-items: center; gap: 10px;
    background: var(--t3-glass); border: 1px solid var(--t3-hair); border-radius: 999px;
    padding: 11px 18px; color: var(--t3-on-dark);
}
.toptan-home3 .th3-catpill:hover { background: rgba(255,255,255,0.12); }
.toptan-home3 .th3-catpill img { border-radius: 4px; object-fit: cover; }
.toptan-home3 .th3-catpill-name { font-size: 13.5px; font-weight: 600; }
.toptan-home3 .th3-catpill-count { font-size: 11px; color: #7D9591; font-family: var(--t3-mono); }

/* =========================================================================
   LIVE — spotlight + feed
   ========================================================================= */
.toptan-home3 .th3-live-grid { display: grid; grid-template-columns: minmax(0,1fr) 340px; gap: 24px; align-items: start; }
.toptan-home3 .th3-spot-row { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; }
.toptan-home3 .th3-spot { background: var(--t3-surface); border: 1px solid var(--t3-border); border-radius: 16px; overflow: hidden; }
.toptan-home3 .th3-spot-cover { position: relative; height: 120px; }
.toptan-home3 .th3-spot-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.toptan-home3 .th3-spot-new { position: absolute; top: 12px; right: 12px; background: rgba(11,22,20,0.55); color: #fff; border-radius: 6px; padding: 3px 9px; font-size: 10px; font-weight: 600; }
.toptan-home3 .th3-spot-logo { position: absolute; left: 16px; bottom: -20px; width: 48px; height: 48px; border-radius: 12px; background: #fff; border: 1px solid var(--t3-border); display: flex; align-items: center; justify-content: center; font-weight: 700; color: var(--t3-brand); font-size: 14px; overflow: hidden; }
.toptan-home3 .th3-spot-logo img { width: 100%; height: 100%; object-fit: cover; }
.toptan-home3 .th3-spot-body { padding: 28px 18px 18px; }
.toptan-home3 .th3-spot-head { display: flex; align-items: center; gap: 7px; }
.toptan-home3 .th3-spot-name { font-size: 15px; font-weight: 700; color: var(--t3-ink); }
.toptan-home3 .th3-spot-badge { background: var(--t3-brand); color: #fff; border-radius: 4px; padding: 2px 6px; font-size: 9px; font-weight: 700; }
.toptan-home3 .th3-spot-meta { font-size: 12px; color: var(--t3-muted); margin-top: 3px; }
.toptan-home3 .th3-spot-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 14px; gap: 8px; }
.toptan-home3 .th3-spot-count { font-size: 11.5px; color: var(--t3-muted); }
.toptan-home3 .th3-spot-visit { font-size: 12.5px; font-weight: 600; color: var(--t3-brand); white-space: nowrap; }
.toptan-home3 .th3-spot-visit:hover { color: var(--t3-brand-deep); }

.toptan-home3 .th3-feed { background: var(--t3-dark-2); border-radius: 16px; padding: 20px; position: sticky; top: 88px; }
.toptan-home3 .th3-feed-head { display: flex; align-items: center; gap: 9px; }
.toptan-home3 .th3-feed-title { font-size: 14px; font-weight: 700; color: #fff; }
.toptan-home3 .th3-feed-status { margin-left: auto; font-size: 11px; color: #7D9591; }
.toptan-home3 .th3-feed-list { display: flex; flex-direction: column; gap: 9px; margin-top: 16px; }
.toptan-home3 .th3-feed-item { display: flex; gap: 11px; align-items: flex-start; background: rgba(255,255,255,0.04); border: 1px solid var(--t3-hair-2); border-radius: 11px; padding: 11px 13px; }
.toptan-home3 .th3-feed-icon { width: 30px; height: 30px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 13px; flex: none; }
.toptan-home3 .th3-feed-body { min-width: 0; flex: 1; }
.toptan-home3 .th3-feed-text { font-size: 12px; color: var(--t3-on-dark); line-height: 1.45; }
.toptan-home3 .th3-feed-time { font-size: 10px; color: #6E8F8A; margin-top: 2px; font-family: var(--t3-mono); }
.toptan-home3 .th3-feed-cta { width: 100%; margin-top: 14px; }

/* =========================================================================
   STEPS
   ========================================================================= */
.toptan-home3 .th3-steps { background: var(--t3-surface); }
.toptan-home3 .th3-steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.toptan-home3 .th3-step { position: relative; background: var(--t3-bg); border: 1px solid var(--t3-border); border-radius: 16px; padding: 22px; }
.toptan-home3 .th3-step-n { position: absolute; top: 16px; right: 18px; font-size: 32px; font-weight: 700; color: color-mix(in srgb, var(--t3-ink) 10%, #fff); font-family: var(--t3-mono); }
.toptan-home3 .th3-step-icon { width: 46px; height: 46px; border-radius: 12px; background: var(--t3-tint); color: var(--t3-brand); display: flex; align-items: center; justify-content: center; font-size: 20px; }
.toptan-home3 .th3-step-title { font-size: 15px; font-weight: 700; margin-top: 14px; }
.toptan-home3 .th3-step-desc { font-size: 12.5px; color: var(--t3-muted); line-height: 1.55; margin: 5px 0 0; }

/* =========================================================================
   RFQ BOARD
   ========================================================================= */
.toptan-home3 .th3-rfqboard { background: var(--t3-dark-2); }
.toptan-home3 .th3-rfqboard .th3-badge { margin-bottom: 12px; }
.toptan-home3 .th3-rfq-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.toptan-home3 .th3-rfqcard { background: rgba(255,255,255,0.04); border: 1px solid var(--t3-hair); border-radius: 14px; padding: 18px 20px; transition: border-color .15s ease; }
.toptan-home3 .th3-rfqcard:hover { border-color: rgba(127,209,196,0.4); }
.toptan-home3 .th3-rfqcard-top { display: flex; align-items: center; gap: 8px; }
.toptan-home3 .th3-rfqcard-flag { font-size: 22px; }
.toptan-home3 .th3-rfqcard-country { font-size: 12px; color: var(--t3-on-dark-3); }
.toptan-home3 .th3-rfqcard-status { margin-left: auto; background: rgba(74,222,128,0.14); color: var(--t3-green); border-radius: 5px; padding: 3px 8px; font-size: 10px; font-weight: 600; }
.toptan-home3 .th3-rfqcard-status.is-hot { background: rgba(184,134,43,0.18); color: var(--t3-gold-fg); }
.toptan-home3 .th3-rfqcard-title { font-size: 15px; font-weight: 600; color: #fff; margin-top: 12px; line-height: 1.35; }
.toptan-home3 .th3-rfqcard-stats { display: flex; gap: 16px; margin-top: 12px; }
.toptan-home3 .th3-rfqcard-k { font-size: 10px; color: #6E8F8A; text-transform: uppercase; letter-spacing: 0.05em; }
.toptan-home3 .th3-rfqcard-v { font-size: 13.5px; font-weight: 600; color: var(--t3-on-dark); font-family: var(--t3-mono); margin-top: 2px; }
.toptan-home3 .th3-rfqcard-v--teal { color: var(--t3-teal); }
.toptan-home3 .th3-rfqcard-cta { width: 100%; margin-top: 14px; padding: 10px 0; }

/* =========================================================================
   WHY + ESCROW
   ========================================================================= */
.toptan-home3 .th3-why-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 40px; align-items: center; }
.toptan-home3 .th3-why-sub { font-size: 14.5px; color: var(--t3-ink-2); line-height: 1.6; margin: 12px 0 0; }
.toptan-home3 .th3-why-rows { display: flex; flex-direction: column; gap: 10px; margin-top: 22px; }
.toptan-home3 .th3-why-row { display: flex; gap: 16px; align-items: center; background: var(--t3-surface); border: 1px solid var(--t3-border); border-radius: 12px; padding: 14px 16px; }
.toptan-home3 .th3-why-old { flex: 1; display: flex; align-items: center; gap: 9px; }
.toptan-home3 .th3-why-old span:last-child { font-size: 12.5px; color: var(--t3-muted); text-decoration: line-through; }
.toptan-home3 .th3-why-x { color: var(--t3-danger); font-size: 15px; }
.toptan-home3 .th3-why-arrow { color: var(--t3-border-strong); flex: none; }
.toptan-home3 .th3-why-new { flex: 1; display: flex; align-items: center; gap: 9px; }
.toptan-home3 .th3-why-new span:last-child { font-size: 13px; color: var(--t3-ink); font-weight: 600; }
.toptan-home3 .th3-why-check { color: var(--t3-green-deep); font-size: 15px; }

.toptan-home3 .th3-escrow { position: relative; border-radius: 20px; overflow: hidden; padding: 32px; }
.toptan-home3 .th3-escrow-bg { position: absolute; inset: 0; background: linear-gradient(140deg, var(--t3-dark-panel-1), var(--t3-dark-panel-2)); }
.toptan-home3 .th3-escrow-bg::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(45deg, rgba(255,255,255,0.03), rgba(255,255,255,0.03) 16px, transparent 16px, transparent 32px); }
.toptan-home3 .th3-escrow-inner { position: relative; }
.toptan-home3 .th3-escrow-label { font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--t3-teal); }
.toptan-home3 .th3-escrow-steps { display: flex; flex-direction: column; margin-top: 18px; }
.toptan-home3 .th3-escrow-step { display: flex; gap: 14px; align-items: flex-start; }
.toptan-home3 .th3-escrow-rail { display: flex; flex-direction: column; align-items: center; flex: none; }
.toptan-home3 .th3-escrow-dot { width: 30px; height: 30px; border-radius: 999px; background: var(--t3-teal); color: var(--t3-dark); display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; }
.toptan-home3 .th3-escrow-dot.is-done { background: var(--t3-green); }
.toptan-home3 .th3-escrow-line { width: 2px; height: 26px; background: rgba(255,255,255,0.14); }
.toptan-home3 .th3-escrow-text { padding-bottom: 14px; }
.toptan-home3 .th3-escrow-title { font-size: 13.5px; font-weight: 600; color: #fff; }
.toptan-home3 .th3-escrow-desc { font-size: 11.5px; color: #9FC2BE; margin-top: 1px; }

/* =========================================================================
   TESTIMONIALS
   ========================================================================= */
.toptan-home3 .th3-testimonials { background: var(--t3-surface); border-top: 1px solid var(--t3-border); padding-left: 0; padding-right: 0; }
.toptan-home3 .th3-testimonials-head { margin-bottom: 22px; }
.toptan-home3 .th3-quote { flex: none; width: 340px; white-space: normal; background: var(--t3-bg); border: 1px solid var(--t3-border); border-radius: 14px; padding: 20px 22px; }
.toptan-home3 .th3-quote-stars { color: var(--t3-gold-ink); font-size: 13px; }
.toptan-home3 .th3-quote-text { font-size: 13.5px; line-height: 1.6; color: #33403C; margin: 10px 0 0; }
.toptan-home3 .th3-quote-author { display: flex; align-items: center; gap: 10px; margin-top: 14px; }
.toptan-home3 .th3-quote-avatar { width: 34px; height: 34px; border-radius: 9px; background: var(--t3-tint); color: var(--t3-brand); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 12px; flex: none; }
.toptan-home3 .th3-quote-name { font-size: 12.5px; font-weight: 600; }
.toptan-home3 .th3-quote-role { font-size: 11px; color: var(--t3-muted); }

/* =========================================================================
   STATS / MAP
   ========================================================================= */
.toptan-home3 .th3-statmap { background: var(--t3-dark-2); }
.toptan-home3 .th3-statmap-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 36px; align-items: center; }
.toptan-home3 .th3-statmap-sub { font-size: 14px; color: var(--t3-on-dark-2); line-height: 1.6; margin: 12px 0 0; }
.toptan-home3 .th3-statmap-cities { display: flex; gap: 10px; margin-top: 22px; flex-wrap: wrap; }
.toptan-home3 .th3-city { background: rgba(255,255,255,0.06); border: 1px solid var(--t3-hair); color: var(--t3-on-dark); border-radius: 999px; padding: 7px 14px; font-size: 12.5px; font-weight: 500; }
.toptan-home3 .th3-statmap-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.toptan-home3 .th3-bigstat { background: rgba(255,255,255,0.04); border: 1px solid var(--t3-hair); border-radius: 14px; padding: 20px; }
.toptan-home3 .th3-bigstat-icon { font-size: 22px; }
.toptan-home3 .th3-bigstat-value { font-size: 26px; font-weight: 700; color: #fff; margin-top: 10px; font-family: var(--t3-mono); }
.toptan-home3 .th3-bigstat-label { font-size: 12px; color: var(--t3-on-dark-3); margin-top: 3px; }

/* =========================================================================
   TRENDING CATEGORIES
   ========================================================================= */
.toptan-home3 .th3-trend { background: var(--t3-surface); }
.toptan-home3 .th3-trend-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.toptan-home3 .th3-trendtile { position: relative; border-radius: 16px; overflow: hidden; height: 220px; display: flex; align-items: flex-end; color: #fff; transition: transform .15s ease; }
.toptan-home3 .th3-trendtile:hover { transform: translateY(-4px); }
.toptan-home3 .th3-trendtile-shade { position: absolute; inset: 0; background: linear-gradient(transparent 35%, rgba(14,31,28,0.85)); }
.toptan-home3 .th3-trendtile-hot { position: absolute; top: 12px; left: 12px; background: var(--t3-gold); color: #fff; border-radius: 6px; padding: 4px 9px; font-size: 10px; font-weight: 700; z-index: 2; }
.toptan-home3 .th3-trendtile-body { position: relative; padding: 16px 18px; z-index: 1; }
.toptan-home3 .th3-trendtile-icon { display: block; border-radius: 6px; margin-bottom: 6px; }
.toptan-home3 .th3-trendtile-name { display: block; font-size: 16px; font-weight: 700; }
.toptan-home3 .th3-trendtile-meta { display: block; font-size: 11.5px; color: #CDE6E2; margin-top: 2px; }

/* =========================================================================
   DUAL VALUE
   ========================================================================= */
.toptan-home3 .th3-dual-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.toptan-home3 .th3-dual-card { border-radius: 20px; padding: 34px 36px; }
.toptan-home3 .th3-dual-card--buyer { background: var(--t3-surface); border: 1px solid var(--t3-border); }
.toptan-home3 .th3-dual-card--supplier { position: relative; overflow: hidden; background: linear-gradient(140deg, var(--t3-dark-panel-1), var(--t3-dark-panel-2)); }
.toptan-home3 .th3-dual-hatch { position: absolute; inset: 0; background: repeating-linear-gradient(45deg, rgba(255,255,255,0.04), rgba(255,255,255,0.04) 14px, transparent 14px, transparent 28px); }
.toptan-home3 .th3-dual-inner { position: relative; }
.toptan-home3 .th3-dual-icon { width: 46px; height: 46px; border-radius: 12px; background: var(--t3-tint); color: var(--t3-brand); display: flex; align-items: center; justify-content: center; font-size: 21px; }
.toptan-home3 .th3-dual-icon--gold { background: rgba(184,134,43,0.20); color: var(--t3-gold-fg); border: 1px solid rgba(184,134,43,0.35); }
.toptan-home3 .th3-dual-title { font-size: 22px; font-weight: 700; margin: 16px 0 0; letter-spacing: -0.015em; }
.toptan-home3 .th3-dual-title--light { color: #fff; }
.toptan-home3 .th3-dual-perks { display: flex; flex-direction: column; gap: 11px; margin-top: 16px; }
.toptan-home3 .th3-dual-perk { display: flex; gap: 11px; align-items: flex-start; font-size: 13.5px; color: #33403C; line-height: 1.5; }
.toptan-home3 .th3-dual-perk--light { color: var(--t3-on-dark); }
.toptan-home3 .th3-dual-check { color: var(--t3-green-deep); font-size: 15px; flex: none; }
.toptan-home3 .th3-dual-check--teal { color: var(--t3-teal); }
.toptan-home3 .th3-dual-cta { margin-top: 20px; }

/* =========================================================================
   FAQ
   ========================================================================= */
.toptan-home3 .th3-faq-list { display: flex; flex-direction: column; gap: 10px; max-width: 820px; margin: 0 auto; }
.toptan-home3 .th3-faq-item { background: var(--t3-surface); border: 1px solid var(--t3-border); border-radius: 12px; padding: 0 22px; }
.toptan-home3 .th3-faq-q { display: flex; align-items: center; gap: 12px; padding: 18px 0; font-size: 14.5px; font-weight: 600; cursor: pointer; list-style: none; }
.toptan-home3 .th3-faq-q::-webkit-details-marker { display: none; }
.toptan-home3 .th3-faq-mark { margin-left: auto; position: relative; width: 16px; height: 16px; flex: none; }
.toptan-home3 .th3-faq-mark::before, .toptan-home3 .th3-faq-mark::after { content: ""; position: absolute; background: var(--t3-brand); border-radius: 2px; transition: opacity .15s ease; }
.toptan-home3 .th3-faq-mark::before { top: 7px; left: 0; width: 16px; height: 2px; }
.toptan-home3 .th3-faq-mark::after { left: 7px; top: 0; width: 2px; height: 16px; }
.toptan-home3 .th3-faq-item[open] .th3-faq-mark::after { opacity: 0; }
.toptan-home3 .th3-faq-a { font-size: 13.5px; color: var(--t3-ink-2); line-height: 1.6; margin: 0 0 18px; padding-right: 28px; }

/* =========================================================================
   PRODUCT RAIL
   ========================================================================= */
.toptan-home3 .th3-prail { background: var(--t3-surface); border-top: 1px solid var(--t3-border); padding-left: 0; padding-right: 0; }
.toptan-home3 .th3-prail .th3-section-head { margin-bottom: 20px; }
.toptan-home3 .th3-prail .th3-badge { margin-bottom: 12px; }
.toptan-home3 .th3-pcard { flex: none; width: 220px; white-space: normal; background: var(--t3-surface); border: 1px solid var(--t3-border); border-radius: 14px; overflow: hidden; color: var(--t3-ink); display: flex; flex-direction: column; }
.toptan-home3 .th3-pcard:hover { box-shadow: 0 8px 24px rgba(26,35,33,0.10); }
.toptan-home3 .th3-pcard-media { position: relative; display: block; height: 130px; background: #eef2f1; }
.toptan-home3 .th3-pcard-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.toptan-home3 .th3-pcard-tag { position: absolute; top: 9px; left: 9px; background: rgba(11,22,20,0.6); color: #fff; border-radius: 5px; padding: 3px 8px; font-size: 10px; font-weight: 600; max-width: calc(100% - 18px); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.toptan-home3 .th3-pcard-body { padding: 13px 15px 15px; display: flex; flex-direction: column; }
.toptan-home3 .th3-pcard-name { font-size: 13px; font-weight: 600; line-height: 1.4; height: 37px; overflow: hidden; }
.toptan-home3 .th3-pcard-price { font-size: 15px; font-weight: 700; color: var(--t3-brand); margin-top: 6px; font-family: var(--t3-mono); }
.toptan-home3 .th3-pcard-price .sale-price, .toptan-home3 .th3-pcard-price del { font-family: var(--t3-mono); }
.toptan-home3 .th3-pcard-meta { font-size: 11px; color: var(--t3-muted); margin-top: 3px; }

/* =========================================================================
   BENEFITS (bento)
   ========================================================================= */
.toptan-home3 .th3-benefits { background: var(--t3-dark-2); }
.toptan-home3 .th3-bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 150px; gap: 14px; }
.toptan-home3 .th3-bento-tile { background: linear-gradient(140deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02)); border: 1px solid var(--t3-hair); border-radius: 16px; padding: 20px 22px; display: flex; flex-direction: column; justify-content: space-between; }
.toptan-home3 .th3-bento-tile.is-wide { grid-column: span 2; }
.toptan-home3 .th3-bento-icon { width: 42px; height: 42px; border-radius: 11px; background: rgba(95,168,159,0.16); color: var(--t3-teal); display: flex; align-items: center; justify-content: center; font-size: 19px; }
.toptan-home3 .th3-bento-title { font-size: 16px; font-weight: 700; color: #fff; }
.toptan-home3 .th3-bento-desc { font-size: 12.5px; color: var(--t3-on-dark-3); margin-top: 4px; line-height: 1.5; }

/* =========================================================================
   TRUST
   ========================================================================= */
.toptan-home3 .th3-trust { background: var(--t3-bg); padding-left: 0; padding-right: 0; }
.toptan-home3 .th3-trust-head { text-align: center; margin-bottom: 18px; }
.toptan-home3 .th3-trust-label { font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--t3-muted); }
.toptan-home3 .th3-trust-track { gap: 44px; align-items: center; opacity: 0.85; }
.toptan-home3 .th3-trust-logo { color: var(--t3-ink-2); font-size: 17px; font-weight: 700; letter-spacing: 0.02em; }

/* =========================================================================
   EXPLORER
   ========================================================================= */
.toptan-home3 .th3-explorer { background: var(--t3-surface); }
.toptan-home3 .th3-explorer-grid { display: grid; grid-template-columns: 280px minmax(0,1fr); gap: 20px; align-items: start; }
.toptan-home3 .th3-explorer-tabs { background: var(--t3-bg); border: 1px solid var(--t3-border); border-radius: 14px; padding: 8px; }
.toptan-home3 .th3-exp-tab { display: flex; width: 100%; align-items: center; gap: 11px; padding: 12px 14px; border-radius: 10px; cursor: pointer; background: transparent; border: none; font-family: inherit; text-align: left; color: #33403C; }
.toptan-home3 .th3-exp-tab-l { display: flex; align-items: center; gap: 11px; font-size: 13.5px; font-weight: 600; flex: 1; }
.toptan-home3 .th3-exp-tab-l img { border-radius: 6px; object-fit: cover; }
.toptan-home3 .th3-exp-tab-caret { font-size: 15px; color: var(--t3-border-strong); }
.toptan-home3 .th3-exp-tab.is-active { background: var(--t3-surface); color: var(--t3-brand); box-shadow: 0 2px 8px rgba(26,35,33,0.06); }
.toptan-home3 .th3-exp-tab.is-active .th3-exp-tab-caret { color: var(--t3-brand); }
.toptan-home3 .th3-exp-panel { display: none; }
.toptan-home3 .th3-exp-panel.is-active { display: block; }
.toptan-home3 .th3-exp-panel-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.toptan-home3 .th3-exp-panel-name { font-size: 17px; font-weight: 700; }
.toptan-home3 .th3-exp-panel-count { font-size: 12px; color: var(--t3-muted); }
.toptan-home3 .th3-exp-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.toptan-home3 .th3-exp-tile { background: var(--t3-surface); border: 1px solid var(--t3-border); border-radius: 11px; padding: 14px; color: #33403C; text-align: center; }
.toptan-home3 .th3-exp-tile:hover { border-color: var(--t3-brand); color: var(--t3-brand); }
.toptan-home3 .th3-exp-tile--wide { grid-column: 1 / -1; }
.toptan-home3 .th3-exp-tile-media { display: block; height: 64px; border-radius: 8px; margin-bottom: 9px; overflow: hidden; }
.toptan-home3 .th3-exp-tile-media img { width: 100%; height: 100%; object-fit: cover; }
.toptan-home3 .th3-exp-tile-name { font-size: 12.5px; font-weight: 600; }

/* =========================================================================
   RECOMMENDED
   ========================================================================= */
.toptan-home3 .th3-rec { background: var(--t3-bg); }
.toptan-home3 .th3-rec-tabs { display: flex; gap: 8px; margin-bottom: 16px; flex-wrap: wrap; }
.toptan-home3 .th3-rec-tab { padding: 8px 15px; border-radius: 999px; font-size: 12.5px; font-weight: 600; cursor: pointer; background: var(--t3-surface); color: var(--t3-ink-2); border: 1px solid var(--t3-border); font-family: inherit; }
.toptan-home3 .th3-rec-tab.is-active { background: var(--t3-brand); color: #fff; border-color: var(--t3-brand); }
.toptan-home3 .th3-rec-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.toptan-home3 .th3-rcard { position: relative; background: var(--t3-surface); border: 1px solid var(--t3-border); border-radius: 14px; overflow: hidden; display: flex; flex-direction: column; }
.toptan-home3 .th3-rcard:hover { box-shadow: 0 8px 24px rgba(26,35,33,0.10); }
.toptan-home3 .th3-rcard-badge { position: absolute; top: 10px; left: 10px; z-index: 2; display: inline-flex; align-items: center; border-radius: 6px; padding: 3px 9px; font-size: 10px; font-weight: 700; }
.toptan-home3 .th3-rcard-badge.is-match { background: var(--t3-tint); color: var(--t3-brand); }
.toptan-home3 .th3-rcard-badge.is-popular { background: #FBF3E4; color: var(--t3-gold-ink); }
.toptan-home3 .th3-rcard-badge.is-new { background: #EDF6EE; color: var(--t3-green-deep); }
.toptan-home3 .th3-rcard-media { display: block; height: 150px; background: #eef2f1; }
.toptan-home3 .th3-rcard-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.toptan-home3 .th3-rcard-body { padding: 13px 15px 15px; display: flex; flex-direction: column; }
.toptan-home3 .th3-rcard-name { display: block; font-size: 13px; font-weight: 600; color: var(--t3-ink); line-height: 1.4; height: 37px; overflow: hidden; }
.toptan-home3 .th3-rcard-price { margin-top: 7px; }
.toptan-home3 .th3-rcard-price-v { font-size: 16px; font-weight: 700; color: var(--t3-brand); font-family: var(--t3-mono); }
.toptan-home3 .th3-rcard-price-v .sale-price, .toptan-home3 .th3-rcard-price-v del { font-family: var(--t3-mono); }
.toptan-home3 .th3-rcard-vendor { display: flex; align-items: center; gap: 5px; font-size: 11px; color: var(--t3-muted); margin-top: 5px; }
.toptan-home3 .th3-rcard-verified { color: var(--t3-brand); font-weight: 700; font-size: 9px; }
.toptan-home3 .th3-rcard-meta { font-size: 10.5px; color: #9AA5A1; margin-top: 2px; }
.toptan-home3 .th3-rcard-cta { width: 100%; margin-top: 11px; padding: 9px 0; font-size: 12px; }
.toptan-home3 .th3-rec-nudge { display: flex; align-items: center; gap: 10px; background: var(--t3-surface); border: 1px dashed var(--t3-border-strong); border-radius: 12px; padding: 16px 20px; margin-top: 16px; }
.toptan-home3 .th3-rec-nudge-icon { font-size: 16px; }
.toptan-home3 .th3-rec-nudge-text { font-size: 13px; color: var(--t3-ink-2); }
.toptan-home3 .th3-rec-nudge-text strong { color: var(--t3-ink); }
.toptan-home3 .th3-rec-nudge-cta { margin-left: auto; padding: 10px 18px; font-size: 12.5px; white-space: nowrap; }

/* =========================================================================
   BIG CTA
   ========================================================================= */
.toptan-home3 .th3-cta { position: relative; overflow: hidden; background: radial-gradient(700px 340px at 50% 120%, rgba(17,94,89,0.6), transparent 60%), var(--t3-dark); padding: 64px 40px; text-align: center; }
.toptan-home3 .th3-cta-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(127,209,196,0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(127,209,196,0.05) 1px, transparent 1px); background-size: 46px 46px; -webkit-mask-image: radial-gradient(circle at 50% 60%, #000, transparent 70%); mask-image: radial-gradient(circle at 50% 60%, #000, transparent 70%); }
.toptan-home3 .th3-cta-inner { position: relative; max-width: 720px; margin: 0 auto; }
.toptan-home3 .th3-cta-title { font-size: 38px; font-weight: 700; color: #fff; margin: 16px 0 0; letter-spacing: -0.025em; line-height: 1.12; }
.toptan-home3 .th3-cta-sub { font-size: 15px; color: var(--t3-on-dark-2); margin: 14px 0 0; }
.toptan-home3 .th3-cta-actions { display: flex; gap: 12px; justify-content: center; margin-top: 28px; flex-wrap: wrap; }
.toptan-home3 .th3-cta-actions .th3-btn { padding: 16px 30px; font-size: 15px; }

/* =========================================================================
   RESPONSIVE
   ========================================================================= */
@media (min-width: 981px) {
    .toptan-home3 .th3-hero-actions { display: none; }
}
@media (max-width: 980px) {
    .toptan-home3 .th3-container { padding-left: 20px; padding-right: 20px; }
    .toptan-home3 .th3-section { padding-top: 40px; padding-bottom: 40px; }
    .toptan-home3 .th3-hero-inner { grid-template-columns: 1fr; padding-top: 40px; gap: 8px; }
    .toptan-home3 .th3-hero-title { font-size: 38px; }
    .toptan-home3 .th3-hero-panel-wrap { display: none; }
    .toptan-home3 .th3-hero-search { display: none; }
    .toptan-home3 .th3-hero-actions { display: flex; flex-direction: column; }
    .toptan-home3 .th3-hero-trending { display: none; }
    .toptan-home3 .th3-hero-counters { grid-template-columns: 1fr 1fr; padding-bottom: 28px; }
    .toptan-home3 .th3-live-grid { grid-template-columns: 1fr; }
    .toptan-home3 .th3-feed { position: static; }
    .toptan-home3 .th3-why-grid { grid-template-columns: 1fr; gap: 24px; }
    .toptan-home3 .th3-statmap-grid { grid-template-columns: 1fr; gap: 24px; }
    .toptan-home3 .th3-dual-grid { grid-template-columns: 1fr; }
    .toptan-home3 .th3-explorer-grid { grid-template-columns: 1fr; }
    .toptan-home3 .th3-explorer-tabs { display: flex; gap: 8px; overflow-x: auto; }
    .toptan-home3 .th3-exp-tab { flex: none; width: auto; }
    .toptan-home3 .th3-exp-tab-caret { display: none; }
    .toptan-home3 .th3-steps-grid { grid-template-columns: 1fr 1fr; }
    .toptan-home3 .th3-rfq-grid { grid-auto-flow: column; grid-auto-columns: 82%; grid-template-columns: none; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; }
    .toptan-home3 .th3-rfqcard { scroll-snap-align: start; }
    .toptan-home3 .th3-trend-grid { grid-template-columns: 1fr 1fr; }
    .toptan-home3 .th3-rec-grid { grid-template-columns: 1fr 1fr; }
    .toptan-home3 .th3-exp-tiles { grid-template-columns: repeat(3, 1fr); }
    .toptan-home3 .th3-bento { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 140px; }
    .toptan-home3 .th3-bento-tile.is-wide { grid-column: span 2; }
    .toptan-home3 .th3-cta-title { font-size: 30px; }
}
@media (max-width: 600px) {
    .toptan-home3 .th3-h2 { font-size: 22px; }
    .toptan-home3 .th3-hero-title { font-size: 32px; }
    .toptan-home3 .th3-spot-row { grid-template-columns: 1fr; }
    .toptan-home3 .th3-steps-grid { grid-template-columns: 1fr; }
    .toptan-home3 .th3-trend-grid { grid-auto-flow: column; grid-auto-columns: 62%; grid-template-columns: none; overflow-x: auto; scroll-snap-type: x mandatory; }
    .toptan-home3 .th3-trendtile { scroll-snap-align: start; height: 190px; }
    .toptan-home3 .th3-rec-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
    .toptan-home3 .th3-exp-tiles { grid-template-columns: repeat(2, 1fr); }
    .toptan-home3 .th3-bento { grid-template-columns: 1fr; grid-auto-rows: auto; }
    .toptan-home3 .th3-bento-tile { min-height: 120px; }
    .toptan-home3 .th3-bento-tile.is-wide { grid-column: span 1; }
    .toptan-home3 .th3-rec-nudge { flex-direction: column; align-items: flex-start; }
    .toptan-home3 .th3-rec-nudge-cta { margin-left: 0; }
    .toptan-home3 .th3-dual-card { padding: 24px; }
    .toptan-home3 .th3-cta { padding: 44px 20px; }
    .toptan-home3 .th3-cta-title { font-size: 26px; }
    .toptan-home3 .th3-cta-actions .th3-btn { width: 100%; }
}

/* ---- RTL ---------------------------------------------------------------- */
[dir="rtl"] .toptan-home3 .th3-link { margin-left: 0; margin-right: auto; }
[dir="rtl"] .toptan-home3 .th3-rfqcard-status { margin-left: 0; margin-right: auto; }
[dir="rtl"] .toptan-home3 .th3-feed-status { margin-left: 0; margin-right: auto; }
[dir="rtl"] .toptan-home3 .th3-exp-tab-l { flex-direction: row-reverse; }
[dir="rtl"] .toptan-home3 .th3-why-arrow, [dir="rtl"] .toptan-home3 .th3-exp-tab-caret { transform: scaleX(-1); }
[dir="rtl"] .toptan-home3 .th3-rec-nudge-cta { margin-left: 0; margin-right: auto; }
[dir="rtl"] .toptan-home3 .th3-hero-float--quote { left: auto; right: -18px; }
[dir="rtl"] .toptan-home3 .th3-hero-float--escrow { right: auto; left: -14px; }

/* ---- Reduced motion ----------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
    .toptan-home3 .th3-marquee-track,
    .toptan-home3 .th3-hero-orb,
    .toptan-home3 .th3-hero-float,
    .toptan-home3 .th3-sheen,
    .toptan-home3 .th3-pulse-dot { animation: none !important; }
}

/* =========================================================================
   DYNAMIC TOP BAR (header-dynamic) — homepage-3 scoped
   Announcement strip + dark sticky app bar (gold search) + promoted links.
   Reuses functional hooks (.form--quick-search/.input-search-product/
   .panel--search-result/.cart-dropdown-panel/.b2b-count/.wholesale-message-*).
   ========================================================================= */
.toptan-home3 .th3tb { position: relative; z-index: 40; }
.toptan-home3 .th3tb-wrap { max-width: 1320px; margin: 0 auto; padding-left: 40px; padding-right: 40px; }

/* Tier 1 · announcement */
.toptan-home3 .th3tb-announce { background: #0B1614; color: #8FA5A1; font-size: 11.5px; }
.toptan-home3 .th3tb-announce-inner { display: flex; align-items: center; gap: 18px; min-height: 32px; }
.toptan-home3 .th3tb-announce-msg { white-space: nowrap; }
.toptan-home3 .th3tb-announce-right { margin-left: auto; display: flex; align-items: center; gap: 18px; }
.toptan-home3 .th3tb-announce-nav ul { display: flex; gap: 18px; list-style: none; margin: 0; padding: 0; }
.toptan-home3 .th3tb-announce-nav a { color: #8FA5A1; }
.toptan-home3 .th3tb-announce-nav a:hover { color: #fff; }
.toptan-home3 .th3tb-mini { position: relative; }
.toptan-home3 .th3tb-mini-toggle { color: #8FA5A1; cursor: pointer; display: inline-flex; align-items: center; gap: 4px; }
.toptan-home3 .th3tb-mini-toggle:hover { color: #fff; }
.toptan-home3 .th3tb-mini-menu { display: none; position: absolute; top: 100%; right: 0; min-width: 150px; max-height: 60vh; overflow-y: auto; background: #fff; border: 1px solid #E2E8E6; border-radius: 8px; box-shadow: 0 12px 30px rgba(0,0,0,.2); padding: 6px; margin: 6px 0 0; list-style: none; z-index: 60; }
.toptan-home3 .th3tb-mini:hover .th3tb-mini-menu { display: block; }
.toptan-home3 .th3tb-mini-menu li { list-style: none; }
.toptan-home3 .th3tb-mini-menu li a { display: block; padding: 7px 10px; border-radius: 6px; color: #1A2321; font-size: 13px; white-space: nowrap; }
.toptan-home3 .th3tb-mini-menu li a:hover { background: #F1F6F5; color: var(--fbl-brand, #115E59); }

/* Tier 2 · app bar */
.toptan-home3 .th3tb-appbar { background: #12201E; position: sticky; top: 0; z-index: 45; }
.toptan-home3 .th3tb-appbar-inner { display: flex; align-items: center; gap: 20px; padding-top: 14px; padding-bottom: 14px; }
.toptan-home3 .th3tb-brand { display: flex; align-items: center; gap: 9px; flex: none; }
.toptan-home3 .th3tb-brand-mark { width: 34px; height: 34px; background: #fff; border-radius: 8px; display: grid; place-items: center; color: var(--fbl-brand, #115E59); font-weight: 700; font-size: 16px; }
.toptan-home3 .th3tb-brand-name { font-size: 19px; font-weight: 700; color: #fff; white-space: nowrap; }
.toptan-home3 .th3tb-brand-name span { color: #7FD1C4; }
.toptan-home3 .th3tb-brand img { display: block; max-height: 40px; width: auto; }

.toptan-home3 .th3tb-cats { position: relative; flex: none; }
.toptan-home3 .th3tb-cats-btn { display: inline-flex; align-items: center; gap: 8px; padding: 11px 16px; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.14); border-radius: 9px; color: #fff; font-size: 13px; font-weight: 600; font-family: inherit; cursor: pointer; }
.toptan-home3 .th3tb-cats-btn:hover { background: rgba(255,255,255,0.14); }
.toptan-home3 .th3tb-cats-btn .material-symbols-outlined { font-size: 18px; }
.toptan-home3 .th3tb-cats-menu { display: none; position: absolute; left: 0; top: calc(100% + 6px); width: 280px; max-height: 70vh; overflow-y: auto; background: #fff; border: 1px solid #E2E8E6; border-radius: 12px; box-shadow: 0 20px 40px rgba(18,32,30,0.16); z-index: 50; padding: 6px; }
.toptan-home3 .th3tb-cats:hover .th3tb-cats-menu { display: block; }
.toptan-home3 .th3tb-cats-menu a { display: flex; align-items: center; gap: 11px; padding: 10px 12px; border-radius: 8px; color: #1A2321; font-size: 13px; font-weight: 500; }
.toptan-home3 .th3tb-cats-menu a:hover { background: #F1F6F5; color: var(--fbl-brand, #115E59); }
.toptan-home3 .th3tb-cats-menu a img { border-radius: 4px; object-fit: cover; flex: none; }
.toptan-home3 .th3tb-cats-menu a i { width: 18px; text-align: center; flex: none; }

.toptan-home3 .th3tb-search { flex: 1; max-width: 600px; }
.toptan-home3 .th3tb-search-form { display: flex; align-items: stretch; background: #fff; border-radius: 9px; overflow: hidden; position: relative; }
.toptan-home3 .th3tb-search-icon { display: flex; align-items: center; padding-left: 14px; color: #9AA5A1; font-size: 20px; }
.toptan-home3 .th3tb-search-input { flex: 1; min-width: 0; border: none !important; outline: none; font-size: 14px; font-family: inherit; padding: 11px 12px; background: transparent !important; color: #1A2321; box-shadow: none !important; height: auto; }
.toptan-home3 .th3tb-search-btn { background: #B8862B; color: #fff; border: none; padding: 0 22px; font-size: 14px; font-weight: 600; font-family: inherit; cursor: pointer; }
.toptan-home3 .th3tb-search-btn:hover { background: #a1741f; }
.toptan-home3 .th3tb-search .panel--search-result { position: absolute; left: 0; right: 0; top: calc(100% + 6px); background: #fff; border: 1px solid #E2E8E6; border-radius: 12px; box-shadow: 0 20px 44px rgba(18,32,30,0.2); z-index: 55; overflow: hidden; }
.toptan-home3 .th3tb-search .panel--search-result:empty { display: none; }

.toptan-home3 .th3tb-actions { margin-left: auto; display: flex; align-items: center; gap: 6px; flex: none; }
.toptan-home3 .th3tb-action { position: relative; width: 42px; height: 42px; border-radius: 9px; display: flex; align-items: center; justify-content: center; color: #CDDAD7; }
.toptan-home3 .th3tb-action:hover { background: rgba(255,255,255,0.08); color: #fff; }
.toptan-home3 .th3tb-action .material-symbols-outlined { font-size: 20px; }
.toptan-home3 .th3tb-actions .b2b-count,
.toptan-home3 .th3tb-mobile-cart .b2b-count { position: absolute; top: 4px; right: 3px; min-width: 16px; height: 16px; padding: 0 4px; display: grid; place-items: center; background: #B3382D; color: #fff; border: 1.5px solid #12201E; border-radius: 9999px; font-size: 9.5px; font-weight: 700; line-height: 1; }
.toptan-home3 .th3tb-action-cart, .toptan-home3 .th3tb-account { position: relative; width: auto; height: auto; }
.toptan-home3 .th3tb-action-cart > .mini-cart-icon, .toptan-home3 .th3tb-account > a { position: relative; width: 42px; height: 42px; border-radius: 9px; display: flex; align-items: center; justify-content: center; color: #CDDAD7; }
.toptan-home3 .th3tb-action-cart > .mini-cart-icon:hover, .toptan-home3 .th3tb-account > a:hover { background: rgba(255,255,255,0.08); color: #fff; }
.toptan-home3 .th3tb-action-cart .cart-dropdown-panel, .toptan-home3 .th3tb-account-menu { display: none; position: absolute; right: 0; top: 100%; margin-top: 8px; z-index: 60; }
.toptan-home3 .th3tb-action-cart:hover .cart-dropdown-panel, .toptan-home3 .th3tb-account:hover .th3tb-account-menu { display: block; }
.toptan-home3 .th3tb-account-menu { background: #fff; border: 1px solid #E2E8E6; border-radius: 12px; box-shadow: 0 20px 40px rgba(18,32,30,0.16); min-width: 200px; padding: 6px; }
.toptan-home3 .th3tb-account-menu ul { list-style: none; margin: 0; padding: 0; }
.toptan-home3 .th3tb-account-menu li a { display: flex; align-items: center; padding: 9px 12px; border-radius: 8px; color: #1A2321; font-size: 13px; }
.toptan-home3 .th3tb-account-menu li a:hover { background: #F1F6F5; color: var(--fbl-brand, #115E59); }
.toptan-home3 .th3tb-avatar { width: 32px; height: 32px; border-radius: 999px; background: var(--fbl-brand, #115E59); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 14px; }
.toptan-home3 .th3tb-signin { margin-left: 8px; background: var(--fbl-brand, #115E59); color: #fff; border-radius: 9px; padding: 11px 18px; font-size: 13px; font-weight: 600; white-space: nowrap; }
.toptan-home3 .th3tb-signin:hover { background: var(--fbl-brand-deep, #0D4A46); color: #fff; }
.toptan-home3 .th3tb-actions .wholesale-message-toggle { color: #CDDAD7; }
.toptan-home3 .th3tb-actions .wholesale-message-toggle:hover { background: rgba(255,255,255,0.08); color: #fff; }

/* Tier 3 · promoted links */
.toptan-home3 .th3tb-promo { background: #fff; border-bottom: 1px solid #E2E8E6; }
.toptan-home3 .th3tb-promo-inner { display: flex; align-items: stretch; gap: 4px; }
.toptan-home3 .th3tb-promo-nav { display: flex; align-items: stretch; gap: 2px; flex-wrap: wrap; }
.toptan-home3 .th3tb-promo-nav a { display: flex; align-items: center; padding: 13px 15px; color: #33403C; font-size: 13px; font-weight: 500; border-bottom: 2px solid transparent; }
.toptan-home3 .th3tb-promo-nav a:hover { color: var(--fbl-brand, #115E59); border-bottom-color: var(--fbl-brand, #115E59); }
.toptan-home3 .th3tb-promo-vendor { margin-left: auto; display: flex; align-items: center; gap: 6px; padding: 13px 15px; color: #B8862B; font-size: 13px; font-weight: 600; }
.toptan-home3 .th3tb-promo-vendor:hover { color: #8A6A1F; }
.toptan-home3 .th3tb-promo-vendor .material-symbols-outlined { font-size: 18px; }

/* Mobile app bar */
.toptan-home3 .th3tb-mobile { display: none; background: #12201E; position: sticky; top: 0; z-index: 45; }
.toptan-home3 .th3tb-mobile-top { display: flex; align-items: center; gap: 10px; padding: 11px 14px; }
.toptan-home3 .th3tb-burger { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; cursor: pointer; margin-left: -6px; }
.toptan-home3 .th3tb-brand-mobile { margin-right: auto; }
.toptan-home3 .th3tb-mobile-cart { position: relative; width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; color: #CDDAD7; }
.toptan-home3 .th3tb-mobile-cart .material-symbols-outlined { font-size: 20px; }
.toptan-home3 .th3tb-mobile-search { padding: 0 14px 11px; }
.toptan-home3 .th3tb-msearch-form { display: flex; align-items: center; background: #fff; border-radius: 9px; padding: 0 13px; position: relative; }
.toptan-home3 .th3tb-msearch-form > .material-symbols-outlined { color: var(--fbl-brand, #115E59); font-size: 20px; }
.toptan-home3 .th3tb-msearch-form input { flex: 1; min-width: 0; border: none !important; outline: none; font-size: 13.5px; font-family: inherit; padding: 11px 9px; background: transparent !important; box-shadow: none !important; height: auto; }
.toptan-home3 .th3tb-msearch-form .panel--search-result { position: absolute; left: 0; right: 0; top: calc(100% + 6px); background: #fff; border: 1px solid #E2E8E6; border-radius: 12px; box-shadow: 0 20px 44px rgba(18,32,30,0.2); z-index: 55; }
.toptan-home3 .th3tb-msearch-form .panel--search-result:empty { display: none; }
.toptan-home3 .th3tb-burger .burger-icon { position: relative; width: 22px; height: 16px; }
.toptan-home3 .th3tb-burger .burger-icon span { position: absolute; left: 0; width: 100%; height: 2px; background: #fff; border-radius: 2px; }
.toptan-home3 .th3tb-burger .burger-icon-top { top: 0; }
.toptan-home3 .th3tb-burger .burger-icon-mid { top: 7px; }
.toptan-home3 .th3tb-burger .burger-icon-bottom { top: 14px; }

@media (max-width: 991px) {
    .toptan-home3 .th3tb-announce, .toptan-home3 .th3tb-appbar, .toptan-home3 .th3tb-promo { display: none; }
    .toptan-home3 .th3tb-mobile { display: block; }
}

/* Dynamic footer */
.toptan-home3 .th3ft { background: #0B1614; color: #8FA5A1; border-top: 1px solid rgba(255,255,255,0.06); }
.toptan-home3 .th3ft-wrap { max-width: 1240px; margin: 0 auto; padding: 22px 40px; display: flex; gap: 20px; align-items: center; font-size: 12px; flex-wrap: wrap; }
.toptan-home3 .th3ft-brand { font-weight: 700; color: #fff; font-size: 13px; }
.toptan-home3 .th3ft-brand span { color: #7FD1C4; }
.toptan-home3 .th3ft-copy { color: #8FA5A1; }
.toptan-home3 .th3ft-links { display: flex; gap: 16px; }
.toptan-home3 .th3ft-links a { color: #8FA5A1; }
.toptan-home3 .th3ft-links a:hover { color: #fff; }
.toptan-home3 .th3ft-langs { margin-left: auto; display: flex; gap: 10px; }
.toptan-home3 .th3ft-langs a { color: #8FA5A1; }
.toptan-home3 .th3ft-langs a:hover, .toptan-home3 .th3ft-langs a.is-active { color: #fff; }
[dir="rtl"] .toptan-home3 .th3tb-announce-right,
[dir="rtl"] .toptan-home3 .th3tb-actions,
[dir="rtl"] .toptan-home3 .th3tb-promo-vendor,
[dir="rtl"] .toptan-home3 .th3ft-langs { margin-left: 0; margin-right: auto; }
@media (max-width: 600px) {
    .toptan-home3 .th3ft-wrap { justify-content: center; text-align: center; padding: 20px 16px; font-size: 11.5px; }
    .toptan-home3 .th3ft-langs { margin-left: 0; }
}
