/* Single Product — Description/Reviews tabs card.
   Scoped to body.single-product. Uses the site's own accent orange
   for the active tab underline (not the green from the reference). */

body.single-product .woocommerce-tabs.wc-tabs-wrapper {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
  margin-top: 20px;
}

body.single-product ul.tabs.wc-tabs {
  background: #f7f7f8;
  margin: 0 !important;
  padding: 0 24px !important;
  border-bottom: 1px solid #eee;
  display: flex;
  gap: 28px;
  list-style: none;
}

body.single-product ul.tabs.wc-tabs li {
  margin: 0 !important;
  padding: 0 !important;
}

body.single-product ul.tabs.wc-tabs li a {
  display: inline-block;
  padding: 16px 0 !important;
  font-weight: 700;
  font-size: 14px;
  color: #888 !important;
  border-bottom: 2px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}

body.single-product ul.tabs.wc-tabs li a:hover {
  color: #232323 !important;
}

body.single-product ul.tabs.wc-tabs li.active a {
  color: #232323 !important;
  border-bottom-color: #fa5114;
}

body.single-product .tab-panels {
  padding: 0;
}

body.single-product .woocommerce-Tabs-panel {
  padding: 24px 26px;
  position: relative;
  line-height: 1.7;
  color: #444;
}

body.single-product .woocommerce-Tabs-panel h1,
body.single-product .woocommerce-Tabs-panel h2,
body.single-product .woocommerce-Tabs-panel h3 {
  color: #232323;
  margin: 18px 0 10px;
}

body.single-product .woocommerce-Tabs-panel ul {
  padding-left: 20px;
  margin: 10px 0;
}

body.single-product .woocommerce-Tabs-panel li {
  margin-bottom: 6px;
}

/* Collapsed state — fixed height with a fade-out, added by JS */
body.single-product .woocommerce-Tabs-panel.ttz-collapsed {
  max-height: 320px;
  overflow: hidden;
}

body.single-product .woocommerce-Tabs-panel.ttz-collapsed::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 80px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), #fff);
  pointer-events: none;
}

body.single-product .ttz-show-more-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  width: calc(100% - 52px);
  margin: 4px 26px 22px;
  background: none;
  border: none;
  padding: 0;
  color: #fa5114;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
}

body.single-product .ttz-show-more-btn:hover {
  color: #d8420c;
}

body.single-product .ttz-chevron {
  font-size: 11px;
  line-height: 1;
}

@media (max-width: 549px) {
  body.single-product ul.tabs.wc-tabs {
    padding: 0 16px !important;
    gap: 18px;
  }

  body.single-product .woocommerce-Tabs-panel {
    padding: 18px 16px;
  }

  body.single-product .ttz-show-more-btn {
    width: calc(100% - 32px);
    margin: 4px 16px 18px;
  }
}
