/*
 * Cyber Monday 2026 (inc/cyber-monday.php). Loaded only while the sale runs.
 * Remove after the campaign.
 *
 * Look: dark "ink" panels, neon cyan + magenta, a violet call to action,
 * a synthwave sun and grid, scanlines, glitch titles and the robot.
 * Every animation stops for prefers-reduced-motion (the end of the file).
 */

:root {
    --cm-ink: #05061a;
    --cm-navy: #0b0f2e;
    --cm-panel: #11163d;
    --cm-line: rgba(0, 240, 255, .28);
    --cm-cyan: #00f0ff;
    --cm-magenta: #ff2bd6;
    --cm-violet: #7b5cff;
    --cm-text: #e9ecff;
    --cm-muted: #9aa3d6;
    --cm-price: #6d28ff;
    --cm-neon: linear-gradient(90deg, #00f0ff, #7b5cff 50%, #ff2bd6);
    --cm-cta: linear-gradient(90deg, #6d28ff, #c026d3);
    --cm-mono: ui-monospace, "SFMono-Regular", "JetBrains Mono", Menlo, Consolas, "Liberation Mono", monospace;
}

.dp-cm-sr {
    position: absolute !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}


/* ================= Common pieces ================= */

/* Glitch: two coloured copies of the text (data-text) jump now and then. */
.dp-cm-glitch {
    position: relative;
    display: inline-block;
}

.dp-cm-glitch::before,
.dp-cm-glitch::after {
    content: attr(data-text);
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    opacity: 0;
}

.dp-cm-glitch::before {
    color: var(--cm-cyan);
    -webkit-text-fill-color: var(--cm-cyan);
    animation: cm-glitch-a 6s infinite steps(1);
}

.dp-cm-glitch::after {
    color: var(--cm-magenta);
    -webkit-text-fill-color: var(--cm-magenta);
    animation: cm-glitch-b 6s infinite steps(1);
}

@keyframes cm-glitch-a {
    0%, 88%, 100% { opacity: 0; transform: none; clip-path: inset(0 0 0 0); }
    89% { opacity: .9; transform: translate(-3px, -1px); clip-path: inset(10% 0 55% 0); }
    91% { opacity: .9; transform: translate(2px, 1px); clip-path: inset(60% 0 8% 0); }
    93% { opacity: .9; transform: translate(-2px, 0); clip-path: inset(30% 0 40% 0); }
    95% { opacity: 0; }
}

@keyframes cm-glitch-b {
    0%, 88%, 100% { opacity: 0; transform: none; clip-path: inset(0 0 0 0); }
    89% { opacity: .9; transform: translate(3px, 1px); clip-path: inset(50% 0 20% 0); }
    91% { opacity: .9; transform: translate(-2px, -1px); clip-path: inset(5% 0 70% 0); }
    94% { opacity: .9; transform: translate(2px, 0); clip-path: inset(70% 0 5% 0); }
    96% { opacity: 0; }
}

.dp-cm-kicker {
    display: inline-flex;
    align-items: center;
    gap: .55em;
    padding: .4em .9em;
    border: 1px solid var(--cm-line);
    border-radius: 6px;
    background-color: rgba(0, 240, 255, .07);
    color: var(--cm-cyan);
    font-family: var(--cm-mono);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .12em;
    line-height: 1.3;
    text-transform: uppercase;
    white-space: nowrap;
}

.dp-cm-kicker::before,
.dp-cm-live::before,
.dp-cm-status::before {
    content: '';
    flex-shrink: 0;
    width: .55em;
    height: .55em;
    border-radius: 50%;
    background-color: var(--cm-magenta);
    box-shadow: 0 0 0 0 rgba(255, 43, 214, .7);
    animation: cm-pulse 1.8s infinite;
}

@keyframes cm-pulse {
    0% { box-shadow: 0 0 0 0 rgba(255, 43, 214, .7); }
    70% { box-shadow: 0 0 0 .6em rgba(255, 43, 214, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 43, 214, 0); }
}

.dp-cm-live {
    display: inline-flex;
    align-items: center;
    gap: .45em;
    padding: .2em .55em;
    border-radius: 4px;
    background-color: rgba(255, 43, 214, .14);
    color: var(--cm-magenta);
    font-family: var(--cm-mono);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .14em;
    line-height: 1.4;
    text-transform: uppercase;
}

.dp-cm-title {
    display: flex;
    flex-direction: column;
    margin: 0;
    font-weight: 900;
    line-height: .88;
    letter-spacing: -.01em;
    text-transform: uppercase;
}

.dp-cm-title__cyber {
    color: #fff;
    text-shadow: 0 0 6px rgba(0, 240, 255, .9), 0 0 24px rgba(0, 240, 255, .55), 0 0 48px rgba(0, 240, 255, .3);
}

.dp-cm-title__monday {
    background: var(--cm-neon);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    animation: cm-flow 6s linear infinite;
}

@keyframes cm-flow {
    to { background-position: 200% 0; }
}

.dp-cm-lead {
    margin: 0;
    color: var(--cm-text);
    font-weight: 700;
    line-height: 1.25;
}

.dp-cm-nocode {
    display: inline-flex;
    align-items: center;
    gap: .5em;
    margin: 0;
    color: var(--cm-text);
    font-weight: 600;
    line-height: 1.3;
}

.dp-cm-nocode svg {
    flex-shrink: 0;
    color: var(--cm-cyan);
}

.dp-cm-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5em;
    padding: .9em 1.5em;
    border: 0;
    border-radius: 8px;
    background-color: var(--cm-cyan);
    color: var(--cm-ink) !important;
    font-family: var(--cm-mono);
    font-weight: 800;
    letter-spacing: .06em;
    line-height: 1.2;
    text-transform: uppercase;
    text-decoration: none !important;
    box-shadow: 0 0 0 1px rgba(0, 240, 255, .6), 0 0 22px rgba(0, 240, 255, .45);
    transition: background-color .2s, box-shadow .2s, transform .2s;
}

.dp-cm-btn:hover,
a:hover .dp-cm-btn {
    background-color: #7ff8ff;
    box-shadow: 0 0 0 1px rgba(255, 43, 214, .8), 0 0 30px rgba(255, 43, 214, .55);
    transform: translateY(-1px);
}

.dp-cm-btn--small {
    padding: .65em 1.05em;
    font-size: 13px;
}

.dp-cm-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.dp-cm-chip {
    display: inline-flex;
    align-items: baseline;
    gap: .45em;
    padding: .45em .8em;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 8px;
    background-color: rgba(255, 255, 255, .05);
    color: var(--cm-text);
    font-weight: 600;
    line-height: 1.2;
}

.dp-cm-chip b {
    color: var(--cm-magenta);
    font-family: var(--cm-mono);
    font-weight: 800;
}

.dp-cm-chip small {
    color: var(--cm-muted);
    font-size: .8em;
}

/* A chip that leads to its category (home slide). */
a.dp-cm-chip {
    color: var(--cm-text) !important;
    text-decoration: none !important;
    transition: border-color .2s, box-shadow .2s, transform .2s;
}

a.dp-cm-chip:hover,
a.dp-cm-chip:focus-visible {
    border-color: var(--cm-cyan);
    box-shadow: 0 0 18px rgba(0, 240, 255, .3);
    transform: translateY(-1px);
}

/* Synthwave floor: a moving perspective grid. */
.dp-cm-grid {
    position: absolute;
    right: -30%;
    bottom: 0;
    left: -30%;
    height: 55%;
    background-image:
        linear-gradient(rgba(0, 240, 255, .55) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 240, 255, .55) 1px, transparent 1px);
    background-size: 44px 44px;
    transform: perspective(260px) rotateX(62deg);
    transform-origin: 50% 100%;
    -webkit-mask-image: linear-gradient(to top, #000 10%, transparent 85%);
    mask-image: linear-gradient(to top, #000 10%, transparent 85%);
    opacity: .5;
    animation: cm-grid 2.4s linear infinite;
    pointer-events: none;
}

@keyframes cm-grid {
    to { background-position: 0 44px; }
}

.dp-cm-grid--card {
    height: 70%;
    opacity: .22;
}

.dp-cm-grid--popup {
    height: 45%;
    opacity: .35;
}

.dp-cm-scanlines {
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(to bottom, rgba(255, 255, 255, .035) 0 1px, transparent 1px 3px);
    pointer-events: none;
}

.dp-cm-rain {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: .5;
}


/* ================= The robot ================= */

.dp-cm-robot {
    position: relative;
    display: inline-block;
    flex-shrink: 0;
    width: 120px;
    line-height: 0;
}

.dp-cm-robot__svg {
    display: block;
    width: 100%;
    height: auto;
    overflow: visible;
    filter: drop-shadow(0 0 14px rgba(0, 240, 255, .35));
}

.dp-cm-robot__body {
    animation: cm-float 3.4s ease-in-out infinite;
}

@keyframes cm-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-7px); }
}

