/* Hide WC-generated DOM elements that conflict with our custom layout */
.odonata-variations-wrapper > form,
.storefront-sticky-add-to-cart,
.woocommerce-product-gallery,
.woocommerce-tabs,
.related.products,
.up-sells,
.woocommerce-breadcrumb,
.product_meta {
  display: none !important;
}

/* Active pill — matches React: border-primary bg-primary/5 text-primary */
.odonata-pill.active {
  background-color: hsl(var(--primary) / 0.05);
  color: hsl(var(--primary));
  border-color: hsl(var(--primary));
}

/* Tab active state — matches React: border-primary text-primary */
.odonata-tab-btn.active {
  color: hsl(var(--primary));
  border-color: hsl(var(--primary));
}

/* Tab inactive state — matches React: border-transparent text-muted-foreground */
.odonata-tab-btn:not(.active) {
  color: hsl(var(--muted-foreground));
  border-color: transparent;
}

/* YITH Wishlist Button — Single Product Page */
/* Show as inline text link matching React: flex items-center gap-1.5 text-sm text-muted-foreground */
body.single-product .yith-wcwl-add-to-wishlist {
  margin: 0;
  padding: 0;
  display: inline-flex;
}

body.single-product .yith-wcwl-add-to-wishlist-button {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  color: var(--odonata-muted-foreground);
  background: transparent;
  border: none;
  padding: 0;
  margin: 0;
  text-decoration: none;
  transition: color 0.2s ease;
  cursor: pointer;
  width: auto;
  height: auto;
  border-radius: 0;
}

body.single-product .yith-wcwl-add-to-wishlist-button:hover {
  color: var(--odonata-foreground);
  background: transparent;
}

body.single-product .yith-wcwl-add-to-wishlist-button__label {
  display: inline;
}

body.single-product .yith-wcwl-icon {
  width: 1rem;
  height: 1rem;
  color: inherit;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5px;
}

body.single-product .yith-wcwl-add-to-wishlist-button--added .yith-wcwl-icon,
body.single-product .yith-wcwl-add-to-wishlist-button--exists .yith-wcwl-icon {
  color: var(--odonata-destructive);
  fill: var(--odonata-destructive);
}

/* Review Bottom Sheet — spring-like animation */
#odonata-review-overlay {
  opacity: 0;
  transition: opacity 0.3s ease;
}

#odonata-review-sheet {
  transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(0.32, 0.72, 0, 1);
}
