/* Partyrama Refresh: the Christmas free gift (mu-plugins/pr-xmas-gift.php). Printed only while the master switch pr_xg_on is on, or a
 * test-site preview runs (?xg=1: anyone while the switch is on, admins only while it is off). The strip, the banners and the product
 * page line show only under html.pr-xg-on, which the head script sets before the first paint inside the offer's dates, so a page kept
 * at the CDN is the same for everyone and nothing moves after it is drawn. Words of the strip and the product line come from CSS strings
 * printed in the head (--pr-xg-head, --pr-xg-phone, --pr-xg-line, --pr-xg-line2).
 *
 * Polish of 23 Nov 2026 (Raj's review: spacing, the steps, "See the gifts" unreadable, every banner too close to its neighbours):
 *  - one step component everywhere (.pr-xg-track): Spend £10 over 1 free gift, a tick and a filled dot once reached, "£x to go" on the
 *    next step, a rail that fills with the spend;
 *  - the site's own tokens only: ink #1E1C1F for actions and reached steps, edge #8C8291 for steps not reached, wash #EFEEF0 for the
 *    banner panels, line-2 for rules; one festive accent (the red gift icon); FREE keeps the basket green;
 *  - each placement takes its neighbours' spacing and surface: the home page's section rhythm (64px, 48px on phones), the category
 *    header's own gaps, the product page's delivery box rows, the basket summary's white cards, the checkout extras card. */

