/* FAQ — Delivery Information + accordion. */

.site-main--faq,
body.page-template-page-faq {
  background: #fff;
  color: #000;
}

.faq-delivery {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  padding: 88px 64px 40px;
  background: #fff;
  scroll-margin-top: 150px;
}

.faq-delivery__inner {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 24px;
  width: 100%;
  max-width: 1600px;
}

.faq-delivery__inner > *:first-child {
  margin-top: 0;
}

.faq-delivery__inner > *:last-child {
  margin-bottom: 0;
}

.faq-delivery h2 {
  margin: 0;
  color: #000;
  font-family: var(--font-sans);
  font-size: 32px;
  font-weight: 700;
  line-height: 40px;
}

.faq-delivery p {
  margin: 0;
  color: #000;
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 27px;
}

.faq-delivery__scroll {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.faq-delivery__table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  color: #000;
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
}

.faq-delivery__table th,
.faq-delivery__table td {
  padding: 12px 16px;
  border: 1px solid #cbcac9;
  text-align: left;
  vertical-align: top;
}

.faq-delivery__table thead th {
  background: #efe4d2;
  font-weight: 700;
}

.faq-delivery__table tbody th {
  font-weight: 700;
  width: 36%;
}

.faq-band {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  padding: 40px 64px 88px;
  background: #fff;
}

.faq-band__title {
  margin: 0 0 8px;
  color: #000;
  font-family: var(--font-sans);
  font-size: 32px;
  font-weight: 700;
  line-height: 40px;
}

.faq-band__inner {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 24px;
  width: 100%;
  max-width: 1600px;
}

.faq-item {
  box-sizing: border-box;
  width: 100%;
  margin: 0;
  overflow: hidden;
  border: 1px solid #cbcac9;
  border-radius: 4px;
  background: #fff;
}

.faq-item__heading {
  margin: 0;
}

.faq-item__toggle {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  box-sizing: border-box;
  width: 100%;
  margin: 0;
  padding: 20px 24px;
  border: 0;
  background: #fff;
  color: #000;
  cursor: pointer;
  text-align: left;
  transition: background-color 0.3s ease;
}

.faq-item.is-open .faq-item__toggle {
  background: #efe4d2;
}

.faq-item__question {
  flex: 1 1 auto;
  min-width: 0;
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 400;
  line-height: 24px;
  transition: font-weight 0.2s ease;
}

.faq-item.is-open .faq-item__question {
  font-weight: 700;
}

.faq-item__icon {
  position: relative;
  flex: none;
  width: 16px;
  height: 16px;
}

.faq-item__icon::before,
.faq-item__icon::after {
  content: "";
  position: absolute;
  background: #000;
}

.faq-item__icon::before {
  top: 7px;
  left: 0;
  width: 16px;
  height: 2px;
}

.faq-item__icon::after {
  top: 0;
  left: 7px;
  width: 2px;
  height: 16px;
  transform: scaleY(1);
  transform-origin: center;
  transition: transform 0.3s ease;
}

.faq-item.is-open .faq-item__icon::after {
  transform: scaleY(0);
}

.faq-item__panel {
  display: grid;
  grid-template-rows: 0fr;
  background: #fff;
  border-top: 1px solid transparent;
  transition: grid-template-rows 0.35s ease, border-color 0.3s ease;
}

.faq-item.is-open .faq-item__panel {
  grid-template-rows: 1fr;
  border-top-color: #cbcac9;
}

.faq-item__panel-inner {
  overflow: hidden;
  min-height: 0;
}

.faq-item__answer {
  margin: 0;
  padding: 16px 24px 24px;
  color: #000;
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 27px;
}

.faq-item__answer p {
  margin: 0 0 16px;
}

.faq-item__answer p:last-child {
  margin-bottom: 0;
}

.faq-item__answer a {
  color: #a78359;
  text-decoration: underline;
}

@media (max-width: 1199px) {
  .faq-delivery {
    padding: 56px 24px 24px;
  }

  .faq-delivery h2,
  .faq-band__title {
    font-size: 28px;
    line-height: 36px;
  }

  .faq-band {
    padding: 24px 24px 56px;
  }

  .faq-item__question {
    font-size: 16px;
    line-height: 22px;
  }
}

@media (max-width: 767px) {
  .faq-delivery {
    padding: 32px 16px 16px;
  }

  .faq-delivery h2,
  .faq-band__title {
    font-size: 24px;
    line-height: 32px;
  }

  .faq-delivery__table {
    font-size: 14px;
    line-height: 20px;
  }

  .faq-delivery__table th,
  .faq-delivery__table td {
    padding: 10px 12px;
  }

  .faq-band {
    padding: 16px 16px 48px;
  }

  .faq-band__inner {
    gap: 16px;
  }

  .faq-item__toggle {
    padding: 16px;
    gap: 16px;
  }

  .faq-item__answer {
    padding: 12px 16px 16px;
  }
}
