/* Product/cart enhancements. Native product forms and cart requests remain authoritative. */
.cv3-sticky-summary { display: none; width: 100%; }
.cv3-sticky-summary__text { display: flex; flex: 1; flex-direction: column; min-width: 0; gap: 4px; }
.cv3-sticky-summary__text > strong { font-size: 14px; line-height: 1.4; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cv3-sticky-summary__text > span { font-size: 12px; line-height: 1.4; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; opacity: 0.7; }
.cv3-sticky-summary__price { flex: 0 0 auto; font-size: 15px; font-weight: 600; }
.cv3-quantity-packs { display: block; width: 100%; margin-block-end: 16px; }
.cv3-quantity-packs[hidden] { display: none; }
.cv3-quantity-packs__title { margin: 0 0 12px; font-size: 14px; font-weight: 600; line-height: 1.4; }
.cv3-quantity-packs__options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.cv3-quantity-pack { position: relative; display: flex; flex-direction: column; justify-content: center; align-items: center; min-height: 86px; min-width: 0; padding: 24px 8px 14px; border: 1px solid rgba(var(--color-text), 0.18); border-radius: 10px; color: rgb(var(--color-text)); background: rgb(var(--color-background)); font: inherit; }
.cv3-quantity-pack[aria-pressed="true"] { border-color: currentColor; box-shadow: inset 0 0 0 1px currentColor; background: rgba(var(--color-text), 0.045); }
.cv3-quantity-pack:disabled { cursor: not-allowed; opacity: 0.4; }
.cv3-quantity-pack:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.cv3-quantity-pack__number { font-size: 24px; font-weight: 700; line-height: 1.25; }
.cv3-quantity-pack__unit { font-size: 12px; line-height: 1.4; overflow-wrap: anywhere; }
.cv3-quantity-pack__badge { position: absolute; inset-block-start: 3px; max-width: calc(100% - 6px); padding: 1px 4px; overflow: hidden; color: rgb(var(--color-text)); font-size: 10px; font-weight: 600; line-height: 1.4; text-overflow: ellipsis; white-space: nowrap; }
.cv3-cart-goal { padding: 16px; margin-block: 0 20px; border: 1px solid rgba(var(--color-text), 0.12); border-radius: 12px; color: rgb(var(--color-text)); background: rgba(var(--color-text), 0.025); }
.cart-drawer__inner > .cv3-cart-goal { margin: 16px 20px 0; }
.cv3-cart-goal__title { margin: 0 0 6px; font-size: 14px; font-weight: 600; line-height: 1.4; overflow-wrap: anywhere; }
.cv3-cart-goal__message { margin: 0 0 12px; font-size: 13px; line-height: 1.5; overflow-wrap: anywhere; }
.cv3-cart-goal__bar { display: block; width: 100%; height: 8px; overflow: hidden; border: 0; border-radius: 10px; appearance: none; -webkit-appearance: none; accent-color: var(--cv3-goal-color, currentColor); color: var(--cv3-goal-color, currentColor); background: rgba(var(--color-text), 0.1); }
.cv3-cart-goal__bar::-webkit-progress-bar { border-radius: 10px; background: rgba(var(--color-text), 0.1); }
.cv3-cart-goal__bar::-webkit-progress-value { border-radius: 10px; background: var(--cv3-goal-color, currentColor); }
.cv3-cart-goal__bar::-moz-progress-bar { border-radius: 10px; background: var(--cv3-goal-color, currentColor); }
@media (max-width: 959px) {
  theme-sticky-position[data-cv3-devices="mobile"].is-sticky > .product-detail__buy-button-group > .cv3-quantity-packs,
  theme-sticky-position[data-cv3-devices="all"].is-sticky > .product-detail__buy-button-group > .cv3-quantity-packs { display: none; }
  theme-sticky-position[data-cv3-devices="desktop"].is-sticky > :is(.product-detail__buy-buttons, .product-detail__buy-button-group) { position: static; inset: auto; width: auto; padding: 0; border: 0; box-shadow: none; animation: none; }
  theme-sticky-position[data-cv3-devices="mobile"].is-sticky > :is(.product-detail__buy-buttons, .product-detail__buy-button-group),
  theme-sticky-position[data-cv3-devices="all"].is-sticky > :is(.product-detail__buy-buttons, .product-detail__buy-button-group) { padding-block-end: max(16px, env(safe-area-inset-bottom)); }
  theme-sticky-position[data-cv3-devices="mobile"].is-sticky .cv3-sticky-summary,
  theme-sticky-position[data-cv3-devices="all"].is-sticky .cv3-sticky-summary { display: flex; align-items: center; gap: 16px; margin-block-end: 12px; }
}
@media (min-width: 960px) {
  theme-sticky-position[data-cv3-devices="desktop"].is-sticky > .product-detail__buy-button-group > .cv3-quantity-packs,
  theme-sticky-position[data-cv3-devices="all"].is-sticky > .product-detail__buy-button-group > .cv3-quantity-packs { display: none; }
  theme-sticky-position[data-cv3-devices="desktop"].is-sticky > :is(.product-detail__buy-buttons, .product-detail__buy-button-group),
  theme-sticky-position[data-cv3-devices="all"].is-sticky > :is(.product-detail__buy-buttons, .product-detail__buy-button-group) { position: fixed; inset-block-end: var(--fixed-bottom, 0); inset-inline-start: 0; z-index: var(--z-index-sticky); width: 100%; padding: 14px max(28px, calc((100vw - 1200px) / 2)); border-block-start: 1px solid rgba(var(--color-text), 0.1); background: rgb(var(--color-background)); box-shadow: 0 -4px 24px rgb(0 0 0 / 6%); }
  theme-sticky-position[data-cv3-devices="desktop"].is-sticky .cv3-sticky-summary,
  theme-sticky-position[data-cv3-devices="all"].is-sticky .cv3-sticky-summary { display: flex; align-items: center; gap: 24px; margin-block-end: 10px; }
  theme-sticky-position[data-cv3-devices="desktop"].is-sticky .form__buttons,
  theme-sticky-position[data-cv3-devices="all"].is-sticky .form__buttons { max-width: 720px; margin-inline: auto; }
}
@media (prefers-reduced-motion: reduce) {
  theme-sticky-position[data-cv3-devices].is-sticky > :is(.product-detail__buy-buttons, .product-detail__buy-button-group) { animation: none; }
}
