gift-promotion { display: block; margin: 0 0 16px; font-size: 14px; line-height: 1.5; }
gift-promotion[hidden], [data-gift-mirrored="true"] { display: none !important; }
.gift-promotion__heading { margin: 0 0 8px; font: inherit; font-weight: 600; }
.gift-promotion__card { padding: 14px 16px; border: 1px solid var(--gift-border, #ead7da); border-radius: 4px; background: var(--gift-pending-bg, #faf5f5); color: var(--gift-pending-text, #542831); }
.gift-promotion__card + .gift-promotion__card { margin-top: 8px; }
.gift-promotion__card[data-state="available"] { background: var(--gift-ready-bg, #fff4f5); color: var(--gift-ready-text, #70202c); }
.gift-promotion__message { margin: 0; overflow-wrap: anywhere; }
.gift-promotion__images { display: flex; gap: 8px; margin-top: 12px; }
.gift-promotion__images img { object-fit: cover; background: #fff; border-radius: 2px; }
.gift-promotion__select { width: 100%; min-height: 44px; margin-top: 12px; padding: 10px 16px; border: 1px solid transparent; border-radius: 4px; background: var(--gift-accent, #bf192e); color: var(--gift-button-text, #fff); font: inherit; font-weight: 600; cursor: pointer; }
.gift-promotion__select:hover:not(:disabled) { filter: brightness(.92); }
.gift-promotion__select:focus-visible, .gift-promotion__link:focus-visible { outline: 2px solid var(--gift-accent, #bf192e); outline-offset: 3px; }
.gift-promotion__link { display: inline-flex; align-items: center; min-height: 44px; margin-top: 2px; color: inherit; text-underline-offset: 3px; }
/* Load the native sales-plugin gift bar rules with the head stylesheet so the
   PDP and asynchronously loaded quick-add content do not paint an unstyled bar. */
body .product__info-wrapper [class*="_salesPlugins__gift--promotionBar_"] {
  box-sizing: border-box;
  height: 30px;
  min-height: 30px;
  padding: 0 12px;
  line-height: 30px;
}
body .product__info-wrapper [class*="_salesPlugins__gift--promotionBar_"] * {
  font-weight: 500;
  line-height: inherit;
}
body .product__info-wrapper [class*="_salesPlugins__gift--content_"] > svg {
  min-width: 15px;
  width: 15px;
}
body[data-gift-enhanced="true"] .gift-container-root button:not(:disabled)[data-gift-add] { background: var(--gift-accent, #bf192e) !important; color: var(--gift-button-text, #fff) !important; min-height: 44px; }
body[data-gift-enhanced="true"] .gift-container-root [disabled] { opacity: .45; cursor: not-allowed; }
body[data-gift-enhanced="true"] .gift-container-root [data-gift-claimed="true"] [class*="_title_"],
body[data-gift-enhanced="true"] .gift-container-root [data-gift-claimed="true"] [class*="_price_"] { color: #737373; }
@media (max-width: 749px) {
  .gift-promotion__card { padding: 12px; }
  .gift-promotion__select { font-size: 14px; }
}

/* Keep the native container available for unrelated discounts while matching
   free-gift banners are mirrored by the fixed theme-owned PDP module. */
.discount-style-plugin[data-bxgy-visible] { display: block !important; }
.discount-style-plugin [data-bxgy-text-mirrored] { display: none !important; }
buy-x-get-y { display: block; flex-shrink: 0; margin-bottom: 16px; font-size: 14px; line-height: 1.5; }
buy-x-get-y[hidden] { display: none; }
cart-items buy-x-get-y, cart-drawer buy-x-get-y { margin-top: 16px; }
buy-x-get-y > .gift-promotion__link { display: none; }
/* The cart upsell plugin mounts a full-screen overlay above the drawer. Keep it
   behind the drawer so the native gift trigger remains clickable. */
body:has(cart-drawer.active) .cartx-a-overlay { z-index: 998 !important; }
.bxgy-product-offer { display: flex; align-items: center; gap: 8px; box-sizing: border-box; width: 100%; height: 30px; min-height: 30px; max-height: 30px; margin: 0; padding: 0 12px; overflow: hidden; border: 0; border-radius: 4px; background: #fdf7f7; color: #c20000; font: inherit; font-size: 14px; line-height: 30px; letter-spacing: 0; text-align: start; cursor: pointer; }
.bxgy-product-offer + .bxgy-product-offer { margin-top: 8px; }
.bxgy-product-offer[data-state="available"] { background: #fdf7f7; }
.bxgy-product-offer > svg { flex: 0 0 18px; width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.bxgy-product-offer__body { display: flex; flex: 1; min-width: 0; overflow: hidden; flex-direction: column; gap: 0; }
.bxgy-product-offer__message { min-width: 0; overflow: hidden; color: inherit; font-size: 14px; font-weight: 500; line-height: 30px; text-overflow: ellipsis; white-space: nowrap; }
.bxgy-product-offer__message strong { color: #c20000; font-weight: 600; }
.bxgy-product-offer__note { display: none; }
.bxgy-product-offer__track { display: none; }
.bxgy-product-offer__track > span { display: block; height: 100%; border-radius: inherit; background: var(--gift-accent, #bf192e); transition: width 180ms ease; }
.bxgy-product-offer:hover .bxgy-product-offer__message { text-decoration: none; }
.bxgy-product-offer:focus-visible { outline: 2px solid #c20000; outline-offset: 3px; }
/* Pending cards render as a non-interactive hint (no claim button below the
   threshold), so drop the button affordances for them. */
.bxgy-product-offer:not(button) { cursor: default; }
.bxgy-product-offer:not(button):hover .bxgy-product-offer__message { text-decoration: none; }
.bxgy-note { margin: 10px 0 0; font-size: 14px; line-height: 1.5; }
.bxgy-cart-offer { background: var(--gift-pending-bg, #fdf7f7); color: #2c2c2c; }
.bxgy-cart-offer + .bxgy-cart-offer { margin-top: 8px; }
.bxgy-cart-offer[data-state="available"] { background: var(--gift-ready-bg, #fdf7f7); }
.bxgy-cart-offer__trigger { display: block; box-sizing: border-box; width: 100%; margin: 0; padding: 0; border: 0; border-radius: 0; background: transparent; color: inherit; font: inherit; text-align: start; cursor: pointer; }
.bxgy-cart-offer__heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 48px; padding: 12px 14px; font-size: 14px; line-height: 1.5; }
.bxgy-cart-offer__message { min-width: 0; overflow-wrap: anywhere; }
.bxgy-cart-offer strong { color: var(--gift-accent, #bf192e); font-weight: 600; }
.bxgy-cart-offer__arrow { flex: 0 0 8px; width: 8px; height: 8px; margin-inline-end: 3px; border: solid currentColor; border-width: 1.5px 1.5px 0 0; transform: rotate(45deg); }
.bxgy-cart-offer__preview { display: block; margin: 0 10px 10px; padding: 12px; border-radius: 4px; background: #fff; }
.bxgy-cart-offer__preview-label { display: flex; align-items: flex-start; gap: 7px; font-size: 12px; line-height: 1.5; }
.bxgy-cart-offer__preview-label svg { flex: 0 0 18px; width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.bxgy-cart-offer__images { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.bxgy-cart-offer__images:empty { display: none; }
.bxgy-cart-offer__images img { display: block; width: 44px; height: 56px; border-radius: 2px; object-fit: contain; background: #f7f7f7; }
.bxgy-cart-offer__trigger:hover .bxgy-cart-offer__message { text-decoration: underline; text-underline-offset: 3px; }
.bxgy-cart-offer__trigger:focus-visible, .bxgy-dialog__dismiss:focus-visible { outline: 2px solid var(--gift-accent, #bf192e); outline-offset: 2px; }
.bxgy-inline-status { display: block; margin: 10px 0 0; color: #5f6368; font-size: 12px; line-height: 1.45; }
.bxgy-inline-status:empty { display: none; }
.bxgy-dialog { width: min(620px, calc(100vw - 32px)); max-height: 85dvh; padding: 24px; border: 0; border-radius: 6px; color: #222; background: #fff; overflow: auto; box-sizing: border-box; }
.bxgy-dialog::backdrop { background: rgb(0 0 0 / 50%); }
.bxgy-dialog h2 { margin: 0; font-size: 22px; font-weight: 600; line-height: 1.3; }
.bxgy-dialog__header { display: flex; flex-shrink: 0; align-items: center; justify-content: space-between; gap: 12px; }
.bxgy-dialog__dismiss { position: relative; flex: 0 0 44px; width: 44px; height: 44px; margin: -6px -8px -6px 0; padding: 0; border: 0; border-radius: 3px; background: #fff; color: #222; cursor: pointer; }
.bxgy-dialog__dismiss::before, .bxgy-dialog__dismiss::after { content: ""; position: absolute; top: 21px; left: 13px; width: 18px; height: 1.5px; background: currentColor; transform: rotate(45deg); }
.bxgy-dialog__dismiss::after { transform: rotate(-45deg); }
.bxgy-dialog__dismiss:hover:not(:disabled) { background: #f5f5f5; }
.bxgy-dialog__footer { display: flex; flex-shrink: 0; align-items: center; justify-content: flex-end; gap: 12px; margin-top: 16px; }
.bxgy-dialog__eligible-link { color: var(--gift-accent, #bf192e); font-size: 13px; font-weight: 700; line-height: 1.4; text-underline-offset: 3px; }
.bxgy-dialog__eligible-link:focus-visible { outline: 2px solid var(--gift-accent, #bf192e); outline-offset: 3px; }
.bxgy-dialog__eligible-button { display: flex; box-sizing: border-box; align-items: center; justify-content: center; text-decoration: none; }
.bxgy-dialog > .bxgy-note { margin-bottom: 12px; color: #5f6368; font-size: 13px; }
.bxgy-dialog--cart { position: fixed; inset: 0 0 0 auto; width: min(440px, 100vw); max-width: 100vw; height: 100dvh; max-height: 100dvh; margin: 0; border-radius: 0; padding: 24px 20px; overscroll-behavior: contain; }
.bxgy-product { display: flex; align-items: flex-start; gap: 12px; padding: 12px 0; border-bottom: 1px solid #ededed; }
.bxgy-product:last-child { border-bottom: 0; }
.bxgy-product img { flex: 0 0 64px; width: 64px; height: 82px; object-fit: cover; border-radius: 4px; background: #f5f5f5; }
.bxgy-product__content { flex: 1; min-width: 0; }
.bxgy-product h4 { margin: 0 0 6px; color: #252629; font-size: 13px; font-weight: 500; line-height: 1.35; letter-spacing: 0; overflow-wrap: anywhere; }
.bxgy-product__pricing { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px; margin: 0 0 8px; font-size: 12px; line-height: 1.25; }
.bxgy-product__free { color: var(--gift-accent, #bf192e); font-size: 14px; font-weight: 700; letter-spacing: .04em; }
.bxgy-product__price { color: #85888c; font-weight: 400; }
.bxgy-product__actions { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; align-items: stretch; }
.bxgy-product__select-wrap { position: relative; min-width: 0; }
.bxgy-product__select-wrap::after { content: ""; position: absolute; inset-inline-end: 13px; top: 14px; width: 6px; height: 6px; border: solid #383b40; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); pointer-events: none; }
.bxgy-product__select { display: block; box-sizing: border-box; appearance: none; -webkit-appearance: none; width: 100%; min-width: 0; height: 36px; margin: 0; padding: 0 10px; padding-inline-end: 32px; border: 1px solid #c9cbce; border-radius: 4px; background: #fff; background-image: none; color: #252629; font: inherit; font-size: 12px; line-height: normal; text-overflow: ellipsis; cursor: pointer; }
.bxgy-product__select:hover:not(:disabled):not(:focus-visible) { border-color: #777b80; }
.bxgy-product__select:focus-visible { border-width: 2px; border-color: var(--gift-accent, #bf192e); outline: none; }
.bxgy-product__add:focus-visible { outline: 2px solid var(--gift-accent, #bf192e); outline-offset: 2px; }
.bxgy-product__add { box-sizing: border-box; min-width: 74px; height: 36px; margin: 0; padding: 7px 10px; border: 1px solid var(--gift-accent, #bf192e); border-radius: 4px; background: var(--gift-accent, #bf192e); color: var(--gift-button-text, #fff); font: inherit; font-size: 12px; font-weight: 600; line-height: 1.25; cursor: pointer; }
.bxgy-product__add:hover:not(:disabled) { filter: brightness(.92); }
.bxgy-product__add:disabled, .bxgy-product__select:disabled { opacity: .5; cursor: wait; }
.bxgy-dialog .gift-promotion__select { background: var(--gift-accent, #bf192e); color: var(--gift-button-text, #fff); }
.bxgy-dialog .gift-promotion__select:not([data-bxgy-add]) { border-color: #bcbcbc; background: #fff; color: #000; }
.bxgy-dialog .gift-promotion__select:not([data-bxgy-add]):hover:not(:disabled) { border-color: #222; background: #f5f5f5; filter: none; }
.bxgy-dialog button:disabled { opacity: .5; cursor: wait; }
.bxgy-dialog[open] { display: flex; flex-direction: column; }
.bxgy-products { flex: 1 1 auto; container-type: inline-size; overflow-y: auto; min-height: 0; padding: 0 4px; margin: 0 -4px; }
.bxgy-dialog > h2, .bxgy-dialog > .bxgy-note, .bxgy-close { flex-shrink: 0; }
.bxgy-dialog .bxgy-close { margin-top: 16px; }
buy-x-get-y .gift-promotion__select,
.bxgy-dialog .gift-promotion__select { font-size: 14px; line-height: 1.4; }
@container (max-width: 360px) {
  .bxgy-product { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 12px; align-items: start; }
  .bxgy-product__content { display: grid; min-width: 0; grid-template-rows: auto auto auto; align-content: start; }
  .bxgy-product h4 { margin: 0 0 6px; }
  .bxgy-product__pricing { margin: 0 0 8px; }
}
@media (max-width: 749px) {
  .bxgy-dialog { padding: 20px 16px; }
  .bxgy-dialog h2 { font-size: 20px; }
  .bxgy-product__select { font-size: 14px; }
}
@media (min-width: 750px) {
  .bxgy-product { position: relative; display: grid; grid-template-columns: 96px minmax(0, 1fr); align-items: start; }
  .bxgy-product > img { position: absolute; inset-block-start: 12px; inset-inline-start: 0; width: 96px; height: calc(100% - 24px); }
  .bxgy-product__content { grid-column: 2; }
  .bxgy-product__actions { grid-template-columns: minmax(0, 1fr); }
}
