/* ============================================================
   WebTaskTools iLovePDF-style Design System
   Created: 2026-10-11 — iLovePDF-inspired redesign
   ============================================================ */

:root {
    --wtt-red: #E5322D;
    --wtt-red-dark: #C62828;
    --wtt-navy: #0B1F3A;
    --wtt-navy-light: #1a3350;
    --wtt-bg: #F4F4FA;
    --wtt-card: #ffffff;
    --wtt-heading: #0B1F3A;
    --wtt-body: #5b6472;
    --wtt-muted: #8a94a6;
    --wtt-border: #e8eaf0;
    --wtt-radius: 12px;
    --wtt-shadow: 0 3px 18px rgba(11, 31, 58, 0.07);
    --wtt-shadow-hover: 0 14px 36px rgba(11, 31, 58, 0.13);
}

/* ---------- Page background ---------- */
body {
    background-color: var(--wtt-bg) !important;
}

/* ---------- iLovePDF Header ---------- */
.wtt-header {
    background: #fff;
    border-bottom: 1px solid var(--wtt-border);
    position: sticky;
    top: 0;
    z-index: 1030;
    box-shadow: 0 1px 8px rgba(11, 31, 58, 0.06);
}
.wtt-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    height: 68px;
}
.wtt-logo {
    font-weight: 800;
    font-size: 1.35rem;
    letter-spacing: -0.5px;
    text-decoration: none !important;
    white-space: nowrap;
}
.wtt-logo .wtt-logo-web { color: var(--wtt-red); }
.wtt-logo .wtt-logo-rest { color: var(--wtt-navy); }
.wtt-nav {
    display: flex;
    align-items: center;
    gap: 6px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.wtt-nav a.wtt-nav-link {
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    color: var(--wtt-navy);
    padding: 10px 14px;
    border-radius: 8px;
    text-decoration: none !important;
    transition: color .15s ease, background .15s ease;
    white-space: nowrap;
}
.wtt-nav a.wtt-nav-link:hover {
    color: var(--wtt-red);
    background: rgba(229, 50, 45, 0.06);
}
.wtt-nav .dropdown-menu {
    border: none;
    box-shadow: 0 12px 32px rgba(11, 31, 58, 0.14);
    border-radius: 12px;
    padding: 8px;
    min-width: 240px;
}
.wtt-nav .dropdown-item {
    border-radius: 8px;
    padding: 10px 14px;
    font-weight: 500;
    font-size: 0.92rem;
    color: var(--wtt-navy);
}
.wtt-nav .dropdown-item:hover {
    background: rgba(229, 50, 45, 0.06);
    color: var(--wtt-red);
}
.wtt-header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}
.wtt-login-link {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--wtt-navy);
    text-decoration: none !important;
}
.wtt-login-link:hover { color: var(--wtt-red); }
.wtt-signup-btn {
    display: inline-block;
    background: var(--wtt-red);
    color: #fff !important;
    font-weight: 700;
    font-size: 0.88rem;
    padding: 10px 26px;
    border-radius: 999px;
    text-decoration: none !important;
    transition: background .15s ease, transform .15s ease;
    border: none;
    cursor: pointer;
}
.wtt-signup-btn:hover {
    background: var(--wtt-red-dark);
    transform: translateY(-1px);
}
@media (max-width: 991px) {
    .wtt-nav { display: none; }
    .wtt-nav-mobile { display: flex !important; }
}
.wtt-nav-mobile { display: none; }

