/* [PPS-SITE-BARS] the banners under the header (sale and message). Colours: the store theme's accent when a theme is
   on (Admin -> Themes), the brand blue otherwise. */
.psb { --psb-a: var(--pth-a, #1B3FA8); --psb-a2: var(--pth-deep, #0B1F5C); --psb-hi: var(--pth-a2, #9DB8FF);
  position: relative; font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; -webkit-font-smoothing: antialiased; }
.psb[hidden] { display: none !important; }
.psb-in { max-width: 1280px; margin: 0 auto; padding: 0 16px; }

/* links keep the banner's colours (the shop's .hv2 a colour would win otherwise) */
.psb-sale a.psb-btn--done, .psb-sale a.psb-more { color: #FFFFFF; }
.psb-msg a.psb-link { color: var(--psb-a); }
.psb-msg .psb-text { color: #0A0A0B; }

/* ---- sale */
.psb-sale { color: #FFFFFF; background:
  radial-gradient(120% 180% at 0% 0%, color-mix(in srgb, var(--psb-hi) 38%, transparent) 0%, transparent 46%),
  linear-gradient(100deg, var(--psb-a2) 0%, var(--psb-a) 58%, var(--psb-a2) 100%);
  border-bottom: 1px solid rgba(0,0,0,.18); overflow: hidden; }
.psb-sale::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background: linear-gradient(115deg, transparent 0 40%, rgba(255,255,255,.16) 48%, transparent 56% 100%); background-size: 250% 100%;
  animation: psb-shine 6s ease-in-out infinite; }
@keyframes psb-shine { 0%, 55% { background-position: 120% 0; } 100% { background-position: -40% 0; } }
@media (prefers-reduced-motion: reduce) { .psb-sale::after { animation: none; opacity: 0; } }
.psb-sale .psb-in { position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; gap: 10px 22px; flex-wrap: wrap;
  padding-top: 12px; padding-bottom: 12px; }
.psb-copy { display: flex; align-items: center; gap: 4px 14px; flex-wrap: wrap; min-width: 0; }
.psb-tag { flex: none; padding: 4px 10px 3px; border-radius: 999px; background: #FFFFFF; color: var(--psb-a2);
  font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; line-height: 1.2; }
.psb-title { font-family: "PV5 Condensed", "Barlow Condensed", "Arial Narrow", sans-serif; font-weight: 700; font-size: 30px; line-height: .95;
  letter-spacing: .01em; text-transform: uppercase; }
.psb-sub { display: inline-flex; flex-wrap: wrap; gap: 2px 10px; font-size: 14px; line-height: 1.35; color: rgba(255,255,255,.88); }
.psb-cd { font-variant-numeric: tabular-nums; font-weight: 700; color: #FFFFFF; }
.psb-cd:empty { display: none; }
.psb-act { display: flex; align-items: center; gap: 14px; flex: none; }
.psb-form { margin: 0; }
.psb-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; padding: 0 20px; margin: 0;
  border: 0; border-radius: 999px; background: #FFFFFF; color: #0A0A0B; font: inherit; font-size: 15px; font-weight: 800; letter-spacing: .01em;
  cursor: pointer; text-decoration: none !important; white-space: nowrap; box-shadow: 0 6px 18px -8px rgba(0,0,0,.55);
  transition: transform .15s ease, box-shadow .15s ease; -webkit-tap-highlight-color: transparent; }
.psb-btn:hover { transform: translateY(-1px); box-shadow: 0 10px 22px -10px rgba(0,0,0,.6); }
.psb-btn:active { transform: translateY(0); }
.psb-btn:focus-visible, .psb-more:focus-visible, .psb-link:focus-visible { outline: 3px solid #FFFFFF; outline-offset: 3px; }
.psb-btn--done { background: rgba(255,255,255,.14); color: #FFFFFF; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.7); }
.psb-btn--done svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.psb-more { color: #FFFFFF; font-size: 14px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
@media (max-width: 640px) {
  .psb-sale .psb-in { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 8px 12px; padding: 12px 16px 13px; text-align: left; }
  .psb-copy { flex-direction: column; align-items: flex-start; gap: 5px; }
  .psb-title { font-size: 26px; }
  .psb-sub { font-size: 13px; flex-direction: column; gap: 1px; }
  .psb-act { flex-direction: column; align-items: stretch; gap: 6px; }
  .psb-btn { min-height: 44px; padding: 0 16px; font-size: 14px; }
  .psb-more { text-align: center; font-size: 12.5px; }
}
@media (max-width: 360px) { .psb-sale .psb-in { grid-template-columns: 1fr; } .psb-act { flex-direction: row; } .psb-btn { flex: 1; } }

/* ---- message */
.psb-msg { background: #EEF2FC; background: color-mix(in srgb, var(--psb-a) 9%, #FFFFFF); color: #0A0A0B;
  border-bottom: 1px solid color-mix(in srgb, var(--psb-a) 22%, #FFFFFF); }
.psb-msg .psb-in { display: flex; align-items: center; justify-content: center; gap: 6px 12px; flex-wrap: wrap; padding-top: 10px; padding-bottom: 10px;
  text-align: center; font-size: 14.5px; line-height: 1.4; font-weight: 500; }
.psb-dot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--psb-a); box-shadow: 0 0 0 0 color-mix(in srgb, var(--psb-a) 55%, transparent);
  animation: psb-pulse 2.4s ease-out infinite; }
@keyframes psb-pulse { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--psb-a) 55%, transparent); } 70%, 100% { box-shadow: 0 0 0 8px transparent; } }
@media (prefers-reduced-motion: reduce) { .psb-dot { animation: none; } }
.psb-text { min-width: 0; }
.psb-cd--chip { display: inline-block; margin-left: 4px; padding: 1px 8px; border-radius: 999px; background: #FFFFFF; color: var(--psb-a);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--psb-a) 30%, #FFFFFF); font-size: 12.5px; }
.psb-link { display: inline-flex; align-items: center; gap: 4px; min-height: 32px; color: var(--psb-a); font-weight: 700; white-space: nowrap;
  text-decoration: underline !important; text-underline-offset: 3px; }
.psb-msg .psb-link:focus-visible { outline: 2px solid var(--psb-a); outline-offset: 2px; }
@media (max-width: 640px) {
  .psb-msg .psb-in { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: start; justify-content: stretch; gap: 2px 10px;
    padding-top: 9px; padding-bottom: 9px; text-align: left; font-size: 13.5px; }
  .psb-msg .psb-dot { margin-top: 6px; }
  .psb-msg .psb-link { grid-column: 2; justify-self: start; min-height: 28px; }
}
@media print { .psb { display: none !important; } }

/* [PPS-BANNER-SLIM] the big banner as one slim row: amount | headline + small line | ticket. Dark, with the store theme's
   light accent (the brand blue's light tint when no theme is on). */
.psb.psb-sale.psb-slim { --psb-k: var(--pth-a2, #8FB0FF); color: #FFFFFF; border-bottom: 1px solid rgba(255,255,255,.08);
  background: radial-gradient(90% 160% at 0% 50%, color-mix(in srgb, var(--psb-k) 16%, transparent) 0%, transparent 55%),
              linear-gradient(90deg, var(--pth-dark, #0B0F1A) 0%, var(--pth-mid, #121A2E) 100%); }
.psb.psb-sale.psb-slim::after { opacity: .28; }
.psb.psb-sale.psb-slim .psb-in { display: flex; flex-wrap: nowrap; align-items: center; justify-content: center; gap: 14px;
  max-width: 1040px; padding: 9px 16px; text-align: left; }
.psb-slim .psb-amt { flex: none; display: inline-flex; align-items: baseline; gap: 4px; color: var(--psb-k);
  font-family: "PV5 Condensed", "Barlow Condensed", "Arial Narrow", sans-serif; font-weight: 700; font-size: 38px; line-height: 1; letter-spacing: .01em; }
.psb-slim .psb-amt small { font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; font-size: 12px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.85); }
.psb-slim .psb-copy { flex: 1 1 auto; min-width: 0; max-width: 520px; display: flex; flex-direction: column; flex-wrap: nowrap; align-items: stretch; gap: 2px; overflow: hidden; text-align: left; }
.psb-slim .psb-title { font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; font-size: 15.5px; font-weight: 700;
  line-height: 1.25; letter-spacing: 0; text-transform: none; color: #FFFFFF; text-decoration: none !important; }
.psb-slim a.psb-title:hover { text-decoration: underline !important; }
.psb-slim .psb-sub { display: block; font-size: 12.5px; line-height: 1.35; color: rgba(255,255,255,.72); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.psb-slim .psb-sub > * + *::before { content: "\00B7"; margin: 0 6px; color: rgba(255,255,255,.45); }
.psb-slim .psb-tg { font-weight: 700; color: var(--psb-k); text-transform: uppercase; letter-spacing: .08em; font-size: 11.5px; }
.psb-slim .psb-cd { font-weight: 700; color: #FFFFFF; }
.psb-slim .psb-form { flex: none; margin: 0; }
.psb-slim .psb-tk { flex: none; position: relative; display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px;
  min-width: 104px; min-height: 46px; margin: 0; padding: 6px 14px 6px 22px; border: 0; border-radius: 6px 8px 8px 6px; cursor: pointer;
  background: var(--psb-k); color: #0A0A0B !important; font: inherit; text-decoration: none !important; -webkit-tap-highlight-color: transparent;
  clip-path: polygon(12px 0, 100% 0, 100% 100%, 12px 100%, 0 50%); transition: transform .15s ease, filter .15s ease; }
.psb-slim .psb-tk::before { content: ""; position: absolute; left: 12px; top: 50%; width: 5px; height: 5px; margin-top: -2.5px; border-radius: 50%; background: #0A0A0B; opacity: .7; }
.psb-slim .psb-tk b { font-size: 14px; font-weight: 800; letter-spacing: .08em; line-height: 1.15; color: #0A0A0B; }
.psb-slim .psb-tk small { font-size: 11px; font-weight: 600; line-height: 1.2; color: rgba(10,10,11,.78); white-space: nowrap; }
.psb-slim .psb-tk:hover { transform: translateY(-1px); filter: brightness(1.06); }
.psb-slim .psb-tk:focus-visible { outline: 3px solid #FFFFFF; outline-offset: 2px; }
.psb-slim .psb-tk.is-done { background: rgba(255,255,255,.14); }
.psb-slim .psb-tk.is-done b, .psb-slim .psb-tk.is-done small { color: #FFFFFF; }
.psb-slim .psb-tk.is-done::before { background: #FFFFFF; }
@media (max-width: 640px) {
  .psb.psb-sale.psb-slim .psb-in { display: flex; gap: 10px; padding: 8px 12px 8px 14px; justify-content: space-between; }
  .psb-slim .psb-amt { font-size: 32px; flex-direction: column; align-items: flex-start; gap: 0; }
  .psb-slim .psb-amt small { font-size: 10px; margin-top: 1px; }
  .psb-slim .psb-title { font-size: 14px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .psb-slim .psb-sub { font-size: 11.5px; }
  .psb-slim .psb-sub .psb-tx { display: none; }   /* phone: tag and countdown only, the line shows on bigger screens */
  .psb-slim .psb-sub .psb-tx + *::before { content: none; }
  .psb-slim .psb-sub .psb-tg + .psb-tx + *::before { content: "\00B7"; }
  .psb-slim .psb-tk { min-width: 92px; min-height: 44px; padding: 5px 10px 5px 20px; }
  .psb-slim .psb-tk b { font-size: 13px; }
  .psb-slim .psb-tk small { font-size: 10.5px; }
}
@media (prefers-reduced-motion: reduce) { .psb-slim .psb-tk { transition: none; } }
/* [PPS-BANNER-STAY] while the code is being applied, and the "Saved" label (not a link) */
.psb-slim .psb-tk.is-busy { opacity: .65; cursor: progress; }
.psb-slim .psb-tk.is-done { cursor: default; transform: none; }
.psb-slim .psb-tk.is-new { animation: psb-pop .35s ease-out; }
@keyframes psb-pop { 0% { transform: scale(.9); } 60% { transform: scale(1.04); } 100% { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { .psb-slim .psb-tk.is-new { animation: none; } }

/* [PPS-MSG-LOOK] the message banner as one slim dark line (owner, Oct 13, 2026: the light strip "looks terrible").
   Dark ink, or the theme's darkest colour when a theme is on; the link in the theme's light accent, on the same line. */
.psb.psb-msg { --psb-a: var(--pth-a2, #8FB0FF); background: var(--pth-dark, #0B0B0C); color: #F4F4F5;
  border-bottom: 1px solid rgba(255,255,255,.08); }
.psb.psb-msg .psb-in { display: flex; flex-wrap: nowrap; align-items: center; justify-content: center; gap: 10px;
  padding-top: 9px; padding-bottom: 9px; text-align: left; font-size: 13.5px; line-height: 1.35; font-weight: 500; letter-spacing: .005em; }
.psb.psb-msg .psb-text { color: #F4F4F5; min-width: 0; }
.psb.psb-msg .psb-dot { width: 7px; height: 7px; margin: 0; background: var(--psb-a); }
.psb.psb-msg a.psb-link { flex: none; min-height: 0; padding: 4px 0; color: var(--psb-a); font-weight: 700;
  text-decoration: none !important; }
.psb.psb-msg a.psb-link:hover { text-decoration: underline !important; text-underline-offset: 3px; }
.psb.psb-msg .psb-link:focus-visible { outline: 2px solid #FFFFFF; outline-offset: 2px; }
.psb.psb-msg .psb-cd--chip { background: rgba(255,255,255,.1); color: #FFFFFF; box-shadow: none; }
@media (max-width: 640px) {
  .psb.psb-msg .psb-in { display: flex; justify-content: flex-start; gap: 10px; padding: 9px 16px; font-size: 13px; }
  .psb.psb-msg .psb-dot { margin-top: 0; }
  .psb.psb-msg a.psb-link { margin-left: auto; justify-self: auto; }
}
