/* =====================================================
   ZIPP GEAR FAQ — WordPress Plugin Stylesheet
   Version: 1.0.0
   ===================================================== */

.zgf-wrap {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 15px;
    color: #1a1a1a;
    max-width: 920px;
    margin: 0 auto;
    padding: 2rem 0;
}

/* Header */
.zgf-header { margin-bottom: 1.5rem; }
.zgf-title {
    font-size: 22px !important;
    font-weight: 600 !important;
    color: #111 !important;
    margin: 0 0 4px !important;
    padding: 0 !important;
    border: none !important;
    line-height: 1.3 !important;
}
.zgf-count-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 500;
    padding: 2px 9px;
    border-radius: 20px;
    background: #f0f0ee;
    color: #888;
    margin-left: 8px;
    vertical-align: middle;
}
.zgf-sub {
    font-size: 13px;
    color: #888;
    margin: 0 !important;
}

/* Search */
.zgf-search-row { margin-bottom: 1.1rem; }
.zgf-search-row input {
    width: 100%;
    font-size: 14px;
    padding: 9px 13px;
    border: 1px solid #d4d4d0;
    border-radius: 8px;
    background: #fff;
    color: #111;
    outline: none;
    box-sizing: border-box;
    transition: border-color .15s;
}
.zgf-search-row input:focus { border-color: #e67e22; }

/* Filter labels */
.zgf-filter-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: #aaa;
    margin-bottom: 6px;
}

/* Filter buttons */
.zgf-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 1rem;
}
.zgf-fbtn, .zgf-tbtn {
    font-size: 12px;
    padding: 5px 12px;
    border-radius: 20px;
    border: 1px solid #d4d4d0;
    background: transparent;
    color: #666;
    cursor: pointer;
    transition: all .15s;
    line-height: 1.4;
}
.zgf-fbtn:hover, .zgf-tbtn:hover { background: #f5f5f3; }
.zgf-fbtn.zgf-active, .zgf-tbtn.zgf-active {
    background: #111;
    color: #fff;
    border-color: #111;
}

/* Section groups */
.zgf-section { margin-bottom: .85rem; }
.zgf-section-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: #aaa;
    padding: .45rem 0 .35rem;
    border-bottom: 1px solid #eee;
    margin-bottom: .4rem;
}

/* FAQ items */
.zgf-item {
    border: 1px solid #e8e8e6;
    border-radius: 8px;
    margin-bottom: 5px;
    overflow: hidden;
    background: #fff;
}
.zgf-item.zgf-hidden { display: none; }
.zgf-q {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px;
    cursor: pointer;
    user-select: none;
}
.zgf-q:hover { background: #fafaf8; }
.zgf-q-left {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    flex: 1;
}
.zgf-qnum {
    font-size: 11px;
    font-weight: 600;
    color: #bbb;
    min-width: 28px;
    padding-top: 2px;
}
.zgf-qbody { flex: 1; }
.zgf-qtext {
    font-size: 14px;
    font-weight: 600;
    color: #111;
    line-height: 1.45;
    margin: 0 !important;
}
.zgf-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-top: 5px;
}
.zgf-badge {
    font-size: 10px;
    padding: 2px 8px;
    border-radius: 10px;
    display: inline-block;
    line-height: 1.4;
    font-weight: 500;
}
.zgf-arrow {
    font-size: 11px;
    color: #bbb;
    min-width: 14px;
    text-align: right;
    padding-top: 3px;
    transition: transform .2s;
    flex-shrink: 0;
}
.zgf-item.zgf-open .zgf-arrow { transform: rotate(180deg); }

/* Answer */
.zgf-a {
    display: none;
    padding: 0 14px 14px 52px;
    font-size: 13.5px;
    color: #444;
    line-height: 1.75;
}
.zgf-item.zgf-open .zgf-a { display: block; }
.zgf-a ul, .zgf-a ol { margin: 6px 0 6px 18px; padding: 0; }
.zgf-a li { margin-bottom: 3px; }
.zgf-a strong { color: #111; font-weight: 600; }
.zgf-a em { font-style: italic; }
.zgf-a table {
    width: 100%;
    border-collapse: collapse;
    font-size: 12.5px;
    margin: 8px 0;
}
.zgf-a table th {
    background: #f5f5f3;
    font-weight: 600;
    text-align: left;
    padding: 6px 8px;
    border: 1px solid #e0e0de;
    color: #333;
}
.zgf-a table td {
    padding: 5px 8px;
    border: 1px solid #e8e8e6;
    vertical-align: top;
}
.zgf-a table tr:nth-child(even) td { background: #fafaf8; }
.zgf-ref {
    font-size: 11px;
    margin-top: 9px;
    padding: 6px 10px;
    background: #f7f7f5;
    border-radius: 6px;
    border-left: 3px solid #e0e0de;
    color: #999;
}

/* No results */
.zgf-no-results {
    display: none;
    font-size: 14px;
    color: #aaa;
    text-align: center;
    padding: 2.5rem 1rem;
}

/* Audience badge colours */
.zgf-aud-design      { background: #e8f2fc; color: #1a5fa0; }
.zgf-aud-appeng      { background: #eeedfe; color: #5a53c8; }
.zgf-aud-distributor { background: #fff0eb; color: #c44a1a; }
.zgf-aud-enduser     { background: #e6f7f1; color: #0e7a53; }
.zgf-aud-procurement { background: #faeeda; color: #8a5512; }

/* Responsive */
@media (max-width: 600px) {
    .zgf-a { padding-left: 14px; }
    .zgf-title { font-size: 18px !important; }
    .zgf-a table { font-size: 11px; }
}
