/* ─── Trigger button (header widget) ─── */

.hb-dw-trigger {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    padding: 14px 22px;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    font-family: var(--hb-font, inherit), sans-serif;
    background: var(--hb-brand);
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.2;
    transition: filter 0.2s, transform 0.1s;
    text-align: left;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.hb-dw-trigger:hover { filter: brightness(0.92); }
.hb-dw-trigger:active { transform: translateY(1px); }

.hb-dw-trigger__label {
    font-size: 11px;
    font-weight: 700;
    opacity: 0.9;
}

.hb-dw-trigger__slot {
    font-size: 18px;
    font-weight: 800;
    margin-top: 2px;
}

.hb-dw-trigger__holiday {
    font-size: 11px;
    font-weight: 700;
    color: #FFD54F;
    margin-top: 4px;
}

@media (max-width: 480px) {
    .hb-dw-trigger { padding: 12px 16px; }
    .hb-dw-trigger__slot { font-size: 16px; }
}

/* ─── Built-in modal overlay ─── */

.hb-dw-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hb-dw-popover {
    position: relative;
    background: #fff;
    border-radius: 16px;
    max-width: 720px;
    width: 92%;
    max-height: 88vh;
    overflow-y: auto;
    padding: 28px 32px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.18);
    animation: hb-dw-fadeIn 0.2s ease-out;
}

@keyframes hb-dw-fadeIn {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: translateY(0); }
}

@media (max-width: 640px) {
    .hb-dw-overlay { align-items: flex-end; }
    .hb-dw-popover {
        width: 100%;
        max-width: 100%;
        max-height: 90vh;
        border-radius: 16px 16px 0 0;
        animation: hb-dw-slideUp 0.25s ease-out;
    }
    @keyframes hb-dw-slideUp {
        from { transform: translateY(100%); }
        to   { transform: translateY(0); }
    }
}