/* ---------- Hero ---------- */
.wtt-hero {
    background: var(--wtt-bg);
    text-align: center;
    padding: 30px 24px;
}
.wtt-hero h1 {
    font-size: 36px;
    font-weight: 600;
    color: #33333b;
    line-height: 44px;
    margin: 0 auto 4px;
    max-width: 1100px;
}
.wtt-hero p {
    font-size: 22px;
    font-weight: 400;
    line-height: 32px;
    color: #47474f;
    max-width: 980px;
    margin: 0 auto 22px;
}
.wtt-hero-badges {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px 22px;
    margin-top: 18px;
    font-size: 0.92rem;
    color: var(--wtt-body);
}
.wtt-hero-badges i { color: #22c55e; margin-right: 6px; }

/* ---------- Tool sections ---------- */
.wtt-tools-wrap {
    max-width: none;
    margin: 0 auto;
    padding: 0 48px 40px;
}
@media (max-width: 1440px) {
    .wtt-tools-wrap { padding: 0 32px 40px; }
    .wtt-trending-wrap { padding: 16px 32px 8px; }
}
@media (max-width: 640px) {
    .wtt-tools-wrap { padding: 0 20px 32px; }
    .wtt-trending-wrap { padding: 12px 20px 6px; }
}
.wtt-section-label {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: var(--wtt-muted);
    margin: 36px 0 18px;
    text-align: center;
}
.wtt-section-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--wtt-navy);
    text-align: center;
    margin-bottom: 6px;
}
.wtt-section-sub {
    text-align: center;
    color: var(--wtt-body);
    margin-bottom: 24px;
    font-size: 1rem;
}
/* ---------- iLovePDF-style compact tool cards: 6-col grid ---------- */
.wtt-tool-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
    gap: 16px;
}
.wtt-tool-grid > * {
    min-width: 0;
}
@media (max-width: 640px) {
    .wtt-tool-grid { gap: 12px; }
}

/* ---------- iLovePDF tool card (exact proportions) ---------- */
.wtt-tool-card {
    display: block;
    background: #fff;
    border: 1px solid #d6d6df;
    border-radius: 16px;
    padding: 32px;
    text-decoration: none !important;
    transition: border-color .3s ease;
    height: 100%;
}
.wtt-tool-card:hover {
    border-color: #0B1F3A;
}
.wtt-tool-icon {
    display: block;
    width: 48px;
    height: 48px;
    margin-bottom: 16px;
    flex-shrink: 0;
}
.wtt-tool-icon svg {
    width: 48px;
    height: 48px;
    display: block;
}
.wtt-tool-card h3 {
    font-size: 20px;
    font-weight: 500;
    color: #33333b;
    margin: 0 0 8px;
    line-height: 28px;
}
.wtt-tool-card p {
    font-size: 12px;
    line-height: 20px;
    letter-spacing: .3px;
    color: #707078;
    font-weight: 400;
    margin: 0;
}

/* ---------- Trust section ---------- */
.wtt-trust {
    background: #fff;
    border-top: 1px solid var(--wtt-border);
    border-bottom: 1px solid var(--wtt-border);
    padding: 48px 24px;
    text-align: center;
    margin-top: 20px;
}
.wtt-trust h2 {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--wtt-navy);
    margin-bottom: 28px;
}
.wtt-trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
}
.wtt-trust-item i {
    font-size: 1.8rem;
    color: var(--wtt-red);
    margin-bottom: 10px;
}
.wtt-trust-item h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--wtt-navy);
    margin-bottom: 4px;
}
.wtt-trust-item p {
    font-size: 0.87rem;
    color: var(--wtt-body);
    margin: 0;
}

/* ---------- iLovePDF Footer ---------- */
.wtt-footer {
    background: var(--wtt-navy);
    color: #c8d2e0;
    padding: 56px 24px 0;
    margin-top: 0;
}
.wtt-footer-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 32px;
    padding-bottom: 40px;
}
.wtt-footer h5 {
    color: #fff;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 18px;
}
.wtt-footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.wtt-footer ul li { margin-bottom: 10px; }
.wtt-footer ul a {
    color: #a8b5c8;
    font-size: 0.92rem;
    text-decoration: none !important;
    transition: color .15s ease;
}
.wtt-footer ul a:hover { color: #fff; }
.wtt-footer-brand p {
    font-size: 0.9rem;
    color: #a8b5c8;
    margin-top: 12px;
    line-height: 1.6;
}
.wtt-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    padding: 22px 24px;
}
.wtt-footer-bottom-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 16px;
}
.wtt-footer-bottom-spacer { min-width: 1px; }
.wtt-footer-social {
    display: flex;
    gap: 12px;
    justify-content: center;
    justify-self: center;
}
.wtt-footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    font-size: 1.1rem;
    text-decoration: none !important;
    transition: background .15s ease, transform .15s ease;
}
.wtt-footer-social a:hover {
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
    transform: translateY(-2px);
}
.wtt-footer-copy {
    font-size: 0.85rem;
    color: #8a97ab;
    justify-self: end;
    text-align: right;
    white-space: nowrap;
}
@media (max-width: 640px) {
    .wtt-footer-bottom-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .wtt-footer-bottom-spacer { display: none; }
    .wtt-footer-copy {
        justify-self: center;
        white-space: normal;
    }
}

