/* ==========================================================================
   Pharmacy Junction — se-flyout.css (design/CartDrawer.dc.html)

   Salient isolation (build plan §8):
   - every rule is scoped under .se-flyout (plus the html scroll-lock class
     and the Salient-suppression block below) — no Salient classes used;
   - enqueued at wp_enqueue_scripts priority 999 so it prints after the
     theme's stylesheets; Salient's style-non-critical.css prints from
     wp_footer AFTER us, so rules win on specificity (two+ class selectors),
     never on order;
   - !important appears ONLY where Salient's own JS/CSS forces a value first
     (inline display from its fadeIn/fadeOut, themed overlay z-indexes).

   Tokens carry local fallbacks because this stylesheet loads on every
   front-end page, while SE_Assets only inlines the :root token block on the
   cart, checkout and account screens; where that block is present it wins.
   ========================================================================== */

/* --------------------------------------------------------------------------
   0. Salient cart suppression — the dropdown mini-cart and its add-to-cart
   notification must never surface again. Salient shows them with inline
   styles (jQuery fadeIn), hence !important (Salient used force first).
   -------------------------------------------------------------------------- */
#header-outer .cart-outer .widget_shopping_cart,
#header-outer .cart-notification,
.nectar-slide-in-cart,
.nectar-slide-in-cart-bg {
  display: none !important;
}

/* Scroll lock while the drawer is open. Salient manages body overflow for
   its own overlays, so the lock must out-rank it. */
html.se-flyout-lock,
html.se-flyout-lock body {
  overflow: hidden !important;
  overscroll-behavior: none;
}

/* Keep a wheel that reaches the end of the drawer inside the drawer: without
   this the page behind it takes over the scroll. */
.se-flyout,
.se-flyout .se-flyout__panel,
.se-flyout .se-flyout__body {
  overscroll-behavior: contain;
}

/* --------------------------------------------------------------------------
   1. Shell: overlay + panel
   -------------------------------------------------------------------------- */