.dp-cm-robot__shadow {
    transform-box: fill-box;
    transform-origin: center;
    animation: cm-shadow 3.4s ease-in-out infinite;
}

@keyframes cm-shadow {
    0%, 100% { transform: scaleX(1); opacity: 1; }
    50% { transform: scaleX(.8); opacity: .6; }
}

.dp-cm-robot__led {
    animation: cm-led 1.2s steps(2, jump-none) infinite;
}

@keyframes cm-led {
    0% { fill: #ff2bd6; }
    100% { fill: #00f0ff; }
}

.dp-cm-robot__eyes {
    transition: transform .15s ease-out;
}

.dp-cm-robot__blink {
    transform-box: fill-box;
    transform-origin: center;
    animation: cm-blink 4.5s infinite;
}

@keyframes cm-blink {
    0%, 92%, 100% { transform: scaleY(1); }
    94% { transform: scaleY(.1); }
    96% { transform: scaleY(1); }
}

.dp-cm-robot__scan {
    animation: cm-scan 2.6s ease-in-out infinite;
}

@keyframes cm-scan {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(44px); }
}

.dp-cm-robot__mouth rect {
    transform-box: fill-box;
    transform-origin: center;
    animation: cm-eq .9s ease-in-out infinite alternate;
}

.dp-cm-robot__mouth rect:nth-child(2) { animation-delay: -.3s; }
.dp-cm-robot__mouth rect:nth-child(3) { animation-delay: -.6s; }
.dp-cm-robot__mouth rect:nth-child(4) { animation-delay: -.15s; }

@keyframes cm-eq {
    from { transform: scaleY(.45); }
    to { transform: scaleY(1.15); }
}

.dp-cm-robot__arm--wave {
    transform-origin: 148px 150px;
    animation: cm-wave 2.2s ease-in-out infinite;
}

@keyframes cm-wave {
    0%, 60%, 100% { transform: rotate(0); }
    70% { transform: rotate(-16deg); }
    80% { transform: rotate(8deg); }
    90% { transform: rotate(-12deg); }
}

.dp-cm-robot__screen {
    animation: cm-screen 2s steps(1) infinite;
}

@keyframes cm-screen {
    0%, 100% { fill: #00f0ff; }
    50% { fill: #ff2bd6; }
}

.dp-cm-robot__bubble {
    position: absolute;
    z-index: 1;
    bottom: 88%;
    left: 55%;
    padding: .5em .8em;
    border: 1px solid var(--cm-cyan);
    border-radius: 10px 10px 10px 2px;
    background-color: var(--cm-ink);
    color: var(--cm-cyan);
    font-family: var(--cm-mono);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.3;
    white-space: nowrap;
    box-shadow: 0 0 16px rgba(0, 240, 255, .35);
    animation: cm-bubble 6s ease-in-out infinite;
}

@keyframes cm-bubble {
    0%, 100% { transform: translateY(0) scale(1); opacity: 1; }
    45% { transform: translateY(-4px) scale(1); opacity: 1; }
    48% { transform: translateY(-4px) scale(.96); opacity: .7; }
    52% { transform: translateY(0) scale(1); opacity: 1; }
}

.dp-cm-robot--mini { width: 58px; }
.dp-cm-robot--product { width: 104px; }
.dp-cm-robot--banner { width: 96px; }
.dp-cm-robot--popup { width: 96px; }
.dp-cm-robot--404 { width: 170px; }
.dp-cm-robot--hero { width: 100%; }


/* ================= Countdown ================= */

.dp-cm-countdown {
    display: inline-flex;
    flex-direction: column;
    gap: 6px;
}

.dp-cm-countdown__label,
.dp-cm-clock__label {
    color: var(--cm-muted);
    font-family: var(--cm-mono);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.dp-cm-countdown__units {
    display: flex;
    gap: 6px;
}

.dp-cm-countdown__unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 54px;
    padding: 7px 4px 5px;
    border: 1px solid var(--cm-line);
    border-radius: 8px;
    background: linear-gradient(180deg, rgba(0, 240, 255, .1), rgba(0, 240, 255, .02));
}

.dp-cm-countdown__value {
    color: var(--cm-cyan);
    font-family: var(--cm-mono);
    font-size: 24px;
    font-weight: 800;
    line-height: 1;
    font-variant-numeric: tabular-nums;
    text-shadow: 0 0 10px rgba(0, 240, 255, .6);
}

.dp-cm-countdown__name {
    margin-top: 4px;
    color: var(--cm-muted);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.dp-cm-countdown--compact .dp-cm-countdown__unit {
    min-width: 44px;
    padding: 5px 3px 4px;
}

.dp-cm-countdown--compact .dp-cm-countdown__value {
    font-size: 18px;
}

.dp-cm-countdown--compact .dp-cm-countdown__name {
    font-size: 9px;
}

/* One line (top bar, cart note) */
.dp-cm-clock {
    display: inline-flex;
    align-items: center;
    gap: .6em;
    white-space: nowrap;
}

.dp-cm-clock__time {
    display: inline-flex;
    align-items: baseline;
    color: var(--cm-cyan);
    font-family: var(--cm-mono);
    font-size: 14px;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    text-shadow: 0 0 8px rgba(0, 240, 255, .55);
}

.dp-cm-clock__time small {
    margin: 0 .5em 0 .25em;
    color: var(--cm-muted);
    font-size: 10px;
    font-weight: 700;
    text-shadow: none;
}

.dp-cm-clock__time i {
    margin: 0 .3em;
    color: var(--cm-magenta);
    font-style: normal;
    animation: cm-tick 1s steps(1) infinite;
}

@keyframes cm-tick {
    50% { opacity: .25; }
}


/* ================= Top bar (every page) ================= */

.dp-cm-topbar {
    position: relative;
    z-index: 1002;
    overflow: hidden;
    background:
        radial-gradient(60% 200% at 0% 50%, rgba(123, 92, 255, .35), transparent 60%),
        radial-gradient(50% 200% at 100% 50%, rgba(255, 43, 214, .25), transparent 60%),
        var(--cm-ink);
    color: var(--cm-text);
}

.dp-cm-topbar__inner {
    display: flex;
    align-items: center;
    gap: 18px;
    max-width: 1500px;
    min-height: 42px;
    margin: 0 auto;
    padding: 6px 16px;
}

.dp-cm-topbar__brand {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    gap: 10px;
    color: #fff !important;
    font-family: var(--cm-mono);
    font-size: 14px;
    font-weight: 800;
    letter-spacing: .12em;
    text-decoration: none !important;
    text-transform: uppercase;
}

.dp-cm-topbar__brand .dp-cm-glitch {
    text-shadow: 0 0 10px rgba(0, 240, 255, .7);
}

.dp-cm-topbar__ticker {
    position: relative;
    flex: 1;
    min-width: 0;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.dp-cm-topbar__track {
    display: flex;
    width: max-content;
    animation: cm-ticker 32s linear infinite;
}

.dp-cm-topbar__ticker:hover .dp-cm-topbar__track {
    animation-play-state: paused;
}

@keyframes cm-ticker {
    to { transform: translateX(-50%); }
}

.dp-cm-topbar__items {
    display: flex;
    flex-shrink: 0;
}

.dp-cm-topbar__item {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding-right: 14px;
    color: var(--cm-text);
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
}

a.dp-cm-topbar__item {
    text-decoration: none !important;
    transition: color .2s;
}

a.dp-cm-topbar__item:hover {
    color: var(--cm-cyan) !important;
}

.dp-cm-topbar__item::after {
    content: '//';
    color: var(--cm-magenta);
    font-family: var(--cm-mono);
    font-weight: 800;
}

.dp-cm-topbar__link {
    flex-shrink: 0;
    padding: 6px 12px;
    border: 1px solid var(--cm-line);
    border-radius: 6px;
    color: var(--cm-cyan) !important;
    font-family: var(--cm-mono);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .08em;
    text-decoration: none !important;
    text-transform: uppercase;
    white-space: nowrap;
    transition: background-color .2s, color .2s;
}

.dp-cm-topbar__link:hover {
    background-color: var(--cm-cyan);
    color: var(--cm-ink) !important;
}

.dp-cm-topbar__line {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 2px;
    background: var(--cm-neon);
    background-size: 200% 100%;
    animation: cm-flow 4s linear infinite;
}

@media (max-width: 991px) {
    .dp-cm-topbar__ticker {
        display: none;
    }

    .dp-cm-topbar__inner {
        justify-content: space-between;
        gap: 10px;
    }
}

@media (max-width: 575px) {
    .dp-cm-topbar__inner {
        padding: 6px 12px;
    }

    .dp-cm-topbar__brand {
        gap: 7px;
        font-size: 12px;
        letter-spacing: .06em;
    }

    .dp-cm-topbar .dp-cm-live,
    .dp-cm-topbar .dp-cm-clock__label {
        display: none;
    }

    .dp-cm-topbar__link {
        padding: 5px 8px;
        font-size: 11px;
    }

    .dp-cm-clock__time {
        font-size: 13px;
    }
}

@media (max-width: 389px) {
    .dp-cm-topbar .dp-cm-clock {
        display: none;
    }
}


/* ================= The whole site (body.dp-cm) ================= */

/* Reading progress: a neon line on the top edge (assets/js/cyber-monday.js). */
.dp-cm-progress {
    position: fixed;
    z-index: 1100;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--cm-neon);
    box-shadow: 0 0 10px rgba(0, 240, 255, .6);
    transform: scaleX(var(--cm-scroll, 0));
    transform-origin: 0 50%;
    pointer-events: none;
}

.dp-cm ::selection {
    background-color: var(--cm-cyan);
    color: var(--cm-ink);
}

/* The sticky header gets a neon edge. */
.dp-cm .header-wrapper.stuck::after {
    content: '';
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 2px;
    background: var(--cm-neon);
    background-size: 200% 100%;
    animation: cm-flow 4s linear infinite;
}

/* Orange buttons (add to cart, checkout…) turn violet with a glow. */
.dp-cm .bg-ff6701,
.dp-cm.woocommerce button[type='submit'],
.dp-cm .woocommerce button[type='submit'] {
    background: var(--cm-cta) !important;
}

.dp-cm .bg-ff6701.bg-hover-e65d00:hover,
.dp-cm a.bg-ff6701:hover,
.dp-cm button.bg-ff6701:hover,
.dp-cm.woocommerce button[type='submit']:hover,
.dp-cm .woocommerce button[type='submit']:hover {
    background: linear-gradient(90deg, #7b3cff, #d63af0) !important;
    box-shadow: 0 0 0 1px rgba(255, 43, 214, .5), 0 6px 22px rgba(192, 38, 211, .45);
}

/* Product cards light up. */
.dp-cm .product-card .col-inner {
    transition: box-shadow .25s, border-color .25s;
}

.dp-cm .product-card .col-inner:hover {
    border-color: var(--cm-violet) !important;
    box-shadow: 0 0 0 1px rgba(123, 92, 255, .5), 0 10px 30px rgba(123, 92, 255, .22), 0 0 24px rgba(0, 240, 255, .18) !important;
}

/* Home headings: a terminal prefix. */
.dp-cm.home #content h2.mb-0::before {
    content: '//';
    margin-right: .3em;
    background: var(--cm-neon);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-family: var(--cm-mono);
}

/* Home side banners: a neon frame. */
.dp-cm.home .img-scale-hover {
    position: relative;
    box-shadow: 0 0 0 1px rgba(123, 92, 255, .35);
    transition: box-shadow .25s;
}

.dp-cm.home .img-scale-hover:hover {
    box-shadow: 0 0 0 2px var(--cm-violet), 0 0 26px rgba(0, 240, 255, .35);
}

/* Footer: neon edge and a circuit board. */
.dp-cm #footer {
    position: relative;
    background-image:
        radial-gradient(circle at 20px 20px, rgba(0, 240, 255, .16) 2px, transparent 3px),
        linear-gradient(90deg, rgba(0, 240, 255, .05) 1px, transparent 1px),
        linear-gradient(rgba(0, 240, 255, .05) 1px, transparent 1px);
    background-size: 80px 80px, 40px 40px, 40px 40px;
}

.dp-cm #footer::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 3px;
    background: var(--cm-neon);
    background-size: 200% 100%;
    box-shadow: 0 0 16px rgba(0, 240, 255, .5);
    animation: cm-flow 5s linear infinite;
}


/* ================= Badges and prices ================= */

.dp-cm-badge {
    position: relative;
    display: inline-flex;
    align-items: stretch;
    overflow: hidden;
    background-color: var(--cm-ink);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
    box-shadow: 0 0 0 1px rgba(0, 240, 255, .45), 0 3px 12px rgba(5, 6, 26, .3), 0 0 14px rgba(0, 240, 255, .25);
}

.dp-cm-badge__chip {
    align-self: center;
    width: 6px;
    height: 6px;
    margin-left: 8px;
    border-radius: 1px;
    background-color: var(--cm-cyan);
    box-shadow: 0 0 6px var(--cm-cyan);
    animation: cm-tick 1.4s steps(1) infinite;
}

.dp-cm-badge__label {
    padding: 6px 7px;
    color: var(--cm-cyan);
    font-family: var(--cm-mono);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.dp-cm-badge__value {
    display: inline-flex;
    align-items: center;
    padding: 6px 8px;
    background-color: var(--cm-magenta);
    color: var(--cm-ink);
    font-family: var(--cm-mono);
    font-weight: 800;
}

.dp-cm-badge--pill {
    border-radius: 8px;
}

.dp-cm-badge--single .dp-cm-badge__label {
    padding: 8px 10px;
    font-size: 12px;
}

.dp-cm-badge--single .dp-cm-badge__value {
    padding: 8px 10px;
    font-size: 14px;
}

.dp-cm-badge--sticky .dp-cm-badge__label,
.dp-cm-badge--sticky .dp-cm-badge__value {
    padding-top: 5px;
    padding-bottom: 5px;
}

.dp-cm-price,
.dp-cm-price .amount {
    color: var(--cm-price) !important;
}

.dp-cm-pricebox {
    background-color: var(--cm-ink);
    box-shadow: inset 0 0 0 1px rgba(0, 240, 255, .3);
}

.dp-cm-pricebox .dp-cm-price,
.dp-cm-pricebox .dp-cm-price .amount {
    color: var(--cm-cyan) !important;
    text-shadow: 0 0 8px rgba(0, 240, 255, .5);
}

.dp-cm-pricebox del,
.dp-cm-pricebox del .amount {
    color: #8a90b8 !important;
}


/* ================= Home slide (same proportions as the image slides) ================= */

.dp-cm-slide {
    position: relative;
    display: block;
    aspect-ratio: 1000 / 529;
    overflow: hidden;
    container-type: inline-size;
    background-color: var(--cm-ink);
}

.dp-cm-slide:hover {
    color: #fff;
}

/* The whole slide is one link under the content; only the chips catch the
   pointer themselves and lead to their categories. */
.dp-cm-slide__link {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.dp-cm-slide__main,
.dp-cm-slide__robot {
    pointer-events: none;
}

.dp-cm-slide .dp-cm-chip {
    pointer-events: auto;
}

.dp-cm-slide__link:hover ~ .dp-cm-slide__main .dp-cm-btn {
    background-color: #7ff8ff;
    box-shadow: 0 0 0 1px rgba(255, 43, 214, .8), 0 0 30px rgba(255, 43, 214, .55);
    transform: translateY(-1px);
}

.dp-cm-slide__bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(50% 70% at 78% 35%, rgba(123, 92, 255, .45), transparent 70%),
        radial-gradient(40% 50% at 10% 100%, rgba(255, 43, 214, .25), transparent 70%),
        linear-gradient(180deg, #0a0c2a, var(--cm-ink) 70%);
}

.dp-cm-slide__sun {
    position: absolute;
    top: 9%;
    right: 9%;
    width: 30cqw;
    aspect-ratio: 1;
    border-radius: 50%;
    background: linear-gradient(180deg, #ffd23f 0%, #ff6701 45%, #ff2bd6 100%);
    -webkit-mask-image: linear-gradient(to bottom, #000 45%, transparent 45% 49%, #000 49% 58%, transparent 58% 63%, #000 63% 71%, transparent 71% 77%, #000 77% 84%, transparent 84% 91%, #000 91%);
    mask-image: linear-gradient(to bottom, #000 45%, transparent 45% 49%, #000 49% 58%, transparent 58% 63%, #000 63% 71%, transparent 71% 77%, #000 77% 84%, transparent 84% 91%, #000 91%);
    opacity: .85;
    filter: drop-shadow(0 0 3cqw rgba(255, 43, 214, .6));
}

.dp-cm-slide .dp-cm-grid {
    height: 46%;
    background-size: 5cqw 5cqw;
    opacity: .6;
    animation-name: cm-grid-slide;
}

@keyframes cm-grid-slide {
    to { background-position: 0 5cqw; }
}

.dp-cm-slide__main {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 1.9cqw;
    width: 60%;
    padding-left: max(5cqw, 64px); /* clear of the slider arrows */
}

.dp-cm-slide .dp-cm-kicker {
    font-size: 1.35cqw;
}

.dp-cm-slide .dp-cm-title {
    font-size: 9.6cqw;
}

.dp-cm-slide .dp-cm-lead {
    font-size: 2.1cqw;
}

.dp-cm-slide .dp-cm-chips {
    gap: .8cqw;
}

.dp-cm-slide .dp-cm-chip {
    padding: .6cqw 1.1cqw;
    font-size: 1.6cqw;
}

.dp-cm-slide__row {
    display: flex;
    align-items: flex-end;
    gap: 2.4cqw;
    margin-top: .6cqw;
}

.dp-cm-slide .dp-cm-btn {
    font-size: 1.55cqw;
    white-space: nowrap;
}

.dp-cm-slide .dp-cm-countdown__label {
    font-size: 1.05cqw;
}

.dp-cm-slide .dp-cm-countdown__units {
    gap: .6cqw;
}

.dp-cm-slide .dp-cm-countdown__unit {
    min-width: 5.4cqw;
    padding: .6cqw .4cqw .5cqw;
}

.dp-cm-slide .dp-cm-countdown__value {
    font-size: 2.3cqw;
}

.dp-cm-slide .dp-cm-countdown__name {
    font-size: .95cqw;
}

.dp-cm-slide__robot {
    position: absolute;
    right: 6cqw;
    bottom: 5cqw;
    z-index: 1;
    width: 27cqw;
}

.dp-cm-slide .dp-cm-robot__bubble {
    bottom: 92%;
    left: auto;
    right: 62%;
    border-radius: 10px 10px 2px 10px;
    font-size: 1.45cqw;
}

@container (max-width: 600px) {
    .dp-cm-slide__main {
        gap: 2.6cqw;
        width: 64%;
        padding-left: 5cqw;
    }

    .dp-cm-slide .dp-cm-kicker,
    .dp-cm-slide .dp-cm-countdown,
    .dp-cm-slide .dp-cm-chips,
    .dp-cm-slide .dp-cm-robot__bubble {
        display: none;
    }

    .dp-cm-slide .dp-cm-title {
        font-size: 12.5cqw;
    }

    .dp-cm-slide .dp-cm-lead {
        font-size: 3.6cqw;
    }

    .dp-cm-slide .dp-cm-btn {
        padding: 2cqw 3cqw;
        font-size: 2.9cqw;
    }

    .dp-cm-slide__robot {
        right: 3cqw;
        width: 34cqw;
    }
}


/* ================= Popup ================= */

.dp-cm-popup {
    position: relative;
    width: min(580px, calc(100vw - 16px));
    margin: 0 auto;
}

.mfp-content.dp-cm-mfp-content {
    width: auto;
    background: none;
}

.dp-cm-popup .mfp-close {
    z-index: 3;
    top: 2px;
    color: #fff !important;
}

.dp-cm-popup__inner {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 240, 255, .35);
    border-radius: 16px;
    background:
        radial-gradient(90% 60% at 50% 0%, rgba(123, 92, 255, .4), transparent 70%),
        linear-gradient(180deg, #0a0c2a, var(--cm-ink));
    box-shadow: 0 0 0 1px rgba(255, 43, 214, .15), 0 30px 80px rgba(0, 0, 0, .55), 0 0 60px rgba(0, 240, 255, .18);
    color: #fff;
}

.dp-cm-window__bar {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 11px 14px;
    border-bottom: 1px solid rgba(0, 240, 255, .18);
    background-color: rgba(255, 255, 255, .03);
}

.dp-cm-window__bar span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #ff5f57;
}

.dp-cm-window__bar span:nth-child(2) { background-color: #febc2e; }
.dp-cm-window__bar span:nth-child(3) { background-color: #28c840; }

.dp-cm-window__bar code {
    margin-left: 8px;
    padding: 0;
    background: none;
    color: var(--cm-muted);
    font-family: var(--cm-mono);
    font-size: 12px;
}

.dp-cm-popup__content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 34px 30px 20px;
    text-align: center;
}

.dp-cm-popup .dp-cm-title {
    align-items: center;
    font-size: clamp(50px, 14vw, 80px);
}

.dp-cm-popup .dp-cm-robot__bubble {
    left: 72%;
}

.dp-cm-terminal {
    max-width: 100%;
    margin: 0;
    padding: 8px 12px;
    border: 1px solid rgba(0, 240, 255, .2);
    border-radius: 8px;
    background-color: rgba(0, 0, 0, .35);
    color: #b7ffb0;
    font-family: var(--cm-mono);
    font-size: 13px;
    line-height: 1.4;
    text-align: left;
}

.dp-cm-terminal__prompt {
    color: var(--cm-magenta);
    font-weight: 800;
}

.dp-cm-terminal__cursor {
    display: inline-block;
    width: .55em;
    height: 1.05em;
    margin-left: 2px;
    background-color: #b7ffb0;
    vertical-align: text-bottom;
    animation: cm-tick 1s steps(1) infinite;
}

.dp-cm-offers {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    width: 100%;
}

.dp-cm-offer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 14px 6px 12px;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 12px;
    background-color: rgba(255, 255, 255, .04);
    color: #fff !important;
    text-decoration: none !important;
    transition: border-color .2s, box-shadow .2s, transform .2s;
}

.dp-cm-offer:hover {
    border-color: var(--cm-cyan);
    box-shadow: 0 0 18px rgba(0, 240, 255, .3);
    transform: translateY(-2px);
}

.dp-cm-offer__value {
    background: var(--cm-neon);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-family: var(--cm-mono);
    font-size: 30px;
    font-weight: 900;
    line-height: 1;
    white-space: nowrap;
}

.dp-cm-offer__name {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
}

.dp-cm-offer__note {
    color: var(--cm-muted);
    font-size: 12px;
    line-height: 1.2;
}

.dp-cm-popup .dp-cm-btn {
    width: 100%;
    max-width: 360px;
}

.dp-cm-popup__later {
    padding: 4px 8px;
    border: 0;
    background: none;
    color: var(--cm-muted);
    font-size: 14px;
    text-decoration: underline;
    cursor: pointer;
}

.dp-cm-popup__later:hover {
    color: #fff;
}

@media (max-width: 480px) {
    .dp-cm-popup__content {
        gap: 12px;
        padding: 30px 14px 14px;
    }

    .dp-cm-robot--popup {
        width: 74px;
    }

    .dp-cm-offers {
        gap: 6px;
    }

    .dp-cm-offer {
        padding: 10px 4px 9px;
    }

    .dp-cm-offer__value {
        font-size: 23px;
    }

    .dp-cm-offer__name {
        font-size: 12px;
    }

    .dp-cm-countdown__unit {
        min-width: 46px;
    }

    .dp-cm-terminal {
        font-size: 12px;
    }

    .dp-cm-popup .dp-cm-nocode {
        font-size: 14px;
        text-align: left;
    }
}


/* ================= Product page block ================= */

.dp-cm-product,
.dp-cm-banner,
.dp-cm-deals,
.dp-cm-note {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 240, 255, .3);
    border-radius: 16px;
    background:
        radial-gradient(70% 120% at 100% 0%, rgba(123, 92, 255, .35), transparent 60%),
        radial-gradient(50% 90% at 0% 100%, rgba(255, 43, 214, .18), transparent 60%),
        var(--cm-ink);
    box-shadow: 0 0 30px rgba(0, 240, 255, .12);
    color: #fff;
}

.dp-cm-product {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 20px 18px;
}

.dp-cm-product__main {
    position: relative;
    z-index: 1;
    flex: 1;
    min-width: 0;
}

.dp-cm-product__tag {
    display: inline-flex;
    align-items: center;
    gap: .5em;
    color: var(--cm-cyan);
    font-family: var(--cm-mono);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.dp-cm-product__tag > span {
    padding: .2em .45em;
    border-radius: 4px;
    background-color: var(--cm-magenta);
    color: var(--cm-ink);
    letter-spacing: 0;
}

.dp-cm-status {
    display: flex;
    align-items: center;
    gap: .5em;
    margin-top: 8px;
    color: #b7ffb0;
    font-family: var(--cm-mono);
    font-size: 12px;
    font-weight: 700;
}

.dp-cm-status::before {
    background-color: #28c840;
    animation-name: cm-pulse-green;
}

@keyframes cm-pulse-green {
    0% { box-shadow: 0 0 0 0 rgba(40, 200, 64, .7); }
    70% { box-shadow: 0 0 0 .6em rgba(40, 200, 64, 0); }
    100% { box-shadow: 0 0 0 0 rgba(40, 200, 64, 0); }
}

.dp-cm-product__title {
    margin: 10px 0 4px;
    font-size: 19px;
    font-weight: 800;
    line-height: 1.2;
}

.dp-cm-product__text {
    margin: 0 0 14px;
    color: var(--cm-text);
    font-size: 14px;
    line-height: 1.45;
    opacity: .85;
}

.dp-cm-product__side {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 12px 16px;
}

.dp-cm-product .dp-cm-robot {
    position: relative;
    z-index: 1;
    align-self: flex-end;
}

@media (max-width: 575px) {
    .dp-cm-product .dp-cm-robot {
        position: absolute;
        top: 10px;
        right: 8px;
        width: 64px;
        opacity: .9;
    }

    .dp-cm-product__tag {
        padding-right: 64px;
    }
}


/* ================= Shop and category banner ================= */

.dp-cm-banner {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 16px 22px;
    color: #fff !important;
    text-decoration: none !important;
    transition: box-shadow .25s, border-color .25s;
}

a.dp-cm-banner:hover {
    border-color: var(--cm-cyan);
    box-shadow: 0 0 36px rgba(0, 240, 255, .3);
}

.dp-cm-banner__robot,
.dp-cm-banner__main,
.dp-cm-banner__side {
    position: relative;
    z-index: 1;
}

.dp-cm-banner__main {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    min-width: 0;
}

.dp-cm-banner__title {
    font-size: 26px;
    font-weight: 900;
    line-height: 1.1;
    text-transform: uppercase;
    text-shadow: 0 0 14px rgba(0, 240, 255, .55);
}

.dp-cm-banner__text {
    color: var(--cm-text);
    font-size: 14px;
    line-height: 1.4;
    opacity: .9;
}

.dp-cm-banner__side {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
}

.dp-cm-banner--hero {
    padding: 26px 30px;
}

.dp-cm-banner--hero .dp-cm-banner__title {
    font-size: 40px;
}

.dp-cm-banner--hero .dp-cm-robot--banner {
    width: 130px;
}

@media (max-width: 767px) {
    .dp-cm-banner {
        flex-wrap: wrap;
        gap: 12px;
        padding: 14px 16px;
    }

    .dp-cm-banner__robot {
        position: absolute;
        top: 10px;
        right: 10px;
    }

    .dp-cm-banner .dp-cm-robot--banner {
        width: 58px;
    }

    .dp-cm-banner__main {
        padding-right: 64px;
    }

    .dp-cm-banner__title,
    .dp-cm-banner--hero .dp-cm-banner__title {
        font-size: 22px;
    }

    .dp-cm-banner__side {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: flex-end;
        width: 100%;
    }
}


/* ================= "Cyber deals" on the home page ================= */

.dp-cm-deals {
    padding: 22px 16px 20px;
}

.dp-cm-deals__head {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 14px 20px;
    margin: 0 8px 18px;
}

.dp-cm-deals__heading {
    display: flex;
    align-items: center;
    gap: 14px;
}

.dp-cm-deals__title {
    margin: 0;
    color: #fff;
    font-weight: 900;
    text-transform: uppercase;
    text-shadow: 0 0 14px rgba(0, 240, 255, .6);
}

.dp-cm-deals__text {
    margin: 4px 0 0;
    color: var(--cm-muted);
    font-family: var(--cm-mono);
    font-size: 13px;
}

.dp-cm-deals__tools {
    display: flex;
    align-items: flex-end;
    gap: 16px;
}

.dp-cm-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 1px solid var(--cm-line);
    border-radius: 8px;
    background-color: rgba(0, 240, 255, .06);
    color: var(--cm-cyan);
    transition: background-color .2s, color .2s;
}

.dp-cm-nav:hover {
    background-color: var(--cm-cyan);
    color: var(--cm-ink);
}

.dp-cm-deals__slider {
    position: relative;
    z-index: 1;
}

.dp-cm-deals .product-card .col-inner {
    border-color: transparent !important;
    color: #181818;
}

.dp-cm-deals__all {
    position: relative;
    z-index: 1;
    display: flex;
    width: max-content;
    margin: 14px auto 0;
}


/* ================= Cart and checkout note ================= */

.dp-cm-note {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 16px;
    padding: 14px 18px;
}

.dp-cm-note__icon {
    display: inline-flex;
    flex-shrink: 0;
    color: var(--cm-cyan);
    filter: drop-shadow(0 0 6px rgba(0, 240, 255, .6));
}

.dp-cm-note__text {
    display: flex;
    flex: 1;
    flex-wrap: wrap;
    gap: 4px 10px;
    min-width: 220px;
    font-size: 14px;
    line-height: 1.4;
}

.dp-cm-note__text strong {
    color: var(--cm-cyan);
    font-family: var(--cm-mono);
    letter-spacing: .08em;
    text-transform: uppercase;
}


/* ================= 404 ================= */

.dp-cm-404 {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.dp-cm-404__code {
    position: absolute;
    top: -10px;
    z-index: 0;
    color: transparent;
    font-family: var(--cm-mono);
    font-size: clamp(110px, 22vw, 220px);
    font-weight: 900;
    line-height: 1;
    -webkit-text-stroke: 2px rgba(123, 92, 255, .25);
}

.dp-cm-404 .dp-cm-robot {
    z-index: 1;
}

.dp-cm-404__title {
    margin: 6px 0 0;
    color: var(--cm-price);
    font-family: var(--cm-mono);
    font-size: 18px;
    font-weight: 800;
}

.dp-cm-404__text {
    margin: 0 0 6px;
    font-weight: 600;
}


/* ================= While scrolling (assets/js/cyber-monday.js) ================= */

/*
 * The scroll bot: a small robot rides a neon rail on the right edge, shows
 * the scanned % and flies back to the top on a click. Large screens only:
 * on smaller ones the page has no free edge (the neon progress line stays).
 */
.dp-cm-scroll {
    position: fixed;
    z-index: 1030;
    top: 24vh;
    right: 12px;
    bottom: 130px;
    width: 40px;
    pointer-events: none;
}

.dp-cm-scroll[hidden] {
    display: none;
}

@media (max-width: 1199.98px) {
    .dp-cm-scroll {
        display: none !important;
    }
}

.dp-cm-scroll__rail {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    margin-left: -1px;
    border-radius: 2px;
    background: repeating-linear-gradient(180deg, rgba(123, 92, 255, .45) 0 6px, transparent 6px 11px);
}

.dp-cm-scroll__rail::before,
.dp-cm-scroll__rail::after {
    content: '';
    position: absolute;
    left: 50%;
    width: 8px;
    height: 8px;
    margin-left: -4px;
    border: 2px solid var(--cm-cyan);
    border-radius: 50%;
    background: var(--cm-ink);
    box-shadow: 0 0 8px rgba(0, 240, 255, .7);
}

.dp-cm-scroll__rail::before {
    top: -4px;
}

.dp-cm-scroll__rail::after {
    bottom: -4px;
    border-color: var(--cm-magenta);
    box-shadow: 0 0 8px rgba(255, 43, 214, .7);
}

.dp-cm-scroll__fill {
    position: absolute;
    inset: 0;
    border-radius: 2px;
    background: linear-gradient(180deg, var(--cm-cyan), var(--cm-violet) 60%, var(--cm-magenta));
    box-shadow: 0 0 8px rgba(0, 240, 255, .6);
    transform: scaleY(var(--cm-scroll, 0));
    transform-origin: 50% 0;
}

.dp-cm-scroll.is-done .dp-cm-scroll__fill {
    animation: cm-rail-done .5s ease-in-out 4 alternate;
}

.dp-cm-scroll__bot {
    position: absolute;
    top: 0;
    left: 0;
    width: 40px;
    height: 46px;
    padding: 0;
    border: 0;
    border-radius: 12px;
    background: none;
    cursor: default;
    pointer-events: auto;
    filter: drop-shadow(0 0 6px rgba(0, 240, 255, .45));
    transition: transform .12s linear;
}

.dp-cm-scroll.is-ready .dp-cm-scroll__bot {
    cursor: pointer;
}

.dp-cm-scroll__bot:focus-visible {
    outline: 2px solid var(--cm-cyan);
    outline-offset: 4px;
}

.dp-cm-scroll__svg {
    display: block;
    width: 100%;
    height: auto;
    overflow: visible;
    transform-origin: 50% 40%;
    transition: rotate .25s;
    animation: cm-float 3s ease-in-out infinite;
}

.dp-cm-scroll.is-moving .dp-cm-scroll__svg {
    rotate: 6deg;
}

.dp-cm-scroll.is-moving.is-up .dp-cm-scroll__svg {
    rotate: -6deg;
}

.dp-cm-scroll__flames {
    opacity: 0;
    transition: opacity .15s;
}

.dp-cm-scroll.is-moving .dp-cm-scroll__flames,
.dp-cm-scroll.is-launch .dp-cm-scroll__flames {
    opacity: 1;
}

.dp-cm-scroll__flame {
    transform-box: fill-box;
    transform-origin: 50% 0;
    animation: cm-flame .12s steps(2) infinite alternate;
}

.dp-cm-scroll.is-launch .dp-cm-scroll__flame {
    animation-name: cm-flame-boost;
}

.dp-cm-scroll__led {
    animation: cm-led 1.2s ease-in-out infinite alternate;
}

.dp-cm-scroll__eyes {
    transition: transform .2s;
}

.dp-cm-scroll.is-moving .dp-cm-scroll__eyes {
    transform: translateY(2px);
}

.dp-cm-scroll.is-moving.is-up .dp-cm-scroll__eyes,
.dp-cm-scroll.is-launch .dp-cm-scroll__eyes {
    transform: translateY(-3px);
}

.dp-cm-scroll__eyes-open {
    transform-box: fill-box;
    transform-origin: center;
    animation: cm-blink 4.5s infinite;
}

.dp-cm-scroll__eyes-open,
.dp-cm-scroll__eyes-happy {
    transition: opacity .2s;
}

.dp-cm-scroll__eyes-happy,
.dp-cm-scroll.is-done .dp-cm-scroll__eyes-open {
    opacity: 0;
}

.dp-cm-scroll.is-done .dp-cm-scroll__eyes-happy {
    opacity: 1;
}

/* "37%" on the left while it moves or on hover. */
.dp-cm-scroll__pct {
    position: absolute;
    top: 46%;
    right: calc(100% + 8px);
    padding: 2px 6px;
    border: 1px solid var(--cm-line);
    border-radius: 6px;
    background: var(--cm-ink);
    color: var(--cm-cyan);
    font: 700 11px/1.4 var(--cm-mono);
    white-space: nowrap;
    opacity: 0;
    transform: translate(6px, -50%);
    transition: opacity .2s, transform .2s;
    pointer-events: none;
}

.dp-cm-scroll.is-moving .dp-cm-scroll__pct,
.dp-cm-scroll__bot:hover .dp-cm-scroll__pct {
    opacity: 1;
    transform: translate(0, -50%);
}

/* "Back to top ↑" on hover, "Scan 100%" at the end of the page. */
.dp-cm-scroll__bubble {
    position: absolute;
    right: 70%;
    bottom: calc(100% + 6px);
    padding: 6px 10px;
    border: 1px solid var(--cm-cyan);
    border-radius: 10px 10px 2px 10px;
    background: var(--cm-ink);
    box-shadow: 0 0 14px rgba(0, 240, 255, .35);
    color: var(--cm-text);
    font: 700 12px/1.3 var(--cm-mono);
    white-space: nowrap;
    opacity: 0;
    transform: translateY(4px) scale(.92);
    transform-origin: 100% 100%;
    transition: opacity .2s, transform .2s;
    pointer-events: none;
}

.dp-cm-scroll.is-talking .dp-cm-scroll__bubble {
    opacity: 1;
    transform: none;
}

/* The bits it leaves behind. */
.dp-cm-scroll__spark {
    position: absolute;
    left: 50%;
    color: var(--cm-cyan);
    font: 700 11px/1 var(--cm-mono);
    text-shadow: 0 0 6px currentColor;
    pointer-events: none;
    animation: cm-spark .75s ease-out forwards;
}

.dp-cm-scroll__spark:nth-child(3n) {
    color: var(--cm-magenta);
}

/* Headings "decrypt" themselves when they come into view. */
.dp-cm-decrypt {
    text-shadow: 0 0 12px rgba(0, 240, 255, .55), 0 0 2px rgba(123, 92, 255, .6);
}

/* Product cards: a scan line runs over the picture when they come into view. */
.dp-cm .product-card .col-inner > a:first-child {
    overflow: hidden;
}

.dp-cm-scan::after {
    content: '';
    position: absolute;
    z-index: 2;
    top: 0;
    right: 0;
    left: 0;
    height: 40%;
    border-bottom: 2px solid var(--cm-cyan);
    background: linear-gradient(180deg, rgba(0, 240, 255, 0), rgba(0, 240, 255, .2));
    box-shadow: 0 6px 16px rgba(0, 240, 255, .45);
    opacity: 0;
    pointer-events: none;
    animation: cm-card-scan 2.6s cubic-bezier(.45, 0, .55, 1) var(--cm-delay, 0ms) both;
}

/*
 * The deal radar (bottom left, a pair to the chat button on the right): its
 * sweep finds the Cyber Monday products on the screen. Hover or tap opens
 * the panel with the numbers and the link to all the deals.
 */
.dp-cm-radar {
    position: fixed;
    z-index: 1035;
    bottom: calc(35px + var(--cm-radar-lift, 0px));
    left: 50px;
    transition: bottom .25s ease;
}

.dp-cm-radar__scope {
    position: relative;
    display: block;
    width: 72px;
    height: 72px;
    padding: 0;
    border: 2px solid var(--cm-cyan);
    border-radius: 50%;
    background: radial-gradient(circle, #0c1b40 0%, var(--cm-ink) 72%);
    box-shadow: 0 0 0 4px rgba(0, 240, 255, .12), 0 0 18px rgba(0, 240, 255, .45), inset 0 0 18px rgba(0, 240, 255, .25);
    cursor: pointer;
    transition: transform .2s, box-shadow .2s;
}

.dp-cm-radar__scope:hover,
.dp-cm-radar.is-open .dp-cm-radar__scope {
    transform: scale(1.06);
    box-shadow: 0 0 0 4px rgba(255, 43, 214, .18), 0 0 26px rgba(0, 240, 255, .6), inset 0 0 22px rgba(0, 240, 255, .35);
}

.dp-cm-radar__scope:focus-visible {
    outline: 2px solid var(--cm-magenta);
    outline-offset: 4px;
}

.dp-cm-radar__grid,
.dp-cm-radar__sweep,
.dp-cm-radar__blips,
.dp-cm-radar__ping {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    pointer-events: none;
}

.dp-cm-radar__grid {
    background:
        radial-gradient(circle, rgba(0, 240, 255, .9) 0 2px, transparent 2.5px),
        radial-gradient(circle, transparent 0 32%, rgba(0, 240, 255, .28) 32.5% 34%, transparent 34.5% 64%, rgba(0, 240, 255, .28) 64.5% 66%, transparent 66.5%),
        linear-gradient(90deg, transparent calc(50% - .5px), rgba(0, 240, 255, .22) calc(50% - .5px) calc(50% + .5px), transparent calc(50% + .5px)),
        linear-gradient(transparent calc(50% - .5px), rgba(0, 240, 255, .22) calc(50% - .5px) calc(50% + .5px), transparent calc(50% + .5px));
}

/* The bright edge leads (at the top before the rotation), the glow trails. */
.dp-cm-radar__sweep {
    background: conic-gradient(from 0deg, transparent 0deg 250deg, rgba(0, 240, 255, .06) 250deg, rgba(0, 240, 255, .5) 357deg, rgba(255, 255, 255, .95) 359deg 360deg);
    will-change: transform;
}

.dp-cm-radar__blips {
    overflow: hidden;
}

.dp-cm-radar__blip {
    position: absolute;
    width: var(--s, 5px);
    height: var(--s, 5px);
    margin: calc(var(--s, 5px) / -2) 0 0 calc(var(--s, 5px) / -2);
    border-radius: 50%;
    background: var(--cm-magenta);
    box-shadow: 0 0 6px var(--cm-magenta), 0 0 2px #fff;
    transition: left .15s linear, top .15s linear, background-color .2s;
}

.dp-cm-radar__blip.is-hot {
    z-index: 1;
    background: #fff;
    box-shadow: 0 0 0 2px var(--cm-magenta), 0 0 10px #fff;
    opacity: 1 !important;
}

.dp-cm-radar__ping {
    border: 2px solid var(--cm-magenta);
    opacity: 0;
}

.dp-cm-radar.is-ping .dp-cm-radar__ping {
    animation: cm-radar-ping .9s ease-out;
}

.dp-cm-radar__badge {
    position: absolute;
    top: -4px;
    right: -6px;
    min-width: 24px;
    height: 24px;
    padding: 0 6px;
    border: 2px solid var(--cm-ink);
    border-radius: 12px;
    background: var(--cm-magenta);
    box-shadow: 0 0 10px rgba(255, 43, 214, .7);
    color: #fff;
    font: 800 12px/20px var(--cm-mono);
    text-align: center;
    transition: background-color .2s, box-shadow .2s;
}

.dp-cm-radar.is-empty .dp-cm-radar__badge {
    background: var(--cm-panel);
    box-shadow: none;
    color: var(--cm-muted);
}

.dp-cm-radar__panel {
    position: absolute;
    bottom: calc(100% + 14px);
    left: 0;
    width: 250px;
    padding: 14px 16px 16px;
    border: 1px solid var(--cm-line);
    border-radius: 14px;
    background: rgba(5, 6, 26, .95);
    box-shadow: 0 0 0 1px rgba(123, 92, 255, .25), 0 14px 40px rgba(5, 6, 26, .45), 0 0 26px rgba(0, 240, 255, .2);
    color: var(--cm-text);
    font-family: var(--cm-mono);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px) scale(.96);
    transform-origin: 0 100%;
    transition: opacity .2s, transform .2s, visibility 0s .2s;
}

.dp-cm-radar.is-open .dp-cm-radar__panel {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: opacity .2s, transform .2s;
}

.dp-cm-radar__title {
    display: flex;
    gap: 8px;
    align-items: center;
    margin: 0 0 8px;
    color: var(--cm-cyan);
    font: 800 12px/1.3 var(--cm-mono);
    letter-spacing: .12em;
    text-transform: uppercase;
}

.dp-cm-radar__live {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--cm-magenta);
    box-shadow: 0 0 8px var(--cm-magenta);
    animation: cm-radar-live 1s ease-in-out infinite alternate;
}

.dp-cm-radar__stats {
    margin: 0 0 12px;
}

.dp-cm-radar__stats > div {
    display: flex;
    gap: 12px;
    align-items: baseline;
    justify-content: space-between;
    padding: 6px 0;
    border-bottom: 1px dashed rgba(0, 240, 255, .16);
}

.dp-cm-radar__stats dt {
    margin: 0;
    color: var(--cm-muted);
    font-size: 12px;
    font-weight: 400;
}

.dp-cm-radar__stats dd {
    margin: 0;
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    white-space: nowrap;
}

.dp-cm-radar__stats .dp-cm-radar__best {
    color: var(--cm-magenta);
    text-shadow: 0 0 8px rgba(255, 43, 214, .5);
}

.dp-cm-radar__link {
    display: block;
    padding: 9px 12px;
    border-radius: 10px;
    background: var(--cm-cta);
    color: #fff !important;
    font: 700 13px/1.3 var(--cm-mono);
    text-align: center;
    text-decoration: none !important;
    transition: box-shadow .2s;
}

.dp-cm-radar__link:hover,
.dp-cm-radar__link:focus-visible {
    box-shadow: 0 0 0 1px rgba(255, 43, 214, .6), 0 6px 22px rgba(192, 38, 211, .5);
}

@media (max-width: 991.98px) {
    .dp-cm-radar {
        bottom: calc(25px + var(--cm-radar-lift, 0px));
        left: 20px;
    }

    .dp-cm-radar__scope {
        width: 58px;
        height: 58px;
    }

    .dp-cm-radar__panel {
        width: min(250px, calc(100vw - 40px));
    }
}

/* Target lock: the radar has found a Cyber Monday card. */
.dp-cm .product-card .col-inner {
    position: relative;
}

.dp-cm-lock::before {
    --c: var(--cm-magenta);
    content: '';
    position: absolute;
    z-index: 3;
    inset: 8px;
    background:
        linear-gradient(var(--c), var(--c)) left top / 24px 3px,
        linear-gradient(var(--c), var(--c)) left top / 3px 24px,
        linear-gradient(var(--c), var(--c)) right top / 24px 3px,
        linear-gradient(var(--c), var(--c)) right top / 3px 24px,
        linear-gradient(var(--c), var(--c)) left bottom / 24px 3px,
        linear-gradient(var(--c), var(--c)) left bottom / 3px 24px,
        linear-gradient(var(--c), var(--c)) right bottom / 24px 3px,
        linear-gradient(var(--c), var(--c)) right bottom / 3px 24px;
    background-repeat: no-repeat;
    filter: drop-shadow(0 0 4px var(--c));
    pointer-events: none;
    animation: cm-lock 1.5s ease-out both;
}

.dp-cm-lock::after {
    content: '\25CE  LOCK ' attr(data-cm-lock);
    position: absolute;
    z-index: 3;
    top: 16px;
    right: 16px;
    padding: 2px 7px;
    border-radius: 4px;
    background: var(--cm-magenta);
    box-shadow: 0 0 12px rgba(255, 43, 214, .7);
    color: #fff;
    font: 800 10px/1.5 var(--cm-mono);
    letter-spacing: .08em;
    white-space: pre;
    pointer-events: none;
    animation: cm-lock-label 1.5s ease-out both;
}

@keyframes cm-radar-ping {
    from {
        opacity: .9;
        transform: scale(1);
    }
    to {
        opacity: 0;
        transform: scale(1.9);
    }
}

@keyframes cm-radar-live {
    from { opacity: .35; }
    to { opacity: 1; }
}

@keyframes cm-lock {
    0% {
        opacity: 0;
        transform: scale(1.15);
    }
    25% {
        opacity: 1;
        transform: scale(1);
    }
    33% { opacity: .3; }
    41% { opacity: 1; }
    78% { opacity: 1; }
    100% { opacity: 0; }
}

@keyframes cm-lock-label {
    0%, 22% {
        opacity: 0;
        transform: translateY(-4px);
    }
    35%, 80% {
        opacity: 1;
        transform: none;
    }
    100% { opacity: 0; }
}

@keyframes cm-flame {
    from { transform: scaleY(.7); }
    to { transform: scaleY(1.15); }
}

@keyframes cm-flame-boost {
    from { transform: scaleY(1.4); }
    to { transform: scaleY(2); }
}

@keyframes cm-spark {
    from {
        opacity: 1;
        transform: translate(-50%, 0);
    }
    to {
        opacity: 0;
        transform: translate(calc(-50% + var(--x, 0px)), var(--y, -30px)) scale(.6);
    }
}

@keyframes cm-rail-done {
    from { box-shadow: 0 0 8px rgba(0, 240, 255, .6); }
    to { box-shadow: 0 0 18px 2px rgba(255, 43, 214, .9); }
}

@keyframes cm-card-scan {
    0% {
        opacity: 0;
        transform: translateY(-100%);
    }
    15%, 75% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: translateY(250%);
    }
}


/* ================= Less motion ================= */

@media (prefers-reduced-motion: reduce) {
    [class*="dp-cm-"],
    [class*="dp-cm-"]::before,
    [class*="dp-cm-"]::after,
    .dp-cm-robot * {
        animation: none !important;
        transition: none !important;
    }

    .dp-cm-rain {
        display: none;
    }
}
