/**
 * StockBoxx FAQ Page Styles
 * Konwersja z Loveable FAQ.tsx
 *
 * Uproszczona wersja bez wyszukiwarki i sticky nav.
 */

/* =============================================================================
   SECTION 1: HERO
   ============================================================================= */
.sb-faq-hero {
    background-color: var(--sb-green-main);
    padding: 64px 0 48px;
    text-align: center;
}

@media (max-width: 767px) {
    .sb-faq-hero {
        padding: 48px 0 40px;
    }
}

/* Breadcrumbs */
.sb-faq-hero__breadcrumbs {
    font-size: 13px;
    line-height: 1.5;
    margin-bottom: 24px;
}

.sb-faq-hero__breadcrumbs a {
    color: rgba(255, 255, 255, 0.5) !important;
    text-decoration: none !important;
    transition: color 0.2s ease;
}

.sb-faq-hero__breadcrumbs a:hover {
    color: var(--sb-orange) !important;
}

.sb-faq-hero__breadcrumb-separator {
    color: rgba(255, 255, 255, 0.5);
    margin: 0 8px;
}

.sb-faq-hero__breadcrumbs span:last-child {
    color: rgba(255, 255, 255, 0.7);
}

/* Title */
.sb-faq-hero__title {
    font-size: clamp(24px, 4.5vw, 72px);
    line-height: 0.95;
    color: #FFFFFF !important;
    margin-bottom: 20px;
}

.sb-faq-hero .sb-heading {
    color: #FFFFFF !important;
}

/* Subtitle */
.sb-faq-hero__subtitle {
    font-size: 16px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.75);
    max-width: 600px;
    margin: 0 auto;
}

/* =============================================================================
   SECTION 2-7: FAQ CATEGORIES
   ============================================================================= */
.sb-faq-category {
    padding: 64px 0;
}

@media (max-width: 767px) {
    .sb-faq-category {
        padding: 48px 0;
    }
}

.sb-faq-category--white {
    background-color: #FFFFFF;
}

.sb-faq-category--off-white {
    background-color: var(--sb-off-white);
}

/* Header */
.sb-faq-category__header {
    margin-bottom: 32px;
}

.sb-faq-category__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    color: var(--sb-orange);
}

.sb-faq-category__title {
    font-size: clamp(26px, 3vw, 40px);
    line-height: 0.95;
    margin-bottom: 8px;
    text-transform: uppercase;
    font-weight: 800;
}

.sb-faq-category__badge {
    display: inline-block;
    font-size: 12px;
    line-height: 1.5;
    color: var(--sb-gray);
    margin-bottom: 8px;
}

.sb-faq-category__subtitle {
    font-size: 15px;
    line-height: 1.6;
    color: var(--sb-gray);
    max-width: 600px;
    margin: 0 auto;
}

/* =============================================================================
   FAQ ACCORDION
   ============================================================================= */
.sb-faq-accordion {
    max-width: 780px;
    margin: 0 auto;
}

.sb-faq-accordion__item {
    border-bottom: 1px solid #e0e0e0;
}

.sb-faq-accordion__trigger {
    all: unset;
    box-sizing: border-box;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
    cursor: pointer;
    text-align: left;
}

.sb-faq-accordion__trigger:hover,
.sb-faq-accordion__trigger:focus {
    background: none !important;
    background-color: transparent !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}

.sb-faq-accordion__trigger:hover .sb-faq-accordion__question {
    color: var(--sb-orange);
}

.sb-faq-accordion__question {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
    color: var(--sb-green-main);
    padding-right: 16px;
    transition: color 0.2s ease;
}

.sb-faq-accordion__icon {
    flex-shrink: 0;
    font-size: 22px;
    font-weight: 300;
    line-height: 1;
    color: var(--sb-orange);
    transition: transform 0.3s ease;
    user-select: none;
}

.sb-faq-accordion__item.is-open .sb-faq-accordion__icon {
    transform: rotate(45deg);
}

/* Content */
.sb-faq-accordion__content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.sb-faq-accordion__answer {
    padding-bottom: 20px;
}

.sb-faq-accordion__answer p {
    font-size: 15px;
    line-height: 1.7;
    color: #555;
    margin: 0 0 4px 0;
}

