#cqga-widget{position:fixed;right:0;top:50%;transform:translateY(-50%);z-index:2147483000;display:flex;align-items:center;pointer-events:none;font-family:inherit;isolation:isolate}#cqga-widget *{box-sizing:border-box}#cqga-widget .cqga-tab{pointer-events:auto;position:relative;flex:none;border:none;background:#226e42;color:#fff;width:34px;height:66px;border-radius:11px 0 0 11px;cursor:pointer;box-shadow:0 2px 14px #0002;font-size:17px}#cqga-widget .cqga-tip{display:none;position:absolute;right:42px;top:18px;white-space:nowrap;background:#243c2b;color:white;border-radius:6px;padding:6px 10px;font-size:12px;font-weight:500}#cqga-widget.cqga-closed .cqga-tab:hover .cqga-tip,#cqga-widget.cqga-closed .cqga-tab:focus-visible .cqga-tip{display:block}#cqga-widget .cqga-body{pointer-events:auto;width:min(365px,calc(100vw - 48px));max-height:min(78vh,650px);background:#fff;border:1px solid #d9e5d9;border-right:0;border-radius:15px 0 0 15px;box-shadow:0 8px 28px #15261935;overflow-y:auto;padding:17px;color:#26382a}#cqga-widget.cqga-closed .cqga-body{width:0;padding:0;border:0;overflow:hidden;visibility:hidden}#cqga-widget.cqga-open .cqga-tab{height:46px}#cqga-widget .cqga-head{display:flex;justify-content:space-between;align-items:center;gap:10px;font-size:17px;margin-bottom:9px}#cqga-widget .cqga-head button{border:none;background:#edf5ee;border-radius:6px;color:#236d43;cursor:pointer;font-size:19px;padding:3px 9px}#cqga-widget .cqga-message{font-size:13px;line-height:1.5;color:#526657;margin:0 0 12px}#cqga-widget .cqga-lines{display:grid;gap:8px}#cqga-widget .cqga-line{display:flex;gap:10px;align-items:center;text-decoration:none;color:inherit;border-bottom:1px solid #e9eee9;padding:5px 0 9px}#cqga-widget .cqga-line img{width:66px;height:66px;object-fit:cover;border-radius:8px;flex-shrink:0}#cqga-widget .cqga-line-name{flex:1;font-size:13px;min-width:0}#cqga-widget .cqga-line-name b{display:block}#cqga-widget .cqga-line-name small{display:block;color:#67796c;font-size:12px}#cqga-widget .cqga-line>strong{font-size:12px;white-space:nowrap}#cqga-widget .cqga-summary{margin:13px 0}#cqga-widget .cqga-summary>div:not(.cqga-savings){display:flex;justify-content:space-between;gap:10px;margin:7px 0;font-size:13px}#cqga-widget .cqga-final strong{color:#167341;font-size:19px}#cqga-widget .cqga-savings{color:#167341;font-size:13px;font-weight:600}#cqga-widget .cqga-buy{width:100%;background:#237446;color:white;border:0;border-radius:8px;padding:12px;font-size:14px;font-weight:bold;cursor:pointer}#cqga-widget .cqga-buy:disabled{opacity:.6;cursor:wait}#cqga-widget #cqga-feedback{font-size:12px;color:#317243;margin:8px 0 0}#cqga-widget.cqga-closed{transition:none}@media(max-width:600px){#cqga-widget .cqga-body{width:min(320px,calc(100vw - 40px));max-height:70vh}#cqga-widget .cqga-tab{width:28px;height:56px}}

/* CQG Modal Cart v0.3.8 renders an outer 68px thumbnail wrapper itself.
   Hide that wrapper only for CQG Accent bundles; their individual thumbnails
   are already visible in the formatted cart item data. No modal cart edits. */
.cqg-mc__item:has(.cqga-cart-components){grid-template-columns:minmax(0,1fr)!important}
.cqg-mc__item:has(.cqga-cart-components)>.cqg-mc__thumb{display:none!important}
.cqg-mc__meta .cqga-cart-components{margin-top:4px}
.cqg-mc__meta .cqga-cart-components .cqga-component{font-size:12px}


