/* ==========================================================================
   When each way to order works next, under the shop name on the home and shop pages
   (partials/shop-status) and in the Timings panel
   Ways to order: text #4B3E66, name #2A1052, icon #7B2CBF · paused #B0124A
   ========================================================================== */

/* Folds away smoothly in the compact header (rows 1fr -> 0fr, fade) */
.shop-status {
    display: grid;
    grid-template-rows: 1fr;
    transition: grid-template-rows 0.25s ease, opacity 0.2s ease, margin 0.25s ease;
}

.shop-status__inner {
    min-height: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
}

/* "Taking orders now": green #E8F8EE / #BFEBD0 / #0E7A3C */
.shop-status__pill {
    margin: 0 0 2px;
    min-height: 32px;
    padding: 6px 12px;
    border: 1px solid #BFEBD0;
    border-radius: 16px;
    background: #E8F8EE;
    color: #0E7A3C;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.3;
}

a.shop-status__pill {
    text-decoration: none;
}

.shop-status__pill-icon {
    width: 14px;
    height: 14px;
    margin-left: -2px;
}

.shop-status__dot {
    width: 8px;
    height: 8px;
    flex-shrink: 0;
    border-radius: 50%;
    background: currentColor;
}

.shop-status__ways {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.shop-status__way {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 13px;
    line-height: 1.4;
    color: #4B3E66;
}

.shop-status__way strong {
    font-weight: 700;
    color: #2A1052;
}

.shop-status__way-icon {
    width: 16px;
    height: 16px;
    margin-top: 1px;
    flex-shrink: 0;
    color: #7B2CBF;
}

/* Paused by the shop: the words in red #B0124A, icon too */
.shop-status__way--paused,
.shop-status__way--paused .shop-status__way-icon {
    color: #B0124A;
}

/* "See all timings ›": opens the Timings panel (#5B21B6) */
.shop-status__all {
    /* 8 px more to tap above and below, the same place on the page */
    padding: 8px 0;
    margin: -6px 0;
    border: 0;
    background: none;
    display: inline-flex;
    align-items: center;
    gap: 2px;
    font: inherit;
    font-size: 13px;
    font-weight: 700;
    color: #5B21B6;
    cursor: pointer;
}

.shop-status__all-icon {
    width: 14px;
    height: 14px;
}

.site-header.is-compact .shop-status {
    grid-template-rows: 0fr;
    opacity: 0;
    /* takes back the gap above it, so nothing is left behind */
    margin-top: calc(var(--space-2) * -1);
}