.se-flyout {
  --sef-brand:      var(--se-brand, #0073aa);
  --sef-brand-dark: var(--se-brand-dark, #005f8c);
  --sef-teal:       var(--se-teal, #0073aa);
  --sef-teal-text:  var(--se-teal-text, #0073aa);
  --sef-teal-tint:  var(--se-teal-tint, #e5f1f8);
  --sef-teal-tint2: var(--se-teal-tint-2, #f2f8fb);
  --sef-ink:        var(--se-ink, #202020);
  --sef-ink-soft:   var(--se-ink-soft, #212529);
  --sef-body:       var(--se-body, #4a4f56);
  --sef-sand:       var(--se-sand, #f6f6f6);
  --sef-paper:      var(--se-paper, #fafafa);
  --sef-line:       var(--se-line-soft, #EEEEEE);
  --sef-line-input: var(--se-line-input, #cccccc);
  --sef-error:      var(--se-error, #B3261E);
  --sef-error-bg:   var(--se-error-bg, #FDECEA);
  --sef-radius:     var(--se-radius-md, 4px);
  --sef-display:    var(--se-font-display, 'Open Sans', Helvetica, Arial, sans-serif);
  --sef-font:       var(--se-font-body, 'Manrope', system-ui, sans-serif);

  position: fixed;
  inset: 0;
  /* Above Salient's header (sticky header sits ~1000; its overlays use
     four-digit z-indexes with !important in places). */
  z-index: 100000 !important;
  display: flex;
  justify-content: flex-end;
  font-family: var(--sef-font);
  color: var(--sef-ink-soft);
  font-size: 14px;
  line-height: 1.5;
}
.se-flyout[hidden] { display: none; }

.se-flyout .se-flyout__overlay {
  position: absolute;
  inset: 0;
  background: var(--se-overlay, rgba(32, 32, 32, 0.45));
  opacity: 0;
  transition: opacity 0.2s ease;
}
.se-flyout.is-open .se-flyout__overlay { opacity: 1; }

.se-flyout .se-flyout__panel {
  position: relative;
  /* The design prototype specified 440px; widened on request, and still
     min() so it goes full-bleed on phones. */
  width: min(100%, 520px);
  height: 100%;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  box-shadow: -20px 0 40px -20px rgba(0, 0, 0, 0.3);
  transform: translateX(100%);
  transition: transform 0.22s ease;
  outline: none;
}
.se-flyout.is-open .se-flyout__panel { transform: translateX(0); }

@media (prefers-reduced-motion: reduce) {
  .se-flyout .se-flyout__overlay,
  .se-flyout .se-flyout__panel { transition: none; }
}

.se-flyout.is-busy .se-flyout__contents { opacity: 0.55; pointer-events: none; }

/* The fragment fills the panel. */
.se-flyout .se-flyout__contents {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
  transition: opacity 0.15s ease;
}

/* Visually-hidden live region (appended to body, announced on updates). */
.se-flyout__announce {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* --------------------------------------------------------------------------
   2. Header
   -------------------------------------------------------------------------- */
.se-flyout .se-flyout__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 22px;
  border-bottom: 1px solid var(--sef-line);
  flex: none;
}
.se-flyout .se-flyout__title {
  margin: 0;
  font-family: var(--sef-display);
  font-weight: 600;
  font-size: 22px;
  line-height: 1.2;
  color: var(--sef-ink);
}
.se-flyout .se-flyout__count {
  font-family: var(--sef-font);
  font-size: 14px;
  font-weight: 600;
  color: var(--sef-body);
}
.se-flyout .se-flyout__close {
  width: 44px;
  height: 44px;
  border: 1px solid var(--sef-line-input);
  border-radius: var(--sef-radius);
  background: #ffffff;
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
  color: var(--sef-ink);
  padding: 0;
}
.se-flyout .se-flyout__close:hover { border-color: var(--sef-ink); }
.se-flyout .se-flyout__close:focus-visible,
.se-flyout button:focus-visible,
.se-flyout a:focus-visible,
.se-flyout input:focus-visible {
  outline: 2px solid var(--se-teal-deep, #005278);
  outline-offset: 2px;
}

/* --------------------------------------------------------------------------
   3. Body: lines, empty state, error notice
   -------------------------------------------------------------------------- */
.se-flyout .se-flyout__body {
  flex: 1;
  overflow: auto;
  min-height: 0;
  -webkit-overflow-scrolling: touch;
}

.se-flyout .se-flyout__error {
  margin: 14px 22px 0;
  background: var(--sef-error-bg);
  border-left: 3px solid var(--sef-error);
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 700;
  color: var(--sef-ink);
}

.se-flyout .se-flyout__empty {
  padding: 48px 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}
.se-flyout .se-flyout__empty b { font-size: 17px; color: var(--sef-ink); }
.se-flyout .se-flyout__empty span { font-size: 14px; color: var(--sef-body); }
.se-flyout .se-flyout__shop {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  padding: 0 22px;
  border-radius: var(--sef-radius);
  background: var(--sef-teal);
  color: #fff !important; /* Salient themes anchors with !important */
  text-decoration: none;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
.se-flyout .se-flyout__shop:hover { background: var(--se-teal-dark, #005f8c); }

.se-flyout .se-flyout__lines { padding: 4px 22px; }

.se-flyout .se-flyout__line {
  display: grid;
  grid-template-columns: 68px 1fr auto;
  gap: 10px 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--sef-line);
  align-items: start;
}

.se-flyout .se-flyout__thumb {
  width: 68px;
  height: 68px;
  background: var(--sef-sand);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
  box-sizing: border-box;
}
.se-flyout .se-flyout__thumb img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}

.se-flyout .se-flyout__info {
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-size: 13px;
  color: var(--sef-body);
  min-width: 0;
}
.se-flyout .se-flyout__name { font-size: 15px; color: var(--sef-ink); font-weight: 700; }
/* Labelled line specs, as on the cart page. */
.se-flyout .se-flyout__specs {
  margin: 1px 0 2px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 2px 12px;
  font-size: 12.5px;
  line-height: 1.4;
}
.se-flyout .se-flyout__specs dt { margin: 0; color: var(--sef-muted, #6b7077); white-space: nowrap; }
.se-flyout .se-flyout__specs dd { margin: 0; color: var(--sef-ink, #202020); font-weight: 600; }
.se-flyout .se-flyout__linetotal { font-size: 15px; color: var(--sef-ink); font-weight: 700; }

.se-flyout .se-flyout__qtyrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 6px;
  flex-wrap: wrap;
}
.se-flyout .se-flyout__stepper {
  display: inline-flex;
  align-items: stretch;
  border: 1px solid var(--sef-line-input);
  border-radius: var(--sef-radius);
  overflow: hidden;
  background: #ffffff;
}
.se-flyout .se-flyout__stepper button {
  width: 32px;
  min-height: 32px;
  border: 0;
  background: #ffffff;
  cursor: pointer;
  font-size: 15px;
  color: var(--sef-ink);
  padding: 0;
}
.se-flyout .se-flyout__stepper button:hover { background: var(--sef-paper); }
.se-flyout .se-flyout__stepper input {
  width: 64px;
  min-height: 32px;
  border: 0;
  border-left: 1px solid var(--sef-line);
  border-right: 1px solid var(--sef-line);
  text-align: center;
  font: inherit;
  font-weight: 700;
  color: var(--sef-ink);
  padding: 0 4px;
  background: #ffffff;
  appearance: textfield;
  -moz-appearance: textfield;
}
.se-flyout .se-flyout__stepper input::-webkit-outer-spin-button,
.se-flyout .se-flyout__stepper input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.se-flyout .se-flyout__remove {
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  color: var(--sef-body);
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  text-decoration: underline;
  min-height: 32px;
}
.se-flyout .se-flyout__remove:hover { color: var(--sef-error); }

/* --------------------------------------------------------------------------
   4. Footer: totals, checkout, trust line
   -------------------------------------------------------------------------- */
.se-flyout .se-flyout__foot {
  border-top: 1px solid var(--sef-line);
  padding: 14px 22px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: #ffffff;
  flex: none;
}

.se-flyout .se-flyout__totals {
  margin: 0;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 6px 12px;
  font-size: 13px;
  color: var(--sef-body);
  background: var(--sef-sand);
  padding: 12px 14px;
  border-radius: var(--sef-radius);
}
.se-flyout .se-flyout__totals dt { margin: 0; font-weight: 500; }
.se-flyout .se-flyout__totals dd { margin: 0; text-align: right; color: var(--sef-ink); font-weight: 600; }

.se-flyout .se-flyout__grand {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
}
.se-flyout .se-flyout__grand > span:first-child {
  /* One line, and set at the same size as the amount opposite it — a 15px
     label against a 24px figure read as a caption rather than its pair. */
  display: flex;
  flex-direction: row;
  align-items: baseline;
  gap: 5px;
  white-space: nowrap;
}
.se-flyout .se-flyout__grand b {
  font-family: var(--sef-display);
  font-size: 24px;
  font-weight: 600;
  color: var(--sef-ink);
}
.se-flyout .se-flyout__grand small { font-size: 12px; color: var(--sef-body); }
.se-flyout .se-flyout__grand-amount {
  font-family: var(--sef-display);
  font-weight: 600;
  font-size: 24px;
  color: var(--sef-ink);
}

.se-flyout .se-flyout__checkout {
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: var(--sef-radius);
  background: var(--sef-brand);
  color: #ffffff !important; /* Salient themes anchors with !important */
  text-decoration: none;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.5px;
}
.se-flyout .se-flyout__checkout:hover { background: var(--sef-brand-dark); }

.se-flyout .se-flyout__cartlink {
  align-self: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--sef-body) !important;
  text-decoration: underline;
  min-height: 32px;
  display: inline-flex;
  align-items: center;
}
.se-flyout .se-flyout__cartlink:hover { color: var(--sef-teal-text) !important; }

/* The trust items, each with its own icon. A list rather than one run of
   text so the icons pair with their label and the line wraps as whole items
   on narrow panels instead of orphaning an icon. */
.se-flyout .se-flyout__trust {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 6px 16px;
  font-size: 12px;
  color: var(--sef-body);
}
.se-flyout .se-flyout__trust li {
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  margin: 0;
}
.se-flyout .se-flyout__trust svg { color: var(--sef-teal-text); flex: none; }

/* ---------------------------------------------------------------------------
 * "Customers also buy" — the upsell carousel, from design/CartDrawer.dc.html.
 * Horizontal scroll-snap rather than a JS slider: it stays usable by touch,
 * trackpad and keyboard, and the arrows just nudge scrollLeft.
 * ------------------------------------------------------------------------- */
.se-flyout .se-flyout__ups {
  border-top: 1px solid var(--sef-line-soft, #eeeeee);
  background: var(--sef-paper, #fafafa);
  padding: 12px 0 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.se-flyout .se-flyout__ups-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 0 22px;
}
.se-flyout .se-flyout__ups-title {
  margin: 0;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--sef-body, #4a4f56);
}
.se-flyout .se-flyout__ups-nav { display: flex; gap: 6px; }
.se-flyout .se-flyout__ups-btn {
  width: 26px;
  height: 26px;
  flex: none;
  border: 1px solid var(--sef-line-input, #cccccc);
  border-radius: 4px;
  background: #ffffff;
  color: var(--sef-ink, #202020);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.se-flyout .se-flyout__ups-btn:hover { border-color: var(--sef-ink, #202020); }
.se-flyout .se-flyout__ups-btn:disabled { opacity: 0.35; cursor: default; }
.se-flyout .se-flyout__ups-btn:focus-visible {
  outline: 2px solid var(--sef-teal, #0073aa);
  outline-offset: 2px;
}

.se-flyout .se-flyout__ups-track {
  margin: 0;
  padding: 0 22px 4px;
  list-style: none;
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding: 0 22px;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.se-flyout .se-flyout__ups-track::-webkit-scrollbar { display: none; }
.se-flyout .se-flyout__ups-item {
  flex: 0 0 calc(100% - 64px);
  scroll-snap-align: start;
  margin: 0;
  /* Salient sets list-style: disc on li, which beats list-style: none on the
     ul — the bullets showed through on the carousel. Reset on the item too. */
  list-style: none;
  display: block;
}
.se-flyout .se-flyout__ups-item::marker { content: none; }
.se-flyout .se-flyout__ups-card {
  box-sizing: border-box;
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 8px;
  border: 1px solid var(--sef-line-soft, #eeeeee);
  border-radius: 4px;
  background: #ffffff;
  color: var(--sef-ink, #202020);
  text-decoration: none;
}
.se-flyout .se-flyout__ups-card:hover { border-color: var(--sef-ink, #202020); }
.se-flyout .se-flyout__ups-card:focus-visible {
  outline: 2px solid var(--sef-teal, #0073aa);
  outline-offset: 2px;
}
.se-flyout .se-flyout__ups-img {
  width: 56px;
  height: 56px;
  object-fit: cover;
  background: var(--sef-sand, #f6f6f6);
  display: block;
}
.se-flyout .se-flyout__ups-copy {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}
.se-flyout .se-flyout__ups-name,
.se-flyout .se-flyout__ups-why {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.se-flyout .se-flyout__ups-name { font-size: 14px; }
.se-flyout .se-flyout__ups-why { font-size: 12px; color: var(--sef-body, #4a4f56); }
.se-flyout .se-flyout__ups-from { font-size: 12px; font-weight: 700; }
.se-flyout .se-flyout__ups-cta {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--sef-teal-text, #0073aa);
  white-space: nowrap;
}

@media (prefers-reduced-motion: reduce) {
  .se-flyout .se-flyout__ups-track { scroll-behavior: auto; }
}

/* ==========================================================================
   Header cart bubble

   Salient ships the count hidden and reveals it from its own cart script —
   which this drawer unbinds, so the bubble never appeared. Show it whenever
   there is something in the cart, and keep it hidden at zero rather than
   displaying a "0" badge.
   ========================================================================== */
#header-outer a.cart-contents .cart-wrap span { visibility: hidden; }
#header-outer a.cart-contents.se-has-items .cart-wrap span,
body.se-cart-has-items #header-outer a.cart-contents .cart-wrap span { visibility: visible !important; }

/* ---- Free-shipping progress bar (mini cart + cart page) ------------------ */
.pj-fsbar { margin: 0; padding: 10px 16px 12px; background: #eef6fb; border-bottom: 1px solid #dceef8; }
.se-cartpage__summary .pj-fsbar { margin: 0 0 16px; border: 1px solid #dceef8; border-radius: 6px; }
.pj-fsbar__msg { display: flex; align-items: center; gap: 8px; margin: 0 0 8px !important; padding: 0 !important; color: #005278; font-size: 13px; line-height: 1.35; }
.pj-fsbar__msg svg { flex: 0 0 auto; color: #0073aa; }
.pj-fsbar__msg b { font-weight: 700; color: #005278; }
.pj-fsbar__track { position: relative; height: 6px; border-radius: 999px; background: #d3e6f2; overflow: hidden; }
.pj-fsbar__fill {
  position: absolute; left: 0; top: 0; bottom: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, #0073aa, #308cb8);
  transition: width .8s cubic-bezier(.22, .61, .36, 1);
  overflow: hidden;
}
.pj-fsbar__fill::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .45), transparent);
  transform: translateX(-100%);
  animation: pj-fs-shimmer 2.2s ease-in-out infinite;
}
@keyframes pj-fs-shimmer { to { transform: translateX(100%); } }
.pj-fsbar.is-done { background: #ecf8f0; border-color: #cdeedd; }
.pj-fsbar.is-done .pj-fsbar__msg,
.pj-fsbar.is-done .pj-fsbar__msg b { color: #146c43; }
.pj-fsbar.is-done .pj-fsbar__msg svg { color: #13a046; }
.pj-fsbar.is-done .pj-fsbar__track { background: #cdeedd; }
.pj-fsbar.is-done .pj-fsbar__fill { background: linear-gradient(90deg, #13a046, #13c84b); }
.pj-fsbar.is-done .pj-fsbar__fill::after { animation: none; }
@media (prefers-reduced-motion: reduce) {
  .pj-fsbar__fill { transition: none; }
  .pj-fsbar__fill::after { animation: none; }
}

.se-flyout .se-flyout__ups-btn svg { width: 12px; height: 12px; }

/* Cart page version: a little more room, a little more context. */
.se-cartpage__summary .pj-fsbar--cart {
  margin: 0 0 18px;
  padding: 14px 16px 12px;
  background: linear-gradient(135deg, #f3f9fd 0%, #e6f2fa 100%);
  border: 1px solid #d6e9f5;
  border-radius: 6px;
}
.pj-fsbar--cart .pj-fsbar__row { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.pj-fsbar--cart .pj-fsbar__icon {
  flex: 0 0 36px; width: 36px; height: 36px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: #fff; color: #0073aa; border: 1px solid #d6e9f5;
}
.pj-fsbar--cart .pj-fsbar__icon svg { width: 18px; height: 18px; }
.pj-fsbar--cart .pj-fsbar__text { min-width: 0; }
.pj-fsbar--cart .pj-fsbar__msg { margin: 0 !important; font-size: 14px; line-height: 1.35; }
.pj-fsbar--cart .pj-fsbar__sub { margin: 2px 0 0 !important; padding: 0 !important; font-size: 12px; line-height: 1.35; color: #5b6b78; }
.pj-fsbar--cart .pj-fsbar__track { height: 8px; background: #fff; box-shadow: inset 0 0 0 1px #d6e9f5; }
.pj-fsbar--cart .pj-fsbar__scale { display: flex; justify-content: space-between; margin-top: 6px; font-size: 11.5px; font-weight: 600; color: #5b6b78; }
.pj-fsbar--cart.is-done { background: linear-gradient(135deg, #f1fbf4 0%, #e3f6ea 100%); border-color: #cdeedd; }
.pj-fsbar--cart.is-done .pj-fsbar__icon { color: #13a046; border-color: #cdeedd; }
.pj-fsbar--cart.is-done .pj-fsbar__sub,
.pj-fsbar--cart.is-done .pj-fsbar__scale { color: #2f7a4b; }
.pj-fsbar--cart.is-done .pj-fsbar__track { box-shadow: inset 0 0 0 1px #cdeedd; }

/* Delivery truck: the site's white truck.png used as a mask, filled with brand colour. */
.pj-fsbar__truck {
  flex: 0 0 auto;
  display: inline-block;
  width: 18px;
  height: 18px;
  background-color: #0073aa;
  -webkit-mask: var(--pj-truck) center / contain no-repeat;
  mask: var(--pj-truck) center / contain no-repeat;
}
.pj-fsbar--cart .pj-fsbar__icon .pj-fsbar__truck { width: 22px; height: 22px; }
.pj-fsbar.is-done .pj-fsbar__truck { background-color: #13a046; }

/* ---- "Customers also buy" (mini cart): pinned above the totals, polished cards ---- */
.se-flyout .se-flyout__ups {
  margin-top: 0;
  padding: 8px 0 8px;
  background: #f7fafc;
  border-top: 1px solid #e6edf2;
  gap: 10px;
}
.se-flyout .se-flyout__ups-head { padding: 0 18px; }
.se-flyout .se-flyout__ups-title {
  color: #005278;
  letter-spacing: 1.2px;
  font-size: 14.5px;
}
.se-flyout .se-flyout__ups-btn { border-color: #d6e2ea; border-radius: 50%; color: #005278; }
.se-flyout .se-flyout__ups-btn:hover:not(:disabled) { border-color: #0073aa; color: #0073aa; }
.se-flyout .se-flyout__ups-track { padding: 2px 18px 4px; scroll-padding: 0 18px; }
.se-flyout .se-flyout__ups-item { flex: 0 0 calc(100% - 56px); }
.se-flyout .se-flyout__ups-card {
  grid-template-columns: 52px 1fr auto;
  gap: 12px;
  padding: 10px;
  border: 1px solid #e3eaf0;
  border-radius: 6px;
  background: #fff;
  transition: border-color .15s, box-shadow .15s;
}
.se-flyout .se-flyout__ups-card:hover { border-color: #0073aa; box-shadow: 0 2px 10px rgba(0, 82, 120, .08); }
.se-flyout .se-flyout__ups-img { width: 52px; height: 52px; border-radius: 6px; object-fit: contain; background: #f4f7f9; padding: 3px; box-sizing: border-box; }
.se-flyout .se-flyout__ups-copy { gap: 3px; }
.se-flyout .se-flyout__ups-name {
  font-size: 13px; font-weight: 600; line-height: 1.3; color: #1b2430;
  white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.se-flyout .se-flyout__ups-why { display: none; }
.se-flyout .se-flyout__ups-from { font-size: 13px; font-weight: 700; color: #0073aa; }
.se-flyout .se-flyout__ups-cta {
  padding: 6px 12px; border: 1px solid #0073aa; border-radius: 999px;
  font-size: 11px; font-weight: 700; letter-spacing: .4px; color: #0073aa; background: #fff;
  transition: background .15s, color .15s;
}
.se-flyout .se-flyout__ups-cta:hover:not(:disabled) { background: #0073aa; color: #fff !important; }

/* Card = product link (image + name, laid out by the card grid) + Add/View action. */
.se-flyout .se-flyout__ups-link { display: contents; color: inherit !important; text-decoration: none !important; }
.se-flyout button.se-flyout__ups-cta { font-family: inherit; line-height: 1.2; cursor: pointer; box-shadow: none; text-transform: none; }
.se-flyout a.se-flyout__ups-cta { text-decoration: none !important; }
.se-flyout .se-flyout__ups-cta:disabled { opacity: .7; cursor: wait; }

/* ---- Free-shipping bar: moving diagonal stripes (replaces the shimmer) ---- */
.pj-fsbar__fill {
  background-color: #0073aa;
  background-image:
    repeating-linear-gradient(-45deg, rgba(255, 255, 255, .22) 0 8px, rgba(255, 255, 255, 0) 8px 16px),
    linear-gradient(90deg, #0073aa, #308cb8);
  background-size: 22.63px 22.63px, 100% 100%;
  animation: pj-fs-stripes .9s linear infinite;
}
.pj-fsbar__fill::after { display: none; }
@keyframes pj-fs-stripes {
  from { background-position: 0 0, 0 0; }
  to { background-position: 22.63px 0, 0 0; }
}
.pj-fsbar.is-done .pj-fsbar__fill {
  background-image: linear-gradient(90deg, #13a046, #13c84b);
  animation: none;
}
@media (prefers-reduced-motion: reduce) {
  .pj-fsbar__fill { animation: none; }
}

/* Checkout: the cart-page bar, under the order totals (right column). */
.se-checkout .pj-fsbar--cart {
  margin: -6px 0 0; /* the summary already spaces its items 18px apart */
  padding: 14px 16px 12px;
  background: linear-gradient(135deg, #f3f9fd 0%, #e6f2fa 100%);
  border: 1px solid #d6e9f5;
  border-radius: 6px;
}
.se-checkout .pj-fsbar--cart.is-done { background: linear-gradient(135deg, #f1fbf4 0%, #e3f6ea 100%); border-color: #cdeedd; }
.se-checkout .pj-fsbar--cart p { margin: 0 !important; }
.se-checkout .pj-fsbar--cart .pj-fsbar__sub { margin-top: 2px !important; }