/* v1.0.5: Stable component layout in standard WooCommerce cart AND checkout.
   All selectors are limited to CQG Accent bundle metadata; regular products stay untouched. */
.cqga-cart-components { display:block !important; width:100% !important; max-width:100% !important; clear:both; line-height:1.35 !important; }
.cqga-cart-components .cqga-component { display:grid !important; grid-template-columns:36px minmax(0,1fr) !important; align-items:center !important; column-gap:8px !important; margin:5px 0 !important; padding:0 !important; width:100% !important; max-width:100% !important; min-width:0 !important; float:none !important; white-space:normal !important; line-height:1.35 !important; }
.cqga-cart-components .cqga-component-thumb,
.woocommerce-cart .cqga-cart-components img.cqga-component-thumb,
.woocommerce-checkout .cqga-cart-components img.cqga-component-thumb,
.woocommerce .cqga-cart-components img.cqga-component-thumb { display:block !important; box-sizing:border-box !important; width:36px !important; min-width:36px !important; max-width:36px !important; height:36px !important; min-height:36px !important; max-height:36px !important; object-fit:cover !important; border-radius:5px !important; margin:0 !important; padding:0 !important; float:none !important; vertical-align:middle !important; }
.cqga-cart-components .cqga-component-name { display:block !important; min-width:0 !important; max-width:100% !important; overflow-wrap:anywhere !important; white-space:normal !important; font-size:12px !important; font-weight:400 !important; line-height:1.35 !important; margin:0 !important; padding:0 !important; float:none !important; }
/* WooCommerce renders item metadata in a definition list. Keep the whole
   component list together instead of allowing the theme to float dt/dd columns. */
.woocommerce-cart dl.variation:has(.cqga-cart-components),
.woocommerce-checkout dl.variation:has(.cqga-cart-components),
.woocommerce-cart .wc-item-meta:has(.cqga-cart-components),
.woocommerce-checkout .wc-item-meta:has(.cqga-cart-components) { display:block !important; width:100% !important; max-width:100% !important; min-width:0 !important; margin:5px 0 !important; padding:0 !important; clear:both !important; }
.woocommerce-cart dl.variation:has(.cqga-cart-components)>dt,
.woocommerce-checkout dl.variation:has(.cqga-cart-components)>dt { display:none !important; }
.woocommerce-cart dl.variation:has(.cqga-cart-components)>dd,
.woocommerce-checkout dl.variation:has(.cqga-cart-components)>dd { display:block !important; float:none !important; clear:both !important; width:100% !important; max-width:100% !important; min-width:0 !important; margin:0 !important; padding:0 !important; }
.woocommerce-cart dl.variation:has(.cqga-cart-components)>dd p,
.woocommerce-checkout dl.variation:has(.cqga-cart-components)>dd p { margin:0 !important; padding:0 !important; }
/* Woo blocks checkout sometimes contains formatted item metadata outside a dl. */
.wc-block-components-product-details:has(.cqga-cart-components) { min-width:0 !important; max-width:100% !important; }
.wc-block-components-product-details:has(.cqga-cart-components) .cqga-cart-components { font-size:12px !important; }

/* v1.0.6: Align the bundle title and its component thumbnails with the
   LEFT edge of the regular product thumbnail in the classic cart table.
   The WooCommerce thumbnail column remains present, but the bundle has no
   single hero image. Reposition only this bundle's name cell visually;
   price, quantity, total, and other products retain their native layout. */
@media (min-width: 768px) {
  body.woocommerce-cart table.shop_table.cart tr.cart_item:has(.cqga-cart-components) td.product-name,
  body.woocommerce-cart table.woocommerce-cart-form__contents tr.cart_item:has(.cqga-cart-components) td.product-name {
    position: relative !important;
    left: -150px !important;
    overflow: visible !important;
  }
}

