.store-card {
    background: #ffffff;
    border: 1px solid #e1e8ef;
    border-radius: 10px;
    margin-bottom: 16px;
    overflow: hidden;
}

.store-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    cursor: pointer;
    user-select: none;
    background: #f8fafc;
    border-bottom: 1px solid #e1e8ef;
    transition: background 0.15s;
}

.store-card-header:hover {
    background: #f0fdf4;
}

.store-card-header-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.store-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    border-radius: 8px;
    flex-shrink: 0;
}

.store-icon i {
    font-size: 18px;
    color: #ffffff;
}

.store-name {
    font-size: 16px;
    font-weight: 600;
    color: #0f172a;
}

.store-type-badge {
    font-size: 12px;
    color: #64748b;
    font-weight: 400;
    margin-left: 8px;
}

.store-card-header-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.store-stat {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    font-weight: 500;
}

.store-stat.stat-items {
    color: #374151;
}

.store-stat.stat-low {
    color: #d97706;
}

.store-stat.stat-out {
    color: #dc2626;
}

.store-chevron {
    color: #94a3b8;
    transition: transform 0.2s;
    font-size: 14px;
}

.store-card.collapsed .store-chevron {
    transform: rotate(-90deg);
}

.store-card.collapsed .store-card-header {
    border-bottom: none;
}

.store-card-body {
    overflow: hidden;
}

.store-card.collapsed .store-card-body {
    display: none;
}

.snapshot-table {
    width: 100%;
    border-collapse: collapse;
}

.snapshot-table th {
    padding: 10px 16px;
    text-align: left;
    font-size: 12px;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: #fafbfc;
    border-bottom: 1px solid #e1e8ef;
}

.snapshot-table td {
    padding: 10px 16px;
    font-size: 14px;
    color: #374151;
    border-bottom: 1px solid #f1f5f9;
}

.snapshot-table tr:last-child td {
    border-bottom: none;
}

.snapshot-table tr.low-stock-row {
    background-color: #fef2f2;
}

.snapshot-table tr.low-stock-row:hover {
    background-color: #fee2e2;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    padding: 3px 8px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 600;
    white-space: nowrap;
}

.status-badge.status-in-stock {
    background-color: #dcfce7;
    color: #166534;
}

.status-badge.status-low {
    background-color: #fef3c7;
    color: #92400e;
}

.status-badge.status-out {
    background-color: #fee2e2;
    color: #991b1b;
}

.qty-value {
    font-weight: 600;
    font-size: 14px;
}

.qty-value.qty-ok {
    color: #059669;
}

.qty-value.qty-low {
    color: #d97706;
}

.qty-value.qty-out {
    color: #dc2626;
}
