/* Dynamic FAQ section on Product Pages*/

.dynamic-faq-section .sp-one.first_item{
padding: 20px 0 !important;
}

.dynamic-faq-section {
padding: 60px 0;
}

.third_item .link-btn{
margin-top:15px !important;
}

.dynamic-faq-section .second_item .col-lg-6{
padding-right: 30px;
padding-left: 30px;
}

.faq-item {
background: #ffffff;
border-radius: 5px;
margin-bottom: 30px;
box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
overflow: hidden;
transition: box-shadow 0.3s ease;
}

.faq-item:hover {
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.faq-header {
display: flex;
align-items: center;
padding: 20px 24px;
cursor: pointer;
user-select: none;
transition: background-color 0.3s ease;
}

.faq-header:hover {
background-color: #EDEFF2;
}

.faq-icon {
width: 18px;
height: 18px;
min-width: 18px;
display: flex;
align-items: center;
justify-content: center;
margin-right: 16px;
font-size: 36px;
font-weight: 500;
color: #e6202d;
transition: transform 0.3s ease, color 0.3s ease;
}

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

.faq-item.active .faq-header {
background:#EDEFF2;
}

.faq-item.active .faq-question{
color:#e6202d;
}

/* FAQ Question (Heading) */
.faq-question {
font-family: "Montserrat", sans-serif;
font-weight: 500;
font-size: 16px;
color: #222222;
text-transform: none !important;
}

.faq-content {
max-height: 0;
overflow: hidden;
transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.active .faq-content {
max-height: 500px;
}

/* FAQ Answer (Paragraph) */
.faq-answer {
padding: 24px 24px 0px 60px;
color: #000000 !important;
line-height: 1.7;
font-family: "Montserrat", sans-serif;
font-weight: 400;
font-size: 14px;
}

@media (max-width: 768px) {
.dynamic-faq-section .second_item .col-lg-6 {
padding-right: 15px;
padding-left: 15px;
}

.faq-icon{
font-size: 28px !important;
}

.row {
grid-template-columns: 1fr;
}

.faq-question {
font-size: 16px;
}

.faq-answer {
padding: 20px 20px 0 58px;
font-size: 14px;
}

.faq-header {
padding: 16px 20px;
}
}