/* Xenax WordPress Price Sync - banner designs. Every rule is scoped to .xwps so the theme is not touched. */

.xwps {
  --xwps-blue: #267ef6;
  --xwps-purple: #5b3af2;
  --xwps-cyan: #00f0ff;
  --xwps-ink: #0b1220;
  --xwps-muted: #5b6780;
  --xwps-line: #e3e9f4;
  --xwps-dark: #060814;
  container-type: inline-size;
  position: relative;
  margin: 1.75em 0;
  color: var(--xwps-ink);
  font-family: inherit;
  font-size: 15px;
  line-height: 1.4;
  text-align: left;
  -webkit-font-smoothing: antialiased;
}
.xwps *, .xwps *::before, .xwps *::after { box-sizing: border-box; }
.xwps a, .xwps a:hover, .xwps a:focus { text-decoration: none !important; box-shadow: none; border-bottom: 0; }
.xwps ul { list-style: none !important; margin: 0 !important; padding: 0 !important; }
.xwps li { list-style: none !important; margin: 0 !important; padding: 0; }
.xwps li::before, .xwps li::marker { content: none !important; }
.xwps svg { display: inline-block; vertical-align: middle; flex: 0 0 auto; }

.xwps .xwps-title { font-weight: 800; letter-spacing: -0.01em; line-height: 1.2; margin: 0; }
.xwps .xwps-sub { color: var(--xwps-muted); font-size: 14px; margin-top: 4px; }
.xwps .xwps-price { display: inline-flex; align-items: baseline; gap: 2px; white-space: nowrap; line-height: 1; }
.xwps .xwps-amt { font-weight: 800; font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.xwps .xwps-unit { font-weight: 600; font-size: 0.55em; opacity: 0.75; margin-left: 1px; }
.xwps .xwps-notes { display: block; font-size: 12px; line-height: 1.35; opacity: 0.78; margin-top: 6px; }
.xwps .xwps-notes.xwps-notes-i { display: inline; margin: 0 0 0 8px; font-size: 11.5px; font-weight: 500; letter-spacing: 0; white-space: nowrap; color: inherit; }
.xwps-d-topbar-offer .xwps-pr .xwps-notes-i, .xwps-d-ticker .xwps-notes-i { color: #fff; }
.xwps .xwps-cyc { font-size: 11px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.7; margin-bottom: 6px; }

.xwps .xwps-badge {
  display: inline-flex; align-items: center; gap: 4px; padding: 5px 10px; border-radius: 999px;
  font-size: 11px; font-weight: 800; letter-spacing: 0.07em; text-transform: uppercase; line-height: 1;
  background: rgba(38, 126, 246, 0.1); color: var(--xwps-blue); white-space: nowrap;
}

.xwps a.xwps-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 20px; border-radius: 11px; border: 0;
  font-size: 15px; font-weight: 700; line-height: 1; white-space: nowrap; cursor: pointer;
  background: linear-gradient(90deg, var(--xwps-blue), var(--xwps-purple)); color: #fff !important;
  box-shadow: 0 8px 20px -8px rgba(38, 126, 246, 0.7);
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}
.xwps a.xwps-btn:hover { transform: translateY(-1px); filter: brightness(1.07); color: #fff !important; }
.xwps a.xwps-btn svg { width: 16px; height: 16px; transition: transform 0.15s ease; }
.xwps a.xwps-btn:hover svg { transform: translateX(3px); }
.xwps a.xwps-btn-sm { padding: 8px 14px; font-size: 13px; border-radius: 9px; }

.xwps button.xwps-coupon {
  -webkit-appearance: none; appearance: none; display: inline-flex; align-items: center; gap: 6px;
  margin: 0; padding: 7px 11px; min-height: 0; width: auto; border-radius: 9px;
  border: 1.5px dashed currentColor; background: transparent; color: inherit;
  font: inherit; font-size: 13px; font-weight: 600; line-height: 1; letter-spacing: normal; text-transform: none;
  cursor: pointer; box-shadow: none; white-space: nowrap;
}
.xwps button.xwps-coupon:hover { background: rgba(127, 127, 127, 0.1); }
.xwps button.xwps-coupon b { font-weight: 800; letter-spacing: 0.06em; }
.xwps button.xwps-coupon svg { width: 14px; height: 14px; opacity: 0.85; }
.xwps button.xwps-coupon.is-copied { border-style: solid; }

.xwps .xwps-feat li { display: flex; align-items: flex-start; gap: 8px; font-size: 14px; padding: 3px 0 !important; }
.xwps .xwps-feat svg { width: 16px; height: 16px; margin-top: 2px; color: var(--xwps-blue); }

.xwps .xwps-warn, .xwps-warn { margin: 0 0 8px; padding: 8px 12px; border-radius: 8px; background: #fff8e6; border: 1px solid #f5d48a; color: #8a5a00; font-size: 13px; }
.xwps-empty { padding: 18px; border: 2px dashed #c9d4e6; border-radius: 12px; color: #5b6780; text-align: center; font-size: 14px; }
.xwps.xwps-inline-btn { container-type: normal; display: inline-block; margin: 0; }
.xwps-inline-price { font-weight: 700; white-space: nowrap; }
.xwps-inline-unit { font-weight: 500; opacity: 0.75; font-size: 0.9em; }
.xwps-inline-gst { font-weight: 500; opacity: 0.7; font-size: 0.85em; }

/* ---------- 1. Header: Announcement bar ---------- */
.xwps-d-topbar { margin: 0; color: #fff; background: linear-gradient(90deg, #1e6fe0, var(--xwps-blue) 35%, var(--xwps-purple)); }
.xwps-d-topbar .xwps-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 14px; max-width: 1200px; margin: 0 auto; padding: 9px 16px; font-size: 14px; }
.xwps-d-topbar .xwps-badge { background: rgba(255, 255, 255, 0.18); color: #fff; }
.xwps-d-topbar .xwps-title { font-weight: 700; }
.xwps-d-topbar .xwps-pr { font-size: 17px; }
.xwps-d-topbar .xwps-pr .xwps-unit { font-size: 12px; }
.xwps-d-topbar button.xwps-coupon { padding: 5px 9px; font-size: 12px; }
.xwps-d-topbar a.xwps-btn { background: #fff; color: #1d4fd7 !important; box-shadow: none; }
.xwps-d-topbar a.xwps-btn:hover { color: #1d4fd7 !important; }

/* ---------- 2. Header: Flash offer bar ---------- */
.xwps-d-topbar-offer { margin: 0; color: #fff; background: var(--xwps-dark); overflow: hidden; }
.xwps-d-topbar-offer .xwps-glow { position: absolute; inset: 0; background: linear-gradient(100deg, transparent 20%, rgba(255, 106, 0, 0.35) 45%, rgba(255, 51, 102, 0.35) 55%, transparent 80%); background-size: 220% 100%; animation: xwps-sweep 5s linear infinite; pointer-events: none; }
.xwps-d-topbar-offer .xwps-in { position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 14px; max-width: 1200px; margin: 0 auto; padding: 10px 16px; font-size: 14px; }
.xwps-d-topbar-offer .xwps-bolt { display: inline-flex; width: 26px; height: 26px; align-items: center; justify-content: center; border-radius: 8px; background: linear-gradient(135deg, #ffb800, #ff3d57); }
.xwps-d-topbar-offer .xwps-bolt svg { width: 15px; height: 15px; fill: #fff; stroke: none; }
.xwps-d-topbar-offer .xwps-badge { background: #ff3d57; color: #fff; }
.xwps-d-topbar-offer .xwps-pr { font-size: 17px; color: #ffd84d; }
.xwps-d-topbar-offer .xwps-pr .xwps-unit { font-size: 12px; }
.xwps-d-topbar-offer button.xwps-coupon { color: #ffd84d; padding: 5px 9px; font-size: 12px; }
.xwps-d-topbar-offer a.xwps-btn { background: linear-gradient(90deg, #ff8a00, #ff3d57); box-shadow: 0 6px 18px -6px rgba(255, 61, 87, 0.8); }
@keyframes xwps-sweep { from { background-position: 120% 0; } to { background-position: -120% 0; } }

/* ---------- 3. In post: Clean product card ---------- */
.xwps-d-card { background: #fff; border: 1px solid var(--xwps-line); border-radius: 18px; box-shadow: 0 18px 40px -24px rgba(16, 38, 84, 0.35); overflow: hidden; }
.xwps-d-card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: linear-gradient(180deg, var(--xwps-blue), var(--xwps-purple)); }
.xwps-d-card .xwps-in { display: grid; grid-template-columns: auto 1fr auto; gap: 18px 22px; align-items: center; padding: 22px 24px 22px 28px; }
.xwps-d-card .xwps-ic { width: 54px; height: 54px; border-radius: 15px; display: flex; align-items: center; justify-content: center; color: #fff; background: linear-gradient(135deg, var(--xwps-blue), var(--xwps-purple)); box-shadow: 0 10px 22px -10px rgba(91, 58, 242, 0.8); align-self: start; }
.xwps-d-card .xwps-ic svg { width: 27px; height: 27px; }
.xwps-d-card .xwps-in:not(:has(.xwps-feat, .xwps-sub, .xwps-badge)) .xwps-ic { align-self: center; }
.xwps-d-card .xwps-badge { margin-bottom: 8px; }
.xwps-d-card .xwps-title { font-size: 20px; }
.xwps-d-card .xwps-feat { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px 16px; margin-top: 12px !important; }
.xwps-d-card .xwps-side { text-align: right; min-width: 170px; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.xwps-d-card .xwps-side .xwps-cyc { margin: 0; color: var(--xwps-muted); opacity: 1; }
.xwps-d-card .xwps-price { font-size: 34px; color: var(--xwps-ink); }
.xwps-d-card .xwps-notes { margin-top: -4px; color: var(--xwps-muted); opacity: 1; }
.xwps-d-card button.xwps-coupon { color: var(--xwps-purple); }
@container (max-width: 560px) {
  .xwps-d-card .xwps-in { grid-template-columns: auto 1fr; padding: 20px 18px 20px 22px; }
  .xwps-d-card .xwps-side { grid-column: 1 / -1; align-items: stretch; text-align: left; min-width: 0; }
  .xwps-d-card .xwps-feat { grid-template-columns: 1fr; }
  .xwps-d-card a.xwps-btn { width: 100%; }
}

/* ---------- 4. In post: Gradient strip ---------- */
.xwps-d-strip { color: #fff; border-radius: 18px; overflow: hidden; background:
  linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px) 0 0 / 22px 22px,
  linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px) 0 0 / 22px 22px,
  linear-gradient(110deg, #1b5fd6, var(--xwps-blue) 40%, var(--xwps-purple)); box-shadow: 0 20px 40px -24px rgba(38, 80, 200, 0.75); }
.xwps-d-strip .xwps-in { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; padding: 22px 26px; }
.xwps-d-strip .xwps-main { flex: 1 1 260px; }
.xwps-d-strip .xwps-badge { background: rgba(255, 255, 255, 0.18); color: #fff; margin-bottom: 8px; }
.xwps-d-strip .xwps-title { font-size: 21px; }
.xwps-d-strip .xwps-sub { color: rgba(255, 255, 255, 0.82); }
.xwps-d-strip .xwps-side { flex: 0 0 auto; }
.xwps-d-strip .xwps-price { font-size: 32px; }
.xwps-d-strip .xwps-act { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; flex: 0 0 auto; }
.xwps-d-strip a.xwps-btn { background: #fff; color: #1d4fd7 !important; box-shadow: 0 10px 24px -12px rgba(0, 0, 0, 0.6); }
.xwps-d-strip a.xwps-btn:hover { color: #1d4fd7 !important; }
@container (max-width: 520px) { .xwps-d-strip .xwps-act, .xwps-d-strip a.xwps-btn { width: 100%; } }

/* ---------- 5. In post: Datacenter dark ---------- */
.xwps-d-datacenter { color: #e8f0ff; border-radius: 20px; overflow: hidden; border: 1px solid #1c2e5c; background:
  radial-gradient(600px 220px at 85% 10%, rgba(0, 240, 255, 0.16), transparent 60%),
  radial-gradient(500px 260px at 0% 100%, rgba(91, 58, 242, 0.28), transparent 60%),
  linear-gradient(160deg, #0b1a3a, var(--xwps-dark)); box-shadow: 0 24px 50px -28px rgba(0, 20, 80, 0.9); }
.xwps-d-datacenter .xwps-in { display: flex; align-items: center; gap: 24px; padding: 26px 28px; }
.xwps-d-datacenter .xwps-main { flex: 1 1 auto; min-width: 0; }
.xwps-d-datacenter .xwps-badge { background: rgba(0, 240, 255, 0.12); color: var(--xwps-cyan); border: 1px solid rgba(0, 240, 255, 0.35); margin-bottom: 10px; }
.xwps-d-datacenter .xwps-title { font-size: 22px; color: #fff; }
.xwps-d-datacenter .xwps-sub { color: #9fb3d9; }
.xwps-d-datacenter .xwps-feat { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px 16px; margin-top: 12px !important; color: #cfdcf7; }
.xwps-d-datacenter .xwps-feat svg { color: var(--xwps-cyan); }
.xwps-d-datacenter .xwps-buy { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 10px 22px; margin-top: 18px; }
.xwps-d-datacenter .xwps-price { font-size: 36px; color: #fff; text-shadow: 0 0 24px rgba(0, 240, 255, 0.45); }
.xwps-d-datacenter .xwps-notes { color: #9fb3d9; opacity: 1; flex-basis: 100%; order: 3; margin-top: -4px; }
.xwps-d-datacenter .xwps-act { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.xwps-d-datacenter a.xwps-btn { background: linear-gradient(90deg, #00c8f0, var(--xwps-blue)); box-shadow: 0 10px 26px -10px rgba(0, 200, 240, 0.8); }
.xwps-d-datacenter button.xwps-coupon { color: var(--xwps-cyan); }
.xwps-d-datacenter .xwps-art { flex: 0 0 auto; }
.xwps-d-datacenter .xwps-rack { width: 120px; height: auto; filter: drop-shadow(0 0 18px rgba(0, 240, 255, 0.25)); }
@container (max-width: 560px) { .xwps-d-datacenter .xwps-notes { order: 0; margin-top: -6px; } }
.xwps-d-datacenter .xwps-led { animation: xwps-blink 2.4s infinite; }
.xwps-d-datacenter .xwps-led-1 { animation-delay: 0.4s; }
.xwps-d-datacenter .xwps-led-2 { animation-delay: 0.9s; }
.xwps-d-datacenter .xwps-led-3 { animation-delay: 1.5s; }
@keyframes xwps-blink { 0%, 60%, 100% { opacity: 1; } 70%, 85% { opacity: 0.2; } }
@container (max-width: 560px) {
  .xwps-d-datacenter .xwps-art { display: none; }
  .xwps-d-datacenter .xwps-in { padding: 22px 20px; }
  .xwps-d-datacenter .xwps-feat { grid-template-columns: 1fr; }
  .xwps-d-datacenter .xwps-act, .xwps-d-datacenter a.xwps-btn { width: 100%; }
}

/* ---------- 6. In post: Spec sheet ---------- */
.xwps-d-specs { background: #fff; border: 1px solid var(--xwps-line); border-radius: 18px; overflow: hidden; box-shadow: 0 18px 40px -26px rgba(16, 38, 84, 0.35); }
.xwps-d-specs .xwps-head { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; padding: 14px 22px; background: linear-gradient(90deg, #f3f7ff, #f6f3ff); border-bottom: 1px solid var(--xwps-line); }
.xwps-d-specs .xwps-grp { font-size: 11px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--xwps-blue); }
.xwps-d-specs .xwps-title { font-size: 19px; flex: 1 1 auto; }
.xwps-d-specs .xwps-in { display: flex; flex-wrap: wrap; align-items: stretch; }
.xwps-d-specs .xwps-main { flex: 1 1 300px; padding: 18px 22px; }
.xwps-d-specs .xwps-sub { margin: 0 0 12px; }
.xwps-d-specs .xwps-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 10px; }
.xwps-d-specs .xwps-tile { padding: 12px; border-radius: 12px; background: #f6f8fc; border: 1px solid #e8edf6; font-weight: 700; font-size: 14px; text-align: center; }
.xwps-d-specs .xwps-side { flex: 0 0 220px; display: flex; flex-direction: column; justify-content: center; gap: 10px; padding: 20px 22px; color: #fff; background: linear-gradient(160deg, var(--xwps-blue), var(--xwps-purple)); }
.xwps-d-specs .xwps-side .xwps-cyc { margin: 0; }
.xwps-d-specs .xwps-price { font-size: 34px; }
.xwps-d-specs .xwps-notes { margin-top: -4px; }
.xwps-d-specs a.xwps-btn { background: #fff; color: #1d4fd7 !important; box-shadow: none; }
.xwps-d-specs a.xwps-btn:hover { color: #1d4fd7 !important; }
@container (max-width: 560px) { .xwps-d-specs .xwps-side { flex-basis: 100%; } }

/* ---------- 7. In post: Subtle inline note ---------- */
.xwps-d-minimal { background: #f4f8ff; border: 1px solid #dfe9fb; border-left: 4px solid var(--xwps-blue); border-radius: 12px; }
.xwps-d-minimal .xwps-in { display: flex; align-items: flex-start; gap: 12px; padding: 14px 18px; }
.xwps-d-minimal .xwps-ic { flex: 0 0 auto; width: 30px; height: 30px; border-radius: 9px; display: flex; align-items: center; justify-content: center; background: #e2ecff; color: var(--xwps-blue); }
.xwps-d-minimal .xwps-ic svg { width: 17px; height: 17px; fill: currentColor; stroke: none; }
.xwps-d-minimal .xwps-txt { font-size: 15px; line-height: 1.6; padding-top: 3px; }
.xwps-d-minimal .xwps-title { font-weight: 700; display: inline; }
.xwps-d-minimal .xwps-sub { display: inline; margin: 0; font-size: 15px; }
.xwps-d-minimal .xwps-pr .xwps-price { font-size: 16px; color: var(--xwps-blue); }
.xwps-d-minimal .xwps-pr .xwps-unit { font-size: 12px; }
.xwps-d-minimal button.xwps-coupon { padding: 3px 7px; font-size: 12px; color: var(--xwps-purple); vertical-align: middle; }
.xwps-d-minimal a.xwps-link { display: inline-flex; align-items: center; gap: 5px; font-weight: 700; color: var(--xwps-blue) !important; white-space: nowrap; }
.xwps-d-minimal a.xwps-link svg { width: 15px; height: 15px; }
.xwps-d-minimal .xwps-notes { margin-top: 2px; }

/* ---------- 8. Offers: Sale offer ---------- */
.xwps-d-offer { color: #fff; border-radius: 20px; overflow: hidden; background:
  radial-gradient(420px 200px at 100% 0%, rgba(255, 216, 77, 0.35), transparent 60%),
  linear-gradient(115deg, #ff2e63, #ff5a36 55%, #ff9a00); box-shadow: 0 22px 44px -24px rgba(255, 60, 60, 0.85); }
.xwps-d-offer .xwps-in { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 24px; padding: 22px 26px; }
.xwps-d-offer .xwps-burst { flex: 0 0 auto; width: 96px; height: 96px; display: flex; align-items: center; justify-content: center; text-align: center; padding: 10px;
  background: #fff; color: #e8193c; font-weight: 900; font-size: 17px; line-height: 1.05; text-transform: uppercase; letter-spacing: -0.01em;
  clip-path: polygon(50% 0%, 61% 11%, 75% 6%, 79% 21%, 94% 25%, 89% 39%, 100% 50%, 89% 61%, 94% 75%, 79% 79%, 75% 94%, 61% 89%, 50% 100%, 39% 89%, 25% 94%, 21% 79%, 6% 75%, 11% 61%, 0% 50%, 11% 39%, 6% 25%, 21% 21%, 25% 6%, 39% 11%);
  animation: xwps-spin 18s linear infinite; }
.xwps-d-offer .xwps-burst span { animation: xwps-spin 18s linear infinite reverse; display: block; }
.xwps-d-offer .xwps-main { flex: 1 1 220px; }
.xwps-d-offer .xwps-title { font-size: 22px; }
.xwps-d-offer .xwps-sub { color: rgba(255, 255, 255, 0.9); }
.xwps-d-offer .xwps-pr { margin-top: 10px; }
.xwps-d-offer .xwps-price { font-size: 34px; }
.xwps-d-offer .xwps-act { display: flex; flex-direction: column; align-items: stretch; gap: 10px; flex: 0 0 auto; }
.xwps-d-offer button.xwps-coupon { justify-content: center; padding: 10px 14px; font-size: 14px; background: rgba(255, 255, 255, 0.12); border-color: rgba(255, 255, 255, 0.85); }
.xwps-d-offer a.xwps-btn { background: #fff; color: #e8193c !important; box-shadow: 0 10px 22px -10px rgba(0, 0, 0, 0.5); }
.xwps-d-offer a.xwps-btn:hover { color: #e8193c !important; }
@keyframes xwps-spin { to { transform: rotate(360deg); } }
@container (max-width: 520px) { .xwps-d-offer .xwps-act { width: 100%; } .xwps-d-offer .xwps-burst { width: 80px; height: 80px; font-size: 15px; } }

/* ---------- 9. Offers: Festive ---------- */
.xwps-d-festive { color: #fff; border-radius: 20px; overflow: hidden; border: 1px solid rgba(255, 204, 77, 0.45);
  background: radial-gradient(500px 220px at 90% 0%, rgba(255, 204, 77, 0.25), transparent 60%), linear-gradient(135deg, #2a0b5e, #4a1fa8 55%, var(--xwps-purple)); box-shadow: 0 24px 50px -26px rgba(74, 31, 168, 0.95); }
.xwps-d-festive .xwps-sparkles { position: absolute; inset: 0; pointer-events: none; opacity: 0.9;
  background-image: radial-gradient(2px 2px at 12% 22%, #ffe27a 50%, transparent 51%), radial-gradient(1.5px 1.5px at 30% 78%, #fff 50%, transparent 51%),
  radial-gradient(2px 2px at 52% 14%, #ffd04d 50%, transparent 51%), radial-gradient(1.5px 1.5px at 68% 64%, #fff 50%, transparent 51%),
  radial-gradient(2.5px 2.5px at 84% 30%, #ffe27a 50%, transparent 51%), radial-gradient(1.5px 1.5px at 92% 84%, #fff 50%, transparent 51%),
  radial-gradient(2px 2px at 6% 88%, #ffd04d 50%, transparent 51%), radial-gradient(1.5px 1.5px at 44% 50%, #fff 50%, transparent 51%);
  animation: xwps-twinkle 3.2s ease-in-out infinite alternate; }
@keyframes xwps-twinkle { from { opacity: 0.45; } to { opacity: 1; } }
.xwps-d-festive .xwps-in { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 18px 24px; padding: 24px 26px; }
.xwps-d-festive .xwps-gift { flex: 0 0 auto; width: 66px; height: 66px; border-radius: 18px; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #ffe27a, #ffb300); color: #4a1fa8; box-shadow: 0 10px 26px -10px rgba(255, 190, 0, 0.9); }
.xwps-d-festive .xwps-gift svg { width: 34px; height: 34px; }
.xwps-d-festive .xwps-main { flex: 1 1 220px; }
.xwps-d-festive .xwps-badge { background: rgba(255, 216, 77, 0.16); color: #ffd84d; border: 1px solid rgba(255, 216, 77, 0.5); margin-bottom: 8px; }
.xwps-d-festive .xwps-title { font-size: 22px; }
.xwps-d-festive .xwps-sub { color: #e4d8ff; }
.xwps-d-festive .xwps-pr { margin-top: 10px; }
.xwps-d-festive .xwps-price { font-size: 34px; color: #ffd84d; }
.xwps-d-festive .xwps-notes { color: #e4d8ff; opacity: 1; }
.xwps-d-festive .xwps-act { display: flex; flex-direction: column; align-items: stretch; gap: 10px; flex: 0 0 auto; }
.xwps-d-festive button.xwps-coupon { justify-content: center; padding: 10px 14px; font-size: 14px; color: #ffd84d; }
.xwps-d-festive a.xwps-btn { background: linear-gradient(90deg, #ffe27a, #ffb300); color: #2a0b5e !important; box-shadow: 0 10px 24px -10px rgba(255, 190, 0, 0.9); }
.xwps-d-festive a.xwps-btn:hover { color: #2a0b5e !important; }
@container (max-width: 520px) { .xwps-d-festive .xwps-act { width: 100%; } }

/* ---------- 10. Sidebar card ---------- */
.xwps-d-sidebar { max-width: 360px; background: #fff; border: 1px solid var(--xwps-line); border-radius: 18px; overflow: hidden; box-shadow: 0 18px 40px -26px rgba(16, 38, 84, 0.45); }
.xwps-d-sidebar .xwps-head { padding: 18px 20px 20px; color: #fff; background:
  radial-gradient(240px 120px at 100% 0%, rgba(0, 240, 255, 0.3), transparent 60%), linear-gradient(135deg, var(--xwps-blue), var(--xwps-purple)); }
.xwps-d-sidebar .xwps-badge { background: rgba(255, 255, 255, 0.2); color: #fff; margin-bottom: 10px; }
.xwps-d-sidebar .xwps-title { font-size: 19px; }
.xwps-d-sidebar .xwps-sub { color: rgba(255, 255, 255, 0.85); font-size: 13px; }
.xwps-d-sidebar .xwps-body { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 18px 20px 20px; text-align: center; }
.xwps-d-sidebar .xwps-body .xwps-cyc { margin: 0; color: var(--xwps-muted); opacity: 1; }
.xwps-d-sidebar .xwps-price { font-size: 38px; margin-top: -4px; }
.xwps-d-sidebar .xwps-notes { margin-top: -6px; color: var(--xwps-muted); opacity: 1; }
.xwps-d-sidebar .xwps-feat { width: 100%; text-align: left; border-top: 1px dashed var(--xwps-line); padding-top: 10px !important; }
.xwps-d-sidebar button.xwps-coupon { color: var(--xwps-purple); }
.xwps-d-sidebar a.xwps-btn { width: 100%; }

/* ---------- 11. Sidebar dark tile ---------- */
.xwps-d-sidebar-dark { max-width: 340px; color: #e8f0ff; border-radius: 18px; overflow: hidden; border: 1px solid #1c2e5c;
  background: radial-gradient(260px 160px at 100% 0%, rgba(0, 240, 255, 0.18), transparent 60%), linear-gradient(170deg, #0b1a3a, var(--xwps-dark)); }
.xwps-d-sidebar-dark .xwps-in { display: flex; flex-direction: column; gap: 10px; padding: 20px; }
.xwps-d-sidebar-dark .xwps-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.xwps-d-sidebar-dark .xwps-ic { width: 42px; height: 42px; border-radius: 12px; display: flex; align-items: center; justify-content: center; background: rgba(0, 240, 255, 0.1); color: var(--xwps-cyan); border: 1px solid rgba(0, 240, 255, 0.3); }
.xwps-d-sidebar-dark .xwps-ic svg { width: 22px; height: 22px; }
.xwps-d-sidebar-dark .xwps-badge { background: rgba(0, 240, 255, 0.12); color: var(--xwps-cyan); }
.xwps-d-sidebar-dark .xwps-title { font-size: 18px; color: #fff; }
.xwps-d-sidebar-dark .xwps-sub { color: #9fb3d9; font-size: 13px; margin-top: -4px; }
.xwps-d-sidebar-dark .xwps-price { font-size: 32px; color: #fff; text-shadow: 0 0 20px rgba(0, 240, 255, 0.45); }
.xwps-d-sidebar-dark .xwps-notes { color: #9fb3d9; opacity: 1; }
.xwps-d-sidebar-dark a.xwps-btn { width: 100%; background: linear-gradient(90deg, #00c8f0, var(--xwps-blue)); }
.xwps-d-sidebar-dark button.xwps-coupon { justify-content: center; color: var(--xwps-cyan); }

/* ---------- 12. Footer: Price ticker ---------- */
.xwps-d-ticker { margin: 0; overflow: hidden; color: #fff; background: linear-gradient(90deg, var(--xwps-dark), #0e1d44, var(--xwps-dark)); border-top: 1px solid rgba(0, 240, 255, 0.25); border-bottom: 1px solid rgba(0, 240, 255, 0.25); }
.xwps-d-ticker .xwps-track { display: flex; width: max-content; animation: xwps-marquee 32s linear infinite; }
.xwps-d-ticker:hover .xwps-track { animation-play-state: paused; }
.xwps-d-ticker .xwps-run { display: flex; flex: 0 0 auto; }
.xwps-d-ticker .xwps-tk { display: inline-flex; align-items: center; gap: 10px; padding: 10px 34px 10px 0; font-size: 14px; white-space: nowrap; }
.xwps-d-ticker .xwps-tk-i { display: inline-flex; width: 22px; height: 22px; border-radius: 7px; align-items: center; justify-content: center; background: linear-gradient(135deg, #ffb800, #ff3d57); }
.xwps-d-ticker .xwps-tk-i svg { width: 13px; height: 13px; fill: #fff; stroke: none; }
.xwps-d-ticker .xwps-tk-p { color: var(--xwps-cyan); font-size: 16px; }
.xwps-d-ticker .xwps-tk-p .xwps-unit { font-size: 11px; }
.xwps-d-ticker .xwps-tk-c { padding: 3px 8px; border-radius: 6px; border: 1px dashed rgba(255, 216, 77, 0.8); color: #ffd84d; font-size: 12px; }
.xwps-d-ticker a.xwps-tk-a { color: #fff !important; font-weight: 700; padding: 4px 10px; border-radius: 7px; background: rgba(255, 255, 255, 0.1); }
.xwps-d-ticker a.xwps-tk-a:hover { background: var(--xwps-blue); }
@keyframes xwps-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- 13. Footer: Sticky bottom bar ---------- */
.xwps-d-sticky { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 99990; margin: 0; max-width: 980px; margin-inline: auto;
  color: #fff; border-radius: 16px; background: linear-gradient(110deg, #0d1b3f, #14306e 60%, #3a2aa8); border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 18px 50px -12px rgba(0, 10, 40, 0.65); animation: xwps-rise 0.45s ease both; }
.xwps-d-sticky.is-closed { display: none; }
.xwps-d-sticky .xwps-in { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; padding: 12px 52px 12px 16px; }
.xwps-d-sticky .xwps-main { display: flex; align-items: center; gap: 12px; flex: 1 1 260px; min-width: 0; }
.xwps-d-sticky .xwps-ic { flex: 0 0 auto; width: 40px; height: 40px; border-radius: 12px; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--xwps-blue), var(--xwps-purple)); }
.xwps-d-sticky .xwps-ic svg { width: 21px; height: 21px; }
.xwps-d-sticky .xwps-badge { background: #ff3d57; color: #fff; margin-right: 8px; padding: 4px 8px; font-size: 10px; }
.xwps-d-sticky .xwps-title { font-size: 15px; }
.xwps-d-sticky .xwps-pr { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; margin-top: 3px; }
.xwps-d-sticky .xwps-price { font-size: 20px; color: #7ee0ff; }
.xwps-d-sticky .xwps-notes { margin: 0; }
.xwps-d-sticky .xwps-act { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.xwps-d-sticky button.xwps-coupon { color: #ffd84d; padding: 7px 10px; font-size: 12px; }
.xwps-d-sticky button.xwps-x { -webkit-appearance: none; appearance: none; position: absolute; top: 50%; right: 10px; transform: translateY(-50%); width: 32px; height: 32px; min-height: 0; margin: 0; padding: 0;
  border: 0; border-radius: 9px; background: rgba(255, 255, 255, 0.1); color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; box-shadow: none; }
.xwps-d-sticky button.xwps-x:hover { background: rgba(255, 255, 255, 0.2); }
.xwps-d-sticky button.xwps-x svg { width: 16px; height: 16px; }
@keyframes xwps-rise { from { transform: translateY(30px); opacity: 0; } to { transform: none; opacity: 1; } }
@container (max-width: 520px) { .xwps-d-sticky .xwps-act { width: 100%; flex-wrap: wrap; } .xwps-d-sticky a.xwps-btn { flex: 1 1 auto; justify-content: center; } .xwps-d-sticky button.xwps-coupon .xwps-coupon-l { display: none; } }
@media (max-width: 600px) { .xwps-d-sticky { left: 8px; right: 8px; bottom: 8px; } .xwps-d-sticky button.xwps-coupon .xwps-coupon-l { display: none; } }

/* In the editor / admin preview fixed bars behave like normal blocks. */
.xwps-preview.xwps-d-sticky { position: relative; left: auto; right: auto; bottom: auto; animation: none; margin: 1em 0; }

/* Banners without a product in the price list. */
.xwps-missing .xwps-price { display: none; }

@media (prefers-reduced-motion: reduce) {
  .xwps *, .xwps { animation: none !important; transition: none !important; }
  .xwps-d-ticker .xwps-track { width: auto; flex-wrap: wrap; }
  .xwps-d-ticker .xwps-run[aria-hidden="true"] { display: none; }
}