/* ---------- FAQ (keep existing, restyle lightly) ---------- */
.wtt-faq-wrap {
    max-width: 720px;
    margin: 0 auto;
    padding: 40px 24px;
}
.wtt-faq-wrap h2 {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--wtt-navy);
    margin-bottom: 24px;
}

/* ---------- "Work your way" v2 — iLovePDF-size cards, richer illustrations ---------- */
.wtt-workway {
    max-width: 1320px;
    margin: 0 auto;
    padding: 56px 24px;
}
.wtt-workway h2 {
    text-align: center;
    font-size: 2rem;
    font-weight: 800;
    color: var(--wtt-navy);
    margin-bottom: 10px;
    letter-spacing: -0.3px;
}
.wtt-workway-sub {
    text-align: center;
    color: #6B7280;
    margin-bottom: 34px;
    font-size: 1.05rem;
    font-weight: 400;
}
.wtt-workway-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
@media (max-width: 768px) {
    .wtt-workway-grid { grid-template-columns: 1fr; }
}
.wtt-workway-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--wtt-shadow);
    transition: transform .18s ease, box-shadow .18s ease;
    display: flex;
    flex-direction: column;
}
a.wtt-workway-card { text-decoration: none; color: inherit; cursor: pointer; display: flex; }
a.wtt-workway-card:hover { text-decoration: none; color: inherit; }
.wtt-workway-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--wtt-shadow-hover);
}
.wtt-workway-visual {
    height: 235px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #FDEEE4;
    padding: 20px;
}
/* --- shared illustration shell --- */
.wtt-illus {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 16px 34px rgba(11, 31, 58, 0.12);
    overflow: hidden;
}
/* --- Card 1: desktop browser mockup --- */
.wtt-illus-browser {
    width: 265px;
}
.wtt-illus-bar {
    display: flex;
    gap: 6px;
    padding: 10px 14px 6px;
}
.wtt-illus-bar span {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #E2E8F0;
}
.wtt-illus-bar span:first-child { background: #FCA5A5; }
.wtt-illus-bar span:nth-child(2) { background: #FCD34D; }
.wtt-illus-bar span:nth-child(3) { background: #86EFAC; }
.wtt-illus-url {
    margin: 2px 14px 10px;
    background: #F1F5F9;
    border-radius: 999px;
    font-size: 0.68rem;
    color: #64748B;
    padding: 5px 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.wtt-illus-url i { font-size: 0.6rem; color: #94A3B8; }
.wtt-illus-app {
    display: flex;
    border-top: 1px solid #F1F5F9;
    min-height: 118px;
}
.wtt-illus-side {
    width: 44px;
    background: #F8FAFC;
    border-right: 1px solid #F1F5F9;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 12px 0;
}
.wtt-illus-side span {
    width: 26px;
    height: 26px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94A3B8;
    font-size: 0.7rem;
}
.wtt-illus-side span.on {
    background: #FDE8E8;
    color: #E5322D;
}
.wtt-illus-main {
    flex: 1;
    padding: 12px;
}
.wtt-illus-search {
    background: #F1F5F9;
    border-radius: 999px;
    height: 18px;
    display: flex;
    align-items: center;
    padding: 0 10px;
    color: #94A3B8;
    font-size: 0.6rem;
    margin-bottom: 10px;
}
.wtt-illus-tgrid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}
.wtt-illus-tgrid span {
    aspect-ratio: 1;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
}
/* --- Card 2: phone mockup --- */
.wtt-illus-phone2 {
    width: 138px;
    border-radius: 26px;
    padding: 8px 10px 10px;
}
.wtt-illus-status {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.6rem;
    font-weight: 600;
    color: #0B1F3A;
    padding: 2px 4px 8px;
}
.wtt-illus-sicons {
    display: flex;
    gap: 4px;
    color: #64748B;
    font-size: 0.55rem;
}
.wtt-illus-phome {
    background: #F8FAFC;
    border-radius: 14px;
    padding: 10px 8px;
}
.wtt-illus-psearch {
    background: #fff;
    border-radius: 999px;
    height: 16px;
    display: flex;
    align-items: center;
    padding: 0 8px;
    color: #94A3B8;
    font-size: 0.55rem;
    margin-bottom: 8px;
    box-shadow: 0 1px 3px rgba(11,31,58,.06);
}
.wtt-illus-ptgrid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 7px;
}
.wtt-illus-ptgrid span {
    aspect-ratio: 1;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
}
.wtt-illus-phnav {
    display: flex;
    justify-content: center;
    gap: 6px;
    padding-top: 10px;
}
.wtt-illus-phnav span {
    width: 18px;
    height: 4px;
    border-radius: 2px;
    background: #E2E8F0;
}
.wtt-illus-phnav span.on { background: #E5322D; width: 26px; }
/* --- Card 3: free checklist --- */
.wtt-illus-free {
    width: 215px;
    padding: 18px 20px 16px;
    position: relative;
}
.wtt-illus-freebadge {
    position: absolute;
    top: 12px;
    right: -6px;
    background: #E5322D;
    color: #fff;
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 1px;
    padding: 4px 14px 4px 10px;
    border-radius: 6px 0 0 6px;
    box-shadow: 0 4px 10px rgba(229,50,45,.3);
}
.wtt-illus-checks {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 26px 0 14px;
}
.wtt-illus-checks > div {
    display: flex;
    align-items: center;
    gap: 10px;
}
.wtt-illus-checks i {
    color: #059669;
    font-size: 1rem;
}
.wtt-illus-checks span {
    display: block;
    height: 8px;
    border-radius: 4px;
    background: #F1F5F9;
}
.wtt-illus-price {
    display: flex;
    align-items: baseline;
    gap: 8px;
    border-top: 1px dashed #E2E8F0;
    padding-top: 12px;
}
.wtt-illus-price b {
    font-size: 1.5rem;
    font-weight: 800;
    color: #0B1F3A;
}
.wtt-illus-price em {
    font-style: normal;
    font-size: 0.72rem;
    color: #6B7280;
}
/* --- card body: soft iLovePDF voice --- */
.wtt-workway-body {
    padding: 28px 30px 26px;
    position: relative;
    flex: 1;
}
.wtt-workway-body h3 {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--wtt-navy);
    margin: 0 0 10px;
    letter-spacing: 0.1px;
}
.wtt-workway-body p {
    font-size: 0.95rem;
    font-weight: 400;
    color: #6B7280;
    margin: 0;
    line-height: 1.75;
    padding-right: 40px;
}
.wtt-workway-arrow {
    position: absolute;
    right: 22px;
    bottom: 24px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--wtt-bg);
    color: var(--wtt-navy);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}

/* ---------- Search bar in hero ---------- */
.wtt-hero-search {
    max-width: 520px;
    margin: 24px auto 0;
    position: relative;
}
.wtt-hero-search input {
    width: 100%;
    padding: 14px 52px 14px 22px;
    border-radius: 999px;
    border: 1px solid var(--wtt-border);
    font-size: 1rem;
    box-shadow: var(--wtt-shadow);
    outline: none;
}
.wtt-hero-search input:focus { border-color: var(--wtt-red); }
.wtt-hero-search button {
    position: absolute;
    right: 6px;
    top: 6px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: var(--wtt-red);
    color: #fff;
    cursor: pointer;
}

/* ---------- iLovePDF-style filter pills ---------- */
.wtt-filter-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin: 0 auto 38px;
    max-width: 900px;
}
.wtt-pill {
    border: 1px solid var(--wtt-border);
    background: #fff;
    color: var(--wtt-navy);
    font-weight: 600;
    font-size: 0.85rem;
    padding: 9px 20px;
    border-radius: 999px;
    cursor: pointer;
    transition: all .15s ease;
    box-shadow: 0 1px 4px rgba(11, 31, 58, 0.05);
}
.wtt-pill:hover {
    border-color: var(--wtt-navy);
    transform: translateY(-1px);
}
.wtt-pill.active {
    background: var(--wtt-navy);
    border-color: var(--wtt-navy);
    color: #fff;
    box-shadow: 0 4px 12px rgba(11, 31, 58, 0.22);
}
/* ---------- All Tools header — iLovePDF style ---------- */
.wtt-section-title-xl {
    font-size: 2.1rem;
    font-weight: 800;
    letter-spacing: -0.015em;
    margin-bottom: 10px;
}
.wtt-section-sub {
    max-width: 660px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.65;
}
@media (max-width: 576px) {
    .wtt-section-title-xl { font-size: 1.6rem; }
}
/* ============ Header refinement 2026-10-11: left nav, hover dropdowns, slimmer bar ============ */
.wtt-header-inner {
    justify-content: flex-start;
    gap: 34px;
    height: 60px;
    padding: 0 20px;
    max-width: 1360px;
}
.wtt-header-actions {
    margin-left: auto;
}
.wtt-nav a.wtt-nav-link {
    font-size: 0.8rem;
    padding: 8px 11px;
}
.wtt-nav-caret {
    font-size: 0.58rem;
    margin-left: 6px;
    opacity: 0.55;
    transition: transform .15s ease;
}
.wtt-signup-btn {
    padding: 8px 22px;
    font-size: 0.85rem;
}
/* Pure-CSS hover dropdowns */
.wtt-has-dropdown {
    position: relative;
}
.wtt-has-dropdown::after {
    /* invisible hover bridge so the menu stays open while moving the mouse down */
    content: '';
    position: absolute;
    top: 100%;
    left: -8px;
    right: -8px;
    height: 14px;
}
.wtt-has-dropdown:hover > a.wtt-nav-link {
    color: var(--wtt-red);
    background: rgba(229, 50, 45, 0.06);
}
.wtt-has-dropdown:hover .wtt-nav-caret {
    transform: rotate(180deg);
}
.wtt-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 14px 34px rgba(11, 31, 58, 0.15);
    padding: 8px;
    min-width: 250px;
    z-index: 1040;
}
.wtt-has-dropdown:hover .wtt-dropdown {
    display: block;
}
.wtt-dropdown.wtt-dropdown-cols {
    min-width: 480px;
    grid-template-columns: 1fr 1fr;
    gap: 2px 6px;
}
.wtt-has-dropdown:hover .wtt-dropdown.wtt-dropdown-cols {
    display: grid;
}
.wtt-dropdown-cols > .wtt-dropdown-divider,
.wtt-dropdown-cols > a.wtt-dropdown-item.font-weight-bold {
    grid-column: 1 / -1;
}
.wtt-dropdown a.wtt-dropdown-item {
    display: block;
    padding: 9px 14px;
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--wtt-navy);
    text-decoration: none !important;
    white-space: nowrap;
    transition: background .12s ease, color .12s ease;
}
.wtt-dropdown a.wtt-dropdown-item:hover {
    background: rgba(229, 50, 45, 0.06);
    color: var(--wtt-red);
}
.wtt-dropdown .wtt-dropdown-divider {
    height: 1px;
    background: #eef0f5;
    margin: 6px 4px;
}

