/* ============================================================
   Promo Countdown Timer — Frontend Styles v1.3
   ============================================================ */
.pct-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 32px;
    border-radius: 20px;
    height: 80px;
    margin: 0 0 32px;
    gap: 16px;
    box-sizing: border-box;
    width: 100%;
    text-decoration: none;
}

.pct-banner--linked {
    cursor: pointer;
    transition: opacity 0.2s ease;
}
.pct-banner--linked:hover { opacity: 0.92; }

/* ---- Left ---- */
.pct-banner__left {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
    flex: 1;
    min-width: 0;
}

.pct-banner__titles {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.pct-banner__title {
    font-size: 24px;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: 0;
    color: inherit;
}

.pct-banner__subtitle {
    font-size: 14px;
    opacity: 0.82;
    font-weight: 400;
    color: inherit;
}

.pct-banner__badges {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
}

/* Бейдж: білий фон, колір тексту = колір фону банера (через CSS custom property) */
.pct-banner__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--pct-text-color, #ffffff);
    color: var(--pct-bg-color, #1a8c3e);
    border-radius: 100px;
    height: 24px;
    padding: 0 7px;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: 0;
    white-space: nowrap;
    border: none;
}

/* ---- Right: countdown ---- */
.pct-banner__right { flex-shrink: 0; }

.pct-countdown {
    display: flex;
    align-items: flex-end;
    gap: 6px;
}

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

.pct-val {
    font-size: 30px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: -1px;
    color: inherit;
}

.pct-label {
    font-size: 10px;
    opacity: 0.75;
    margin-top: 3px;
    text-transform: lowercase;
    color: inherit;
}

.pct-sep {
    font-size: 28px;
    font-weight: 800;
    line-height: 1.1;
    opacity: 0.7;
    margin-bottom: 14px;
    color: inherit;
}
.katalog__header {
    flex-wrap: wrap;
}
.katalog__header .pct-banner {
    margin-top: 32px;
}

.katalog__header .woocommerce-products-header__title {
    max-width: 60%;
}
/* ============================================================
   Tablet 900px
   ============================================================ */
@media (max-width: 900px) {
    .pct-banner { padding: 0 20px; height: 80px; gap: 12px; }
    .pct-val    { font-size: 26px; }
    .pct-sep    { font-size: 22px; margin-bottom: 12px; }
    .pct-banner__title { font-size: 20px; }
    .pct-unit   { min-width: 36px; }
    .katalog__header .woocommerce-products-header__title {
        max-width: 100%;
    }
   .pct-banner__badges {
        display: none;
    }
}

/* ============================================================
   Mobile 640px — центруємо всі елементи
   ============================================================ */
@media (max-width: 640px) {
    .pct-banner {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 20px 16px;
        height: auto;
        gap: 14px;
    }

    .pct-banner__left {
        width: 100%;
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }

    .pct-banner__titles {
        align-items: center;
    }

  

    .pct-banner__right {
        width: 100%;
    }

    .pct-countdown {
        justify-content: center;
        width: 100%;
        gap: 8px;
    }

    .pct-unit   { min-width: 56px; }
    .pct-val    { font-size: 28px; }
    .pct-sep    { font-size: 24px; margin-bottom: 13px; }
    .pct-banner__title { font-size: 17px; }
}

/* ============================================================
   Small mobile 380px
   ============================================================ */
@media (max-width: 380px) {
    .pct-val  { font-size: 22px; }
    .pct-unit { min-width: 44px; }
    .pct-sep  { font-size: 18px; margin-bottom: 11px; }
}

/* ============================================================
   Sticky
   ============================================================ */
.pct-banner--sticky {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    border-radius: 0;
    margin: 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

body.pct-has-sticky { padding-top: 68px; }

@media (max-width: 640px) {
    body.pct-has-sticky { padding-top: 130px; }
}
