.single-product .woocommerce-product-gallery {
  position: relative;
}

.single-product .goodlife-gallery-controls {
  pointer-events: none;
}

.single-product .goodlife-gallery-arrow {
  align-items: center;
  background: rgba(255, 255, 255, 0.94);
  border: 0;
  border-radius: 999px;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.16);
  color: #1f2937;
  cursor: pointer;
  display: flex;
  font-size: 38px;
  height: 46px;
  justify-content: center;
  line-height: 1;
  padding: 0 0 5px;
  pointer-events: auto;
  position: absolute;
  top: 46%;
  transform: translateY(-50%);
  transition: background-color 160ms ease, color 160ms ease, transform 160ms ease;
  width: 46px;
  z-index: 8;
}

.single-product .goodlife-gallery-arrow:hover,
.single-product .goodlife-gallery-arrow:focus-visible {
  background: #9d50bb;
  color: #fff;
  outline: 3px solid rgba(157, 80, 187, 0.24);
  transform: translateY(-50%) scale(1.04);
}

.single-product .goodlife-gallery-previous {
  left: 14px;
}

.single-product .goodlife-gallery-next {
  right: 14px;
}

.single-product .goodlife-gallery-counter {
  background: rgba(17, 24, 39, 0.78);
  border-radius: 999px;
  bottom: 108px;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: 5px 10px;
  pointer-events: none;
  position: absolute;
  right: 14px;
  z-index: 8;
}

.single-product .woocommerce-product-gallery .flex-control-thumbs {
  display: flex;
  gap: 10px;
  margin-top: 14px;
  overflow-x: auto;
  padding-bottom: 8px;
  scroll-snap-type: x proximity;
}

.single-product .woocommerce-product-gallery .flex-control-thumbs li {
  flex: 0 0 calc((100% - 40px) / 5);
  float: none;
  margin: 0;
  scroll-snap-align: start;
  width: auto;
}

.single-product .woocommerce-product-gallery .flex-control-thumbs img {
  border: 2px solid transparent;
  border-radius: 8px;
  opacity: 0.7;
  transition: border-color 160ms ease, opacity 160ms ease;
}

.single-product .woocommerce-product-gallery .flex-control-thumbs img.flex-active,
.single-product .woocommerce-product-gallery .flex-control-thumbs img:hover {
  border-color: #9d50bb;
  opacity: 1;
}

.single-product .goodlife-tier-pricing {
  border-bottom: 1px solid #e5e7eb;
  border-top: 1px solid #e5e7eb;
  margin: 24px 0 20px;
  padding: 20px 0;
}

.single-product .goodlife-tier-pricing h2 {
  color: #111827;
  font-size: 20px;
  margin: 0 0 8px;
}

.single-product .goodlife-tier-pricing > p {
  color: #64748b;
  font-size: 14px;
  margin: 0 0 12px;
}

.single-product .goodlife-tier-table-wrap {
  overflow-x: auto;
}

.single-product .goodlife-tier-table {
  border-collapse: collapse;
  font-size: 14px;
  margin: 0;
  width: 100%;
}

.single-product .goodlife-tier-table th,
.single-product .goodlife-tier-table td {
  border-bottom: 1px solid #e5e7eb;
  padding: 10px 8px;
  text-align: left;
}

.single-product .goodlife-tier-table th {
  background: #f8fafc;
  color: #334155;
  font-weight: 700;
}

.single-product .goodlife-commerce-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 18px 0 10px;
}

.single-product .goodlife-commerce-actions .button {
  align-items: center;
  border-radius: 10px;
  display: inline-flex;
  font-weight: 700;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  text-align: center;
}

.single-product .goodlife-commerce-actions .goodlife-buy-now,
.single-product .goodlife-commerce-actions .goodlife-quote-button {
  background: #9d50bb;
  border: 2px solid #9d50bb;
  color: #fff;
}

.single-product .goodlife-commerce-actions .goodlife-quote-button:hover,
.single-product .goodlife-commerce-actions .goodlife-buy-now:hover {
  background: #843da4;
  border-color: #843da4;
  color: #fff;
}

.single-product .goodlife-order-note {
  color: #64748b;
  font-size: 14px;
  line-height: 1.6;
  margin: 0 0 20px;
}

.goodlife-inquiry-status {
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.5;
  margin-top: 14px;
  padding: 0;
}

.goodlife-inquiry-status.is-success,
.goodlife-inquiry-status.is-error {
  padding: 12px 14px;
}

.goodlife-inquiry-status.is-success {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
}

.goodlife-inquiry-status.is-error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
}

@media (max-width: 767px) {
  .single-product .goodlife-gallery-arrow {
    height: 42px;
    top: 43%;
    width: 42px;
  }

  .single-product .goodlife-gallery-previous {
    left: 8px;
  }

  .single-product .goodlife-gallery-next {
    right: 8px;
  }

  .single-product .goodlife-gallery-counter {
    bottom: 92px;
    right: 8px;
  }

  .single-product .woocommerce-product-gallery .flex-control-thumbs li {
    flex-basis: calc((100% - 30px) / 4);
  }

  .single-product .goodlife-commerce-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .single-product .goodlife-commerce-actions .button {
    width: 100%;
  }
}