/* Mega menu (ALL TOOLS) - iLovePDF-style: 3 columns, small icons, clean sections */
.wtt-dropdown.wtt-mega {
    min-width: 660px;
    max-width: calc(100vw - 40px);
    left: auto;
    right: 0;
    transform: none;
    padding: 22px 26px 24px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px 30px;
}
.wtt-has-dropdown:hover .wtt-dropdown.wtt-mega {
    display: grid;
}
.wtt-mega-col-heading {
    display: block;
    font-weight: 700;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #707078;
    padding: 4px 0 10px;
    margin-bottom: 6px;
    border-bottom: 1px solid #e8eaf0;
}
.wtt-mega-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 7px 0;
    text-decoration: none !important;
    border-radius: 8px;
}
.wtt-mega-item > span:last-child {
    font-size: 14px;
    font-weight: 500;
    color: #33333b;
    line-height: 1.3;
}
.wtt-mega-item:hover > span:last-child {
    color: #E5322D;
}
.wtt-mega-ico {
    display: inline-flex;
    width: 26px;
    height: 26px;
    flex-shrink: 0;
}
.wtt-mega-ico svg {
    width: 26px;
    height: 26px;
    display: block;
}
@media (max-width: 1100px) {
    .wtt-dropdown.wtt-mega {
        min-width: 0;
        grid-template-columns: 1fr 1fr;
    }
}
@media (max-width: 1100px) {
    .wtt-header-inner { gap: 20px; }
    .wtt-nav a.wtt-nav-link { padding: 8px 8px; font-size: 0.76rem; }
}