/* v1.0.11: Left-side drawer opposite the modal cart; no changes to cart styling. */
#cqga-widget {left:0 !important;right:auto !important;flex-direction:row-reverse;max-width:100vw;}
#cqga-widget .cqga-tab {width:26px;height:46px;border-radius:0 9px 9px 0;font-size:14px;transition:background-color .2s ease;box-shadow:2px 2px 10px #0002;}
#cqga-widget.cqga-open .cqga-tab {height:36px;}
#cqga-widget .cqga-tip {left:34px;right:auto;top:8px;}
#cqga-widget .cqga-body {width:min(365px,calc(100vw - 36px));border-right:1px solid #d9e5d9;border-left:0;border-radius:0 14px 14px 0;transition:width .46s cubic-bezier(.22,1,.36,1),padding .46s cubic-bezier(.22,1,.36,1),visibility 0s;will-change:width;}
#cqga-widget.cqga-closed .cqga-body {width:0;padding:0;border:0;visibility:hidden;transition:width .42s cubic-bezier(.22,1,.36,1),padding .42s cubic-bezier(.22,1,.36,1),visibility 0s .42s;}
#cqga-widget.cqga-open .cqga-body > * {animation:cqga-soft-reveal .54s cubic-bezier(.22,1,.36,1) both;}
@keyframes cqga-soft-reveal {from {opacity:0;transform:translateX(-9px)}to {opacity:1;transform:translateX(0)}}
/* Clear visual hierarchy for an actual discounted bundle only. */
#cqga-widget .cqga-summary.cqga-has-discount {border:1px solid #c7e3d1;background:#f0f9f2;border-radius:11px;padding:11px 12px;margin:14px 0 12px;}
#cqga-widget .cqga-summary.cqga-has-discount .cqga-regular {color:#66716b;font-size:12px;}
#cqga-widget .cqga-summary.cqga-has-discount .cqga-regular del {color:#775c5c;text-decoration:line-through;text-decoration-color:#b42318;text-decoration-thickness:2px;font-size:14px;font-weight:600;white-space:nowrap;}
#cqga-widget .cqga-summary.cqga-has-discount .cqga-final {align-items:center;border-top:1px solid #d0e7d5;margin-top:9px;padding-top:10px;font-size:14px;font-weight:700;}
#cqga-widget .cqga-summary.cqga-has-discount .cqga-final strong {color:#116a38;font-size:24px;font-weight:800;white-space:nowrap;line-height:1.2;}
#cqga-widget .cqga-summary.cqga-has-discount .cqga-savings {display:flex;justify-content:space-between;align-items:center;gap:8px;color:#146c3c;font-weight:700;font-size:13px;margin-top:9px;}
#cqga-widget .cqga-discount-percent {display:inline-block;background:#ae3521;color:#fff;padding:4px 7px;border-radius:6px;font-weight:800;white-space:nowrap;}
@media(max-width:600px){#cqga-widget .cqga-body{width:min(320px,calc(100vw - 32px));}#cqga-widget .cqga-tab{width:23px;height:40px;font-size:13px;}#cqga-widget .cqga-tip{left:30px;}}
@media(prefers-reduced-motion:reduce){#cqga-widget .cqga-body,#cqga-widget.cqga-closed .cqga-body{transition:none!important;}#cqga-widget.cqga-open .cqga-body>*{animation:none!important;}}

/* v1.0.12: compact square handle at the left edge. Hover/focus shows label only. */
#cqga-widget .cqga-tab,
#cqga-widget.cqga-open .cqga-tab {
  width:32px !important; min-width:32px !important; height:32px !important;
  min-height:32px !important; padding:0 !important;
  display:flex !important; align-items:center !important; justify-content:center !important;
  border-radius:0 7px 7px 0 !important; line-height:1 !important;
  font-size:13px !important;
}
#cqga-widget .cqga-arrow {display:block;line-height:1;font-size:13px;}
#cqga-widget .cqga-tip {
  position:absolute; left:38px !important; right:auto !important; top:0 !important;
  height:32px; display:block !important; opacity:0; visibility:hidden;
  transform:translateX(-5px); transition:opacity .16s ease,transform .16s ease,visibility .16s;
  padding:8px 10px !important; line-height:16px; border-radius:6px;
  pointer-events:none; z-index:1; white-space:nowrap; box-shadow:0 2px 10px #0002;
}
#cqga-widget.cqga-closed .cqga-tab:hover .cqga-tip,
#cqga-widget.cqga-closed .cqga-tab:focus-visible .cqga-tip {
  visibility:visible; opacity:1; transform:translateX(0);
}
#cqga-widget.cqga-open .cqga-tip {display:none !important;}
#cqga-widget #cqga-feedback .cqga-view-cart {
  display:inline-flex;align-items:center;justify-content:center;
  margin-top:8px; padding:7px 12px; background:#eff7f1; color:#146a3b;
  text-decoration:none; border:1px solid #badbc5; border-radius:6px; font-weight:650;
}
#cqga-widget #cqga-feedback .cqga-view-cart:hover {background:#e1f2e6;}
@media(max-width:600px){
  #cqga-widget .cqga-tab,#cqga-widget.cqga-open .cqga-tab {width:30px !important;min-width:30px !important;height:30px !important;min-height:30px !important;}
  #cqga-widget .cqga-tip {left:36px !important;height:30px;padding:7px 9px !important;}
}
@media(prefers-reduced-motion:reduce){#cqga-widget .cqga-tip{transition:none !important;}}

/* v1.0.14: WooCommerce inserts its own `View cart` link after the
   accent add button when `added_to_cart` fires. Keep the event so
   CQG Modal Cart and WooCommerce continue updating, but suppress ONLY
   the duplicate link inside the accent. The dedicated button within
   #cqga-feedback remains visible and opens the cart immediately. */
#cqga-widget a.added_to_cart.wc-forward:not(.cqga-view-cart) {display:none !important;}

/* v1.0.15: Compact saved component list on the order-received page only.
   Do not alter cart/checkout or regular products. */
body.woocommerce-order-received .cqga-order-components {
  display:flex !important;flex-direction:column !important;gap:6px !important;
  max-width:100%;min-width:0;margin:8px 0 2px !important;
}
body.woocommerce-order-received .cqga-order-component {
  display:grid !important;grid-template-columns:40px minmax(0,1fr) !important;
  align-items:center !important;gap:9px !important;min-width:0 !important;
  max-width:100% !important;padding:0 !important;line-height:1.35 !important;
}
body.woocommerce-order-received .cqga-order-component img,
body.woocommerce-order-received .cqga-order-no-image {
  width:40px !important;height:40px !important;min-width:40px !important;
  max-width:40px !important;display:block !important;object-fit:cover !important;
  border-radius:6px !important;margin:0 !important;float:none !important;
}
body.woocommerce-order-received .cqga-order-no-image {background:#f3f4f3 !important;}
body.woocommerce-order-received .cqga-order-component-name {
  display:block !important;min-width:0 !important;max-width:100% !important;
  font-size:13px !important;font-weight:400 !important;line-height:1.4 !important;
  overflow-wrap:anywhere !important;white-space:normal !important;
}
body.woocommerce-order-received .cqga-order-qty {white-space:nowrap !important;font-weight:600 !important;}
body.woocommerce-order-received .wc-item-meta:has(.cqga-order-components) {
  display:block !important;width:100% !important;min-width:0 !important;margin:7px 0 !important;
}
body.woocommerce-order-received .wc-item-meta:has(.cqga-order-components) li {
  display:block !important;float:none !important;min-width:0 !important;max-width:100% !important;
}
body.woocommerce-order-received .wc-item-meta:has(.cqga-order-components) p {margin:0 !important;}

/* v1.0.16: WooCommerce order-received meta markup uses a floating label
   and inline <p> value. Reset that layout only for the bundle component
   entry so its thumbnails and names start at the LEFT of the product cell,
   directly below the label, instead of halfway across the table. */
body.woocommerce-order-received .wc-item-meta li:has(.cqga-order-components) {
  display:block !important;
  width:100% !important;
  float:none !important;
  clear:both !important;
  text-align:left !important;
}
body.woocommerce-order-received .wc-item-meta li:has(.cqga-order-components) > .wc-item-meta-label,
body.woocommerce-order-received .wc-item-meta li:has(.cqga-order-components) > strong {
  display:block !important;
  float:none !important;
  clear:both !important;
  width:auto !important;
  max-width:100% !important;
  text-align:left !important;
  margin:0 0 5px !important;
  padding:0 !important;
}
body.woocommerce-order-received .wc-item-meta li:has(.cqga-order-components) > p,
body.woocommerce-order-received .wc-item-meta li:has(.cqga-order-components) > .wc-item-meta-value {
  display:block !important;
  float:none !important;
  clear:both !important;
  width:100% !important;
  min-width:0 !important;
  max-width:100% !important;
  text-align:left !important;
  margin:0 !important;
  padding:0 !important;
}
body.woocommerce-order-received .wc-item-meta li:has(.cqga-order-components) .cqga-order-components {
  display:flex !important;
  margin:0 !important;
  padding:0 !important;
  width:100% !important;
  text-align:left !important;
}

/* v1.0.27 — only the existing price element inside v1.0.16 product row.
   No HTML restructuring; keep one direct STRONG child for the entire price. */
#cqga-widget .cqga-line > strong {flex:0 0 72px; min-width:72px; max-width:72px; text-align:right; display:block; line-height:1.35; font-size:12px; white-space:nowrap;}
#cqga-widget .cqga-line > strong .cqga-price-old {display:block; color:#94605b; text-decoration:line-through; text-decoration-color:#b42318; font-size:11px; font-weight:400;}
#cqga-widget .cqga-line > strong .cqga-price-new {display:block; color:#146b3b; font-weight:750; font-size:13px;}
#cqga-widget .cqga-line-name {min-width:0; flex:1 1 0; overflow-wrap:anywhere;}


/* v1.0.28: keep CTA button visible and remove wishlist/heart bleed inside the accent. */
#cqga-widget .cqga-body{position:relative;z-index:2;background:#fff;}
#cqga-widget .cqga-head,
#cqga-widget .cqga-message,
#cqga-widget .cqga-lines,
#cqga-widget .cqga-line,
#cqga-widget .cqga-summary,
#cqga-widget .cqga-actions,
#cqga-widget #cqga-feedback{position:relative;z-index:2;}
#cqga-widget .cqga-line{overflow:hidden;}
#cqga-widget .cqga-line > *{position:relative;z-index:2;}
#cqga-widget .cqga-actions{position:sticky;bottom:0;z-index:5;background:#fff;padding-top:12px;margin-top:12px;border-top:1px solid #dfe8e1;}
#cqga-widget .cqga-buy{display:block;width:100%;box-shadow:0 -1px 0 rgba(255,255,255,.8) inset;}
#cqga-widget #cqga-feedback{margin-top:8px;background:#fff;}
#cqga-widget [class*="wishlist"],
#cqga-widget [class*="wish"],
#cqga-widget [class*="favorite"],
#cqga-widget [class*="favourite"],
#cqga-widget .tinv-wraper,
#cqga-widget .yith-wcwl-add-to-wishlist,
#cqga-widget .yith-wcwl-wishlistexistsbrowse,
#cqga-widget .yith-wcwl-wishlistaddedbrowse{display:none !important;}

/* v1.0.30: target only injected save controls, never the WooCommerce price markup. */
#cqga-widget .cqga-lines .cqga-line > button,
#cqga-widget .cqga-lines .cqga-line > [role="button"],
#cqga-widget .cqga-lines .cqga-line > [class*="wishlist" i],
#cqga-widget .cqga-lines .cqga-line > [class*="favorite" i],
#cqga-widget .cqga-lines .cqga-line > [class*="favourite" i],
#cqga-widget .cqga-lines .cqga-line > [class*="saved" i],
#cqga-widget .cqga-lines .cqga-line > [class*="save" i] {display:none !important;}
#cqga-widget .cqga-lines .cqga-line > strong {position:relative !important;z-index:4 !important;}
#cqga-widget .cqga-lines .cqga-line > strong .cqga-price-old {display:block !important;visibility:visible !important;opacity:1 !important;text-decoration:line-through !important;text-decoration-color:#b42318 !important;}
#cqga-widget .cqga-lines .cqga-line > strong .cqga-price-new {display:block !important;visibility:visible !important;opacity:1 !important;}
