/* FAQ page visual QA — overrides site.css without editing it */

.faq-breadcrumb {
    padding: 48px 0 0;
}
.faq-breadcrumb-inner {
    max-width: 1165px;
    margin: 0 auto;
    padding: 0;
    font-size: 15px;
    color: #111;
}
.faq-breadcrumb-item {
    color: #111;
    font-weight: 500;
}
.faq-breadcrumb-sep {
    margin: 0 8px;
    color: #999;
}
.faq-breadcrumb-current {
    color: #c7893e;
    font-weight: 500;
}

.faq-hero {
    padding: 40px 0 56px;
    text-align: center;
}
.faq-hero-inner {
    max-width: 680px;
    margin: 0 auto;
    padding: 0 16px;
}
.faq-title {
    font-size: 40px;
    font-weight: 700;
    color: #000;
    letter-spacing: 3px;
    margin-bottom: 22px;
}
.faq-intro {
    font-size: 13px;
    font-weight: 400;
    color: #808080;
    line-height: 1.85;
    letter-spacing: 0.2px;
}

.faq-accordion-section {
    padding: 0 0 72px;
    background: #fff;
}
.faq-accordion-inner {
    max-width: 1165px;
    margin: 0 auto;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 36px;
}

.faq-item {
    background: transparent;
    border-radius: 0;
    overflow: visible;
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 72px;
    padding: 0 48px;
    background: #000;
    border: none;
    cursor: pointer;
    position: relative;
    transition: background 0.2s;
}
.faq-question:hover {
    background: #000;
}
.faq-question-inner {
    flex: 1;
    text-align: center;
}
.faq-question-label {
    font-size: 28px;
    font-weight: 400;
    color: #fff;
    letter-spacing: 2px;
}
.faq-cat-chevron {
    position: absolute;
    right: 22px;
    top: 50%;
    transform: translateY(-50%) rotate(0deg);
    font-size: 34px;
    line-height: 1;
    font-weight: 400;
    color: #fff;
    opacity: 1;
    transition: transform 0.3s ease;
    pointer-events: none;
}
.faq-item[data-open="true"] .faq-cat-chevron {
    transform: translateY(-50%) rotate(90deg);
    color: #c7893e;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
    background: #fff;
    color: #000;
}
.faq-answer-inner {
    padding: 16px 0 4px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* 展开：独立 Q&A 卡片（画板 5 / 6） */
.faq-qa {
    display: block;
    gap: 0;
    margin: 0;
    padding: 20px 24px 22px;
    background: #fff;
    border: 1px solid #e6e6e6;
    border-radius: 4px;
}
.faq-qa:last-child {
    border-bottom: 1px solid #e6e6e6;
}
.faq-bullet {
    display: none;
}
.faq-qa-body {
    width: 100%;
    --faq-mark: 28px;
}
.faq-q,
.faq-a {
    display: flex;
    align-items: flex-start;
    font-size: 14px;
    color: #111;
    line-height: 1.7;
    margin: 0 0 10px;
    font-weight: 700;
    padding-left: 0;
    text-indent: 0;
    text-wrap: pretty;
    word-break: keep-all;
    overflow-wrap: anywhere;
}
.faq-a {
    font-size: 13px;
    color: #333;
    line-height: 1.8;
    margin: 0 0 6px;
    font-weight: 400;
}
.faq-mark {
    flex: 0 0 var(--faq-mark);
    width: var(--faq-mark);
    font-weight: 700;
    color: #111;
}
.faq-text {
    flex: 1;
    min-width: 0;
}
.faq-nowrap {
    white-space: nowrap;
}
.faq-a-cont {
    display: block;
    padding-left: var(--faq-mark);
    text-indent: 0;
}
.faq-list {
    margin: 8px 0 0;
    padding-left: var(--faq-mark);
    list-style: none;
    color: #333;
    font-size: 13px;
    line-height: 1.8;
}
.faq-list li {
    margin-bottom: 6px;
    padding-left: 1.15em;
    text-indent: -1.15em;
}

/* 换粮饼图：灰双圈 + 扇形内百分比与一行说明 */
.faq-pie-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    padding: 20px 0 8px;
    margin: 0;
}
.faq-pie {
    width: 148px;
    height: 148px;
    border-radius: 50%;
    border: 12px solid #c5c5c5;
    box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 4px #d0d0d0;
    box-sizing: border-box;
    position: relative;
    margin: 0;
    overflow: hidden;
    display: block;
    flex-shrink: 0;
    color: inherit;
    outline: none;
}
.faq-pie--25 {
    background: conic-gradient(#c7893e 0 90deg, #f2f2f2 90deg 360deg);
}
.faq-pie--50 {
    background: conic-gradient(#c7893e 0 180deg, #f2f2f2 180deg 360deg);
}
.faq-pie--75 {
    background: conic-gradient(#f2f2f2 0 270deg, #c7893e 270deg 360deg);
}
.faq-pie--100 {
    background: #c7893e;
}
.faq-pie-num {
    display: none;
}
.faq-pie-label {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.1;
    text-align: center;
    white-space: nowrap;
    pointer-events: none;
    transform: translate(-50%, -50%);
}
.faq-pie-label small {
    display: block;
    font-size: 8px;
    font-weight: 500;
    letter-spacing: 0;
    margin-top: 3px;
    line-height: 1.2;
}
.faq-pie-label.on-gold { color: #fff; }
.faq-pie-label.on-cream { color: #c7893e; }
.faq-pie--25 .on-gold { top: 34%; left: 68%; }
.faq-pie--25 .on-cream { top: 66%; left: 36%; }
.faq-pie--50 .on-gold { top: 50%; left: 74%; }
.faq-pie--50 .on-cream { top: 50%; left: 26%; }
.faq-pie--75 .on-gold { top: 34%; left: 32%; }
.faq-pie--75 .on-cream { top: 66%; left: 68%; }
.faq-pie--100 .on-gold {
    top: 50%;
    left: 50%;
    font-size: 22px;
}
.faq-pie--25 .on-gold,
.faq-pie--75 .on-gold {
    font-size: 16px;
}
.faq-pie--25 .on-gold small,
.faq-pie--75 .on-gold small {
    font-size: 7px;
}
.faq-pie-cap { display: none; }
.faq-pie-arrow {
    width: 28px;
    flex-shrink: 0;
    text-align: center;
    color: #c0c0c0;
    font-size: 22px;
    font-weight: 400;
    line-height: 148px;
}

/* 狗喂养：金色顶栏 + 描边白盒 + 剪影 */
.faq-weight-row {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 58px;
    padding: 14px 8px 4px;
    margin: 8px 0 0;
    border: none;
}
.faq-weight-card {
    flex: 0 0 168px;
    width: 168px;
    max-width: 168px;
    background: #fff;
    color: #333;
    padding: 0;
    text-align: center;
    border: 1.5px solid #c7893e;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.faq-weight-card:last-child {
    border-right: 1.5px solid #c7893e;
}
.faq-weight-tag {
    background: #c7893e;
    color: #fff;
    font-size: 13px;
    font-weight: 500;
    padding: 0;
    height: 46px;
    line-height: 46px;
    display: block;
    width: 100%;
    margin-bottom: 0;
    border-radius: 0;
    min-width: 0;
    box-sizing: border-box;
}
.faq-weight-icon {
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 88px;
    width: 100%;
    border: none;
    box-sizing: border-box;
    background: #fff;
}
.faq-weight-icon svg {
    display: block;
    fill: #c7893e;
    max-width: 78%;
    height: auto;
}
.faq-weight-amount {
    font-size: 14px;
    font-weight: 600;
    color: #c7893e;
    margin: 0 0 14px;
}
.faq-weight-amount span {
    font-size: 12px;
    color: #c7893e;
    font-weight: 500;
    margin-left: 1px;
}

.faq-feed-tables {
    display: grid;
    grid-template-columns: minmax(0, 280px) minmax(0, 1fr);
    gap: 28px;
    align-items: start;
    padding: 12px 4px 4px;
    margin: 8px 0 0;
}
.faq-feed-block-title {
    color: #c7893e;
    font-size: 12px;
    font-weight: 500;
    margin: 0 0 8px;
}
.faq-table {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #c7893e;
    font-size: 12px;
    color: #c7893e;
    text-align: center;
}
.faq-table th {
    background: #c7893e;
    color: #fff;
    font-weight: 500;
    padding: 6px 8px;
    border: 1px solid #c7893e;
}
.faq-table td {
    padding: 6px 8px;
    border: 1px dashed #d8b48a;
    color: #c7893e;
    background: #fff;
}
.faq-table .faq-th-stub {
    background: #c7893e;
    color: #fff;
    font-weight: 500;
    border: 1px solid #c7893e;
}

@media (max-width: 768px) {
    .faq-breadcrumb-inner,
    .faq-accordion-inner {
        padding: 0 16px;
    }
    .faq-question {
        height: 48px;
        padding: 0 32px 0 12px;
    }
    .faq-question-label {
        font-size: 16px;
        letter-spacing: 1px;
    }
    .faq-cat-chevron {
        right: 12px;
        font-size: 20px;
    }
    .faq-qa {
        padding: 16px 14px;
    }
    .faq-pie-row {
        flex-wrap: wrap;
        gap: 16px 8px;
    }
    .faq-pie {
        width: 120px;
        height: 120px;
        border-width: 10px;
    }
    .faq-pie-label { font-size: 15px; }
    .faq-pie--100 .on-gold { font-size: 18px; }
    .faq-pie-arrow {
        display: none;
    }
    .faq-weight-row,
    .faq-feed-tables {
        flex-direction: column;
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .faq-weight-card {
        width: 100%;
        max-width: 220px;
    }
    .faq-title {
        font-size: 24px;
        letter-spacing: 2px;
    }
}
