/* ==========================================================================
   FREE GIFT OFFERS (cart page) - classes prefixed fp-
   Shown right under the offer's qualifying product (.fp-offer-block):
   1. .fp-deal   compact strip (red/yellow like the product page "Bonus Pack Deal"; green once applied)
   2. .fp-gift   gift ticket, with size cards when the shopper can choose
   Animations only run inside .fp-animate (added by free-gift-offer.js when an offer
   applies or its gift count changes), not on every cart refresh.
   ========================================================================== */
:root {
  --fp-red-1: #b8121f;
  --fp-red-2: #ee3b33;
  --fp-yellow: #ffd23f;
  --fp-yellow-dark: #e8b400;
  --fp-ink: #14231a;
  --fp-muted: #56645b;
  --fp-text-soft: #3e4c43;
  --fp-line: #dfe6de;
  --fp-green: #087a2b;
  --fp-green-1: #06672a;
  --fp-green-2: #0b8a36;
  --fp-green-bright: #04a104;
  --fp-mint: #e9f7ec;
  --fp-mint-line: #b7dfc2;
  --fp-stamp: #d6001c;
}

.fp-offer-block { float: left; width: 100%; margin: 12px 0 0; box-sizing: border-box; }
.fp-offer-block *, .fp-offer-block *::before, .fp-offer-block *::after { box-sizing: border-box; }

