/* ==========================================================================
   FAQ, Rules & Shopping Guide Page Styles
   ========================================================================== */

/* ==================== BREADCRUMB ==================== */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-muted);
    margin: 2rem auto;
    max-width: var(--container-width);
}

.breadcrumb a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumb a:hover {
    color: var(--text-main);
}

@media (max-width: 480px) {
    .breadcrumb {
        font-size: 12px;
        margin: 16px;
    }
}

.info-page {
    padding-top: 30px;
    padding-bottom: 50px;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

/* Base Info Card */
.info-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 36px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
    margin: 2rem auto;
    max-width: var(--container-width);
}

.info-card__header {
    text-align: center;
    margin-bottom: 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.info-card__icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid #e2e8f0;
    color: #0f766e;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    background-color: #ffffff;
}

.info-card__title {
    font-size: 24px;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 6px;
}

.info-card__subtitle {
    font-size: 13px;
    color: #64748b;
}

/* 1. FAQ Accordion Styles */
.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.faq-item {
    background-color: #f8fafc;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.2s ease;
}

.faq-item__question {
    width: 100%;
    padding: 18px 20px;
    background: transparent;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    text-align: right;
    font-size: 14px;
    font-weight: 700;
    color: #1e293b;
}

.faq-item__arrow {
    color: #64748b;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-item__answer {
    max-height: 0;
    overflow: hidden;
    transition:
        max-height 0.3s ease,
        padding 0.3s ease;
    padding: 0 20px;
    background-color: #f8fafc;
}

.faq-item__answer p {
    font-size: 13px;
    color: #64748b;
    line-height: 1.8;
    margin-bottom: 16px;
}

/* Accordion Active State */
.faq-item--active {
    background-color: #f1f5f9;
}

.faq-item--active .faq-item__arrow {
    transform: rotate(180deg);
}

.faq-item--active .faq-item__answer {
    max-height: 200px;
}

/* Support Banner (Inside FAQ) */
.support-banner {
    background-color: #f8fafc;
    border-radius: 14px;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 10px;
}

.support-banner__text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.support-banner__text strong {
    font-size: 14px;
    color: #1e293b;
}

.support-banner__text span {
    font-size: 12px;
    color: #64748b;
}

.support-banner__btn {
    background-color: #0f766e;
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: opacity 0.2s;
}

.support-banner__btn:hover {
    opacity: 0.9;
}

.support-banner__icon {
    width: 44px;
    height: 44px;
    background-color: #e6f4f1;
    color: #0f766e;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    order: -1;
}

/* 2. Rules Grid */
.rules-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.rule-card {
    border: 1px solid #f1f5f9;
    border-radius: 14px;
    padding: 20px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background-color: #ffffff;
}

.rule-card__icon {
    width: 44px;
    height: 44px;
    background-color: #f8fafc;
    color: #0f766e;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.rule-card__content h3 {
    font-size: 14px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 6px;
}

.rule-card__content p {
    font-size: 12px;
    color: #64748b;
    line-height: 1.7;
}

.rules-alert {
    background-color: #f8fafc;
    border-radius: 14px;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.rules-alert__content {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    color: #334155;
    font-weight: 500;
}

.rules-alert__icon {
    color: #0f766e;
    display: flex;
}

.rules-alert__btn {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    color: #334155;
    padding: 8px 18px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
}

.rules-alert__btn:hover {
    background-color: #f1f5f9;
}

/* 3. Steps / How to Buy */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    margin-bottom: 24px;
    position: relative;
}

.step-card {
    border: 1px solid #f1f5f9;
    border-radius: 16px;
    padding: 24px 14px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    background-color: #ffffff;
}

.step-card__badge {
    position: absolute;
    top: -12px;
    width: 24px;
    height: 24px;
    background-color: #e2e8f0;
    color: #475569;
    border-radius: 50%;
    font-size: 11px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-card__icon {
    width: 46px;
    height: 46px;
    background-color: #f8fafc;
    color: #0f766e;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    margin-top: 4px;
}

.step-card h3 {
    font-size: 13px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 8px;
}

.step-card p {
    font-size: 11px;
    color: #64748b;
    line-height: 1.6;
}

.shipping-banner {
    background-color: #f8fafc;
    border-radius: 14px;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    text-align: center;
}

.shipping-banner__icon {
    color: #0f766e;
    display: flex;
}

.shipping-banner__text {
    display: flex;
    align-items: center;
    gap: 8px;
}

.shipping-banner__text strong {
    font-size: 14px;
    color: #1e293b;
}

.shipping-banner__text span {
    font-size: 12px;
    color: #64748b;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .rules-grid {
        grid-template-columns: 1fr;
    }
    .steps-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .support-banner {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    .support-banner__icon {
        order: 0;
    }
    .shipping-banner__text {
        flex-direction: column;
        gap: 4px;
    }
}

@media (max-width: 480px) {
    .steps-grid {
        grid-template-columns: 1fr;
    }
    .rules-alert {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
    .info-card {
        padding: 20px;
    }
    .info-card__title {
        font-size: 19px;
    }
    .faq-item__question {
        padding: 14px 16px;
        font-size: 13px;
    }
    .rule-card {
        padding: 16px;
        gap: 12px;
    }
}
