.faq-wrapper {
    display: flex;
    max-width: 1200px;
    margin-top: 3.75rem;
    gap: 2rem;
  }

  .faq-sidebar {
    border-right: 1px solid #eee;
  }

  .faq-sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }

input[type="radio"][name="faq-tab"] {
  display: none;
}



 

  .faq-content {
    flex: 1;
  }

  .faq-tab {
    display: none;
  }

/* Show only the selected tab content based on the radio button state */
#tab-payments:checked ~ .faq-wrapper .faq-content .faq-tab[data-tab="payments"] {
  display: block;
}
#tab-quality:checked ~ .faq-wrapper .faq-content .faq-tab[data-tab="quality"] {
  display: block;
}
#tab-delivery:checked ~ .faq-wrapper .faq-content .faq-tab[data-tab="delivery"] {
  display: block;
}
#tab-returns:checked ~ .faq-wrapper .faq-content .faq-tab[data-tab="returns"] {
  display: block;
}
#tab-other:checked ~ .faq-wrapper .faq-content .faq-tab[data-tab="other"] {
  display: block;
}


  .faq-tab details {
    border-bottom: 1px solid #e0e0e0;
    padding: 1rem 2rem;
  }

  .faq-tab summary {
    cursor: pointer;
    font-size: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    list-style: none;
  }

  .faq-tab summary::-webkit-details-marker {
    display: none;
  }

  .faq-answer {
   padding: 2rem 3rem;
    color: #444;
    font-size: 1.1rem;
  }

  .faq-index {
    font-size: 0.9rem;
    color: #999;
    margin-right: 1rem;
    min-width: 30px;
    display: inline-block;
  }


 
.faq-toggle {
  color: #999;
  font-size: 1.75rem;
  transition: transform 0.3s ease, color 0.2s ease;
  display: inline-block; 
}

details[open] .faq-toggle {
  transform: rotate(45deg);
  color: #333;
}



summary:hover .faq-toggle {
  color: #333;
}


  @media (max-width: 768px) {
    .faq-wrapper {
      flex-direction: column;
    }

    .faq-sidebar {
      width: 100%;
      border-right: none;
      border-bottom: 1px solid #eee;
    }
  }


.faq-sidebar label {
  display: flex;
  justify-content: space-between;
  padding: 0.9rem 1rem;
  font-size: 1.5rem;
  cursor: pointer;
  border-bottom: 1px solid #eee;
  transition: background-color 0.2s ease;
}


.faq-sidebar label:hover {
  background-color: #f5f5f5;
}


.faq-sidebar label.is-active {
  font-weight: bold;
  background-color: #fff;
  border-left: 4px solid #F08E34;
}


.faq-sidebar input[type="radio"]:checked + label,
.faq-sidebar label.is-active {
  font-weight: bold;
  background-color: #fff;
  border-left: 4px solid #F08E34;
}


.faq-sidebar input[type="radio"] {
  display: none;
}




@media (min-width: 769px) {
  .faq-wrapper {
    display: flex;
  }
  .faq-wrapper.mobile {
    display: none;
  }

  
}


.faq-wrapper .mobile{
  display:none;
}


.arrow-down{
      margin-left: 1.5rem;
}

.arrow-down svg {
  stroke: #999;
  transition: stroke 0.3s ease, transform 0.3s ease;
}

summary:hover .arrow-down svg {
  stroke: #333;
}

.faq-mobile-category[open] > summary .arrow-down svg {
  transform: rotate(180deg);
  stroke: #333;
}
.faq-sidebar[open] > summary .arrow-down svg {
  transform: rotate(180deg);
  stroke: #333;
}

.faq-sidebar label .arrow-down svg {
  stroke: #999;
  transition: stroke 0.3s ease, transform 0.3s ease;
}

.faq-sidebar label:hover .arrow-down svg {
  stroke: #333;
}

input[type="radio"]:checked + label .arrow-down svg {
  stroke: #333;
  transform: rotate(180deg);
}



@media (max-width: 768px) {
  .faq-wrapper {
    display: none;
  }
  .faq-wrapper.mobile {
    display: block;
  }

  .faq-mobile-category {
    border-bottom: 1px solid #eee;
  }

  .faq-mobile-category summary {
    cursor: pointer;
    font-size: 1.4rem;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .faq-mobile-questions details {
    padding: 0 1rem 1rem;
    border: none;
  }

  .faq-mobile-questions summary {
    font-size: 1.2rem;
    padding: 0.6rem 0;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .faq-answer {
    padding: 0.5rem 1rem;
  }
}


  @media (max-width: 768px) {


.faq-toggle svg {
  transition: transform 0.3s ease;
  transform: rotate(45deg);
  
}

.faq-question[open] .faq-toggle svg {
  transform: rotate(0deg);
}


  .faq-wrapper.mobile {
    display: block;
    padding: 1rem;
    background: #fff;
  }

  .faq-mobile-category {
    margin-bottom: 1rem;
    border: .5px solid #ccc;
    border-radius: 4px;
    overflow: hidden;
  }

  .faq-mobile-category > summary {
    display: flex;
    padding: 1rem;
    font-size: 1.4rem;
    cursor: pointer;
    border-bottom: .5px solid #eee;
    transition: background-color 0.2s ease, border-left 0.2s ease;
  }
  
  .faq-mobile-category[open] > summary,
  .faq-mobile-category > summary.is-active {
    font-weight: bold;
    background-color: #fff;
    border-left: 4px solid #F08E34;
  }

  .faq-mobile-questions {
    padding: 0.5rem 1rem;
  }

  .faq-mobile-questions details {
    padding: 0 1rem 1rem;
    border: none;
  }

  .faq-mobile-questions summary {
    font-size: 1.2rem;
    padding: 0.6rem 0;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .faq-answer {
    padding: 0.5rem 1rem;
    font-size: 1rem;
    color: #555;
  }

  .faq-index {
    font-size: 0.9rem;
    color: #999;
    margin-right: 0.5rem;
    font-weight: bold;
  }

}
