/* ==========================================================
   FAQ PAGE STYLES
   Uses global typography, reset, buttons, containers, header,
   footer, and basket styles from core.css and basket-new.css.
   ========================================================== */

.faq-page {
  background: var(--color-white);
}

/* ================= HEADER ================= */

.main-nav .nav-wrapper {
  border-bottom: 1px solid var(--border-color);
}

/* ================= FAQ HERO IMAGE ================= */
.faq-hero {
  padding-top: clamp(40px, 6vw, 90px);
  padding-bottom: clamp(34px, 5vw, 70px);
  text-align: center;
}

.faq-hero picture {
  display: flex;
  justify-content: center;
  align-items: center;
}

.faq-hero img {
  display: block;
  width: min(100%, 300px);
  height: auto;
  margin-inline: auto;
  object-fit: contain;
}

/* ================= TAB AREA ================= */
.tab-area {
  padding: 0 0 8rem;
}

.tab-area .container {
  max-width: 1200px;
  margin: auto;
  padding-inline: 15px;
}

.tab-main {
  margin-top: 24px;
}

#tab-wrap {
  max-width: 1100px;
  margin: auto;
}

.skltbs-tab-group {
  max-width: 1050px;
  display: flex;
  justify-content: space-around;
  margin: auto;
  padding: 0;
  list-style: none;
}

.skltbs-tab-item {
  width: 100%;
  margin: 0 5px;
}

.skltbs-tab {
  font-family: "Quicksand", sans-serif;
  font-weight: 650;
  font-size: 20px;
  color: #000;
  background: #e5f6fc;
  cursor: pointer;
  width: 100%;
  height: 60px;
  border-radius: 10px 10px 0 0;
  margin-bottom: 4px;
  border: 0.5px solid #898989;
  position: relative;
  z-index: 3;
}

.skltbs-tab.active,
.skltbs-tab.skltbs-active,
.skltbs-tab-group__link.active,
.skltbs-tab-group__link.skltbs-active {
  font-weight: 750;
  z-index: 4;
}

.skltbs-tab-group li:nth-child(2) button {
  background: #fff5dd;
}

.skltbs-tab-group li:nth-child(3) button {
  background: #f1eaf3;
}

.skltbs-tab-group li:nth-child(4) button {
  background: #edf6e5;
}

.skltbs-panel-group {
  position: relative;
  z-index: 2;
  background: #fff;
}

.skltbs-panel {
  padding: 30px 0;
  border-radius: 10px;
  border: 0.5px solid #898989;
  margin-top: -5px;
  position: relative;
  z-index: 0;
}

.skltbs-panel:focus,
.skltbs-panel:focus-visible {
  outline: 0;
}

.skltbs-panel1 {
  background: #5ccaeb29;
}

.skltbs-panel2 {
  background: #fdbf2b29;
}

.skltbs-panel3 {
  background: #a67ab629;
}

.skltbs-panel4 {
  background: #8fc85d29;
}

