/**
 * Product detail shortcode.
 */
.hello-product-detail {
  color: var(--text, #fffff0) !important;
  font-family: var(--FONT-GLOBAL, "Nunito Sans", sans-serif) !important;
}

.hello-product-detail__category {
  display: inline-block !important;
  color: var(--COLOR-LINK, #ab8c52) !important;
  text-decoration: none !important;
  font-size: 0.75rem !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
}

.hello-product-detail__title {
  margin: 0.4rem 0 0 !important;
  font-family: var(--FONT-TITLE, "Libre Baskerville", serif) !important;
  font-weight: 400 !important;
  font-size: clamp(1.25rem, 2.1vw, 1.8rem) !important;
  line-height: 1.15 !important;
  color: var(--text, #fffff0) !important;
}

.hello-product-detail__price {
  margin-top: 0.75rem !important;
  font-size: 1rem !important;
  color: var(--text, #fffff0) !important;
}

.hello-product-detail__actions {
  margin-top: 1rem !important;
  display: flex !important;
  align-items: center !important;
  gap: 0.85rem !important;
  flex-wrap: nowrap !important;
}

.hello-product-detail__add-to-cart {
  flex: 1 1 auto !important;
}

.hello-product-detail__wishlist {
  flex: 0 0 auto !important;
}

.hello-product-detail__add-to-cart .stock,
.hello-product-detail__add-to-cart
  .woocommerce-product-details__short-description
  .stock {
  display: none !important;
}

/* Hide Woo "Only X left" message (availability) */
.hello-product-detail__add-to-cart .woocommerce-info,
.hello-product-detail__add-to-cart .woocommerce-message,
.hello-product-detail__add-to-cart .woocommerce-error,
.hello-product-detail__add-to-cart .woocommerce-stock-availability,
.hello-product-detail__add-to-cart .stock,
.hello-product-detail__add-to-cart p.stock {
  display: none !important;
}

.hello-product-detail__row--actions {
  display: flex !important;
  align-items: center !important;
  gap: 0.85rem !important;
  margin: 16px 0 !important;
}

.hello-product-detail__add-to-cart .quantity {
  display: none !important;
}

.hello-product-detail__add-to-cart form {
  margin-bottom: 0 !important;
}

.hello-product-detail__add-to-cart button.single_add_to_cart_button {
  height: 42px !important;
  background: var(--BTN-PRIMARY-BG, #ab8c52) !important;
  color: var(--BTN-PRIMARY-TEXT, #fffff0) !important;
  border: 1px solid var(--BTN-PRIMARY-BORDER, #ab8c52) !important;
  border-radius: 0 !important;
  padding: 0 1.4rem !important;
  font-family: var(--FONT-GLOBAL, "Nunito Sans", sans-serif) !important;
  font-weight: 400 !important;
  font-size: 0.75rem !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  width: 100% !important;
}

.hello-product-detail__add-to-cart button.single_add_to_cart_button:hover,
.hello-product-detail__add-to-cart button.single_add_to_cart_button:focus,
.hello-product-detail__add-to-cart
  button.single_add_to_cart_button:focus-visible {
  background: var(--BTN-PRIMARY-BG-BRIGHTER, #9a7e4a) !important;
  border-color: var(
    --BTN-PRIMARY-BORDER-A70,
    rgba(171, 140, 82, 0.7)
  ) !important;
  color: var(--BTN-PRIMARY-TEXT, #fffff0) !important;
}

.hello-product-detail__divider {
  margin: 1.25rem 0 !important;
  height: 1px !important;
  background: var(--border, #393636) !important;
}

.hello-product-detail__tabs {
  display: flex !important;
  gap: 1.25rem !important;
  margin-bottom: 1.5rem !important;
  position: relative !important;
}

.hello-product-detail__tab {
  border: 0 !important;
  background: transparent !important;
  color: var(--text-a50, rgba(255, 255, 240, 0.5)) !important;
  padding: 0 !important;
  font-family: var(--FONT-GLOBAL, "Nunito Sans", sans-serif) !important;
  font-size: 0.8125rem !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  cursor: pointer !important;
  position: relative;
}

.hello-product-detail__tab.is-active {
  color: var(--text, #fffff0) !important;
}

.hello-product-detail__tab::after {
  content: "";
  position: absolute !important;
  left: 0 !important;
  right: 0 !important;
  bottom: -0.55rem !important;
  height: 1px !important;
  background: var(--text, #fffff0) !important;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.2s ease;
  opacity: 0.9;
}

.hello-product-detail__tab:hover,
.hello-product-detail__tab:focus,
.hello-product-detail__tab:focus-visible,
.hello-product-detail__tab:active {
  background: transparent !important;
}

.hello-product-detail__tab:hover::after,
.hello-product-detail__tab.is-active::after {
  transform: scaleX(1);
}

.hello-product-detail__pane {
  display: none;
  color: var(--text-light, #b8b8ad) !important;
  font-size: 0.95rem !important;
  line-height: 1.7 !important;
}

.hello-product-detail__pane.is-active {
  display: block;
}

.hello-product-detail__content {
  --hello-product-detail-lines: 4;
}

.hello-product-detail__content--collapsed {
  display: -webkit-box;
  -webkit-line-clamp: var(--hello-product-detail-lines);
  line-clamp: var(--hello-product-detail-lines);
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hello-product-detail__read-more {
  margin-top: 0.6rem !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border: 1px solid var(--COLOR-ACCENT, #ab8c52) !important;
  background: transparent !important;
  color: var(--COLOR-ACCENT, #ab8c52) !important;
  padding: 0.45rem 0.75rem !important;
  font-family: var(--FONT-GLOBAL, "Nunito Sans", sans-serif) !important;
  font-size: 0.625rem !important;
  font-weight: 400 !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  cursor: pointer !important;
}

.hello-product-detail__read-more:hover,
.hello-product-detail__read-more:focus,
.hello-product-detail__read-more:focus-visible,
.hello-product-detail__read-more:active {
  border-color: var(--COLOR-ACCENT, #ab8c52) !important;
  background: transparent !important;
  color: var(--COLOR-ACCENT, #ab8c52) !important;
  box-shadow: none !important;
  outline: none !important;
}

.hello-product-detail__brand-name {
  margin: 0 0 0.75rem !important;
  color: var(--text, #fffff0);
  font-weight: 600;
  font-family: var(--FONT-GLOBAL, "Nunito Sans", sans-serif);
}
