/*
 * Chicret_VipSignup. Uses the colour variables of the Black Friday page (.cea) with the same
 * values as fallback, so it also works on other pages. Contrast checked: ink on blush and
 * white on wine pass AA for small text; the field border uses rose (3.6:1 on white).
 */
.vs {
    text-align: center;
    color: var(--ink, #383e42);
}

/* Author display rules below would otherwise beat the hidden attribute. */
.vs[hidden],
.vs [hidden] {
    display: none !important;
}

.vs-countdown {
    margin: 0 0 22px;
}

.vs-caption {
    margin: 0 0 10px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--wine, #760320);
}

.vs-timer {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(6px, 2vw, 12px);
    max-width: 440px;
    margin: 0 auto;
}

.vs-timer div {
    background: #fff;
    border: 1px solid var(--blush, #f6e3e0);
    border-radius: 14px;
    padding: clamp(10px, 3vw, 16px) 0 clamp(8px, 2.4vw, 12px);
    box-shadow: 0 6px 18px rgba(118, 3, 32, .08);
}

.vs-timer b {
    display: block;
    font: 400 clamp(28px, 8vw, 40px)/1 'Noto Serif', Georgia, serif;
    color: var(--wine, #760320);
    font-variant-numeric: tabular-nums;
}

.vs-timer span {
    display: block;
    margin-top: 6px;
    /* "δευτερόλεπτα" stays on one line on a 360 px phone (shop font), never broken mid-word */
    font-size: clamp(9px, 2.4vw, 12px);
    white-space: nowrap;
    color: var(--ink, #383e42);
}

.vs-form {
    display: grid;
    gap: 12px;
}

.vs-field input {
    width: 100%;
    box-sizing: border-box;
    padding: 15px 20px;
    border: 1px solid var(--rose, #b8756d);
    border-radius: 40px;
    background: #fff;
    color: var(--ink, #383e42);
    font-family: inherit;
    font-size: 16px;
    line-height: 1.4;
}

.vs-field input::placeholder {
    color: #6b6f72;
}

.vs-btn,
.vs-copy {
    cursor: pointer;
    border-radius: 40px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: .06em;
}

.vs-btn {
    padding: 16px 28px;
    border: 0;
    background: var(--wine, #760320);
    color: #fff;
}

.vs-btn:hover:not(:disabled) {
    background: #560218;
}

.vs-btn:disabled {
    opacity: .6;
    cursor: wait;
}

.vs-field input:focus-visible,
.vs-btn:focus-visible,
.vs-copy:focus-visible,
.vs-result:focus-visible {
    outline: 3px solid var(--wine, #760320);
    outline-offset: 2px;
}

.vs-status {
    min-height: 1.4em;
    margin: 0;
    font-size: 14px;
    color: var(--wine, #760320);
}

.vs-result {
    padding: 22px 18px;
    border: 2px dashed var(--rose, #b8756d);
    border-radius: 16px;
    background: var(--blush, #f6e3e0);
    animation: vs-in .35s ease-out;
}

.vs-msg {
    margin: 0 0 16px;
    font: 400 clamp(17px, 4.5vw, 20px)/1.5 'Noto Serif', Georgia, serif;
    color: var(--ink, #383e42);
}

.vs-code {
    display: inline-block;
    margin: 0 2px;
    padding: 1px 12px;
    border-radius: 10px;
    background: #fff;
    font-weight: 400;
    font-size: 1.35em;
    letter-spacing: .06em;
    color: var(--wine, #760320);
    user-select: all;
}

.vs-copy {
    padding: 10px 22px;
    border: 1px solid var(--wine, #760320);
    background: transparent;
    color: var(--wine, #760320);
}

.vs-copy:hover {
    background: var(--wine, #760320);
    color: #fff;
}

.vs-expired {
    margin: 0;
    font: 400 18px/1.5 'Noto Serif', Georgia, serif;
    color: var(--wine, #760320);
}

.vs-sr,
.vs-hp {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}

.vs-hp {
    left: -9999px;
}

@keyframes vs-in {
    from {
        opacity: 0;
        transform: translateY(6px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .vs-result {
        animation: none;
    }
}

/* Our countdown covers every visitor, so the Omnisend form next to it drops its own countdown and the
   caption right after it (no two timers for visitors who accepted cookies). Only where this widget is. */
[id^="omnisend-embedded"] [class*="-countdown-timer-"],
[id^="omnisend-embedded"] [class*="-countdown-timer-"] + [class*="-text-"] {
    display: none !important;
}
