/* BudujDom sale clock. GPL-2.0-or-later. Independent implementation. */
.bdc-clock[hidden] { display: none !important; }
.bdc-clock {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    padding: 11.5px 0 1.5px;
    display: grid;
    justify-content: center;
    row-gap: 10px;
    color: #000;
    font-family: inherit;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    text-align: center;
    clear: both;
}
.bdc-clock *, .bdc-clock *::before, .bdc-clock *::after { box-sizing: border-box; }
.bdc-clock .bdc-title { margin: 0; padding: 0; font: inherit; color: inherit; }
.bdc-clock .bdc-units { display: grid; grid-template-columns: repeat(4, auto); gap: 10px; }
.bdc-clock .bdc-unit { display: grid; justify-items: start; align-content: start; gap: 4px; }
.bdc-clock .bdc-face {
    display: block;
    position: relative;
    width: var(--bdc-face-width, 48px);
    height: 40px;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 3px 4px rgba(0,0,0,.15), inset 2px 4px 0 rgba(255,255,255,.08);
    isolation: isolate;
}
.bdc-clock .bdc-track { display: block; width: 100%; }
.bdc-clock .bdc-digit { display: block; position: relative; width: 100%; height: 40px; }
.bdc-clock .bdc-half { display: block; position: absolute; left: 0; right: 0; height: 20px; overflow: hidden; }
.bdc-clock .bdc-half--top { top: 0; color: #ccc; background: #1f1e1e; }
.bdc-clock .bdc-half--bottom { top: 20px; color: #fff; background: #383636; }
.bdc-clock .bdc-half--top::after { content: ''; position: absolute; inset: auto 0 0; height: 1px; background: rgba(0,0,0,.35); }
.bdc-clock .bdc-numeral {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 40px;
    font-size: 30px;
    font-weight: 600;
    font-style: normal;
    line-height: normal;
    letter-spacing: 0;
    white-space: nowrap;
}
.bdc-clock .bdc-half--bottom .bdc-numeral { top: -20px; }
.bdc-clock .bdc-label { display: block; width: 100%; text-align: center; font-size: 14px; font-weight: 400; line-height: 21px; white-space: nowrap; }
@media (max-width: 340px) {
    .bdc-clock .bdc-units { gap: 6px; }
    .bdc-clock .bdc-label { font-size: 12px; }
}
