/*
Theme Name: Lenqj Child
Template: fynode
*/

/* =========================
   CHIP BASE SYSTEM (UNIFIED)
========================= */

.klb-chip {
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 999px;
    border: 1px solid #e2e2e2;
    background: #f7f7f9;
    color: #222;
    text-decoration: none;
    line-height: 1.4;

    display: inline-flex;
    align-items: center;

    transition: all 0.2s ease;
    will-change: transform;
}

.klb-chip:hover {
    background: #111;
    color: #fff;
    border-color: #111;
    transform: translateY(-1px);
    box-shadow: 0 6px 14px rgba(0,0,0,0.08);
}

a.klb-chip {
    color: inherit;
    text-decoration: none;
}

.klb-chip:not(a) {
    cursor: default;
}

/* =========================
   TAGS / BRAND WRAPPER
========================= */

.klb-chips {
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.klb-attr-label {
    font-size: 11px;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.klb-attr-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    position: relative;
}

/* =========================
   COLLAPSIBLE (1 ROW AUTO)
========================= */

.klb-attr-chips:not(.expanded) {
    max-height: 38px; /* auto ~1 row */
    overflow: hidden;
}

.klb-attr-chips:not(.expanded)::after {
    content: "";
    position: absolute;
    right: 0;
    top: 0;
    width: 80px;
    height: 100%;
    background: linear-gradient(to right, transparent, #fff);
    pointer-events: none;
}

.klb-attr-chips.expanded {
    max-height: 1000px;
}

/* =========================
   +MORE CHIP
========================= */

.klb-chip.is-more {
    background: #111;
    color: #fff;
    border-color: #111;
    cursor: pointer;
}

.klb-chip.is-more:hover {
    opacity: 0.85;
    transform: translateY(-1px);
}

/* =========================
   PRODUCT SPEC SYSTEM
========================= */

.klb-premium-specs {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.klb-spec {
    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 14px;
    border: 1px solid #eaeaea;
    border-radius: 12px;
    background: #fff;
}

.klb-spec-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.klb-icon {
    font-size: 16px;
    display: flex;
    align-items: center;
}

.klb-icon-img {
    width: 18px;
    height: 18px;
    object-fit: contain;
}

.klb-label {
    font-size: 13px;
    font-weight: 600;
    color: #444;
}

.klb-values {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: flex-end;
}

.klb-value {
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 999px;
    border: 1px solid #e2e2e2;
    background: #f7f7f9;
    color: #222;

    display: inline-flex;
    align-items: center;

    transition: all 0.2s ease;
}

.klb-value:hover {
    background: #111;
    color: #fff;
    border-color: #111;
    transform: translateY(-1px);
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 600px) {

    .klb-spec {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .klb-values {
        justify-content: flex-start;
    }
}