.hb-dw-close {
    position: absolute;
    top: 12px;
    right: 14px;
    background: none;
    border: none;
    font-size: 26px;
    color: #999;
    cursor: pointer;
    line-height: 1;
    padding: 0;
}
.hb-dw-close:hover { color: #333; }

/* ─── Content (used in built-in popover and Elementor popups) ─── */

.hb-dw-content {
    font-family: inherit;
    color: #222;
    --hb-brand: #18A04E;
}

/* ─── Spinner ─── */

.hb-dw-spinner {
    display: flex;
    justify-content: center;
    padding: 32px 0;
}
.hb-dw-spinner::after {
    content: "";
    width: 28px;
    height: 28px;
    border: 3px solid #e0e0e0;
    border-top-color: var(--hb-brand);
    border-radius: 50%;
    animation: hb-dw-spin 0.7s linear infinite;
}
@keyframes hb-dw-spin { to { transform: rotate(360deg); } }

/* ─── Sections ─── */

.hb-dw-section { margin-bottom: 20px; }

.hb-dw-section__title {
    font-size: 14px;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
}

/* ─── Address pills ─── */

.hb-dw-addr-pills { display: flex; gap: 8px; flex-wrap: wrap; }

.hb-dw-addr-pill {
    padding: 8px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 30px;
    background: #fff;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
}
.hb-dw-addr-pill:hover { border-color: var(--hb-brand); }

.hb-dw-addr-pill--active {
    border-color: var(--hb-brand);
    background: var(--hb-brand);
    color: #fff;
}

.hb-dw-addr-pill--no-zone { border-color: #ffcdd2; color: #c62828; }

/* Guest lookup */
.hb-dw-guest-form { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.hb-dw-guest-form select,
.hb-dw-guest-form input {
    padding: 10px 12px;
    border: 1px solid #d0d0d0;
    border-radius: 8px;
    font-size: 14px;
    flex: 1;
    min-width: 120px;
}
.hb-dw-guest-form button {
    padding: 10px 24px;
    border: none;
    border-radius: 30px;
    background: var(--hb-brand);
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
}

/* ─── Zone result ─── */

.hb-dw-zone {
    padding: 12px 14px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 16px;
}
.hb-dw-zone--ok { background: #e8f5e9; color: #2e7d32; }
.hb-dw-zone--no { background: #ffeaea; color: #c62828; }

/* ─── Day pills (large rounded boxes) ─── */

.hb-dw-days {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    gap: 10px;
}
@media (min-width: 480px) {
    .hb-dw-days { grid-template-columns: repeat(4, 1fr); }
}

.hb-dw-day {
    padding: 14px 10px;
    border: 1.5px solid #e0e0e0;
    border-radius: 12px;
    text-align: center;
    cursor: pointer;
    transition: border-color 0.15s, color 0.15s, box-shadow 0.15s, transform 0.1s;
    background: #fff;
    color: #222;
}
.hb-dw-day:hover { border-color: var(--hb-brand); }
.hb-dw-day:active { transform: scale(0.98); }

.hb-dw-day--active {
    border-color: var(--hb-brand);
    background: #fff;
    color: var(--hb-brand);
    box-shadow: inset 0 0 0 1px var(--hb-brand);
}

.hb-dw-day--holiday {
    cursor: default;
    color: #aaa;
    text-decoration: line-through;
    background: #f9f9f9;
}
.hb-dw-day--holiday:hover { border-color: #e0e0e0; }

.hb-dw-day__name { font-size: 15px; font-weight: 700; }
.hb-dw-day__date { font-size: 13px; margin-top: 2px; opacity: 0.85; }
.hb-dw-day__note { font-size: 11px; margin-top: 2px; }

/* ─── Time display ─── */

.hb-dw-time {
    font-size: 32px;
    font-weight: 800;
    text-align: center;
    padding: 14px 0;
    color: #222;
    letter-spacing: 0.5px;
}

/* ─── FOMO bar ─── */

.hb-dw-fomo { margin-bottom: 16px; }

.hb-dw-fomo__bar {
    height: 8px;
    background: #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 6px;
}
.hb-dw-fomo__fill {
    height: 100%;
    border-radius: 4px;
    transition: width 0.3s ease, background 0.2s;
}
.hb-dw-fomo__label { font-size: 12px; color: #888; }

/* ─── Cutoff countdown ─── */

.hb-dw-cutoff {
    text-align: center;
    font-size: 14px;
    color: #e65100;
    font-weight: 700;
    padding: 10px;
    background: #fff3e0;
    border-radius: 8px;
}

/* ─── Modal title ─── */

.hb-dw-title {
    font-size: 18px;
    font-weight: 800;
    color: #222;
    margin: 0 0 18px;
    padding-right: 32px;
    line-height: 1.3;
}

/* ─── Generic card wrapper ─── */

.hb-dw-card {
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 14px;
    padding: 16px 18px;
    margin-bottom: 14px;
}

/* Top "address" card has a left-right split */
.hb-dw-card--addr {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    align-items: center;
}

@media (min-width: 620px) {
    .hb-dw-card--addr {
        grid-template-columns: minmax(0, 1fr) minmax(0, 260px);
    }
}

.hb-dw-card__main {
    min-width: 0;
}

.hb-dw-card__aside {
    font-size: 12px;
    color: #666;
    line-height: 1.4;
    text-align: left;
}

@media (min-width: 620px) {
    .hb-dw-card__aside {
        padding-left: 18px;
        border-left: 1px solid #ececec;
        text-align: right;
    }
}

.hb-dw-card__aside .hb-dw-tuk {
    color: var(--hb-brand);
    font-weight: 700;
}

.hb-dw-login {
    display: inline-block;
    margin-top: 10px;
    padding: 8px 22px;
    border: 1.5px solid #d0d0d0;
    border-radius: 999px;
    color: #222;
    font-weight: 700;
    text-decoration: none;
    font-size: 13px;
    transition: border-color 0.15s, color 0.15s;
}

.hb-dw-login:hover {
    border-color: var(--hb-brand);
    color: var(--hb-brand);
}

/* "+ Добави адрес" link inside the address card */
.hb-dw-add-addr {
    display: inline-block;
    padding: 10px 22px;
    border: 1.5px solid #d0d0d0;
    border-radius: 999px;
    color: #222;
    font-weight: 600;
    font-size: 13px;
    text-decoration: none;
    transition: border-color 0.15s, color 0.15s;
}

.hb-dw-add-addr:hover {
    border-color: var(--hb-brand);
    color: var(--hb-brand);
}

/* ─── Slot card (time + countdown + capacity) ─── */

.hb-dw-slot-card {
    padding: 18px;
}

.hb-dw-slot-card__row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 16px;
    align-items: center;
    padding: 10px 0;
    border-radius: 10px;
}

.hb-dw-slot-card__time {
    font-size: 26px;
    font-weight: 800;
    color: #222;
    letter-spacing: 0.5px;
}

.hb-dw-slot-card__countdown {
    color: #e65100;
    font-weight: 700;
    font-size: 14px;
    text-align: right;
    line-height: 1.3;
    white-space: nowrap;
}

.hb-dw-slot-card__countdown--quiet {
    color: #777;
    font-weight: 600;
}

.hb-dw-slot-card__sub {
    font-size: 13px;
    color: #777;
    margin-top: 2px;
}

/* Capacity bar lives inside the slot card */
.hb-dw-slot-card .hb-dw-fomo {
    margin: 14px 0 0;
}

/* ─── Free-delivery badge ─── */

.hb-dw-info {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #e8f5e9;
    color: #2e7d32;
    border-radius: 10px;
    padding: 11px 14px;
    font-size: 13px;
    font-weight: 600;
    margin-top: 4px;
}

.hb-dw-info::before {
    content: "";
    flex: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #2e7d32 url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'><polyline points='3.5,8.5 6.8,11.5 12.5,5'/></svg>") center/10px 10px no-repeat;
}

/* ─── Empty state (logged-in, no addresses) ─── */

.hb-dw-empty {
    text-align: center;
    padding: 8px 0;
    color: #666;
    font-size: 14px;
}

.hb-dw-empty__cta {
    display: inline-block;
    margin-top: 12px;
    padding: 10px 24px;
    background: var(--hb-brand);
    color: #fff !important;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
}

/* Tighten existing zone result so it lives between cards cleanly */
.hb-dw-zone-result:empty { display: none; }
.hb-dw-zone-result .hb-dw-zone {
    margin-bottom: 0;
}

/* Section-level padding tweaks */
.hb-dw-card .hb-dw-section__title {
    margin-bottom: 10px;
    color: #333;
    font-size: 13px;
    font-weight: 700;
}

/* On small screens, slot-card row stacks */
@media (max-width: 480px) {
    .hb-dw-slot-card__row {
        grid-template-columns: 1fr;
    }
    .hb-dw-slot-card__countdown {
        text-align: left;
    }
}

/* ─────────────────────────────────────────────────────────────────
 * Visual polish — hero slot card, icons, depth, motion
 * ───────────────────────────────────────────────────────────────── */

/* Subtle gradient backdrop */
.hb-dw-popover {
    background: linear-gradient(180deg, #fbfcfd 0%, #ffffff 60%);
    box-shadow:
        0 24px 60px rgba(15, 23, 42, 0.18),
        0 4px 12px rgba(15, 23, 42, 0.06);
}

/* ─── Section titles — small icon prefix via SVG mask ─── */

.hb-dw-section__title {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #475569;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    font-size: 11px;
    font-weight: 800;
}

.hb-dw-section__title::before {
    content: "";
    flex: none;
    width: 16px;
    height: 16px;
    background-color: var(--hb-brand);
    -webkit-mask: var(--hb-icon, none) center/contain no-repeat;
            mask: var(--hb-icon, none) center/contain no-repeat;
}

.hb-dw-card--addr .hb-dw-section__title {
    --hb-icon: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'><path d='M8 14s5-4.5 5-8.5a5 5 0 1 0-10 0c0 4 5 8.5 5 8.5z'/><circle cx='8' cy='5.5' r='2'/></svg>");
}
.hb-dw-days-section .hb-dw-section__title {
    --hb-icon: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'><rect x='2' y='3' width='12' height='11' rx='1.5'/><line x1='2' y1='6' x2='14' y2='6'/><line x1='5' y1='2' x2='5' y2='4'/><line x1='11' y1='2' x2='11' y2='4'/></svg>");
}
.hb-dw-slot-card .hb-dw-section__title {
    --hb-icon: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'><circle cx='8' cy='8' r='6.5'/><polyline points='8,4.5 8,8 11,9.5'/></svg>");
}

/* ─── Title cleanup ─── */

.hb-dw-title {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -0.2px;
    background: linear-gradient(135deg, #0f172a, #475569);
    -webkit-background-clip: text;
            background-clip: text;
    color: transparent;
    margin: 0 0 22px;
}

/* ─── Hero slot card ─── */

.hb-dw-slot-card {
    position: relative;
    overflow: hidden;
    border: 1px solid color-mix(in srgb, var(--hb-brand) 22%, #e8e8e8);
    background:
        radial-gradient(circle at 100% 0%, color-mix(in srgb, var(--hb-brand) 12%, transparent) 0%, transparent 60%),
        linear-gradient(135deg, color-mix(in srgb, var(--hb-brand) 6%, #ffffff) 0%, #ffffff 70%);
    box-shadow:
        0 1px 0 rgba(15, 23, 42, 0.02),
        0 8px 24px color-mix(in srgb, var(--hb-brand) 8%, transparent);
    padding: 20px 22px 18px;
}

/* Decorative ring in the corner */
.hb-dw-slot-card::after {
    content: "";
    position: absolute;
    top: -40px;
    right: -40px;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: color-mix(in srgb, var(--hb-brand) 8%, transparent);
    pointer-events: none;
}

.hb-dw-slot-card__row {
    align-items: center;
    padding: 6px 0 4px;
    position: relative;
    z-index: 1;
}

.hb-dw-slot-card__time {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 30px;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.5px;
    line-height: 1.05;
}

.hb-dw-slot-card__time::before {
    content: "";
    flex: none;
    width: 36px;
    height: 36px;
    border-radius: 12px;
    background-color: var(--hb-brand);
    -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><circle cx='12' cy='12' r='9'/><polyline points='12,7 12,12 16,14'/></svg>") center / 22px 22px no-repeat;
            mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><circle cx='12' cy='12' r='9'/><polyline points='12,7 12,12 16,14'/></svg>") center / 22px 22px no-repeat;
    box-shadow: 0 6px 16px color-mix(in srgb, var(--hb-brand) 35%, transparent);
}

.hb-dw-slot-card__countdown {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    background: #fff3e0;
    color: #e65100;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.2px;
    line-height: 1;
    white-space: nowrap;
    box-shadow: inset 0 0 0 1px rgba(230, 81, 0, 0.15);
}

.hb-dw-slot-card__countdown::before {
    content: "";
    width: 14px;
    height: 14px;
    background: currentColor;
    -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'><path d='M5.5 2h5'/><path d='M5.5 14h5'/><path d='M6 2v3a2 2 0 0 0 .5 1.3L8 8l1.5-1.7A2 2 0 0 0 10 5V2'/><path d='M6 14v-3a2 2 0 0 1 .5-1.3L8 8l1.5 1.7A2 2 0 0 1 10 11v3'/></svg>") center / contain no-repeat;
            mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'><path d='M5.5 2h5'/><path d='M5.5 14h5'/><path d='M6 2v3a2 2 0 0 0 .5 1.3L8 8l1.5-1.7A2 2 0 0 0 10 5V2'/><path d='M6 14v-3a2 2 0 0 1 .5-1.3L8 8l1.5 1.7A2 2 0 0 1 10 11v3'/></svg>") center / contain no-repeat;
    animation: hb-dw-tick 2s ease-in-out infinite;
}

@keyframes hb-dw-tick {
    0%, 100% { opacity: 1; transform: rotate(0); }
    50%      { opacity: 0.55; transform: rotate(-12deg); }
}

.hb-dw-slot-card__countdown--quiet {
    background: #f1f5f9;
    color: #475569;
    box-shadow: inset 0 0 0 1px #e2e8f0;
}
.hb-dw-slot-card__countdown--quiet::before { animation: none; opacity: 0.7; }

.hb-dw-slot-card__sub {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
    font-size: 13px;
    color: #64748b;
    font-weight: 500;
}

.hb-dw-slot-card__sub::before {
    content: "";
    width: 12px;
    height: 12px;
    background: currentColor;
    -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'><path d='M8 14s5-4.5 5-8.5a5 5 0 1 0-10 0c0 4 5 8.5 5 8.5z'/><circle cx='8' cy='5.5' r='1.6'/></svg>") center/contain no-repeat;
            mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'><path d='M8 14s5-4.5 5-8.5a5 5 0 1 0-10 0c0 4 5 8.5 5 8.5z'/><circle cx='8' cy='5.5' r='1.6'/></svg>") center/contain no-repeat;
}

/* Capacity bar refinement (inside slot card) */
.hb-dw-slot-card .hb-dw-fomo {
    position: relative;
    z-index: 1;
    margin: 14px 0 0;
}
.hb-dw-slot-card .hb-dw-fomo__bar {
    height: 6px;
    background: rgba(15, 23, 42, 0.06);
}
.hb-dw-slot-card .hb-dw-fomo__fill {
    background-image: linear-gradient(90deg, var(--hb-brand), color-mix(in srgb, var(--hb-brand) 70%, #fff));
    box-shadow: 0 1px 4px color-mix(in srgb, var(--hb-brand) 35%, transparent);
}
.hb-dw-slot-card .hb-dw-fomo__label {
    color: #64748b;
    font-weight: 600;
    margin-top: 8px;
}

/* ─── Address pills — refined active + hover lift ─── */

.hb-dw-addr-pill {
    transition: border-color 0.15s, background 0.15s, color 0.15s, transform 0.15s, box-shadow 0.15s;
}

.hb-dw-addr-pill:hover:not(.hb-dw-addr-pill--active) {
    border-color: var(--hb-brand);
    transform: translateY(-1px);
}

.hb-dw-addr-pill--active {
    box-shadow: 0 6px 16px color-mix(in srgb, var(--hb-brand) 35%, transparent);
}

/* ─── Day cards — bigger, livelier ─── */

.hb-dw-day {
    padding: 16px 10px;
    transition: border-color 0.15s, color 0.15s, transform 0.15s, box-shadow 0.15s;
}

.hb-dw-day:hover:not(.hb-dw-day--active):not(.hb-dw-day--holiday) {
    border-color: var(--hb-brand);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.06);
}

.hb-dw-day--active {
    background: var(--hb-brand) !important;
    color: #fff !important;
    border-color: var(--hb-brand) !important;
    box-shadow:
        0 8px 22px color-mix(in srgb, var(--hb-brand) 35%, transparent),
        inset 0 0 0 0 transparent !important;
}

.hb-dw-day--active .hb-dw-day__name,
.hb-dw-day--active .hb-dw-day__date {
    color: #fff;
    opacity: 1;
}

.hb-dw-day__name { font-size: 15px; font-weight: 800; }
.hb-dw-day__date { font-size: 13px; opacity: 0.7; }

/* ─── Free-delivery badge — sleeker, with truck ─── */

.hb-dw-info {
    background: linear-gradient(135deg, #ecfdf5 0%, #f0fdfa 100%);
    color: #047857;
    border: 1px solid #d1fae5;
    box-shadow: 0 1px 0 rgba(15, 23, 42, 0.02);
    padding: 12px 16px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.1px;
}

.hb-dw-info::before {
    background: #047857 url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M3 7h11v8H3z'/><path d='M14 10h4l3 3v2h-7'/><circle cx='7' cy='17' r='2'/><circle cx='17' cy='17' r='2'/></svg>") center/12px 12px no-repeat;
    width: 22px;
    height: 22px;
}

/* ─── Address card refinement — pin icon next to title; subtler card ─── */

.hb-dw-card--addr {
    background: #ffffff;
    border-color: #e2e8f0;
    box-shadow: 0 1px 0 rgba(15, 23, 42, 0.02);
}

/* ─── Login button — more inviting ─── */

.hb-dw-login {
    background: #ffffff;
    border-color: #e2e8f0;
    color: #0f172a;
}
.hb-dw-login:hover {
    border-color: var(--hb-brand);
    background: color-mix(in srgb, var(--hb-brand) 6%, #fff);
    color: var(--hb-brand);
}

/* ─── Section reveal animation ─── */

.hb-dw-card,
.hb-dw-zone-result .hb-dw-zone {
    animation: hb-dw-rise 0.28s ease-out both;
}
.hb-dw-card--addr { animation-delay: 0s; }
.hb-dw-days-section { animation-delay: 0.04s; }
.hb-dw-slot-card { animation-delay: 0.08s; }
.hb-dw-info { animation-delay: 0.12s; animation: hb-dw-rise 0.28s ease-out 0.12s both; }

@keyframes hb-dw-rise {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ─── Days grid — give it just a touch more breathing room ─── */
.hb-dw-days { gap: 12px; }

/* Close button — circular */
.hb-dw-close {
    top: 14px;
    right: 16px;
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #64748b;
    transition: background 0.15s, color 0.15s;
}
.hb-dw-close:hover { background: #f1f5f9; color: #0f172a; }

/* ─── Mobile: tighten a bit ─── */
@media (max-width: 480px) {
    .hb-dw-popover { padding: 22px 18px; }
    .hb-dw-slot-card__time { font-size: 26px; }
    .hb-dw-slot-card__time::before { width: 30px; height: 30px; -webkit-mask-size: 18px 18px; mask-size: 18px 18px; }
    .hb-dw-slot-card__countdown { padding: 7px 12px; font-size: 12px; }
}

/* ─── Map block ─── */

.hb-dw-map {
    position: relative;
    margin-top: 14px;
    border-radius: 12px;
    overflow: hidden;
    background: #f1f5f9;
    aspect-ratio: 16 / 6;
    border: 1px solid #e2e8f0;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.hb-dw-map--ready { border-color: color-mix(in srgb, var(--hb-brand) 30%, #e2e8f0); box-shadow: 0 6px 18px color-mix(in srgb, var(--hb-brand) 8%, transparent); }
.hb-dw-map--no-zone { border-color: #ffd0d0; box-shadow: 0 6px 18px rgba(198, 40, 40, 0.06); }
.hb-dw-map--off .hb-dw-map__img { display: none; }

.hb-dw-map__img {
    display: none;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.25s;
}

.hb-dw-map__placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    font-size: 13px;
    font-weight: 500;
    text-align: center;
    padding: 0 16px;
    line-height: 1.4;
}

/* ─── Login row (full width below map, guests only) ─── */

.hb-dw-login-row {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px dashed #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.hb-dw-login-row__hint {
    flex: 1 1 220px;
    font-size: 12px;
    color: #64748b;
    line-height: 1.4;
}

.hb-dw-login-row .hb-dw-login {
    margin-top: 0;
    padding: 9px 24px;
    font-size: 13px;
}

/* ─── Override: address card now stacks vertically (picker → map → login) ─── */

.hb-dw-card--addr {
    display: block !important;
}

.hb-dw-card--addr .hb-dw-section__title { margin-bottom: 12px; }
.hb-dw-card--addr .hb-dw-addr-pills,
.hb-dw-card--addr .hb-dw-guest-form { margin-bottom: 0; }

/* ─────────────────────────────────────────────────────────────────
 * Calm-down overrides — pull back the heavier polish
 * ───────────────────────────────────────────────────────────────── */

/* Slot card: drop decorative ring; flatter gradient */
.hb-dw-slot-card::after { content: none !important; }
.hb-dw-slot-card {
    background: #ffffff;
    border-color: #e2e8f0;
    box-shadow: 0 1px 0 rgba(15, 23, 42, 0.02);
}

/* Time icon: smaller, subtler */
.hb-dw-slot-card__time { font-size: 26px; gap: 10px; }
.hb-dw-slot-card__time::before {
    width: 28px; height: 28px;
    -webkit-mask-size: 18px 18px;
            mask-size: 18px 18px;
    box-shadow: none;
    border-radius: 8px;
}

/* Countdown: simpler, no rotating tick */
.hb-dw-slot-card__countdown::before { animation: none; }
.hb-dw-slot-card__countdown {
    box-shadow: none;
    background: #fff3e0;
}

/* Title: flat ink color, no gradient */
.hb-dw-title {
    background: none;
    -webkit-background-clip: initial;
            background-clip: initial;
    color: #0f172a;
    font-size: 18px;
}

/* Section reveal: shorter, less staggered */
.hb-dw-card,
.hb-dw-zone-result .hb-dw-zone {
    animation: hb-dw-rise 0.22s ease-out both;
    animation-delay: 0s !important;
}
.hb-dw-info { animation-delay: 0s !important; }

/* ─── Modal footnote (under slot card) ─── */

.hb-dw-note {
    font-size: 12px;
    color: #64748b;
    text-align: center;
    margin: -4px 0 14px;
    padding: 0 8px;
    line-height: 1.4;
}

/* ─────────────────────────────────────────────────────────────────
 * Cart / checkout delivery strip
 * ───────────────────────────────────────────────────────────────── */

.hb-dw-strip {
    --hb-brand: #18A04E;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    background: linear-gradient(135deg, color-mix(in srgb, var(--hb-brand) 6%, #fff) 0%, #fff 100%);
    border: 1px solid color-mix(in srgb, var(--hb-brand) 18%, #ececec);
    border-left: 4px solid var(--hb-brand);
    border-radius: 14px;
    margin: 0 0 20px;
    flex-wrap: wrap;
    box-shadow: 0 1px 0 rgba(15, 23, 42, 0.02);
    animation: hb-dw-rise 0.32s ease-out both;
}

.hb-dw-strip__icon {
    flex: none;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background-color: var(--hb-brand);
    -webkit-mask-position: center;
            mask-position: center;
    -webkit-mask-repeat: no-repeat;
            mask-repeat: no-repeat;
    -webkit-mask-size: 22px 22px;
            mask-size: 22px 22px;
}

/* Per-state icon */
.hb-dw-strip--has_zone .hb-dw-strip__icon {
    -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><circle cx='12' cy='12' r='9'/><polyline points='12,7 12,12 16,14'/></svg>");
            mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><circle cx='12' cy='12' r='9'/><polyline points='12,7 12,12 16,14'/></svg>");
}

.hb-dw-strip--no_zone {
    border-left-color: #e65100;
    border-color: #ffd9a8;
    background: linear-gradient(135deg, #fff8e1 0%, #fff 100%);
}
.hb-dw-strip--no_zone .hb-dw-strip__icon {
    background-color: #e65100;
    -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M12 2L1 21h22L12 2z'/><line x1='12' y1='10' x2='12' y2='14'/><line x1='12' y1='17' x2='12.01' y2='17'/></svg>");
            mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M12 2L1 21h22L12 2z'/><line x1='12' y1='10' x2='12' y2='14'/><line x1='12' y1='17' x2='12.01' y2='17'/></svg>");
}

.hb-dw-strip--no_address .hb-dw-strip__icon,
.hb-dw-strip--guest .hb-dw-strip__icon {
    -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M12 22s7-7 7-13a7 7 0 1 0-14 0c0 6 7 13 7 13z'/><circle cx='12' cy='9' r='2.5'/></svg>");
            mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M12 22s7-7 7-13a7 7 0 1 0-14 0c0 6 7 13 7 13z'/><circle cx='12' cy='9' r='2.5'/></svg>");
}

.hb-dw-strip__body {
    flex: 1 1 220px;
    min-width: 0;
}

.hb-dw-strip__title {
    font-size: 14px;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.35;
}

.hb-dw-strip__title strong { color: var(--hb-brand); }

.hb-dw-strip--no_zone .hb-dw-strip__title strong { color: #e65100; }

.hb-dw-strip__sub {
    font-size: 12px;
    color: #64748b;
    margin-top: 2px;
    line-height: 1.4;
}

.hb-dw-strip__sub strong { color: #0f172a; font-weight: 700; }

.hb-dw-strip__actions {
    display: flex;
    gap: 8px;
    flex: none;
    flex-wrap: wrap;
    align-items: center;
}

.hb-dw-strip__btn {
    padding: 9px 18px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    border: none;
    cursor: pointer;
    background: var(--hb-brand);
    color: #fff;
    transition: filter 0.15s, transform 0.1s, border-color 0.15s, background 0.15s;
    line-height: 1.2;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
}

.hb-dw-strip__btn:hover { filter: brightness(0.92); color: #fff; }
.hb-dw-strip__btn:active { transform: translateY(1px); }

.hb-dw-strip__btn--ghost {
    background: #fff;
    color: var(--hb-brand);
    border: 1.5px solid color-mix(in srgb, var(--hb-brand) 25%, #e2e8f0);
}

.hb-dw-strip__btn--ghost:hover {
    border-color: var(--hb-brand);
    background: color-mix(in srgb, var(--hb-brand) 4%, #fff);
    filter: none;
    color: var(--hb-brand);
}

.hb-dw-strip--no_zone .hb-dw-strip__btn--ghost {
    color: #e65100;
    border-color: rgba(230, 81, 0, 0.3);
}
.hb-dw-strip--no_zone .hb-dw-strip__btn--ghost:hover {
    border-color: #e65100;
    background: rgba(230, 81, 0, 0.05);
    color: #e65100;
}

@media (max-width: 600px) {
    .hb-dw-strip { padding: 12px 14px; gap: 10px; }
    .hb-dw-strip__title { font-size: 13px; }
    .hb-dw-strip__sub { font-size: 11px; }
    .hb-dw-strip__icon { width: 34px; height: 34px; -webkit-mask-size: 18px 18px; mask-size: 18px 18px; }
    .hb-dw-strip__btn { padding: 8px 14px; font-size: 12px; }
    .hb-dw-strip__actions { width: 100%; }
}

/* ─── Modal "Виж менюто" CTA (revealed once address is confirmed) ─── */

.hb-dw-menu-cta {
    display: block;
    margin: 4px 0 0;
    padding: 14px 20px;
    border-radius: 999px;
    background: var(--hb-brand);
    color: #fff !important;
    font-size: 15px;
    font-weight: 800;
    text-align: center;
    text-decoration: none;
    letter-spacing: 0.2px;
    box-shadow: 0 8px 22px color-mix(in srgb, var(--hb-brand) 30%, transparent);
    transition: filter 0.15s, transform 0.1s;
}

.hb-dw-menu-cta:hover { filter: brightness(0.94); color: #fff !important; }
.hb-dw-menu-cta:active { transform: translateY(1px); }

/* ─── Empty state (shown before any address is picked) ─── */

.hb-dw-empty-state {
    text-align: center;
    padding: 28px 18px 22px;
    border-radius: 14px;
    background: linear-gradient(180deg, #fafbfc 0%, #ffffff 100%);
    border: 1px dashed #d6dee8;
    margin-bottom: 14px;
    animation: hb-dw-rise 0.22s ease-out both;
}

.hb-dw-empty-state__icon {
    width: 44px;
    height: 44px;
    margin: 0 auto 10px;
    border-radius: 12px;
    background-color: var(--hb-brand);
    opacity: 0.85;
    -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><circle cx='12' cy='12' r='9'/><polyline points='12,7 12,12 16,14'/></svg>") center/26px 26px no-repeat;
            mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><circle cx='12' cy='12' r='9'/><polyline points='12,7 12,12 16,14'/></svg>") center/26px 26px no-repeat;
}

.hb-dw-empty-state__title {
    font-size: 15px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.35;
    max-width: 480px;
    margin: 0 auto 6px;
}

.hb-dw-empty-state__sub {
    font-size: 13px;
    color: #64748b;
    line-height: 1.4;
    max-width: 460px;
    margin: 0 auto;
}

/* ─── Slot card: address line at the top ─── */

.hb-dw-slot-card__addr {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    color: var(--hb-brand);
    letter-spacing: 0.2px;
    margin-bottom: 10px;
    line-height: 1.2;
    word-break: break-word;
}

.hb-dw-slot-card__addr::before {
    content: "";
    flex: none;
    width: 16px;
    height: 16px;
    background-color: currentColor;
    -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><path d='M8 14s5-4.5 5-8.5a5 5 0 1 0-10 0c0 4 5 8.5 5 8.5z'/><circle cx='8' cy='5.5' r='2'/></svg>") center/contain no-repeat;
            mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><path d='M8 14s5-4.5 5-8.5a5 5 0 1 0-10 0c0 4 5 8.5 5 8.5z'/><circle cx='8' cy='5.5' r='2'/></svg>") center/contain no-repeat;
}

/* Hint line below the countdown */
.hb-dw-slot-card__hint {
    font-size: 12px;
    color: #64748b;
    margin-top: 8px;
    line-height: 1.35;
}

/* ─── Map loading state — subtle skeleton shimmer ─── */

.hb-dw-map--loading {
    background:
        linear-gradient(90deg, #f1f5f9 0%, #e2e8f0 50%, #f1f5f9 100%);
    background-size: 200% 100%;
    animation: hb-dw-skeleton 1.4s ease-in-out infinite;
}

@keyframes hb-dw-skeleton {
    0%   { background-position: 100% 0; }
    100% { background-position: -100% 0; }
}

.hb-dw-map--loading .hb-dw-map__placeholder { color: #475569; font-weight: 600; }

/* When map errors, the JS hides the wrap entirely — but ensure no stray border lingers */
.hb-dw-map--off { border: 0; padding: 0; height: 0; min-height: 0; aspect-ratio: auto; }

/* ─────────────────────────────────────────────────────────────────
 * Trigger button — final pill design (overrides theme / Elementor)
 * ───────────────────────────────────────────────────────────────── */

.hb-dw-trigger {
    display: inline-flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 10px !important;
    padding: 12px 22px !important;
    border-radius: 999px !important;
    border: none !important;
    box-shadow: 0 4px 14px color-mix(in srgb, var(--hb-brand) 28%, transparent);
    text-decoration: none;
}

/* Lock background + text colour through every interaction state so the
   theme/Elementor button hover (which can flip to its own accent colour)
   cannot override the brand colour. */
.hb-dw-trigger,
.hb-dw-trigger:hover,
.hb-dw-trigger:focus,
.hb-dw-trigger:focus-visible,
.hb-dw-trigger:active,
.hb-dw-trigger:visited {
    background: var(--hb-brand) !important;
    background-color: var(--hb-brand) !important;
    color: #fff !important;
    border-color: transparent !important;
    outline: none;
}

.hb-dw-trigger:hover { filter: brightness(0.94); }
.hb-dw-trigger:active { transform: translateY(1px); }

.hb-dw-trigger:focus-visible {
    box-shadow:
        0 4px 14px color-mix(in srgb, var(--hb-brand) 28%, transparent),
        0 0 0 3px color-mix(in srgb, var(--hb-brand) 35%, transparent);
}

.hb-dw-trigger__icon {
    flex: none;
    width: 18px;
    height: 18px;
    background-color: #fff;
    -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><circle cx='12' cy='12' r='9'/><polyline points='12,7 12,12 16,14'/></svg>") center/contain no-repeat;
            mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><circle cx='12' cy='12' r='9'/><polyline points='12,7 12,12 16,14'/></svg>") center/contain no-repeat;
}

.hb-dw-trigger__slot {
    font-size: 14px !important;
    font-weight: 800 !important;
    line-height: 1.2;
    margin-top: 0 !important;
    letter-spacing: 0.5px;
    color: #fff !important;
}

.hb-dw-trigger__holiday {
    margin: 0 0 0 4px !important;
    padding: 2px 9px;
    background: rgba(255, 213, 79, 0.22);
    border-radius: 999px;
    color: #FFD54F !important;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.4px;
    line-height: 1.2;
}

@media (max-width: 480px) {
    .hb-dw-trigger { padding: 10px 16px !important; }
    .hb-dw-trigger__slot { font-size: 13px !important; }
}

/* ─────────────────────────────────────────────────────────────────
 * Lock address-pill colors to the brand (overrides theme/Elementor
 * which paints button:active / button.active in their accent color)
 * ───────────────────────────────────────────────────────────────── */

.hb-dw-addr-pill,
.hb-dw-addr-pill:hover,
.hb-dw-addr-pill:focus,
.hb-dw-addr-pill:focus-visible,
.hb-dw-addr-pill:active {
    background: #fff !important;
    background-color: #fff !important;
    color: #0f172a !important;
    border-color: #e0e0e0 !important;
}

.hb-dw-addr-pill:hover:not(.hb-dw-addr-pill--active) {
    border-color: var(--hb-brand) !important;
    background-color: color-mix(in srgb, var(--hb-brand) 4%, #fff) !important;
}

.hb-dw-addr-pill--active,
.hb-dw-addr-pill--active:hover,
.hb-dw-addr-pill--active:focus,
.hb-dw-addr-pill--active:focus-visible,
.hb-dw-addr-pill--active:active {
    background: var(--hb-brand) !important;
    background-color: var(--hb-brand) !important;
    color: #fff !important;
    border-color: var(--hb-brand) !important;
}

/* No-zone variant (red border) — only applies when NOT also active */
.hb-dw-addr-pill--no-zone:not(.hb-dw-addr-pill--active) {
    border-color: #ffcdd2 !important;
    color: #c62828 !important;
    background: #fff !important;
}

/* Same lock for the My Account addresses page pill class */
.hb-addr-pill,
.hb-addr-pill:hover,
.hb-addr-pill:focus,
.hb-addr-pill:focus-visible,
.hb-addr-pill:active {
    background: #fff !important;
    color: #0f172a !important;
    border-color: #e0e0e0 !important;
}

.hb-addr-pill:hover:not(.hb-addr-pill--active) {
    border-color: var(--hb-brand) !important;
}

.hb-addr-pill--active,
.hb-addr-pill--active:hover,
.hb-addr-pill--active:focus,
.hb-addr-pill--active:focus-visible,
.hb-addr-pill--active:active {
    background: var(--hb-brand) !important;
    background-color: var(--hb-brand) !important;
    color: #fff !important;
    border-color: var(--hb-brand) !important;
}

/* ─────────────────────────────────────────────────────────────────
 * Final design pass — match the site's homepage CTAs & cards
 *   • Cards: 16px radius
 *   • Buttons / pills: 999px (full pill)
 *   • Subtle borders, no AI-greys
 *   • Slot card head: address (left) + countdown (right)
 * ───────────────────────────────────────────────────────────────── */

.hb-dw-popover  { border-radius: 20px; }
.hb-dw-card     { border-radius: 16px; }
.hb-dw-slot-card { border-radius: 16px; padding: 18px 20px; }
.hb-dw-empty-state { border-radius: 16px; }
.hb-dw-info     { border-radius: 14px; }
.hb-dw-map      { border-radius: 14px; }
.hb-dw-strip    { border-radius: 16px; }

.hb-dw-addr-pill,
.hb-dw-strip__btn,
.hb-dw-login,
.hb-dw-add-addr,
.hb-dw-menu-cta,
.hb-dw-empty-state__cta { border-radius: 999px !important; }

/* Slot card head — addr (flex-grow) + compact countdown pill on the right */
.hb-dw-slot-card__head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.hb-dw-slot-card__head .hb-dw-slot-card__addr {
    margin: 0;
    flex: 1;
    min-width: 0;
}

.hb-dw-slot-card__head .hb-dw-slot-card__countdown {
    flex: none;
    margin: 0;
    padding: 6px 12px;
    font-size: 12px;
    line-height: 1.2;
    white-space: nowrap;
}

/* Time becomes the centerpiece beneath the head row */
.hb-dw-slot-card__time {
    font-size: 28px;
    line-height: 1.05;
    margin: 4px 0 0;
}
.hb-dw-slot-card__time::before {
    width: 30px; height: 30px;
    -webkit-mask-size: 18px 18px;
            mask-size: 18px 18px;
    margin-right: 10px;
}

.hb-dw-slot-card__sub {
    margin-top: 6px;
}

/* Subtle, consistent borders everywhere — kill the dashed/loose look */
.hb-dw-card,
.hb-dw-slot-card,
.hb-dw-empty-state,
.hb-dw-map { border: 1px solid #e2e8f0; border-style: solid !important; }

/* Soften shadows to a single, consistent depth */
.hb-dw-card,
.hb-dw-slot-card,
.hb-dw-strip { box-shadow: 0 1px 0 rgba(15, 23, 42, 0.03); }

/* Address pill: keep the current pill shape; ensure tight inner padding */
.hb-dw-addr-pill { padding: 8px 16px !important; font-size: 13px; }

/* Strip alignment: title + countdown read like one statement */
.hb-dw-strip { padding: 14px 18px; }

/* ════════════════════════════════════════════════════════════════════
 * FINAL DESIGN TOKENS (locked)
 *   --hb-radius : 6px
 *   --hb-border : #88ECAF
 *   --hb-tint   : #EFFDF4
 *   --hb-brand  : #18A04E (for solid CTAs only)
 * ════════════════════════════════════════════════════════════════════ */

/* ── Radius: 6px everywhere ── */
.hb-dw-popover,
.hb-dw-card,
.hb-dw-slot-card,
.hb-dw-empty-state,
.hb-dw-info,
.hb-dw-map,
.hb-dw-strip,
.hb-dw-trigger,
.hb-dw-addr-pill,
.hb-dw-strip__btn,
.hb-dw-login,
.hb-dw-add-addr,
.hb-dw-menu-cta,
.hb-dw-empty-state__cta,
.hb-dw-zone,
.hb-dw-slot-card__countdown,
.hb-dw-fomo__bar,
.hb-dw-fomo__fill,
.hb-dw-guest-form input,
.hb-dw-guest-form select,
.hb-dw-guest-form button {
    border-radius: 6px !important;
}

/* ── Borders: #88ECAF for every visible border ── */
.hb-dw-card,
.hb-dw-slot-card,
.hb-dw-empty-state,
.hb-dw-info,
.hb-dw-map,
.hb-dw-guest-form input,
.hb-dw-guest-form select {
    border: 1px solid #88ECAF !important;
}

/* ── Tinted backgrounds: #EFFDF4 for filled / selected / informational ── */
.hb-dw-empty-state,
.hb-dw-info,
.hb-dw-slot-card,
.hb-dw-strip {
    background: #EFFDF4 !important;
}

.hb-dw-card,
.hb-dw-popover {
    background: #ffffff !important;
}

/* ── Address pills (modal): white default, brand fill when active ── */
.hb-dw-addr-pill,
.hb-dw-addr-pill:hover,
.hb-dw-addr-pill:focus {
    background: #ffffff !important;
    color: #18A04E !important;
    border: 1px solid #88ECAF !important;
}
.hb-dw-addr-pill--active,
.hb-dw-addr-pill--active:hover {
    background: #18A04E !important;
    color: #ffffff !important;
    border-color: #18A04E !important;
    box-shadow: none !important;
}

/* ── Strip ── */
.hb-dw-strip {
    border: 1px solid #88ECAF !important;
    border-left: 4px solid #18A04E !important;
    box-shadow: none !important;
}
.hb-dw-strip--no_zone {
    border-color: #88ECAF !important;
    border-left-color: #FF7043 !important;
    background: #FFF5EE !important;
}
.hb-dw-strip__btn {
    background: #18A04E !important;
    color: #fff !important;
    border: 1px solid #18A04E !important;
}
.hb-dw-strip__btn:hover { filter: brightness(0.94); color: #fff !important; }
.hb-dw-strip__btn--ghost {
    background: #EFFDF4 !important;
    color: #18A04E !important;
    border: 1px solid #88ECAF !important;
}

/* ── Trigger button (header) — solid brand, 6px ── */
.hb-dw-trigger {
    border-radius: 6px !important;
    box-shadow: none !important;
    border: 1px solid #18A04E !important;
}

/* ── Slot card: address row + countdown pill on the right ── */
.hb-dw-slot-card { padding: 16px !important; }
.hb-dw-slot-card__countdown {
    background: #ffffff !important;
    color: #18A04E !important;
    border: 1px solid #88ECAF !important;
    padding: 6px 10px !important;
    box-shadow: none !important;
    font-size: 12px !important;
}
.hb-dw-slot-card__countdown--quiet {
    background: #f5f7f9 !important;
    color: #555 !important;
    border-color: #e5e7eb !important;
}
.hb-dw-slot-card::after { content: none !important; }

/* ── Capacity bar inside slot card ── */
.hb-dw-fomo__bar {
    background: #ffffff !important;
    border: 1px solid #88ECAF !important;
    height: 8px !important;
}
.hb-dw-fomo__fill { background: #18A04E !important; }

/* ── Empty state: keep mint look, no dashed border ── */
.hb-dw-empty-state {
    border-style: solid !important;
    padding: 22px 18px !important;
}

/* ── "Виж менюто" CTA: solid brand, 6px ── */
.hb-dw-menu-cta {
    background: #18A04E !important;
    color: #fff !important;
    box-shadow: none !important;
    border: 1px solid #18A04E !important;
}

/* ── Login / add-addr buttons: ghost-style on tint ── */
.hb-dw-login,
.hb-dw-add-addr {
    background: #ffffff !important;
    color: #18A04E !important;
    border: 1px solid #88ECAF !important;
}

/* ── Zone result (no_zone state inside modal) ── */
.hb-dw-zone--ok { background: #EFFDF4 !important; color: #18A04E !important; border: 1px solid #88ECAF !important; }
.hb-dw-zone--no { background: #FFF5EE !important; color: #C2410C !important; border: 1px solid #FFD4BD !important; }

/* ── Day pills (still in CSS but unused) ── */
.hb-dw-day { border-radius: 6px !important; border: 1px solid #88ECAF !important; }
.hb-dw-day--active { background: #18A04E !important; color: #fff !important; }
