/* ── Forklift Sidebar ── */
.fk-sidebar {
    background: #ffffff;
    border: 1px solid #e6e6e6;
    border-radius: 10px;
    padding: 22px 20px 28px;
}

.fk-sidebar-header {
    font-weight: 800;
    font-size: 1.15rem;
    color: #1f1f1f;
    letter-spacing: 0.5px;
    padding-bottom: 14px;
    border-bottom: 1.5px solid #e8e8e8;
    margin-bottom: 12px;
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
}

.fk-sidebar-header span {
    color: #888;
    font-weight: 400;
}

.fk-sidebar a {
    display: block;
    text-decoration: none;
    transition: color 0.15s ease;
}

.fk-sidebar a:hover,
.fk-sidebar a:focus {
    color: #8a2be2;
    text-decoration: none;
    transform: none !important;
    -webkit-transform: none !important;
    -ms-transform: none !important;
}

/* depth 0 — FORKLIFT root */
.fk-sidebar-root {
    font-weight: 800;
    font-size: 1.15rem;
    font-family: 'Oswald', sans-serif;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: #1f1f1f;
    padding: 10px 0 10px;
    border-bottom: 1.5px solid #ececec;
    margin-bottom: 6px;
}

.fk-sidebar-root span { color: #888; font-weight: 400; font-size: 1rem; }

/* depth 1 — New Forklift / Second-hand Forklift / Forklift Battery */
.fk-sidebar-group {
    font-weight: 800;
    font-size: 1.1rem;
    font-family: inherit;
    color: #1a1a1a;
    padding: 12px 0 8px 0;
    margin-top: 4px;
    line-height: 1.4;
    border-bottom: none;
}

.fk-sidebar-group span { color: #555; font-weight: 400; font-size: 0.98rem; }

/* depth 2+ — CHL / TOYOTA / Electric Counter Balanced etc. */
.fk-sidebar-leaf {
    position: relative;
    font-size: 1rem;
    color: #444;
    padding: 7px 0 7px 22px;
    line-height: 1.5;
}

.fk-sidebar-leaf::before {
    content: "•";
    position: absolute;
    left: 4px;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
    font-size: 1.2rem;
    line-height: 1;
}

.fk-sidebar-leaf span { color: #888; font-size: 0.92rem; }

.fk-sidebar-active { color: #e87722 !important; }
.fk-sidebar-active.fk-sidebar-leaf::before { color: #e87722; }

/* ── Product Card (mirrors bcat-card style) ── */
.fk-card {
    position: relative;
    background: #ffffff;
    border-radius: 28px;
    padding: 16px 16px 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.fk-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.11);
}

.fk-card-imgbox {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 260px;
    padding: 15px;
    background: #f7f7f5;
    border-radius: 18px;
    margin-bottom: 18px;
    overflow: hidden;
}

.fk-card-imgbox img {
    max-width: 100%;
    max-height: 260px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.fk-card-title {
    text-align: center;
    font-weight: 800;
    color: #1f1f1f;
    font-size: 20px;
    margin: 0 0 22px;
    letter-spacing: 0.3px;
}

.fk-card-badges {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 22px;
}

.fk-badge {
    background: #f4f4f4;
    border-radius: 50px;
    padding: 14px 12px;
    font-size: 14px;
    color: #333;
    text-align: center;
    line-height: 1.5;
}

.fk-badge span {
    display: inline;
    color: #888;
    font-size: 14px;
}

.fk-badge em {
    color: #777;
    font-style: normal;
    margin-right: 2px;
}

.fk-card-btn {
    position: relative;
    z-index: 2;
    display: block;
    text-align: center;
    padding: 18px 24px;
    background: linear-gradient(90deg, #F18E53 0%, #FFB217 100%);
    color: #ffffff !important;
    font-weight: 700;
    font-size: 16px;
    border-radius: 50px;
    text-decoration: none;
    margin-top: auto;
    box-shadow: 0 6px 16px rgba(241, 142, 83, 0.3);
    transition: filter 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.fk-card-btn:hover {
    filter: brightness(1.05);
    color: #ffffff !important;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(255, 178, 23, 0.4);
}

/* ── Pagination ── */
.fk-pagination {
    display: inline-flex;
    align-items: stretch;
    border: 1.5px solid #d8dde6;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.fk-pg-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 52px;
    height: 52px;
    padding: 0 10px;
    background: #fff;
    color: #4a7fc1;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border: none;
    border-right: 1.5px solid #d8dde6;
    transition: background 0.15s, color 0.15s;
    cursor: pointer;
}

.fk-pg-btn:last-child { border-right: none; }

.fk-pg-btn:hover {
    background: #f0f4fb;
    color: #4a7fc1;
    transform: none !important;
    text-decoration: none;
}

.fk-pg-active {
    background: #4a7fc1 !important;
    color: #fff !important;
    border-right-color: #4a7fc1 !important;
}

.fk-pg-active:hover { background: #3a6aaa !important; }

.fk-pg-disabled { color: #b0b8c9 !important; pointer-events: none; background: #fff !important; }

.fk-pgList { text-align: center; padding: 20px 0 40px; }

/* ── Responsive ── */
@media (max-width: 991.98px) {
    .fk-card { padding: 16px 22px 16px; }
    .fk-card-imgbox { min-height: 220px; }
    .fk-card-imgbox img { max-height: 220px; }
    .fk-sidebar-group { font-size: 1rem; }
    .fk-sidebar-leaf { font-size: 0.95rem; }
}

@media (max-width: 575.98px) {
    .fk-card { padding: 16px 18px 16px; border-radius: 22px; }
    .fk-badge { padding: 12px 10px; border-radius: 50px; }
}
