body {
    padding: 20px;
}

.dev-update-banner {
    position: fixed;
    top: 12px;
    left: 12px;
    background: rgba(255, 247, 214, 0.92);
    color: #7a5c00;
    font-size: 12px;
    font-weight: 600;
    padding: 6px 12px;
    border: 1px solid #ead9a3;
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    z-index: 999;
    width: fit-content;
}

header {
    display: flex;
    justify-content: center;
    margin-bottom: 25px;
}

header img {
    height: 10vw;
}

.list {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.loyalty-banner-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 32px;
    margin-bottom: 32px;
}

.loyalty-banner-link {
    width: 100%;
    max-width: 800px;
    display: block;
}

.loyalty-banner {
    width: 100%;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 6px 24px rgba(0,0,0,0.10);
    overflow: hidden;
    border: 1px solid #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    min-height: 0;
    aspect-ratio: unset;
}

.loyalty-banner::before {
    content: '';
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: unset;
    background: url('/assets/loyalty.webp') center/contain no-repeat;
    min-height: 0;
    padding-bottom: 0;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    aspect-ratio: unset;
    min-width: 0;
    min-height: 0;
    height: 100%;
    min-height: 120px;
}

.loyalty-banner img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
    aspect-ratio: auto;
    border-radius: 0;
}

.card {
    display: flex;
    flex-direction: column;
    border: 1px solid #ddd;
    border-radius: 12px;
    overflow: visible;
    width: 100%;
    max-width: 800px;
    background: #fff;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.12);
}

.card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    background: #eee;
}

.details {
    display: flex;
    justify-content: space-between;
    padding: 12px;
    align-items: flex-start;
    gap: 16px;
}

.left {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.location {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 4px;
}

.address {
    color: #555;
    font-size: 14px;
}

.btn {
    padding: 10px 16px;
    background: #0A3C85;
    color: #fff;
    border-radius: 8px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    white-space: nowrap;
}

.card-meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    width: 100%;
    gap: 6px 16px;
    font-size: 14px;
    color: #0a3c85;
}

.card-meta a {
    color: inherit;
    text-decoration: none;
    font-weight: 600;
    display: block;
}

.card-meta a:hover,
.hours-link:hover {
    text-decoration: underline;
}

.hours-container {
    position: relative;
    min-width: 0;
}

.hours-link {
    background: transparent;
    border: none;
    color: #0a3c85;
    font-weight: 600;
    cursor: pointer;
    padding: 0;
    text-align: left;
    white-space: normal;
    line-height: 1.3;
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
}

.hours-link.open,
.hours-status.open {
    color: #0a3c85;
}

.hours-link.closed,
.hours-status.closed {
    color: #b00020;
}

.hours-link.closing-soon,
.hours-status.closing-soon {
    color: #c28b00;
}

.hours-link.closing-critical,
.hours-status.closing-critical {
    color: #d35400;
}

.hours-link:disabled {
    opacity: 0.6;
    cursor: default;
}

.hours-popup {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
    padding: 10px 14px;
    min-width: 220px;
    display: none;
    color: #000;
    z-index: 10;
}

.hours-popup.visible {
    display: block;
}

.hours-popup h4 {
    margin: 0 0 6px;
    font-size: 14px;
    color: #0a3c85;
}

.hours-status {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 6px;
    color: #0a3c85;
}

.hours-popup .day-row {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    font-size: 13px;
    color: #333;
}

.hours-popup .day-row + .day-row {
    margin-top: 4px;
}