/* ---------- 1. Deal strip ---------- */
.fp-deal { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; padding: 14px 18px; border-radius: 18px; color: #fff; background: radial-gradient(ellipse 18px 13px at 30% 8%, #ffb066 0 45%, transparent 100%), radial-gradient(ellipse 15px 12px at 47% 97%, #ffb066 0 45%, transparent 100%), radial-gradient(ellipse 17px 13px at 66% 6%, #ffb066 0 45%, transparent 100%), radial-gradient(ellipse 13px 11px at 8% 96%, #ffb066 0 45%, transparent 100%), linear-gradient(180deg, #a3111a 0%, #d0202b 50%, #ef4a42 100%); box-shadow: 0 10px 24px -14px rgba(163,17,26,.8); position: relative; overflow: hidden; text-align: left; }
.fp-deal::after { content: ""; position: absolute; right: -40px; top: -60px; width: 160px; height: 160px; border-radius: 50%; background: rgba(255,255,255,.08); pointer-events: none; }
.fp-deal__main { display: flex; align-items: center; gap: 14px; min-width: 0; }
.fp-deal__icon { width: 48px; height: 48px; flex-shrink: 0; border-radius: 14px; background: #fff; box-shadow: 0 4px 10px -4px rgba(80,10,15,.45); color: #a3111a; display: flex; align-items: center; justify-content: center; }
.fp-deal__icon svg { width: 26px; height: 26px; }
.fp-deal__text { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.fp-deal__eyebrow { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.88); line-height: 1.2; }
.fp-deal__title { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; font-size: 20px; font-weight: 800; line-height: 1.2; font-family: Montserrat, "Public Sans", Arial, sans-serif; }
.fp-deal__arrow { width: 24px; height: 24px; border-radius: 50%; background: rgba(255,255,255,.22); display: inline-flex; align-items: center; justify-content: center; }
.fp-deal__arrow svg { width: 14px; height: 14px; }
.fp-deal__chip { display: inline-block; padding: 2px 14px 3px; border-radius: 999px; background: #fff; color: #a3111a; font-family: Montserrat, "Public Sans", Arial, sans-serif; font-weight: 900; box-shadow: 0 4px 12px -5px rgba(80,10,15,.5); white-space: nowrap; }
/* "Add 1 more ... get another ... FREE": small action pill under the title */
.fp-deal__next { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; margin-top: 4px; padding: 4px 14px 4px 4px; border: 1px solid rgba(255,255,255,.4); border-radius: 50px; background: rgba(255,255,255,.14); color: #fff !important; font: inherit; font-size: 13px; font-weight: 700; line-height: 1.3; text-align: left; text-decoration: none !important; cursor: pointer; transition: background .2s, color .2s, transform .15s; }
.fp-deal__next-plus { width: 22px; height: 22px; flex-shrink: 0; border-radius: 50%; background: var(--fp-yellow); color: var(--fp-green-1); display: flex; align-items: center; justify-content: center; transition: transform .25s ease; }
.fp-deal__next-plus svg { width: 12px; height: 12px; }
.fp-deal__next-gift { color: var(--fp-yellow); white-space: nowrap; }
.fp-deal__next:hover { background: #fff; color: var(--fp-green-1) !important; transform: translateY(-1px); }
.fp-deal__next:hover .fp-deal__next-gift { color: var(--fp-green-2); }
.fp-deal__next:hover .fp-deal__next-plus { transform: rotate(90deg); }
.fp-deal__side { flex-shrink: 0; display: flex; flex-direction: column; align-items: flex-end; text-align: right; padding-left: 16px; border-left: 1px dashed rgba(255,255,255,.4); position: relative; z-index: 1; }
.fp-deal__save-label { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.88); }
.fp-deal__save { font-size: 24px; font-weight: 900; line-height: 1.1; font-variant-numeric: tabular-nums; }
.fp-deal__btn { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 18px; border: 0; border-radius: 50px; background: #fff; color: #a3111a !important; font: inherit; font-size: 14px; font-weight: 800; white-space: nowrap; text-decoration: none !important; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease; box-shadow: 0 4px 0 rgba(0,0,0,.15); }
.fp-deal__btn span { font-size: 20px; line-height: 1; }
.fp-deal__btn:hover { transform: translateY(-1px); box-shadow: 0 5px 0 rgba(0,0,0,.15); }
.fp-deal a:focus-visible, .fp-deal button:focus-visible { outline: 3px solid var(--fp-yellow); outline-offset: 2px; }
/* Applied: green */
.fp-deal--on { background: linear-gradient(100deg, var(--fp-green-1) 0%, var(--fp-green-2) 100%); box-shadow: 0 10px 24px -14px rgba(8,122,43,.75); }
.fp-deal--on .fp-deal__icon { position: relative; overflow: visible; background: linear-gradient(150deg, #ffe066 0%, var(--fp-yellow) 55%, #ffc61a 100%); box-shadow: 0 4px 0 var(--fp-yellow-dark), 0 8px 16px -8px rgba(0,0,0,.35); color: var(--fp-green); }
.fp-deal--on .fp-deal__icon .fp-deal__gift { width: 26px; height: 26px; }
.fp-deal__badge { position: absolute; right: -7px; bottom: -7px; width: 22px; height: 22px; border-radius: 50%; background: var(--fp-green-bright); color: #fff; border: 2.5px solid #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 2px 4px rgba(0,0,0,.25); }
.fp-deal__badge svg { width: 11px !important; height: 11px !important; }
.fp-animate .fp-deal__gift { animation: fp-gift-hop .8s .2s cubic-bezier(.2,.9,.3,1.3) both; }
.fp-animate .fp-deal__badge { animation: fp-pop .45s .75s cubic-bezier(.2,.9,.3,1.4) both; }
.fp-deal__icon.is-bump .fp-deal__gift { animation: fp-gift-bump .75s cubic-bezier(.3,.9,.3,1.2) both; }
.fp-deal__icon.is-bump .fp-deal__badge { animation: fp-pop .45s .3s cubic-bezier(.2,.9,.3,1.4) both; }
.fp-deal__icon.is-bump { animation: fp-icon-glow .75s ease both; }
@keyframes fp-gift-bump { 0% { transform: none; } 25% { transform: translateY(-5px) scale(1.22) rotate(10deg); } 45% { transform: translateY(0) scale(1.05) rotate(-16deg); } 65% { transform: scale(1.1) rotate(6deg); } 100% { transform: none; } }
@keyframes fp-icon-glow { 0%, 100% { box-shadow: 0 4px 0 var(--fp-yellow-dark), 0 8px 16px -8px rgba(0,0,0,.35); } 35% { box-shadow: 0 4px 0 var(--fp-yellow-dark), 0 0 0 6px rgba(255,210,63,.45), 0 0 22px 6px rgba(255,210,63,.55); } }
@keyframes fp-gift-hop { 0% { transform: scale(.4) rotate(-30deg); opacity: 0; } 60% { transform: scale(1.15) rotate(6deg); opacity: 1; } 100% { transform: none; } }
.fp-deal--on .fp-deal__chip { color: var(--fp-green-1); }
/* Applied: "You save" as a coupon-style savings panel (fills the strip, no thin column at the far edge) */
.fp-deal--on { gap: 24px; }
.fp-deal--on .fp-deal__text { gap: 6px; }
.fp-deal--on .fp-deal__title { margin-bottom: 4px; }
.fp-deal--on .fp-deal__eyebrow { margin-bottom: 2px; }
.fp-deal--on .fp-deal__next { margin-top: 6px; padding: 5px 6px 5px 5px; gap: 8px; border: 0; background: #fff; color: #13306b !important; box-shadow: 0 6px 14px -8px rgba(10,30,70,.6); flex-wrap: nowrap; max-width: 100%; }
.fp-deal--on .fp-deal__next > span:last-child { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; min-width: 0; }
.fp-deal--on .fp-deal__title { font-size: 22px; }
.fp-deal--on .fp-deal__side { align-self: stretch; justify-content: center; align-items: center; text-align: center; min-width: 190px; padding: 10px 22px; border: 1.5px dashed rgba(255,255,255,.5); border-radius: 14px; background: rgba(255,255,255,.12); }
.fp-deal--on .fp-deal__save { font-size: 30px; letter-spacing: -.01em; }
/* Applied state in the NexGard campaign look (deep blue -> sky blue, white pills, navy text, soft orange chews),
   matching the product page "Bonus Pack Deal" banner. The green check on the gift icon still says "applied". */
.fp-deal--on {
  background:
    radial-gradient(ellipse 18px 13px at 30% 8%, #f0782a 0 45%, transparent 100%),
    radial-gradient(ellipse 15px 12px at 47% 97%, #f0782a 0 45%, transparent 100%),
    radial-gradient(ellipse 17px 13px at 66% 6%, #f0782a 0 45%, transparent 100%),
    radial-gradient(ellipse 13px 11px at 8% 96%, #f0782a 0 45%, transparent 100%),
    linear-gradient(180deg, #2c4a8b 0%, #3a62a2 50%, #5aa0cd 100%);
  box-shadow: 0 10px 24px -14px rgba(44,74,139,.8);
}
.fp-deal--on .fp-deal__title, .fp-deal--on .fp-deal__save, .fp-deal--on .fp-deal__chip { font-family: Montserrat, "Public Sans", Arial, sans-serif; }
.fp-deal--on .fp-deal__icon { background: #fff; box-shadow: 0 4px 10px -4px rgba(10,30,70,.45); color: #2b4f96; }
.fp-deal--on .fp-deal__chip { background: #fff; color: #13306b; border-radius: 999px; padding: 2px 14px 3px; box-shadow: 0 4px 12px -5px rgba(10,30,70,.5); }
.fp-deal--on .fp-deal__next-plus { background: #2b4f96; color: #fff; }
.fp-deal--on .fp-deal__next-gift { display: inline-block; margin-left: 2px; padding: 3px 10px 4px; border-radius: 999px; background: linear-gradient(180deg, #f58a3c 0%, #e8641c 100%); color: #fff; font-weight: 800; text-decoration: none; }
.fp-deal--on .fp-deal__next:hover { background: #fff; color: #13306b !important; transform: translateY(-1px); box-shadow: 0 10px 18px -8px rgba(10,30,70,.65); }
.fp-deal--on .fp-deal__next:hover .fp-deal__next-gift { color: #fff; }
.fp-deal--on .fp-deal__side { border-color: rgba(255,255,255,.55); background: rgba(255,255,255,.1); }
/* NexGard Spectra 2026 banner look (BUY 12 GET 3 FREE artwork): brighter gradient, soft light swooshes,
   bigger blurred orange chews, faint outlined ghost text behind the headline, cream highlight.
   Red before the deal is earned, blue once applied. */
.fp-deal {
  background:
    radial-gradient(ellipse 26px 19px at 3% 52%, rgba(240,120,42,.95) 0 38%, rgba(240,120,42,0) 100%),
    radial-gradient(ellipse 20px 15px at 41% 96%, rgba(240,120,42,.9) 0 38%, rgba(240,120,42,0) 100%),
    radial-gradient(ellipse 22px 17px at 69% 8%, rgba(240,120,42,.9) 0 38%, rgba(240,120,42,0) 100%),
    radial-gradient(ellipse 24px 18px at 97% 88%, rgba(240,120,42,.95) 0 38%, rgba(240,120,42,0) 100%),
    radial-gradient(ellipse 70% 150% at 88% 135%, rgba(255,255,255,.12) 0 55%, rgba(255,255,255,0) 56%),
    radial-gradient(ellipse 55% 130% at 30% -60%, rgba(255,255,255,.09) 0 55%, rgba(255,255,255,0) 56%),
    linear-gradient(180deg, #a3111a 0%, #cf1f2a 55%, #ee4b43 100%);
  box-shadow: 0 10px 24px -14px rgba(163,17,26,.8);
}
.fp-deal--on {
  background:
    radial-gradient(ellipse 26px 19px at 3% 52%, rgba(240,120,42,.95) 0 38%, rgba(240,120,42,0) 100%),
    radial-gradient(ellipse 20px 15px at 41% 96%, rgba(240,120,42,.9) 0 38%, rgba(240,120,42,0) 100%),
    radial-gradient(ellipse 22px 17px at 69% 8%, rgba(240,120,42,.9) 0 38%, rgba(240,120,42,0) 100%),
    radial-gradient(ellipse 24px 18px at 97% 88%, rgba(240,120,42,.95) 0 38%, rgba(240,120,42,0) 100%),
    radial-gradient(ellipse 70% 150% at 88% 135%, rgba(255,255,255,.12) 0 55%, rgba(255,255,255,0) 56%),
    radial-gradient(ellipse 55% 130% at 30% -60%, rgba(255,255,255,.09) 0 55%, rgba(255,255,255,0) 56%),
    linear-gradient(180deg, #2b4f96 0%, #3e6db2 55%, #6aaedb 100%);
  box-shadow: 0 10px 24px -14px rgba(43,79,150,.8);
}
/* Faint outlined ghost text behind the headline, like the outlined "BUY 12 GET 3 FREE" in the artwork */
.fp-deal::before {
  content: "FREE"; position: absolute; left: 64px; top: 50%; transform: translateY(-50%);
  font-family: Montserrat, "Public Sans", Arial, sans-serif; font-weight: 900; font-size: 78px; line-height: 1; letter-spacing: .02em;
  color: transparent; -webkit-text-stroke: 1.5px rgba(255,255,255,.13); pointer-events: none; z-index: 0; white-space: nowrap;
}
.fp-deal__main, .fp-deal__side { position: relative; z-index: 1; }
/* Cream highlight for the key number, like the cream "GET 3 FREE" */
.fp-deal--on .fp-deal__save { color: #fff4c4; }
.fp-deal__eyebrow { color: #fff4c4; }
.fp-deal__peek { display: flex; align-items: center; gap: 14px; text-align: left; }
.fp-deal__peek-imgs { display: flex; align-items: center; perspective: 600px; }
.fp-deal__peek-imgs img { width: 52px; height: 52px; margin-left: -16px; padding: 3px; object-fit: contain; background: #fff; border-radius: 12px; box-shadow: 0 6px 14px -6px rgba(10,30,70,.55); transition: transform .35s ease-in; }
.fp-deal__peek-imgs img:first-child { margin-left: 0; }
.fp-deal__peek-imgs--1 img { transform: rotate(-6deg); }
.fp-deal__peek-imgs--2 img:nth-child(1), .fp-deal__peek-imgs--3 img:nth-child(1) { transform: rotate(-9deg); }
.fp-deal__peek-imgs--2 img:nth-child(2) { transform: rotate(7deg) translateY(-2px); }
.fp-deal__peek-imgs--3 img:nth-child(2) { transform: translateY(-4px); position: relative; z-index: 1; }
.fp-deal__peek-imgs--3 img:nth-child(3) { transform: rotate(10deg); }
.fp-deal__peek-imgs img.is-flipping { transform: rotateY(90deg); }
.fp-deal__peek-text { display: flex; flex-direction: column; align-items: center; text-align: center; line-height: 1.15; }
.fp-deal__peek-text b { font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #fff4c4; }
.fp-deal__peek-text span { font-family: Montserrat, "Public Sans", Arial, sans-serif; font-size: 26px; font-weight: 900; color: #fff; white-space: nowrap; }
.fp-deal__peek-text i { margin-top: 2px; font-style: normal; font-size: 12px; font-weight: 600; color: rgba(255,255,255,.88); white-space: nowrap; }
.fp-deal__save-note { margin-top: 2px; font-size: 12px; font-weight: 600; color: rgba(255,255,255,.85); white-space: nowrap; }

/* ---------- 1b. Bundle frame: offer strip (header) + qualifying cart rows + "+" + gifts ---------- */
.fp-bundle { position: relative; margin-top: 12px; padding: 0 12px 12px; border: 2px solid #f3c4c7; border-radius: 22px; background: #fff5f5; }
.fp-bundle--on { border-color: #b9cde8; background: #eef4fb; }
.fp-bundle--on .fp-gift__perf::before, .fp-bundle--on .fp-gift__perf::after { background: #eef4fb; }
.fp-bundle--on .fp-bundle__plus::before { border-top-color: #b9cde8; }
.fp-bundle--on .fp-bundle__plus span { background: #2c4a8b; box-shadow: 0 0 0 5px #eef4fb; }
/* Gift ticket inside an applied (blue) offer: same NexGard blue, the red FREE stamp stays */
.fp-bundle--on .fp-gift { border-color: #b9cde8; box-shadow: 0 10px 24px -20px rgba(44,74,139,.6); }
.fp-bundle--on .fp-gift__stub { background: #e7effa; }
.fp-bundle--on .fp-gift__perf { border-left-color: #b9cde8; border-top-color: #b9cde8; }
.fp-bundle--on .fp-gift__perf::before, .fp-bundle--on .fp-gift__perf::after { border-color: #b9cde8; }
.fp-bundle--on .fp-gift__tag, .fp-bundle--on .fp-giftline__no { background: #2c4a8b; }
.fp-bundle--on .fp-gift__qty { background: #13306b; }
.fp-bundle--on .fp-pill { color: #2c4a8b; background: #e7effa; }
.fp-bundle--on .fp-auto svg { color: #2c4a8b; }
.fp-bundle--on .fp-choice__toggle { border-color: #2c4a8b; color: #2c4a8b; box-shadow: 0 3px 0 rgba(44,74,139,.18); }
.fp-bundle--on .fp-choice__toggle:hover { background: #e7effa; box-shadow: 0 4px 0 rgba(44,74,139,.2); }
.fp-bundle--on .fp-choice__count { background: #e7effa; }
.fp-bundle--on .fp-choice__toggle[aria-expanded="true"] { background: #2c4a8b; color: #fff; box-shadow: none; }
.fp-bundle--on .fp-choice__toggle[aria-expanded="true"] .fp-choice__count { background: rgba(255,255,255,.2); }
.fp-bundle--on .fp-pick__opt input:checked + .fp-pick__card { border-color: #2c4a8b; background: #eef4fb; }
.fp-bundle--on .fp-pick__opt input:checked + .fp-pick__card .fp-pick__radio { background: #2c4a8b; border-color: #2c4a8b; }
.fp-bundle--on .fp-select:focus { border-color: #2c4a8b; box-shadow: 0 0 0 3px rgba(44,74,139,.15); }
.fp-bundle > .fp-deal { margin: -2px -14px 2px; width: calc(100% + 28px); border-radius: 22px 22px 0 0; box-shadow: none; }
.fp-bundle .cls_crt_prodetail_body { background: #fff; }
/* The cart's fixed 630px description column does not fit inside the frame: let it flex (image 100px + bin 40px) */
@media (min-width: 1201px) { .fp-bundle .cls_crt_prodiscription { width: calc(100% - 140px); } }
.fp-bundle .fp-gifts { float: left; width: 100%; margin-top: 0; }
.fp-bundle .fp-gift { box-shadow: 0 10px 24px -20px rgba(14,59,37,.6); }
.fp-bundle .fp-gift__perf::before, .fp-bundle .fp-gift__perf::after { background: #f1faf3; }
.fp-bundle__plus { float: left; width: 100%; position: relative; height: 34px; margin: 4px 0 4px; }
.fp-bundle__plus::before { content: ""; position: absolute; left: 24px; right: 24px; top: 50%; border-top: 2px dashed var(--fp-mint-line); }
.fp-bundle__plus span { position: absolute; left: 50%; top: 50%; width: 30px; height: 30px; margin: -15px 0 0 -15px; border-radius: 50%; background: var(--fp-green); color: #fff; font-size: 20px; font-weight: 800; line-height: 30px; text-align: center; box-shadow: 0 0 0 5px #f1faf3; }

/* ---------- 2. Gift ticket ---------- */
.fp-gifts { display: flex; flex-direction: column; gap: 12px; margin: 12px 0 0; }
.fp-gift { position: relative; display: flex; background: #fff; border: 1.5px solid var(--fp-mint-line); border-radius: 22px; overflow: hidden; box-shadow: 0 14px 34px -22px rgba(14,59,37,.55); color: var(--fp-ink); text-align: left; }
.fp-gift__stub { position: relative; width: 190px; flex-shrink: 0; background: var(--fp-mint); display: flex; align-items: center; justify-content: center; padding: 22px; perspective: 600px; }
.fp-gift__tag { position: absolute; top: 12px; left: 12px; background: var(--fp-green); color: #fff; font-size: 11px; font-weight: 800; letter-spacing: .12em; padding: 4px 10px; border-radius: 50px; line-height: 1.3; }
.fp-gift__qty { position: absolute; top: 12px; right: 12px; min-width: 40px; height: 40px; padding: 0 10px; border-radius: 50px; background: #0e3b25; color: #fff; font-size: 17px; font-weight: 900; display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 14px -6px rgba(14,59,37,.6); }
.fp-gift__img { display: block; width: 130px; height: 130px; object-fit: contain; background: #fff; border-radius: 16px; box-shadow: 0 10px 24px -14px rgba(14,59,37,.45); transition: transform .35s ease-in; }
.fp-gift__img.is-flipping { transform: rotateY(90deg); }
.fp-gift__perf { position: relative; width: 0; border-left: 2px dashed var(--fp-mint-line); }
.fp-gift__perf::before, .fp-gift__perf::after { content: ""; position: absolute; left: -15px; width: 28px; height: 28px; border-radius: 50%; background: var(--fp-page-bg, #fff); border: 1.5px solid var(--fp-mint-line); }
.fp-gift__perf::before { top: -15px; }
.fp-gift__perf::after { bottom: -15px; }
.fp-gift__body { flex: 1; min-width: 0; display: flex; align-items: center; gap: 24px; padding: 22px 26px; }
.fp-gift__info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.fp-pill { align-self: flex-start; font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--fp-green); background: var(--fp-mint); padding: 4px 10px; border-radius: 50px; line-height: 1.3; }
/* Same as the cart's product names (16px / 500 at all widths) */
.fp-gift__title { font-size: 16px; font-weight: 500; line-height: 1.4; color: #212121; margin: 0; }
.fp-gift--multi .fp-gift__title { font-weight: 700; color: var(--fp-ink); }
.fp-auto { display: flex; align-items: center; gap: 6px; font-size: 14px; color: var(--fp-text-soft); line-height: 1.3; }
.fp-auto svg { width: 20px; height: 20px; color: var(--fp-green-bright); flex-shrink: 0; }
.fp-gift__price { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; flex-shrink: 0; }
.fp-gift__worth-label { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--fp-muted); }
.fp-gift__price s { font-size: 22px; font-weight: 700; color: var(--fp-muted); text-decoration-thickness: 2px; text-decoration-color: var(--fp-stamp); font-variant-numeric: tabular-nums; }
.fp-stamp { flex-shrink: 0; width: 74px; height: 74px; border-radius: 50%; border: 3px solid var(--fp-stamp); display: flex; align-items: center; justify-content: center; transform: rotate(-12deg); background: #fff; }
.fp-stamp span { width: 60px; height: 60px; border-radius: 50%; border: 1.5px dashed var(--fp-stamp); display: flex; align-items: center; justify-content: center; color: var(--fp-stamp); font-size: 15px; font-weight: 900; letter-spacing: .06em; }

/* "Change size" button (size cards collapsed by default) */
.fp-choice__toggle { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; height: 40px; margin-top: 2px; padding: 0 8px 0 14px; border: 2px solid var(--fp-green); border-radius: 50px; background: #fff; color: var(--fp-green); font: inherit; font-size: 14px; font-weight: 800; cursor: pointer; white-space: nowrap; box-shadow: 0 3px 0 rgba(8,122,43,.18); transition: background .2s, color .2s, transform .15s, box-shadow .15s; }
.fp-choice__toggle:hover { background: var(--fp-mint); transform: translateY(-1px); box-shadow: 0 4px 0 rgba(8,122,43,.2); }
.fp-choice__toggle:focus-visible { outline: 3px solid #00abec; outline-offset: 2px; }
.fp-choice__icon { width: 16px; height: 16px; }
.fp-choice__count { padding: 2px 8px; border-radius: 50px; background: var(--fp-mint); font-size: 12px; font-weight: 700; transition: background .2s, color .2s; }
.fp-choice__chevron { width: 18px; height: 18px; transition: transform .25s ease; }
.fp-choice__toggle[aria-expanded="true"] { background: var(--fp-green); color: #fff; box-shadow: none; }
.fp-choice__toggle[aria-expanded="true"] .fp-choice__count { background: rgba(255,255,255,.2); }
.fp-choice__toggle[aria-expanded="true"] .fp-choice__chevron { transform: rotate(180deg); }
/* Size cards open / close by animating their height (grid rows 0fr -> 1fr), so the ticket grows
   smoothly and the image, price and stamp glide instead of jumping. */
.fp-pick-wrap { display: grid; grid-template-rows: 0fr; opacity: 0; visibility: hidden;
                transition: grid-template-rows .45s cubic-bezier(.2,.8,.2,1), opacity .25s ease, visibility 0s linear .45s; }
.fp-pick-wrap > .fp-pick { min-height: 0; overflow: hidden; padding: 2px 4px 6px; margin: 0 -4px; }
.fp-pick-wrap.is-open { grid-template-rows: 1fr; opacity: 1; visibility: visible;
                        transition: grid-template-rows .45s cubic-bezier(.2,.8,.2,1), opacity .3s ease .08s, visibility 0s; }
.fp-pick-wrap.is-open .fp-pick__opt { animation: fp-card-in .4s cubic-bezier(.2,.9,.3,1.2) both; }
.fp-pick-wrap.is-open .fp-pick__opt:nth-child(2) { animation-delay: .07s; }
.fp-pick-wrap.is-open .fp-pick__opt:nth-child(3) { animation-delay: .14s; }
.fp-pick-wrap.is-open .fp-pick__opt:nth-child(4) { animation-delay: .21s; }
.fp-pick-wrap.is-open .fp-pick__opt:nth-child(5) { animation-delay: .28s; }
.fp-gift__stub, .fp-gift__price, .fp-stamp { transition: transform .3s ease; }
@keyframes fp-card-in { 0% { opacity: 0; transform: translateY(10px) scale(.96); } 100% { opacity: 1; transform: none; } }
/* Price change after picking a size */
.fp-pulse { animation: fp-pulse .5s ease; }
@keyframes fp-pulse { 0% { transform: scale(1); } 40% { transform: scale(1.12); } 100% { transform: scale(1); } }

/* Size cards (only when the shopper can choose) */
.fp-pick { margin: 6px 0 0; padding: 0; border: 0; min-width: 0; }
.fp-pick__legend { padding: 0; margin-bottom: 8px; font-size: 13px; font-weight: 800; color: var(--fp-ink); border: 0; width: auto; }
.fp-pick__opts { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 10px; }
.fp-pick__opt { position: relative; display: block; margin: 0; cursor: pointer; font-weight: normal; }
.fp-pick__opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.fp-pick__card { display: flex; align-items: center; gap: 10px; height: 100%; padding: 8px 12px 8px 8px; border: 2px solid var(--fp-line); border-radius: 14px; background: #fff; transition: border-color .2s, background .2s, transform .2s; }
.fp-pick__opt:hover .fp-pick__card { border-color: var(--fp-mint-line); transform: translateY(-2px); }
.fp-pick__opt input:focus-visible + .fp-pick__card { outline: 3px solid #00abec; outline-offset: 2px; }
.fp-pick__opt input:checked + .fp-pick__card { border-color: var(--fp-green); background: #f0faf2; }
.fp-pick__img { width: 48px; height: 48px; flex-shrink: 0; object-fit: contain; border-radius: 10px; background: #fff; }
.fp-pick__text { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.25; }
.fp-pick__name { font-size: 14px; font-weight: 800; }
.fp-pick__band { font-size: 12px; color: var(--fp-muted); }
.fp-pick__radio { width: 22px; height: 22px; flex-shrink: 0; border-radius: 50%; border: 2px solid var(--fp-line); display: flex; align-items: center; justify-content: center; background: #fff; transition: all .2s; }
.fp-pick__radio svg { width: 12px; height: 12px; color: #fff; opacity: 0; }
.fp-pick__opt input:checked + .fp-pick__card .fp-pick__radio { background: var(--fp-green); border-color: var(--fp-green); animation: fp-pop .35s cubic-bezier(.2,.9,.3,1.4); }
.fp-pick__opt input:checked + .fp-pick__card .fp-pick__radio svg { opacity: 1; }
/* 4+ choices: 2-column grid of picture tiles */
.fp-pick--grid .fp-pick__opts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.fp-pick--grid .fp-pick__card { position: relative; flex-direction: column; text-align: center; gap: 6px; padding: 12px 10px 10px; }
.fp-pick--grid .fp-pick__img { width: 76px; height: 76px; }
.fp-pick--grid .fp-pick__name { font-size: 13px; }
.fp-pick--grid .fp-pick__radio { position: absolute; top: 8px; right: 8px; width: 20px; height: 20px; }

/* RequireChoice: nothing picked yet */
.fp-gift__placeholder { display: none; }
.fp-gift--pending .fp-gift__img { display: none; }
.fp-gift--pending .fp-gift__placeholder { display: flex; align-items: center; justify-content: center; width: 130px; height: 130px; border: 2px dashed var(--fp-mint-line); border-radius: 16px; background: #fff; color: var(--fp-green); }
.fp-gift--pending .fp-gift__placeholder svg { width: 56px; height: 56px; animation: fp-gift-hop .6s cubic-bezier(.2,.9,.3,1.3) both; }
.fp-gift--pending > .fp-gift__body .fp-gift__price,
.fp-gift--pending [data-fp-choice-toggle] { display: none; }
.fp-giftline.is-pending .fp-giftline__img, .fp-gift__stack-img.is-pending { opacity: .25; filter: grayscale(1); }
.fp-need-pick { display: none; margin-top: 10px; padding: 8px 12px; border-radius: 10px; background: #fdecec; color: #b3121a; font-size: 13px; font-weight: 800; }
.fp-gift--pending.fp-attention .fp-need-pick { display: block; }
.fp-gift.fp-attention { animation: fp-attention .55s ease; box-shadow: 0 0 0 3px #e8262b, 0 10px 24px -12px rgba(232,38,43,.5); }
@keyframes fp-attention { 0%, 100% { transform: none; } 20% { transform: translateX(-8px); } 40% { transform: translateX(7px); } 60% { transform: translateX(-5px); } 80% { transform: translateX(3px); } }

/* 3+ sizes: compact tiles in one row */
.fp-pick--tiles .fp-pick__opts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.fp-pick--tiles .fp-pick__card { position: relative; flex-direction: column; text-align: center; gap: 6px; padding: 12px 8px 10px; }
.fp-pick--tiles .fp-pick__img { width: 56px; height: 56px; }
.fp-pick--tiles .fp-pick__name { font-size: 13px; }
.fp-pick--tiles .fp-pick__radio { position: absolute; top: 6px; right: 6px; width: 20px; height: 20px; }

/* Size dropdown (1 gift with 4+ sizes, or each row of the combined ticket) */
.fp-select { display: block; width: 100%; max-width: 420px; height: 44px; padding: 0 40px 0 14px; border: 2px solid var(--fp-line); border-radius: 12px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23087a2b' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center / 18px 18px; -webkit-appearance: none; appearance: none; font: inherit; font-size: 14px; font-weight: 600; color: var(--fp-ink); cursor: pointer; transition: border-color .15s; }
.fp-select:hover { border-color: var(--fp-mint-line); }
.fp-select:focus { outline: none; border-color: var(--fp-green); box-shadow: 0 0 0 3px rgba(8,122,43,.15); }
.fp-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Combined ticket: one compact row per gift */
.fp-giftlines { display: flex; flex-direction: column; gap: 8px; margin-top: 4px; }
.fp-giftline { display: grid; grid-template-columns: auto 40px minmax(160px, 1fr) auto; align-items: center; gap: 10px; padding: 6px 10px 6px 6px; border: 1.5px solid var(--fp-line); border-radius: 14px; background: #fafcfa; perspective: 600px; }
.fp-giftline__no { padding: 3px 8px; border-radius: 50px; background: var(--fp-green); color: #fff; font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.fp-giftline__img { width: 40px; height: 40px; object-fit: contain; border-radius: 8px; background: #fff; transition: transform .35s ease-in; }
.fp-giftline__img.is-flipping { transform: rotateY(90deg); }
.fp-giftline__name { font-size: 14px; font-weight: 500; line-height: 1.3; color: #212121; }
.fp-giftline .fp-select { max-width: none; height: 40px; }
.fp-giftline__worth { font-size: 12px; font-weight: 600; color: var(--fp-muted); white-space: nowrap; }
/* Combined ticket: fanned stack of the gift images */
.fp-gift__stack { position: relative; display: block; width: 150px; height: 140px; }
.fp-gift__stack-img { position: absolute; top: 22px; left: 50%; width: 78px; height: 78px; margin-left: -39px; object-fit: contain; background: #fff; border-radius: 14px; box-shadow: 0 10px 20px -12px rgba(14,59,37,.55); transition: transform .35s ease-in; }
.fp-gift__stack--2 .fp-gift__stack-img:nth-child(1) { transform: translateX(-26px) rotate(-8deg); }
.fp-gift__stack--2 .fp-gift__stack-img:nth-child(2) { transform: translateX(26px) rotate(6deg); }
.fp-gift__stack--3 .fp-gift__stack-img:nth-child(1) { transform: translateX(-40px) translateY(8px) rotate(-12deg); }
.fp-gift__stack--3 .fp-gift__stack-img:nth-child(2) { transform: translateY(-4px); z-index: 1; }
.fp-gift__stack--3 .fp-gift__stack-img:nth-child(3) { transform: translateX(40px) translateY(8px) rotate(12deg); }
.fp-gift__stack-img.is-flipping { transform: rotateY(90deg) !important; }
.fp-gift__stack-more { position: absolute; right: 0; bottom: 8px; z-index: 2; padding: 2px 8px; border-radius: 50px; background: #0e3b25; color: #fff; font-size: 12px; font-weight: 800; }

/* Combined ticket: title + price + stamp on top, gift rows full width underneath */
.fp-gift--multi .fp-gift__body { flex-wrap: wrap; align-items: center; row-gap: 14px; }
.fp-gift--multi .fp-giftlines { flex: 1 1 100%; margin-top: 0; }
.fp-gift--multi .fp-stamp { width: 62px; height: 62px; }
.fp-gift--multi .fp-stamp span { width: 50px; height: 50px; font-size: 13px; }

/* ---------- 3. "Choose a 6 Pack" popup ---------- */
.fp-modal { position: fixed; inset: 0; z-index: 999999; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(20,35,26,0); transition: background .25s ease; font-family: inherit; color: var(--fp-ink); text-align: left; }
.fp-modal[hidden] { display: none; }
.fp-modal.is-open { background: rgba(20,35,26,.45); }
.fp-modal *, .fp-modal *::before, .fp-modal *::after { box-sizing: border-box; }
.fp-modal.is-open .fp-modal__dialog { opacity: 1; transform: none; }
.fp-modal__close:focus-visible, .fp-buy__add:focus-visible, .fp-modal__link:focus-visible { outline: 3px solid #00abec; outline-offset: 2px; }
/* Popup: compact list, one row per size */
.fp-modal__icon { width: 46px; height: 46px; flex-shrink: 0; border-radius: 14px; background: var(--fp-yellow); color: var(--fp-red-1); display: flex; align-items: center; justify-content: center; box-shadow: 0 3px 0 var(--fp-yellow-dark); }
.fp-modal__icon svg { width: 24px; height: 24px; }
.fp-modal__heading { min-width: 0; }
.fp-modal__title { margin: 0; font-size: 20px; font-weight: 800; line-height: 1.25; color: var(--fp-ink); }
.fp-modal__sub { margin: 3px 0 0; font-size: 15px; font-weight: 600; color: var(--fp-text-soft); }
.fp-modal__hl { display: inline-block; padding: 1px 9px; border-radius: 6px; background: var(--fp-yellow); color: var(--fp-red-1); font-weight: 900; transform: rotate(-2deg); white-space: nowrap; }
.fp-modal__close { margin-left: auto; align-self: flex-start; flex-shrink: 0; width: 36px; height: 36px; border-radius: 50%; border: 0; background: #f1f3f2; color: var(--fp-ink); display: flex; align-items: center; justify-content: center; cursor: pointer; transition: background .2s; }
.fp-modal__close:hover { background: #e3e7e5; }
.fp-modal__close svg { width: 16px; height: 16px; }
/* Popup v3: header panel, bar (what you have + arrows), soft product cards */
.fp-modal__dialog { width: 820px; max-width: 100%; max-height: calc(100vh - 32px); overflow-y: auto; background: #fff; border-radius: 22px; box-shadow: 0 30px 80px -30px rgba(0,0,0,.55); opacity: 0; transform: translateY(20px) scale(.97); transition: transform .3s cubic-bezier(.2,.8,.3,1.1), opacity .2s; }
.fp-modal__head { display: flex; align-items: center; gap: 14px; padding: 18px 20px 18px 24px; background: #f6f8f7; border-bottom: 1px solid var(--fp-line); }
.fp-slider { padding: 16px 24px 4px; }
.fp-slider__bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.fp-buy__hint { margin: 0; font-size: 14px; color: var(--fp-muted); }
.fp-buy__hint b { color: var(--fp-ink); font-weight: 700; }
.fp-slider__navs { display: flex; gap: 8px; flex-shrink: 0; }
.fp-slider__navs[hidden] { display: none; }
.fp-slider__nav { width: 34px; height: 34px; padding: 0; border: 1.5px solid var(--fp-line); border-radius: 50%; background: #fff; color: var(--fp-ink); display: flex; align-items: center; justify-content: center; cursor: pointer; transition: border-color .2s, background .2s, opacity .2s; }
.fp-slider__nav svg { width: 16px; height: 16px; }
.fp-slider__nav:hover { border-color: var(--fp-ink); background: #f6f8f7; }
.fp-slider__nav:focus-visible { outline: 3px solid #00abec; outline-offset: 2px; }
.fp-slider__nav[disabled] { opacity: .35; cursor: default; background: #fff; border-color: var(--fp-line); }
.fp-buy { list-style: none; margin: 0; padding: 2px 2px 10px; display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 2px; scroll-behavior: smooth; scrollbar-width: none; overscroll-behavior-x: contain; }
.fp-buy::-webkit-scrollbar { display: none; }
.fp-buy__item { --fp-swatch: #9aa59f; --fp-tint: #f1f3f2; --fp-tint-ink: #4b5650; position: relative; flex: 1 0 140px; max-width: 170px; float: none; scroll-snap-align: start; display: flex; flex-direction: column; align-items: center; text-align: center; border: 1px solid var(--fp-line); border-radius: 14px; background: #fff; overflow: hidden; transition: border-color .15s, box-shadow .15s; }
.fp-buy__item:hover { border-color: #c9d1cc; box-shadow: 0 10px 22px -16px rgba(20,35,26,.5); }
.fp-buy__item[data-fp-colour="orange"] { --fp-swatch: #e98a3a; --fp-tint: #fdf0e3; --fp-tint-ink: #a4561a; }
.fp-buy__item[data-fp-colour="yellow"] { --fp-swatch: #d8ac1c; --fp-tint: #fdf6dc; --fp-tint-ink: #8a6a00; }
.fp-buy__item[data-fp-colour="green"] { --fp-swatch: #4c9f4a; --fp-tint: #e9f5e7; --fp-tint-ink: #2f6e2d; }
.fp-buy__item[data-fp-colour="purple"] { --fp-swatch: #8a62b5; --fp-tint: #f2ecf8; --fp-tint-ink: #5f3d86; }
.fp-buy__item[data-fp-colour="red"] { --fp-swatch: #c8434c; --fp-tint: #fbebec; --fp-tint-ink: #9a2730; }
.fp-buy__item[data-fp-colour="blue"] { --fp-swatch: #3b78c4; --fp-tint: #e8f0fa; --fp-tint-ink: #24568f; }
.fp-buy__band { align-self: stretch; display: flex; align-items: center; justify-content: center; gap: 6px; padding: 5px 0; background: var(--fp-tint); color: var(--fp-tint-ink); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.fp-buy__band::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--fp-swatch); }
.fp-buy__incart { position: absolute; top: 32px; right: 8px; padding: 1px 7px; border-radius: 50px; background: var(--fp-mint); color: var(--fp-green); font-size: 10px; font-weight: 800; }
.fp-buy__img { width: 88px; height: 88px; margin: 12px auto 6px; object-fit: contain; }
.fp-buy__name { padding: 0 8px; font-size: 14px; font-weight: 700; line-height: 1.25; color: var(--fp-ink); }
.fp-buy__kg { font-size: 12px; color: var(--fp-muted); }
.fp-buy__price { margin: 6px 0 10px; font-size: 16px; font-weight: 800; color: var(--fp-ink); font-variant-numeric: tabular-nums; }
.fp-buy__add { margin: auto 10px 12px; align-self: stretch; display: inline-flex; align-items: center; justify-content: center; gap: 5px; height: 36px; border: 1.5px solid #e4a1a7; border-radius: 50px; background: #fff; color: #c8102e; font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .15s; }
.fp-buy__add svg { width: 12px; height: 12px; }
.fp-buy__add:hover { background: #e3172f; border-color: #e3172f; color: #fff; }
.fp-buy__add:active { transform: scale(.97); }
.fp-buy__add[disabled] { opacity: .6; cursor: wait; }
.fp-slider__dots { width: 100%; float: none; display: flex; justify-content: center; gap: 6px; padding: 2px 0 2px; }
.fp-slider__dots button { flex: none; min-width: 0; width: 7px; height: 7px; padding: 0; border: 0; border-radius: 50px; background: #d6ddd8; cursor: pointer; transition: width .2s, background .2s; }
.fp-slider__dots button.is-on { width: 20px; background: var(--fp-ink); }
.fp-slider__dots[hidden] { display: none; }
.fp-modal__foot { padding: 10px 24px 20px; text-align: center; }
.fp-modal__link { font-size: 14px; font-weight: 700; color: var(--fp-ink) !important; text-decoration: none !important; border-bottom: 1.5px solid currentColor; padding-bottom: 1px; }
.fp-modal__link:hover { color: #c8102e !important; }
/* Popup header in the red campaign look (same as the "Add 1 more 6 Pack" strip that opens it) */
.fp-modal__head {
  position: relative; overflow: hidden; color: #fff; border-bottom: 0;
  background:
    radial-gradient(ellipse 24px 18px at 2% 90%, rgba(240,120,42,.95) 0 38%, rgba(240,120,42,0) 100%),
    radial-gradient(ellipse 20px 15px at 62% 8%, rgba(240,120,42,.9) 0 38%, rgba(240,120,42,0) 100%),
    radial-gradient(ellipse 22px 17px at 86% 96%, rgba(240,120,42,.9) 0 38%, rgba(240,120,42,0) 100%),
    radial-gradient(ellipse 70% 150% at 88% 135%, rgba(255,255,255,.12) 0 55%, rgba(255,255,255,0) 56%),
    radial-gradient(ellipse 55% 130% at 30% -60%, rgba(255,255,255,.09) 0 55%, rgba(255,255,255,0) 56%),
    linear-gradient(180deg, #a3111a 0%, #cf1f2a 55%, #ee4b43 100%);
}
.fp-modal__head::before {
  content: "FREE"; position: absolute; left: 70px; top: 50%; transform: translateY(-50%);
  font-family: Montserrat, "Public Sans", Arial, sans-serif; font-weight: 900; font-size: 72px; line-height: 1; letter-spacing: .02em;
  color: transparent; -webkit-text-stroke: 1.5px rgba(255,255,255,.13); pointer-events: none; white-space: nowrap;
}
.fp-modal__head > * { position: relative; z-index: 1; }
.fp-modal__icon { background: #fff; color: #a3111a; box-shadow: 0 4px 10px -4px rgba(80,10,15,.45); }
.fp-modal__title { color: #fff; font-family: Montserrat, "Public Sans", Arial, sans-serif; font-weight: 800; }
.fp-modal__sub { color: rgba(255,255,255,.92); }
.fp-modal__hl { background: #fff; color: #a3111a; border-radius: 999px; padding: 1px 11px 2px; transform: none; font-family: Montserrat, "Public Sans", Arial, sans-serif; box-shadow: 0 4px 12px -5px rgba(80,10,15,.5); }
.fp-modal__close { background: rgba(255,255,255,.18); color: #fff; }
.fp-modal__close:hover { background: rgba(255,255,255,.3); }
.fp-modal__close:focus-visible { outline-color: #fff; }
.fp-modal__heading { display: flex; flex-direction: column; gap: 4px; }
.fp-modal__head .fp-deal__eyebrow { color: #fff4c4; }
.fp-modal__head .fp-deal__chip { color: #a3111a; }
.fp-modal__title.fp-deal__title { margin: 0; color: #fff; }
.fp-slider__bar { justify-content: flex-end; }
.fp-slider__bar:has(> [data-fp-navs][hidden]) { display: none; }
body.fp-no-scroll { overflow: hidden; }

/* ---------- Animations (only when an offer applies or changes) ---------- */
.fp-animate .fp-deal__icon { animation: fp-pop .6s cubic-bezier(.2,.9,.3,1.4) both; }
.fp-animate .fp-deal__chip { animation: fp-wiggle .7s .25s ease both; }
.fp-gift.fp-animate { animation: fp-drop .7s .1s cubic-bezier(.2,.9,.3,1.25) both; }
.fp-gift.fp-animate .fp-stamp { animation: fp-stamp .45s .6s cubic-bezier(.2,.9,.3,1.2) both; }
.fp-gift.fp-animate .fp-gift__qty { animation: fp-pop .5s .5s cubic-bezier(.2,.9,.3,1.4) both; }
@keyframes fp-pop { 0% { transform: scale(.5) rotate(-10deg); } 70% { transform: scale(1.12) rotate(4deg); } 100% { transform: none; } }
@keyframes fp-wiggle { 0% { transform: rotate(-2deg) scale(.8); opacity: 0; } 60% { transform: rotate(3deg) scale(1.08); opacity: 1; } 100% { transform: rotate(-2deg) scale(1); } }
@keyframes fp-drop { 0% { opacity: 0; transform: translateY(-14px) scale(.98); } 100% { opacity: 1; transform: none; } }
@keyframes fp-stamp { 0% { opacity: 0; transform: scale(1.8) rotate(-12deg); } 100% { opacity: 1; transform: scale(1) rotate(-12deg); } }
@media (prefers-reduced-motion: reduce) {
  .fp-offer-block *, .fp-gift, .fp-modal, .fp-modal *, .fp-pick-wrap { animation: none !important; transition: none !important; }
}

/* ---------- Responsive (cart breakpoints) ---------- */
@media (max-width: 1199px) {
  /* Gift rows: dropdown on its own full-width line so the whole size + "3 Pack" is readable */
  .fp-giftline { grid-template-columns: auto 36px 1fr; row-gap: 6px; }
  .fp-giftline__img { width: 36px; height: 36px; }
  .fp-giftline .fp-select, .fp-giftline__name { grid-column: 1 / -1; }
  .fp-giftline__worth { grid-column: 3; justify-self: end; grid-row: 1; }
  /* Not enough room for 3 tiles side by side: use the list-style cards */
  .fp-pick--tiles .fp-pick__opts { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
  .fp-pick--tiles .fp-pick__card { flex-direction: row; text-align: left; gap: 10px; padding: 8px 12px 8px 8px; }
  .fp-pick--tiles .fp-pick__img { width: 48px; height: 48px; }
  .fp-pick--tiles .fp-pick__name { font-size: 14px; }
  .fp-pick--tiles .fp-pick__radio { position: static; width: 22px; height: 22px; }
  .fp-gift__stub { width: 160px; }
  .fp-gift__img, .fp-gift--pending .fp-gift__placeholder { width: 110px; height: 110px; }
  .fp-gift__body { gap: 18px; padding: 20px; }
}
@media (max-width: 991px) {
  .fp-deal__title, .fp-deal--on .fp-deal__title { font-size: 18px; }
  .fp-deal--on { gap: 16px; }
  .fp-deal--on .fp-deal__side { min-width: 150px; padding: 8px 14px; }
  .fp-deal--on .fp-deal__save { font-size: 24px; }
}
@media (max-width: 767px) {
  .fp-bundle { padding: 0 8px 8px; border-radius: 18px; }
  .fp-bundle > .fp-deal { margin: -2px -10px 2px; width: calc(100% + 20px); border-radius: 18px 18px 0 0; }
  /* Strip: two rows like the product page on mobile */
  .fp-deal { flex-direction: column; align-items: stretch; gap: 0; padding: 0; }
  .fp-deal__main { padding: 14px 16px; }
  .fp-deal__side { flex-direction: row; align-items: center; justify-content: space-between; padding: 10px 16px; border-left: 0; border-top: 1px dashed rgba(255,255,255,.4); background: rgba(0,0,0,.08); text-align: left; }
  .fp-deal__icon { width: 42px; height: 42px; border-radius: 12px; }
  .fp-deal__title { font-size: 16px; gap: 6px; }
  .fp-deal--on { gap: 0; }
  .fp-deal::before { left: 52px; top: 42px; transform: none; font-size: 56px; }
  .fp-deal--on .fp-deal__side { display: flex; justify-content: flex-start; }
  .fp-deal__peek-imgs img { width: 40px; height: 40px; border-radius: 10px; margin-left: -12px; }
  .fp-deal__peek { width: 100%; }
  .fp-deal__peek-text { display: grid; grid-template-columns: 1fr auto; align-items: center; width: 100%; text-align: left; column-gap: 12px; }
  .fp-deal__peek-text b { grid-column: 1; grid-row: 1; }
  .fp-deal__peek-text i { grid-column: 1; grid-row: 2; margin: 0; }
  .fp-deal__peek-text span { grid-column: 2; grid-row: 1 / span 2; font-size: 22px; }
  .fp-deal--on .fp-deal__title { font-size: 16px; }
  .fp-deal__next { font-size: 12px; padding-right: 10px; }
  .fp-deal--on .fp-deal__next-gift { display: inline-block; }
  /* Savings panel becomes the bottom bar: label + note on the left, amount on the right */
  .fp-deal--on .fp-deal__side { display: grid; grid-template-columns: 1fr auto; align-items: center; column-gap: 12px; min-width: 0; padding: 10px 16px; border: 0; border-top: 1px dashed rgba(255,255,255,.4); border-radius: 0; background: rgba(0,0,0,.08); text-align: left; }
  .fp-deal--on .fp-deal__save-label { grid-column: 1; grid-row: 1; }
  .fp-deal--on .fp-deal__save-note { grid-column: 1; grid-row: 2; margin: 0; }
  .fp-deal--on .fp-deal__save { grid-column: 2; grid-row: 1 / span 2; font-size: 24px; }
  .fp-deal__btn { width: 100%; justify-content: center; }

  /* Popup becomes a bottom sheet */
  .fp-modal { align-items: flex-end; padding: 0; }
  .fp-modal__dialog { border-radius: 20px 20px 0 0; max-height: 90vh; transform: translateY(100%); }
  .fp-modal__head { padding: 16px 14px 14px 16px; }
  .fp-slider { padding: 14px 16px 2px; }
  .fp-buy__hint { font-size: 13px; }
  .fp-buy { gap: 10px; }
  .fp-buy__item { flex: 0 0 136px; }
  .fp-buy__img { width: 76px; height: 76px; }
  .fp-modal__title { font-size: 18px; }

  .fp-gift { flex-direction: column; }
  .fp-gift__stub { width: auto; justify-content: flex-start; gap: 14px; padding: 16px; }
  .fp-gift__tag { position: static; order: 2; align-self: flex-start; }
  .fp-gift__qty { position: static; order: 3; align-self: flex-start; min-width: 34px; height: 34px; font-size: 15px; }
  .fp-gift__img, .fp-gift--pending .fp-gift__placeholder { width: 88px; height: 88px; }
  .fp-gift--pending .fp-gift__placeholder svg { width: 40px; height: 40px; }
  .fp-pick--grid .fp-pick__img { width: 60px; height: 60px; }
  .fp-gift__stack { width: 130px; height: 110px; }
  .fp-gift__stack-img { top: 10px; width: 76px; height: 76px; margin-left: -38px; }
  .fp-gift__perf { width: auto; height: 0; border-left: 0; border-top: 2px dashed var(--fp-mint-line); }
  .fp-gift__perf::before, .fp-gift__perf::after { top: -15px; bottom: auto; }
  .fp-gift__perf::before { left: -15px; }
  .fp-gift__perf::after { left: auto; right: -15px; }
  .fp-gift__body { flex-wrap: wrap; gap: 14px; padding: 16px; }
  .fp-gift__info { flex-basis: 100%; }
  .fp-gift__price { flex: 1; flex-direction: row; justify-content: flex-start; align-items: baseline; gap: 8px; }
  .fp-gift__price s { font-size: 20px; }
  .fp-stamp { position: absolute; top: 12px; right: 12px; width: 56px; height: 56px; }
  .fp-stamp span { width: 46px; height: 46px; font-size: 11px; }
}
@media (max-width: 539px) {
  .fp-giftline { padding: 6px; }
  .fp-giftline .fp-select { font-size: 12px; padding: 0 26px 0 8px; background-position: right 6px center; letter-spacing: -.1px; }
  .fp-auto { font-size: 13px; }
  .fp-pick__opts, .fp-pick--tiles .fp-pick__opts { grid-template-columns: 1fr; }
  /* Gift rows: number + image on the first line, dropdown full width, worth under it */
  .fp-giftline { grid-template-columns: auto 36px 1fr; row-gap: 6px; }
  .fp-giftline__img { width: 36px; height: 36px; }
  .fp-giftline .fp-select, .fp-giftline__name { grid-column: 1 / -1; }
  .fp-giftline__worth { grid-column: 1 / -1; }
}
@media (max-width: 430px) {
  .fp-deal__save { font-size: 20px; }
}
