/* Days - Clean Modern Countdown Styles */
.days-countdown {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 16px 24px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.days-countdown.large {
    padding: 24px 36px;
    border-width: 2px;
    border-color: #e5484d;
}

.kd-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 50px;
}

.kd-num {
    font-size: 2.2rem;
    font-weight: 800;
    color: #1e293b;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

.days-countdown.large .kd-num {
    font-size: 3.5rem;
    color: #e5484d;
}

.kd-label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    color: #64748b;
    margin-top: 4px;
    letter-spacing: 0.05em;
}

.kd-sep {
    font-size: 1.8rem;
    font-weight: 700;
    color: #cbd5e1;
    margin-top: -10px;
}

/* Shown in place of the digits once a countdown reaches zero. The digits are hidden
   rather than removed, so the element can tick again without being rebuilt. */
.days-countdown.is-finished .kd-unit,
.days-countdown.is-finished .kd-sep {
    display: none;
}

.kd-status {
    font-size: 1.1rem;
    font-weight: 600;
    color: #64748b;
}

.days-countdown.is-today .kd-status {
    font-size: 1.5rem;
    font-weight: 800;
    color: #16a34a;
    padding: 8px 16px;
    background: #dcfce7;
    border-radius: 8px;
}

/* The plugin's script adds a screen reader only announcement, so the plugin carries its
   own copy of this rule and does not depend on the active theme defining it. */
.days-countdown .screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
}

@media (max-width: 640px) {
    .days-countdown {
        gap: 6px;
        padding: 12px 14px;
    }
    .kd-num {
        font-size: 1.6rem;
    }
    .days-countdown.large .kd-num {
        font-size: 2.2rem;
    }
    .kd-label {
        font-size: 0.65rem;
    }
}