.wraper-main {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.tab-cnt-item {
  padding-right: 25px;
}

.tab-cnt-item3 {
  width: 100%;
  padding-right: 0;
}

.tab-cnt-item p {
  padding-right: 0;
}

.tab-cnt-item p a,
.accordion-content a {
  text-decoration: underline;
  color: inherit;
}

/* ================= FAQ ACCORDION ================= */
.faq {
  width: 100%;
}

.faq .container {
  max-width: 900px;
  margin: auto;
  padding-inline: 15px;
}

.accordion-main {
  width: 100%;
}

.accordion-container .accordion-title {
  position: relative;
  cursor: pointer;
  border-bottom: 1px solid #c7c5c5;
  padding-block: 18px;
  margin: 0;
}

.accordion-container .accordion-title::before {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  width: 15px;
  height: 13px;
  transition: transform 0.3s;
  z-index: 2;
  background: url(/static/img/angle.webp) no-repeat center/contain;
  transform: translateY(-50%) rotate(0);
}

.accordion-container .accordion-title.open::before {
  transform: translateY(-50%) rotate(180deg);
}

/* Category question rows in Product Information tab */
.sticker-right-item {
  display: flex;
  align-items: center;
  margin-top: 0;
  padding-right: 30px;
  position: relative;
  line-height: 1.25;
}

/* All FAQ questions use the same font, size and weight */
.sticker-item-inner h2,
.accordion details summary {
  font-family: "Quicksand", sans-serif;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.25;
  color: #000;
}

.sticker-item-inner h2 {
  margin-left: 0;
}

.sticker-item-inner.icon {
  position: absolute;
  right: 20px;
}

.sticker-item-inner.icon img {
  opacity: 0;
}

.accordion-content {
  padding-top: 20px;
  padding-left: 10px;
  padding-right: 30px;
}

.accordion details {
  border-bottom: 1px solid #c7c5c5;
  padding-block: 18px;
}

.accordion details summary {
  transition: margin 150ms ease-out;
  cursor: pointer;
  list-style: none;
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  padding-right: 30px;
}

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

.accordion details summary::after {
  content: "";
  position: absolute;
  right: 0;
  width: 15px;
  height: 13px;
  background: url(/static/img/angle.webp) no-repeat center/contain;
  transition: 0.3s;
  transform: rotate(0);
}

.accordion details[open] summary {
  margin-bottom: 15px;
  user-select: none;
}

.accordion details[open] summary::after {
  transform: rotate(180deg);
}

.accordion details p {
  position: relative;
}

.accordion details p[itemprop="text"] {
  padding-inline: 20px;
}

/* Removed blue answer line */
.accordion details p[itemprop="text"]::before {
  display: none;
  content: none;
}

.accordion-content img {
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

/* ================= RESPONSIVE ================= */
@media screen and (max-width: 1199px) {
  .skltbs-tab {
    font-size: 16px;
  }
}

@media screen and (min-width: 768px) and (max-width: 991px) {
  .skltbs-tab {
    font-size: 15px;
  }

  .skltbs-panel {
    padding: 25px 15px;
  }
}

@media screen and (max-width: 767px) {
  .faq-hero {
    padding-top: 32px;
    padding-bottom: 42px;
  }

  .faq-hero img {
    width: min(100%, 200px);
  }

  .accordion-container .accordion-title,
  .accordion details {
    padding-block: 15px;
  }

  .sticker-right-item {
    padding-right: 30px;
    margin-top: 0;
  }

  .sticker-item-inner h2,
  .accordion details summary {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.25;
  }

  .accordion-content {
    text-align: left;
    padding-right: 23px;
  }

  .tab-cnt-item3 {
    width: 100%;
    padding-right: 0;
  }

  .skltbs-tab {
    font-size: 13px;
    margin-bottom: 10px;
    height: 47px;
    padding: 0 10px;
  }

  .tab-cnt-item p {
    text-align: left;
  }

  .tab-area {
    padding: 0 0 8rem;
  }

  .skltbs-panel {
    padding: 25px 0;
    margin-top: -12px;
    border-radius: 0;
  }

  .tab-item-wrapper button.skltbs-active,
  .tab-item-wrapper button.active {
    margin-top: -4px;
    height: 50px;
    transition: 0.3s;
  }

  .skltbs-tab-item {
    margin: 0 3px;
  }

  .skltbs-tab-item:first-child {
    margin-left: 0;
  }

  .skltbs-tab-item:last-child {
    margin-right: 0;
  }

  .tab-cnt-item {
    padding: 0 10px;
    margin-bottom: 16px;
    margin-top: 10px;
  }
}

@media screen and (max-width: 575px) {
  .skltbs-tab-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .skltbs-tab-item {
    margin: 0;
  }

  .skltbs-tab {
    border-radius: 8px;
    margin-bottom: 0;
  }

  .skltbs-panel {
    margin-top: 12px;
    border-radius: 8px;
  }

  .sticker-item-inner h2,
  .accordion details summary {
    font-size: 15px;
  }
}

@media screen and (max-width: 969px) {
  .header-bottom-sm {
    border-bottom: 1px solid var(--border-color);
  }
}