
/* Trang Phat - Product description show more. Applied only on single WooCommerce products. */
.woocommerce-Tabs-panel--description.tp-rm-enhanced {
  position: relative;
  scroll-margin-top: 120px;
}
.woocommerce-Tabs-panel--description.tp-rm-enhanced .tp-rm-body {
  position: relative;
  min-width: 0;
}
.woocommerce-Tabs-panel--description.tp-rm-collapsed .tp-rm-body {
  max-height: 560px;
  overflow: hidden;
}
.woocommerce-Tabs-panel--description.tp-rm-collapsed .tp-rm-body::after {
  content: "";
  position: absolute;
  z-index: 1;
  pointer-events: none;
  bottom: 0;
  left: 0;
  right: 0;
  height: 105px;
  background: linear-gradient(to bottom, rgba(255,255,255,0), #fff 92%);
}
.woocommerce-Tabs-panel--description.tp-rm-collapsed .tp-rm-body #ez-toc-container {
  display: none !important;
}
.woocommerce-Tabs-panel--description.tp-rm-expanded .tp-rm-body {
  max-height: none !important;
  overflow: visible;
}
.woocommerce-Tabs-panel--description .tp-rm-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 12px auto 28px;
  position: relative;
  z-index: 3;
}
.woocommerce-Tabs-panel--description .tp-rm-button {
  -webkit-appearance: none;
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 46px;
  border: 1px solid #0072bc !important;
  border-radius: 999px;
  padding: 11px 24px !important;
  margin: 0 !important;
  background: linear-gradient(115deg, #0079c9, #00589d) !important;
  color: #fff !important;
  font-size: 14px !important;
  line-height: 1.4;
  font-weight: 700 !important;
  text-transform: none !important;
  letter-spacing: .01em;
  cursor: pointer;
  box-shadow: 0 5px 16px rgba(0, 98, 174, .16);
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.woocommerce-Tabs-panel--description .tp-rm-button:hover {
  background: linear-gradient(115deg, #005eac, #00427d) !important;
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 10px 23px rgba(0, 98, 174, .24);
}
.woocommerce-Tabs-panel--description .tp-rm-button:focus-visible {
  outline: 3px solid #f59e0b;
  outline-offset: 3px;
}
.woocommerce-Tabs-panel--description .tp-rm-arrow {
  font-size: 21px;
  line-height: .7;
  display: inline-block;
  transform: translateY(-2px);
  transition: transform .22s ease;
}
.woocommerce-Tabs-panel--description.tp-rm-expanded .tp-rm-arrow {
  transform: translateY(1px) rotate(180deg);
}
@media (max-width: 640px) {
  .woocommerce-Tabs-panel--description.tp-rm-collapsed .tp-rm-body {
    max-height: 410px;
  }
  .woocommerce-Tabs-panel--description .tp-rm-actions {
    margin: 10px auto 23px;
  }
  .woocommerce-Tabs-panel--description .tp-rm-button {
    min-height: 44px;
    font-size: 13px !important;
    padding: 11px 20px !important;
  }
}
@media (prefers-reduced-motion: reduce) {
  .woocommerce-Tabs-panel--description .tp-rm-button,
  .woocommerce-Tabs-panel--description .tp-rm-arrow {
    transition: none !important;
  }
}