/* All Tools - featured section (same compact iLovePDF-style cards) */
.wtt-trending-wrap{max-width:none;margin:0 auto;padding:16px 48px 8px}
.wtt-trending-head{text-align:center;margin-bottom:22px}
.wtt-trending-head h2{font-size:1.7rem;font-weight:800;color:#0B1F3A;margin:0 0 6px}
.wtt-trending-head p{color:#6B7280;font-size:.98rem;margin:0}
.wtt-trending-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:16px;align-items:stretch}
.wtt-trending-grid>*{min-width:0}

@media(max-width:640px){.wtt-trending-grid{gap:12px}}
@media(max-width:720px){.wtt-trending-head h2{font-size:1.35rem}}

/* ============ FAQ: How-to-use visual steps ============ */
.wtt-hiw-steps{display:flex;flex-direction:column;gap:12px;margin-top:8px}
.wtt-hiw-step{display:flex;gap:14px;align-items:center;background:#fff;border:1px solid #e8eaf0;border-radius:12px;padding:12px 14px}
.wtt-hiw-mock{flex:0 0 124px;height:76px;background:#F4F4FA;border-radius:10px;display:flex;align-items:center;justify-content:center;overflow:hidden}
.wtt-hiw-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:5px;width:88px}
.wtt-hiw-grid span{display:block;height:20px;border-radius:5px;background:#fff;box-shadow:0 1px 3px rgba(11,31,58,.08)}
.wtt-hiw-grid span:nth-child(1){background:#FDE8E4}
.wtt-hiw-grid span:nth-child(2){background:#EDE9FE}
.wtt-hiw-grid span:nth-child(3){background:#FEF3C7}
.wtt-hiw-grid span:nth-child(4){background:#E0F2FE}
.wtt-hiw-grid span:nth-child(5){background:#FDE8E4}
.wtt-hiw-grid span:nth-child(6){background:#EDE9FE}
.wtt-hiw-drop{border:2px dashed #c7ccd8;border-radius:8px;width:100px;height:54px;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#6B7280;font-size:11px;gap:3px;background:#fff}
.wtt-hiw-drop i{color:#E5322D;font-size:16px}
.wtt-hiw-sliders{display:flex;flex-direction:column;gap:12px;width:96px}
.wtt-hiw-sliders>div{height:6px;border-radius:3px;background:#e3e6ee;position:relative}
.wtt-hiw-sliders>div i{position:absolute;top:-4px;width:14px;height:14px;border-radius:50%;background:#E5322D;display:block}
.wtt-hiw-sliders>div:first-child i{left:60%}
.wtt-hiw-sliders>div:last-child i{left:30%}
.wtt-hiw-btn{background:#E5322D;color:#fff;font-weight:700;font-size:13px;padding:10px 24px;border-radius:999px;box-shadow:0 4px 12px rgba(229,50,45,.3)}
.wtt-hiw-step strong{color:#0B1F3A;font-size:.95rem}
.wtt-hiw-step p{margin:2px 0 0;font-size:.88rem;color:#6B7280;line-height:1.55}
@media(max-width:520px){.wtt-hiw-step{flex-direction:column;align-items:stretch}.wtt-hiw-mock{flex:none;width:100%}}
