.store-hours-badge {
    position: relative;
    display: inline-block;
    padding: 0.5em 1.2em;
    font-weight: bold;
    font-size: 15px;
    border-radius: 50px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    margin: 10px auto;
    text-align: center;
    white-space: nowrap;
    background-color: #f4f4f4;
    cursor: pointer;
}

.store-hours-dropdown {
    display: none;
    position: absolute;
    top: 120%;
    left: 50%;
    transform: translateX(-50%);
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    padding: 15px;
    z-index: 10;
    width: max-content;
    min-width: 240px;
    text-align: left;
    font-size: 14px;
    line-height: 1.6;
}

.store-hours-badge.open .store-hours-dropdown {
    display: block;
}

.day-row {
    display: flex;
    justify-content: space-between;
    padding: 2px 0;
}

.day-label {
    font-weight: 600;
}

.today {
    background-color: #f1f8e9;
    padding: 3px 6px;
    border-radius: 4px;
}

/* v1.7: hide a cached copy of a widget until the fresh answer arrives (see ssh_guard_script) */
.ssh-stale { visibility: hidden; }
.store-hours-badge .ssh-state { white-space: normal; }
.day-row.ssh-exception .day-time { font-weight: 600; }
