/* =====================================================================
   Vehicle Compatibility Section — altawazun.ae child theme
   Compact accordion list, separate from Description/Additional Info tabs.
   ===================================================================== */

/* ── Section wrapper ────────────────────────────────────────────── */
.altawazun-vehicle-compat {
    margin-top: 36px;
    margin-bottom: 40px;
    padding: 24px 28px;
    border: 1px solid #e4e4e4;
    border-radius: 4px;
    background: #fff;
}

.vc-heading {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 6px;
    padding: 0;
    border: none;
}

.vc-intro {
    font-size: 12px;
    color: #888;
    margin: 0 0 16px;
}

/* ── List of makes ──────────────────────────────────────────────── */
.vc-list {
    display: flex;
    flex-direction: column;
    gap: 8px;               /* space between each make item */
}

/* ── Individual make item ───────────────────────────────────────── */
.vc-make-item {
    border: 1px solid #e8e8e8;
    border-radius: 3px;
    overflow: hidden;
}

/* ── Toggle button ──────────────────────────────────────────────── */
.vc-make-toggle {
    display: inline-flex;         /* shrink to content, not full width */
    align-items: center;
    gap: 8px;
    width: 100%;                  /* still spans the item, but item is contained */
    padding: 7px 12px;
    background: #fafafa;
    border: none;
    cursor: pointer;
    text-align: left;
    transition: background 0.12s ease;
}

.vc-make-toggle:hover {
    background: #f0f0f0;
}

.vc-make-toggle[aria-expanded="true"] {
    background: #f0f4ff;
}

/* ── Make name ──────────────────────────────────────────────────── */
.vc-make-name {
    flex: 1;
    font-size: 12px;
    font-weight: 600;
    color: #222;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    line-height: 1.3;
}

/* ── +/− icon ───────────────────────────────────────────────────── */
.vc-toggle-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 1.5px solid rgb(var(--colors-primary-background, 26 115 232));
    color: rgb(var(--colors-primary-background, 26 115 232));
    font-size: 14px;
    font-weight: 400;
    line-height: 1;
    transition: background 0.12s ease, color 0.12s ease, transform 0.18s ease;
}

.vc-make-toggle[aria-expanded="true"] .vc-toggle-icon {
    background: rgb(var(--colors-primary-background, 26 115 232));
    color: #fff;
    transform: rotate(45deg);
}

/* ── Expanded model chips ───────────────────────────────────────── */
.vc-models {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 8px 12px 10px;
    background: #fff;
    border-top: 1px solid #e8e8e8;
}

.vc-models[hidden] {
    display: none;
}

.vc-model {
    display: inline-block;
    padding: 3px 9px;
    border-radius: 3px;
    border: 1px solid #d8d8d8;
    background: #f8f8f8;
    font-size: 11px;
    color: #444;
    font-weight: 500;
    white-space: nowrap;
    line-height: 1.4;
}

/* ── Responsive ─────────────────────────────────────────────────── */
@media (max-width: 600px) {
    .altawazun-vehicle-compat {
        padding: 16px;
    }
    .vc-make-toggle {
        padding: 7px 10px;
    }
    .vc-models {
        padding: 7px 10px 9px;
        gap: 5px;
    }
}