.sb-faq-accordion__answer p:last-child {
    margin-bottom: 0;
}

/* =============================================================================
   SECTION 8: CONTACT (NIE ZNALAZŁEŚ ODPOWIEDZI)
   ============================================================================= */
.sb-faq-contact {
    background-color: var(--sb-off-white);
    padding: 64px 0;
}

@media (max-width: 767px) {
    .sb-faq-contact {
        padding: 48px 0;
    }
}

.sb-faq-contact__title {
    font-size: clamp(28px, 3.5vw, 44px);
    line-height: 0.95;
    margin-bottom: 16px;
}

.sb-faq-contact__subtitle {
    font-size: 16px;
    line-height: 1.6;
    color: var(--sb-gray);
    margin-bottom: 40px;
}

/* Cards grid */
.sb-faq-contact__cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    max-width: 900px;
    margin: 0 auto 40px; /* mb-10 */
}

@media (min-width: 768px) {
    .sb-faq-contact__cards {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Card */
.sb-faq-contact__card {
    background-color: #FFFFFF;
    border-radius: 16px;
    padding: 28px;
    text-align: center;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.sb-faq-contact__card-content {
    flex-grow: 1;
}

.sb-faq-contact__card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    color: var(--sb-orange);
}

.sb-faq-contact__card-icon--whatsapp {
    color: #25D366;
}

.sb-faq-contact__card-title {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.5;
    color: var(--sb-card-foreground);
    margin: 0 0 8px 0;
    text-transform: none !important;
}

.sb-faq-contact__card-desc {
    font-size: 14px;
    line-height: 1.6;
    color: var(--sb-gray);
    margin: 0 0 20px 0;
}

.sb-faq-contact__card-phone {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.5;
    color: var(--sb-card-foreground);
    margin: 0 0 16px 0;
}

/* Contact card buttons */
.sb-faq-contact__card .sb-btn {
    padding: 12px 24px;
    height: auto;
    font-size: 14px;
    font-weight: 700;
    margin-top: auto; /* Push button to bottom */
}

/* WhatsApp button */
.sb-btn--whatsapp {
    background-color: #25D366 !important;
    border: 2px solid #25D366 !important;
    color: #FFFFFF !important;
}

.sb-btn--whatsapp:hover,
.sb-btn--whatsapp:focus {
    background-color: #1da851 !important;
    border: 2px solid #1da851 !important;
}

/* Social links - wzorowane na sb-contact-warehouse__social */
.sb-faq-contact__social {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.sb-faq-contact__social-link {
    width: 32px;
    height: 32px;
    border-radius: 9999px;
    background-color: rgba(0, 0, 0, 0.06);
    color: var(--sb-gray) !important;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none !important;
    transition: background-color var(--sb-transition);
}

.sb-faq-contact__social-link:visited,
.sb-faq-contact__social-link:focus,
.sb-faq-contact__social-link:active {
    color: var(--sb-gray) !important;
}

.sb-faq-contact__social-link:hover {
    background-color: rgba(0, 0, 0, 0.12);
    color: var(--sb-orange) !important;
}

.sb-faq-contact__social-link svg {
    width: 18px;
    height: 18px;
}

.sb-faq-contact__social-note {
    font-size: 12px;
    line-height: 1.33;
    color: #888888;
    text-align: center;
    margin: 0;
}

/* =============================================================================
   SECTION 9: CTA
   ============================================================================= */
.sb-faq-cta {
    background-color: var(--sb-green-main);
    padding: 64px 0;
}

@media (max-width: 767px) {
    .sb-faq-cta {
        padding: 48px 0;
    }
}

.sb-faq-cta__title {
    font-size: clamp(32px, 4.5vw, 56px);
    line-height: 0.95;
    color: #FFFFFF !important;
    margin-bottom: 16px;
}

.sb-faq-cta__subtitle {
    font-size: 16px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 32px;
}

.sb-faq-cta__buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    margin-bottom: 16px;
}

.sb-faq-cta__buttons .sb-btn {
    border-radius: 9999px;
}

.sb-faq-cta__note {
    font-size: 13px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
}
