
.xq-buy-section{
    padding: 14px 16px 16px;
}

.xq-buy-section-head{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    margin: 0 0 10px;
}

.xq-buy-section .page-title{
    margin:0;
    font-size: 16px;
    line-height: 1.35;
    font-weight: 800;
}

.xq-buy-section-more{
    margin-top:0 !important;
}

.xq-buy-related-products{
    margin-top: 12px !important;
}

.xq-buy-faq-related-grid{
    display:flex;
    gap:10px;
    flex-wrap:nowrap;
    overflow-x:auto;
    -webkit-overflow-scrolling:touch;
    align-items:stretch;
}

@media (min-width: 992px){
    .xq-buy-faq-related-card{
        flex:0 0 calc((100% - 30px) / 4);
    }
}

@media (min-width: 576px) and (max-width: 991.98px){
    .xq-buy-faq-related-card{
        flex:0 0 40%;
    }
}

@media (max-width: 575.98px){
    .xq-buy-faq-related-card{
        flex:0 0 78%;
    }
}

.xq-buy-faq-card{
    border-color: #dfe5ea !important;
    display:flex;
    flex-direction:column;
    justify-content:flex-start;
    gap:0;
    overflow:hidden;
    padding:0;
    transition: box-shadow .2s ease, border-color .2s ease, transform .2s ease;
}

.xq-buy-faq-title{
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    font-weight: 700;
}

.xq-buy-faq-thumb-wrap{
    width:100%;
    aspect-ratio:533 / 300;
    overflow:hidden;
    background:#f3f4f6;
}

.xq-buy-faq-thumb{
    width:100%;
    height:100%;
    display:block;
    object-fit:cover;
}

.xq-buy-faq-title-wrap{
    padding:12px 14px 13px;
    display:flex;
    flex-direction:column;
    gap:8px;
    min-height: calc(1.5em * 2 + 1.7em * 2 + 34px);
}

.xq-buy-faq-card:hover{
    border-color:#d8e5ea !important;
    box-shadow:0 10px 24px rgba(15, 23, 42, .08);
    transform:translateY(-1px);
}

.xq-buy-faq-desc{
    color:#6b7280;
    font-size:13px;
    line-height:1.7;
    margin:0;
    display:-webkit-box;
    -webkit-line-clamp:2;
    -webkit-box-orient:vertical;
    overflow:hidden;
    word-break:break-word;
}

@media (max-width: 991.98px){
    .xq-buy-section{
        padding: 13px 14px 14px;
        margin-top: 5px !important;
    }

    .xq-buy-section-head{
        margin-bottom: 9px;
    }

    .xq-buy-faq-related-grid{
        gap:8px;
    }
}

@media (max-width: 767.98px){
    .xq-buy-section{
        padding: 12px 12px 13px;
    }

    .xq-buy-faq-title-wrap{
        padding:11px 12px 12px;
    }

    .xq-buy-section-head{
        gap:8px;
        margin-bottom:8px;
    }

    .xq-buy-section-more{
        width:auto;
    }
}