/* ---- shared ---- */
.pr-xg-ban, .pr-xg-box, .pr-xg-page, .pr-xg-ty {
  --xg-act: var(--pr-c-act, #1E1C1F); --xg-act-deep: var(--pr-c-act-deep, #3A373D); --xg-ink: var(--pr-c-ink, #3B3547); --xg-ink-2: var(--pr-c-ink-2, #675E70);
  --xg-edge: var(--pr-c-edge, #8C8291); --xg-wash: var(--pr-c-act-wash, #EFEEF0); --xg-rule: var(--pr-c-line-2, #D6CCD2); --xg-line: var(--pr-c-line, #E6DFE2);
  --xg-accent: var(--pr-c-sale, #B3261E); --xg-free: var(--pr-c-basket, #1E5E3F); --xg-ease: var(--pr-ease, cubic-bezier(.2, .7, .2, 1));
  box-sizing: border-box; font-family: var(--pr-font-body); color: var(--xg-ink); text-align: start;
}
.pr-xg-ban *, .pr-xg-box *, .pr-xg-page *, .pr-xg-ty * { box-sizing: border-box; }
.pr-xg-sr, .pr-xg-box .screen-reader-text { position: absolute !important; width: 1px !important; height: 1px !important; margin: -1px !important; padding: 0 !important; overflow: hidden !important; clip: rect(0 0 0 0) !important; white-space: nowrap !important; border: 0 !important; }
.pr-xg-ic { flex: none; width: 20px; height: 20px; fill: none; stroke: var(--pr-c-sale, #B3261E); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* ---- the step track: three steps on a rail. Neutral rings (banners, offer page); in a basket a reached step is a filled dot with a tick
   and the next step says how much more to spend. The rail runs from the first dot's centre to the last; --xg-fill (0 to 1) is how far
   the spend has come along it. ---- */
.pr-xg-track {
  --xg-dot: 22px; --xg-rail: 2px;
  position: relative; display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0 !important; padding: 0 !important; list-style: none !important;
}
.pr-xg-track::before, .pr-xg-track::after {
  content: ""; position: absolute; z-index: 0; top: calc(var(--xg-dot) / 2 - var(--xg-rail) / 2); left: calc(100% / 6); height: var(--xg-rail); border-radius: var(--xg-rail);
}
.pr-xg-track::before { right: calc(100% / 6); background: var(--xg-rule); }
.pr-xg-track::after { width: calc(100% * 2 / 3 * var(--xg-fill, 0)); background: var(--xg-act); transition: width .45s var(--xg-ease); }
.pr-xg-track__s {
  position: relative; z-index: 1; display: flex !important; flex-direction: column; align-items: center; min-width: 0; margin: 0 !important; padding: 0 4px !important;
  list-style: none !important; text-align: center; background: none !important; border: 0 !important;
}
.pr-xg-track__s::before, .pr-xg-track__s::marker { content: none !important; }
.pr-xg-track__dot {
  display: grid; place-items: center; width: var(--xg-dot); height: var(--xg-dot); margin: 0 0 8px; border: 2px solid var(--xg-edge); border-radius: 50%;
  background: var(--pr-c-white, #fff); color: var(--pr-c-white, #fff); transition: background-color .25s var(--xg-ease), border-color .25s var(--xg-ease);
}
.pr-xg-track__dot svg { display: block; width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.pr-xg-track__s.is-done .pr-xg-track__dot { border-color: var(--xg-act); background: var(--xg-act); }
.pr-xg-track__s.is-next .pr-xg-track__dot { border-color: var(--xg-act); box-shadow: inset 0 0 0 4px var(--pr-c-white, #fff), inset 0 0 0 12px var(--xg-act); }
.pr-xg-track__a { display: block; font: 600 var(--pr-fs-sm, .875rem)/1.25 var(--pr-font-body); color: var(--xg-ink); letter-spacing: -.005em; font-variant-numeric: lining-nums tabular-nums; white-space: nowrap; }
.pr-xg-track__g { display: block; margin-top: 2px; font-size: var(--pr-fs-meta, .8125rem); line-height: 1.3; color: var(--xg-ink-2); white-space: nowrap; }
.pr-xg-track__s.is-done .pr-xg-track__a, .pr-xg-track__s.is-done .pr-xg-track__g { color: var(--xg-act); }
.pr-xg-track__more {
  display: inline-block; margin-top: 6px; padding: 2px 8px; border-radius: 999px; background: var(--xg-act); color: var(--pr-c-white, #fff);
  font: 600 .75rem/1.45 var(--pr-font-body); font-variant-numeric: lining-nums tabular-nums; white-space: nowrap;
}
/* larger on the offer page */
.pr-xg-track--lg { --xg-dot: 28px; }
.pr-xg-track--lg .pr-xg-track__a { font-size: 1.0625rem; }
.pr-xg-track--lg .pr-xg-track__g { font-size: var(--pr-fs-sm, .875rem); }
.pr-xg-track--lg .pr-xg-track__dot svg { width: 14px; height: 14px; }
@media (prefers-reduced-motion: reduce) { .pr-xg-track::after, .pr-xg-track__dot { transition: none; } }

/* ---- the slim strip under the menu (the Weekend Offer's header option 2 strip): home page and Christmas category pages only. It steps
   aside when the Weekend Offer itself uses that strip (html.pr-wk-h2). The top service strip is untouched. Ink, as the site's actions. ---- */
html.pr-xg-on.pr-xg-strip:not(.pr-wk-h2) #new-grid.pr-rf header#masthead { position: relative; }
html.pr-xg-on.pr-xg-strip:not(.pr-wk-h2) #new-grid.pr-rf header#masthead::after {
  content: var(--pr-xg-head); grid-column: full-start / full-end; grid-row: 4; display: flex; align-items: center; justify-content: center; min-height: 36px;
  padding: 0 var(--pr-gutter, 16px); background: var(--pr-c-act, #1E1C1F); color: var(--pr-c-white, #fff); font: 600 var(--pr-fs-sm, .875rem)/1.3 var(--pr-font-body);
  letter-spacing: .005em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; pointer-events: none;
}
@media (max-width: 760px) {
  html.pr-xg-on.pr-xg-strip:not(.pr-wk-h2) #new-grid.pr-rf header#masthead::after { content: var(--pr-xg-phone); font-size: 13px; min-height: 34px; }
}
/* the tap target over the strip (js/refresh-xgift.js): the offer page */
.pr-xg-tap { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; display: block; margin: 0 !important; padding: 0 !important; color: transparent !important; font-size: 0 !important; text-decoration: none !important; }
.pr-xg-tap:focus-visible { outline: 2px solid var(--pr-c-white, #fff) !important; outline-offset: -4px !important; }

/* ---- the product page line: the first row of the delivery box under Add to Basket (Christmas items only; never personalised pages),
   drawn like the box's own rows (icon, a bold first line, a plain second line) with the box's rule under it. The box is a grid with a
   12px gap: the title pulls its second line up to 2px. ---- */
html.pr-xg-on.pr-xg-pp #new-grid.pr-rf .pr-rf-promise-box { position: relative; }
html.pr-xg-on.pr-xg-pp #new-grid.pr-rf .pr-rf-promise-box::before,
html.pr-xg-on.pr-xg-pp #new-grid.pr-rf .pr-rf-promise-box::after { display: block; margin: 0; padding: 0 0 0 30px; color: var(--pr-c-ink, #3B3547); font: 400 var(--pr-fs-sm, .875rem)/1.55 var(--pr-font-body); text-align: start; }
html.pr-xg-on.pr-xg-pp #new-grid.pr-rf .pr-rf-promise-box::before {
  content: var(--pr-xg-line); order: -2; margin-bottom: -10px; font-weight: 600; text-decoration: underline; text-decoration-thickness: 1px; text-decoration-color: rgba(59, 53, 71, .45); text-underline-offset: 3px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23B3261E' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 10h16v10H4z'/%3E%3Cpath d='M3 7h18v3H3z'/%3E%3Cpath d='M12 7v13'/%3E%3Cpath d='M12 7c-1.5-2.8-5-3.2-5-1 0 1.4 2.5 1 5 1zM12 7c1.5-2.8 5-3.2 5-1 0 1.4-2.5 1-5 1z'/%3E%3C/svg%3E") no-repeat 0 2px / 18px 18px;
}
html.pr-xg-on.pr-xg-pp #new-grid.pr-rf .pr-rf-promise-box::after { content: var(--pr-xg-line2); order: -1; padding-bottom: 16px; margin-bottom: 4px; border-bottom: 1px solid var(--pr-c-line-2, #D6CCD2); color: var(--pr-c-ink-2, #675E70); }
html.pr-xg-on.pr-xg-pp #new-grid.pr-rf .pr-rf-promise-box:hover::before { text-decoration-color: currentColor; }
.pr-xg-ptap { position: absolute; z-index: 2; display: block; margin: 0 !important; padding: 0 !important; color: transparent !important; font-size: 0 !important; }
.pr-xg-ptap:focus-visible { outline: 2px solid var(--pr-c-focus, #0B6E9C) !important; outline-offset: 2px !important; }

/* ---- banners: the home page and Christmas category pages. In the page for everyone, shown only under html.pr-xg-on (set before the
   first paint inside the dates), so nothing moves; never printed with the switch off. One layout, two sizes:
     wide:   [text] [steps] [photos] [See the gifts]
     phones: text and photos, the steps, the button full width ---- */
.pr-xg-ban { display: none !important; }
html.pr-xg-on .pr-xg-ban { display: grid !important; }
.pr-xg-ban {
  grid-column: 1 / -1; grid-template-areas: "txt track pics cta"; align-items: center; width: 100%; margin: 0; border: 0; border-radius: 0; background: var(--xg-wash);
}
.pr-xg-ban__txt { grid-area: txt; min-width: 0; }
.pr-xg-ban .pr-xg-track { grid-area: track; }
.pr-xg-ban .pr-xg-track__dot { background: var(--xg-wash); }
.pr-xg-ban .pr-xg-ban__h {
  display: flex !important; align-items: center; gap: 10px; margin: 0 !important; padding: 0 !important; border: 0 !important; background: none !important;
  font-family: var(--pr-font-display) !important; font-weight: 600 !important; color: var(--xg-ink) !important; text-transform: none !important; text-align: start !important; text-wrap: balance;
}
.pr-xg-ban .pr-xg-ban__sub { margin: 6px 0 0 !important; padding: 0 !important; font-size: var(--pr-fs-sm, .875rem); line-height: 1.5; color: var(--xg-ink-2); text-wrap: pretty; }
.pr-xg-ban__pics { grid-area: pics; display: flex; margin: 0 !important; padding: 0 !important; list-style: none !important; }
.pr-xg-ban__pics li { flex: none; margin: 0 0 0 -12px !important; padding: 0 !important; list-style: none !important; }
.pr-xg-ban__pics li:first-child { margin-left: 0 !important; }
.pr-xg-ban__pics li::before { content: none !important; }
.pr-xg-ban__pics img { display: block; border: 3px solid var(--xg-wash); border-radius: 50%; object-fit: cover; background: var(--pr-c-white, #fff); }
:is(#new-grid, body) .pr-xg-ban a.pr-xg-ban__cta {
  grid-area: cta; display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box; margin: 0; border: 1px solid var(--xg-act); border-radius: var(--pr-r-btn, 999px);
  background: var(--xg-act); color: var(--pr-c-white, #fff) !important; font-family: var(--pr-font-body); font-weight: 600; letter-spacing: .01em; line-height: 1.2;
  text-decoration: none !important; white-space: nowrap; transition: background-color .2s var(--xg-ease), border-color .2s var(--xg-ease);
}
:is(#new-grid, body) .pr-xg-ban a.pr-xg-ban__cta:hover { background: var(--xg-act-deep); border-color: var(--xg-act-deep); color: var(--pr-c-white, #fff) !important; }
:is(#new-grid, body) .pr-xg-ban a.pr-xg-ban__cta:focus-visible { outline: 2px solid var(--pr-c-focus, #0B6E9C); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { :is(#new-grid, body) .pr-xg-ban a.pr-xg-ban__cta { transition: none; } }

/* home: a section of its own in the page's rhythm, on the same edges as the hero card under it. The hero's slides have a 6px gutter
   all round (css/homepage.min.css .hero-slider .hero-slide; 5px up to 768px; 5px top and bottom only up to 599px), so the banner takes
   the same side inset, and the section gap plus that gutter above it: the heading to banner and banner to hero gaps are equal, as the
   heading to hero gap was before (64px + 6px; 48px + 5px on phones) */
.pr-xg-ban--home { width: auto; grid-template-columns: minmax(0, 1fr) minmax(280px, 340px) auto auto; column-gap: 40px; margin: calc(var(--pr-home-gap, 64px) + 6px) 6px 0 !important; padding: 28px 32px; }
@media (max-width: 768px) { .pr-xg-ban--home { margin: calc(var(--pr-home-gap, 48px) + 5px) 5px 0 !important; } }
@media (max-width: 599px) { .pr-xg-ban--home { margin: calc(var(--pr-home-gap, 48px) + 5px) 0 0 !important; } }
.pr-xg-ban--home .pr-xg-ban__h { font-size: 1.375rem !important; line-height: 1.2 !important; letter-spacing: -.015em !important; }
.pr-xg-ban--home .pr-xg-ban__pics img { width: 68px; height: 68px; }
:is(#new-grid, body) .pr-xg-ban--home a.pr-xg-ban__cta { min-height: 48px; padding: 0 28px; font-size: 1rem; }
/* Christmas category pages: the last row of the category header, after its introduction and the Popular in row */
.pr-xg-ban--cat { order: 10; grid-template-columns: minmax(0, 1fr) minmax(260px, 320px) auto auto; column-gap: 32px; margin: var(--pr-s-6, 32px) 0 0 !important; padding: 20px 24px; }
.cat-prod .cat-details > .pr-xg-ban--cat { margin: var(--pr-s-5, 24px) 0 8px !important; }
.pr-xg-ban--cat .pr-xg-ban__h { font-size: 1.125rem !important; line-height: 1.25 !important; letter-spacing: -.01em !important; }
.pr-xg-ban--cat .pr-xg-ban__pics img { width: 52px; height: 52px; }
:is(#new-grid, body) .pr-xg-ban--cat a.pr-xg-ban__cta { min-height: 44px; padding: 0 22px; font-size: var(--pr-fs-sm, .875rem); }
/* tablets: text and button, then steps and photos */
@media (max-width: 1099px) {
  .pr-xg-ban--home, .pr-xg-ban--cat { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "txt cta" "track pics"; row-gap: 24px; column-gap: 32px; }
  .pr-xg-ban .pr-xg-track { max-width: 440px; }
}
/* phones: text with the photos beside it, the steps across, the button full width */
@media (max-width: 760px) {
  .pr-xg-ban--home, .pr-xg-ban--cat { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "head pics" "sub sub" "track track" "cta cta"; align-items: center; row-gap: 0; column-gap: 12px; padding: 20px 16px; }
  .pr-xg-ban__txt { display: contents; }
  .pr-xg-ban .pr-xg-ban__h { grid-area: head; }
  .pr-xg-ban .pr-xg-ban__sub { grid-area: sub; margin-top: 8px !important; }
  .pr-xg-ban .pr-xg-track { margin-top: 20px !important; }
  :is(#new-grid, body) .pr-xg-ban a.pr-xg-ban__cta { margin-top: 20px; }
  .pr-xg-ban--cat, .cat-prod .cat-details > .pr-xg-ban--cat { margin: var(--pr-s-5, 24px) 0 0 !important; }
  .pr-xg-ban .pr-xg-track { max-width: none; }
  .pr-xg-ban--home .pr-xg-ban__h, .pr-xg-ban--cat .pr-xg-ban__h { font-size: 1.125rem !important; }
  .pr-xg-ban .pr-xg-ban__h .pr-xg-ic { display: none; }
  .pr-xg-ban__pics img, .pr-xg-ban--home .pr-xg-ban__pics img, .pr-xg-ban--cat .pr-xg-ban__pics img { width: 44px; height: 44px; border-width: 2px; }
  .pr-xg-ban__pics li { margin-left: -10px !important; }
  :is(#new-grid, body) .pr-xg-ban--home a.pr-xg-ban__cta, :is(#new-grid, body) .pr-xg-ban--cat a.pr-xg-ban__cta { width: 100%; min-height: 48px; font-size: 1rem; }
}

/* ---- FREE, the gift lines ---- */
.pr-xg-free { color: var(--pr-c-basket, #1E5E3F) !important; font-weight: 700 !important; letter-spacing: .02em; }
/* basket panel: the line's own number box, price sums and quantity are not shown; FREE stands where the price is */
.flyout-cart-wrap .cart_item.pr-xg-line .pr-subtotal-price,
.flyout-cart-wrap .cart_item.pr-xg-line .product-quantity,
.flyout-cart-wrap .cart_item.pr-xg-line .product-price { display: none !important; }
.cart_item.pr-xg-line .product-subtotal .pr-xg-free { font-size: var(--pr-fs-sm, .875rem); }
/* basket page: FREE once (where a line's price stands), no quantity */
#new-grid.pr-rf.woocommerce-cart .cart_item.pr-xg-line .product-quantity,
#new-grid.pr-rf.woocommerce-cart .cart_item.pr-xg-line .pr-subtotal-price,
#new-grid.pr-rf.woocommerce-cart .cart_item.pr-xg-line .product-price { display: none !important; }
#new-grid.pr-rf.woocommerce-cart .cart_item.pr-xg-line .product-subtotal .pr-xg-free { font-size: var(--pr-fs-price, 1.1875rem); }
/* checkout summary: no quantity line under a gift, never a struck "was" price (no "worth" claims) */
.cart-sections .cart_item.pr-xg-line .pr-ck-qty, .cart-sections .cart_item.pr-xg-line .pr-ck-stock, .cart-sections .cart_item.pr-xg-line .pr-ck-was { display: none !important; }
.pr-xg-x:focus-visible { outline: 2px solid var(--pr-c-focus, #0B6E9C); outline-offset: 2px; }
/* basket panel lines (refresh-basket.css lays them out on a grid "img name" / "img price" / "img stock" / "img qty remove"): a gift line
   shows FREE where the price stands, no quantity, and its Remove where the quantity box would be */
#new-grid.pr-rf .flyout-cart-wrap .cart-product > .cart_item.pr-xg-line .product-quantity,
#new-grid.pr-rf .flyout-cart-wrap .cart-product > .cart_item.pr-xg-line .pr-subtotal-price,
#new-grid.pr-rf .flyout-cart-wrap .cart-product > .cart_item.pr-xg-line .product-price { display: none !important; }
#new-grid.pr-rf .flyout-cart-wrap .cart-product > .cart_item.pr-xg-line .product-subtotal { grid-area: price; display: block !important; width: auto !important; margin: 0 !important; padding: 0 !important; text-align: start !important; }
#new-grid.pr-rf .flyout-cart-wrap .cart-product > .cart_item.pr-xg-line .product-subtotal .pr-xg-free { font: 700 1.0625rem/1.3 var(--pr-font-display) !important; }
#new-grid.pr-rf .flyout-cart-wrap .cart-product > .cart_item.pr-xg-line .product-remove { grid-column: 2 / 4; grid-row: 4; justify-self: start; padding-left: 0 !important; margin-top: 2px !important; }

/* ---- "Your free Christmas gifts": the basket page (a white card like Popular Delivery Costs beside it) and the checkout (a card like
   the checkout extras under it) ---- */
.pr-xg-box[hidden] { display: none !important; }
.pr-xg-box { width: 100%; margin: 0; padding: var(--pr-s-4, 16px); border: 0; border-radius: 0; background: var(--pr-c-white, #fff); font-size: var(--pr-fs-sm, .875rem); line-height: 1.5; }
.pr-xg-box .pr-xg-box__h {
  display: flex !important; align-items: center !important; gap: 10px !important; margin: 0 0 var(--pr-s-4, 16px) !important; padding: 0 !important; border: 0 !important; background: none !important;
  font: 600 1.0625rem/1.3 var(--pr-font-display) !important; letter-spacing: -.01em !important; color: var(--xg-ink) !important; text-transform: none !important; text-align: start !important;
}
.pr-xg-box .pr-xg-track { margin: 0 0 var(--pr-s-4, 16px) !important; }
.pr-xg-box__msg { margin: 0 0 var(--pr-s-3, 12px) !important; color: var(--xg-ink); font-weight: 500; text-wrap: pretty; }
.pr-xg-box__note { margin: 0 0 var(--pr-s-3, 12px) !important; padding: 8px 12px; border-left: 3px solid var(--xg-accent); background: var(--pr-c-stone, #F1EEEC); font-size: var(--pr-fs-meta, .8125rem); }
.pr-xg-box__gone { margin: 0 0 var(--pr-s-3, 12px) !important; padding: 10px 12px; background: var(--xg-wash); color: var(--xg-ink); font-weight: 500; }
.pr-xg-list, .pr-xg-pick__list { margin: 0 !important; padding: 0 !important; list-style: none !important; }
.pr-xg-item, .pr-xg-pick__i { display: grid; grid-template-columns: 56px minmax(0, 1fr); column-gap: var(--pr-s-3, 12px); row-gap: 8px; align-items: start; margin: 0 !important; padding: var(--pr-s-3, 12px) 0 !important; border-top: 1px solid var(--xg-line); list-style: none !important; }
.pr-xg-item::before, .pr-xg-pick__i::before { content: none !important; }
.pr-xg-item__acts, .pr-xg-pick__i > .pr-xg-btn { grid-column: 2; }
.pr-xg-pick__i > .pr-xg-btn { justify-self: start; }
.pr-xg-item__img { display: block; width: 56px; height: 56px; object-fit: cover; background: var(--pr-c-white, #fff); border: 1px solid var(--xg-line); }
.pr-xg-item__t { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.pr-xg-item__n { font-weight: 600; font-size: var(--pr-fs-meta, .8125rem); line-height: 1.4; color: var(--xg-ink); overflow-wrap: anywhere; }
.pr-xg-item__p { font-size: var(--pr-fs-meta, .8125rem); line-height: 1.4; }
.pr-xg-was { color: var(--xg-ink-2); font-weight: 400; }
.pr-xg-item__acts { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 16px; }
.pr-xg-btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 36px; margin: 0; padding: 0 18px; border: 1px solid var(--xg-act); border-radius: var(--pr-r-btn, 999px);
  background: var(--pr-c-white, #fff); color: var(--xg-act); font: 600 var(--pr-fs-meta, .8125rem)/1 var(--pr-font-body); letter-spacing: .01em; cursor: pointer; white-space: nowrap;
  transition: background-color .2s var(--xg-ease), color .2s var(--xg-ease);
}
.pr-xg-btn:hover { background: var(--xg-wash); }
.pr-xg-btn--go { background: var(--xg-act); color: var(--pr-c-white, #fff); }
.pr-xg-btn--go:hover { border-color: var(--xg-act-deep); background: var(--xg-act-deep); }
.pr-xg-link {
  display: inline-flex; align-items: center; min-height: 32px; margin: 0; padding: 0 2px; border: 0; background: none; color: var(--xg-ink-2);
  font: 500 var(--pr-fs-meta, .8125rem)/1.2 var(--pr-font-body); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; cursor: pointer;
}
.pr-xg-link:hover { color: var(--xg-act); }
.pr-xg-btn:focus-visible, .pr-xg-link:focus-visible, .pr-xg-box__terms a:focus-visible { outline: 2px solid var(--pr-c-focus, #0B6E9C); outline-offset: 2px; }
.pr-xg-btn:disabled, .pr-xg-link:disabled { opacity: .5; cursor: default; }
.pr-xg-back { margin: var(--pr-s-2, 8px) 0 0 !important; font-size: var(--pr-fs-meta, .8125rem); color: var(--xg-ink-2); }
.pr-xg-pick { margin: var(--pr-s-2, 8px) 0 0; padding: var(--pr-s-3, 12px); background: var(--xg-wash); }
.pr-xg-pick[hidden] { display: none !important; }
.pr-xg-pick__h { margin: 0 0 4px !important; font-weight: 600; color: var(--xg-ink); }
.pr-xg-pick__list { max-height: 330px; overflow-y: auto; overscroll-behavior: contain; }
.pr-xg-pick__i { border-top-color: rgba(59, 53, 71, .12); }
.pr-xg-pick > .pr-xg-link { margin-top: 6px; }
.pr-xg-box__terms { margin: var(--pr-s-3, 12px) 0 0 !important; font-size: var(--pr-fs-meta, .8125rem); }
.pr-xg-box__terms a { color: var(--xg-ink-2) !important; text-decoration: underline !important; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.pr-xg-box__terms a:hover { color: var(--xg-act) !important; }
.pr-xg-box.is-busy { opacity: .6; }
.pr-xg-box.is-busy button { pointer-events: none; }
@media (max-width: 760px) {
  .pr-xg-btn { min-height: 40px; }
  .pr-xg-link { min-height: 40px; }
}
@media (prefers-reduced-motion: reduce) { .pr-xg-btn { transition: none; } }
/* the basket page's summary column orders its parts (refresh-basket.css): the box sits straight after the free delivery box */
#new-grid.pr-rf.woocommerce-cart .main_right > .pr-xg-box { order: 3; }
/* checkout: the checkout extras card's border, padding and heading; under Your Order on wide screens, between Delivery and Payment on
   phones (the extras card follows it, 24px or 32px below, as it sits under the summary) */
.pr-xg-box--checkout { margin: var(--pr-s-6, 32px) 0 0; padding: 18px; border: 1px solid var(--xg-rule); }
.cart-sections .pr-xg-box--checkout { margin: var(--pr-s-5, 24px) 0 0; }
.pr-xg-box--checkout .pr-xg-box__h { font-size: 1.1875rem !important; }
.pr-xg-box--checkout[data-locked] .pr-xg-item__acts, .pr-xg-box--checkout[data-locked] .pr-xg-back button, .pr-xg-box--checkout[data-locked] .pr-xg-pick { display: none !important; }
@media (max-width: 999px) { .pr-xg-box--checkout { padding: 16px 14px; } }
@media (max-width: 560px) { .pr-xg-box--checkout .pr-xg-box__h { font-size: 1.125rem !important; } .pr-xg-ty { padding: var(--pr-s-4, 16px); } }

/* ---- the kids' party set in the box: a 2 x 2 of its parts, and its parts listed ---- */
.pr-xg-item__img--set { display: grid !important; grid-template-columns: 1fr 1fr; gap: 2px; padding: 0; overflow: hidden; }
.pr-xg-item__img--set img, .pr-xg-item__img--set span { display: block; width: 100%; height: 100%; aspect-ratio: 1 / 1; object-fit: cover; background: var(--pr-c-white, #fff); }
.pr-xg-item__parts { font-size: var(--pr-fs-kicker, .75rem); line-height: 1.4; color: var(--xg-ink-2); }

/* ---- the order confirmation: a card as wide as the page's other cards (Your order, Save your details), 24px under them ---- */
.pr-xg-ty { max-width: none; margin: var(--pr-s-5, 24px) 0 0; padding: var(--pr-s-5, 24px); border: 1px solid var(--xg-rule); background: var(--pr-c-white, #fff); font-size: var(--pr-fs-sm, .875rem); line-height: 1.5; }
.pr-xg-ty .pr-xg-ty__h { display: flex !important; align-items: center !important; gap: 10px !important; margin: 0 0 var(--pr-s-3, 12px) !important; padding: 0 !important; font: 600 1.25rem/1.3 var(--pr-font-display) !important; letter-spacing: -.01em !important; color: var(--xg-ink) !important; text-transform: none !important; border: 0 !important; }
.pr-xg-ty__list { margin: 0 !important; padding: 0 !important; list-style: none !important; }
.pr-xg-ty__list li { display: flex; justify-content: space-between; gap: 12px; margin: 0 !important; padding: 10px 0 !important; border-top: 1px solid var(--xg-line); list-style: none !important; }
.pr-xg-ty__list li::before { content: none !important; }
.pr-xg-ty__note { margin: var(--pr-s-2, 8px) 0 0 !important; color: var(--xg-ink-2); }

/* ---- the offer page ([pr_xmas_gift_offer]) ---- */
.pr-xg-page { max-width: 1080px; margin: 0 auto var(--pr-s-7, 48px); font-size: var(--pr-fs-body, 1rem); line-height: 1.6; }
:is(#new-grid, body) .pr-xg-page h1.pr-xg-page__title { margin: var(--pr-s-5, 24px) 0 var(--pr-s-3, 12px) !important; padding: 0 !important; border: 0 !important; font: 600 var(--pr-fs-h1, 2.25rem)/1.1 var(--pr-font-display) !important; letter-spacing: -.02em !important; color: var(--xg-ink) !important; text-transform: none !important; text-align: start !important; }
.pr-xg-page__lead { max-width: 64ch; margin: 0 0 var(--pr-s-6, 32px) !important; font-size: var(--pr-fs-lead, 1.0625rem); color: var(--xg-ink-2); }
.pr-xg-page__band { margin: 0 0 var(--pr-s-7, 48px); padding: var(--pr-s-6, 32px) var(--pr-s-5, 24px); background: var(--xg-wash); }
.pr-xg-page__band .pr-xg-track { max-width: 640px; margin: 0 auto !important; }
.pr-xg-page__band .pr-xg-track__dot { background: var(--xg-wash); }
.pr-xg-page__band-note { margin: var(--pr-s-5, 24px) 0 0 !important; text-align: center; font-size: var(--pr-fs-sm, .875rem); color: var(--xg-ink-2); }
:is(#new-grid, body) .pr-xg-page h2.pr-xg-page__h { margin: var(--pr-s-7, 48px) 0 var(--pr-s-4, 16px) !important; padding: 0 !important; border: 0 !important; font: 600 var(--pr-fs-h3, 1.375rem)/1.2 var(--pr-font-display) !important; letter-spacing: -.01em !important; color: var(--xg-ink) !important; text-transform: none !important; text-align: start !important; }
:is(#new-grid, body) .pr-xg-page .pr-xg-page__band + h2.pr-xg-page__h { margin-top: 0 !important; }
.pr-xg-page__how, .pr-xg-page__terms { max-width: 72ch; margin: 0 !important; padding: 0 0 0 20px !important; }
.pr-xg-page__how li, .pr-xg-page__terms li { margin: 0 0 8px !important; list-style: disc !important; }
.pr-xg-page__terms { font-size: var(--pr-fs-sm, .875rem); color: var(--xg-ink-2); }
.pr-xg-page__note { margin: 0 0 var(--pr-s-4, 16px) !important; color: var(--xg-ink-2); }
.pr-xg-page__gifts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--pr-s-5, 24px) var(--pr-s-4, 16px); margin: 0 !important; padding: 0 !important; list-style: none !important; }
.pr-xg-page__g { display: flex; flex-direction: column; gap: 4px; margin: 0 !important; padding: 0 !important; list-style: none !important; }
.pr-xg-page__g::before { content: none !important; }
.pr-xg-page__g img { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; margin: 0 0 8px; object-fit: cover; background: var(--pr-c-white, #fff); }
.pr-xg-page__gn { font-size: var(--pr-fs-sm, .875rem); font-weight: 600; line-height: 1.35; }
.pr-xg-page__gp { font-size: var(--pr-fs-meta, .8125rem); color: var(--xg-ink-2); }
.pr-xg-page__cta { margin: var(--pr-s-6, 32px) 0 0 !important; }
:is(#new-grid, body) .pr-xg-page a.pr-xg-page__btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 28px; border: 1px solid var(--xg-act); border-radius: var(--pr-r-btn, 999px);
  background: var(--xg-act); color: var(--pr-c-white, #fff) !important; font: 600 1rem/1.2 var(--pr-font-body); letter-spacing: .01em; text-decoration: none !important; transition: background-color .2s var(--xg-ease);
}
:is(#new-grid, body) .pr-xg-page a.pr-xg-page__btn:hover { background: var(--xg-act-deep); border-color: var(--xg-act-deep); }
:is(#new-grid, body) .pr-xg-page a.pr-xg-page__btn:focus-visible { outline: 2px solid var(--pr-c-focus, #0B6E9C); outline-offset: 3px; }
@media (max-width: 760px) {
  .pr-xg-page__band { margin-left: calc(-1 * var(--pr-gutter, 16px)); margin-right: calc(-1 * var(--pr-gutter, 16px)); padding: var(--pr-s-5, 24px) var(--pr-s-4, 16px); }
  .pr-xg-track--lg { --xg-dot: 24px; }
  .pr-xg-track--lg .pr-xg-track__a { font-size: var(--pr-fs-sm, .875rem); }
  .pr-xg-track--lg .pr-xg-track__g { font-size: var(--pr-fs-meta, .8125rem); }
  .pr-xg-page__gifts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--pr-s-4, 16px) var(--pr-s-3, 12px); }
}
