/* ===== Collection Page Styles ===== */

.collection-page {
    max-width: 800px;
    margin: 110px auto 60px;
    padding: 0 16px;
    text-align: left;
}

/* H1 */
.collection-h1 {
    font-size: 26px;
    font-weight: 700;
    color: #222;
    text-align: center;
    margin: 0 0 16px;
    line-height: 1.3;
}

/* Trust Badges */
.trust-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin: 0 0 24px;
    padding: 12px;
    background: #f5f9f5;
    border-radius: 10px;
}
.trust-badge {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    color: #333;
    font-weight: 600;
    white-space: nowrap;
}
.trust-badge svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

/* Intro Content */
.collection-intro {
    font-size: 15px;
    line-height: 1.7;
    color: #444;
    margin: 0 0 28px;
}
.collection-intro p {
    margin: 0 0 14px;
    text-align: left;
}
.collection-intro strong {
    color: #006600;
}

/* Product Grid */
.collection-products {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0;
    margin: 0 0 32px;
}
.collection-products .card {
    opacity: 0;
    transform: translateY(20px) scale(0.98);
    animation: collectionCardReveal 0.35s ease-out forwards;
}
@keyframes collectionCardReveal {
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}
.collection-products .card:nth-child(1) { animation-delay: 0.04s; }
.collection-products .card:nth-child(2) { animation-delay: 0.10s; }
.collection-products .card:nth-child(3) { animation-delay: 0.16s; }
.collection-products .card:nth-child(4) { animation-delay: 0.22s; }
.collection-products .card:nth-child(5) { animation-delay: 0.28s; }
.collection-products .card:nth-child(6) { animation-delay: 0.34s; }
.collection-products .card:nth-child(7) { animation-delay: 0.40s; }
.collection-products .card:nth-child(8) { animation-delay: 0.46s; }

#collection-loading {
    text-align: center;
    padding: 40px;
    color: #888;
    font-size: 15px;
}

/* Educational Content */
.collection-content {
    margin: 0 0 32px;
}
.collection-content h2 {
    font-size: 20px;
    font-weight: 700;
    color: #222;
    margin: 0 0 12px;
    text-align: left;
}
.collection-content p {
    font-size: 15px;
    line-height: 1.7;
    color: #444;
    margin: 0 0 14px;
    text-align: left;
}
.collection-content ul {
    margin: 0 0 14px;
    padding-left: 20px;
}
.collection-content li {
    font-size: 15px;
    line-height: 1.7;
    color: #444;
    margin-bottom: 6px;
    text-align: left;
}

/* Comparison / Nutrition Tables */
.collection-table {
    width: 100%;
    border-collapse: collapse;
    margin: 0 0 20px;
    font-size: 14px;
}
.collection-table th {
    background: #006600;
    color: #fff;
    padding: 10px 12px;
    text-align: left;
    font-weight: 600;
}
.collection-table td {
    padding: 8px 12px;
    border-bottom: 1px solid #e8e8e8;
    color: #333;
}
.collection-table tr:nth-child(even) {
    background: #f9f9f9;
}

/* Testimonials */
.collection-testimonials {
    margin: 0 0 32px;
}
.collection-testimonials h2 {
    font-size: 20px;
    font-weight: 700;
    color: #222;
    margin: 0 0 16px;
    text-align: left;
}
.testimonial-card {
    background: #fff;
    border-radius: 12px;
    padding: 16px 18px;
    margin: 0 0 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
    border-left: 4px solid #006600;
}
.testimonial-stars {
    color: #f5a623;
    font-size: 16px;
    margin-bottom: 6px;
}
.testimonial-text {
    font-size: 14px;
    line-height: 1.6;
    color: #444;
    font-style: italic;
    margin-bottom: 8px;
}
.testimonial-author {
    font-size: 13px;
    font-weight: 600;
    color: #006600;
}

/* FAQ Accordion */
.collection-faq {
    margin: 0 0 32px;
}
.collection-faq h2 {
    font-size: 20px;
    font-weight: 700;
    color: #222;
    margin: 0 0 16px;
    text-align: left;
}
.faq-item {
    border: 1px solid #e8e8e8;
    border-radius: 10px;
    margin: 0 0 8px;
    overflow: hidden;
    background: #fff;
}
.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 16px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    color: #222;
    background: #fafafa;
    transition: background 0.2s;
}
.faq-question:hover {
    background: #f0f7f0;
}
.faq-icon {
    font-size: 20px;
    font-weight: 700;
    color: #006600;
    flex-shrink: 0;
    width: 24px;
    text-align: center;
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 16px;
}
.faq-item.open .faq-answer {
    padding: 0 16px 14px;
}
.faq-answer p {
    font-size: 14px;
    line-height: 1.7;
    color: #555;
    margin: 10px 0 0;
    text-align: left;
}

/* Cross-links */
.collection-crosslinks {
    margin: 0 0 32px;
    padding: 20px;
    background: #f5f9f5;
    border-radius: 12px;
}
.collection-crosslinks h3 {
    font-size: 16px;
    font-weight: 700;
    color: #222;
    margin: 0 0 12px;
    text-align: left;
}
.crosslink-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.crosslink-list a {
    display: inline-block;
    padding: 6px 14px;
    background: #fff;
    border: 1px solid #006600;
    border-radius: 20px;
    color: #006600;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}
.crosslink-list a:hover {
    background: #006600;
    color: #fff;
}

/* CTA Banner */
.collection-cta {
    background: linear-gradient(135deg, #006600 0%, #004d00 100%);
    border-radius: 14px;
    padding: 28px 24px;
    text-align: center;
    margin: 0 0 32px;
}
.collection-cta h2 {
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 8px;
}
.collection-cta p {
    color: rgba(255,255,255,0.9);
    font-size: 14px;
    margin: 0 0 16px;
}
.cta-button {
    display: inline-block;
    padding: 12px 32px;
    background: linear-gradient(135deg, #ff6d00, #e65100);
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    border-radius: 25px;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(230,81,0,0.35);
    transition: transform 0.2s, box-shadow 0.2s;
}
.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(230,81,0,0.45);
}

/* Breadcrumb */
.collection-breadcrumb {
    font-size: 13px;
    color: #888;
    margin: 0 0 16px;
}
.collection-breadcrumb a {
    color: #006600;
    text-decoration: none;
    font-weight: 600;
}
.collection-breadcrumb a:hover {
    text-decoration: underline;
}

/* ===== Responsive ===== */
@media (max-width: 767px) {
    .collection-page {
        margin-top: 130px;
        padding: 0 10px;
    }
    .collection-h1 {
        font-size: 22px;
    }
    .trust-badges {
        gap: 6px;
        padding: 10px;
    }
    .trust-badge {
        font-size: 11px;
    }
    .collection-products .card {
        width: calc(50% - 12px);
        margin: 6px;
    }
    .collection-products .card img {
        height: 140px;
    }
    .collection-table {
        font-size: 12px;
    }
    .collection-table th,
    .collection-table td {
        padding: 6px 8px;
    }
}

@media (min-width: 768px) {
    .collection-products .card {
        width: 160px;
        margin: 8px;
    }
}
