/* BAY RENDERER — Shared structural styles for bays and shelves.
 * Used by both planogram dashboard and equipment editor.
 * Consumer-specific overrides scoped via .planogram-container / .eq-editor-bays.
 */

.br-bay-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex-shrink: 0;
}

.br-bay {
    background: var(--bg-card);
    border: 2px solid var(--border);
    border-radius: 8px;
    overflow: visible;
    box-sizing: content-box;
    flex-shrink: 0;
    position: relative;
}
.br-bay-glued-left {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    border-left: none;
}
.br-bay-glued-right {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    border-right: none;
}

.br-bay-header {
    background: var(--bg-shelf);
    text-align: center;
    font-weight: 600;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border);
    text-transform: uppercase;
    padding: 8px 12px;
    font-size: 12px;
    letter-spacing: 0.5px;
}

.br-bay-title {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.br-bay-footer {
    background: var(--bg-shelf);
    padding: 4px 8px;
    text-align: center;
    font-size: 11px;
    font-weight: 600;
    color: var(--text-secondary);
    border-top: 1px solid var(--border);
    letter-spacing: 0.3px;
}

.br-bay-body {
    position: relative;
    padding: 0;
    overflow: hidden;
}

.br-shelf {
    position: absolute;
    left: 0;
    width: 100%;
    border-bottom: 3px solid var(--shelf-metal);
    box-sizing: border-box;
}

.br-shelf-label {
    position: absolute;
    left: 2px;
    top: 2px;
    font-size: 9px;
    color: var(--text-secondary);
    z-index: 5;
}
