
/* WC Tooltips Pro styles */
.wctip { position: relative; display: inline-flex; align-items: center; gap: 6px; cursor: help; vertical-align: middle; }
.wctip-inline { margin-left: 6px; }
.wctip-icon { display: inline-block; line-height: 1; font-size: 14px; border: 1px solid rgba(0,0,0,.2); border-radius: 50%; width: 16px; height: 16px; text-align: center; font-weight: 700; user-select: none; }
.wctip-bubble { position: absolute; opacity: 0; pointer-events: none; transition: opacity .15s ease, transform .15s ease; background: #111; color: #fff; padding: 8px 10px; border-radius: 4px; font-size: 13px; line-height: 1.35; z-index: 999999; min-width: 180px; max-width: 360px; transform: translateY(-6px); box-shadow: 0 4px 16px rgba(0,0,0,.2); white-space: normal; }
.wctip-bubble p { margin: 0.4em 0; }
.wctip-bubble ul { margin: 0.4em 0 0.4em 1.2em; }
.wctip-bubble img { max-width: 100%; height: auto; display: block; margin: 6px 0; }
.wctip:focus .wctip-bubble, .wctip:hover .wctip-bubble { opacity: 1; transform: translateY(0); pointer-events: auto; }
.wctip[data-tip-pos="right"] .wctip-bubble { left: calc(100% + 8px); top: 50%; transform: translate(0,-50%); }
.wctip[data-tip-pos="bottom"] .wctip-bubble { top: calc(100% + 8px); left: 0; transform: translateY(0); }
.wctip[data-tip-pos="left"] .wctip-bubble { right: calc(100% + 8px); top: 50%; transform: translate(0,-50%); }
.wctip[data-tip-pos="top"] .wctip-bubble, .wctip:not([data-tip-pos]) .wctip-bubble { bottom: calc(100% + 8px); left: 0; }
/* Hide inline bubble when portal active */
.wctip[data-portal-active="1"] .wctip-bubble { display: none !important; }
/* Allow overflow visibility even if theme clamps */
.product .summary, .product .entry-summary, .variations_form, form.variations_form, form.cart, .cart, .woocommerce div.product form.cart .variations, .woocommerce-variation { overflow: visible !important; }


/* Body portal bubble to avoid clipping */
.wctip-bubble.wcttp-portal {
  position: absolute !important;
  transform: none !important;
  opacity: 1 !important;
  pointer-events: auto;
  z-index: 999999;
}


/* Middle tooltip cell between label and dropdown */
table.variations tr .wcttp-mid {
  width: 36px;
  padding: 0 6px;
  vertical-align: middle;
}
table.variations tr .wcttp-mid .wcttp-mid-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100%;
}
table.variations tr .wcttp-mid .wctip { margin: 0; }
